KR20210071962A - A method and system for efficiently processing the high transaction throughput required by DApps on the blockchain - Google Patents

A method and system for efficiently processing the high transaction throughput required by DApps on the blockchain Download PDF

Info

Publication number
KR20210071962A
KR20210071962A KR1020217008151A KR20217008151A KR20210071962A KR 20210071962 A KR20210071962 A KR 20210071962A KR 1020217008151 A KR1020217008151 A KR 1020217008151A KR 20217008151 A KR20217008151 A KR 20217008151A KR 20210071962 A KR20210071962 A KR 20210071962A
Authority
KR
South Korea
Prior art keywords
transaction
server
queue
identifier
dapp
Prior art date
Application number
KR1020217008151A
Other languages
Korean (ko)
Other versions
KR102553877B1 (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 라인플러스 주식회사
Publication of KR20210071962A publication Critical patent/KR20210071962A/en
Application granted granted Critical
Publication of KR102553877B1 publication Critical patent/KR102553877B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1042Peer-to-peer [P2P] networks using topology management mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L67/2842
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

디앱에서 요구하는 높은 트랜잭션 처리량을 효율적으로 블록체인에서 처리하기 위한 방법 및 시스템을 제공한다. 본 발명의 실시예들에 따른 트랜잭션 처리 방법은, 디앱(Decentralized Application)에서 요청한 트랜잭션을 수신하는 단계, 상기 트랜잭션을 위한 트랜잭션 식별자를 생성하는 단계, 상기 생성된 트랜잭션 식별자를 포함하는 응답을 상기 디앱으로 전송하는 단계 및 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션이 큐(queue) 서버가 포함하는 큐에 저장된 후, 컨슈머(consumer) 서버에 의해 순차적으로 블록체인에 기록되도록, 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 상기 큐 서버로 전송하는 단계를 포함할 수 있다.It provides a method and system for efficiently processing the high transaction throughput required by DApps on the blockchain. A transaction processing method according to embodiments of the present invention includes receiving a transaction requested by a dApp (Decentralized Application), generating a transaction identifier for the transaction, and sending a response including the generated transaction identifier to the dApp After the step of transmitting and the transaction to which the generated transaction identifier is assigned is stored in a queue included by a queue server, the generated transaction identifier is assigned so that it is sequentially recorded in the block chain by a consumer server It may include sending a transaction to the queue server.

Description

디앱에서 요구하는 높은 트랜잭션 처리량을 효율적으로 블록체인에서 처리하기 위한 방법 및 시스템A method and system for efficiently processing the high transaction throughput required by DApps on the blockchain

아래의 설명은 디앱(Decentralized Application, DApp)에서 요구하는 높은 트랜잭션 처리량을 효율적으로 블록체인에서 처리하기 위한 트랜잭션 처리 방법 및 시스템에 관한 것이다.The description below relates to a transaction processing method and system for efficiently processing the high transaction throughput required by a DApp (Decentralized Application, DApp) on the blockchain.

블록체인(block-chain)은 전자 대장(electronic ledger)으로서, 트랜잭션들을 위한 블록들로 구성된 컴퓨터 기반의 분산형, P2P(peer-to-peer)의 시스템으로 구현된다. 각 트랜잭션(Transaction, Tx)은 블록체인 시스템 내의 참가자들 간에 디지털 자산의 제어 전송을 인코딩하는 데이터 구조이며, 적어도 하나의 입력과 적어도 하나의 출력을 포함한다. 각 블록은 이전 블록의 해시를 포함하여 해당 블록이 함께 연결되어 처음부터 블록체인에 기록된 모든 트랜잭션의 영구적인, 바꿀 수 없는(unalterable) 기록을 생성한다. 예를 들어, 한국공개특허 제10-2018-0113143호는 블록체인 기반의 사용자 정의 화폐 거래 시스템 및 그 동작 방법을 개시하고 있다.A block-chain is an electronic ledger, implemented as a computer-based decentralized, peer-to-peer (P2P) system composed of blocks for transactions. Each Transaction (Tx) is a data structure that encodes the control transfer of digital assets between participants in a blockchain system, and includes at least one input and at least one output. Each block, including the hash of the previous block, is linked together to create a permanent, unalterable record of all transactions recorded on the blockchain from the beginning. For example, Korean Patent Application Laid-Open No. 10-2018-0113143 discloses a blockchain-based user-defined currency transaction system and an operating method thereof.

한편, 디앱(Decentralized Application, DApp)은 백엔드 코드가 탈중앙화된 피어-투-피어 네트워크 상에서 돌아가고 (혹은 데이터 호출 및 등록을 블록체인 데이터베이스에 하고) 이를 프론트엔드에서 인터페이스로 제공해주는 어플리케이션을 말한다. 이때, 블록체인에서 트랜잭션의 쓰기(write)는 블록체인 네트워크상의 노드들간의 합의를 통해 블록을 생성하여 체인에 연결하는 과정이 요구되기 때문에 너무 느리며, 블록체인 자체가 스케일 아웃(scale out)이 되지 않는다. 예를 들어, 블록체인 네트워크에서 블록을 생성하기 위한 노드를 추가하더라도 블록 생성을 위한 합의의 비용이 증가할 뿐, 트랜잭션에 대한 블록 생성 속도가 증가하지는 않는다. 따라서, 블록체인에서 디앱이 요구하는 높은 트랜잭션 처리량을 감당하기 어렵다는 문제점이 있다.On the other hand, a DApp (Decentralized Application, DApp) refers to an application in which the backend code runs on a decentralized peer-to-peer network (or calls and registers data in a blockchain database) and provides it as an interface at the frontend. At this time, the write of a transaction in the block chain is too slow because it requires the process of creating a block through consensus among nodes on the block chain network and connecting it to the chain, and the block chain itself does not scale out. does not For example, in a blockchain network, adding a node to generate a block only increases the cost of consensus for block generation, but does not increase the block generation speed for a transaction. Therefore, there is a problem in that it is difficult to handle the high transaction throughput required by DApps in the blockchain.

디앱(Decentralized Application, DApp)에서 요구하는 높은 트랜잭션 처리량을 효율적으로 블록체인에서 처리하기 위한 트랜잭션 처리 방법 및 시스템을 제공한다.It provides a transaction processing method and system for efficiently processing the high transaction throughput required by DApp (Decentralized Application, DApp) on the blockchain.

디앱에서 요청한 트랜잭션에 수신 서버에서 고유한 트랜잭션 식별자를 부여하여 큐(queue) 서버로 전송하여 큐잉하고, 별도의 컨슈머 서버에서 큐잉된 트랜잭션을 순차적으로 블록체인에 기록함으로써, 스케일 아웃(scale out)이 불가능한 블록체인에 대해서도 디앱이 요구하는 높은 트랜잭션 처리량을 감당할 수 있는 트랜잭션 처리 방법 및 시스템을 제공한다.Scale out is achieved by assigning a unique transaction identifier from the receiving server to the transaction requested by the DApp, sending it to the queue server for queuing, and sequentially recording the transaction queued in a separate consumer server on the blockchain. It provides a transaction processing method and system that can handle the high transaction throughput required by DApps even for impossible blockchains.

트랜잭션 식별자를 디앱으로 리턴함으로써, 디앱에서 해당 트랜잭션에 대해 블록체인에서 블록에 최종 커밋(commit)이 이루어졌는지 여부를 조회할 수 있는 트랜잭션 처리 방법 및 시스템을 제공한다.By returning the transaction identifier to the DApp, the DApp provides a transaction processing method and system that can inquire whether a final commit has been made to the block in the block chain for the transaction.

디앱(Decentralized Application)에서 요청한 트랜잭션을 수신하는 단계; 상기 트랜잭션을 위한 트랜잭션 식별자를 생성하는 단계; 상기 생성된 트랜잭션 식별자를 포함하는 응답을 상기 디앱으로 전송하는 단계; 및 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션이 큐(queue) 서버가 포함하는 큐에 저장된 후, 컨슈머(consumer) 서버에 의해 순차적으로 블록체인에 기록되도록, 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 상기 큐 서버로 전송하는 단계를 포함하는 트랜잭션 처리 방법을 제공한다.Receiving a transaction requested by a DApp (Decentralized Application); generating a transaction identifier for the transaction; transmitting a response including the generated transaction identifier to the dApp; and after the generated transaction to which the transaction identifier is assigned is stored in a queue included in a queue server, the transaction to which the generated transaction identifier is assigned is recorded so that it is sequentially recorded in the block chain by a consumer server. It provides a transaction processing method including the step of transmitting to a queue server.

컴퓨터 장치와 결합되어 트랜잭션 처리 방법을 컴퓨터 장치에 실행시키기 위해 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램을 제공한다.Provided is a computer program stored in a computer-readable recording medium in combination with a computer device to execute a transaction processing method in the computer device.

트랜잭션 처리 방법을 컴퓨터 장치에 실행시키기 위한 컴퓨터 프로그램이 기록되어 있는 것을 특징으로 하는 컴퓨터 판독 가능한 기록매체를 제공한다.It provides a computer-readable recording medium in which a computer program for executing a transaction processing method in a computer device is recorded.

컴퓨터 장치에 있어서, 컴퓨터에서 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서에 의해, 디앱(Decentralized Application)에서 요청한 트랜잭션을 수신하고, 상기 트랜잭션을 위한 트랜잭션 식별자를 생성하고, 상기 생성된 트랜잭션 식별자를 포함하는 응답을 상기 디앱으로 전송하고, 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션이 큐(queue) 서버가 포함하는 큐에 저장된 후, 컨슈머(consumer) 서버에 의해 순차적으로 블록체인에 기록되도록, 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 상기 큐 서버로 전송하는 것을 특징으로 하는 컴퓨터 장치를 제공한다.A computer device comprising: at least one processor implemented to execute computer-readable instructions; receiving, by the at least one processor, a transaction requested by a DApp (Decentralized Application); and generating a transaction identifier for the transaction. It generates, transmits a response including the generated transaction identifier to the dApp, and after the transaction to which the generated transaction identifier is assigned is stored in a queue included by a queue server, sequentially by a consumer server It provides a computer device, characterized in that it transmits the generated transaction identifier to the queue server so that it is recorded in the block chain.

디앱(Decentralized Application)에서 요청한 트랜잭션을 수신하여 상기 트랜잭션을 위한 트랜잭션 식별자를 생성하고, 상기 생성된 트랜잭션 식별자를 포함하는 응답을 상기 디앱으로 전송하고, 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 전송하는 수신 서버; 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 수신하여 큐에 저장하는 큐(queue) 서버로; 및 상기 큐 서버의 큐에 저장된 트랜잭션을 순차적으로 블록체인에 기록하는 컨슈머(consumer) 서버를 포함하는 트랜잭션 처리 시스템을 제공한다.Receiving a transaction requested by a dApp (Decentralized Application), generating a transaction identifier for the transaction, transmitting a response including the generated transaction identifier to the dApp, and transmitting the transaction to which the generated transaction identifier is assigned server; to a queue server that receives the transaction to which the generated transaction identifier is assigned and stores it in a queue; And it provides a transaction processing system comprising a consumer (consumer) server that sequentially records the transactions stored in the queue of the queue server in the block chain.

디앱(Decentralized Application, DApp)에서 요구하는 높은 트랜잭션 처리량을 효율적으로 블록체인에서 처리할 수 있다.The high transaction throughput required by DApps (Decentralized Applications, DApps) can be efficiently processed on the blockchain.

디앱에서 요청한 트랜잭션에 수신 서버에서 고유한 트랜잭션 식별자를 부여하여 큐(queue) 서버로 전송하여 큐잉하고, 별도의 컨슈머(consumer) 서버에서 큐잉된 트랜잭션을 순차적으로 블록체인에 기록함으로써, 스케일 아웃(scale out)이 불가능한 블록체인에 대해서도 디앱이 요구하는 높은 트랜잭션 처리량을 감당할 수 있다.By giving a unique transaction identifier from the receiving server to the transaction requested by the DApp, sending it to the queue server for queuing, and sequentially recording the transaction queued in a separate consumer server on the block chain. It can handle the high transaction throughput required by DApps even for blockchains that cannot be out).

트랜잭션 식별자를 디앱으로 리턴함으로써, 디앱에서 해당 트랜잭션에 대해 블록체인에서 블록에 최종 커밋(commit)이 이루어졌는지 여부를 조회할 수 있다.By returning the transaction identifier to the DApp, the DApp can inquire whether a final commit has been made to the block in the block chain for the transaction.

도 1은 본 발명의 일실시예에 따른 네트워크 환경의 예를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 컴퓨터 장치의 예를 도시한 블록도이다.
도 3은 본 발명의 일실시예에 따른 트랜잭션 처리 시스템의 개략적인 예를 도시한 도면이다.
도 4는 본 발명의 일실시예에 있어서, 트랜잭션 처리 방법의 예를 도시한 흐름도이다.
1 is a diagram illustrating an example of a network environment according to an embodiment of the present invention.
2 is a block diagram illustrating an example of a computer device according to an embodiment of the present invention.
3 is a diagram illustrating a schematic example of a transaction processing system according to an embodiment of the present invention.
4 is a flowchart illustrating an example of a transaction processing method according to an embodiment of the present invention.

발명의 실시를 위한 최선의 형태Best mode for carrying out the invention

이하, 실시예를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings.

본 발명의 실시예들에 따른 트랜잭션 처리 시스템은 이후 설명될 적어도 하나의 컴퓨터 장치에 의해 구현될 수 있다. 컴퓨터 장치에는 본 발명의 일실시예에 따른 컴퓨터 프로그램이 설치 및 구동될 수 있고, 컴퓨터 장치는 구동된 컴퓨터 프로그램의 제어에 따라 본 발명의 일실시예에 따른 트랜잭션 처리 방법을 수행할 수 있다. 상술한 컴퓨터 프로그램은 컴퓨터 장치와 결합되어 트랜잭션 처리 방법을 컴퓨터 장치에 실행시키기 위해 컴퓨터 판독 가능한 기록매체에 저장될 수 있다.A transaction processing system according to embodiments of the present invention may be implemented by at least one computer device to be described later. A computer program according to an embodiment of the present invention may be installed and driven in the computer device, and the computer device may perform a transaction processing method according to an embodiment of the present invention under the control of the driven computer program. The above-described computer program may be stored in a computer-readable recording medium in order to be combined with a computer device and execute a transaction processing method in the computer device.

도 1은 본 발명의 일실시예에 따른 네트워크 환경의 예를 도시한 도면이다. 도 1의 네트워크 환경은 복수의 전자 기기들(110, 120, 130, 140), 복수의 서버들(150, 160) 및 네트워크(170)를 포함하는 예를 나타내고 있다. 이러한 도 1은 발명의 설명을 위한 일례로 전자 기기의 수나 서버의 수가 도 1과 같이 한정되는 것은 아니다. 또한, 도 1의 네트워크 환경은 본 실시예들에 적용 가능한 환경들 중 하나의 예를 설명하는 것일 뿐, 본 실시예들에 적용 가능한 환경이 도 1의 네트워크 환경으로 한정되는 것은 아니다.1 is a diagram illustrating an example of a network environment according to an embodiment of the present invention. The network environment of FIG. 1 shows an example including a plurality of electronic devices 110 , 120 , 130 , 140 , a plurality of servers 150 , 160 , and a network 170 . FIG. 1 is an example for explaining the invention, and the number of electronic devices or the number of servers is not limited as in FIG. 1 . In addition, the network environment of FIG. 1 only describes one example of environments applicable to the present embodiments, and the environment applicable to the present embodiments is not limited to the network environment of FIG. 1 .

복수의 전자 기기들(110, 120, 130, 140)은 컴퓨터 장치로 구현되는 고정형 단말이거나 이동형 단말일 수 있다. 복수의 전자 기기들(110, 120, 130, 140)의 예를 들면, 스마트폰(smart phone), 휴대폰, 네비게이션, 컴퓨터, 노트북, 디지털방송용 단말, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 태블릿 PC 등이 있다. 일례로 도 1에서는 전자 기기 1(110)의 예로 스마트폰의 형상을 나타내고 있으나, 본 발명의 실시예들에서 전자 기기 1(110)은 실질적으로 무선 또는 유선 통신 방식을 이용하여 네트워크(170)를 통해 다른 전자 기기들(120, 130, 140) 및/또는 서버(150, 160)와 통신할 수 있는 다양한 물리적인 컴퓨터 장치들 중 하나를 의미할 수 있다.The plurality of electronic devices 110 , 120 , 130 , and 140 may be a fixed terminal implemented as a computer device or a mobile terminal. Examples of the plurality of electronic devices 110 , 120 , 130 , and 140 include a smart phone, a mobile phone, a navigation device, a computer, a notebook computer, a digital broadcasting terminal, a personal digital assistant (PDA), and a portable multimedia player (PMP). ), and tablet PCs. As an example, although the shape of a smartphone is shown as an example of the electronic device 1110 in FIG. 1 , in the embodiments of the present invention, the electronic device 1110 substantially communicates with the network 170 using a wireless or wired communication method. It may refer to one of various physical computer devices capable of communicating with other electronic devices 120 , 130 , 140 and/or servers 150 and 160 through the communication system.

통신 방식은 제한되지 않으며, 네트워크(170)가 포함할 수 있는 통신망(일례로, 이동통신망, 유선 인터넷, 무선 인터넷, 방송망)을 활용하는 통신 방식뿐만 아니라 기기들간의 근거리 무선 통신 역시 포함될 수 있다. 예를 들어, 네트워크(170)는, PAN(personal area network), LAN(local area network), CAN(campus area network), MAN(metropolitan area network), WAN(wide area network), BBN(broadband network), 인터넷 등의 네트워크 중 하나 이상의 임의의 네트워크를 포함할 수 있다. 또한, 네트워크(170)는 버스 네트워크, 스타 네트워크, 링 네트워크, 메쉬 네트워크, 스타-버스 네트워크, 트리 또는 계층적(hierarchical) 네트워크 등을 포함하는 네트워크 토폴로지 중 임의의 하나 이상을 포함할 수 있으나, 이에 제한되지 않는다.The communication method is not limited, and not only a communication method using a communication network (eg, a mobile communication network, a wired Internet, a wireless Internet, a broadcasting network) that the network 170 may include, but also short-range wireless communication between devices may be included. For example, the network 170 may include a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), and a broadband network (BBN). , the Internet, and the like. In addition, the network 170 may include any one or more of a network topology including a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree, or a hierarchical network, etc. not limited

서버(150, 160) 각각은 복수의 전자 기기들(110, 120, 130, 140)과 네트워크(170)를 통해 통신하여 명령, 코드, 파일, 컨텐츠, 서비스 등을 제공하는 컴퓨터 장치 또는 복수의 컴퓨터 장치들로 구현될 수 있다. 예를 들어, 서버(150)는 네트워크(170)를 통해 접속한 복수의 전자 기기들(110, 120, 130, 140)로 서비스(일례로, 영상통화 서비스, 금융 서비스, 결제 서비스, 소셜 네트워크 서비스, 메시징 서비스, 검색 서비스, 메일 서비스, 컨텐츠 제공 서비스, 질문 및 답변 서비스 등)를 제공하는 시스템일 수 있다.Each of the servers 150 and 160 communicates with the plurality of electronic devices 110 , 120 , 130 , 140 and the network 170 through a computer device or a plurality of computers that provide commands, codes, files, contents, services, etc. It can be implemented in devices. For example, the server 150 provides a service (eg, a video call service, a financial service, a payment service, a social network service) to the plurality of electronic devices 110 , 120 , 130 , 140 accessed through the network 170 . , a messaging service, a search service, a mail service, a content providing service, a question and answer service, etc.).

도 2는 본 발명의 일실시예에 따른 컴퓨터 장치의 예를 도시한 블록도이다. 앞서 설명한 복수의 전자 기기들(110, 120, 130, 140) 각각이나 서버들(150, 160) 각각은 도 2를 통해 도시된 컴퓨터 장치(200)에 의해 구현될 수 있으며, 본 발명의 실시예들에 따른 방법은 이러한 컴퓨터 장치(200)에 의해 수행될 수 있다.2 is a block diagram illustrating an example of a computer device according to an embodiment of the present invention. Each of the aforementioned plurality of electronic devices 110 , 120 , 130 , 140 or each of the servers 150 , 160 may be implemented by the computer device 200 illustrated in FIG. 2 , according to an embodiment of the present invention The method according to the above may be performed by such a computer device 200 .

이때, 도 2에 도시된 바와 같이 컴퓨터 장치(200)는, 메모리(210), 프로세서(220), 통신 인터페이스(230) 그리고 입출력 인터페이스(240)를 포함할 수 있다. 메모리(210)는 컴퓨터에서 판독 가능한 기록매체로서, RAM(random access memory), ROM(read only memory) 및 디스크 드라이브와 같은 비소멸성 대용량 기록장치(permanent mass storage device)를 포함할 수 있다. 여기서 ROM과 디스크 드라이브와 같은 비소멸성 대용량 기록장치는 메모리(210)와는 구분되는 별도의 영구 저장 장치로서 컴퓨터 장치(200)에 포함될 수도 있다. 또한, 메모리(210)에는 운영체제와 적어도 하나의 프로그램 코드가 저장될 수 있다. 이러한 소프트웨어 구성요소들은 메모리(210)와는 별도의 컴퓨터에서 판독 가능한 기록매체로부터 메모리(210)로 로딩될 수 있다. 이러한 별도의 컴퓨터에서 판독 가능한 기록매체는 플로피 드라이브, 디스크, 테이프, DVD/CD-ROM 드라이브, 메모리 카드 등의 컴퓨터에서 판독 가능한 기록매체를 포함할 수 있다. 다른 실시예에서 소프트웨어 구성요소들은 컴퓨터에서 판독 가능한 기록매체가 아닌 통신 인터페이스(230)를 통해 메모리(210)에 로딩될 수도 있다. 예를 들어, 소프트웨어 구성요소들은 네트워크(170)를 통해 수신되는 파일들에 의해 설치되는 컴퓨터 프로그램에 기반하여 컴퓨터 장치(200)의 메모리(210)에 로딩될 수 있다.In this case, as shown in FIG. 2 , the computer device 200 may include a memory 210 , a processor 220 , a communication interface 230 , and an input/output interface 240 . The memory 210 is a computer-readable recording medium and may include a random access memory (RAM), a read only memory (ROM), and a permanent mass storage device such as a disk drive. Here, a non-volatile mass storage device such as a ROM and a disk drive may be included in the computer device 200 as a separate permanent storage device distinct from the memory 210 . Also, the memory 210 may store an operating system and at least one program code. These software components may be loaded into the memory 210 from a computer-readable recording medium separate from the memory 210 . The separate computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD/CD-ROM drive, and a memory card. In another embodiment, the software components may be loaded into the memory 210 through the communication interface 230 instead of a computer-readable recording medium. For example, the software components may be loaded into the memory 210 of the computer device 200 based on a computer program installed by files received through the network 170 .

프로세서(220)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리(210) 또는 통신 인터페이스(230)에 의해 프로세서(220)로 제공될 수 있다. 예를 들어 프로세서(220)는 메모리(210)와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다.The processor 220 may be configured to process instructions of a computer program by performing basic arithmetic, logic, and input/output operations. The instructions may be provided to the processor 220 by the memory 210 or the communication interface 230 . For example, the processor 220 may be configured to execute a received instruction according to a program code stored in a recording device such as the memory 210 .

통신 인터페이스(230)은 네트워크(170)를 통해 컴퓨터 장치(200)가 다른 장치(일례로, 앞서 설명한 저장 장치들)와 서로 통신하기 위한 기능을 제공할 수 있다. 일례로, 컴퓨터 장치(200)의 프로세서(220)가 메모리(210)와 같은 기록 장치에 저장된 프로그램 코드에 따라 생성한 요청이나 명령, 데이터, 파일 등이 통신 인터페이스(230)의 제어에 따라 네트워크(170)를 통해 다른 장치들로 전달될 수 있다. 역으로, 다른 장치로부터의 신호나 명령, 데이터, 파일 등이 네트워크(170)를 거쳐 컴퓨터 장치(200)의 통신 인터페이스(230)를 통해 컴퓨터 장치(200)로 수신될 수 있다. 통신 인터페이스(230)를 통해 수신된 신호나 명령, 데이터 등은 프로세서(220)나 메모리(210)로 전달될 수 있고, 파일 등은 컴퓨터 장치(200)가 더 포함할 수 있는 저장 매체(상술한 영구 저장 장치)로 저장될 수 있다.The communication interface 230 may provide a function for the computer device 200 to communicate with other devices (eg, the storage devices described above) through the network 170 . For example, a request, command, data, file, etc. generated by the processor 220 of the computer device 200 according to a program code stored in a recording device such as the memory 210 is transmitted to the network ( 170) to other devices. Conversely, signals, commands, data, files, etc. from other devices may be received by the computer device 200 through the communication interface 230 of the computer device 200 via the network 170 . A signal, command, or data received through the communication interface 230 may be transferred to the processor 220 or the memory 210 , and the file may be a storage medium (described above) that the computer device 200 may further include. persistent storage).

입출력 인터페이스(240)는 입출력 장치(250)와의 인터페이스를 위한 수단일 수 있다. 예를 들어, 입력 장치는 마이크, 키보드, 카메라 또는 마우스 등의 장치를, 그리고 출력 장치는 디스플레이, 스피커와 같은 장치를 포함할 수 있다. 다른 예로 입출력 인터페이스(240)는 터치스크린과 같이 입력과 출력을 위한 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수도 있다. 입출력 장치(250)는 컴퓨터 장치(200)와 하나의 장치로 구성될 수도 있다.The input/output interface 240 may be a means for an interface with the input/output device 250 . For example, the input device may include a device such as a microphone, keyboard, camera, or mouse, and the output device may include a device such as a display or speaker. As another example, the input/output interface 240 may be a means for an interface with a device in which functions for input and output are integrated into one, such as a touch screen. The input/output device 250 may be configured as one device with the computer device 200 .

또한, 다른 실시예들에서 컴퓨터 장치(200)는 도 2의 구성요소들보다 더 적은 혹은 더 많은 구성요소들을 포함할 수도 있다. 그러나, 대부분의 종래기술적 구성요소들을 명확하게 도시할 필요성은 없다. 예를 들어, 컴퓨터 장치(200)는 상술한 입출력 장치(250) 중 적어도 일부를 포함하도록 구현되거나 또는 트랜시버(transceiver), 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수도 있다.Also, in other embodiments, the computer device 200 may include fewer or more components than those of FIG. 2 . However, there is no need to clearly show most of the prior art components. For example, the computer device 200 may be implemented to include at least a portion of the above-described input/output device 250 or may further include other components such as a transceiver and a database.

도 3은 본 발명의 일실시예에 따른 트랜잭션 처리 시스템의 개략적인 예를 도시한 도면이다. 도 3은 디앱(Decentralized Application, DApp)(310), 수신 서버(320), 노드(330), 큐(queue) 서버(340) 및 컨슈머(consumer) 서버(350)를 나타내고 있다. 이때, 수신 서버(320), 노드(330) 큐 서버(340) 및 컨슈머 서버(350)는 각각 앞서 설명한 컴퓨터 장치(200)에 의해 구현될 수 있다. 실시예에 따라 수신 서버(320), 노드(330) 큐 서버(340) 및 컨슈머 서버(350) 중 적어도 둘 이상이 하나의 컴퓨터 장치(200)에 포함되도록 구현될 수도 있다.3 is a diagram illustrating a schematic example of a transaction processing system according to an embodiment of the present invention. 3 shows a DApp (Decentralized Application, DApp) 310 , a receiving server 320 , a node 330 , a queue server 340 , and a consumer server 350 . In this case, the reception server 320 , the node 330 , the queue server 340 , and the consumer server 350 may be implemented by the computer device 200 described above, respectively. According to an embodiment, at least two or more of the reception server 320 , the node 330 , the queue server 340 , and the consumer server 350 may be implemented to be included in one computer device 200 .

디앱(310)은 탈중앙화된 어플리케이션으로 일례로, 블록체인을 기반으로 플랫폼에서 스마트 컨트랙트(smart contract)로 작동하는 어플리케이션 서비스일 수 있다. 이러한 디앱(310)은 블록체인상에 데이터를 등록(또는 기록)하고 호출할 수 있다. 예를 들어, 디앱(310)은 트랜잭션(transaction, Tx)을 수신 서버(320)로 전달하여 블록체인상에 트랜잭션 데이터를 등록하고자 할 수 있다.The DApp 310 is a decentralized application, and for example, may be an application service that operates as a smart contract on a platform based on a block chain. This DApp 310 can register (or record) data on the block chain and call it. For example, the DApp 310 may transmit a transaction (Tx) to the receiving server 320 to register transaction data on the block chain.

수신 서버(320)는 디앱(310)으로부터 트랜잭션을 수신하여 블록체인에 등록을 시도할 수 있다. 이때, 디앱(310)은 처리해야 할 데이터(트랜잭션들)을 일정 기간 또는 일정량 정리하여 한꺼번에 처리할 수 있다. 다시 말해, 수신 서버(320)는 디앱(310)으로부터 일정 기간 동안의 또는 일정량의 트랜잭션들을 한꺼번에 수신하여 처리해야 하는 상황이 발생할 수 있다. 그러나, 블록체인의 일정 기간(일례로, 분 또는 초) 당 처리량은 한정되어 있으며, 이러한 처리량을 늘리기 위한 스케일 아웃(scale out)이 불가능한 특징을 갖고 있기 때문에, 수신 서버(320)에서 블록체인의 처리량을 넘어서는 트랜잭션들을 한꺼번에 등록하고자 하는 경우, 블록체인의 처리량을 넘어서는 순간부터 모든 트랜잭션의 등록이 실패하게 되는 문제점이 있다.The receiving server 320 may receive a transaction from the DApp 310 and attempt to register it in the block chain. In this case, the DApp 310 may process data (transactions) to be processed for a certain period or a certain amount at once. In other words, a situation may arise in which the receiving server 320 must receive and process transactions for a certain period or a certain amount at once from the DApp 310 . However, the throughput per a certain period (eg, minutes or seconds) of the block chain is limited, and since it has a characteristic that it is impossible to scale out to increase this throughput, the receiving server 320 If you want to register transactions that exceed the throughput at once, there is a problem that registration of all transactions fails from the moment the throughput of the block chain is exceeded.

이러한 문제점을 해결하기 위해, 수신 서버(320)는 트랜잭션들을 직접 블록체인의 노드(350)로 전송하는 대신, 큐 서버(340)로 전송할 수 있다. 이를 위해, 수신 서버(320)는 디앱(310)에 의해 요청된 트랜잭션 각각을 위한 트랜잭션 식별자(TxID)를 생성할 수 있다. 예를 들어, 수신 서버(310)는 트랜잭션에 대한 해시값을 해당 트랜잭션을 위한 트랜잭션 식별자로서 생성할 수 있다. 이때, 수신 서버(320)는 트랜잭션 식별자를 포함하는 응답을 디앱(310)으로 전송하여 디앱(310)의 요청에 응답할 수 있으며, 트랜잭션 식별자가 부여된 트랜잭션을 큐 서버(340)로 전송할 수 있다.To solve this problem, the receiving server 320 may transmit the transactions to the queue server 340 instead of directly transmitting the transactions to the node 350 of the block chain. To this end, the receiving server 320 may generate a transaction identifier (TxID) for each transaction requested by the DApp 310 . For example, the receiving server 310 may generate a hash value for a transaction as a transaction identifier for the corresponding transaction. At this time, the receiving server 320 may respond to the request of the dapp 310 by transmitting a response including the transaction identifier to the dapp 310 , and may transmit the transaction to which the transaction identifier is given to the queue server 340 . .

이때, 수신 서버(320)는 트랜잭션 식별자를 해당 트랜잭션의 사용자의 개인 키(private key)로 서명하여 개인 키로 서명된 트랜잭션 식별자(sign(TxID))를 생성할 수 있으며, 이러한 서명된 트랜잭션 식별자가 부여된 트랜잭션을 큐 서버(340)로 전송할 수도 있다. 예를 들어, 수신 서버(320)는 적어도 하나의 사용자를 위한 전자 지갑을 포함할 수 있다. 이러한 전자 지갑은 사용자의 디앱(310)에서의 사용자 식별자, 사용자의 개인 키 및 블록체인을 위한 퍼블릭 주소 등의 정보를 포함할 수 있다. 이때, 수신 서버(320)는 특정 사용자의 트랜잭션 식별자를 해당 사용자의 개인 키를 이용하여 서명할 수 있다.At this time, the receiving server 320 may generate a transaction identifier (sign(TxID)) signed with the private key by signing the transaction identifier with the user's private key of the corresponding transaction, and the signed transaction identifier is given The transaction may be transmitted to the queue server 340 . For example, the receiving server 320 may include an electronic wallet for at least one user. Such an electronic wallet may include information such as a user identifier in the user's DApp 310, the user's private key, and a public address for the block chain. In this case, the receiving server 320 may sign the transaction identifier of a specific user using the private key of the user.

큐 서버(340)는 수신 서버(320)에서 전송되는 트랜잭션을 큐(341)에 저장할 수 있다. 이때, 컨슈머 서버(350)는 큐 서버(340)의 큐(341)에 저장된 트랜잭션들(각각 고유한 트랜잭션 식별자(또는 서명된 트랜잭션 식별자)가 부여된 트랜잭션들)을 순차적으로 블록체인에 기록하기 위해, 트랜잭션들을 블록체인의 노드(350)로 전송할 수 있다. 이처럼, 디앱(310)이 한꺼번에 전달하는 일정 기간 동안의 또는 일정량의 트랜잭션들이 큐 서버(340)의 큐(341)에 저장되고, 컨슈머 서버(350)를 통해 순차적으로 블록체인에 등록되기 때문에, 본 실시예에 따른 트랜잭션 처리 시스템은 디앱(310)에서 요구하는 높은 트랜잭션 처리량을 효율적으로 블록체인에서 처리할 수 있도록 도울 수 있게 된다.The queue server 340 may store the transaction transmitted from the receiving server 320 in the queue 341 . At this time, the consumer server 350 sequentially records the transactions stored in the queue 341 of the queue server 340 (transactions to which a unique transaction identifier (or signed transaction identifier) is given) in the block chain sequentially. , the transactions can be sent to the node 350 of the blockchain. In this way, because transactions for a certain period or a certain amount of transactions delivered at once by the DApp 310 are stored in the queue 341 of the queue server 340 and sequentially registered in the blockchain through the consumer server 350, this The transaction processing system according to the embodiment can help to efficiently process the high transaction throughput required by the DApp 310 in the block chain.

노드(350)는 블록체인 네트워크에 참여한 노드들 중 하나일 수 있다. 이때, 노드(350)는 트랜잭션을 수신하는 경우, 노드들간의 합의를 통해 수신된 트랜잭션에 대한 블록을 생성하여 블록체인에 추가하도록 구현될 수 있다. 예를 들어, 블록체인 네트워크에서 합의를 위한 노드들 중 전부(또는 기설정된 비율 이상의 노드들)이 합의한 경우, 노드(350)는 트랜잭션을 위한 블록을 생성하고, 합의를 위한 노드들에게도 블록을 생성할 것을 지시할 수 있다. 이 경우, 각각의 노드들에서 블록이 생성되어 해당 노드들이 저장하고 있는 블록체인에 추가될 수 있다. 합의를 위한 노드들은 블록체인 네트워크의 모든 노드들일 수도 있으나, 실시예에 따라 블록체인 네트워크의 모든 노드들 중에서 선정된 일부의 노드들일 수도 있다.The node 350 may be one of the nodes participating in the blockchain network. In this case, when the node 350 receives a transaction, it may be implemented to create a block for the received transaction through an agreement between the nodes and add it to the block chain. For example, when all of the nodes for consensus (or nodes above a preset ratio) in the blockchain network agree, the node 350 generates a block for the transaction, and also creates a block for the nodes for consensus. can instruct you to do In this case, a block is created in each node and can be added to the blockchain stored by the nodes. The nodes for consensus may be all nodes of the blockchain network, but may also be some nodes selected from among all nodes of the blockchain network according to an embodiment.

도 4는 본 발명의 일실시예에 있어서, 트랜잭션 처리 방법의 예를 도시한 흐름도이다. 본 실시예에 따른 트랜잭션 처리 방법은 앞서 설명한 컴퓨터 장치(200)에 의해 수행될 수 있다. 예를 들어, 컴퓨터 장치(200)의 프로세서(220)는 메모리(210)가 포함하는 운영체제의 코드나 적어도 하나의 프로그램의 코드에 따른 제어 명령(instruction)을 실행하도록 구현될 수 있다. 여기서, 프로세서(220)는 컴퓨터 장치(200)에 저장된 코드가 제공하는 제어 명령에 따라 컴퓨터 장치(200)가 도 4의 방법이 포함하는 단계들(410 내지 440)을 수행하도록 컴퓨터 장치(200)를 제어할 수 있다.4 is a flowchart illustrating an example of a transaction processing method according to an embodiment of the present invention. The transaction processing method according to the present embodiment may be performed by the computer device 200 described above. For example, the processor 220 of the computer device 200 may be implemented to execute a control instruction according to a code of an operating system included in the memory 210 or a code of at least one program. Here, the processor 220 causes the computer device 200 to perform steps 410 to 440 included in the method of FIG. 4 according to a control command provided by a code stored in the computer device 200 . can control

단계(410)에서 컴퓨터 장치(200)는 디앱에서 요청한 트랜잭션을 수신할 수 있다. 이미 설명한 바와 같이, 디앱은 처리해야 할 데이터(트랜잭션들)을 일정 기간 또는 일정량 정리하여 한꺼번에 전송할 수 있으며, 컴퓨터 장치(200)는 디앱으로부터 일정 기간 동안의 또는 일정량의 트랜잭션들을 한꺼번에 수신할 수 있다. 이때, 블록체인의 일정 기간 동안의 처리량은 한정되어 있으며 스케일 아웃이 불가능하기 때문에, 컴퓨터 장치(200)는 블록체인이 디앱이 요구하는 높은 트랜잭션 처리량을 효율적으로 블록체인에서 처리할 수 있도록 이후의 단계들(420 내지 440)을 수행할 수 있다.In step 410, the computer device 200 may receive a transaction requested by the DApp. As already described, the DApp may transmit data (transactions) to be processed for a certain period or a certain amount at once, and the computer device 200 may receive transactions for a certain period or a certain amount from the DApp at once. At this time, since the throughput for a certain period of the block chain is limited and scale-out is impossible, the computer device 200 performs the following steps so that the block chain can efficiently process the high transaction throughput required by the DApp in the block chain. Steps 420 to 440 may be performed.

단계(420)에서 컴퓨터 장치(200)는 트랜잭션을 위한 트랜잭션 식별자를 생성할 수 있다. 이때, 컴퓨터 장치(200)는 트랜잭션에 대한 해시값을 트랜잭션 식별자로서 생성할 수 있다. 예를 들어, 트랜잭션의 내용은 기설정된 해시함수의 입력 파라미터가 될 수 있으며, 해시함수의 출력값인 해시값이 트랜잭션 식별자로서 이용될 수 있다.In step 420, the computer device 200 may generate a transaction identifier for the transaction. In this case, the computer device 200 may generate a hash value for the transaction as a transaction identifier. For example, the content of a transaction may be an input parameter of a preset hash function, and a hash value that is an output value of the hash function may be used as a transaction identifier.

단계(430)에서 컴퓨터 장치(200)는 생성된 트랜잭션 식별자를 포함하는 응답을 디앱으로 전송할 수 있다. 이때, 디앱으로 전송된 응답이 포함하는 트랜잭션 식별자는 이후 블록체인에서 디앱이 요청한 트랜잭션에 대해 블록에 최종 커밋(commit)이 이루어졌는지 여부를 조회하는데 활용될 수 있다.In step 430 , the computer device 200 may transmit a response including the generated transaction identifier to the DApp. At this time, the transaction identifier included in the response sent to the DApp can be used to inquire whether a final commit has been made to the block for the transaction requested by the DApp in the block chain.

단계(440)에서 컴퓨터 장치(200)는 생성된 트랜잭션 식별자가 부여된 트랜잭션이 큐 서버가 포함하는 큐에 저장된 후, 컨슈머 서버에 의해 순차적으로 블록체인에 기록되도록, 생성된 트랜잭션 식별자가 부여된 트랜잭션을 큐 서버로 전송할 수 있다. 실시예에 따라, 컴퓨터 장치(200)는 사용자의 사용자 식별자 및 사용자의 개인 키를 미리 저장하고 있을 수 있으며, 생성된 트랜잭션 식별자를 사용자의 개인 키로 서명하여 서명된 트랜잭션 식별자를 생성할 수 있다. 이 경우, 컴퓨터 장치(200)는 단계(440)에서 사용자의 개인 키로 서명된 트랜잭션 식별자를 트랜잭션과 함께 큐 서버로 전송할 수 있다.In step 440, the computer device 200 stores the generated transaction to which the transaction identifier is given in a queue included in the queue server, and then sequentially records the generated transaction identifier in the blockchain by the consumer server. can be sent to the queue server. According to an embodiment, the computer device 200 may store the user's user identifier and the user's private key in advance, and may generate a signed transaction identifier by signing the generated transaction identifier with the user's private key. In this case, the computer device 200 may transmit the transaction identifier signed by the user's private key to the queue server together with the transaction in step 440 .

이때, 큐 서버는 수신되는 트랜잭션을 순차적으로 큐에 저장하도록 구현될 수 있으며, 컨슈머 서버는 큐에 저장된 트랜잭션이 순차적으로 블록체인에 기록되도록 트랜잭션을 블록체인 네트워크의 제1 노드들 중 하나로 전송하도록 구현될 수 있다. 이때, 블록체인 네트워크의 제1 노드들 각각은 제1 노드들간의 합의를 통해 컨슈머 서버로부터 수신되는 트랜잭션에 대한 블록을 생성하여 블록체인에 추가하도록 구현될 수 있다. 이처럼, 디앱이 요구하는 높은 트랜잭션 처리량을 한꺼번에 블록체인에게 직접 요청하는 것이 아니라, 트랜잭션을 큐 서버가 포함하는 큐에 저장한 후, 컨슈머 서버를 통해 순차적으로 처리함에 따라 블록체인이 효율적으로 트랜잭션을 처리할 수 있도록 도울 수 있다.At this time, the queue server may be implemented to sequentially store the received transactions in a queue, and the consumer server is implemented to transmit the transaction to one of the first nodes of the blockchain network so that the transactions stored in the queue are sequentially recorded in the blockchain. can be In this case, each of the first nodes of the blockchain network may be implemented to generate a block for a transaction received from the consumer server through agreement between the first nodes and add it to the blockchain. In this way, instead of directly requesting the high transaction throughput required by the DApp to the blockchain at once, the blockchain efficiently processes the transaction by storing the transaction in a queue included in the queue server and processing it sequentially through the consumer server. can help you do it

이상에서와 같이, 본 발명의 실시예들에 따르면, 디앱(Decentralized Application, DApp)에서 요구하는 높은 트랜잭션 처리량을 효율적으로 블록체인에서 처리할 수 있다. 디앱에서 요청한 트랜잭션에 수신 서버에서 고유한 트랜잭션 식별자를 부여하여 큐(queue) 서버로 전송하여 큐잉하고, 별도의 컨슈머(consumer) 서버에서 큐잉된 트랜잭션을 순차적으로 블록체인에 기록함으로써, 스케일 아웃(scale out)이 불가능한 블록체인에 대해서도 디앱이 요구하는 높은 트랜잭션 처리량을 감당할 수 있다. 트랜잭션 식별자를 디앱으로 리턴함으로써, 디앱에서 해당 트랜잭션에 대해 블록체인에서 블록에 최종 커밋(commit)이 이루어졌는지 여부를 조회할 수 있다.As described above, according to embodiments of the present invention, a high transaction throughput required by a DApp (Decentralized Application, DApp) can be efficiently processed in the block chain. By giving a unique transaction identifier from the receiving server to the transaction requested by the DApp, sending it to the queue server for queuing, and sequentially recording the transaction queued in a separate consumer server on the block chain. It can handle the high transaction throughput required by DApps even for blockchains that cannot be out). By returning the transaction identifier to the DApp, the DApp can inquire whether a final commit has been made to the block in the block chain for the transaction.

이상에서 설명된 시스템 또는 장치는 하드웨어 구성요소, 소프트웨어 구성요소 또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 어플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The system or device described above may be implemented as a hardware component, a software component, or a combination of a hardware component and a software component. For example, devices and components described in the embodiments may include, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA). , a programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions, may be implemented using one or more general purpose or special purpose computers. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to execution of the software. For convenience of understanding, although one processing device is sometimes described as being used, one of ordinary skill in the art will recognize that the processing device includes a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that can include For example, the processing device may include a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록매체에 저장될 수 있다.Software may comprise a computer program, code, instructions, or a combination of one or more of these, which configures a processing device to operate as desired or is independently or collectively processed You can command the device. The software and/or data may be any kind of machine, component, physical device, virtual equipment, computer storage medium or device, to be interpreted by or to provide instructions or data to the processing device. may be embodied in The software may be distributed over networked computer systems, and stored or executed in a distributed manner. Software and data may be stored in one or more computer-readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 통상의 기술자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 이러한 기록매체는 단일 또는 수개 하드웨어가 결합된 형태의 다양한 기록수단 또는 저장수단일 수 있으며, 어떤 컴퓨터 시스템에 직접 접속되는 매체에 한정되지 않고, 네트워크 상에 분산 존재하는 것일 수도 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the embodiment, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and carry out program instructions, such as ROM, RAM, flash memory, and the like. Such a recording medium may be various recording means or storage means in the form of a single or a combination of several hardware, and is not limited to a medium directly connected to any computer system, and may exist distributed on a network. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

발명의 실시를 위한 형태Modes for carrying out the invention

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with reference to the limited embodiments and drawings, various modifications and variations are possible from the above description by those skilled in the art. For example, the described techniques are performed in a different order than the described method, and/or the described components of the system, structure, apparatus, circuit, etc. are combined or combined in a different form than the described method, or other components Or substituted or substituted by equivalents may achieve an appropriate result.

그러므로, 다른 구현들, 다른 실시예들 및 청구범위와 균등한 것들도 후술하는 청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

Claims (16)

디앱(Decentralized Application)에서 요청한 트랜잭션을 수신하는 단계;
상기 트랜잭션을 위한 트랜잭션 식별자를 생성하는 단계;
상기 생성된 트랜잭션 식별자를 포함하는 응답을 상기 디앱으로 전송하는 단계; 및
상기 생성된 트랜잭션 식별자가 부여된 트랜잭션이 큐(queue) 서버가 포함하는 큐에 저장된 후, 컨슈머(consumer) 서버에 의해 순차적으로 블록체인에 기록되도록, 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 상기 큐 서버로 전송하는 단계
를 포함하는 트랜잭션 처리 방법.
Receiving a transaction requested by a DApp (Decentralized Application);
generating a transaction identifier for the transaction;
transmitting a response including the generated transaction identifier to the dApp; and
After the generated transaction to which the transaction identifier is assigned is stored in a queue included in a queue server, the generated transaction identifier is stored in the block chain by a consumer server in sequence. Steps to send to server
A transaction processing method, including
제1항에 있어서,
상기 트랜잭션을 위한 트랜잭션 식별자를 생성하는 단계는,
상기 트랜잭션에 대한 해시값을 트랜잭션 식별자로서 생성하는 것을 특징으로 하는 트랜잭션 처리 방법.
According to claim 1,
The step of generating a transaction identifier for the transaction comprises:
A transaction processing method, characterized in that generating a hash value for the transaction as a transaction identifier.
제1항에 있어서,
사용자의 사용자 식별자 및 상기 사용자의 개인 키를 저장하는 단계; 및
상기 생성된 트랜잭션 식별자를 상기 사용자의 개인 키로 서명하는 단계
를 더 포함하고,
상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 상기 큐 서버로 전송하는 단계는,
상기 사용자의 개인 키로 서명된 트랜잭션 식별자를 상기 트랜잭션과 함께 상기 큐 서버로 전송하는 것
을 특징으로 하는 트랜잭션 처리 방법.
According to claim 1,
storing a user identifier of a user and a private key of the user; and
signing the generated transaction identifier with the user's private key
further comprising,
Transmitting the transaction to which the generated transaction identifier is assigned to the queue server comprises:
sending a transaction identifier signed with the user's private key to the queue server along with the transaction
A transaction processing method characterized in that.
제1항에 있어서,
상기 큐 서버는 수신되는 트랜잭션을 순차적으로 큐에 저장하도록 구현되고,
상기 컨슈머 서버는 큐에 저장된 트랜잭션이 순차적으로 블록체인에 기록되도록 트랜잭션을 블록체인 네트워크의 제1 노드들 중 하나로 전송하도록 구현되는 것
을 특징으로 하는 트랜잭션 처리 방법.
According to claim 1,
The queue server is implemented to sequentially store received transactions in a queue,
The consumer server is implemented to transmit the transaction to one of the first nodes of the blockchain network so that the transaction stored in the queue is sequentially recorded in the blockchain.
A transaction processing method characterized in that.
제4항에 있어서,
상기 블록체인 네트워크의 제1 노드들 각각은 상기 제1 노드들간의 합의를 통해 상기 컨슈머 서버로부터 수신되는 트랜잭션에 대한 블록을 생성하여 블록체인에 추가하도록 구현되는 것
을 특징으로 하는 트랜잭션 처리 방법.
5. The method of claim 4,
Each of the first nodes of the blockchain network is implemented to create a block for a transaction received from the consumer server through an agreement between the first nodes and add it to the blockchain
A transaction processing method characterized in that.
제1항에 있어서,
상기 디앱으로 전송된 응답이 포함하는 트랜잭션 식별자를 통해 상기 블록체인에서 상기 디앱이 요청한 트랜잭션에 대해 블록에 최종 커밋(commit)이 이루어졌는지 여부가 조회되는 것을 특징으로 하는 트랜잭션 처리 방법.
According to claim 1,
A transaction processing method, characterized in that through the transaction identifier included in the response sent to the DApp, whether a final commit has been made to the block for the transaction requested by the DApp in the block chain is inquired.
컴퓨터 장치와 결합되어 제1항 내지 제6항 중 어느 한 항의 방법을 컴퓨터 장치에 실행시키기 위해 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램.A computer program stored in a computer-readable recording medium in combination with a computer device to cause the computer device to execute the method of any one of claims 1 to 6. 제1항 내지 제6항 중 어느 한 항의 방법을 컴퓨터 장치에 실행시키기 위한 컴퓨터 프로그램이 기록되어 있는 것을 특징으로 하는 컴퓨터 판독 가능한 기록매체.A computer-readable recording medium having a computer program recorded thereon for executing the method of any one of claims 1 to 6 in a computer device. 컴퓨터 장치에 있어서,
컴퓨터에서 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서
를 포함하고,
상기 적어도 하나의 프로세서에 의해,
디앱(Decentralized Application)에서 요청한 트랜잭션을 수신하고,
상기 트랜잭션을 위한 트랜잭션 식별자를 생성하고,
상기 생성된 트랜잭션 식별자를 포함하는 응답을 상기 디앱으로 전송하고,
상기 생성된 트랜잭션 식별자가 부여된 트랜잭션이 큐(queue) 서버가 포함하는 큐에 저장된 후, 컨슈머(consumer) 서버에 의해 순차적으로 블록체인에 기록되도록, 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 상기 큐 서버로 전송하는 것
을 특징으로 하는 컴퓨터 장치.
In a computer device,
at least one processor implemented to execute computer-readable instructions
including,
by the at least one processor,
Receive the transaction requested by the DApp (Decentralized Application),
generating a transaction identifier for the transaction;
Transmitting a response including the generated transaction identifier to the DApp,
After the generated transaction to which the transaction identifier is assigned is stored in a queue included in a queue server, the generated transaction identifier is stored in the block chain by a consumer server in sequence. sending to the server
A computer device characterized by a.
제9항에 있어서,
상기 적어도 하나의 프로세서에 의해,
상기 트랜잭션에 대한 해시값을 트랜잭션 식별자로서 생성하는 것
을 특징으로 하는 컴퓨터 장치.
10. The method of claim 9,
by the at least one processor,
generating a hash value for the transaction as a transaction identifier
A computer device characterized by a.
제9항에 있어서,
상기 적어도 하나의 프로세서에 의해,
사용자의 사용자 식별자 및 상기 사용자의 개인 키를 저장하고,
상기 생성된 트랜잭션 식별자를 상기 사용자의 개인 키로 서명하고,
상기 사용자의 개인 키로 서명된 트랜잭션 식별자를 상기 트랜잭션과 함께 상기 큐 서버로 전송하는 것
을 특징으로 하는 컴퓨터 장치.
10. The method of claim 9,
by the at least one processor,
store the user's user identifier and the user's private key;
signing the generated transaction identifier with the user's private key,
sending a transaction identifier signed with the user's private key to the queue server along with the transaction
A computer device characterized by a.
제9항에 있어서,
상기 큐 서버는 수신되는 트랜잭션을 순차적으로 큐에 저장하도록 구현되고,
상기 컨슈머 서버는 큐에 저장된 트랜잭션이 순차적으로 블록체인에 기록되도록 트랜잭션을 블록체인 네트워크의 제1 노드들 중 하나로 전송하도록 구현되는 것
을 특징으로 하는 컴퓨터 장치.
10. The method of claim 9,
The queue server is implemented to sequentially store received transactions in a queue,
The consumer server is implemented to transmit the transaction to one of the first nodes of the blockchain network so that the transaction stored in the queue is sequentially recorded in the blockchain.
A computer device characterized by a.
제12항에 있어서,
상기 블록체인 네트워크의 제1 노드들 각각은 상기 제1 노드들간의 합의를 통해 상기 컨슈머 서버로부터 수신되는 트랜잭션에 대한 블록을 생성하여 블록체인에 추가하도록 구현되는 것
을 특징으로 하는 컴퓨터 장치.
13. The method of claim 12,
Each of the first nodes of the blockchain network is implemented to create a block for a transaction received from the consumer server through an agreement between the first nodes and add it to the blockchain
A computer device characterized by a.
제9항에 있어서,
상기 디앱으로 전송된 응답이 포함하는 트랜잭션 식별자를 통해 상기 블록체인에서 상기 디앱이 요청한 트랜잭션에 대해 블록에 최종 커밋(commit)이 이루어졌는지 여부가 조회되는 것
을 특징으로 하는 컴퓨터 장치.
10. The method of claim 9,
Inquiring whether a final commit has been made to the block for the transaction requested by the DApp in the block chain through the transaction identifier included in the response sent to the DApp
A computer device characterized by a.
디앱(Decentralized Application)에서 요청한 트랜잭션을 수신하여 상기 트랜잭션을 위한 트랜잭션 식별자를 생성하고, 상기 생성된 트랜잭션 식별자를 포함하는 응답을 상기 디앱으로 전송하고, 상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 전송하는 수신 서버;
상기 생성된 트랜잭션 식별자가 부여된 트랜잭션을 수신하여 큐에 저장하는 큐(queue) 서버로; 및
상기 큐 서버의 큐에 저장된 트랜잭션을 순차적으로 블록체인에 기록하는 컨슈머(consumer) 서버
를 포함하는 트랜잭션 처리 시스템.
Receiving a transaction requested by a dApp (Decentralized Application), generating a transaction identifier for the transaction, transmitting a response including the generated transaction identifier to the dApp, and transmitting the transaction to which the generated transaction identifier is assigned server;
to a queue server that receives the generated transaction to which the transaction identifier is assigned and stores it in a queue; and
A consumer server that sequentially records the transactions stored in the queue of the queue server in the block chain
A transaction processing system comprising a.
제15항에 있어서,
상기 컨슈머 서버는 상기 큐 서버의 큐에 저장된 트랜잭션이 순차적으로 블록체인에 기록되도록 트랜잭션을 블록체인 네트워크의 제1 노드들 중 하나로 전송하고,
상기 블록체인 네트워크의 제1 노드들 각각은 상기 제1 노드들간의 합의를 통해 상기 컨슈머 서버로부터 수신되는 트랜잭션에 대한 블록을 생성하여 블록체인에 추가하도록 구현되는 것
을 특징으로 하는 트랜잭션 처리 시스템.
16. The method of claim 15,
The consumer server transmits the transaction to one of the first nodes of the block chain network so that the transactions stored in the queue of the queue server are sequentially recorded in the block chain,
Each of the first nodes of the blockchain network is implemented to create a block for a transaction received from the consumer server through an agreement between the first nodes and add it to the blockchain
A transaction processing system characterized by a.
KR1020217008151A 2018-11-05 2018-11-05 A method and system for efficiently processing the high transaction throughput required by DApps in the blockchain KR102553877B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/KR2018/013315 WO2020096072A1 (en) 2018-11-05 2018-11-05 Method and system for efficiently processing, in block-chain, high transaction throughput required by dapp

Publications (2)

Publication Number Publication Date
KR20210071962A true KR20210071962A (en) 2021-06-16
KR102553877B1 KR102553877B1 (en) 2023-07-10

Family

ID=70612426

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020217008151A KR102553877B1 (en) 2018-11-05 2018-11-05 A method and system for efficiently processing the high transaction throughput required by DApps in the blockchain

Country Status (3)

Country Link
JP (1) JP7339335B2 (en)
KR (1) KR102553877B1 (en)
WO (1) WO2020096072A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102474866B1 (en) * 2020-11-16 2022-12-05 두나무 주식회사 Method and apparatus for managing document based on blockchain network
WO2022125595A1 (en) * 2020-12-07 2022-06-16 Deixis, PBC Heterogeneous integration with distributed ledger blockchain services
CN112884579A (en) * 2021-02-08 2021-06-01 京东数科海益信息科技有限公司 Block chain transaction consensus method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101680540B1 (en) * 2015-06-18 2016-11-30 주식회사 코인플러그 Financial institution document verification system that is based on the block chain
KR101799343B1 (en) * 2016-05-16 2017-11-22 주식회사 코인플러그 Method for using, revoking certificate information and blockchain-based server using the same

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2008105099A1 (en) 2007-02-28 2010-06-03 富士通株式会社 Application cooperation control program, application cooperation control method, and application cooperation control apparatus
JP7308756B2 (en) 2016-12-30 2023-07-14 ビーシー ディベロップメント ラボズ ゲーエムベーハー Blockchain compatible service provider system
KR102026225B1 (en) * 2017-01-19 2019-09-27 주식회사 케이티 Apparatus for managing data using block chain and method thereof
US20190079998A1 (en) * 2017-01-31 2019-03-14 Thomas Jay Rush Blockchain data-processing engine
CN111917864B (en) * 2017-02-22 2023-08-22 创新先进技术有限公司 Service verification method and device
JP6942985B2 (en) 2017-03-23 2021-09-29 沖電気工業株式会社 Remittance source device, remittance destination device, remittance method, remittance method, program and remittance system
CN107391527B (en) 2017-03-28 2020-03-27 创新先进技术有限公司 Data processing method and device based on block chain
CN108376106A (en) 2018-02-01 2018-08-07 中国工商银行股份有限公司 A kind of block chain message feedback method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101680540B1 (en) * 2015-06-18 2016-11-30 주식회사 코인플러그 Financial institution document verification system that is based on the block chain
KR101799343B1 (en) * 2016-05-16 2017-11-22 주식회사 코인플러그 Method for using, revoking certificate information and blockchain-based server using the same

Also Published As

Publication number Publication date
JP2022520141A (en) 2022-03-29
KR102553877B1 (en) 2023-07-10
JP7339335B2 (en) 2023-09-05
WO2020096072A1 (en) 2020-05-14

Similar Documents

Publication Publication Date Title
KR102034840B1 (en) Computer program to run the method of distributing users to groups by test and server
KR102118178B1 (en) Multiple transaction parallel processing method and system for blockchain
JP6944805B2 (en) Device-to-device application interlocking method and system
JP6882924B2 (en) Service interlocking method, system and computer program between servers that identify registered users using different user identification systems
JP2019185767A (en) Method and system for providing remittance function by recognizing contents of message in messenger provided with remittance function
KR102553877B1 (en) A method and system for efficiently processing the high transaction throughput required by DApps in the blockchain
US8843631B2 (en) Dynamic local function binding apparatus and method
CN101390079A (en) Migrating a virtual machine that owns a resource such as a hardware device
KR102542631B1 (en) Method and system for verifying blockchain data stored in a storage format different from blockchain
TW201729121A (en) Cloud service server and method for managing cloud service server
US11652765B2 (en) Method, system, and non-transitory computer-readable record medium for controlling internet of things (IoT) device using messenger bot
JP6758139B2 (en) Systems and methods for efficient call processing
JP2017045462A (en) System and method for authenticating user by using contact list
CN110737723A (en) Method, device and equipment for getting card ticket and storage medium
KR102204403B1 (en) Transaction processing system and method enabling extension of block chain
JP6285579B2 (en) Long polling processing method and system, and recording medium
US11258838B2 (en) Method, system, and non-transitory computer readable record medium for processing chatroom based on usage
KR20220084401A (en) Escrow transaction method and system using smart contract in blockchain
KR101721379B1 (en) Method and system for efficient call processing
KR102606911B1 (en) Method and system for controlling traffic inbound to application programming interface server
US20220215381A1 (en) Methods, systems, and non-transitory computer-readable record media for prompt transfer of cryptocurrency
CN117201598A (en) Data processing method, device, computer equipment and medium of block chain network
CN116820947A (en) Application program testing method and device
JP2017215951A (en) Method of providing digital content, computer program, and system
JP2017518551A (en) System and method for routing messages in a distributed computing environment

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant