KR20210114818A - Method and apparatus for generating hybrid blockchain - Google Patents

Method and apparatus for generating hybrid blockchain Download PDF

Info

Publication number
KR20210114818A
KR20210114818A KR1020200030436A KR20200030436A KR20210114818A KR 20210114818 A KR20210114818 A KR 20210114818A KR 1020200030436 A KR1020200030436 A KR 1020200030436A KR 20200030436 A KR20200030436 A KR 20200030436A KR 20210114818 A KR20210114818 A KR 20210114818A
Authority
KR
South Korea
Prior art keywords
chain
ledger
size
smart contract
hybrid
Prior art date
Application number
KR1020200030436A
Other languages
Korean (ko)
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 KR1020200030436A priority Critical patent/KR20210114818A/en
Publication of KR20210114818A publication Critical patent/KR20210114818A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/278Data partitioning, e.g. horizontal or vertical partitioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2372Updates performed during offline database operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • H04L2209/38

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Power Engineering (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Disclosed is a method for generating a hybrid blockchain. The method for generating a hybrid blockchain includes the steps of: receiving an environment variable input including information on at least one of the size of the blockchain ledger, a change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract; determining a structure of a hybrid blockchain system composed of on-chain and off-chain by analyzing the environment variable input; and generating the on-chain and the off-chain to correspond to the determined structure.

Description

하이브리드 블록체인 생성 방법 및 장치{METHOD AND APPARATUS FOR GENERATING HYBRID BLOCKCHAIN}Hybrid blockchain creation method and device

본 발명은 온체인과 오프체인으로 구성되는 하이브리드 블록체인의 생성 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for generating a hybrid blockchain composed of on-chain and off-chain.

블록체인은 탈중앙화되고 신뢰할 수 있는 기능을 제공하지만, 블록체인에서의 응용 프로그램 처리 비용과 확장성 문제로, 많은 부분은 기존의 방식을 이용하여 처리하되, 블록체인의 장점을 저해하지 않도록 decentralized on-chain 과 centralized off-chain 의 장점을 서로 상호 보완할 수 있는 하이브리드 블록체인이 제안되었다.Blockchain provides decentralized and reliable functions, but due to application processing costs and scalability issues in the blockchain, many parts are processed using the existing method, but decentralized on so as not to undermine the advantages of the blockchain A hybrid blockchain that can complement the advantages of -chain and centralized off-chain has been proposed.

속도와 관련하여 온체인의 경우 블록 생성시간과 write 연산의 전파에 시간이 많이 소요되어 속도에 문제가 있는 반면 오프체인의 경우 즉시 트랜잭션 수행이 가능한 장점이 있다.Regarding speed, in the case of on-chain, it takes a lot of time for block creation and propagation of write operation, so there is a problem with speed, whereas off-chain has the advantage of being able to perform transactions immediately.

개인정보보호 및 익명성과 관련하여 온체인의 경우 모든 기록이 블록체인에 저장되어 프라이버시와 익명성 보장이 어려운 반면 오프체인의 경우 기록을 공개하지 않아도 되고 암호화 기술을 이용하여 시스템 관리자 조차도 트랜잭션 참여자를 알 수 없도록 할 수 있는 장점이 있다.Regarding privacy and anonymity, in the case of on-chain, all records are stored on the block chain, making it difficult to guarantee privacy and anonymity. There are advantages to not being able to.

비용 및 확장성과 관련하여 온체인의 경우 트랜잭션 비용이 상대적으로 낮지만 많은 응용프로그램에서는 부담이 될 수 있으며, 블록생성시간과 트랜잭션 처리수에 따른 확장성에도 문제가 있다.Regarding cost and scalability, on-chain transaction costs are relatively low, but it can be a burden for many applications, and there is also a problem in scalability according to block creation time and number of transaction processing.

따라서, 이러한 온체인과 오프체인의 장단점을 적절히 활용가능할 뿐만 아니라 블록체인이 운용되는 환경 및 블록체인의 요구사항에 적합하게 설계된 하이브리드 블록체인을 자동적으로 생성할 수 있는 방법 및 장치에 대한 필요성이 대두되고 있다.Therefore, there is a need for a method and device that can not only properly utilize the advantages and disadvantages of on-chain and off-chain, but also automatically create a hybrid blockchain designed to suit the environment in which the blockchain operates and the requirements of the blockchain. is becoming

본 발명은 블록체인이 운용되는 환경 및 블록체인의 요구사항에 적합하도록 하이브리드 블록체인을 자동적으로 생성하는 방법 및 장치를 제공하고자 한다.An object of the present invention is to provide a method and apparatus for automatically generating a hybrid block chain to suit the environment in which the block chain is operated and the requirements of the block chain.

본 발명이 해결하고자 하는 과제는 이상에서 언급한 과제(들)로 제한되지 않으며, 언급되지 않은 또 다른 과제(들)은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The problem to be solved by the present invention is not limited to the problem(s) mentioned above, and another problem(s) not mentioned will be clearly understood by those skilled in the art from the following description.

본 발명은 하이브리드 블록체인 생성 방법에 있어서 블록체인 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 포함하는 환경변수입력을 수신하는 단계; 상기 환경변수입력을 분석하여, 온체인(On-chain)과 오프체인(Off-chain)으로 구성된 하이브리드 블록체인 시스템의 구조를 결정하는 단계; 및 상기 결정된 구조에 대응되도록, 상기 온체인과 상기 오프체인을 생성하는 단계;를 포함한다.The present invention provides a method for generating a hybrid block chain, comprising: receiving an environment variable input including information on at least one of the size of the block chain ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract; determining the structure of a hybrid blockchain system composed of on-chain and off-chain by analyzing the environment variable input; and generating the on-chain and the off-chain to correspond to the determined structure.

바람직하게는, 상기 온체인은 블록체인이고, 상기 오프체인은 데이터베이스일 수 있다.Preferably, the on-chain may be a blockchain, and the off-chain may be a database.

바람직하게는, 상기 환경변수입력을 수신하는 단계는 미리 제공된 API를 통해 상기 환경변수입력을 수신할 수 있다.Preferably, the receiving of the environment variable input may include receiving the environment variable input through an API provided in advance.

바람직하게는, 상기 환경변수입력이 dApp(decentralized Application)일 때, 상기 하이브리드 블록체인 시스템의 구조를 결정하는 단계는 상기 dApp을 분석하여 상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 획득하는 단계; 및 상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 분석하여, 상기 하이브리드 블록체인 시스템의 구조를 결정하는 단계를 포함할 수 있다.Preferably, When the environment variable input is a dApp (decentralized application), the step of determining the structure of the hybrid blockchain system is analyzing the dApp to determine the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the smart contract obtaining information on at least one of the amount of calculations required for execution of and determining the structure of the hybrid blockchain system by analyzing information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract. can

바람직하게는, 상기 환경변수입력은 요구되는 신뢰성에 대한 정보를 더 포함할 수 있다.Preferably, the environment variable input may further include information on required reliability.

바람직하게는, 상기 하이브리드 블록체인 시스템의 구조를 결정하는 단계는 상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 각각에 비례하고, 상기 신뢰성에 반비례하도록 결정되는 환경설정지수와 소정의 환경설정지수 임계치에 기반하여, 상기 하이브리드 블록체인 시스템의 구조를 결정할 수 있다.Preferably, the step of determining the structure of the hybrid blockchain system is proportional to the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract, respectively, and inversely proportional to the reliability Based on the environment setting index determined to be performed and a predetermined environment setting index threshold, the structure of the hybrid block chain system can be determined.

본 발명은 하이브리드 블록체인 생성 장치에 있어서 블록체인 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 포함하는 환경변수입력을 수신하는 수신부; 상기 환경변수입력을 분석하여, 온체인(On-chain)과 오프체인(Off-chain)으로 구성된 하이브리드 블록체인 시스템의 구조를 결정하는 결정부; 및 상기 결정된 구조에 대응되도록, 상기 온체인과 상기 오프체인을 생성하는 생성부;를 포함한다.The present invention provides a hybrid block chain generating device, comprising: a receiving unit for receiving an environment variable input including information on at least one of the size of the block chain ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract; a determining unit that analyzes the environment variable input and determines the structure of a hybrid block chain system composed of on-chain and off-chain; and a generating unit that generates the on-chain and the off-chain to correspond to the determined structure.

바람직하게는, 상기 온체인은 블록체인이고, 상기 오프체인은 데이터베이스일 수 있다.Preferably, the on-chain may be a blockchain, and the off-chain may be a database.

바람직하게는, 상기 수신부는 미리 제공된 API를 통해 상기 환경변수정보를 수신할 수 있다.Preferably, the receiving unit may receive the environment variable information through an API provided in advance.

바람직하게는, 상기 환경변수입력이 dApp일 때, 상기 결정부는 상기 dApp을 분석하여 상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 획득하고, 상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 분석하여, 상기 하이브리드 블록체인 시스템의 구조를 결정할 수 있다.Preferably, when the environment variable input is a dApp, the determination unit analyzes the dApp to determine at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract. to determine the structure of the hybrid block chain system by acquiring information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract can

바람직하게는, 상기 환경변수입력은 요구되는 신뢰성에 대한 정보를 더 포함할 수 있다.Preferably, the environment variable input may further include information on required reliability.

바람직하게는, 상기 결정부는 상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 각각에 비례하고, 상기 신뢰성에 반비례하도록 결정되는 환경설정지수와 소정의 환경설정지수 임계치에 기반하여, 상기 하이브리드 블록체인 시스템의 구조를 결정할 수 있다.Preferably, the determination unit is proportional to each of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract, and is inversely proportional to the reliability. Based on the preference index threshold, the structure of the hybrid blockchain system can be determined.

본 발명은 블록체인과 연동되는 dApp의 입력 또는 API를 통한 변수 입력을 통해, 블록체인이 운용되는 환경 및 블록체인의 요구사항에 적합한 하이브리드 블록체인을 생성할 수 있는 효과가 있다.The present invention has the effect of creating a hybrid block chain suitable for the environment in which the block chain is operated and the requirements of the block chain through the input of a dApp interlocked with the block chain or variable input through the API.

도 1은 본 발명의 일 실시예에 따른 하이브리드 블록체인 생성 방법을 설명하기 위한 흐름도이다.
도 2는 본 발명의 일 실시예에 따른 dApp에 기반한 하이브리드 블록체인 시스템의 구조 결정 방법을 설명하기 위한 흐름도이다.
도 3은 본 발명의 일 실시예에 따른 하이브리드 블록체인 생성 장치의 블록도이다.
도 4는 본 발명의 일 실시예에 따른 하이브리드 블록체인과 dApp의 관계를 설명하기 위한 도면이다.
1 is a flowchart illustrating a hybrid block chain generation method according to an embodiment of the present invention.
2 is a flowchart illustrating a method for determining the structure of a hybrid blockchain system based on a dApp according to an embodiment of the present invention.
3 is a block diagram of an apparatus for generating a hybrid block chain according to an embodiment of the present invention.
4 is a diagram for explaining the relationship between a hybrid blockchain and a dApp according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.Since the present invention can have various changes and can have various embodiments, specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present invention to specific embodiments, and it should be understood to include all modifications, equivalents and substitutes included in the spirit and scope of the present invention. In describing each figure, like reference numerals have been used for like elements.

제1, 제2, A, B 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.Terms such as first, second, A, and B may be used to describe various elements, but the elements should not be limited by the terms. The above terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, a first component may be referred to as a second component, and similarly, a second component may also be referred to as a first component. and/or includes a combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is referred to as being “connected” or “connected” to another component, it is understood that the other component may be directly connected or connected to the other component, but other components may exist in between. it should be On the other hand, when it is said that a certain element is "directly connected" or "directly connected" to another element, it should be understood that no other element is present in the middle.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the present application are only used to describe specific embodiments, and are not intended to limit the present invention. The singular expression includes the plural expression unless the context clearly dictates otherwise. In the present application, terms such as “comprise” or “have” are intended to designate that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, but one or more other features It should be understood that this does not preclude the existence or addition of numbers, steps, operations, components, parts, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. Unless defined otherwise, all terms used herein, including technical and scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the related art, and should not be interpreted in an ideal or excessively formal meaning unless explicitly defined in the present application. does not

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세하게 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 하이브리드 블록체인 생성 방법을 설명하기 위한 흐름도이다.1 is a flowchart for explaining a hybrid block chain generation method according to an embodiment of the present invention.

단계 S110에서는, 하이브리드 블록체인 생성 장치가 블록체인 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 포함하는 환경변수입력을 수신한다.In step S110, the hybrid block chain generating device receives an environment variable input including information on at least one of the size of the block chain ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract.

여기서, 원장(ledger)은 블록체인의 최초블록(genesis block)이후의 모든 트랜잭션에 대한 정보를 저장한 데이터일 수 있다. 원장의 크기는 그 데이터의 크기를 의미하며, 원장의 변경빈도는 원장에 새로운 데이터가 추가 또는 기존의 데이터가 변경되는 빈도를 의미할 수 있다.Here, the ledger may be data storing information about all transactions after the genesis block of the block chain. The size of the ledger means the size of the data, and the change frequency of the ledger may mean the frequency at which new data is added or existing data is changed in the ledger.

또한, 스마트컨트랙트(smart contract)는 블록체인 기반으로 금융거래, 부동산 계약, 공증 등 다양한 형태의 계약을 체결하고 이행하는 것을 말한다. 스마트컨트랙트의 크기는 스마트컨트랙트에 해당하는 파일 또는 데이터의 크기를 의미하며, 스마트컨트랙트의 실행에 필요한 연산량은 스마트컨트랙트가 실행되기 위하여 노드에게 요구되는 연산량을 의미할 수 있다.In addition, a smart contract refers to the conclusion and implementation of various types of contracts such as financial transactions, real estate contracts, and notarization based on blockchain. The size of the smart contract means the size of a file or data corresponding to the smart contract, and the amount of computation required for the execution of the smart contract may mean the amount of computation required for a node to execute the smart contract.

또 다른 실시예에서는, 하이브리드 블록체인 생성 장치가 미리 제공된 API를 통해 환경변수입력을 수신할 수 있다.In another embodiment, the hybrid blockchain generating device may receive an environment variable input through an API provided in advance.

예컨대, 하이브리드 블록체인 생성 장치는 미리 제공된 API(application programming interface)를 통해 dApp으로부터 입력되는 환경변수입력을 수신할 수 있다. 보다 구체적으로, 도 4를 참조하면, Applications에서 API를 호출(404)함으로써, 하이브리드 블록체인 인터페이스를 통해 하이브리드 블록체인 생성 장치가 환경변수입력을 수신할 수 있다.For example, the hybrid blockchain generating device may receive an environment variable input from the dApp through a pre-provided application programming interface (API). More specifically, referring to FIG. 4 , by calling the API 404 in Applications, the hybrid blockchain generating device may receive the environment variable input through the hybrid blockchain interface.

일반적으로, API는 응용 프로그램에서 사용할 수 있도록 운영체제(OS) 또는 프로그래밍 언어가 제공하는 기능을 수행하기 위한 인터페이스를 의미하나, 본 발명에서 API는 하이브리드 블록체인을 이용하기 위하여 제공된 인터페이스일 수 있다.In general, API means an interface for performing a function provided by an operating system (OS) or programming language so that it can be used in an application program, but in the present invention, the API may be an interface provided to use a hybrid block chain.

단계 S120에서는, 하이브리드 블록체인 생성 장치가 그 환경변수입력을 분석하여, 온체인(On-chain)과 오프체인(Off-chain)으로 구성된 하이브리드 블록체인 시스템의 구조를 결정한다.In step S120, the hybrid block chain generating device analyzes the environment variable input, and determines the structure of the hybrid block chain system composed of on-chain and off-chain.

즉, 하이브리드 블록체인 생성 장치는 그 환경변수입력에 포함된 정보들을 분석한 후, 온체인과 오프체인으로 구성된 하이브리드 블록체인 시스템의 세부 구조를 결정할 수 있다.That is, the hybrid blockchain generating device can determine the detailed structure of the hybrid blockchain system composed of on-chain and off-chain after analyzing the information included in the environment variable input.

예컨대, 하이브리드 블록체인 생성 장치는 원장의 크기가 클수록, 원장의 변경빈도가 높을수록, 스마트컨트랙트의 크기가 클수록, 스마트컨트랙트의 연산량이 많을수록 온체인보다는 오프체인에 더 많은 데이터가 저장되도록 구조를 결정할 수 있다. For example, the hybrid blockchain generating device determines the structure so that more data is stored off-chain than on-chain as the size of the ledger is larger, the change frequency of the ledger is higher, the size of the smart contract is larger, and the amount of computation of the smart contract is higher. can

반대로, 하이브리드 블록체인 생성 장치는 원장의 크기가 작을수록, 원장의 변경빈도가 낮을수록, 스마트컨트랙트의 크기가 작을수록, 스마트컨트랙트의 연산량이 적을수록 오프체인보다는 온체인에 더 많은 데이터가 저장되도록 구조를 결정할 수 있다.Conversely, the hybrid blockchain generating device is designed to store more data on-chain than off-chain as the size of the ledger is small, the change frequency of the ledger is low, the size of the smart contract is small, and the amount of computation of the smart contract is small. structure can be determined.

한편, 하이브리드 블록체인 생성 장치는 저장된 데이터에 대한 신뢰도가 높지만, 데이터 저장 및 연산에 많은 비용이 요구되는 블록체인의 특징을 고려하여, 다음과 같이 하이브리드 블록체인 시스템의 세부 구조를 결정할 수 있다.On the other hand, the hybrid block chain generating device has high reliability for stored data, but considering the characteristics of the block chain that requires a lot of cost for data storage and operation, the detailed structure of the hybrid block chain system can be determined as follows.

1. 스마트컨트랙트가 잘 정의된 상태머신이고 최종상태 체크에 비용이 많이 들 때, 최종상태확인을 오프체인에서 수행하여 비용을 줄일 수 있다.1. When the smart contract is a well-defined state machine and the final state check is expensive, the cost can be reduced by performing the final state check off-chain.

2. 스마트컨트랙트의 두 당사자가 일련의 거래를 계속 진행할 때 오프체인의 트랜잭션이나 디지털 서명을 이용하여 거래를 진행하고 최종 상태만을 온체인에 기록할 수 있다.(예, Whisper)2. When two parties to a smart contract continue a series of transactions, the transaction can be carried out using off-chain transactions or digital signatures, and only the final state can be recorded on-chain (eg Whisper).

3. 대용량 데이터 억세스가 필요할 때 오프체인을 이용할 수 있다. (예, IPFS, Swarm)3. Off-chain can be used when large-capacity data access is required. (e.g. IPFS, Swarm)

4. 대규모 계산이 필요할 때 이를 오프체인에서 수행하고 온체인에서는 이를 검증하는 방법을 사용할 수 있다.4. When a large-scale calculation is required, it can be performed off-chain and verified on-chain.

5. 트랜잭션 개수나 크기를 줄여 스마트컨트랙트의 footprint 크기를 줄인다. 계속적인 상태 체크는 오프체인에서 하되 검증만 온체인에서 수행하고, read 보다는 write 연산에 최적화할 수 있다.5. Reduce the footprint of smart contracts by reducing the number or size of transactions. Continuous state checks are performed off-chain, but only verification is performed on-chain, and it can be optimized for write operations rather than reads.

한편, 하이브리드 블록체인 생성 장치는 원장에 저장되는 데이터의 종류가 여러 개인 경우에, 그 데이터의 종류에 따라 온체인과 오프체인으로 나뉘어 저장되도록 하이브리드 블록체인 시스템의 구조를 결정한다.On the other hand, when there are several types of data stored in the ledger, the hybrid block chain generation device determines the structure of the hybrid block chain system so that it is divided into on-chain and off-chain according to the type of data.

예컨대, 하이브리드 블록체인 생성 장치는 용량이 큰 멀티미디어 파일을 오프체인에 저장되도록 결정하고, 용량이 작은 텍스트파일을 온체인에 저장되도록 결정할 수 있다. 또한, 하이브리드 블록체인 생성 장치는 변경빈도가 낮은 문서파일을 온체인에 저장되도록 결정하고, 변경빈도가 높은 문서파일을 오프체인에 저장되도록 결정할 수 있다.For example, the hybrid block chain generating device may decide to store a large-capacity multimedia file off-chain, and a small-capacity text file to store it on-chain. In addition, the hybrid blockchain generating device may determine that a document file with a low change frequency is stored on-chain, and a document file with a high change frequency can be determined to be stored off-chain.

마지막으로 단계 S130에서는, 하이브리드 블록체인 생성 장치가 그 결정된 구조에 대응되도록, 온체인과 오프체인을 생성한다.Finally, in step S130, the on-chain and off-chain are generated so that the hybrid block chain generating device corresponds to the determined structure.

예컨대, 하이브리드 블록체인 생성 장치는 그 결정된 구조에 대응되도록, 온체인에 최초블록을 생성하고, 오프체인에 데이터베이스 테이블을 생성할 수 있다.For example, the hybrid block chain generating device may generate an initial block on-chain and create a database table off-chain to correspond to the determined structure.

보다 구체적으로, 하이브리드 블록체인 생성 장치는 대용량 데이터를 오프체인에 기록하고, 그 대용량 데이터의 해시값을 온체인에 저장하기로 하이브리드 블록체인 시스템의 구조를 결정할 수 있다. 그에 따라, 하이브리드 블록체인 생성 장치는 해시값이 저장될 수 있도록 온체인에 최초블록을 생성하고, 대용량 데이터가 저장될 수 있도록 오프체인에 테이블을 생성할 수 있다.More specifically, the hybrid block chain generating device can determine the structure of the hybrid block chain system to record large data off-chain and store the hash value of the large amount of data on-chain. Accordingly, the hybrid blockchain generating device can create an initial block on-chain so that hash values can be stored, and create a table off-chain so that large-capacity data can be stored.

다른 실시예에서는, 온체인은 블록체인이고, 오프체인은 데이터베이스일 수 있다.In another embodiment, the on-chain may be a blockchain, and the off-chain may be a database.

일반적으로 블록체인은 개별 노드 각각이 동일한 원장 데이터를 보유하게 되어, 대용량 데이터의 저장 및 처리에 많은 비용이 소요된다. 따라서, 해시값과 같은 비교적 작은 크기의 데이터는 블록체인(온체인)에 저장되도록 하고, 대용량 데이터와 같은 큰 데이터는 데이터베이스(오프체인)에 저장되도록 하는 것이 바람직할 수 있다.In general, in a blockchain, each individual node has the same ledger data, so it takes a lot of money to store and process large amounts of data. Therefore, it may be desirable to store relatively small-sized data such as hash values in a blockchain (on-chain), and large data such as large-capacity data to be stored in a database (off-chain).

하지만, 본 발명은 이에 한정되지 않으며, 오프체인은 프라이빗 블록체인이거나, 파일서버, 클라우드서버 등과 같은 다양한 종류의 장치 또는 서비스가 이용될 수 있다.However, the present invention is not limited thereto, and off-chain is a private block chain, or various types of devices or services such as a file server and a cloud server may be used.

또 다른 실시예에서는, 환경변수입력은 요구되는 신뢰성에 대한 정보를 더 포함할 수 있다.In another embodiment, the environment variable input may further include information on required reliability.

일반적으로, 온체인이 블록체인이고, 오프체인이 데이터베이스인 경우를 가정할 때, 온체인의 데이터 보존 신뢰성이 더 높고, 오프체인의 신뢰성은 상대적으로 더 낮다고 볼 수 있다.In general, assuming that the on-chain is a blockchain and the off-chain is a database, the reliability of data retention on-chain is higher and the reliability of off-chain is relatively low.

따라서, 하이브리드 블록체인 생성 장치는 요구되는 신뢰성에 대한 정보가 환경변수입력에 포함되도록 하여, 하이브리드 블록체인 시스템의 구조를 결정할 때 이용할 수 있다.Therefore, the hybrid blockchain generating device can be used when determining the structure of the hybrid blockchain system by allowing the required reliability information to be included in the environmental variable input.

이때, 신뢰성은 소정 개수의 단계로 환경변수입력에 포함될 수 있다. 예컨대, 신뢰성은 1에서 10까지이며, 신뢰성이 1이면 신뢰성이 거의 요구되지 않는 것으로 볼 수 있고, 신뢰성이 10이면 최고수준의 신뢰성이 요구되는 것으로 볼 수 있다.In this case, reliability may be included in the environment variable input in a predetermined number of steps. For example, reliability is on a scale of 1 to 10, and when reliability is 1, it can be seen that almost no reliability is required, and when reliability is 10, it can be seen that the highest level of reliability is required.

또 다른 실시예에서는, 하이브리드 블록체인 생성 장치가 하이브리드 블록체인 시스템의 구조를 결정할 때, 그 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 각각에 비례하고, 그 신뢰성에 반비례하도록 결정되는 환경설정지수와 소정의 환경설정지수 임계치에 기반하여, 하이브리드 블록체인 시스템의 구조를 결정할 수 있다.In another embodiment, when the hybrid blockchain generating device determines the structure of the hybrid blockchain system, it is proportional to the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract, respectively. Based on the preference index determined to be inversely proportional to the reliability and a predetermined preference index threshold, the structure of the hybrid blockchain system can be determined.

즉, 환경설정지수는 그 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 각각의 값이 커지면, 따라서 값이 증가할 수 있다. 또한, 환경설정지수는 그 신뢰성의 단계가 커지면, 값이 감소할 수 있다.That is, the value of the environment setting index may increase as the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract increase, respectively. In addition, the value of the preference index may decrease as the level of reliability thereof increases.

예컨대, 환경설정지수는 아래의 수학식 1과 같이 정의될 수 있다.For example, the environment setting index may be defined as in Equation 1 below.

[수학식 1][Equation 1]

Figure pat00001
Figure pat00001

여기서, Env는 환경설정지수이고, w1~5는 가중치이고, Sledger는 원장의 크기이고, Pupdate는 원장의 변경빈도이고, Ncomp는 스마트컨트랙트의 연산량이고, Ssc는 스마트컨트랙트의 크기이고, Nr은 신뢰성 단계이다.Here, Env is the environment setting index, w 1~5 is the weight, S ledger is the size of the ledger, P update is the change frequency of the ledger, N comp is the amount of operation of the smart contract, and S sc is the size of the smart contract , and N r is the reliability level.

이때, 하이브리드 블록체인 생성 장치는 환경설정지수와 환경설정지수 임계치를 비교하여, 환경설정지수가 환경설정지수 임계치보다 큰 경우에는 오프체인의 비중을 높일 수 있고, 반대로 환경설정지수가 환경설정지수 임계치보다 작은 경우에는 온체인의 비중을 높일 수 있다.At this time, the hybrid block chain generating device compares the environment setting index with the environment setting index threshold, and when the environment setting index is greater than the environment setting index threshold, the weight of off-chain can be increased, and on the contrary, the preference index is the environment setting index threshold If it is smaller, the weight of on-chain can be increased.

이와 같이, 본 발명의 일 실시예에 따른 하이브리드 블록체인 생성 방법은 블록체인과 연동되는 dApp의 입력 또는 API를 통한 변수 입력을 통해, 블록체인이 운용되는 환경 및 블록체인의 요구사항에 적합한 하이브리드 블록체인을 생성할 수 있는 효과가 있다.As such, the hybrid block chain generation method according to an embodiment of the present invention is a hybrid block suitable for the environment in which the block chain is operated and the requirements of the block chain through the input of a dApp linked with the block chain or variable input through the API. It has the effect of creating a chain.

도 2는 본 발명의 일 실시예에 따른 dApp에 기반한 하이브리드 블록체인 시스템의 구조 결정 방법을 설명하기 위한 흐름도이다.2 is a flowchart illustrating a method for determining the structure of a hybrid blockchain system based on a dApp according to an embodiment of the present invention.

이때, 환경변수입력은 dApp(decentralized Application)이다. 일반적으로 dApp은 블록체인에 기반하여 작동하는 응용 프로그램이며, 중앙 서버 없이 네트워크 상에 정보를 분산 저장하게 된다.At this time, the environment variable input is a dApp (decentralized application). In general, a dApp is an application that operates based on a blockchain and distributes and stores information on the network without a central server.

예컨대, 도 4를 참조하면, Applications을 직접 하이브리드 블록체인 인터페이스에 입력(402)함으로써, 하이브리드 블록체인 생성 장치가 환경변수입력을 수신할 수 있다.For example, referring to FIG. 4 , by directly inputting Applications into the hybrid blockchain interface ( 402 ), the hybrid blockchain generating device may receive the environment variable input.

단계 S210에서는, 하이브리드 블록체인 생성 장치가 dApp을 분석하여 그 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 획득한다.In step S210, the hybrid blockchain generating device analyzes the dApp and acquires information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract.

즉, 하이브리드 블록체인 생성 장치는 dApp의 소스코드를 분석하거나, dApp의 바이트코드를 리버스엔지니어링하여, 그 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 획득할 수 있다.That is, the hybrid blockchain generating device analyzes the source code of the dApp or reverse engineer the bytecode of the dApp, and at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract. information can be obtained.

단계 S220에서는, 하이브리드 블록체인 생성 장치가 그 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 분석하여, 하이브리드 블록체인 시스템의 구조를 결정한다.In step S220, the hybrid blockchain generating device determines the structure of the hybrid blockchain system by analyzing information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract do.

즉, 하이브리드 블록체인 생성 장치는 그 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 분석한 후, 온체인과 오프체인으로 구성된 하이브리드 블록체인 시스템의 세부 구조를 결정할 수 있다.In other words, the hybrid block chain generating device analyzes information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract, and then a hybrid block composed of on-chain and off-chain. The detailed structure of the chain system can be determined.

도 3은 본 발명의 일 실시예에 따른 하이브리드 블록체인 생성 장치의 블록도이다.3 is a block diagram of an apparatus for generating a hybrid block chain according to an embodiment of the present invention.

도 3을 참조하면, 본 발명의 일 실시예에 따른 하이브리드 블록체인 생성 장치(300)는 수신부(310), 결정부(320) 및 생성부(330)를 포함한다.Referring to FIG. 3 , a hybrid block chain generating apparatus 300 according to an embodiment of the present invention includes a receiving unit 310 , a determining unit 320 , and a generating unit 330 .

한편, 하이브리드 블록체인 생성 장치(300)는 블록체인 네트워크를 구성하는 복수의 노드 중 하나에 탑재되거나 그 노드에 유선 또는 무선의 통신수단을 통해 연결될 수 있다. 후자의 경우에, 하이브리드 블록체인 생성 장치(300)는 데스크탑PC, 노트북PC, 서버컴퓨터, 스마트폰 및 태블리PC 등과 같은 컴퓨팅 장치에 탑재될 수 있다.On the other hand, the hybrid block chain generating device 300 may be mounted on one of a plurality of nodes constituting the block chain network or may be connected to the node through a wired or wireless communication means. In the latter case, the hybrid block chain generating device 300 may be mounted on a computing device such as a desktop PC, a notebook PC, a server computer, a smart phone, and a tablet PC.

수신부(310)는 블록체인 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 포함하는 환경변수입력을 수신한다.The receiving unit 310 receives an environment variable input including information on at least one of the size of the blockchain ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract.

결정부(320)는 그 환경변수입력을 분석하여, 온체인과 오프체인으로 구성된 하이브리드 블록체인 시스템의 구조를 결정한다.The determination unit 320 analyzes the environment variable input and determines the structure of the hybrid block chain system composed of on-chain and off-chain.

마지막으로 생성부(330)는 그 결정된 구조에 대응되도록, 온체인과 오프체인을 생성한다.Finally, the generation unit 330 generates on-chain and off-chain to correspond to the determined structure.

다른 실시예에서는, 온체인은 블록체인이고, 오프체인은 데이터베이스일 수 있다.In another embodiment, the on-chain may be a blockchain, and the off-chain may be a database.

또 다른 실시예에서는, 수신부(310)는 미리 제공된 API를 통해 상기 환경변수정보를 수신할 수 있다.In another embodiment, the receiving unit 310 may receive the environment variable information through an API provided in advance.

또 다른 실시예에서는, 환경변수입력이 dApp일 때, 결정부(320)는 그 dApp을 분석하여 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 획득하고, 그 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 분석하여, 하이브리드 블록체인 시스템의 구조를 결정할 수 있다.In another embodiment, when the environment variable input is a dApp, the determination unit 320 analyzes the dApp to determine at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract. The structure of the hybrid blockchain system can be determined by acquiring information about the ledger and analyzing information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract.

또 다른 실시예에서는, 환경변수입력은 요구되는 신뢰성에 대한 정보를 더 포함할 수 잇다.In another embodiment, the environment variable input may further include information on required reliability.

또 다른 실시예에서는, 결정부(320)는 그 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 각각에 비례하고, 신뢰성에 반비례하도록 결정되는 환경설정지수와 소정의 환경설정지수 임계치에 기반하여, 하이브리드 블록체인 시스템의 구조를 결정할 수 있다.In another embodiment, the determination unit 320 is proportional to each of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract, and the environment setting index determined to be inversely proportional to the reliability and predetermined Based on the preference index threshold of , the structure of the hybrid blockchain system can be determined.

이제까지 본 발명에 대하여 그 바람직한 실시 예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 따라서, 본 발명의 범위는 전술한 실시 예에 한정되지 않고 특허 청구범위에 기재된 내용과 동등한 범위 내에 있는 다양한 실시 형태가 포함되도록 해석되어야 할 것이다.So far, the present invention has been looked at with respect to preferred embodiments thereof. Those of ordinary skill in the art to which the present invention pertains will understand that the present invention can be implemented in a modified form without departing from the essential characteristics of the present invention. Accordingly, the scope of the present invention is not limited to the above-described embodiments, and should be construed to include various embodiments within the scope equivalent to the content described in the claims.

Claims (12)

블록체인 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 포함하는 환경변수입력을 수신하는 단계;
상기 환경변수입력을 분석하여, 온체인(On-chain)과 오프체인(Off-chain)으로 구성된 하이브리드 블록체인 시스템의 구조를 결정하는 단계; 및
상기 결정된 구조에 대응되도록, 상기 온체인과 상기 오프체인을 생성하는 단계;
를 포함하는 것을 특징으로 하는 하이브리드 블록체인 생성 방법.
Receiving an environment variable input including information on at least one of the size of the blockchain ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract;
determining the structure of a hybrid blockchain system composed of on-chain and off-chain by analyzing the environment variable input; and
generating the on-chain and the off-chain to correspond to the determined structure;
A hybrid blockchain creation method comprising a.
제1항에 있어서,
상기 온체인은 블록체인이고, 상기 오프체인은 데이터베이스인 것을 특징으로 하는 하이브리드 블록체인 생성 방법.
According to claim 1,
The on-chain is a blockchain, and the off-chain is a database.
제1항에 있어서,
상기 환경변수입력을 수신하는 단계는
미리 제공된 API를 통해 상기 환경변수입력을 수신하는 것을 특징으로 하는 하이브리드 블록체인 생성 방법.
According to claim 1,
The step of receiving the environment variable input is
A hybrid block chain generation method, characterized in that the input of the environment variable is received through an API provided in advance.
제1항에 있어서,
상기 환경변수입력이 dApp(decentralized Application)일 때,
상기 하이브리드 블록체인 시스템의 구조를 결정하는 단계는
상기 dApp을 분석하여 상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 획득하는 단계; 및
상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 분석하여, 상기 하이브리드 블록체인 시스템의 구조를 결정하는 단계
를 포함하는 것을 특징으로 하는 하이브리드 블록체인 생성 방법.
According to claim 1,
When the environment variable input is a dApp (decentralized application),
The step of determining the structure of the hybrid blockchain system is
analyzing the dApp to obtain information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required to execute the smart contract; and
Determining the structure of the hybrid blockchain system by analyzing information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract
A hybrid blockchain creation method comprising a.
제1항에 있어서,
상기 환경변수입력은
요구되는 신뢰성에 대한 정보를 더 포함하는 것을 특징으로 하는 하이브리드 블록체인 생성 방법.
According to claim 1,
The environment variable input is
Hybrid blockchain creation method, characterized in that it further includes information about the required reliability.
제5항에 있어서,
상기 하이브리드 블록체인 시스템의 구조를 결정하는 단계는
상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 각각에 비례하고, 상기 신뢰성에 반비례하도록 결정되는 환경설정지수와 소정의 환경설정지수 임계치에 기반하여, 상기 하이브리드 블록체인 시스템의 구조를 결정하는 것을 특징으로 하는 하이브리드 블록체인 생성 방법.
6. The method of claim 5,
The step of determining the structure of the hybrid blockchain system is
The size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract, respectively, and inversely proportional to the reliability. Based on the environment setting index and a predetermined environment setting index threshold , a hybrid blockchain creation method, characterized in that the structure of the hybrid blockchain system is determined.
블록체인 원장의 크기, 원장의 변경빈도, 스마트컨트랙트의 크기 및 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 포함하는 환경변수입력을 수신하는 수신부;
상기 환경변수입력을 분석하여, 온체인(On-chain)과 오프체인(Off-chain)으로 구성된 하이브리드 블록체인 시스템의 구조를 결정하는 결정부; 및
상기 결정된 구조에 대응되도록, 상기 온체인과 상기 오프체인을 생성하는 생성부;
를 포함하는 것을 특징으로 하는 하이브리드 블록체인 생성 장치.
a receiving unit for receiving an environment variable input including information on at least one of the size of the block chain ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract;
a determining unit that analyzes the environment variable input and determines the structure of a hybrid block chain system composed of on-chain and off-chain; and
a generation unit generating the on-chain and the off-chain to correspond to the determined structure;
A hybrid block chain generating device comprising a.
제7항에 있어서,
상기 온체인은 블록체인이고, 상기 오프체인은 데이터베이스인 것을 특징으로 하는 하이브리드 블록체인 생성 장치.
8. The method of claim 7,
The on-chain is a blockchain, and the off-chain is a database.
제7항에 있어서,
상기 수신부는
미리 제공된 API를 통해 상기 환경변수정보를 수신하는 것 특징으로 하는 하이브리드 블록체인 생성 장치.
8. The method of claim 7,
the receiving unit
Hybrid blockchain generating device, characterized in that receiving the environment variable information through a pre-provided API.
제7항에 있어서,
상기 환경변수입력이 dApp일 때,
상기 결정부는
상기 dApp을 분석하여 상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 획득하고,
상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 중 적어도 하나에 대한 정보를 분석하여, 상기 하이브리드 블록체인 시스템의 구조를 결정하는 것을 특징으로 하는 하이브리드 블록체인 생성 장치.
8. The method of claim 7,
When the environment variable input is a dApp,
The decision part
Analyze the dApp to obtain information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required to execute the smart contract,
A hybrid, characterized in that the structure of the hybrid blockchain system is determined by analyzing information on at least one of the size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract Blockchain generator.
제7항에 있어서,
상기 환경변수입력은
요구되는 신뢰성에 대한 정보를 더 포함하는 것을 특징으로 하는 하이브리드 블록체인 생성 장치.
8. The method of claim 7,
The environment variable input is
Hybrid blockchain generating device, characterized in that it further comprises information about the required reliability.
제11항에 있어서,
상기 결정부는
상기 원장의 크기, 상기 원장의 변경빈도, 상기 스마트컨트랙트의 크기 및 상기 스마트컨트랙트의 실행에 필요한 연산량 각각에 비례하고, 상기 신뢰성에 반비례하도록 결정되는 환경설정지수와 소정의 환경설정지수 임계치에 기반하여, 상기 하이브리드 블록체인 시스템의 구조를 결정하는 것을 특징으로 하는 하이브리드 블록체인 생성 장치.
12. The method of claim 11,
The decision part
The size of the ledger, the change frequency of the ledger, the size of the smart contract, and the amount of computation required for the execution of the smart contract, respectively, and inversely proportional to the reliability. Based on the environment setting index and a predetermined environment setting index threshold , a hybrid block chain generating device, characterized in that it determines the structure of the hybrid block chain system.
KR1020200030436A 2020-03-11 2020-03-11 Method and apparatus for generating hybrid blockchain KR20210114818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200030436A KR20210114818A (en) 2020-03-11 2020-03-11 Method and apparatus for generating hybrid blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200030436A KR20210114818A (en) 2020-03-11 2020-03-11 Method and apparatus for generating hybrid blockchain

Publications (1)

Publication Number Publication Date
KR20210114818A true KR20210114818A (en) 2021-09-24

Family

ID=77914762

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200030436A KR20210114818A (en) 2020-03-11 2020-03-11 Method and apparatus for generating hybrid blockchain

Country Status (1)

Country Link
KR (1) KR20210114818A (en)

Similar Documents

Publication Publication Date Title
US11556516B2 (en) Distributed blockchain data storage under account model
EP3837652B1 (en) Distributed blockchain data storage under account model
KR20190136053A (en) Method and device for writing service data to blockchain system
US11604608B2 (en) Blockchain transaction processing systems and methods
CN111352935B (en) Index creating method, device and equipment in block chain type account book
CN112306645B (en) Transaction processing method, device, equipment and medium for Ether house virtual machine
CN111427971B (en) Business modeling method, device, system and medium for computer system
EP3769233B1 (en) Performing map iterations in a blockchain-based system
US20210311925A1 (en) Blockchain transaction processing systems and methods
US20210365902A1 (en) Evm-based transaction processing method, device, program and medium
CN111046052A (en) Method, device and equipment for storing operation records in database
JP2020197873A (en) Information processing system and method for controlling information processing system
US20220121665A1 (en) Computerized Methods and Systems for Selecting a View of Query Results
US11379191B2 (en) Presentation oriented rules-based technical architecture display framework
CN111143461A (en) Mapping relation processing system and method and electronic equipment
EP3910877B1 (en) Evm-based transaction processing method and apparatus, device, program and medium
KR20210114818A (en) Method and apparatus for generating hybrid blockchain
US20210391995A1 (en) Evm-based transaction processing method, device and medium
US10606939B2 (en) Applying matching data transformation information based on a user's editing of data within a document
US20230421570A1 (en) Accessing data on a blockchain with proof of data verification
US11500896B2 (en) Method and system for selectively separating organization data according to business division
US9412091B2 (en) Dynamic adaption of electronic routing slips for financial messaging
CN115174589B (en) Selection method and device of blockchain virtual machine, electronic equipment and storage medium
US11809992B1 (en) Applying compression profiles across similar neural network architectures
CN117827814A (en) Data verification method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E601 Decision to refuse application