KR102085140B1 - Indexing block chain system for electronic transactions - Google Patents

Indexing block chain system for electronic transactions Download PDF

Info

Publication number
KR102085140B1
KR102085140B1 KR1020180048239A KR20180048239A KR102085140B1 KR 102085140 B1 KR102085140 B1 KR 102085140B1 KR 1020180048239 A KR1020180048239 A KR 1020180048239A KR 20180048239 A KR20180048239 A KR 20180048239A KR 102085140 B1 KR102085140 B1 KR 102085140B1
Authority
KR
South Korea
Prior art keywords
block
individuals
transaction
operators
distributed ledger
Prior art date
Application number
KR1020180048239A
Other languages
Korean (ko)
Other versions
KR20190124369A (en
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 한전케이디엔주식회사
Priority to KR1020180048239A priority Critical patent/KR102085140B1/en
Publication of KR20190124369A publication Critical patent/KR20190124369A/en
Application granted granted Critical
Publication of KR102085140B1 publication Critical patent/KR102085140B1/en

Links

Images

Classifications

    • 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/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • 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
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명의 전자 거래를 위한 인덱싱 블록체인 시스템은, 사업자들이 취급하는 상품들의 전자 거래를 개인들과 수행하고, 사업자들 자신이 참여한 거래 이력만을 블록을 생성 전까지 보유하며, 블록을 발행 및 배포하되, 자신이 발행한 블록을 소유 및 보관하고, 외부 요청 시 해당하는 블록 정보를 제공하는 사업자 분산원장 관리부; 사업자들과 상품들의 전자 거래를 수행하고, 개인들 자신의 전자 지갑(wallet)을 통해 전자 거래 이력을 관리하며, 개인들 자신이 참여한 거래의 블록만을 소유 및 보관하고, 외부 요청 시 해당하는 블록 정보를 제공하는 개인 전자지갑 관리부; 및 거래 및 데이터 보유 파생 이익과 무관한 공리적 존재로 생태계 내의 대표성을 가진 제3자 단체가 관리하고, 사업자들과 개인들 간에 수행된 전자 거래 내역에 대한 블록의 사본 전체를 보관하며, 거래에 참여한 사업자들 또는 개인들의 요청 시 해당하는 블록의 인덱싱 정보를 제공하여, 사업자들 또는 개인들의 거래 내역 검증 서비스 및 분산 원장 복구 서비스를 구현하는 블록 인덱스 관리부를 포함하는 기술을 제공함에 기술적 특징이 있다. The indexing blockchain system for electronic transactions of the present invention performs electronic transactions of products handled by operators with individuals, retains only the transaction history in which the operators themselves participate, and issues and distributes the blocks, A distributed ledger management unit that owns and keeps blocks issued by itself and provides corresponding block information in an external request; Perform electronic transactions of businesses and products, manage electronic transaction history through individuals' own wallets, own and store only the blocks of transactions in which individuals participate, and block information on external requests Providing a personal electronic wallet management unit; And maintain a copy of the block of electronic transaction details performed between businesses and individuals, maintained by representative third party entities within the ecosystem as utilitarian entities independent of transactions and data retention derivative interests, The technical characteristics of providing a technology including a block index management unit for implementing a transaction history verification service and distributed ledger recovery services of operators or individuals by providing indexing information of the corresponding block at the request of operators or individuals.

Description

전자 거래를 위한 인덱싱 블록체인 시스템{INDEXING BLOCK CHAIN SYSTEM FOR ELECTRONIC TRANSACTIONS}Indexing Blockchain System for Electronic Transactions {INDEXING BLOCK CHAIN SYSTEM FOR ELECTRONIC TRANSACTIONS}

본 발명은 전자 거래를 위한 인덱싱 블록체인 시스템에 관한 것으로, 더욱 상세하게는 사업자들과 개인들 간에 수행된 전자 거래 내역에 대한 블록의 사본 전체를 보관하며, 거래에 참여한 사업자들 또는 개인들의 요청 시 해당하는 블록의 인덱싱 정보를 제공하여, 사업자들 또는 개인들의 거래 내역 검증 서비스 및 분산 원장 복구 서비스를 구현해주는, 전자 거래를 위한 인덱싱 블록체인 시스템에 관한 것이다. The present invention relates to an indexing blockchain system for electronic transactions, and more particularly, to keep a full copy of the block of electronic transaction details performed between operators and individuals, upon request of operators or individuals involved in the transaction. The present invention relates to an indexing blockchain system for electronic transactions that provides indexing information of a corresponding block to implement transaction history verification services and distributed ledger recovery services of operators or individuals.

현재 다양한 가상화폐의 발권과 거래를 위하여 블록체인 기술이 사용되고 있으나, 거래 내역 기재를 위한 원장인 블록 생성에 과다한 컴퓨터 연산 즉 마이닝(mining)으로 적기에 블록이 생성되지 않고 있는 실정이다.Currently, blockchain technology is used for issuing and trading various virtual currencies, but blocks are not created in a timely manner due to excessive computer operations, or mining, for block generation, which is the ledger for transaction details.

또한 블록 생성이 각각의 거래 주체(거래자 대 거래자) 관점이 아닌, 시간대별 전체 거래의 기장을 전제로 이루어짐에 따라, 대량 트랜잭션 발생 시 블록 생성과 기장이 적기에 이루어지지 않는 문제점이 있었다. In addition, since block generation is based on the premise of the entire transaction by time, rather than each transaction subject (trader vs. trader), there is a problem in that block generation and length are not made in a timely manner when a large transaction occurs.

한편 블록체인 기반의 거래는 이용자 개인의 거래 내역 검증을 위해서 전체 블록을 모두 확인해야 가능함에 따라, 특정 이용자의 거래 내역만 효과적으로 확인할 수단이 없었다. On the other hand, blockchain-based transactions need to check all the blocks in order to verify the transaction details of individual users, so there is no means to effectively check the transaction details of a specific user.

이와 같은 대량 트랜잭션 발생 환경에서 블록체인의 P2P는 종래의 블록 생성 방식으로는 현실적으로 곤란하며, 트랜잭션을 일시 보관하는 중계소가 거래를 매개하는 P2B로 운영되고 있는 실정이다. In such a large transaction generation environment, blockchain P2P is practically difficult with a conventional block generation method, and a relay station that temporarily stores transactions operates as a P2B for mediating transactions.

즉 종래기술에 따른 블록체인은 거래 전체를 모두 분산 보관하고 참여함에 따라, 거래가 누적될수록 분산 원장의 보유자가 반비례하여 줄어드는 현상을 보였고, 구조적으로도 개인이 자신이 거래에 참여한 분산 원장만을 이용한 최소 데이터에 의한 경량 전자지갑을 구성하여 활용하지 못하는 문제점이 있었다. In other words, the blockchain according to the prior art decentralized and participated in all transactions, and as transactions accumulate, the owners of distributed ledgers decreased in inverse proportion, and structurally, the minimum data using only the distributed ledgers in which individuals participated in transactions There was a problem that can not utilize by configuring a lightweight electronic wallet.

대한민국 공개특허 제10-2017-0137388호Republic of Korea Patent Publication No. 10-2017-0137388

본 발명이 해결하고자 하는 기술적 과제는, 사업자들과 개인들 간에 수행된 전자 거래 내역에 대한 블록의 사본 전체를 보관하며, 거래에 참여한 사업자들 또는 개인들의 요청 시 해당하는 블록의 인덱싱 정보를 제공하여, 사업자들 또는 개인들의 거래 내역 검증 서비스 및 분산 원장 복구 서비스를 구현해주는, 전자 거래를 위한 인덱싱 블록체인 시스템을 제공하는데 있다. The technical problem to be solved by the present invention is to keep a copy of the entire block of the electronic transaction history between the operators and individuals, and to provide the indexing information of the corresponding block at the request of the operators or individuals involved in the transaction The present invention provides an indexing blockchain system for electronic transactions that implements transaction history verification services and distributed ledger recovery services for operators or individuals.

상기 기술적 과제를 이루기 위한 본 발명에 따른 전자 거래를 위한 인덱싱 블록체인 시스템은, 사업자들이 취급하는 상품들의 전자 거래를 개인들과 수행하고, 사업자들 자신이 참여한 거래 이력만을 블록을 생성 전까지 보유하며, 블록을 발행 및 배포하되, 자신이 발행한 블록을 소유 및 보관하고, 외부 요청 시 해당하는 블록 정보를 제공하는 사업자 분산원장 관리부; 사업자들과 상품들의 전자 거래를 수행하고, 개인들 자신의 전자 지갑(wallet)을 통해 전자 거래 이력을 관리하며, 개인들 자신이 참여한 거래의 블록만을 소유 및 보관하고, 외부 요청 시 해당하는 블록 정보를 제공하는 개인 전자지갑 관리부; 및 거래 및 데이터 보유 파생 이익과 무관한 공리적 존재로 생태계 내의 대표성을 가진 제3자 단체가 관리하고, 사업자들과 개인들 간에 수행된 전자 거래 내역에 대한 블록의 사본 전체를 보관하며, 거래에 참여한 사업자들 또는 개인들의 요청 시 해당하는 블록의 인덱싱 정보를 제공하여, 사업자들 또는 개인들의 거래 내역 검증 서비스 및 분산 원장 복구 서비스를 구현하는 블록 인덱스 관리부를 포함하는 기술을 제공한다. The indexing blockchain system for an electronic transaction according to the present invention for achieving the above technical problem, and performs the electronic transaction of the products handled by operators with individuals, and retains only the transaction history of the operators themselves until the block is generated, A distributed ledger management unit for issuing and distributing blocks, but owning and storing the blocks issued by them, and providing corresponding block information upon an external request; Perform electronic transactions of businesses and products, manage electronic transaction history through individuals' own wallets, own and store only the blocks of transactions in which individuals participate, and block information on external requests Providing a personal electronic wallet management unit; And maintain a copy of the block of electronic transaction details performed between businesses and individuals, maintained by representative third party entities within the ecosystem as utilitarian entities independent of transactions and data retention derivative interests, By providing indexing information of a corresponding block at the request of operators or individuals, it provides a technology including a block index management unit for implementing a transaction history verification service and distributed ledger recovery services of operators or individuals.

본 발명은 블록 인덱스 관리부를 통해 사업자들과 개인들 간에 수행된 전자 거래 내역에 대한 블록의 사본 전체를 보관하며, 거래에 참여한 사업자들 또는 개인들의 요청 시 해당하는 블록의 인덱싱 정보를 제공하여, 사업자들 또는 개인들의 거래 내역 검증 서비스 및 분산 원장 복구 서비스를 구현해 주는 기술적 효과가 있다.The present invention maintains the entire copy of the block of the electronic transaction history performed between the operators and individuals through the block index management unit, and provides indexing information of the corresponding block at the request of the operators or individuals involved in the transaction, It has the technical effect of implementing transaction history verification service and distributed ledger recovery service.

또한 본 발명은 사업자의 경우 자신이 발행한 블록을 소유하고 보관하며, 요청 시 해당 정보를 제공하여 데이터 보관과 관리 범위를 축소하여 운용할 수 있는 기술적 효과가 있다. In addition, the present invention has a technical effect that the operator owns and keeps the block issued by the operator, and by providing the corresponding information when requested to reduce the scope of data storage and management.

또한 본 발명은 개인의 경우 자신이 참여한 거래의 블록만을 소유하고 보관하며, 요청 시 해당 정보를 제공하여 데이터 보관과 관리 범위를 축소하여 운용할 수 있는 기술적 효과가 있다. In addition, the present invention has a technical effect that the individual owns and keeps only the block of transactions in which he or she participates, and provides corresponding information on request to reduce and operate the data storage and management scope.

도 1은 본 발명에 따른 사업자 분산원장 관리부, 개인 전자지갑 관리부 및 블록 인덱스 관리부 간의 권한 및 책임 등의 관계를 개략적으로 나타낸 것이다.
도 2는 본 발명에 따른 블록 인덱스 관리부의 주요 구성을 나타낸 것이다.
도 3a는 본 발명에 따른 실시예로, 전자 거래를 위한 블록의 구조 및 가변적인 크기를 나타낸 것이다.
도 3b는 본 발명에 따른 실시예로, 개인의 전자지갑의 구조를 나타낸 것이다.
도 4는 본 발명에 따른 실시예로, 사업자와 개인 간의 블록체인 트랜잭션 처리를 나타낸 것이다.
도 5a는 본 발명에 따른 실시예로, 사업자 B1 기준으로 개인들과 거래한 분산 원장에 대한 블록 생성 및 배포 과정을 나타낸 것이다.
도 5b는 본 발명에 따른 실시예로, 사업자 B3 기준으로 개인들과 거래한 분산 원장에 대한 블록 생성 및 배포 과정을 나타낸 것이다.
도 5c는 본 발명에 따른 실시예로, 사업자 B2 기준으로 개인들과 거래한 분산 원장에 대한 블록 생성 및 배포 과정을 나타낸 것이다.
도 6a는 본 발명에 따른 실시예로, 제1 개인 전자지갑의 분산 원장이 파손된 상태를 나타낸 것이다.
도 6b는 본 발명에 따른 실시예로, 제1 개인 전자지갑의 분산 원장이 파손된 경우 복구를 위해 블록 인덱스 관리부로 복구 대상 리스트를 요청하는 것을 나타낸 것이다.
도 6c는 본 발명에 따른 실시예로, 제1 개인 전자지갑의 분산 원장이 파손된 경우 첫 번째로 제1 거래(TR1)에 대한 복구 과정을 나타낸 것이다.
도 6d는 본 발명에 따른 실시예로, 제1 개인 전자지갑의 분산 원장이 파손된 경우 두 번째로 제5 거래(TR5)에 대한 복구 과정을 나타낸 것이다.
Figure 1 schematically shows the relationship between the authority and responsibilities between the operator distributed ledger management unit, personal electronic wallet management unit and block index management unit according to the present invention.
2 shows a main configuration of a block index management unit according to the present invention.
Figure 3a is an embodiment according to the present invention, showing the structure and variable size of the block for electronic transactions.
Figure 3b is an embodiment according to the present invention, showing the structure of the personal electronic wallet.
Figure 4 is an embodiment according to the present invention, showing the blockchain transaction processing between the operator and the individual.
Figure 5a is an embodiment according to the present invention, showing a block generation and distribution process for the distributed ledgers traded with individuals on the basis of the operator B1.
Figure 5b is an embodiment according to the present invention, showing a block generation and distribution process for the distributed ledgers traded with individuals on the basis of the operator B3.
Figure 5c is an embodiment according to the present invention, showing a block generation and distribution process for distributed ledgers traded with individuals on the basis of operator B2.
Figure 6a is an embodiment according to the present invention, showing a state in which the distributed ledger of the first personal electronic wallet is broken.
6B illustrates an embodiment according to the present invention, which requests a list of recovery targets to the block index management unit for recovery when a distributed ledger of a first personal electronic wallet is damaged.
FIG. 6C is an embodiment according to the present invention, in which the recovery process for the first transaction TR1 is first shown when the distributed ledger of the first personal electronic wallet is damaged.
FIG. 6D is an embodiment according to the present invention, which illustrates a recovery process for a fifth transaction TR5 when a distributed ledger of a first personal electronic wallet is damaged.

이하에서는 본 발명의 구체적인 실시예를 도면을 참조하여 상세히 설명하도록 한다. Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 사업자 분산원장 관리부, 개인 전자지갑 관리부 및 블록 인덱스 관리부 간의 권한 및 책임 등의 관계를 개략적으로 나타낸 것이고, 도 2는 본 발명에 따른 블록 인덱스 관리부의 주요 구성을 나타낸 것이다. Figure 1 schematically shows the relationship between the authority and responsibilities between the operator distributed ledger management unit, personal electronic wallet management unit and block index management unit according to the present invention, Figure 2 shows the main configuration of the block index management unit according to the present invention.

도 1을 참조하면, 본 발명은 블록체인 기반의 전자 거래를 위해 사업자 분산원장 관리부(100), 개인 전자지갑 관리부(200) 및 블록 인덱스 관리부(300)를 포함한다. Referring to FIG. 1, the present invention includes a provider distributed ledger manager 100, a personal electronic wallet manager 200, and a block index manager 300 for blockchain-based electronic transactions.

먼저, 일반적인 블록체인(block chain)의 개념 및 특징에 대해 이하 간단히 설명한다. First, the concept and features of a general block chain will be briefly described below.

블록체인(block chain)은 전자화폐인 비트코인(bitcoin)의 거래내역을 저장한 분산원장(Distributed ledger)으로, 암호기술을 이용하여 발행한 비트코인의 소유권 이전 내역을 저장하여 위변조를 막는 기술로 정의 될 수 있다. Blockchain is a distributed ledger that stores transaction details of bitcoin, an electronic currency.It is a technology that prevents forgery by storing ownership transfer history of Bitcoin issued using cryptography. Can be defined.

또한 블록체인(block chain)은 거래(transaction), 검증(proof of work) 및 보상(incentive)의 일련의 과정을 수행하는데 특징을 가지며, 이 과정에서 생긴 연속된 블록을 일컬어 블록체인(block chain)으로 통칭하고 있다. A block chain is also characterized by performing a series of transactions, proof of work, and incentives, and it is also called the block chain. Collectively.

여기서, 거래(transaction)는 암호기술을 이용하여 개인 대 개인으로 소유권 이전내역을 작성하는 작업을 수행한다. Here, the transaction performs the task of writing ownership transfer from person to person using cryptography.

검증(proof of work)은 10분마다 그 동안 일어난 거래를 모아 블록을 만들고 타임스탬프를 찍어 공신력을 부여 하는데, 이 과정을 채굴(Mining)이라 표현하고 있다. The proof of work collects the transactions that have taken place every 10 minutes, creates blocks, and timestamps them, giving them credibility, a process called mining.

보상(incentive)은 타임스탬프를 찍는 행위를 한 채굴자(Miner)에게 새로운 비트코인을 인센티브로 주어, 더 많은 사람들이 검증에 참여 할 수 있게 하는 동기 부여 수단으로 이용된다. Incentives are used to motivate miners who have timestamped new bitcoins as incentives for more people to participate in the verification.

다시 도 1을 참조하면, 사업자 분산원장 관리부(100)는 사업자가 운영하는 분산원장 관리 시스템을 포함하고, 사업자는 사업적 이익을 위하여 개인들과 각종 상품들을 전자 거래하는 역할을 하며, 개인들과의 실시간 거래 후 블록 생성 주기 내의 모든 실시간 거래 내역을 수록한 분산 원장(이하 '블록(block)')을 생성 및 배포하는 책임을 진다. Referring back to FIG. 1, the operator distributed ledger management unit 100 includes a distributed ledger management system operated by an operator, and the operator serves to electronically trade individuals and various products for business profits. It is responsible for creating and distributing distributed ledgers (hereinafter referred to as 'blocks') containing all real-time transaction details within the block generation cycle after real-time transactions.

이 경우 사업자 분산원장 관리부(100)는 개인 전자지갑 관리부(200) 및 블록 인덱스 관리부(300)에 블록을 배포하며, 발행한 블록에 대하여 누구나 수시로 참조할 수 있도록 블록을 유지한다. In this case, the operator distributed ledger management unit 100 distributes the blocks to the personal electronic wallet management unit 200 and the block index management unit 300, and maintains the blocks so that anyone can refer to the issued block at any time.

즉 사업자는 자신이 발행한 블록을 소유하고 보관하며, 요청 시 해당 정보를 제공하여 데이터 보관과 관리 범위를 축소하여 운용할 수 있다. In other words, the operator owns and keeps the block he has issued, and can provide the relevant information upon request to reduce the scope of data storage and management.

개인 전자지갑 관리부(200)는 개인이 전자 지갑(wallet)을 관리하기 위한 이동 단말(이를테면, 스마트 폰, PDA 등)을 포함하고, 개인은 자신의 편익을 위하여 사업자들과 각종 상품들의 전자 거래(transaction)를 수행한다. Personal electronic wallet management unit 200 includes a mobile terminal (eg, smart phone, PDA, etc.) for the individual to manage the wallet (wallet), the individual for the convenience of the electronic transaction of the operators and various products ( transaction).

이 경우 개인은 자신이 참여한 거래의 블록만을 소유하고 보관하며, 요청 시 해당 정보를 제공하여 데이터 보관과 관리 범위를 축소하여 운용할 수 있다. In this case, the individual owns and keeps only the block of transactions he participates in, and can provide the relevant information on request to reduce the scope of data storage and management.

블록 인덱스 관리부(300)는 거래 및 데이터 보유 파생 이익과 무관한 공리적 존재로 생태계 내의 대표성을 가진 제3자 단체가 관리하는 블록 인덱스 보관소를 구비하며, 도 2에 도시된 바대로, 분산원장 사본 보관부(310), 인덱싱 정보 제공부(320) 및 원장복구 지원부(330)를 포함한다. The block index management unit 300 has a block index repository, which is managed by a third party entity having representativeness in the ecosystem as an axious entity irrelevant to transaction and data holding derivative interests, and as shown in FIG. The unit 310, the indexing information providing unit 320 and the ledger recovery support unit 330.

이 경우 분산원장 사본 보관부(310)는 개인과 사업자 간의 생태계 내의 모든 거래 증빙인 분산 원장인 블록(block)의 사본 전체를 보관하는 기능을 수행하는데, 이는 사업자 및 개인의 경우 자신이 참여한 분산 원장 일부만을 보유하는 것과 대비된다. In this case, the distributed ledger copy storage unit 310 stores a copy of a block, which is a distributed ledger, which is a proof of all transactions in the ecosystem between an individual and an operator. Contrast with having only some.

인덱싱 정보 제공부(320)는 상기 분산원장 사본 보관부의 블록의 사본을 토대로 블록체인 내의 모든 거래 블록의 인덱스(index)를 생성 및 보관하고, 거래에 참여한 개인 또는 사업자의 거래 이력 요청 시 해당 개인 또는 기업이 수록된 블록의 인덱싱 정보를 제공해 준다. The indexing information provider 320 generates and stores an index of all transaction blocks in the blockchain based on the copy of the block of the distributed ledger copy storage unit, and requests the transaction history of the individual or the business entity participating in the transaction. Provides indexing information for blocks containing companies.

이로써, 개인 또는 사업자는 개인 또는 사업자 별로 정렬되어 제공되는 인덱스(index)를 통해 자신의 거래 내역에 대해 고속으로 검증을 수행할 수 있게 된다. As a result, an individual or a business operator can perform verification on their transaction details at high speed through an index provided by individuals or business operators.

원장복구 지원부(330)는 거래에 참여한 개인 또는 사업자의 분산 원장이 훼손된 경우, 상기 인덱싱 정보 제공부(320)가 제공하는 거래 블록의 인덱스(index)를 기반으로 훼손된 상기 분산 원장을 복구할 수 있도록 해준다. The ledger recovery support unit 330 may recover the damaged ledger based on the index of the trading block provided by the indexing information provider 320 when the distributed ledger of the individual or the business entity participating in the transaction is damaged. Do it.

즉 원장복구 지원부(330)는 거래에 참여한 사업자들 또는 개인들의 분산 원장이 파손이 발생하여 분산원장 복구 요청이 있는 경우, 상기 분산원장 복구 요청에 상응하는 인덱싱 정보를 제공하여 분산 원장 복구 서비스를 지원해 준다. That is, the ledger recovery support unit 330 supports distributed ledger recovery service by providing indexing information corresponding to the distributed ledger recovery request when the distributed ledger of the businesses or individuals participating in the transaction has been damaged and the distributed ledger is requested. give.

이를 부연설명하면, 원장복구 지원부(330)는 분산 원장의 신속한 탐색과 정오 판단을 위한 키(Key)를 제공하면, 개인 또는 사업자는 자신이 참여한 거래의 블록 ID를 획득하고, 필요한 블록만을 P2P로 수신하여 훼손된 각각의 분산 원장을 신속하게 재구성하는 방식으로 복구를 수행하게 되는데, 이에 대한 구체적인 설명은 도 6a ~ 도 6d에서 후술한다. In further detail, when the ledger recovery support unit 330 provides a key for rapid search and noon judgment of the distributed ledger, an individual or a business operator obtains a block ID of a transaction in which he / she participates, and only necessary blocks are converted into P2P. Recovery is performed in a manner of quickly reconstructing each distributed ledger received and damaged. A detailed description thereof will be described later with reference to FIGS. 6A to 6D.

도 3a는 본 발명에 따른 실시예로, 전자 거래를 위한 블록의 구조 및 가변적인 크기를 나타낸 것이다. Figure 3a is an embodiment according to the present invention, showing the structure and variable size of the block for electronic transactions.

도 3a를 참조하면, 본 발명에 따른 전자 거래를 위한 블록은 Block ID, Block B.P, Block Hash, 국가, 사업자, 상품, 지갑, 일자, 시간, 거래장소, 거래액 및 잔액을 필드(field)로 갖는 구조를 갖는다. Referring to FIG. 3A, a block for electronic transactions according to the present invention has a block ID, a block BP, a block hash, a country, a business operator, a product, a wallet, a date, a time, a trading place, a transaction amount, and a balance as a field. Has a structure.

이하 필드(field)의 각 항목에 대해 부연설명하면, Block ID는 해당 블록(Block)의 고유 ID를 의미하고, Block B.P는 해당 블록(Block)의 직전(Backward) 포인터(Pointer)를 의미하며, Block Hash는 해당 블록 전체의 Hash(SHA-256) 값을 의미하고, 국가는 해당 거래를 법률적으로 관할하는 국가를 의미하며, 사업자는 기업의 고유 ID를 의미하고, 상품은 사업자가 자체적으로 부여한 상품의 고유 ID를 의미하며, 지갑은 개인의 고유 ID를 의미하고, 일자/시간/거래장소는 거래가 이루어진 거래일자/거래시간/거래장소를 의미하며, 거래액은 사업자와 개인 간에 거래 시 지출한 금액을 의미하고, 잔액은 거래 후 현재 남아 있는 금액을 의미한다. Hereinafter, each item of the field will be described in detail. Block ID means a unique ID of a corresponding block, Block BP means a backward pointer of the corresponding block, Block Hash means the Hash (SHA-256) value of the block as a whole, the country means the country that has jurisdiction over the transaction, the operator means the company's unique ID, and the product is assigned by the operator itself. It means the unique ID of the product, the wallet means the unique ID of the individual, the date / time / place is the transaction date / transaction time / place where the transaction was made, and the transaction amount is the amount spent during the transaction between the operator and the individual. The balance is the amount remaining after the transaction.

이 경우 아래에서 위 방향 차례대로 제1 블록, 제2 블록 및 제3 블록을 가지며, 각각의 블록은 고유한 자신의 Block ID와 이전 블록을 참조할 수 있는 Block B.P(이전 블록의 ID)를 포함함으로써, 모든 블록(제1 블록, 제2 블록 및 제3 블록)은 자신의 이전 블록 ID를 보유하여 블록체인(block chain)을 구성하게 된다. In this case, it has a first block, a second block, and a third block in the up-to-down order, and each block includes its own Block ID and a Block BP (an ID of the previous block) that can refer to the previous block. Thus, all blocks (first block, second block and third block) retain their previous block IDs to form a block chain.

또한 제1 블록은 상기 필드 마다 2행의 크기를, 제2 블록은 상기 필드 마다 3행의 크기를, 제3 블록은 상기 필드 마다 1행의 크기를 갖는 것처럼, 사업자는 가변적인 크기로 필드의 행의 개수를 임의로 발행할 수 있다. In addition, as the first block has a size of two rows for each field, the second block has a size of three rows for each field, and the third block has a size of one row for each field, the operator has a variable size of the field. You can issue any number of rows.

이때 각각의 블록은 전체 행을 기준으로 Hash(SHA-256) 되었으므로 행의 개수에 영향을 받지 않도록 해주는데, 이는 사업자의 블록 발행의 편의성을 증진시키고, 블록 생성을 위한 채굴(mining) 작업을 배제하여 생태계의 오버헤드를 소거할 수 있도록 해 준다. In this case, each block is hashed based on the entire row, so it is not influenced by the number of rows. This enhances the convenience of issuing the block of the operator and excludes mining for block generation. It helps to eliminate the overhead of the ecosystem.

이처럼 본 발명의 블록은 상기와 같은 필드 구조 및 가변적인 크기를 갖는 특징으로 인해, 복수의 사업자들과 개인들 간의 전자 거래 시 사업자와 상품의 종류 등을 블록에 자유로이 기재할 수 있으므로, 사업자들의 다양한 상품들을 하나의 블록체인으로 관리할 수 있게 된다. As described above, the block of the present invention can freely describe the types of carriers and products in the block in the electronic transaction between a plurality of operators and individuals because of the characteristics of the field structure and the variable size. The products can be managed in one blockchain.

도 3b는 본 발명에 따른 실시예로, 개인의 전자지갑의 구조를 나타낸 것이다. Figure 3b is an embodiment according to the present invention, showing the structure of the personal electronic wallet.

도 3b를 참조하면, 개인의 전자지갑 구조는 상기 도 3a의 블록 구조 중 일부 필드 즉 사업자, 사업자명, 상품, 상품명, 금액, 단위 및 최근 거래일로 구성되며, 각각의 사업자와 상품별 거래 후에 잔액과 그 거래 이력 등을 관리할 수 있도록 해 준다. Referring to FIG. 3B, the personal electronic wallet structure is composed of some fields of the block structure of FIG. 3A, namely, a business operator, a business name, a product, a product name, an amount, a unit, and a recent transaction date. It allows you to manage the transaction history.

이를 부연설명하면, 도 3b에 도시된 바대로, 전자 상품 보유 현황에는 상품별 가장 최근 거래일을 표시하고, 상품 거래 상세 현황에는 해당 상품의 모든 거래 이력을 나타내게 된다. In detail, as illustrated in FIG. 3B, the most recent transaction date for each product is displayed in the current state of electronic product holding, and all transaction history of the corresponding product is displayed in the detailed state of product trading.

이 경우 개인은 사업자가 배포한 블록을 개인의 저장 매체(이를테면, 스마트 폰, PC 등)에 보관하고, 별도의 응용프로그램(Application)을 이용하여 블록 정보를 개인의 전자지갑 구조로 재구성하게 된다. In this case, the individual stores the block distributed by the operator in his or her storage medium (for example, smart phone, PC, etc.), and reconstructs the block information into the personal electronic wallet structure using a separate application.

이로 인해 본 발명은 개인이 참여한 거래 내역만을 최소 데이터로 구성함으로써, 개인의 데이터 관리 부담을 해소할 수 있도록 해주는 기술적 장점을 제공한다. For this reason, the present invention provides a technical advantage that the data management burden of the individual can be eliminated by configuring only the transaction data in which the individual participates with the minimum data.

도 4는 본 발명에 따른 실시예로, 사업자와 개인 간의 블록체인 트랜잭션 처리를 나타낸 것이다. Figure 4 is an embodiment according to the present invention, showing the blockchain transaction processing between the operator and the individual.

도 4를 참조하면, 사업자 B1, 사업자 B2 및 사업자 B3와 개인들이 소지한 지갑 W1, 지갑 W2, 지갑 W3, 지갑 W4 간에 거래가 이루어진 경우, 6번의 트랜잭션(TR1 ~ TR6) 처리를 실시예로 나타내었다. Referring to FIG. 4, when a transaction is made between a business operator B1, a business operator B2, and a business operator B3 and an individual wallet W1, wallet W2, wallet W3, and wallet W4, six transactions (TR1 to TR6) processing are shown as examples. .

이를 부연설명하면, 사업자 B1은 지갑 W1와 제1 거래(TR1)를 수행하고, 지갑 W4와 제2 거래(TR2)를 수행하며, 지갑 W2와 제3 거래(TR3)를 차례로 수행하고, 수행된 거래 이력을 블록 생성 전까지 데이터베이스(DB)에 저장하는데, 이 경우 사업자 B1 기준으로 블록의 생성 및 배포에 대한 구체적인 설명은 도 5a에서 후술한다. In detail, the operator B1 performs the first transaction TR1 with the wallet W1, performs the second transaction TR2 with the wallet W4, and sequentially performs the wallet W2 with the third transaction TR3. The transaction history is stored in the database DB until the block is generated. In this case, a detailed description of the generation and distribution of the block based on the operator B1 will be described later with reference to FIG. 5A.

마찬가지로, 사업자 B3은 지갑 W3와 제4 거래(TR4)를 수행하고, 지갑 W1와 제5 거래(TR5)를 차례로 수행하고, 수행된 거래 이력을 블록 생성 전까지 데이터베이스(DB)에 저장하는데, 이 경우 사업자 B3 기준으로 블록의 생성 및 배포에 대한 구체적인 설명은 도 5b에서 후술한다. Similarly, the operator B3 performs the fourth transaction TR4 with the wallet W3, performs the wallet W1 with the fifth transaction TR5 in turn, and stores the performed transaction history in the database DB until the block is generated. A detailed description of the generation and distribution of blocks based on the operator B3 will be described later with reference to FIG. 5B.

마찬가지로, 사업자 B2은 지갑 W3와 제6 거래(TR6)를 수행하고, 수행된 거래 이력을 블록 생성 전까지 데이터베이스(DB)에 저장하는데, 이 경우 사업자 B2 기준으로 블록의 생성 및 배포에 대한 구체적인 설명은 도 5c에서 후술한다. Similarly, the operator B2 performs a sixth transaction (TR6) with the wallet W3, and stores the transaction history performed in the database (DB) until the block is generated. In this case, a detailed description of the generation and distribution of the block based on the operator B2 will be given. It will be described later in Figure 5c.

이때 사업자 B1, 사업자 B2 및 사업자 B3 각각은 자신이 판단한 블록 생성의 적정 거래 수가 도달할 때까지 거래 이력 데이터베이스(DB)에 거래한 이력의 기록을 보관한다. At this time, each of the operators B1, B2 and B3 keeps a record of the transaction history in the transaction history database DB until the appropriate number of transactions for block generation determined by the operator B1, B2 and B3 is reached.

도 5a는 본 발명에 따른 실시예로, 사업자 B1 기준으로 개인들과 거래한 원장에 대한 블록 생성 및 배포 과정을 나타낸 것이고, 도 5b는 본 발명에 따른 실시예로, 사업자 B3 기준으로 개인들과 거래한 원장에 대한 블록 생성 및 배포 과정을 나타낸 것이며, 도 5c는 본 발명에 따른 실시예로, 사업자 B2 기준으로 개인들과 거래한 원장에 대한 블록 생성 및 배포 과정을 나타낸 것이다. Figure 5a is an embodiment according to the present invention, showing a block generation and distribution process for the ledgers that deal with individuals on the basis of the operator B1, Figure 5b is an embodiment according to the present invention, with the individuals on the basis of the operator B3 5 shows a block generation and distribution process for the ledger that is traded, and FIG. 5C illustrates a block generation and distribution process for the ledger traded with individuals based on the operator B2 according to an embodiment of the present invention.

도 5a를 참조하면, 우선 사업자 B1은 지갑 W1와 제1 거래(TR1)를 수행하고, 지갑 W4와 제2 거래(TR2)를 수행하며, 지갑 W2와 제3 거래(TR3)를 차례로 수행하고, 수행된 거래 이력을 데이터베이스(DB)에 저장한 후 자체적으로 판단한 블록 생성에 적정한 거래가 누적되면 거래이력 DB를 바탕으로 거래 내역을 기장한 신규 블록을 생성하는 과정을 수행한다. Referring to FIG. 5A, first, the operator B1 performs a first transaction TR1 with the wallet W1, performs a second transaction TR2 with the wallet W4, and sequentially performs a third transaction TR3 with the wallet W2. After storing the executed transaction history in the database (DB), if a suitable transaction accumulates in the block determined by itself, a process of generating a new block in which transaction details are booked based on the transaction history DB is performed.

다음으로, 사업자 B1은 거래 내역을 기장한 신규 블록을 거래에 참여한 개인들(지갑 W1, 지갑 W4, 지갑 W2) 및 블록 인덱스 관리부(300)에 배포하는 과정을 수행한다. Next, the operator B1 performs a process of distributing the new block, which has booked the transaction details, to the individuals who participated in the transaction (purse W1, wallet W4, wallet W2) and the block index management unit 300.

이 경우 거래에 참여한 개인들(지갑 W1, 지갑 W4, 지갑 W2)은 자신이 참여한 거래에 대한 블록만을 수신하여, 각각의 개인 전자지갑(도 3b 참조)을 이용하여 자신의 거래 이력만을 관리하면 됨으로써, 데이터 관리 대상이 대폭 축소되는 장점을 갖는다. In this case, the individuals who participated in the transaction (Wallet W1, Wallet W4, Wallet W2) receive only the block for the transaction in which they participate, and manage only their transaction history by using each personal electronic wallet (see FIG. 3b). As a result, the data management target is greatly reduced.

마찬가지로, 사업자 B1는 자신이 생성 및 발행한 블록만(TR1, TR2, TR3)을 관리하면 됨으로써, 이로 인한 책임 소재가 명확해 지는 장점을 갖는다. Similarly, the operator B1 needs to manage only the blocks TR1, TR2, and TR3 created and issued by him, thereby clarifying responsibility.

반면 블록 인덱스 관리부(300)는 사업자 B1이 거래한 모든 거래 이력(TR1, TR2, TR3)을 수신하여 모든 거래 블록의 인덱스(index)를 생성하고, 이를 통해 개인과 사업자 간의 모든 거래 이력을 통합적으로 관리 한다. On the other hand, the block index management unit 300 receives all the transaction history (TR1, TR2, TR3) traded by the operator B1 to generate an index (index) of all the transaction block, through which all the transaction history between the individual and the business operator integrated Manage.

한편 사업자 B3(도 5b 참조) 및 사업자 B2(도 5c 참조) 기준으로 개인들과 거래한 분산 원장에 대한 블록 생성 및 배포 과정은, 앞에서 설명한 사업자 B1 기준으로 개인들과 거래한 분산 원장에 대한 블록 생성 및 배포 과정과 대동소이함으로 구체적인 설명은 생략한다. On the other hand, the process of creating and distributing a block for distributed ledgers traded with individuals on the basis of operator B3 (see FIG. 5B) and operator B2 (see FIG. 5C) is a block for distributed ledgers traded with individuals on the basis of operator B1. The description is omitted because it is similar to the creation and distribution process.

도 6a는 본 발명에 따른 실시예로, 제1 전자지갑의 분산 원장이 파손된 상태를 나타낸 것이고, 도 6b는 본 발명에 따른 실시예로, 제1 전자지갑의 분산 원장이 파손된 경우 복구를 위해 블록 인덱스 관리부로 복구 대상 리스트를 요청하는 것을 나타낸 것이며, 도 6c는 본 발명에 따른 실시예로, 제1 전자지갑의 분산 원장이 파손된 경우 첫 번째로 제1 거래(TR1)에 대한 복구 과정을 나타낸 것이고, 도 6d는 본 발명에 따른 실시예로, 제1 전자지갑의 분산 원장이 파손된 경우 두 번째로 제5 거래(TR5)에 대한 복구 과정을 나타낸 것이다. Figure 6a is an embodiment according to the present invention, showing a state in which the distributed ledger of the first electronic wallet is broken, Figure 6b is an embodiment according to the present invention, recovery when the distributed ledger of the first electronic wallet is broken FIG. 6C illustrates an embodiment of requesting a recovery target list to the block index management unit. FIG. 6C illustrates an embodiment of the present invention, in which a recovery process for a first transaction TR1 is first performed when a distributed ledger of a first electronic wallet is damaged. 6d illustrates an example of a recovery process for a fifth transaction TR5 when the distributed ledger of the first electronic wallet is damaged.

이하 도 6a ~ 도 6d를 참조하여, 제1 전자지갑(W1)의 분산 원장이 파손된 경우, 블록 인덱스 관리부(300)를 이용하여 파손된 분산 원장을 복구하는 과정을 설명한다. Hereinafter, referring to FIGS. 6A to 6D, when the distributed ledger of the first electronic wallet W1 is broken, a process of recovering the broken distributed ledger by using the block index manager 300 will be described.

도 6a를 참조하면, 앞에서 설명한 도 4에서와 동일하게, 사업자 B1, 사업자 B2 및 사업자 B3와 개인들이 소지한 전자지갑 W1, 전자지갑 W2, 전자지갑 W3, 전자지갑 W4 간의 6번의 전자거래(TR1 ~ TR6)가 이루어지고, 제1 전자지갑(W1)의 분산 원장(블록)이 파손(훼손 또는 망실) 된 경우, 제1 개인이 이를 발견한 후 파손된 분산 원장(블록)을 복구하는 과정을 이하 도 6b ~ 도 6d를 참조하여 설명한다. Referring to FIG. 6A, as in FIG. 4 described above, six electronic transactions between the operator B1, the operator B2, and the operator B3 and the individual electronic wallet W1, the electronic wallet W2, the electronic wallet W3, and the electronic wallet W4 (TR1) ~ TR6) is made, and if the distributed ledger (block) of the first electronic wallet (W1) is broken (damaged or lost), the process of recovering the broken ledger (block) after the first individual finds it Hereinafter, a description will be given with reference to FIGS. 6B to 6D.

우선 도 6b에 도시된 바대로, 제1 개인은 자신의 제1 전자지갑(W1)이 참여한 모든 거래 이력을 블록 인덱스 관리부(300)에서 검색을 통해 복구 대상을 블록 시간 순으로 확인하는(이를테면, TR1 및 TR5 총 2개의 복수 대상) 제1 과정을 수행한다. First, as shown in FIG. 6B, the first individual checks all the transaction histories of the first electronic wallet W1 through the block index management unit 300 in order of block time order (eg, A total of two plurality of subjects, TR1 and TR5) is performed.

이 경우 블록 인덱스 관리부(300)의 인덱싱 정보 제공부(320)는 제1 개인의 거래 이력 요청 시 해당 제1 전자지갑(W1)이 수록된 블록의 인덱스(index)(TR1, TR5)를 시간 순으로 제공해 준다. In this case, the indexing information providing unit 320 of the block index management unit 300 requests the indexes TR1 and TR5 of the block in which the first electronic wallet W1 is stored in order of the first individual's transaction history. Provide.

다음으로, 도 6c를 참조하여 제1 전자지갑(W1)의 분산 원장이 파손된 경우 제1 거래(TR1)에 대한 첫 번째 복구 과정을 이하 설명한다. Next, the first recovery process for the first transaction TR1 will be described below when the distributed ledger of the first electronic wallet W1 is broken with reference to FIG. 6C.

먼저 블록 인덱스 관리부(300)의 원장복구 지원부(330)는 제1 전자지갑(W1)이 참여한 제1 거래(TR1)가 포함된 분산 원장(블록)의 블록 ID 목록(IDxx7011)과 해당 블록의 블록 해시(Block Hash) 키를 제1 전자지갑(W1)으로 전송해 준다. First, the ledger recovery support unit 330 of the block index management unit 300 includes a block ID list IDxx7011 of a distributed ledger (block) including a first transaction TR1 in which the first electronic wallet W1 participates, and a block of the corresponding block. The hash key is transmitted to the first electronic wallet W1.

이 후 제1 전자지갑(W1)은 상기 원장복구 지원부(330)에서 제공하는 블록 ID 목록(IDxx7011)으로 P2P에 의하여 해당 블록 ID 목록을 검색하고 수신하며, 상기 원장복구 지원부(330)에서 제공하는 블록 해시(Block Hash) 키를 통해 수신 데이터의 정오를 검증한다. Thereafter, the first electronic wallet W1 searches for and receives the corresponding block ID list by P2P with the block ID list IDxx7011 provided by the ledger recovery support unit 330, and is provided by the ledger recovery support unit 330. Validate the noon of incoming data with the Block Hash key.

여기서 분산 원장(블록) 소지자 간의 데이터 교환은 전형적인 P2P(이를테면, 토렌트 및 기타 암호화 기반의 P2P) 방식을 사용하는데, 이 경우 보유자(사업자 B1, 제2 전자지갑(W2) 및 제4 전자지갑(W4))는 보유 블록 ID 정보(IDxx7011)를 브로드캐스팅하고, 요청자(제1 전자지갑(W1))는 자신이 원하는 블록을 수신하는 P2P 방식을 따른다. Here, data exchange between distributed ledgers (blocks) holders uses a typical P2P (e.g., torrent and other encryption-based P2P) scheme, in which case the holders (operator B1, second wallet (W2) and fourth wallet (W4) )) Broadcasts the retaining block ID information IDxx7011, and the requester (first electronic wallet W1) follows a P2P scheme in which a desired block is received.

이를 부연설명하면, 제1 전자지갑(W1)은 블록 ID(IDxx7011)가 동일한 즉 동일한 블록을 보유한(숫자 2번 참조) 사업자 B1, 제2 전자지갑(W2) 및 제4 전자지갑(W4)으로 해당 블록을 P2P로 요청하게 되고, 해당 블록을 보유한 사업자 B1, 제2 전자지갑(W2) 및 제4 전자지갑(W4) 중 무작위로 제일 먼저 수신된(숫자 3번 참조) 블록의 블록 해시(Block Hash) 값과 상기 원장복구 지원부(330)에서 제공하는 블록 해시(Block Hash) 키(이를테면, SHA-256)와 대조하여 제일 먼저 수신된 블록의 정오를 판단한다. In detail, the first electronic wallet W1 is a service provider B1, a second electronic wallet W2, and a fourth electronic wallet W4 having the same block ID IDxx7011, that is, having the same block (see number 2). The block is requested by P2P, and the block hash (block number) of the first randomly received block (see number 3) among the carrier B1, the second electronic wallet (W2), and the fourth electronic wallet (W4) having the block. Hash) and the block hash key (eg, SHA-256) provided by the ledger recovery support unit 330 determine the noon of the first received block.

만일 제일 먼저 수신된 블록에 오류가 발생한 경우, 다음으로 수신된 블록의 블록 해시(Block Hash) 값과 상기 원장복구 지원부(330)에서 제공하는 블록 해시(Block Hash) 키(이를테면, SHA-256)의 대조 작업을 반복함으로써 수신된 블록의 정오를 판단하는 작업을 수행한다. If an error occurs in the first received block, a block hash value of the next received block and a block hash key provided by the ledger recovery support unit 330 (eg, SHA-256). The operation of determining the noon of the received block is performed by repeating the collation operation of.

이로써, 제1 전자지갑(W1)의 분산 원장이 파손된 경우 제1 거래(TR1)에 대한 첫 번째 복구가 완료된다. Thus, when the distributed ledger of the first electronic wallet W1 is broken, the first recovery of the first transaction TR1 is completed.

마지막으로, 이하 도 6d를 참조하여 제1 전자지갑(W1)의 분산 원장이 파손된 경우 제5 거래(TR5)에 대한 두 번째 복구 과정을 상기 첫 번째 복구 과정에 준하여 설명한다. Finally, referring to FIG. 6D, when the distributed ledger of the first electronic wallet W1 is damaged, the second recovery process for the fifth transaction TR5 will be described based on the first recovery process.

먼저 블록 인덱스 관리부(300)의 원장복구 지원부(330)는 제1 전자지갑(W1)이 참여한 제5 거래(TR5)가 포함된 분산 원장(블록)의 블록 ID 목록(IDyy7401)과 해당 블록의 블록 해시(Block Hash) 키를 제1 전자지갑(W1)으로 전송해 준다. First, the ledger recovery support unit 330 of the block index management unit 300 includes a block ID list IDyy7401 of a distributed ledger (block) including a fifth transaction TR5 in which the first electronic wallet W1 participates, and a block of the corresponding block. The hash key is transmitted to the first electronic wallet W1.

이 후 제1 전자지갑(W1)은 상기 원장복구 지원부(330)에서 제공하는 블록 ID 목록(IDyy7401)으로 P2P에 의하여 해당 블록 ID 목록을 검색하고 수신하며, 상기 원장복구 지원부(330)에서 제공하는 블록 해시(Block Hash) 키를 통해 수신 데이터의 정오를 검증한다. Thereafter, the first electronic wallet W1 searches for and receives the corresponding block ID list by P2P with the block ID list IDyy7401 provided by the ledger recovery support unit 330, and is provided by the ledger recovery support unit 330. Validate the noon of incoming data with the Block Hash key.

이를 부연설명하면, 제1 전자지갑(W1)은 블록 ID(IDyy7401)가 동일한 사업자 B3 및 제3 전자지갑(W3)으로부터 블록을 수신하고, 블록 해시(Block Hash) 키의 동일 여부의 비교를 통해 수신된 블록의 정오를 검증하게 된다. In detail, the first electronic wallet W1 receives a block from the provider B3 and the third electronic wallet W3 having the same block ID IDyy7401, and compares the block hash keys with each other. The noon of the received block is verified.

이를 부연설명하면, 제1 전자지갑(W1)은 블록 ID(IDyy7401)가 동일한 즉 동일한 블록을 보유한(숫자 2번 참조) 사업자 B3 및 제3 전자지갑(W3)으로 해당 블록을 P2P로 요청하게 되고, 해당 블록을 보유한 사업자 B3 및 제3 전자지갑(W3) 중 무작위로 먼저 수신된(숫자 3번 참조) 블록의 블록 해시(Block Hash) 값과 상기 원장복구 지원부(330)에서 제공하는 블록 해시(Block Hash) 키(이를테면, SHA-256)와 대조하여 수신된 블록의 정오를 판단한다. In detail, the first electronic wallet W1 requests the block to the P2P with the service providers B3 and the third electronic wallet W3 having the same block ID (IDyy7401), that is, having the same block (see number 2). , Block Hash value of the block randomly received (see number 3) among the carrier B3 and the third electronic wallet (W3) having the block and the block hash provided by the ledger recovery support unit 330 ( Block Hash) key (e.g. SHA-256) to determine the noon of the received block.

만일 제일 먼저 수신된 블록에 오류가 발생한 경우, 다음으로 수신된 블록의 블록 해시(Block Hash) 값과 상기 원장복구 지원부(330)에서 제공하는 블록 해시(Block Hash) 키(이를테면, SHA-256)의 대조 작업을 반복함으로써 수신된 블록의 정오를 판단하는 작업을 수행한다. If an error occurs in the first received block, a block hash value of the next received block and a block hash key provided by the ledger recovery support unit 330 (eg, SHA-256). The operation of determining the noon of the received block is performed by repeating the collation operation of.

이로써, 제1 전자지갑(W1)의 분산 원장이 파손된 경우 제5 거래(TR5)에 대한 두 번째 복구가 완료되어, 제1 전자지갑(W1)에 대한 모든 복구(TR1 및 TR5) 과정이 종료된다. Thus, when the distributed ledger of the first electronic wallet W1 is damaged, the second recovery of the fifth transaction TR5 is completed, and thus all recovery (TR1 and TR5) processes for the first electronic wallet W1 are terminated. do.

이와 같이 본 발명은 블록 인덱스 관리부(300)의 개인별 인덱스(index) 정보를 활용하여 손쉽고 신속하게 개인별 원장을 재구성함으로 파손된 분산 원장(블록)을 복구할 수 있게 된다. As described above, the present invention can recover the damaged distributed ledger (block) by reconstructing the individual ledger easily and quickly by using the individual index information of the block index management unit 300.

본 발명의 경우 개인별 분산 원장(블록)의 복구 과정에 대해 설명하였지만, 사업자별 분산 원장(블록)의 복구 과정도 상기 개인별 분산 원장(블록)의 복구 과정과 유사하게 실시할 수 있으므로, 이에 대한 구체적인 설명은 생략한다. In the case of the present invention, the recovery process of individual distributed ledgers (blocks) has been described, but the recovery process of distributed ledgers (blocks) for each operator may be similarly performed to the recovery process of the distributed ledgers (blocks) for each individual. Description is omitted.

이상에서는 본 발명에 대한 기술사상을 첨부 도면과 함께 서술하였지만 이는 본 발명의 바람직한 실시 예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구나 본 발명의 기술적 사상의 범주를 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다. In the above description, the technical idea of the present invention has been described with the accompanying drawings. However, the present invention has been described by way of example only, and is not intended to limit the present invention. In addition, it is apparent that any person skilled in the art to which the present invention pertains can make various modifications and imitations without departing from the scope of the technical idea of the present invention.

100 : 사업자 분산원장 관리부
200 : 개인 전자지갑 관리부
300 : 블록 인덱스 관리부
310 : 분산원장 사본 보관부
320 : 인덱싱 정보 제공부
330 : 원장복구 지원부
100: Distributed Ledger Management Department
200: personal electronic wallet management unit
300: block index management unit
310: copy of the distributed ledger
320: indexing information provider
330: Ledger recovery support

Claims (6)

사업자들이 취급하는 상품들의 전자 거래를 개인들과 수행하고, 사업자들 자신이 참여한 거래 이력만을 블록을 생성 전까지 보유하며, 블록 생성 주기 내의 모든 실시간 거래 내역을 수록한 블록을 발행 및 배포하되, 자신이 발행한 블록을 소유 및 보관하고, 외부 요청 시 해당하는 블록 정보를 제공하여 데이터 보관과 관리 범위를 축소하여 운용하는 사업자 분산원장 관리부;
사업자들과 상품들의 전자 거래를 수행하고, 개인들 자신의 전자 지갑(wallet)을 통해 전자 거래 이력을 관리하며, 개인들 자신이 참여한 거래의 블록만을 소유 및 보관하고, 외부 요청 시 해당하는 블록 정보를 제공하여 데이터 보관과 관리 범위를 축소하여 운용하는 개인 전자지갑 관리부; 및
사업자들과 개인들 간에 수행된 전자 거래 내역에 대한 블록의 사본 전체를 보관하되, 개인 또는 기업이 수록된 블록을 저장하며, 거래에 참여한 사업자들 또는 개인들의 요청 시 해당하는 블록의 인덱싱 정보를 제공하되, 개인 또는 사업자 별로 정렬된 인덱스를 제공하여, 사업자들 또는 개인들의 거래 내역 검증 서비스 및 분산 원장 복구 서비스를 구현하는 블록 인덱스 관리부를 포함하되,
상기 블록 인덱스 관리부는,
사업자들과 개인들 간에 수행된 전자 거래 내역에 대한 블록의 사본 전체를 보관하는 분산원장 사본 보관부;
상기 분산원장 사본 보관부의 블록의 사본을 토대로 블록의 인덱스(index)를 생성 및 보관하고, 거래에 참여한 사업자들 또는 개인들의 요청 시 해당하는 블록의 인덱싱 정보를 제공하는 인덱싱 정보 제공부; 및
거래에 참여한 사업자들 또는 개인들의 분산 원장이 파손이 발생하여 분산원장 복구 요청이 있는 경우, 상기 분산원장 복구 요청에 상응하는 인덱싱 정보를 제공하여 분산 원장 복구 서비스를 지원하는 원장복구 지원부를 포함하는 것을 특징으로 하는 전자 거래를 위한 인덱싱 블록체인 시스템.
Conduct electronic transactions of products handled by operators with individuals, retain only the transaction history of the operators themselves until block generation, issue and distribute blocks containing all real-time transaction details within the block creation cycle. A distributed ledger management unit for owning and storing the issued block, and providing the corresponding block information in the external request to reduce and manage the data storage and management scope;
Perform electronic transactions of businesses and products, manage electronic transaction history through individuals' own wallets, own and store only the blocks of transactions in which individuals participate, and block information on external requests Provide a personal electronic wallet management unit to reduce the scope of data storage and management; And
Keep a full copy of the block of electronic transactions performed between operators and individuals, store blocks containing individuals or companies, and provide indexing information for those blocks upon request of operators or individuals involved in the transaction. Including a block index management unit that provides indexes sorted by individuals or operators to implement transaction history verification services and distributed ledger recovery services of operators or individuals,
The block index management unit,
A distributed ledger copy archive that keeps a full copy of the block of electronic transactions performed between operators and individuals;
An indexing information provider for generating and storing an index of the block based on a copy of the block of the distributed ledger copy storage unit and providing indexing information of a corresponding block at the request of operators or individuals involved in the transaction; And
If the distributed ledger of the operators or individuals who participated in the transaction is damaged and the distributed ledger is requested, including the ledger recovery support unit that provides the distributed ledger recovery service by providing indexing information corresponding to the distributed ledger recovery request. An indexing blockchain system for electronic transactions.
삭제delete 제1항에 있어서, 상기 분산 원장 복구 서비스는,
거래에 참여한 사업자들 또는 개인들의 검색 요청에 따라 블록 ID 목록을 순차적으로 제공하는 제1 과정;
상기 블록 ID가 동일한 블록을 소유한 대상을 탐색하는 제2 과정; 및
상기 제2 과정의 탐색을 통해 결정된 소유자들로부터 블록을 수신하고, 수신된 블록의 정오를 판단하는 제3 과정을 제공하는 것을 특징으로 하는 전자 거래를 위한 인덱싱 블록체인 시스템.
According to claim 1, The distributed ledger recovery service,
A first step of sequentially providing a block ID list according to a search request of operators or individuals participating in the transaction;
A second step of searching for an object owning a block having the same block ID; And
And a third process of receiving a block from the owners determined through the search of the second process, and determining a noon of the received block.
제 3항에 있어서,
요청자와 소유자들 간의 데이터 교환은 P2P 방식을 통해 구현되는 것을 특징으로 하는 전자 거래를 위한 인덱싱 블록체인 시스템.
The method of claim 3, wherein
Indexing blockchain system for electronic transactions, characterized in that the exchange of data between the requestor and the owner is implemented through a P2P scheme.
제 3항에 있어서, 상기 제3 과정은,
수신된 블록의 블록 해시(Block Hash) 값과 상기 원장복구 지원부에서 제공하는 블록 해시(Block Hash) 키를 대조하여 수신된 블록의 정오를 판단하는 것을 특징으로 하는 전자 거래를 위한 인덱싱 블록체인 시스템.
The method of claim 3, wherein the third process,
And a block hash key provided by the ledger recovery support unit to determine a noon of the received block, wherein the block hash value of the received block is determined.
제 5항에 있어서, 상기 블록 해시(Block Hash) 키는,
SHA-256을 사용하는 것을 특징으로 하는 전자 거래를 위한 인덱싱 블록체인 시스템.
The method of claim 5, wherein the block hash (Block Hash) key,
Indexing blockchain system for electronic transactions, characterized by using SHA-256.
KR1020180048239A 2018-04-26 2018-04-26 Indexing block chain system for electronic transactions KR102085140B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180048239A KR102085140B1 (en) 2018-04-26 2018-04-26 Indexing block chain system for electronic transactions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180048239A KR102085140B1 (en) 2018-04-26 2018-04-26 Indexing block chain system for electronic transactions

Publications (2)

Publication Number Publication Date
KR20190124369A KR20190124369A (en) 2019-11-05
KR102085140B1 true KR102085140B1 (en) 2020-03-05

Family

ID=68576959

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180048239A KR102085140B1 (en) 2018-04-26 2018-04-26 Indexing block chain system for electronic transactions

Country Status (1)

Country Link
KR (1) KR102085140B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021187733A1 (en) * 2020-03-17 2021-09-23 삼성전자주식회사 Electronic device and control method thereof

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102461553B1 (en) * 2020-02-28 2022-11-01 주식회사 시큐어링크 Layer Blockchain System for Large Information Sharing
KR102376783B1 (en) * 2020-03-20 2022-03-18 지송학 The blockchain-based transaction history confirmation system
CN112291358B (en) * 2020-11-02 2021-03-16 暗链科技(深圳)有限公司 Data association method and system of segmented block chain
KR102575927B1 (en) * 2020-12-03 2023-09-08 주식회사 콤웨어 Franchise distribution and management system using blockchain and machine learning

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101784197B1 (en) * 2017-03-07 2017-11-06 유한회사 엘민벤처스 System and method of donating using assets including digital virtual money based on blockchain

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101553986B1 (en) * 2012-10-30 2015-09-18 동국대학교 산학협력단 System and method of distrubuted data storage, restoration
KR101663526B1 (en) * 2014-09-30 2016-10-07 아주대학교 산학협력단 Storage integrating method and system using file system
KR101712119B1 (en) * 2015-07-09 2017-03-03 국민대학교산학협력단 Apparatus and method of informing a user of bitcoin trade
KR20170137388A (en) 2016-06-03 2017-12-13 (주) 블록체인오에스 A method for ensuring integrity by using a blockchain technology

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101784197B1 (en) * 2017-03-07 2017-11-06 유한회사 엘민벤처스 System and method of donating using assets including digital virtual money based on blockchain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021187733A1 (en) * 2020-03-17 2021-09-23 삼성전자주식회사 Electronic device and control method thereof

Also Published As

Publication number Publication date
KR20190124369A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
KR102085140B1 (en) Indexing block chain system for electronic transactions
Hamida et al. Blockchain for enterprise: overview, opportunities and challenges
CN107846278B (en) Intelligent contract processing method and device
CN109063169A (en) A kind of customer data management system based on block chain
KR101941200B1 (en) Social network system based on block chain that can deal with idea
CN109189782A (en) A kind of indexing means in block chain commodity transaction inquiry
Wang et al. Inter-bank payment system on enterprise blockchain platform
Mukne et al. Land record management using hyperledger fabric and ipfs
KR20180115768A (en) Encryption method and system for secure extraction of data from a block chain
US20190288832A1 (en) Separation of transaction and account data in blockchains
US20200410491A1 (en) Resource management system and method of operation thereof
Nayak et al. Blockchain: The perfect data protection tool
CN106877998A (en) electronic evidence management method and system
US20190229931A1 (en) Distributed telephone number ledger and register
US20230039531A1 (en) Cryptographic data entry blockchain data structure
CN111461712A (en) Transaction privacy protection and hierarchical supervision under block chain supply chain financial scenario
CN113205415B (en) Financial process automation method and system based on RPA and block chain technology
CN110109874A (en) A kind of non-stop layer distributed document retrieval method based on block chain
US20220078006A1 (en) Verifiable object state data tracking
CN111597264A (en) Block chain accounting method and device
CN102208061A (en) Data cancel after verification processing device and method
Kaushik et al. Role of blockchain technology in digital forensics
Sheeba et al. Digital Hash Data Encryption for IoT Financial Transactions using Blockchain Security in the Cloud
CN111444416A (en) Method, system and device for popularizing financial business
CN113643032B (en) Information processing method, device and data management system based on block chain

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right