KR20210040624A - Apparatus and method for storaging electronic receipt based on block chain - Google Patents
Apparatus and method for storaging electronic receipt based on block chain Download PDFInfo
- Publication number
- KR20210040624A KR20210040624A KR1020190123109A KR20190123109A KR20210040624A KR 20210040624 A KR20210040624 A KR 20210040624A KR 1020190123109 A KR1020190123109 A KR 1020190123109A KR 20190123109 A KR20190123109 A KR 20190123109A KR 20210040624 A KR20210040624 A KR 20210040624A
- Authority
- KR
- South Korea
- Prior art keywords
- receipt
- index
- electronic receipt
- block
- operator
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
- G06Q20/209—Specified transaction journal output feature, e.g. printed receipt or voice output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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]
Abstract
Description
본 발명은 전자영수증 저장 기술에 관한 것으로, 보다 상세하게는 블록체인을 기반으로 하여 사업자와 사용자 사이의 거래에 따라 생성되는 전자영수증을 사업자 및 사용자 별로 용이하게 관리할 수 있도록 저장하는 블록체인 기반의 전자영수증 저장 장치 및 방법에 관한 것이다.The present invention relates to an e-receipt storage technology, and more particularly, based on a block chain, a blockchain-based store that stores an e-receipt generated according to a transaction between a business operator and a user so that it can be easily managed for each business operator and user. It relates to an electronic receipt storage device and method.
블록체인(blockchain)은 관리 대상 데이터를 '블록'이라고 하는 소규모 데이터들이 P2P 방식을 기반으로 생성된 체인 형태의 연결고리 기반 분산 데이터 저장환경에 저장되어 누구라도 임의로 수정할 수 없고 누구나 변경의 결과를 열람할 수 있는 분산 컴퓨팅 기술 기반의 데이터 대변 방지 기술이다. 이는 근본적으로 분산 데이터 저장기술의 한 형태로, 지속적으로 변경되는 데이터를 모든 참여 노드에 기록한 변경 리스트로서 분산 노드의 운영자에 의한 임의 조작이 불가능하도록 고안되었다.In the blockchain, small data called'blocks' as managed data are stored in a distributed data storage environment based on a chain-type connection created based on the P2P method, so that no one can arbitrarily modify them, and anyone can view the results of changes. It is a data deficit prevention technology based on distributed computing technology that can be done. This is fundamentally a form of distributed data storage technology. It is a change list that records continuously changing data in all participating nodes, and is designed to prevent arbitrary manipulation by the operator of the distributed node.
블록체인 기술은 비트코인 등의 가상화폐 시스템 또는 금융기관의 거래기록 보관 등에 사용되고 있으며, 최근에는 전자화된 문서관리 및 원본확인 등을 위해 사용되기도 한다. 블록체인 기술을 이용하여 전자영수증을 관리할 수 있는 기술을 통해 블록체인 네트워크로의 참여를 유도할 수 있다.Blockchain technology is used for cryptocurrency systems such as bitcoin or for storing transaction records of financial institutions, and recently, it is also used for electronic document management and original verification. It is possible to induce participation in the blockchain network through technology that can manage electronic receipts using blockchain technology.
한국공개특허 제10-2018-0085570(2018.07.27)호는 블록 체인을 이용하여 데이터를 관리하는 장치 및 방법에 관한 것으로, 복수의 노드 단말들이 데이터를 동기화하여 저장하기 위해 형성한 블록 체인 및 상기 블록 체인의 데이터의 저장, 조회 및 삭제를 관리하는 장치는, 노드 단말로 블록 체인을 관리하는 체인 명령 및 데이터를 관리하는 데이터 명령을 전송하여 데이터의 관리를 제어하는 메인 제어부, 및 체인 명령에 의해 생성된 체인 정보를 체인 테이블에 저장하고, 데이터 명령에 의해 저장된 데이터 및 트랜잭션의 매핑 정보를 매핑 테이블에 저장하는 DB 관리부를 포함하여 파일 시스템의 블록 크기 제한에 따라 빈 공간이 제거된 블록 체인의 저장 영역에 데이터를 보관하므로 저장 영역에 대비하여 효율적인 데이터 저장이 가능한 블록 체인을 이용하여 데이터를 관리하는 장치 및 방법을 제공할 수 있다.Korean Patent Publication No. 10-2018-0085570 (2018.07.27) relates to an apparatus and method for managing data using a block chain, and a block chain formed by a plurality of node terminals to synchronize and store data, and the The device that manages the storage, inquiry, and deletion of data in the blockchain is a main control unit that controls the management of data by transmitting a chain command for managing the block chain and a data command for managing the data to the node terminal, and the chain command. Blockchain storage in which empty space has been removed according to the block size limit of the file system, including the DB management unit that stores the created chain information in the chain table and stores the mapping information of data and transactions saved by the data command in the mapping table. Since data is stored in an area, it is possible to provide an apparatus and method for managing data using a block chain that enables efficient data storage in preparation for a storage area.
한국공개특허 제10-2019-0036948(2019.04.05)호는 블록체인에서 데이터 관리 시스템 및 방법에 관한 것으로, 블록체인에서 데이터를 관리하는 노드에 있어서, 상기 블록체인은 상기 데이터를 저장하는 제1 블록체인, 및 상기 제1 블록체인에 저장되는 데이터의 해시정보를 저장하는 제2 블록체인을 포함하고 상기 제1 블록체인과 상기 제2 블록체인은 상호 연동하여 데이터를 관리하여 블록체인에 데이터 자체를 저장하고 삭제할 수 있는 블록체인에서 데이터 관리 시스템 및 방법을 제공할 수 있다.Korean Patent Laid-Open Publication No. 10-2019-0036948 (2019.04.05) relates to a data management system and method in a blockchain. In a node that manages data in a blockchain, the blockchain is the first It includes a block chain and a second block chain that stores hash information of data stored in the first block chain, and the first block chain and the second block chain manage data by interworking with each other to manage the data itself in the block chain. It can provide a data management system and method in a blockchain that can store and delete data.
본 발명의 일 실시예는 블록체인을 기반으로 하여 사업자와 사용자 사이의 거래에 따라 생성되는 전자영수증을 사업자 및 사용자 별로 용이하게 관리할 수 있도록 저장하는 블록체인 기반의 전자영수증 저장 장치 및 방법을 제공하고자 한다.An embodiment of the present invention provides a block chain-based electronic receipt storage device and method for storing electronic receipts generated according to transactions between operators and users based on a block chain so that they can be easily managed for each operator and user. I want to.
본 발명의 일 실시예는 사업자 기준의 인덱스 테이블 및 사용자 기준의 인덱스 테이블을 생성하여 멀티체인 구조로 전자영수증 블록을 빠르게 저장하고 접근할 수 있는 블록체인 기반의 전자영수증 저장 장치 및 방법을 제공하고자 한다.An embodiment of the present invention is to provide a block chain-based electronic receipt storage device and method that can quickly store and access electronic receipt blocks in a multi-chain structure by creating an index table based on a business operator and an index table based on a user. .
본 발명의 일 실시예는 LRU(Least Recently Used) 기반으로 사업자 및 사용자 별로 전자영수증 블록을 블록체인에 추가하여 신규 및 변경 거래를 손쉽게 확인할 수 있도록 저장하는 블록체인 기반의 전자영수증 저장 장치 및 방법을 제공하고자 한다.An embodiment of the present invention provides a block-chain-based electronic receipt storage device and method for storing an e-receipt block for each operator and user based on LRU (Least Recently Used) to easily check new and changed transactions by adding an e-receipt block to the blockchain. I want to provide.
실시예들 중에서, 블록체인 기반의 전자영수증 저장 장치는 메모리 및 상기 메모리와 전기적으로 연결된 프로세서를 포함하고, 상기 프로세서는 사업자 결제 단말의 결제 내역 정보를 기초로 전자영수증 블록을 생성하고, 사업자를 기준으로 하여 상기 전자영수증 블록의 사업자 인덱스를 생성하고, 상기 전자영수증 블록을 상기 사업자 인덱스에 해당하는 전자영수증 블록체인에 추가하여 저장하고, LRU(Least Recently Used)에 기반하여 상기 사업자 인덱스를 상기 전자영수증 블록체인 내에 가장 최근에 사용되는 전자영수증 블록에 링크한다.Among the embodiments, the block chain-based electronic receipt storage device includes a memory and a processor electrically connected to the memory, and the processor generates an electronic receipt block based on payment details information of the operator payment terminal, and To generate the operator index of the e-receipt block, add the e-receipt block to the e-receipt block chain corresponding to the operator index, and store the e-receipt block, and store the operator index based on the least recently used (LRU). Links to the most recently used e-receipt block in the blockchain.
상기 프로세서는 사업자별로 인덱스를 생성하고, 상기 사업자 인덱스와 인덱스에 해당하는 전자영수증 블록체인의 링크정보를 포함하는 사업자 인덱스 테이블을 형성할 수 있다.The processor may generate an index for each operator, and may form an operator index table including the operator index and link information of the electronic receipt block chain corresponding to the index.
상기 프로세서는 상기 사업자 인덱스와 상기 링크정보를 이용하여 상기 전자영수증 블록체인에서 상기 전자영수증 블록을 검색하고, LRU에 기반하여 상기 링크정보가 상기 검색된 전자영수증 블록에 링크하도록 구성될 수 있다.The processor may be configured to search for the e-receipt block in the e-receipt block chain using the operator index and the link information, and link the link information to the retrieved e-receipt block based on an LRU.
상기 프로세서는 사용자를 기준으로 하는 사용자 인덱스를 생성하고, 상기 사용자 인덱스와 인덱스에 해당하는 전자영수증 블록체인의 링크정보를 포함하는 사용자 인덱스 테이블을 형성할 수 있다.The processor may generate a user index based on a user, and may form a user index table including the user index and link information of the electronic receipt block chain corresponding to the index.
상기 프로세서는 상기 사업자 인덱스 테이블과 상기 사용자 인덱스 테이블을 통해 상기 전자영수증 블록체인을 다차원 인덱스 구조로 형성할 수 있다.The processor may form the electronic receipt blockchain in a multidimensional index structure through the operator index table and the user index table.
상기 프로세서는 검색 및 조회를 포함하여 가장 최근에 사용되는 전자영수증 블록에 상기 사업자 인덱스 및 상기 사용자 인덱스를 링크시켜 상기 전자영수증 블록체인의 리더 블록으로 할 수 있다.The processor may link the operator index and the user index to the most recently used electronic receipt block, including search and inquiry, to become the leader block of the electronic receipt blockchain.
상기 프로세서는 가장 최근에 사용되지 않는 전자영수증 블록 순서대로 상기 전자영수증 블록체인에서 제거할 수 있다.The processor can be removed from the e-receipt blockchain in the order of the most recently unused e-receipt blocks.
실시예들 중에서, 블록체인 기반의 전자영수증 저장 방법은 사업자 결제 단말의 결제 내역 정보에 기초한 전자영수증 블록을 생성하는 단계, 사업자 및 사용자를 기준으로 하여 사업자 인덱스 및 사용자 인덱스를 생성하는 단계, 상기 전자영수증 블록을 상기 사업자 인덱스와 상기 사용자 인덱스를 통해 다차원 인덱스 구조로 형성되는 전자영수증 블록체인에 추가하여 저장하는 단계, 및 LRU(Least Recently Used)에 기반하여 상기 사업자 인덱스 및 상기 사용자 인덱스를 상기 전자영수증 메인 블록체인 내에 가장 최근에 사용되는 전자영수증 블록에 링크하는 단계를 포함한다.Among the embodiments, the method for storing electronic receipts based on a block chain includes the steps of generating an electronic receipt block based on payment details information of the operator payment terminal, generating an operator index and a user index based on the operator and the user, and the electronic Adding and storing a receipt block to an electronic receipt block chain formed in a multidimensional index structure through the operator index and the user index, and storing the operator index and the user index based on LRU (Least Recently Used). It includes linking to the most recently used e-receipt block in the main blockchain.
개시된 기술은 다음의 효과를 가질 수 있다. 다만, 특정 실시예가 다음의 효과를 전부 포함하여야 한다거나 다음의 효과만을 포함하여야 한다는 의미는 아니므로, 개시된 기술의 권리범위는 이에 의하여 제한되는 것으로 이해되어서는 아니 될 것이다.The disclosed technology can have the following effects. However, since it does not mean that a specific embodiment should include all of the following effects or only the following effects, it should not be understood that the scope of the rights of the disclosed technology is limited thereby.
본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 저장 장치 및 방법은 블록체인을 기반으로 하여 사업자와 사용자 사이의 거래에 따라 생성되는 전자영수증을 사업자 및 사용자 별로 용이하게 관리할 수 있도록 저장할 수 있다.Blockchain-based electronic receipt storage device and method according to an embodiment of the present invention can store electronic receipts generated according to transactions between operators and users based on the blockchain so that they can be easily managed for each operator and user. have.
본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 저장 장치 및 방법은 사업자 기준의 인덱스 테이블 및 사용자 기준의 인덱스 테이블을 생성하여 멀티체인 구조로 전자영수증 블록을 추가하여 저장함으로써, 전자영수증을 신뢰할 수 있고 검색 및 조회 속도를 향상시킬 수 있다.The block chain-based electronic receipt storage device and method according to an embodiment of the present invention creates an index table based on a business operator and an index table based on a user, and stores the electronic receipt block in a multi-chain structure to ensure reliability. You can and can improve your search and lookup speed.
본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 저장 장치 및 방법은 LRU(Least Recently Used) 기반으로 사업자 및 사용자 별로 전자영수증 블록을 블록체인에 추가하여 저장함으로써, 전자영수증을 효율적이고 체계적으로 관리할 수 있다.Blockchain-based e-receipt storage device and method according to an embodiment of the present invention is based on LRU (Least Recently Used) by adding and storing e-receipt blocks for each operator and user to the blockchain, thereby efficiently and systematically storing e-receipts. Can be managed.
도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 저장 시스템을 설명하는 도면이다.
도 2는 도 1에 있는 전자영수증 저장 장치의 물리적 구성을 설명하는 블록도이다.
도 3은 도 2에 있는 프로세서의 기능 요소를 나타내는 블록도이다.
도 4는 도 2에 있는 프로세서를 통해 수행되는 전자영수증 저장 과정을 설명하는 순서도이다.
도 5는 도 1에 있는 전자영수증 저장 장치를 통해 수행되는 전자영수증 저장 과정의 일 실시예를 설명하는 도면이다.
도 6은 일 실시예에 따른 전자영수증 블록체인의 인덱스 테이블 형태를 나타내는 예시도이다.1 is a diagram illustrating a block chain-based electronic receipt storage system according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating a physical configuration of the electronic receipt storage device of FIG. 1.
3 is a block diagram showing functional elements of the processor in FIG. 2.
4 is a flowchart illustrating a process of storing an electronic receipt performed by the processor in FIG. 2.
FIG. 5 is a diagram illustrating an embodiment of an electronic receipt storage process performed through the electronic receipt storage device of FIG. 1.
6 is an exemplary diagram showing the form of an index table of an electronic receipt blockchain according to an embodiment.
본 발명에 관한 설명은 구조적 내지 기능적 설명을 위한 실시예에 불과하므로, 본 발명의 권리범위는 본문에 설명된 실시예에 의하여 제한되는 것으로 해석되어서는 아니 된다. 즉, 실시예는 다양한 변경이 가능하고 여러 가지 형태를 가질 수 있으므로 본 발명의 권리범위는 기술적 사상을 실현할 수 있는 균등물들을 포함하는 것으로 이해되어야 한다. 또한, 본 발명에서 제시된 목적 또는 효과는 특정 실시예가 이를 전부 포함하여야 한다거나 그러한 효과만을 포함하여야 한다는 의미는 아니므로, 본 발명의 권리범위는 이에 의하여 제한되는 것으로 이해되어서는 아니 될 것이다.Since the description of the present invention is merely an embodiment for structural or functional description, the scope of the present invention should not be construed as being limited by the embodiments described in the text. That is, since the embodiments can be variously changed and have various forms, the scope of the present invention should be understood to include equivalents capable of realizing the technical idea. In addition, since the object or effect presented in the present invention does not mean that a specific embodiment should include all or only such effects, the scope of the present invention should not be understood as being limited thereto.
한편, 본 출원에서 서술되는 용어의 의미는 다음과 같이 이해되어야 할 것이다.Meanwhile, the meaning of terms described in the present application should be understood as follows.
"제1", "제2" 등의 용어는 하나의 구성요소를 다른 구성요소로부터 구별하기 위한 것으로, 이들 용어들에 의해 권리범위가 한정되어서는 아니 된다. 예를 들어, 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.Terms such as "first" and "second" are used to distinguish one component from other components, and the scope of rights is not limited by these terms. For example, a first component may be referred to as a second component, and similarly, a second component may be referred to as a first component.
어떤 구성요소가 다른 구성요소에 "연결되어"있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결될 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어"있다고 언급된 때에는 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 한편, 구성요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 또는 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다.When a component is referred to as being "connected" to another component, it should be understood that although it may be directly connected to the other component, another component may exist in the middle. On the other hand, when it is mentioned that a component is "directly connected" to another component, it should be understood that there is no other component in the middle. On the other hand, other expressions describing the relationship between components, that is, "between" and "just between" or "neighboring to" and "directly neighboring to" should be interpreted as well.
단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한 복수의 표현을 포함하는 것으로 이해되어야 하고, "포함하다"또는 "가지다" 등의 용어는 실시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이며, 하나 또는 그 이상의 다른 특징이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.Singular expressions are to be understood as including plural expressions unless the context clearly indicates otherwise, and terms such as "comprises" or "have" refer to implemented features, numbers, steps, actions, components, parts, or It is to be understood that it is intended to designate that a combination exists and does not preclude the presence or addition of one or more other features, numbers, steps, actions, components, parts, or combinations thereof.
각 단계들에 있어 식별부호(예를 들어, a, b, c 등)는 설명의 편의를 위하여 사용되는 것으로 식별부호는 각 단계들의 순서를 설명하는 것이 아니며, 각 단계들은 문맥상 명백하게 특정 순서를 기재하지 않는 이상 명기된 순서와 다르게 일어날 수 있다. 즉, 각 단계들은 명기된 순서와 동일하게 일어날 수도 있고 실질적으로 동시에 수행될 수도 있으며 반대의 순서대로 수행될 수도 있다.In each step, the identification code (e.g., a, b, c, etc.) is used for convenience of explanation, and the identification code does not describe the order of each step, and each step has a specific sequence clearly in the context. Unless otherwise stated, it may occur differently from the stated order. That is, each of the steps may occur in the same order as the specified order, may be performed substantially simultaneously, or may be performed in the reverse order.
본 발명은 컴퓨터가 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현될 수 있고, 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장 장치 등이 있다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The present invention can be implemented as computer-readable code on a computer-readable recording medium, and the computer-readable recording medium includes all types of recording devices storing data that can be read by a computer system. . Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tapes, floppy disks, and optical data storage devices. Further, the computer-readable recording medium is distributed over a computer system connected by a network, so that computer-readable codes can be stored and executed in a distributed manner.
여기서 사용되는 모든 용어들은 다르게 정의되지 않는 한, 본 발명이 속하는 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 일반적으로 사용되는 사전에 정의되어 있는 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한 이상적이거나 과도하게 형식적인 의미를 지니는 것으로 해석될 수 없다.All terms used herein have the same meaning as commonly understood by one of ordinary skill in the field to which the present invention belongs, unless otherwise defined. Terms defined in commonly used dictionaries should be construed as having meanings in the context of related technologies, and cannot be construed as having an ideal or excessively formal meaning unless explicitly defined in the present application.
"전자영수증" 이라는 용어는 일반적으로 거래 당사자 간에 결제한 금액에 대해 전자 서명을 첨부하여 발급하는 영수증을 말하며, 여기서 사용되는 "전자영수증"은 전자 계산서, 전자 세금계산서, 전자 거래내역서 등을 포함할 수 있다.The term “e-receipt” generally refers to a receipt issued by attaching an electronic signature to the amount paid between the parties to the transaction, and the term “e-receipt” as used herein may include electronic invoices, electronic tax invoices, and electronic transaction statements. I can.
도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 저장 시스템을 설명하는 도면이다.1 is a diagram illustrating a block chain-based electronic receipt storage system according to an embodiment of the present invention.
도 1을 참조하면, 블록체인 기반의 전자영수증 저장 시스템(100)은 사용자 단말(110), 결제 단말(130), 결제 승인 서버(150) 및 전자영수증 저장 장치(170)를 포함하여 구현될 수 있다.Referring to FIG. 1, a block chain-based electronic
사용자 단말(110)은 사업자와의 거래 행위를 통해 이루어지는 사용자의 결제 관련 전자영수증 및 거래 취소에 따른 결제 변경 관련 전자영수증을 제공받을 수 있고 전자영수증 검색 기능을 수행할 수 있는 컴퓨팅 장치에 해당할 수 있다. 여기서, 사용자 단말(110)은 스마트폰, 노트북 또는 컴퓨터로 구현될 수 있으며, 반드시 이에 한정되지 않고, 태블릿 PC 등 다양한 디바이스로 구현될 수 있다. 사용자 단말(110)은 결제 단말(130), 결제 승인 서버(150), 전자영수증 저장 장치(170)와 네트워크를 통해 연결될 수 있다.The
사용자 단말(110)은 전자영수증 발급 동의 여부를 결정할 수 있고 전자영수증 발급 동의를 한 경우에 전자영수증을 발급받을 수 있다. 사용자 단말(110)은 결제가 승인된 후에 결제 승인 서버(150) 또는 전자영수증 저장 장치(170)로부터 결제 승인에 관련된 전자영수증을 수신할 수 있다. 일 실시예에서, 사용자 단말(110)은 신규 거래에 따른 결제 승인 시 마다 전자영수증을 발급받을 수 있고 전자영수증을 출력할 수 있다. 사용자 단말(110)은 기존 거래의 변경에 따른 결제 변경 시 마다 전자영수증 변경 거래를 알림 받을 수 있다. 일 실시예에서, 사용자 단말(110)은 사용자별로 발급받은 적어도 하나의 전자영수증을 검색할 수 있고 전자영수증에 포함되는 거래 내역을 조회할 수 있다.The
결제 단말(130)은 물품을 판매하거나 서비스를 제공하는 가맹점(사업자)에 결제 및 결제 취소를 위해 구비된 포스(POS: Point of Sale) 단말에 해당할 수 있고, 이에 한정되지 않고 현금 결제, 카드 결제, 간편 결제 또는 모바일 결제 등의 사용자가 제시한 결제수단을 이용하여 결제를 수행할 수 있고 결제 취소를 수행할 수 있는 컴퓨팅 장치로 구현될 수 있다. 일 실시예에서, 결제 단말(130)은 사용자의 결제 정보에 따른 결제 승인을 결제 승인 서버(150)에 요청하고 결제 승인 서버(150)로부터 결제 승인이 완료됨을 나타내는 정보가 수신되면 결제 관련 정보를 전자영수증 저장 장치(170)로 전달할 수 있다. 여기에서, 결제 단말(130)은 결제가 승인되면 적어도 사용자의 구매 금액을 포함하는 결제 내역 정보를 전자영수증 저장 장치(170)에 송신할 수 있다.The
일 실시예에서, 결제 단말(130)은 사용자의 거래 취소에 따른 결제 변경을 결제 승인 서버(150)에 요청할 수 있다. 결제 단말(130)은 결제 승인 서버(150)에 결제 변경을 요청하기 전에 전자영수증 저장 장치(170)로부터 결제 변경에 따른 전자영수증 변경거래 내역을 조회할 수 있고 거래 취소가 이중으로 진행되지 않도록 할 수 있다. 결제 변경에 따른 전자영수증 변경거래 내역 조회는 결제 승인 서버(150)에서 수행할 수도 있다. 일 실시예에서, 결제 단말(130)은 사업자별로 발급된 적어도 하나의 전자영수증을 검색할 수 있고 전자영수증에 포함되는 거래 내역을 조회할 수 있다.In one embodiment, the
결제 승인 서버(150)는 사용자의 결제 정보에 대한 결제 승인을 수행하기 위해 다양한 데이터를 연산하는 범용 컴퓨터, 랩탑, 데이터 서버 등을 포함할 수 있다. 일 실시예에서, 결제 승인 서버(150)는 카드사 서버, 모바일 결제 서버 또는 간편 결제 서버 등을 포함할 수 있고, 이에 한정되지 않고 전자 결제를 위한 VAN(Value Added Network)사 서버 또는 PG(Payment Gateway)사 등을 포함할 수 있다. 결제 승인 서버(150)는 결제 서버(130)로부터 사용자의 물품 결제 또는 서비스 제공에 따른 결제 정보에 대한 승인이 요청되면 결제 승인을 완료하고 결제 승인이 완료됨을 나타내는 정보를 결제 단말(130)로 전달할 수 있다. 여기에서, 결제 정보는 사용자가 구매한 물품 또는 사용자에게 제공된 서비스에 관련하여 결제 단말(130)에 입력되거나 선택된 물품 정보, 서비스 정보 또는 금액 등을 포함할 수 있다.The
일 실시예에서, 결제 승인 서버(150)는 결제 승인 후에 결제 단말(130)에 결제 매칭 정보를 발행할 수 있다. 여기에서, 결제 매칭 정보는 승인 번호 또는 승인 키 등을 포함할 수 있다. 결제 승인 서버(150)는 가맹점 명칭, 가맹점 주소, 가맹점 연락처, 결제 시각, 결제 금액, 결제 매칭 정보(예: 승인 번호, 승인 키 등) 및 사용자 식별 정보(예: 사용자의 ID, 이름, 연락처 등)가 포함된 결제 승인 내역 정보를 저장할 수 있다. 결제 승인 서버(150)는 전자영수증 저장 장치(170)에 전자영수증 요청을 할 수 있고 사용자 단말(110)에 전자영수증을 제공할 수 있다.In one embodiment, the
일 실시예에서, 결제 승인 서버(150)는 결제 단말(130)의 결제 변경 요청에 대해 결제 변경 처리를 수행할 수 있고 결제가 변경될 때마다 전자영수증 저장 장치(170)에 결제 변경을 전달할 수 있다. 결제 승인 서버(150)는 결제 변경 내역 정보를 전자영수증 저장 장치(170)에 제공할 수 있다.In one embodiment, the
전자영수증 저장 장치(170)는 사용자 단말(110)에 전자영수증을 제공할 수 있고 전자영수증 변경거래를 관리할 수 있는 컴퓨터 또는 프로그램에 해당하는 서버로 구현될 수 있다. 전자영수증 저장 장치(170)는 사용자 단말(110), 결제 단말(130) 및 결제 승인 서버(150)와 네트워크를 통해 연결될 수 있고 정보를 주고받을 수 있다.The electronic
일 실시예에서, 전자영수증 저장 장치(170)는 전자영수증을 제공할 수 있고 블록체인을 기반으로 하여 전자영수증을 저장할 수 있다. 전자영수증 저장 장치(170)는 결제 단말(130)로부터 사용자의 결제 내역 정보를 수신하여 전자영수증을 생성할 수 있고 생성된 전자영수증을 결제 승인 서버(150) 또는 사용자 단말(110)에 제공할 수 있다. 전자영수증 저장 장치(170)는 사업자 결제 단말(130)의 결제 내역 정보를 기초로 전자영수증 블록을 생성할 수 있다. 전자영수증 저장 장치(170)는 사업자를 기준으로 하여 전자영수증 블록의 사업자 인덱스를 생성할 수 있고 사업자 인덱스에 해당하는 전자영수증 블록체인에 전자영수증 블록을 추가하여 전자영수증 블록체인과 전자영수증 블록을 검색하기 위한 사업자 인덱스를 포함하는 사업자 인덱스 테이블을 생성하여 저장할 수 있다. 전자영수증 저장 장치(170)는 사용자 별로 인덱스를 생성할 수 있고 사업자별 인덱스와 함께 다차원 인덱스 구조를 형성할 수 있다.In one embodiment, the
일 실시예에서, 전자영수증 저장 장치(170)는 프로세서, 메모리, 사용자 입출력부 및 네트워크 입출력부를 포함하여 구현될 수 있으며, 이에 대해서는 도 2에서 보다 자세히 설명한다.In one embodiment, the electronic
도 2는 도 1에 있는 전자영수증 저장 장치의 물리적 구성을 설명하는 블록도이다.FIG. 2 is a block diagram illustrating a physical configuration of the electronic receipt storage device of FIG. 1.
도 2를 참조하면, 전자영수증 저장 장치(170)는 프로세서(210), 메모리(230), 사용자 입출력부(250) 및 네트워크 인터페이스(270)를 포함할 수 있다.Referring to FIG. 2, the electronic
프로세서(210)는 결제 단말(130) 및 결제 승인 서버(150) 간에 수행되는 결제 승인 및 변경에 따른 전자영수증을 블록체인에 기반하여 저장하기 위한 각 프로시저를 실행할 수 있고, 그 과정 전반에서 읽혀지거나 작성되는 메모리(230)를 관리할 수 있으며, 메모리(230)에 있는 휘발성 메모리와 비휘발성 메모리 간의 동기화 시간을 스케줄할 수 있다. 프로세서(210)는 전자영수증 저장 장치(170)의 동작 전반을 제어할 수 있고, 메모리(230), 사용자 입출력부(250) 및 네트워크 입출력부(270)와 전기적으로 연결되어 이들 간의 데이터 흐름을 제어할 수 있다. 프로세서(210)는 전자영수증 저장 장치(170)의 CPU(Central Processing Unit)로 구현될 수 있다.The
메모리(230)는 SSD(Solid State Disk) 또는 HDD(Hard Disk Drive)와 같은 비휘발성 메모리로 구현되어 전자영수증 저장 장치(170)에 필요한 데이터 전반을 저장하는데 사용되는 보조기억장치를 포함할 수 있고, RAM(Random Access Memory)과 같은 휘발성 메모리로 구현된 주기억장치를 포함할 수 있다.The
사용자 입출력부(250)는 사용자 입력을 수신하기 위한 환경 및 사용자에게 특정 정보를 출력하기 위한 환경을 포함할 수 있다. 예를 들어, 사용자 입출력부(250)는 터치 패드, 터치 스크린, 화상 키보드 또는 포인팅 장치와 같은 어댑터를 포함하는 입력장치 및 모니터 또는 터치스크린과 같은 어댑터를 포함하는 출력장치를 포함할 수 있다. 일 실시예에서, 사용자 입출력부(250)는 원격 접속을 통해 접속되는 컴퓨팅 장치에 해당할 수 있고, 그러한 경우, 전자영수증 저장 장치(170)는 서버로서 수행될 수 있다.The user input/
네트워크 입출력부(270)는 네트워크를 통해 외부 장치 또는 시스템과 연결하기 위한 환경을 포함하고, 예를 들어, LAN(Local Area Network), MAN(Metropolitan Area Network), WAN(Wide Area Network) 및 VAN(Value Added Network) 등의 통신을 위한 어댑터를 포함할 수 있다.The network input/
도 3은 도 2에 있는 프로세서의 기능 요소를 나타내는 블록도이다.3 is a block diagram showing functional elements of the processor in FIG. 2.
도 3을 참조하면, 프로세서(210)는 전자영수증 블록 생성부(310), 사업자 인덱스 생성부(330), 사용자 인덱스 생성부(350), 전자영수증 저장부(370) 및 제어부(390)를 포함할 수 있다.Referring to FIG. 3, the
전자영수증 블록 생성부(310)는 사업자 결제 단말(130)의 결제 내역 정보를 기초로 전자영수증 블록을 생성할 수 있다. 전자영수증 블록 생성부(310)는 사용자와 사업자 간에 거래가 이루어질 때마다 사업자의 결제 단말(130)로부터 결제 내역 정보를 수신하여 전자영수증 블록을 생성할 수 있다. 결제 내역 정보에는 적어도 사용자의 구매 금액을 포함할 수 있고, 결제 일시, 상품명, 수량, 상품 종류, 가맹점 상호, 가맹점 주소, 가맹점 연락처 및 결제 수단 중 적어도 하나를 더 포함할 수 있다.The electronic receipt
전자영수증 블록 생성부(310)는 결제 내역 정보에 기반하여 전자영수증을 생성할 수 있고, 전자영수증의 특정 영역에 대해 해시 코드(hash code)를 생성하고 전자영수증을 해시 코드로 암호화하여 전자영수증 블록을 생성할 수 있다. 일 실시예에서, 전자영수증 블록 생성부(310)는 전자영수증의 전체 또는 선택된 일부 영역에 대해 해시 코드를 생성할 수 있고 해시 코드는 다양한 방식으로 결정될 수 있다. 전자영수증 블록에는 블록 관련 정보 및 각 거래에 의해 발행되는 전자영수증 정보를 포함할 수 있다. 블록 관련 정보에는 블록 식별 정보, 블록 생성 시간 및 해시 코드를 포함할 수 있고, 다른 정보가 추가로 포함될 수도 있다. 블록 식별 정보는 다른 전자영수증 블록과 구분할 수 있는 식별 정보를 의미할 수 있다. 블록 생성 시간은 해당 전자영수증 블록의 생성시간에 관한 정보를 의미할 수 있고 블록 생성 시간을 이용하여 전자영수증 블록의 연결 순서가 정해질 수 있다. 블록 해시 코드는 전자영수증의 요약본에 해당하는 것으로 전자영수증을 효율적으로 관리하고 검증할 수 있게 한다. 전자영수증 정보는 다른 정보에 기반하지 않은 정보에 해당하는 것으로, 사업자와 사용자 간의 거래에 의해 발행되는 전자영수증에 관한 정보일 수 있다. 전자영수증 정보에는 결제 내역 정보 및 결제 매칭 정보를 포함할 수 있다. 결제 내역 정보는 전자영수증 항목의 상세 내역, 예컨대 가맹점 상호, 주소, 연락처 등의 가맹점 정보, 상품명, 수량, 금액, 거래일시 및 결제수단을 포함할 수 있다. 결제 매칭 정보는 결제 완료 후에 결제 승인 서버(150)에 의해 고유적으로 발행되는 결제 식별코드, 예컨대 승인번호에 해당할 수 있다.The electronic receipt
사업자 인덱스 생성부(330)는 사업자를 기준으로 하여 전자영수증 블록의 사업자 인덱스(index)를 생성할 수 있다. 일 실시예에서, 사업자 인덱스 생성부(330)는 사업자별로 인덱스를 생성할 수 있고 사업자를 인덱스로 하여 전자영수증 블록을 검색할 수 있는 사업자 인덱스 테이블을 생성할 수 있다. 사업자 인덱스 테이블에는 전자영수증 블록체인의 사업자 인덱스와 인덱스에 해당하는 전자영수증 블록체인의 링크정보를 포함할 수 있다. 사업자 인덱스는 전자영수증 저장부(370)에 저장된 전자영수증 블록체인들을 사업자별로 분류하여 전자영수증 블록을 검색할 수 있도록 하기 위한 구성에 해당할 수 있다. 전자영수증 저장부(370)에 저장되는 각 전자영수증 블록체인은 각각 해당하는 사업자 인덱스에 대응될 수 있다. 사업자는 이러한 사업자 인덱스를 이용하여 원하는 전자영수증 블록들을 한꺼번에 검색할 수 있다. 그리고 링크 정보는 전자영수증 저장부(370)에 저장된 사업자 인덱스와 관련된 전자영수증 블록체인의 리더 블록의 위치 정보로 구성될 수 있다.The
사용자 인덱스 생성부(350)는 사용자를 기준으로 하여 전자영수증 블록의 사용자 인덱스(index)를 생성할 수 있다. 일 실시예에서, 사용자 인덱스 생성부(330)는 사용자별로 인덱스를 생성할 수 있고 사용자를 인덱스로 하여 전자영수증 블록을 검색할 수 있는 사용자 인덱스 테이블을 생성할 수 있다. 사용자 인덱스 테이블에는 전자영수증 블록체인의 사용자 인덱스와 인덱스에 해당하는 전자영수증 블록체인의 링크정보를 포함할 수 있다. 사용자 인덱스는 전자영수증 저장부(370)에 저장된 전자영수증 블록체인들을 사용자별로 분류하여 전자영수증 블록을 검색할 수 있도록 하기 위한 구성에 해당할 수 있다. 전자영수증 저장부(370)에 저장되는 각 전자영수증 블록체인은 각각 해당하는 사용자 인덱스에 대응될 수 있다. 사용자는 이러한 사용자 인덱스를 이용하여 원하는 전자영수증 블록들을 한꺼번에 검색할 수 있다. 그리고 링크 정보는 전자영수증 저장부(370)에 저장된 사용자 인덱스와 관련된 전자영수증 블록체인의 리더 블록의 위치 정보로 구성될 수 있다.The
일 실시예에서, 사업자 인덱스 생성부(330)과 사용자 인덱스 생성부(350)에 의해 각각 생성되는 사업자 인덱스 테이블과 사용자 인덱스 테이블에 기초하여 다차원 인덱스 구조(multimensional index structure)를 형성할 수 있다.In an embodiment, a multimensional index structure may be formed based on the operator index table and the user index table respectively generated by the
전자영수증 저장부(370)는 사업자 인덱스 및 사용자 인덱스의 다차원 인덱스 구조로 전자영수증 블록이 시계열로 연결되는 전자영수증 블록체인을 저장할 수 있다. 전자영수증 저장부(370)는 전자영수증 블록들이 생성 순서에 따라 연결되어 전자영수증 블록체인을 형성할 수 있다. 전자영수증 블록체인은 전자영수증 메인 블록체인과 전자영수증 파생 블록체인을 포함할 수 있다. 전자영수증 메인 블록체인은 복수의 전자영수증 신규거래 블록들이 1차원으로 연결된 블록들의 집합을 의미할 수 있다. 이때, 전자영수증 메인 블록체인에서 임의의 하나의 전자영수증 신규거래 블록은 직전에 생성된 전자영수증 신규거래 블록의 해시값을 포함하는 것을 통해 연결될 수 있다. 전자영수증 파생 블록체인은 전자영수증 메인 블록체인으로부터 파생되며 루트 블록(root block)과 이에 연결된 적어도 하나의 연결 블록을 포함한다. 루트 블록은 전자영수증 메인 블록체인에 포함되는 블록으로, 전자영수증 파생 블록체인의 파생이 시작되는 블록이다. 적어도 하나의 연결 블록은 전자영수증 변경거래 블록으로, 하나의 전자영수증에 대해 결제 변경 횟수에 비례하여 전자영수증 변경거래 블록이 연결될 수 있다. 여기에서, 전자영수증 파생 블록체인은 전자영수증 변경거래 블록들이 전자영수증 메인 블록체인에 연결되는 전자영수증 신규거래 블록으로 파생되어 연결된 블록들의 집합을 의미할 수 있다. 이때, 전자영수증 파생 블록체인에서 임의의 하나의 전자영수증 변경거래 블록은 동일한 거래에 대해 직전에 생성된 전자영수증 변경거래 블록의 해시값을 포함하는 것을 통해 연결될 수 있다.The
일 실시예에서, 전자영수증 저장부(370)는 전자영수증 블록이 생성될 때마다 생성되는 전자영수증 블록을 사업자 인덱스 및 사용자 인덱스에 해당하는 전자영수증 블록체인에 추가하여 전자영수증을 저장할 수 있다. 전자영수증 저장부(370)는 전자영수증 블록의 거래 당사자인 사업자 및 사용자를 기준으로 하는 사업자 인덱스 및 사용자 인덱스에 해당하는 전자영수증 블록체인에 전자영수증 블록을 연결하여 저장할 수 있다. 전자영수증 저장부(370)는 사업자 인덱스 또는 사용자 인덱스를 이용하여 전자영수증 블록체인에서 전자영수증 블록을 검색할 수 있고 전자영수증 블록에 포함된 거래 내역을 조회할 수 있다. 일 실시예에서, 전자영수증 저장부(370)는 LRU(Least Recently Used)에 기반하여 사업자 인덱스 및 사용자 인덱스의 링크정보가 추가, 검색 및 조회를 포함하여 가장 최근에 사용되는 전자영수증 블록에 링크하도록 구성하여 항상 최근에 사용되는 전자영수증 블록이 전자영수증 블록체인의 리더 블록이 되도록 할 수 있다. 전자영수증 저장부(370)는 가장 최근에 사용되지 않는 전자영수증 블록 순서대로 전자영수증 블록체인에서 제거하여 전자영수증 블록체인의 확장, 저장용량 및 처리속도를 관리할 수 있다.In one embodiment, the
제어부(390)는 프로세서(210)의 전체적인 동작을 제어하고, 전자영수증 블록 생성부(310), 사업자 인덱스 생성부(330), 사용자 인덱스 생성부(350) 및 전자영수증 저장부(370) 간의 제어 흐름 또는 데이터 흐름을 관리할 수 있다.The
도 4는 도 2에 있는 프로세서를 통해 수행되는 블록체인 기반의 전자영수증 저장 과정을 설명하는 순서도이다.4 is a flowchart illustrating a process of storing an electronic receipt based on a block chain performed by the processor in FIG. 2.
도 4를 참조하면, 프로세서(210)는 사업자 결제 단말(130)의 결제 내역 정보에 기초한 전자영수증 블록을 생성할 수 있다(단계 S410).Referring to FIG. 4, the
프로세서(210)는 사업자 및 사용자를 기준으로 하여 사업자 인덱스 및 사용자 인덱스를 생성할 수 있다(단계 S430).The
프로세서(210)는 전자영수증 블록을 사업자 인덱스와 사용자 인덱스를 통해 다차원 인덱스 구조로 형성되는 전자영수증 블록체인에 추가하여 저장할 수 있다(단계 S450).The
프로세서(210)는 LRU(Least Recently Used)에 기반하여 사업자 인덱스 및 사용자 인덱스를 전자영수증 블록체인 내에 가장 최근에 사용되는 전자영수증 블록에 링크할 수 있다(단계 S470).The
도 5는 도 1에 있는 전자영수증 저장 장치를 통해 수행되는 블록체인 기반의 전자영수증 저장 과정의 일 실시예를 설명하는 도면이다.FIG. 5 is a diagram illustrating an embodiment of a block chain-based e-receipt storage process performed through the e-receipt storage device of FIG. 1.
도 5를 참조하면, 사용자는 물품이나 서비스를 구매하는 경우에 판매자에게 구매 금액의 지불을 위한 결제수단을 제시하여 결제를 요청할 수 있고, 전자영수증 발급에 대해 동의 여부 의사를 전달할 수도 있다.Referring to FIG. 5, when a user purchases a product or service, a user may request a payment by presenting a payment method for payment of a purchase amount to a seller, and may convey an intention to consent to issuance of an electronic receipt.
결제 단말(130)은 사용자의 구매 금액과 결제수단 관련 정보를 결제 승인 서버(150)에 결제 승인을 요청할 수 있고 결제 승인 서버(150)는 결제 승인 처리를 수행할 수 있다. 결제 승인 서버(150)는 사용자의 결제수단을 이용한 구매 금액의 결제를 승인한 후 결제승인내역을 식별할 수 있는 승인번호를 결제 단말(130)에 전달할 수 있다. The
결제 단말(130)은 결제 완료 후에 사용자의 전자영수증 발급 동의 여부를 결정하고 동의가 없는 경우에는 종이영수증을 출력하여 사용자에게 제공할 수 있다. 결제 단말(130)은 사용자의 전자영수증 발급 동의가 있는 경우에는 전자영수증 발급 요청 처리를 수행할 수 있다. 즉, 결제 단말(130)은 적어도 사용자 및 사업자 정보를 포함하는 결제 내역 정보를 전자영수증 저장 장치(170)에 전달하여 전자영수증 발급 요청 처리를 할 수 있다.After payment is completed, the
전자영수증 저장 장치(170)는 결제 단말(130)로부터 결제 내역 정보가 수신되면 결제 내역 정보에 기반하여 전자영수증을 생성할 수 있다. 여기에서, 전자영수증은 사용자의 구매상세내역을 포함한 종이영수증과 동일한 형태로 생성할 수 있다. 전자영수증 저장 장치(170)는 생성된 전자영수증을 결제 승인 서버(150)를 통해 사용자 단말(110)에 제공하거나 사용자 단말(110)에 직접 제공할 수 있다. When payment details information is received from the
전자영수증 저장 장치(170)는 생성되는 전자영수증을 블록체인에 기반하여 저장할 수 있도록 전자영수증 블록으로 생성할 수 있다. 전자영수증 저장 장치(170)는 전자영수증 블록의 저장 및 관리를 위해 사업자를 기준으로 하는 사업자 인덱스를 생성할 수 있고, 사용자를 기준으로 하는 사용자 인덱스를 생성할 수 있다. 전자영수증 저장 장치(170)는 전자영수증 블록을 사업자 인덱스와 사용자 인덱스를 통해 다차원 인덱스 구조로 형성된 전자영수증 블록체인에 추가하여 저장할 수 있다.The
전자영수증 저장 장치(170)는 사용자 단말(110) 또는 사업자 결제 단말(130)로부터 사업자 인덱스 또는 사용자 인덱스를 이용하여 전자영수증 블록체인을 검색하여 전자영수증 블록을 조회할 수 있다. 전자영수증 저장 장치(170)는 검색 및 조회가 이루어진 가장 최근에 사용되는 전자영수증 블록의 저장 위치를 링크 정보로 구성하여 최근 전자영수증 블록이 전자영수증 블록체인의 리더블록이 될 수 있고 이를 이용하여 전자영수증의 빠른 검색 및 조회를 할 수 있다. The
도 6은 일 실시예에 따른 전자영수증 저장 장치에서 형성되는 전자영수증 블록체인의 인덱스 테이블 형태를 나타내는 예시도이다.6 is an exemplary diagram showing the form of an index table of an electronic receipt block chain formed in an electronic receipt storage device according to an embodiment.
도 6을 참조하면, 일 실시예에 따른 블록체인 기반의 전자영수증 저장 장치(170)는 사업자를 기준으로 하여 사업자 인덱스 테이블(500)을 생성할 수 있고 사용자를 기준으로 하여 사용자 인덱스 테이블(600)을 생성할 수 있다. 일 실시예에 따른 블록체인 기반의 전자영수증 저장 장치(170)는 사업자와 사용자 간에 거래가 이루어지면 결제 내역 정보를 기초로 전자영수증 블록을 생성할 수 있고, 전자영수증 블록에는 블록 정보와 전자영수증 정보를 포함할 수 있다. 전자영수증 블록은 사업자별 그리고 사용자별로 생성된 시간 순으로 연결되어 전자영수증 블록체인을 형성할 수 있다. 전자영수증 블록은 전자영수증 블록체인에서 바로 앞에 위치하는 블록의 적어도 일부의 해시코드를 포함할 수 있다.6, the block chain-based electronic
일 실시예에 따른 블록체인 기반의 전자영수증 저장 장치(170)은 LRU(Least Recently Used)를 기반으로 하여 전자영수증 블록체인에서 가장 최근에 사용되는 전자영수증 블록에 사업자 인덱스 및 사용자 인덱스가 링크되도록 링크정보를 변경할 수 있고, 가장 최근에 사용되지 않는 전자영수증 블록 순서대로 전자영수증 블록체인에서 제거할 수 있다.The block chain-based
상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to preferred embodiments of the present invention, those skilled in the art will variously modify and change the present invention within the scope not departing from the spirit and scope of the present invention described in the following claims. You will understand that you can do it.
100: 블록체인 기반의 전자영수증 저장 시스템
110: 사용자 단말 130: 결제 단말
150: 결제 승인 서버 170: 전자영수증 저장 장치
210: 프로세서 230: 메모리
250: 사용자 입출력부 270: 네트워크 입출력부
310: 전자영수증 블록 생성부 330: 사업자 인덱스 생성부
350: 사용자 인덱스 생성부 370: 전자영수증 저장부
390: 제어부
500: 사업자 인덱스 테이블
600: 사용자 인덱스 테이블100: Blockchain-based electronic receipt storage system
110: user terminal 130: payment terminal
150: payment approval server 170: electronic receipt storage device
210: processor 230: memory
250: user input/output unit 270: network input/output unit
310: electronic receipt block generation unit 330: operator index generation unit
350: user index generation unit 370: electronic receipt storage unit
390: control unit
500: operator index table
600: user index table
Claims (8)
상기 프로세서는
사업자 결제 단말의 결제 내역 정보를 기초로 전자영수증 블록을 생성하고,
사업자를 기준으로 하여 상기 전자영수증 블록의 사업자 인덱스를 생성하고,
상기 전자영수증 블록을 상기 사업자 인덱스에 해당하는 전자영수증 블록체인에 추가하여 저장하고,
LRU(Least Recently Used)에 기반하여 상기 사업자 인덱스를 상기 전자영수증 블록체인 내에 가장 최근에 사용되는 전자영수증 블록에 링크하는
블록체인 기반의 전자영수증 저장 장치.
A memory and a processor electrically connected to the memory,
The processor is
Create an electronic receipt block based on the payment details information of the operator's payment terminal,
Create a business operator index of the e-receipt block based on the business operator,
Add and store the electronic receipt block to the electronic receipt block chain corresponding to the operator index,
Linking the operator index to the most recently used e-receipt block in the e-receipt blockchain based on LRU (Least Recently Used)
Blockchain-based electronic receipt storage device.
사업자별로 인덱스를 생성하고,
상기 사업자 인덱스와 인덱스에 해당하는 전자영수증 블록체인의 링크정보를 포함하는 사업자 인덱스 테이블을 형성하는 것을 특징으로 하는 블록체인 기반의 전자영수증 저장 장치.
The method of claim 1, wherein the processor
Create an index for each business operator,
Blockchain-based electronic receipt storage device, characterized in that to form an operator index table including link information of the electronic receipt block chain corresponding to the operator index and the index.
상기 사업자 인덱스와 상기 링크정보를 이용하여 상기 전자영수증 블록체인에서 상기 전자영수증 블록을 검색하고,
LRU에 기반하여 상기 링크정보가 상기 검색된 전자영수증 블록에 링크하도록 구성되는 것을 특징으로 하는 블록체인 기반의 전자영수증 저장 장치.
The method of claim 2, wherein the processor
Searching for the electronic receipt block in the electronic receipt block chain using the operator index and the link information,
Blockchain-based electronic receipt storage device, characterized in that the link information is configured to link to the searched electronic receipt block based on the LRU.
사용자를 기준으로 하는 사용자 인덱스를 생성하고,
상기 사용자 인덱스와 인덱스에 해당하는 전자영수증 블록체인의 링크정보를 포함하는 사용자 인덱스 테이블을 형성하는 것을 특징으로 하는 블록체인 기반의 전자영수증 저장 장치.
The method of claim 3, wherein the processor
Create a user index based on users,
Blockchain-based electronic receipt storage device, characterized in that to form a user index table including the user index and the link information of the electronic receipt block chain corresponding to the index.
상기 사업자 인덱스 테이블과 상기 사용자 인덱스 테이블을 통해 상기 전자영수증 블록체인을 다차원 인덱스 구조로 형성하는 것을 특징으로 하는 블록체인 기반의 전자영수증 저장 장치.
The method of claim 4, wherein the processor
Blockchain-based electronic receipt storage device, characterized in that the electronic receipt block chain is formed in a multidimensional index structure through the operator index table and the user index table.
검색 및 조회를 포함하여 가장 최근에 사용되는 전자영수증 블록에 상기 사업자 인덱스 및 상기 사용자 인덱스를 링크시켜 상기 전자영수증 블록체인의 리더 블록으로 하는 것을 특징으로 하는 블록체인 기반의 전자영수증 저장 장치.
The method of claim 5, wherein the processor
Blockchain-based electronic receipt storage device, characterized in that by linking the operator index and the user index to the most recently used e-receipt block, including search and inquiry, as a leader block of the e-receipt block chain.
가장 최근에 사용되지 않는 전자영수증 블록 순서대로 상기 전자영수증 블록체인에서 제거하는 것을 특징으로 하는 블록체인 기반의 전자영수증 저장 장치.
The method of claim 6, wherein the processor
Blockchain-based e-receipt storage device, characterized in that removing from the e-receipt block chain in the order of e-receipt blocks that are not used most recently.
사업자 및 사용자를 기준으로 하여 사업자 인덱스 및 사용자 인덱스를 생성하는 단계;
상기 전자영수증 블록을 상기 사업자 인덱스와 상기 사용자 인덱스를 통해 다차원 인덱스 구조로 형성되는 전자영수증 블록체인에 추가하여 저장하는 단계; 및
LRU(Least Recently Used)에 기반하여 상기 사업자 인덱스 및 상기 사용자 인덱스를 상기 전자영수증 메인 블록체인 내에 가장 최근에 사용되는 전자영수증 블록에 링크하는 단계를 포함하는 블록체인 기반의 전자영수증 저장 장치.
Generating an electronic receipt block based on payment details information of a business payment terminal;
Generating an operator index and a user index based on the operator and the user;
Adding and storing the electronic receipt block to an electronic receipt block chain formed in a multidimensional index structure through the operator index and the user index; And
A blockchain-based electronic receipt storage device comprising the step of linking the operator index and the user index to the most recently used e-receipt block in the e-receipt main blockchain based on LRU (Least Recently Used).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190123109A KR102348739B1 (en) | 2019-10-04 | 2019-10-04 | Apparatus and method for storaging electronic receipt based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190123109A KR102348739B1 (en) | 2019-10-04 | 2019-10-04 | Apparatus and method for storaging electronic receipt based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20210040624A true KR20210040624A (en) | 2021-04-14 |
KR102348739B1 KR102348739B1 (en) | 2022-01-10 |
Family
ID=75477564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020190123109A KR102348739B1 (en) | 2019-10-04 | 2019-10-04 | Apparatus and method for storaging electronic receipt based on block chain |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102348739B1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180022335A (en) * | 2016-08-24 | 2018-03-06 | 김진오 | Transaction system using of digital cyber money based on central distribution block-chain, transaction device, transaction server and transaction method thereof |
KR20180085570A (en) | 2017-01-19 | 2018-07-27 | 주식회사 케이티 | Apparatus for managing data using block chain and method thereof |
KR20190021811A (en) * | 2017-08-24 | 2019-03-06 | 주식회사 케이티 | Method, apparatus and system for issuing an electronic receipt |
JP6487096B1 (en) * | 2018-04-17 | 2019-03-20 | 株式会社電通 | Point grant system and point grant method |
KR20190036948A (en) | 2017-09-28 | 2019-04-05 | 주식회사 케이티 | System and Method for Managing Original Data in Block-Chain |
KR102004511B1 (en) * | 2018-07-26 | 2019-10-01 | (주)유니온소프트 | A server and a payment computing device for payment at a store by electronic cash |
-
2019
- 2019-10-04 KR KR1020190123109A patent/KR102348739B1/en active IP Right Grant
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180022335A (en) * | 2016-08-24 | 2018-03-06 | 김진오 | Transaction system using of digital cyber money based on central distribution block-chain, transaction device, transaction server and transaction method thereof |
KR20180085570A (en) | 2017-01-19 | 2018-07-27 | 주식회사 케이티 | Apparatus for managing data using block chain and method thereof |
KR20190021811A (en) * | 2017-08-24 | 2019-03-06 | 주식회사 케이티 | Method, apparatus and system for issuing an electronic receipt |
KR20190036948A (en) | 2017-09-28 | 2019-04-05 | 주식회사 케이티 | System and Method for Managing Original Data in Block-Chain |
JP6487096B1 (en) * | 2018-04-17 | 2019-03-20 | 株式会社電通 | Point grant system and point grant method |
KR102004511B1 (en) * | 2018-07-26 | 2019-10-01 | (주)유니온소프트 | A server and a payment computing device for payment at a store by electronic cash |
Also Published As
Publication number | Publication date |
---|---|
KR102348739B1 (en) | 2022-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11188884B2 (en) | Processing network architecture with companion database | |
KR20210050525A (en) | Segmentable Securities Token | |
GB2565411A (en) | Improved hardware security module management | |
KR102151896B1 (en) | A platform for atomic transmission of smart assets within a blockchain network | |
KR20040035849A (en) | Mobile digital receipts | |
JP2018132931A (en) | Approval system, approval method, and approval program | |
JP6316530B1 (en) | Management device, virtual currency system, and system | |
US10417059B1 (en) | Staged application programming interface | |
EP4115315A1 (en) | Cryptographic data entry blockchain data structure | |
US11645670B2 (en) | Multi-axis blockchain clearance of offers | |
Li et al. | Cost-effective data feeds to blockchains via workload-adaptive data replication | |
JP7085687B2 (en) | Personal information management system, personal information management device, and personal information management method | |
CN110599273A (en) | Data processing method, data processing device, node equipment and storage medium | |
US11693824B2 (en) | Computer-readable recording medium recording communication program, communication method, and communication device | |
US11055719B2 (en) | Multi-tenant dispute services | |
KR102348739B1 (en) | Apparatus and method for storaging electronic receipt based on block chain | |
KR102327668B1 (en) | Apparatus and method for providing electronic receipt using blockchain inquiry code | |
CN116401270A (en) | Data query method, device, computer equipment and storage medium | |
KR102348741B1 (en) | Apparatus and method for managing electronic receipt based on block chain | |
JP7316921B2 (en) | Electronic asset management method and electronic asset management device | |
US11222026B1 (en) | Platform for staging transactions | |
US20200027117A1 (en) | Real-Time Trusted Blockchain Attribution Platform | |
JP2021047568A (en) | Information coordination system, information coordination method, and access control server | |
KR102397404B1 (en) | Apparatus and method for providing incentive for blockchain based electronic receipt management | |
US11856004B2 (en) | Systems and methods for identifying malicious cryptographic addresses |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AMND | Amendment | ||
E601 | Decision to refuse application | ||
AMND | Amendment | ||
X701 | Decision to grant (after re-examination) | ||
GRNT | Written decision to grant |