KR20210032168A - Apparatus and method for managing electronic receipt based on block chain - Google Patents

Apparatus and method for managing electronic receipt based on block chain Download PDF

Info

Publication number
KR20210032168A
KR20210032168A KR1020190113601A KR20190113601A KR20210032168A KR 20210032168 A KR20210032168 A KR 20210032168A KR 1020190113601 A KR1020190113601 A KR 1020190113601A KR 20190113601 A KR20190113601 A KR 20190113601A KR 20210032168 A KR20210032168 A KR 20210032168A
Authority
KR
South Korea
Prior art keywords
receipt
payment
block
electronic receipt
new
Prior art date
Application number
KR1020190113601A
Other languages
Korean (ko)
Other versions
KR102348741B1 (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 KR1020190113601A priority Critical patent/KR102348741B1/en
Publication of KR20210032168A publication Critical patent/KR20210032168A/en
Application granted granted Critical
Publication of KR102348741B1 publication Critical patent/KR102348741B1/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/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/209Specified transaction journal output feature, e.g. printed receipt or voice output
    • 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/04Payment circuits
    • G06Q20/047Payment circuits using payment protocols involving electronic receipts
    • 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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Abstract

The present invention relates to a block chain-based electronic receipt management device and to a method thereof. The device includes a memory and a processor electrically connected to the memory. When the payment performed between a payment terminal and a payment approval server is approved, the processor generates a new electronic receipt transaction block based on payment history information from the payment terminal, adds the electronic receipt new transaction block to an electronic receipt main block chain, and generates an electronic receipt change transaction block to add the electronic receipt change transaction block to an electronic receipt derived block chain derived from the electronic receipt new transaction block, whenever the payment is changed by the payment approval server after the new electronic receipt transaction block is added.

Description

블록체인 기반의 전자영수증 관리 장치 및 방법{APPARATUS AND METHOD FOR MANAGING ELECTRONIC RECEIPT BASED ON BLOCK CHAIN}Blockchain-based electronic receipt management device and method {APPARATUS AND METHOD FOR MANAGING ELECTRONIC RECEIPT BASED ON BLOCK CHAIN}

본 발명은 전자영수증 관리 기술에 관한 것으로, 보다 상세하게는 블록체인을 기반으로 하여 결제 및 결제 변경에 따라 생성되는 전자영수증 및 전자영수증 변경 정보를 저장하고 관리할 수 있는 블록체인 기반의 전자영수증 관리 장치 및 방법에 관한 것이다.The present invention relates to an e-receipt management technology, and more particularly, a blockchain-based e-receipt management capable of storing and managing e-receipt and e-receipt change information generated according to payment and payment changes based on a blockchain. It relates to an apparatus and a 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.

한국공개특허 제10-2018-0085570(2018.07.27)호Korean Patent Publication No. 10-2018-0085570 (July 27, 2018) 한국공개특허 제10-2019-0036948(2019.04.05)호Korean Patent Publication No. 10-2019-0036948 (2019.04.05)

본 발명의 일 실시예는 블록체인을 기반으로 하여 결제 및 결제 변경에 따라 생성되는 전자영수증 및 전자영수증 변경 정보를 저장하고 관리할 수 있는 블록체인 기반의 전자영수증 관리 장치 및 방법을 제공하고자 한다.An embodiment of the present invention is to provide a block chain-based electronic receipt management device and method capable of storing and managing electronic receipts and electronic receipt change information generated according to payment and payment changes based on a block chain.

본 발명의 일 실시예는 결제가 승인될 때마다 결제 내역 정보에 기반하여 생성되는 전자영수증을 신뢰할 수 있도록 관리하는 블록체인 기반의 전자영수증 관리 장치 및 방법을 제공하고자 한다.An embodiment of the present invention is to provide a block chain-based electronic receipt management apparatus and method for reliably managing an electronic receipt generated based on payment details information whenever payment is approved.

본 발명의 일 실시예는 결제 변경에 따른 전자영수증 변경거래를 손쉽게 확인할 수 있도록 관리하는 블록체인 기반의 전자영수증 관리 장치 및 방법을 제공하고자 한다.An embodiment of the present invention is to provide a block chain-based electronic receipt management device and method that manages to easily check the electronic receipt change transaction according to the payment change.

실시예들 중에서, 블록체인 기반의 전자영수증 관리 장치는 메모리 및 상기 메모리와 전기적으로 연결된 프로세서를 포함하고, 상기 프로세서는 결제 단말 및 결제 승인 서버 간에 수행되는 결제가 승인되면 결제 단말로부터 결제 내역 정보를 기초로 전자영수증 신규거래 블록을 생성하고, 상기 전자영수증 신규거래 블록을 전자영수증 메인 블록체인에 추가하며, 상기 전자영수증 신규거래 블록이 추가된 후에 상기 결제 승인 서버에 의해 상기 결제가 변경될 때마다 전자영수증 변경거래 블록을 생성하여 상기 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 상기 전자영수증 변경거래 블록을 추가한다.Among embodiments, the block chain-based electronic receipt management apparatus includes a memory and a processor electrically connected to the memory, and the processor receives payment details information from the payment terminal when payment performed between the payment terminal and the payment approval server is approved. On the basis of creating a new electronic receipt transaction block, adding the new electronic receipt transaction block to the electronic receipt main blockchain, and each time the payment is changed by the payment approval server after the new electronic receipt transaction block is added An e-receipt change transaction block is created, and the e-receipt change transaction block is added to the e-receipt-derived block chain derived from the e-receipt new transaction block.

상기 프로세서는 상기 결제 단말로부터 사용자의 결제 내역 정보를 수신하고, 상기 결제 내역 정보에 기반하여 전자영수증을 생성하고, 상기 전자영수증의 특정 영역에 대해 해시 코드를 생성하고, 상기 전자영수증을 해시 코드로 암호화하여 전자영수증 신규거래 블록을 생성할 수 있다.The processor receives the user's payment details information from the payment terminal, generates an electronic receipt based on the payment details information, generates a hash code for a specific area of the electronic receipt, and converts the electronic receipt into a hash code. It is possible to create a new transaction block for an electronic receipt by encryption.

상기 프로세서는 블록 식별 정보, 블록 생성 시간, 해시 코드를 포함하는 블록 관련 정보 및 신규거래에 의해 발행되는 전자영수증 정보를 포함하는 전자영수증 신규거래 블록을 생성할 수 있다.The processor may generate a new electronic receipt transaction block including block identification information, block generation time, block-related information including a hash code, and electronic receipt information issued by a new transaction.

상기 프로세서는 상기 전자영수증 메인 블록체인에서 직전에 추가된 전자영수증 신규거래 블록의 적어도 일부의 해시코드를 포함하는 전자영수증 신규거래 블록을 생성할 수 있다.The processor may generate a new e-receipt transaction block including a hash code of at least a part of the e-receipt new transaction block added immediately before in the e-receipt main block chain.

상기 프로세서는 상기 전자영수증 신규거래 블록이 추가된 후에 상기 결제 승인 서버에 의해 상기 결제가 변경되면 전자영수증 변경거래 블록을 생성하고 상기 전자영수증 메인 블록체인에서 상기 전자영수증 신규거래 블록을 검색하며, 상기 검색된 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 상기 전자영수증 변경거래 블록을 추가할 수 있다.When the payment is changed by the payment approval server after the new electronic receipt transaction block is added, the processor generates an electronic receipt change transaction block, searches for the new e-receipt transaction block in the e-receipt main block chain, and the The e-receipt change transaction block can be added to the e-receipt-derived block chain derived from the searched e-receipt new transaction block.

상기 프로세서는 상기 결제 승인 서버에 의해 고유적으로 발행되는 결제 승인정보를 검색키로 하여 변경거래의 승인번호와 매칭되는 결제의 전자영수증 신규거래 블록을 검색할 수 있다.The processor may search for a new transaction block of the electronic receipt of payment matching the authorization number of the change transaction using payment authorization information uniquely issued by the payment authorization server as a search key.

상기 프로세서는 상기 전자영수증 파생 블록체인이 파생되는 상기 전자영수증 신규거래 블록을 루트 블록으로 하고 상기 전자영수증 파생 블록체인에서 최초로 생성되는 전자영수증 변경거래 블록에는 루트 블록의 적어도 일부의 해시코드를 포함시킬 수 있다.The processor uses the e-receipt new transaction block from which the e-receipt-derived blockchain is derived as a root block, and the e-receipt change transaction block first generated in the e-receipt-derived blockchain contains at least some hash codes of the root block. I can.

상기 프로세서는 상기 전자영수증 파생 블록체인에서 직전에 생성된 전자영수증 변경거래 블록의 적어도 일부의 해시코드를 포함하는 전자영수증 변경거래 블록을 생성할 수 있다.The processor may generate an electronic receipt change transaction block including a hash code of at least a part of the electronic receipt change transaction block generated immediately before in the electronic receipt derivative block chain.

실시예들 중에서, 블록체인 기반의 전자영수증 관리 방법은 결제 단말 및 결제 승인 서버 간에 수행되는 결제가 승인되면 상기 결제 단말로부터 결제 내역 정보를 기초로 전자영수증 신규거래 블록을 생성하는 단계, 상기 전자영수증 신규거래 블록을 전자영수증 메인 블록체인에 추가하는 단계, 상기 전자영수증 신규거래 블록이 추가된 후에 상기 결제 승인 서버에 의해 상기 결제가 변경될 때마다 전자영수증 변경거래 블록을 생성하는 단계, 및 상기 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 상기 전자영수증 변경거래 블록을 추가하는 단계를 포함한다.Among embodiments, the blockchain-based electronic receipt management method comprises the steps of generating a new electronic receipt transaction block based on payment details information from the payment terminal when payment performed between a payment terminal and a payment approval server is approved, the electronic receipt Adding a new transaction block to the electronic receipt main block chain, generating an electronic receipt change transaction block whenever the payment is changed by the payment approval server after the new electronic receipt transaction block is added, and the electronic receipt And adding the electronic receipt change transaction block to the electronic receipt-derived block chain derived from the new receipt transaction block.

상기 전자영수증 신규거래 블록 생성 단계는 상기 결제 승인 서버에 의해 상기 결제가 승인될 때마다 상기 결제 단말로부터 결제 내역 정보를 수신하는 단계, 및 상기 결제 내역 정보를 기초로 전자영수증 신규거래 블록을 생성하는 단계를 포함할 수 있다.The step of generating a new electronic receipt transaction block includes receiving payment details information from the payment terminal whenever the payment is approved by the payment approval server, and generating a new electronic receipt transaction block based on the payment details information. It may include steps.

상기 전자영수증 변경거래 블록 추가 단계는 상기 전자영수증 메인 블록체인에서 전자영수증 신규거래 블록을 검색하는 단계, 및 상기 검색된 전자영수증 신규블록에서 파생되는 전자영수증 파생 블록체인에 상기 전자영수증 변경거래 블록을 추가하는 단계를 포함할 수 있다.The step of adding the e-receipt change transaction block includes searching for a new e-receipt transaction block in the e-receipt main blockchain, and adding the e-receipt change transaction block to an e-receipt-derived blockchain derived from the retrieved e-receipt new block. It may include the step of.

개시된 기술은 다음의 효과를 가질 수 있다. 다만, 특정 실시예가 다음의 효과를 전부 포함하여야 한다거나 다음의 효과만을 포함하여야 한다는 의미는 아니므로, 개시된 기술의 권리범위는 이에 의하여 제한되는 것으로 이해되어서는 아니 될 것이다.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 management apparatus and method according to an embodiment of the present invention can easily and conveniently manage electronic receipts and electronic receipts change according to payment and payment changes based on a block chain.

본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 관리 장치 및 방법은 결제가 승인될 때마다 결제 내역 정보에 기반하여 생성되는 전자영수증을 전자영수증 메인 블록체인의 블록을 추가하여 저장함으로써, 전자영수증을 신뢰할 수 있고 검색 및 조회가 용이할 수 있다.Blockchain-based electronic receipt management device and method according to an embodiment of the present invention stores an electronic receipt generated based on payment details information each time payment is approved by adding a block of the electronic receipt main block chain, thereby storing the electronic receipt. Receipts can be trusted and can be easily searched and viewed.

본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 관리 장치 및 방법은 결제 승인 서버에 의해 결제가 변경될 때마다 전자영수증 변경을 전자영수증 메인 블록체인에 연결되는 전자영수증 파생 블록체인의 블록을 추가하여 저장함으로써, 기존 거래의 취소, 반품, 교환 등의 전자영수증 변경거래를 손쉽게 확인할 수 있다.Blockchain-based electronic receipt management device and method according to an embodiment of the present invention is a block of an electronic receipt-derived blockchain that is connected to the main blockchain of the electronic receipt whenever payment is changed by a payment authorization server. By adding and storing, it is possible to easily check the e-receipt change transaction such as cancellation, return, and exchange of existing transactions.

도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 관리 시스템을 설명하는 도면이다.
도 2는 도 1에 있는 전자영수증 관리 장치의 물리적 구성을 설명하는 블록도이다.
도 3은 도 2에 있는 프로세서의 기능 요소를 나타내는 블록도이다.
도 4는 도 2에 있는 프로세서를 통해 수행되는 전자영수증 관리 과정을 설명하는 순서도이다.
도 5는 도 1에 있는 전자영수증 관리 장치를 통해 수행되는 전자영수증 관리 과정의 일 실시예를 설명하는 도면이다.
도 6은 일 실시예에 따른 전자영수증 관리를 위한 블록체인의 예시 도면이다.
1 is a diagram illustrating a block chain-based electronic receipt management system according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating a physical configuration of the electronic receipt management apparatus in FIG. 1.
3 is a block diagram showing functional elements of the processor in FIG. 2.
4 is a flowchart illustrating a process of managing an electronic receipt performed by the processor in FIG. 2.
FIG. 5 is a diagram illustrating an embodiment of an electronic receipt management process performed through the electronic receipt management device of FIG. 1.
6 is an exemplary diagram of a block chain for managing electronic receipts 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 through 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.

도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 전자영수증 관리 시스템을 설명하는 도면이다.1 is a diagram illustrating a block chain-based electronic receipt management system according to an embodiment of the present invention.

도 1을 참조하면, 블록체인 기반의 전자영수증 관리 시스템(100)은 사용자 단말(110), 결제 단말(130), 결제 승인 서버(150) 및 전자영수증 관리 장치(170)를 포함하여 구현될 수 있다.Referring to FIG. 1, a block chain-based electronic receipt management system 100 may be implemented including a user terminal 110, a payment terminal 130, a payment approval server 150, and an electronic receipt management device 170. have.

사용자 단말(110)은 적어도 하나의 가맹점에서 물품을 구매하거나 서비스를 제공받은 사용자의 결제 관련 전자영수증을 제공받을 수 있고 적어도 결제 취소를 포함하는 변경 관련 전자영수증을 제공받을 수 있는 컴퓨팅 장치에 해당할 수 있다. 여기서, 사용자 단말(110)은 스마트폰, 노트북 또는 컴퓨터로 구현될 수 있으며, 반드시 이에 한정되지 않고, 태블릿 PC 등 다양한 디바이스로 구현될 수 있다. 사용자 단말(110)은 결제 단말(130), 결제 승인 서버(150), 전자영수증 관리 장치(170)와 네트워크를 통해 연결될 수 있다.The user terminal 110 may correspond to a computing device capable of receiving an electronic receipt related to payment of a user who has purchased an item or provided a service at at least one affiliated store, and can receive at least an electronic receipt related to change including payment cancellation. I can. Here, the user terminal 110 may be implemented as a smartphone, a laptop computer, or a computer, but is not limited thereto, and may be implemented as various devices such as a tablet PC. The user terminal 110 may be connected to the payment terminal 130, the payment approval server 150, and the electronic receipt management device 170 through a network.

사용자 단말(110)은 전자영수증 발급 동의 여부를 결정할 수 있고 전자영수증 발급 동의를 한 경우에 전자영수증을 발급받을 수 있다. 사용자 단말(110)은 결제가 승인된 후에 결제 승인 서버(150) 또는 전자영수증 관리 장치(170)로부터 결제 승인에 관련된 전자영수증을 수신할 수 있다. 일 실시예에서, 사용자 단말(110)은 신규 거래에 따른 결제 승인 시 마다 전자영수증을 발급받을 수 있고 전자영수증을 출력할 수 있다. 사용자 단말(110)은 기존 거래의 변경에 따른 결제 변경 시 마다 전자영수증 변경 거래를 알림 받을 수 있다.The user terminal 110 may determine whether to consent to issuance of the electronic receipt, and when consent to issuance of the electronic receipt is granted, may receive the electronic receipt. After payment is approved, the user terminal 110 may receive an electronic receipt related to payment approval from the payment approval server 150 or the electronic receipt management device 170. In one embodiment, the user terminal 110 may receive an electronic receipt and output an electronic receipt whenever payment is approved according to a new transaction. The user terminal 110 may receive a notification of the electronic receipt change transaction whenever payment changes according to a change in an existing transaction.

결제 단말(130)은 물품을 판매하거나 서비스를 제공하는 가맹점에 결제 및 결제 취소를 위해 구비된 포스(POS: Point of Sale) 단말에 해당할 수 있고, 이에 한정되지 않고 현금 결제, 카드 결제, 간편 결제 또는 모바일 결제 등의 사용자가 제시한 결제수단을 이용하여 결제를 수행할 수 있고 결제 취소를 수행할 수 있는 컴퓨팅 장치로 구현될 수 있다. 일 실시예에서, 결제 단말(130)은 사용자의 결제 정보에 따른 결제 승인을 결제 승인 서버(150)에 요청하고 결제 승인 서버(150)로부터 결제 승인이 완료됨을 나타내는 정보가 수신되면 결제 관련 정보를 전자영수증 관리 장치(170)로 전달할 수 있다. 여기에서, 결제 단말(130)은 결제가 승인되면 적어도 사용자의 구매 금액을 포함하는 결제 내역 정보를 전자영수증 관리 장치(170)에 송신할 수 있다.The payment terminal 130 may correspond to a POS (Point of Sale) terminal provided for payment and payment cancellation at an affiliated store that sells goods or provides services, and is not limited thereto, but is not limited to cash payment, card payment, and convenience. It may be implemented as a computing device capable of performing payment using a payment method presented by a user, such as payment or mobile payment, and performing payment cancellation. In one embodiment, the payment terminal 130 requests payment approval according to the user's payment information to the payment approval server 150, and when information indicating that payment approval has been completed is received from the payment approval server 150, the payment terminal 130 transmits payment related information. It can be delivered to the electronic receipt management device 170. Here, when payment is approved, the payment terminal 130 may transmit payment detail information including at least the user's purchase amount to the electronic receipt management device 170.

일 실시예에서, 결제 단말(130)은 사용자의 거래 취소에 따른 결제 변경을 결제 승인 서버(150)에 요청할 수 있다. 결제 단말(130)은 결제 승인 서버(150)에 결제 변경을 요청하기 전에 전자영수증 관리 장치(170)로부터 결제 변경에 따른 전자영수증 변경거래 내역을 조회할 수 있고 거래 취소가 이중으로 진행되지 않도록 할 수 있다. 결제 변경에 따른 전자영수증 변경거래 내역 조회는 결제 승인 서버(150)에서 수행할 수도 있다.In one embodiment, the payment terminal 130 may request the payment approval server 150 to change payment according to the user's transaction cancellation. The payment terminal 130 can query the transaction details of the electronic receipt change according to the payment change from the electronic receipt management device 170 before requesting the payment change to the payment approval server 150 and prevent the transaction cancellation from being doubled. I can. The electronic receipt change transaction details inquiry according to the payment change may be performed by the payment approval server 150.

결제 승인 서버(150)는 사용자의 결제 정보에 대한 결제 승인을 수행하기 위해 다양한 데이터를 연산하는 범용 컴퓨터, 랩탑, 데이터 서버 등을 포함할 수 있다. 일 실시예에서, 결제 승인 서버(150)는 카드사 서버, 모바일 결제 서버 또는 간편 결제 서버 등을 포함할 수 있고, 이에 한정되지 않고 전자 결제를 위한 VAN(Value Added Network)사 서버 또는 PG(Payment Gateway)사 등을 포함할 수 있다. 결제 승인 서버(150)는 결제 서버(130)로부터 사용자의 물품 결제 또는 서비스 제공에 따른 결제 정보에 대한 승인이 요청되면 결제 승인을 완료하고 결제 승인이 완료됨을 나타내는 정보를 결제 단말(130)로 전달할 수 있다. 여기에서, 결제 정보는 사용자가 구매한 물품 또는 사용자에게 제공된 서비스에 관련하여 결제 단말(130)에 입력되거나 선택된 물품 정보, 서비스 정보 또는 금액 등을 포함할 수 있다.The payment approval server 150 may include a general-purpose computer, a laptop, a data server, etc. that calculate various data to perform payment approval for the user's payment information. In one embodiment, the payment approval server 150 may include a card company server, a mobile payment server, or a simple payment server, but is not limited thereto, and a value added network (VAN) company server or a payment gateway (PG) for electronic payment. ), etc. may be included. The payment approval server 150 completes payment approval and transmits information indicating that payment approval is completed to the payment terminal 130 when approval for payment information according to the user's product payment or service provision is requested from the payment server 130. I can. Here, the payment information may include product information, service information, or amount, etc. input or selected in the payment terminal 130 in relation to a product purchased by the user or a service provided to the user.

일 실시예에서, 결제 승인 서버(150)는 결제 승인 후에 결제 단말(130)에 결제 매칭 정보를 발행할 수 있다. 여기에서, 결제 매칭 정보는 승인 번호 또는 승인 키 등을 포함할 수 있다. 결제 승인 서버(150)는 가맹점 명칭, 가맹점 주소, 가맹점 연락처, 결제 시각, 결제 금액, 결제 매칭 정보(예: 승인 번호, 승인 키 등) 및 사용자 식별 정보(예: 사용자의 ID, 이름, 연락처 등)가 포함된 결제 승인 내역 정보를 저장할 수 있다. 결제 승인 서버(150)는 전자영수증 관리 장치(170)에 전자영수증 요청을 할 수 있고 사용자 단말(110)에 전자영수증을 제공할 수 있다.In one embodiment, the payment approval server 150 may issue payment matching information to the payment terminal 130 after payment approval. Here, the payment matching information may include an authorization number or an authorization key. The payment approval server 150 includes the affiliate store name, affiliate store address, affiliate store contact information, payment time, payment amount, payment matching information (eg, approval number, approval key, etc.), and user identification information (eg, user ID, name, contact information, etc.). ) Can be stored in the payment approval history information. The payment approval server 150 may request an electronic receipt to the electronic receipt management device 170 and provide an electronic receipt to the user terminal 110.

일 실시예에서, 결제 승인 서버(150)는 결제 단말(130)의 결제 변경 요청에 대해 결제 변경 처리를 수행할 수 있고 결제가 변경될 때마다 전자영수증 관리 장치(170)에 결제 변경을 전달할 수 있다. 결제 승인 서버(150)는 결제 변경 내역 정보를 전자영수증 관리 장치(170)에 제공할 수 있다.In one embodiment, the payment approval server 150 may perform a payment change processing in response to a payment change request from the payment terminal 130 and transmit the payment change to the electronic receipt management device 170 whenever the payment is changed. have. The payment approval server 150 may provide payment change details information to the electronic receipt management device 170.

전자영수증 관리 장치(170)는 사용자 단말(110)에 전자영수증을 제공할 수 있고 전자영수증 변경거래를 관리할 수 있는 컴퓨터 또는 프로그램에 해당하는 서버로 구현될 수 있다. 전자영수증 관리 장치(170)는 사용자 단말(110), 결제 단말(130) 및 결제 승인 서버(150)와 네트워크를 통해 연결될 수 있고 정보를 주고받을 수 있다.The electronic receipt management device 170 may provide an electronic receipt to the user terminal 110 and may be implemented as a server corresponding to a computer or program capable of managing electronic receipt change transactions. The electronic receipt management device 170 may be connected to the user terminal 110, the payment terminal 130, and the payment approval server 150 through a network, and may exchange information.

일 실시예에서, 전자영수증 관리 장치(170)는 전자영수증을 제공할 수 있고 블록체인을 기반으로 하여 전자영수증을 관리할 수 있다. 전자영수증 관리 장치(170)는 결제 단말(130)로부터 사용자의 결제 내역 정보를 수신하여 전자영수증을 생성할 수 있고 생성된 전자영수증을 결제 승인 서버(150) 또는 사용자 단말(110)에 제공할 수 있다. 전자영수증 관리 장치(170)는 결제가 승인될 때마다 전자영수증 신규거래 블록을 생성할 수 있고 결제가 변경될 때마다 전자영수증 변경거래 블록을 생성할 수 있다. 전자영수증 관리 장치(170)는 전자영수증 신규거래 블록을 전자영수증 메인 블록체인에 추가하고 전자영수증 변경거래 블록을 전자영수증 파생 블록체인에 추가하여 관리할 수 있다. 전자영수증 관리 장치(170)는 전자영수증 메인 블록체인에 파생 블록체인으로 결제 변경을 갱신하면서 관리할 수 있다.In one embodiment, the electronic receipt management device 170 may provide an electronic receipt and manage the electronic receipt based on a block chain. The electronic receipt management device 170 may generate an electronic receipt by receiving the user's payment details information from the payment terminal 130 and provide the generated electronic receipt to the payment approval server 150 or the user terminal 110. have. The electronic receipt management device 170 may generate a new electronic receipt transaction block whenever payment is approved, and may generate an electronic receipt change transaction block whenever payment is changed. The e-receipt management device 170 may manage by adding a new e-receipt transaction block to the e-receipt main block chain and adding the e-receipt change transaction block to the e-receipt-derived blockchain. The e-receipt management device 170 can manage the e-receipt main blockchain while updating the payment change with a derivative blockchain.

일 실시예에서, 전자영수증 관리 장치(170)는 프로세서, 메모리, 사용자 입출력부 및 네트워크 입출력부를 포함하여 구현될 수 있으며, 이에 대해서는 도 2에서 보다 자세히 설명한다.In one embodiment, the electronic receipt management apparatus 170 may be implemented including a processor, a memory, a user input/output unit, and a network input/output unit, which will be described in more detail with reference to FIG. 2.

도 2는 도 1에 있는 전자영수증 관리 장치의 물리적 구성을 설명하는 블록도이다.FIG. 2 is a block diagram illustrating a physical configuration of the electronic receipt management apparatus in FIG. 1.

도 2를 참조하면, 전자영수증 관리 장치(170)는 프로세서(210), 메모리(230), 사용자 입출력부(250) 및 네트워크 인터페이스(270)를 포함할 수 있다.Referring to FIG. 2, the electronic receipt management apparatus 170 may include a processor 210, a memory 230, a user input/output unit 250, and a network interface 270.

프로세서(210)는 결제 단말(130) 및 결제 승인 서버(150) 간에 수행되는 결제 승인 및 변경에 따른 전자영수증을 블록체인에 기반하여 관리하기 위한 각 프로시저를 실행할 수 있고, 그 과정 전반에서 읽혀지거나 작성되는 메모리(230)를 관리할 수 있으며, 메모리(230)에 있는 휘발성 메모리와 비휘발성 메모리 간의 동기화 시간을 스케줄할 수 있다. 프로세서(210)는 전자영수증 관리 장치(170)의 동작 전반을 제어할 수 있고, 메모리(230), 사용자 입출력부(250) 및 네트워크 입출력부(270)와 전기적으로 연결되어 이들 간의 데이터 흐름을 제어할 수 있다. 프로세서(210)는 전자영수증 관리 장치(170)의 CPU(Central Processing Unit)로 구현될 수 있다.The processor 210 can execute each procedure for managing the electronic receipt according to the payment approval and change performed between the payment terminal 130 and the payment approval server 150 based on the blockchain, and is read throughout the process. The created or created memory 230 may be managed, and a synchronization time between the volatile memory and the nonvolatile memory in the memory 230 may be scheduled. The processor 210 can control the overall operation of the electronic receipt management device 170, and is electrically connected to the memory 230, the user input/output unit 250, and the network input/output unit 270 to control data flow between them. can do. The processor 210 may be implemented as a CPU (Central Processing Unit) of the electronic receipt management device 170.

메모리(230)는 SSD(Solid State Disk) 또는 HDD(Hard Disk Drive)와 같은 비휘발성 메모리로 구현되어 전자영수증 관리 장치(170)에 필요한 데이터 전반을 저장하는데 사용되는 보조기억장치를 포함할 수 있고, RAM(Random Access Memory)과 같은 휘발성 메모리로 구현된 주기억장치를 포함할 수 있다.The memory 230 is implemented as a nonvolatile memory such as a solid state disk (SSD) or a hard disk drive (HDD), and may include an auxiliary storage device used to store all data necessary for the electronic receipt management device 170, and , A main memory device implemented as a volatile memory such as random access memory (RAM).

사용자 입출력부(250)는 사용자 입력을 수신하기 위한 환경 및 사용자에게 특정 정보를 출력하기 위한 환경을 포함할 수 있다. 예를 들어, 사용자 입출력부(250)는 터치 패드, 터치 스크린, 화상 키보드 또는 포인팅 장치와 같은 어댑터를 포함하는 입력장치 및 모니터 또는 터치스크린과 같은 어댑터를 포함하는 출력장치를 포함할 수 있다. 일 실시예에서, 사용자 입출력부(250)는 원격 접속을 통해 접속되는 컴퓨팅 장치에 해당할 수 있고, 그러한 경우, 전자영수증 관리 장치(170)는 서버로서 수행될 수 있다.The user input/output unit 250 may include an environment for receiving a user input and an environment for outputting specific information to a user. For example, the user input/output unit 250 may include an input device including an adapter such as a touch pad, a touch screen, an on-screen keyboard, or a pointing device, and an output device including an adapter such as a monitor or a touch screen. In one embodiment, the user input/output unit 250 may correspond to a computing device connected through a remote connection, and in such a case, the electronic receipt management device 170 may be performed as a server.

네트워크 입출력부(270)는 네트워크를 통해 외부 장치 또는 시스템과 연결하기 위한 환경을 포함하고, 예를 들어, LAN(Local Area Network), MAN(Metropolitan Area Network), WAN(Wide Area Network) 및 VAN(Value Added Network) 등의 통신을 위한 어댑터를 포함할 수 있다.The network input/output unit 270 includes an environment for connecting to an external device or system through a network, for example, a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), and a VAN ( Value Added Network) may include an adapter for communication.

도 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 processor 210 includes a new transaction block generation unit 310, a change transaction block generation unit 330, an electronic receipt block chain unit 350, an electronic receipt management unit 370, and a control unit 390. Can include.

신규거래 블록 생성부(310)는 결제 단말(130) 및 결제 승인 서버(150) 간에 수행되는 결제가 승인되면 결제 단말(130)로부터 결제 내역 정보에 기초한 전자영수증 신규거래 블록을 생성할 수 있다. 결제 내역 정보에는 적어도 사용자의 구매 금액을 포함할 수 있고, 결제 일시, 상품명, 수량, 상품 종류, 가맹점 상호, 가맹점 주소, 가맹점 연락처 및 결제 수단 중 적어도 하나를 더 포함할 수 있다.When the payment performed between the payment terminal 130 and the payment approval server 150 is approved, the new transaction block generation unit 310 may generate a new electronic receipt transaction block based on the payment details information from the payment terminal 130. The payment detail information may include at least the user's purchase amount, and may further include at least one of a payment date and time, a product name, a quantity, a product type, an affiliate store name, an affiliate store address, an affiliate store contact information, and a payment method.

신규거래 블록 생성부(310)는 결제가 승인될 때마다 전자영수증 신규거래 블록을 생성할 수 있다. 신규거래 블록 생성부(310)는 결제 단말(130)로부터 사용자의 결제 내역 정보를 수신할 수 있고 결제 내역 정보에 기반하여 전자영수증을 생성할 수 있다. 신규거래 블록 생성부(310)는 전자영수증의 특정 영역에 대해 해시 코드(hash code)를 생성하고 전자영수증을 해시 코드로 암호화하여 전자영수증 신규거래 블록을 생성할 수 있다. 일 실시예에서, 신규거래 블록 생성부(310)는 전자영수증의 전체 또는 선택된 일부 영역에 대해 해시 코드를 생성할 수 있고 해시 코드는 다양한 방식으로 결정될 수 있다. 전자영수증 신규거래 블록에는 블록 관련 정보 및 신규거래에 의해 발행되는 전자영수증 정보를 포함할 수 있다. 블록 관련 정보에는 블록 식별 정보, 블록 생성 시간 및 해시 코드를 포함할 수 있고, 다른 정보가 추가로 포함될 수도 있다. 블록 식별 정보는 다른 전자영수증 신규거래 블록과 구분할 수 있는 식별 정보를 의미할 수 있다. 블록 생성 시간은 해당 전자영수증 신규거래 블록의 생성시간에 관한 정보를 의미할 수 있고 블록 생성 시간을 이용하여 전자영수증 신규거래 블록의 연결 순서가 정해질 수 있다. 블록 해시 코드는 전자영수증의 요약본에 해당하는 것으로 전자영수증을 효율적으로 관리하고 검증할 수 있게 한다. 전자영수증 정보는 다른 정보에 기반하지 않은 정보에 해당하는 것으로, 신규거래에 의해 발행되는 전자영수증에 관한 정보일 수 있다. 전자영수증 정보에는 결제 내역 정보 및 결제 매칭 정보를 포함할 수 있다. 결제 내역 정보는 전자영수증 항목의 상세 내역, 예컨대 가맹점 상호, 주소, 연락처 등의 가맹점 정보, 상품명, 수량, 금액, 거래일시 및 결제수단을 포함할 수 있다. 결제 매칭 정보는 결제 완료 후에 결제 승인 서버(150)에 의해 고유적으로 발행되는 결제 식별코드, 예컨대 승인번호에 해당할 수 있다.The new transaction block generation unit 310 may generate a new electronic receipt transaction block whenever payment is approved. The new transaction block generation unit 310 may receive the user's payment details information from the payment terminal 130 and generate an electronic receipt based on the payment details information. The new transaction block generation unit 310 may generate a new transaction block for the electronic receipt by generating a hash code for a specific area of the electronic receipt and encrypting the electronic receipt with a hash code. In one embodiment, the new transaction block generator 310 may generate a hash code for all or a selected part of the electronic receipt, and the hash code may be determined in various ways. The e-receipt new transaction block may include block-related information and e-receipt information issued by the new transaction. The block-related information may include block identification information, block generation time, and hash code, and other information may be additionally included. The block identification information may mean identification information that can be distinguished from other electronic receipt new transaction blocks. The block creation time may mean information on the generation time of the corresponding e-receipt new transaction block, and the order of connection of the e-receipt new transaction block may be determined using the block creation time. The block hash code corresponds to the summary of the e-receipt and enables efficient management and verification of e-receipts. The e-receipt information corresponds to information that is not based on other information, and may be information on an e-receipt issued by a new transaction. The electronic receipt information may include payment details information and payment matching information. The payment details information may include detailed information of the electronic receipt item, for example, merchant information such as merchant name, address, and contact information, product name, quantity, amount, transaction date, and payment method. The payment matching information may correspond to a payment identification code, for example, an approval number that is uniquely issued by the payment approval server 150 after payment is completed.

변경거래 블록 생성부(330)는 결제 승인 서버(150)에 의해 결제가 변경될 때마다 전자영수증 변경거래 블록을 생성할 수 있다. 일 실시예에서, 변경거래 블록 생성부(330)는 결제 승인 서버(150)로부터 결제 변경 내역 정보를 기초로 전자영수증 변경거래 블록을 생성할 수 있다. 전자영수증 변경거래 블록에는 블록 관련 정보 및 전자영수증 정보에 기반한 전자영수증 변경 정보를 포함할 수 있다. 블록 관련 정보에는 블록 식별 정보, 블록 생성 시간 및 해시 코드를 포함할 수 있다. 블록 식별 정보는 다른 전자영수증 변경거래 블록과 구분할 수 있는 식별 정보를 의미할 수 있다. 블록 생성 시간은 해당 전자영수증 변경거래 블록의 생성시간에 관한 정보를 의미할 수 있고 블록 생성 시간을 이용하여 전자영수증 변경거래 블록의 연결 순서가 정해질 수 있다. 블록 해시 코드는 결제 변경에 따른 전자영수증의 변경을 관리하고 결제 변경 사실을 검증할 수 있게 한다. 전자영수증 변경 정보는 기존 거래에 의해 발행된 전자영수증 정보를 변경하는 것에 관한 정보일 수 있다. 예컨대, 전자영수증 변경 정보는 기존 거래의 취소, 교환, 반품, 이상 및 오류 등에 관한 정보일 수 있다.The change transaction block generation unit 330 may generate an electronic receipt change transaction block whenever payment is changed by the payment approval server 150. In one embodiment, the change transaction block generation unit 330 may generate an electronic receipt change transaction block based on payment change detail information from the payment approval server 150. The e-receipt change transaction block may include block-related information and e-receipt change information based on the e-receipt information. Block-related information may include block identification information, block generation time, and hash code. The block identification information may mean identification information that can be distinguished from other electronic receipt change transaction blocks. The block generation time may mean information on the generation time of the corresponding electronic receipt change transaction block, and the order of connection of the electronic receipt change transaction block may be determined using the block generation time. The block hash code manages the change of the electronic receipt according to the change of payment and enables verification of the change of payment. The e-receipt change information may be information on changing e-receipt information issued by an existing transaction. For example, the electronic receipt change information may be information on cancellation, exchange, return, abnormality and error of an existing transaction.

전자영수증 블록체인부(350)는 전자영수증 신규거래 블록이 시계열로 연결되는 전자영수증 메인 블록체인 및 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인을 포함할 수 있다.The e-receipt block chain unit 350 may include an e-receipt main block chain in which the e-receipt new transaction block is connected in a time series, and an e-receipt-derived block chain derived from the e-receipt new transaction block.

전자영수증 블록체인부(350)는 두개의 전자영수증 신규거래 블록이 서로 연결되어 전자영수증 메인 블록체인을 형성할 수 있다. 전자영수증 메인 블록체인은 복수의 전자영수증 신규거래 블록이 순차적으로 연결될 수 있다. 여기에서, 전자영수증 메인 블록체인은 복수의 전자영수증 신규거래 블록들이 1차원으로 연결된 블록들의 집합을 의미할 수 있다. 전자영수증 블록체인부(350)는 전자영수증 메인 블록체인에서 임의의 하나의 전자영수증 신규거래 블록이 전자영수증 메인 블록체인 내에서 직전에 생성된 전자영수증 신규거래 블록과 연결되게 된다. 이때, 임의의 하나의 전자영수증 신규거래 블록은 직전에 생성된 전자영수증 신규거래 블록의 해시값을 포함하는 것을 통해 연결될 수 있다. 전자영수증 신규거래 블록은 블록 관련 정보에 직전에 생성된 전자영수증 신규거래 블록의 해시 코드를 포함하는 것을 통해 연결될 수 있다.The e-receipt block chain unit 350 may form a main e-receipt block chain by connecting two new e-receipt transaction blocks. In the e-receipt main block chain, a plurality of e-receipt new transaction blocks can be sequentially connected. Here, the e-receipt main block chain may mean a set of blocks in which a plurality of e-receipt new transaction blocks are connected in one dimension. The e-receipt block chain unit 350 connects an e-receipt new transaction block in the e-receipt main block chain with the e-receipt new transaction block created immediately before in the e-receipt main blockchain. In this case, any one electronic receipt new transaction block may be connected by including the hash value of the newly created electronic receipt new transaction block. The e-receipt new transaction block may be connected by including the hash code of the e-receipt new transaction block generated immediately before in the block-related information.

전자영수증 블록체인부(350)는 전자영수증 메인 블록체인으로부터 파생되는 전자영수증 파생 블록체인을 형성할 수 있다. 전자영수증 파생 블록체인은 루트 블록(root block)과 이에 연결된 적어도 하나의 연결 블록을 포함한다. 루트 블록은 전자영수증 메인 블록체인에 포함되는 블록으로, 전자영수증 파생 블록체인의 파생이 시작되는 블록이다. 적어도 하나의 연결 블록은 전자영수증 변경거래 블록으로, 하나의 전자영수증에 대해 결제 변경 횟수에 비례하여 전자영수증 변경거래 블록이 연결될 수 있다. 여기에서, 전자영수증 파생 블록체인은 전자영수증 변경거래 블록들이 전자영수증 메인 블록체인에 연결되는 전자영수증 신규거래 블록으로 파생되어 연결된 블록들의 집합을 의미할 수 있다. 전자영수증 블록체인부(350)는 전자영수증 파생 블록체인에서 임의의 하나의 전자영수증 변경거래 블록이 전자영수증 파생 블록체인 내에서 직전에 생성된 전자영수증 변경거래 블록과 연결되게 된다. 이때, 임의의 하나의 전자영수증 변경거래 블록은 동일한 거래에 대해 직전에 생성된 전자영수증 변경거래 블록의 해시값을 포함하는 것을 통해 연결될 수 있다. 전자영수증 변경거래 블록은 블록 관련 정보에 직전에 생성된 전자영수증 변경거래 블록의 해시 코드를 포함하는 것을 통해 연결될 수 있다.The e-receipt block chain unit 350 may form an e-receipt-derived blockchain derived from the e-receipt main blockchain. The e-receipt-derived blockchain includes a root block and at least one connection block connected thereto. The root block is a block included in the main e-receipt blockchain, and is the block from which the e-receipt-derived blockchain begins. The at least one connection block is an electronic receipt change transaction block, and the electronic receipt change transaction block may be connected in proportion to the number of payment changes for one electronic receipt. Here, the e-receipt-derived block chain may mean a set of connected blocks by deriving the e-receipt change transaction blocks into an e-receipt new transaction block that is connected to the e-receipt main block chain. The e-receipt block chain unit 350 is connected to the e-receipt change transaction block created immediately before any one e-receipt change transaction block in the e-receipt-derived blockchain. In this case, any one electronic receipt change transaction block may be connected by including a hash value of the electronic receipt change transaction block generated immediately before for the same transaction. The e-receipt change transaction block may be connected by including a hash code of the e-receipt change transaction block generated immediately before the block-related information.

전자영수증 관리부(370)는 결제가 승인될 때마다 생성되는 전자영수증 신규거래 블록을 전자영수증 메인 블록체인에 추가하고, 결제가 변경될 때마다 생성되는 전자영수증 변경거래 블록을 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 추가하여 전자영수증을 관리할 수 있다. 전자영수증 관리부(370)는 전자영수증 신규거래 블록이 추가된 후에 결제 승인 서버(150)에 의해 결제가 변경되면 전자영수증 메인 블록체인에서 전자영수증 신규거래 블록을 검색할 수 있다. 전자영수증 관리부(370)는 검색된 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 전자영수증 변경거래 블록을 추가할 수 있다. 전자영수증 관리부(370)는 결제 승인 서버(150)에 의해 고유적으로 발행되는 결제 승인정보를 검색키로 이용하여 변경거래의 승인번호와 매칭되는 결제의 전자영수증 신규거래 블록을 검색할 수 있다. 전자영수증 관리부(370)는 검색된 전자영수증 신규거래 블록을 루트 블록으로 하여 연결된 전자영수증 파생 블록체인에 전자영수증 변경거래 블록을 추가할 수 있다.The e-receipt management unit 370 adds a new e-receipt transaction block generated every time payment is approved to the e-receipt main block chain, and adds an e-receipt change transaction block generated every time payment is changed in the e-receipt new transaction block. Derivative e-receipts You can manage e-receipts in addition to the derivative blockchain. The e-receipt management unit 370 may search for a new e-receipt transaction block in the e-receipt main block chain when payment is changed by the payment approval server 150 after the e-receipt new transaction block is added. The e-receipt management unit 370 may add the e-receipt change transaction block to the e-receipt-derived block chain derived from the searched e-receipt new transaction block. The electronic receipt management unit 370 may use the payment approval information uniquely issued by the payment approval server 150 as a search key to search for a new electronic receipt transaction block of payment matching the approval number of the change transaction. The e-receipt management unit 370 may add the e-receipt change transaction block to the connected e-receipt-derived block chain using the retrieved e-receipt new transaction block as a root block.

제어부(390)는 프로세서(210)의 전체적인 동작을 제어하고, 신규거래 블록 생성부(310), 변경거래 블록 생성부(330), 전자영수증 블록체인부(350) 및 전자영수증 관리부(370) 간의 제어 흐름 또는 데이터 흐름을 관리할 수 있다.The control unit 390 controls the overall operation of the processor 210, and between the new transaction block generation unit 310, the change transaction block generation unit 330, the electronic receipt block chain unit 350, and the electronic receipt management unit 370. You can manage control flow or data flow.

도 4는 도 2에 있는 프로세서를 통해 수행되는 블록체인 기반의 전자영수증 관리 과정을 설명하는 순서도이다.FIG. 4 is a flowchart illustrating a block chain-based electronic receipt management process performed by the processor in FIG. 2.

도 4를 참조하면, 프로세서(210)는 결제 단말(130) 및 결제 승인 서버(150) 간에 수행되는 결제가 승인되면 결제 단말(130)로부터 결제 내역 정보에 기초한 전자영수증 신규거래 블록을 생성할 수 있다(단계 S410).Referring to FIG. 4, the processor 210 may generate a new electronic receipt transaction block based on payment details information from the payment terminal 130 when payment performed between the payment terminal 130 and the payment approval server 150 is approved. Yes (step S410).

프로세서(210)는 전자영수증 신규거래 블록을 전자영수증 메인 블록체인에 추가할 수 있다(단계 S430).The processor 210 may add a new electronic receipt transaction block to the electronic receipt main block chain (step S430).

프로세서(210)는 전자영수증 신규거래 블록이 추가된 후에 결제 승인 서버(150)에 의해 결제가 변경될 때마다 전자영수증 변경거래 블록을 생성할 수 있다(단계 S450).The processor 210 may generate an electronic receipt change transaction block whenever payment is changed by the payment approval server 150 after the new electronic receipt transaction block is added (step S450).

프로세서(210)는 전자영수증 메인 블록체인에서 전자영수증 신규거래 블록을 검색하여 검색된 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 전자영수증 변경거래 블록을 추가할 수 있다(단계 S470).The processor 210 may search for a new e-receipt transaction block in the e-receipt main blockchain and add the e-receipt change transaction block to the e-receipt-derived blockchain derived from the retrieved e-receipt new transaction block (step S470).

도 5는 도 1에 있는 전자영수증 관리 장치를 통해 수행되는 블록체인 기반의 전자영수증 관리 과정의 일 실시예를 설명하는 도면이다.FIG. 5 is a diagram illustrating an embodiment of a block chain-based electronic receipt management process performed through the electronic receipt management device in 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 payment terminal 130 may request payment approval from the payment approval server 150 for the user's purchase amount and payment method-related information, and the payment approval server 150 may perform payment approval processing. The payment approval server 150 may transmit an approval number for identifying payment approval details to the payment terminal 130 after approving the payment of the purchase amount using the user's payment method.

결제 단말(130)은 결제 완료 후에 사용자의 전자영수증 발급 동의 여부를 결정하고 동의가 없는 경우에는 종이영수증을 출력하여 사용자에게 제공할 수 있다. 결제 단말(130)은 사용자의 전자영수증 발급 동의가 있는 경우에는 전자영수증 발급 요청 처리를 수행할 수 있다. 즉, 결제 단말(130)은 적어도 사용자의 구매 금액을 포함하는 결제 내역 정보를 전자영수증 관리 장치(170)에 전달하여 전자영수증 발급 요청 처리를 할 수 있다.After payment is completed, the payment terminal 130 may determine whether or not the user agrees to issue an electronic receipt, and if there is no consent, output a paper receipt and provide it to the user. The payment terminal 130 may process a request for issuing an electronic receipt when the user agrees to issue an electronic receipt. That is, the payment terminal 130 may transmit payment detail information including at least the user's purchase amount to the electronic receipt management device 170 to process an electronic receipt issuance request.

전자영수증 관리 장치(170)는 결제 단말(130)로부터 결제 내역 정보가 수신되면 결제 내역 정보에 기반하여 전자영수증을 생성할 수 있다. 여기에서, 전자영수증은 사용자의 구매상세내역을 포함한 종이영수증과 동일한 형태로 생성할 수 있다. 전자영수증 관리 장치(170)는 생성된 전자영수증을 결제 승인 서버(150)를 통해 사용자 단말(110)에 제공하거나 사용자 단말(110)에 직접 제공할 수 있다. When payment details information is received from the payment terminal 130, the electronic receipt management apparatus 170 may generate an electronic receipt based on the payment details information. Here, the electronic receipt may be generated in the same form as the paper receipt including the user's purchase details. The electronic receipt management device 170 may provide the generated electronic receipt to the user terminal 110 through the payment approval server 150 or directly to the user terminal 110.

전자영수증 관리 장치(170)는 결제 승인된 신규 거래에 대해 전자영수증 신규거래 블록을 생성할 수 있다. 전자영수증 관리 장치(170)는 전자영수증 신규거래 블록을 전자영수증 메인 블록체인에 추가할 수 있고 신규 발행되는 전자영수증 블록들을 블록체인을 이용하여 관리할 수 있다.The electronic receipt management device 170 may generate a new electronic receipt transaction block for a new transaction approved for payment. The electronic receipt management device 170 may add a new electronic receipt transaction block to the main electronic receipt block chain, and manage newly issued electronic receipt blocks using the block chain.

한편, 사용자는 구매한 물품이나 서비스에 대해 취소, 반품, 교환 등의 결제 변경 사유가 발생하는 경우에 판매자에게 결제 변경을 요청할 수 있다. 결제 단말(130)은 사용자의 결제 변경 요청을 결제 승인 서버(150)에 전달하여 결제 변경 처리를 수행할 수 있다. 결제 승인 서버(150)는 결제 변경 완료 후에 결제 변경 내역 정보를 전자영수증 관리 장치(170)에 전달할 수 있다.On the other hand, the user may request the seller to change the payment when a reason for changing payment such as cancellation, return, or exchange occurs for the purchased product or service. The payment terminal 130 may transmit the user's payment change request to the payment approval server 150 to perform payment change processing. The payment approval server 150 may transmit the payment change details information to the electronic receipt management device 170 after the payment change is completed.

전자영수증 관리 장치(170)는 결제 변경 내역 정보가 수신되면 결제 변경 내역 정보에 기초한 전자영수증 변경거래 블록을 생성하여 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 전자영수증 변경거래 블록을 추가할 수 있다. 전자영수증 관리 장치(170)는 신규 생성되는 전자영수증 블록들이 생성 순서에 따라 연결된 하나의 전자영수증 메인 블록체인과 기존 거래의 변경에 의해 생성되는 전자영수증 변경거래 블록을 포함하는 적어도 하나의 전자영수증 파생 블록체인을 형성할 수 있고 이를 이용하여 전자영수증의 제공 및 취소를 관리할 수 있다.When the payment change history information is received, the electronic receipt management device 170 creates an electronic receipt change transaction block based on the payment change history information, and adds the electronic receipt change transaction block to the electronic receipt derivative block chain derived from the new electronic receipt transaction block. can do. The e-receipt management device 170 is derived from at least one e-receipt including one e-receipt main block chain in which newly generated e-receipt blocks are connected in the order of creation and an e-receipt change transaction block generated by a change of an existing transaction Blockchain can be formed, and it can be used to manage the provision and cancellation of e-receipts.

도 6은 일 실시예에 따른 전자영수증 관리 장치에서 형성되는 전자영수증 블록체인 형태를 나타내는 예시도이다.6 is an exemplary view showing the form of an electronic receipt block chain formed in the electronic receipt management apparatus according to an embodiment.

도 6을 참조하면, 일 실시예에 따른 블록체인 기반의 전자영수증 관리 장치(170)는 결제가 승인될 때마다 전자영수증 신규거래 블록(M-Block #n, n은 0을 포함한 자연수)을 생성할 수 있고, 전자영수증 신규거래 블록에는 블록 정보와 전자영수증 정보를 포함할 수 있다. 전자영수증 신규거래 블록은 생성된 시간 순으로 연결되어 전자영수증 메인 블록체인(500)을 형성할 수 있다. 전자영수증 신규거래 블록은 전자영수증 메인 블록체인(500)에서 바로 앞에 위치하는 블록의 적어도 일부의 해시코드를 포함할 수 있다. 여기에서, 전자영수증 신규거래 블록(M-Block #0)은 처음으로 생성된 블록을 의미한다. 6, the block chain-based electronic receipt management device 170 according to an embodiment generates a new electronic receipt transaction block (M-Block #n, n is a natural number including 0) whenever payment is approved. The electronic receipt new transaction block can include block information and e-receipt information. The e-receipt new transaction blocks may be connected in the order of creation time to form the e-receipt main blockchain 500. The e-receipt new transaction block may include a hash code of at least a portion of a block immediately preceding the e-receipt main block chain 500. Here, the e-receipt new transaction block (M-Block #0) refers to the block created for the first time.

일 실시예에 따른 블록체인 기반의 전자영수증 관리 장치(170)은 결제가 변경될 때마다 전자영수증 변경거래 블록(S-Block #m, m은 자연수)을 생성할 수 있고, 전자영수증 변경거래 블록에는 블록 정보와 전자영수증 변경 정보를 포함할 수 있다. 전자영수증 변경거래 블록은 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인(600)에 추가될 수 있다. 여기에서, 전자영수증 파생 블록체인(600)이 연결되는 전자영수증 신규거래 블록은 전자영수증 파생 블록체인(600)의 루트 블록을 의미한다.Blockchain-based electronic receipt management device 170 according to an embodiment may generate an electronic receipt change transaction block (S-Block #m, m is a natural number) whenever payment is changed, and the electronic receipt change transaction block May include block information and e-receipt change information. The e-receipt change transaction block may be added to the e-receipt-derived blockchain 600 derived from the e-receipt new transaction block. Here, the e-receipt new transaction block to which the e-receipt-derived blockchain 600 is connected means the root block of the e-receipt-derived blockchain 600.

일 실시예에 따른 블록체인 기반의 전자영수증 관리 장치 및 방법은 전자영수증에 대한 결제 변경을 블록체인을 이용하여 관리할 수 있고 결제 변경에 따라 생성되는 전자영수증 변경 정보를 블록체인을 통해 저장하고 관리할 수 있다. Blockchain-based electronic receipt management device and method according to an embodiment can manage payment changes for electronic receipts using a blockchain, and store and manage electronic receipt change information generated according to payment changes through the blockchain. can do.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.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 management system
110: user terminal 130: payment terminal
150: payment approval server 170: electronic receipt management device
210: processor 230: memory
250: user input/output unit 270: network input/output unit
310: new transaction block generation unit 330: change transaction block generation unit
350: Electronic Receipt Blockchain Department 370: Electronic Receipt Management Department
390: control unit
500: e-receipt main blockchain
600: e-receipt-derived blockchain

Claims (11)

메모리 및 상기 메모리와 전기적으로 연결된 프로세서를 포함하고,
상기 프로세서는
결제 단말 및 결제 승인 서버 간에 수행되는 결제가 승인되면 결제 단말로부터 결제 내역 정보를 기초로 전자영수증 신규거래 블록을 생성하고,
상기 전자영수증 신규거래 블록을 전자영수증 메인 블록체인에 추가하며,
상기 전자영수증 신규거래 블록이 추가된 후에 상기 결제 승인 서버에 의해 상기 결제가 변경될 때마다 전자영수증 변경거래 블록을 생성하여 상기 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 상기 전자영수증 변경거래 블록을 추가하는
블록체인 기반의 전자영수증 관리 장치.
A memory and a processor electrically connected to the memory,
The processor is
When the payment performed between the payment terminal and the payment approval server is approved, a new electronic receipt transaction block is created based on the payment details information from the payment terminal,
Add the new electronic receipt transaction block to the e-receipt main blockchain,
After the e-receipt new transaction block is added, the e-receipt change transaction block is created whenever the payment is changed by the payment approval server, and the e-receipt is changed to the e-receipt-derived blockchain derived from the e-receipt new transaction block. To add a transaction block
Blockchain-based electronic receipt management device.
제1항에 있어서, 상기 프로세서는
상기 결제 단말로부터 사용자의 결제 내역 정보를 수신하고,
상기 결제 내역 정보에 기반하여 전자영수증을 생성하고,
상기 전자영수증의 특정 영역에 대해 해시 코드를 생성하고,
상기 전자영수증을 해시 코드로 암호화하여 전자영수증 신규거래 블록을 생성하는 것을 특징으로 하는 블록체인 기반의 전자영수증 관리 장치.
The method of claim 1, wherein the processor
Receiving the user's payment details information from the payment terminal,
Create an electronic receipt based on the payment details information,
Generate a hash code for a specific area of the e-receipt,
A block chain-based electronic receipt management device, characterized in that the electronic receipt is encrypted with a hash code to generate a new electronic receipt transaction block.
제2항에 있어서, 상기 프로세서는
블록 식별 정보, 블록 생성 시간, 해시 코드를 포함하는 블록 관련 정보 및 신규거래에 의해 발행되는 전자영수증 정보를 포함하는 전자영수증 신규거래 블록을 생성하는 것을 특징으로 하는 블록체인 기반의 전자영수증 관리 장치.
The method of claim 2, wherein the processor
Block chain-based electronic receipt management device, characterized in that it generates a new electronic receipt transaction block including block identification information, block creation time, block-related information including a hash code, and electronic receipt information issued by a new transaction.
제3항에 있어서, 상기 프로세서는
상기 전자영수증 메인 블록체인에서 직전에 추가된 전자영수증 신규거래 블록의 적어도 일부의 해시코드를 포함하는 전자영수증 신규거래 블록을 생성하는 것을 특징으로 하는 블록체인 기반의 전자영수증 관리 장치.
The method of claim 3, wherein the processor
A block chain-based electronic receipt management device, characterized in that for generating a new electronic receipt transaction block including a hash code of at least a part of the electronic receipt new transaction block added immediately before in the e-receipt main block chain.
제1항에 있어서, 상기 프로세서는
상기 전자영수증 신규거래 블록이 추가된 후에 상기 결제 승인 서버에 의해 상기 결제가 변경되면 전자영수증 변경거래 블록을 생성하고 상기 전자영수증 메인 블록체인에서 상기 전자영수증 신규거래 블록을 검색하며, 상기 검색된 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 상기 전자영수증 변경거래 블록을 추가하는 것을 특징으로 블록체인 기반의 전자영수증 관리 장치.
The method of claim 1, wherein the processor
When the payment is changed by the payment approval server after the new e-receipt block is added, an e-receipt change transaction block is created, and the e-receipt new transaction block is searched in the e-receipt main block chain, and the retrieved e-receipt A block chain-based electronic receipt management device, characterized in that the electronic receipt change transaction block is added to an electronic receipt derived block chain derived from a new transaction block.
제5항에 있어서, 상기 프로세서는
상기 결제 승인 서버에 의해 고유적으로 발행되는 결제 승인정보를 검색키로 하여 변경거래의 승인번호와 매칭되는 결제의 전자영수증 신규거래 블록을 검색하는 것을 특징으로 하는 블록체인 기반의 전자영수증 관리 장치.
The method of claim 5, wherein the processor
Blockchain-based electronic receipt management device, characterized in that the electronic receipt new transaction block of payment matching the approval number of the change transaction is searched by using payment approval information uniquely issued by the payment approval server as a search key.
제5항에 있어서, 상기 프로세서는
상기 전자영수증 파생 블록체인이 파생되는 상기 전자영수증 신규거래 블록을 루트 블록으로 하고 상기 전자영수증 파생 블록체인에서 최초로 생성되는 전자영수증 변경거래 블록에는 루트 블록의 적어도 일부의 해시코드를 포함시키는 것을 특징으로 하는 블록체인 기반의 전자영수증 관리 장치.
The method of claim 5, wherein the processor
The e-receipt new transaction block from which the e-receipt-derived block chain is derived is used as a root block, and the e-receipt change transaction block first generated in the e-receipt-derived block chain includes a hash code of at least a portion of the root block. Blockchain-based electronic receipt management device.
제5항에 있어서, 상기 프로세서는
상기 전자영수증 파생 블록체인에서 직전에 생성된 전자영수증 변경거래 블록의 적어도 일부의 해시값을 포함하는 전자영수증 변경거래 블록을 생성하는 것을 특징으로 하는 블록체인 기반의 전자영수증 관리 장치.
The method of claim 5, wherein the processor
A block chain-based electronic receipt management device, characterized in that for generating an electronic receipt change transaction block including a hash value of at least a part of the electronic receipt change transaction block generated immediately before in the electronic receipt derivative block chain.
결제 단말 및 결제 승인 서버 간에 수행되는 결제가 승인되면 상기 결제 단말로부터 결제 내역 정보를 기초로 전자영수증 신규거래 블록을 생성하는 단계;
상기 전자영수증 신규거래 블록을 전자영수증 메인 블록체인에 추가하는 단계;
상기 전자영수증 신규거래 블록이 추가된 후에 상기 결제 승인 서버에 의해 상기 결제가 변경될 때마다 전자영수증 변경거래 블록을 생성하는 단계; 및
상기 전자영수증 신규거래 블록에서 파생되는 전자영수증 파생 블록체인에 상기 전자영수증 변경거래 블록을 추가하는 단계를 포함하는 블록체인 기반의 전자영수증 관리 방법.
Generating a new electronic receipt transaction block based on payment details information from the payment terminal when payment performed between the payment terminal and the payment approval server is approved;
Adding the e-receipt new transaction block to the e-receipt main block chain;
Generating an electronic receipt change transaction block whenever the payment is changed by the payment approval server after the new electronic receipt transaction block is added; And
Blockchain-based electronic receipt management method comprising the step of adding the e-receipt change transaction block to an e-receipt-derived blockchain derived from the e-receipt new transaction block.
제9항에 있어서, 상기 전자영수증 신규거래 블록 생성 단계는
상기 결제 승인 서버에 의해 상기 결제가 승인될 때마다 상기 결제 단말로부터 결제 내역 정보를 수신하는 단계; 및
상기 결제 내역 정보를 기초로 전자영수증 신규거래 블록을 생성하는 단계를 포함하는 것을 특징으로 하는 블록체인 기반의 전자영수증 관리 방법.
The method of claim 9, wherein the step of creating a new transaction block for the electronic receipt
Receiving payment detail information from the payment terminal whenever the payment is approved by the payment approval server; And
And generating a new electronic receipt transaction block based on the payment details information.
제9항에 있어서, 상기 전자영수증 변경거래 블록 추가 단계는
상기 전자영수증 메인 블록체인에서 전자영수증 신규거래 블록을 검색하는 단계; 및
상기 검색된 전자영수증 신규블록에서 파생되는 전자영수증 파생 블록체인에 상기 전자영수증 변경거래 블록을 추가하는 단계를 포함하는 것을 특징으로 하는 블록체인 기반의 전자영수증 관리 방법.
The method of claim 9, wherein the step of adding the electronic receipt change transaction block
Searching for a new electronic receipt transaction block in the e-receipt main block chain; And
And adding the e-receipt change transaction block to an e-receipt-derived blockchain derived from the searched e-receipt new block.
KR1020190113601A 2019-09-16 2019-09-16 Apparatus and method for managing electronic receipt based on block chain KR102348741B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190113601A KR102348741B1 (en) 2019-09-16 2019-09-16 Apparatus and method for managing electronic receipt based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190113601A KR102348741B1 (en) 2019-09-16 2019-09-16 Apparatus and method for managing electronic receipt based on block chain

Publications (2)

Publication Number Publication Date
KR20210032168A true KR20210032168A (en) 2021-03-24
KR102348741B1 KR102348741B1 (en) 2022-01-07

Family

ID=75256907

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190113601A KR102348741B1 (en) 2019-09-16 2019-09-16 Apparatus and method for managing electronic receipt based on block chain

Country Status (1)

Country Link
KR (1) KR102348741B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140111490A (en) * 2013-03-11 2014-09-19 에스케이플래닛 주식회사 System and Method for issuing an electronic receipt
KR20180085570A (en) 2017-01-19 2018-07-27 주식회사 케이티 Apparatus for managing data using block chain and method thereof
KR101964692B1 (en) * 2017-05-12 2019-04-02 주식회사 엑스블록시스템즈 Blockchain system and data managing method using blockchain
KR20190036948A (en) 2017-09-28 2019-04-05 주식회사 케이티 System and Method for Managing Original Data in Block-Chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140111490A (en) * 2013-03-11 2014-09-19 에스케이플래닛 주식회사 System and Method for issuing an electronic receipt
KR20180085570A (en) 2017-01-19 2018-07-27 주식회사 케이티 Apparatus for managing data using block chain and method thereof
KR101964692B1 (en) * 2017-05-12 2019-04-02 주식회사 엑스블록시스템즈 Blockchain system and data managing method using blockchain
KR20190036948A (en) 2017-09-28 2019-04-05 주식회사 케이티 System and Method for Managing Original Data in Block-Chain

Also Published As

Publication number Publication date
KR102348741B1 (en) 2022-01-07

Similar Documents

Publication Publication Date Title
US20200302410A1 (en) Virtual currency system
US10055720B2 (en) Virtual currency system
JP6364132B2 (en) Blockchain transaction recording system and method
US9398018B2 (en) Virtual currency system
CA3004250C (en) Virtual currency system
GB2565411A (en) Improved hardware security module management
US20230139952A1 (en) Decentralized computer systems and methods for using a debit network as an intermediary between distributed ledgers
US11803823B2 (en) Systems and methods for blockchain-based payment transactions, alerts, and dispute settlement, using a blockchain interface server
JP6316530B1 (en) Management device, virtual currency system, and system
KR102467373B1 (en) Method, device and system for providing nft-based e-book transaction brokerage service
JP2020021134A (en) Distribution management device, distribution management system and distribution management method
JP7353670B2 (en) management device
KR102438846B1 (en) Method, device and system for providing nft asset trading service of user style information based on did
US20220215418A1 (en) Decentralized computer systems and methods for loyalty points payments using distributed ledgers
KR102327668B1 (en) Apparatus and method for providing electronic receipt using blockchain inquiry code
KR102348741B1 (en) Apparatus and method for managing electronic receipt based on block chain
KR102348739B1 (en) Apparatus and method for storaging electronic receipt based on block chain
WO2021117515A1 (en) Electronic asset management method, and electronic asset management device
KR20230006535A (en) A privacy-preserving decentralized payment network
US20200027117A1 (en) Real-Time Trusted Blockchain Attribution Platform
US11856004B2 (en) Systems and methods for identifying malicious cryptographic addresses
KR102397404B1 (en) Apparatus and method for providing incentive for blockchain based electronic receipt management
US20230039832A1 (en) Method and system for transaction of digital asset
GB2563390A (en) Expendable cryptographic key access

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