KR20240041818A - Method for transmitting specific data whose data type is not known to relay from first blockchain network to second blockchain network and the relay using the same - Google Patents

Method for transmitting specific data whose data type is not known to relay from first blockchain network to second blockchain network and the relay using the same Download PDF

Info

Publication number
KR20240041818A
KR20240041818A KR1020230117826A KR20230117826A KR20240041818A KR 20240041818 A KR20240041818 A KR 20240041818A KR 1020230117826 A KR1020230117826 A KR 1020230117826A KR 20230117826 A KR20230117826 A KR 20230117826A KR 20240041818 A KR20240041818 A KR 20240041818A
Authority
KR
South Korea
Prior art keywords
message
service
blockchain
relay
smart contract
Prior art date
Application number
KR1020230117826A
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 US18/468,477 priority Critical patent/US20240104557A1/en
Priority to JP2023156221A priority patent/JP7397552B1/en
Publication of KR20240041818A publication Critical patent/KR20240041818A/en

Links

Images

Classifications

    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0079Formats for control data
    • H04L1/0082Formats for control data fields explicitly indicating existence of error in data being transmitted, e.g. so that downstream stations can avoid decoding erroneous packet; relays
    • 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/1087Peer-to-peer [P2P] networks using cross-functional networking aspects
    • H04L67/1091Interfacing with client-server systems or between P2P systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0097Relays

Abstract

본 발명은 릴레이에서 데이터의 형식을 알 수 없는 특정 데이터를 제1 블록체인 네트워크로부터 릴레이를 통해 제2 블록체인 네트워크로 송신하는 방법에 관한 것이다. 구체적으로, (a) 제1 데이터 형식을 따르는 상기 제1 블록체인 네트워크로부터 제2 데이터 형식을 따르는 상기 제2 블록체인 네트워크로 상기 특정 데이터를 송신하기 위한 블록체인 통신 메시지의 생성이 감지되면, 상기 릴레이는 상기 블록체인 통신 메시지와 검증 정보를 포함하는 릴레이 메시지를 생성하는 단계; 및 (b) 상기 릴레이는, 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, 상기 릴레이 메시지에 포함된 상기 특정 데이터를 상기 제2 데이터 형식으로 변환하여 수신자에게 송신하도록 하는 단계;를 포함할 수 있다.The present invention relates to a method of transmitting specific data whose format is unknown in a relay from a first blockchain network to a second blockchain network through a relay. Specifically, (a) when the creation of a blockchain communication message for transmitting the specific data from the first blockchain network following a first data format to the second blockchain network conforming to a second data format is detected, Relaying includes generating a relay message including the blockchain communication message and verification information; and (b) the relay transmits the relay message to the second blockchain network, causing the second blockchain network to verify the relay message using the verification information included in the relay message, and , converting the specific data included in the relay message into the second data format and transmitting it to the recipient.

Figure P1020230117826
Figure P1020230117826

Description

릴레이에서 데이터의 형식을 알 수 없는 특정 데이터를 제1 블록체인 네트워크로부터 제2 블록체인 네트워크로 송신하는 방법 및 이를 이용한 릴레이 {METHOD FOR TRANSMITTING SPECIFIC DATA WHOSE DATA TYPE IS NOT KNOWN TO RELAY FROM FIRST BLOCKCHAIN NETWORK TO SECOND BLOCKCHAIN NETWORK AND THE RELAY USING THE SAME}A method of transmitting specific data whose format is unknown in a relay from a first blockchain network to a second blockchain network and relay using the same {METHOD FOR TRANSMITTING SPECIFIC DATA WHOSE DATA TYPE IS NOT KNOWN TO RELAY FROM FIRST BLOCKCHAIN NETWORK TO SECOND BLOCKCHAIN NETWORK AND THE RELAY USING THE SAME}

본 발명은 릴레이에서 데이터의 형식을 알 수 없는 특정 데이터를 릴레이를 통해 제1 블록체인 네트워크로부터 제2 블록체인 네트워크로 송신하는 방법 및 이를 이용한 릴레이에 관한 것이다.The present invention relates to a method of transmitting specific data of unknown data format from a first blockchain network to a second blockchain network through a relay, and a relay using the same.

블록체인은 공공 거래 장부라고도 부르며 대표적으로 가상 화폐로 거래할 때 발생할 수 있는 해킹을 막는 기술이다. 기존 금융 회사의 경우 중앙 집중형 서버에 거래 기록을 보관하는 반면, 블록체인은 블록체인 네트워크에 참여한 사용자 모두의 공동 작업을 통하여 블록을 생성하며, 생성된 블록을 모든 참여자가 검증하고 이를 승인함으로써 모두가 동일한 블록을 보유하는 것과 일부 사용자에 의해 데이터 위조를 막는 방식을 사용한다. 블록체인은 대표적인 온라인 가상 화폐인 비트코인에 적용되어 있다. 비트코인은 누구나 열람할 수 있는 장부에 거래 내역을 투명하게 기록하며, 비트코인을 사용하는 여러 컴퓨터가 이 기록을 검증하여 해킹을 막는다.Blockchain, also called a public transaction ledger, is a technology that prevents hacking that can occur when transacting with virtual currency. While existing financial companies store transaction records on a centralized server, blockchain creates blocks through the collaboration of all users participating in the blockchain network, and all participants verify and approve the created blocks. It uses a method of holding identical blocks and preventing data falsification by some users. Blockchain is applied to Bitcoin, a representative online virtual currency. Bitcoin transparently records transaction details in a ledger that anyone can view, and multiple computers using Bitcoin verify these records to prevent hacking.

블록체인 기반으로 금융거래, 부동산 계약, 공증 등 다양한 형태의 계약을 체결하고 이행하기 위해서 스마트 컨트랙트(Smart Contract)라는 개념이 제안되었다. The concept of smart contract was proposed to conclude and implement various types of contracts such as financial transactions, real estate contracts, and notarization based on blockchain.

이더리움(Ethereum)은 블록체인 기술 기반의 스마트 컨트랙트 플랫폼으로, 이더리움에서는 금융 거래 뿐만 아니라 부동산거래, 공증 등의 가능한 모든 형태의 계약이 가능하다.Ethereum is a smart contract platform based on blockchain technology, and all possible forms of contracts, such as financial transactions as well as real estate transactions and notarization, are possible on Ethereum.

하지만, 블록체인은 하나의 블록체인 네트워크 내에서 수행되며, 다른 종류의 블록체인과 서로 통신을 수행함을 언급하고 있지 않았다.However, it did not mention that blockchain is performed within a single blockchain network and communicates with other types of blockchain.

서로 다른 블록체인 간의 통신을 위해서 본 출원인은 한국출원번호 2020-0042242과 한국출원번호 2020-0076623을 통하여 서로 다른 블록체인 간에 통신하는 기술에 관해서 공개한 바 있다.For communication between different blockchains, the applicant has disclosed technology for communicating between different blockchains through Korean Application No. 2020-0042242 and Korean Application No. 2020-0076623.

위의 출원을 통해서 블록체인 간의 통신이 활발하게 논의되고 적용되고 있다.Through the above applications, communication between blockchains is being actively discussed and applied.

위의 출원에서 릴레이를 통해서 통신을 수행하였으나, 릴레이가 두 블록체인 각각에서 통용되는 데이터 형식을 알고 있는 경우에는 두 블록체인 간에 데이터를 송신하는데 큰 문제가 없었으나, 릴레이가 두 블록체인 중 적어도 일부의 블록체인에서 통용되는 데이터 형식을 모르는 경우에는 두 블록체인 각각의 디앱에서의 데이터의 인코딩 및 디코딩으로 인한 문제가 발생할 수 있다.In the above application, communication was performed through a relay, but if the relay knew the data format used in each of the two blockchains, there was no major problem in transmitting data between the two blockchains. However, if the relay knew the data format used in each of the two blockchains, there was no major problem. If you do not know the data format used in the blockchains, problems may arise due to encoding and decoding of data in the dApps of each of the two blockchains.

또한, 제1 블록체인 네트워크에서 제2 블록체인 네트워크로 메시지를 보내거나 제2 블록체인 네트워크의 API를 호출할 때 수수료가 들 수 있는데, 릴레이가 두 블록체인 중 적어도 일부의 블록체인에서 통용되는 데이터 형식을 모르는 경우에는, 제2 블록체인 네트워크에서 호출해야 되는 API의 양이 얼마인지 모를 수 밖에 없을 것이다. 그런데, 만약 제2 블록체인 네트워크에서 해당 API를 다 호출하면 릴레이가 이에 대응되는 수수료를 다 감당해야 하는데, 릴레이는 해당 API의 양이 얼마인지 모르므로 릴레이가 실제로 이런 서비스를 운용하는 경우 사업적으로 손해를 볼 수 있을 것이다.Additionally, a fee may be charged when sending a message from the first blockchain network to the second blockchain network or calling the API of the second blockchain network, and the relay may be used to relay data used in at least some of the two blockchains. If you do not know the format, you will have no choice but to know how much API you need to call from the second blockchain network. However, if the second blockchain network calls all of the corresponding APIs, the relay must cover all the corresponding fees, but the relay does not know how much the corresponding API is, so if the relay actually operates such a service, it is not business-friendly. You may incur losses.

따라서, 언급한 문제를 해소할 필요성이 요구되었다.Therefore, there was a need to solve the mentioned problem.

본 발명은 릴레이에서 데이터의 형식을 알 수 없는 특정 데이터를 제1 블록체인 네트워크로부터 상기 릴레이를 거쳐서 제2 블록체인 네트워크로 송신하는 방법을 제공하는 것을 목적으로 한다.The purpose of the present invention is to provide a method of transmitting specific data whose format is unknown in a relay from a first blockchain network to a second blockchain network via the relay.

또한, 본 발명은 각각의 블록체인 네트워크에 배포된 스마트 컨트랙트 각각에서 자신이 속하지 않은 타 블록체인의 스마트 컨트랙트의 메쏘드를 호출하도록 하는 것을 다른 목적으로 한다.In addition, another purpose of the present invention is to enable each smart contract distributed in each blockchain network to call a method of a smart contract of another blockchain to which it does not belong.

또한, 본 발명은 릴레이를 통해 원시 바이트 형태의 메시지를 제1 블록체인 네트워크로부터 제2 블록체인 네트워크로 전달하고, 제2 블록체인 네트워크의 디앱의 디코딩 알고리즘을 통해 사용자가 전달된 메시지를 처리하도록 함으로써, 호출하려는 메쏘드에 상관 없이 릴레이의 트랜잭션 비용이 일정한 수준으로 예측 가능하도록 하는 것을 또 다른 목적으로 한다. In addition, the present invention transmits a message in the form of raw bytes from the first blockchain network to the second blockchain network through a relay, and allows the user to process the delivered message through the decoding algorithm of the DApp of the second blockchain network. , Another purpose is to ensure that the relay transaction cost is predictable at a certain level regardless of the method being called.

상기한 바와 같이 본 발명의 목적을 달성하고, 후술하는 본 발명의 특징적인 효과를 실현하기 위한, 본 발명의 특징적인 구성은 하기와 같다.In order to achieve the purpose of the present invention as described above and realize the characteristic effects of the present invention described later, the characteristic configuration of the present invention is as follows.

본 발명의 일 태양에 따르면, 릴레이에서 데이터의 형식을 알 수 없는 특정 데이터를 제1 블록체인 네트워크로부터 제2 블록체인 네트워크로 송신하는 방법에 있어서, (a) 제1 데이터 형식을 따르는 상기 제1 블록체인 네트워크로부터 제2 데이터 형식을 따르는 상기 제2 블록체인 네트워크로 상기 특정 데이터를 송신하기 위한 블록체인 통신 메시지의 생성이 감지되면, 상기 릴레이는 상기 블록체인 통신 메시지와 검증 정보를 포함하는 릴레이 메시지를 생성하는 단계; 및 (b) 상기 릴레이는, 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, 상기 릴레이 메시지에 포함된 상기 특정 데이터를 상기 제2 데이터 형식으로 변환하여 수신자에게 송신하도록 하는 단계;를 포함하는 방법이 제공된다.According to one aspect of the present invention, in a method of transmitting specific data of unknown data format in a relay from a first blockchain network to a second blockchain network, (a) the first data conforming to the first data format; When the creation of a blockchain communication message for transmitting the specific data from the blockchain network to the second blockchain network following a second data format is detected, the relay sends a relay message containing the blockchain communication message and verification information. generating a; and (b) the relay transmits the relay message to the second blockchain network, causing the second blockchain network to verify the relay message using the verification information included in the relay message, and , converting the specific data included in the relay message into the second data format and transmitting it to the recipient.

일례로서, 상기 (a) 단계 이전에, (a0) 상기 릴레이가, 상기 제1 블록체인 네트워크에 제1 서비스 제어 스마트 컨트랙트와 제1 메시지 제어 스마트 컨트랙트를 배포하고 상기 제2 블록체인 네트워크에 제2 서비스 제어 스마트 컨트랙트와 제2 메시지 제어 스마트 컨트랙트를 배포하는 단계를 더 포함하고, 상기 (a) 단계에서, (i) 상기 제1 블록체인 네트워크의 제1 디앱의 제1 인코딩 알고리즘에 의해 상기 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 서비스 호출 메시지가 상기 제1 블록체인 네트워크의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 서비스 메시지가 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되며, (iii) 상기 제1 메시지 제어 스마트 컨트랙트에 의해 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지가 생성되면, 상기 릴레이가 상기 블록체인 통신 메시지와 상기 검증 정보를 포함하는 상기 릴레이 메시지를 생성하고, 상기 (b) 단계에서, 상기 릴레이는, 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, (iii) 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 상기 제2 블록체인 네트워크의 제2 디앱으로 송신되도록 하고, (vi) 상기 제2 디앱에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱으로 송신되도록 하고, 상기 제2 디앱의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원하는, 방법이 제공된다.As an example, before step (a), (a0) the relay distributes a first service control smart contract and a first message control smart contract to the first blockchain network and a second message control smart contract to the second blockchain network. Further comprising distributing a service control smart contract and a second message control smart contract, wherein in step (a), (i) the first encoding algorithm of the first DApp of the first blockchain network When the specific data in data format is encoded into raw bytes, a service call message containing the raw bytes corresponding to the specific data is sent to the first service control smart contract of the first blockchain network, (ii) A service message including the service call message is sent to the first message control smart contract of the first blockchain network by the first service control smart contract, and (iii) the first message control smart contract is sent to the first message control smart contract. When the blockchain communication message including the service message is generated, the relay generates the relay message including the blockchain communication message and the verification information, and in step (b), the relay generates the relay message is transmitted to the second blockchain network, causing the second blockchain network to (i) receive the relay message through the second message control smart contract, and (ii) the relay message included in the relay message. Verify the relay message using verification information, (iii) confirm the blockchain communication message included in the relay message, and (iv) send the service message included in the blockchain communication message to the second causes the service control smart contract to receive, (v) causes a call message notifying that the service message has arrived by the second service control smart contract to be sent to the second DApp of the second blockchain network, and (vi) the Cause an execution call message requesting the raw bytes corresponding to the specific data to be sent by a second DApp to the second service control smart contract, and (vii) correspond to the specific data by the second service control smart contract. causing a handle call message containing the raw bytes to be sent to the second DApp, and supporting the raw bytes to be decoded into the specific data of the second data format by a second decoding algorithm of the second DApp, A method is provided.

일례로서, 상기 (a) 단계에서, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지가 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제1 디앱에서 상기 제1 디앱의 사용자에게 상기 특정 데이터에 대응되는 상기 원시 바이트를 송신하는 것에 관한 릴레이 관련 수수료를 요청하고, 상기 (b) 단계에서, (vi) 상기 제2 디앱에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 상기 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제2 디앱에서 상기 제2 디앱의 사용자에게 상기 특정 데이터를 수신하는 것에 관한 릴레이 비관련 수수료를 요청하는, 방법이 제공된다.As an example, in step (a), (ii) the service message including the service call message is transmitted by the first service control smart contract to the first message control smart contract of the first blockchain network. To do this, the first DApp requests a relay-related fee for transmitting the raw bytes corresponding to the specific data to the user of the first DApp, and in step (b), (vi) the second DApp Receiving the specific data from the second DApp to the user of the second DApp so that the execution call message requesting the raw bytes corresponding to the specific data is transmitted to the second service control smart contract. A method is provided to request a relay-unrelated fee for

일례로서, 상기 제1 서비스 제어 스마트 컨트랙트와 상기 제2 서비스 제어 스마트 컨트랙트는, 각각 자신이 속해 있는 블록체인 네트워크 이외의 다른 블록체인 네트워크의 스마트 컨트랙트 메쏘드를 호출할 수 있도록 구성되며, 상기 제1 블록체인 네트워크의 상기 제1 데이터 형식 및 상기 제2 블록체인 네트워크의 상기 제2 데이터 형식에 대하여 알지 못하는 상태로 관리되는 것을 특징으로 하는, 방법이 제공된다.As an example, the first service control smart contract and the second service control smart contract are each configured to call a smart contract method of a blockchain network other than the blockchain network to which they belong, and the first block A method is provided, characterized in that the first data format of the chain network and the second data format of the second blockchain network are managed without knowledge.

일례로서, 상기 서비스 호출 메시지는, 에러 발생시 상기 특정 데이터를 송신하기 전 상태로 복원하기 위한 정보인 롤백 정보를 더 포함하는, 방법이 제공된다.As an example, a method is provided in which the service call message further includes rollback information, which is information for restoring the specific data to a state before transmission when an error occurs.

일례로서, 상기 블록체인 통신 메시지는, 상기 블록체인 통신 메시지를 생성한 상기 제1 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 소스 어드레스, 상기 블록체인 통신 메시지를 수신하는 상기 제2 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 목적지 어드레스, 상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 상기 블록체인 통신 메시지를 식별할 수 있는 일련 번호, 및 상기 서비스 메시지를 포함하는, 방법이 제공된다.As an example, the blockchain communication message may include a source address that is the blockchain address of the first message control smart contract that generated the blockchain communication message, and a block of the second message control smart contract that receives the blockchain communication message. A method is provided, including a destination address that is a chain address, a service type that identifies the type of service of the service message, a serial number that can identify the blockchain communication message, and the service message.

일례로서, 상기 (a) 단계에서, (i) 상기 제1 블록체인 네트워크의 상기 제1 디앱의 상기 제1 인코딩 알고리즘에 의해 상기 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 상기 서비스 호출 메시지가 상기 제1 블록체인 네트워크의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에서 상기 서비스 호출 메시지를 수신하면, 상기 제1 디앱으로 상기 서비스 호출 메시지의 식별을 위한 일련 번호를 응답하고, 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지를 생성하고, 상기 서비스 메시지를 포함하는 송신 서비스 메시지를 생성하고, 상기 송신 서비스 메시지를 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신하며, (iii) 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트에서 상기 송신 서비스 메시지를 수신하면, 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지를 생성하고, 상기 블록체인 통신 메시지를 포함하는 블록체인 이벤트 메시지를 생성하면, 상기 릴레이는, 상기 블록체인 이벤트 메시지에 포함된 상기 블록체인 통신 메시지와 상기 검증 정보를 이용하여 상기 릴레이 메시지를 생성하는, 방법이 제공된다.As an example, in step (a), (i) if the specific data of the first data format is encoded into raw bytes by the first encoding algorithm of the first DApp of the first blockchain network, the specific data The service call message containing the raw bytes corresponding to data is sent to the first service control smart contract of the first blockchain network, and (ii) the first service control smart contract receives the service call message. If so, the first DApp responds with a serial number for identification of the service call message, generates the service message including the service call message, generates a transmission service message including the service message, and transmits the service message. transmitting a service message to the first message control smart contract of the first blockchain network; (iii) receiving the transmitted service message from the first message control smart contract of the first blockchain network; When generating the blockchain communication message containing and generating a blockchain event message containing the blockchain communication message, the relay sends the blockchain communication message and the verification information included in the blockchain event message. A method for generating the relay message using the above-mentioned relay message is provided.

일례로서, 상기 송신 서비스 메시지는, 상기 서비스 메시지를 수신하는 상기 제2 블록체인 네트워크의 네트워크 어드레스에 관한 정보인 목적지 네트워크 어드레스, 상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 송신 서비스 메시지를 식별할 수 있는 일련 번호, 및 상기 서비스 메시지를 포함하는, 방법이 제공된다.As an example, the transmission service message includes a destination network address that is information about the network address of the second blockchain network that receives the service message, a service type that identifies the type of service of the service message, and identification of the transmission service message. A method is provided, including a serial number, and the service message.

일례로서, 상기 블록체인 이벤트 메시지는, 상기 블록체인 통신 메시지가 전달되는 상기 제2 블록체인 네트워크의 상기 제2 메시지 제어 스마트 컨트랙트에 관한 블록체인 어드레스에 관한 정보인 목적지 어드레스, 상기 제1 블록체인 네트워크에서 상기 서비스 호출 메시지를 식별하기 위한 정보인 상기 일련 번호, 및 상기 블록체인 통신 메시지를 포함하는, 방법이 제공된다.As an example, the blockchain event message includes a destination address that is information about a blockchain address regarding the second message control smart contract of the second blockchain network through which the blockchain communication message is delivered, the first blockchain network A method is provided, including the serial number, which is information for identifying the service call message, and the blockchain communication message.

일례로서, 상기 (b) 단계에서, 상기 릴레이는, 상기 릴레이 메시지를 포함하는 핸들 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 핸들 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지를 포함하는 검증 핸들 릴레이 메시지를 생성하여 상기 제2 블록체인 네트워크의 상기 제2 메시지 검증 스마트 컨트랙트로 송신하도록 하고, 상기 제2 메시지 검증 스마트 컨트랙트에 의해 상기 검증 핸들 릴레이 메시지가 수신되면, 상기 릴레이 메시지에 포함된 상기 검증 정보를 검증하도록 하고, (iii) 상기 제2 메시지 제어 스마트 컨트랙트에 의해 상기 제2 메시지 검증 스마트 컨트랙트를 통해서 상기 릴레이 메시지의 검증이 성공되었을 확인하면, 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 포함하는 핸들 서비스 메시지를 생성하여 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 핸들 서비스 메시지가 수신되면, 상기 핸들 서비스 메시지에 포함된 상기 서비스 메시지를 확인하고, 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 상기 제2 블록체인 네트워크의 제2 디앱으로 송신되도록 하고, (vi) 상기 제2 디앱에 의해 상기 호출 메시지가 감지되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 실행 호출 메시지가 수신되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱으로 송신되도록 하고, 상기 제2 디앱의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원하는, 방법이 제공된다.As an example, in step (b), the relay transmits a handle relay message including the relay message to the second blockchain network, causing the second blockchain network to: (i) send the second message (ii) receive the handle relay message through a control smart contract, (ii) generate a verification handle relay message including the relay message and transmit it to the second message verification smart contract of the second blockchain network, When the verification handle relay message is received by the second message verification smart contract, verify the verification information included in the relay message, and (iii) verify the second message verification smart contract by the second message control smart contract. When it is confirmed that the verification of the relay message is successful, the blockchain communication message included in the relay message is confirmed, and (iv) a handle service message including the service message included in the blockchain communication message is sent. generate and receive the second service control smart contract; (v) when the handle service message is received by the second service control smart contract, check the service message included in the handle service message, and A call message notifying that a message has arrived is sent to the second DApp of the second blockchain network, and (vi) when the call message is detected by the second DApp, the raw bytes corresponding to the specific data are requested. cause an execution call message to be sent to the second service control smart contract, and (vii) when the execution call message is received by the second service control smart contract, a handle containing the raw bytes corresponding to the specific data. A method is provided, allowing a call message to be sent to the second DApp, and supporting the raw bytes to be decoded into the specific data of the second data format by a second decoding algorithm of the second DApp.

일례로서, 상기 검증 핸들 릴레이 메시지는, 상기 핸들 릴레이 메시지를 수신하는 상기 제2 메시지 제어 스마트 컨트랙트의 블록체인 어드레스, 상기 블록체인 통신 메시지를 생성한 상기 제1 메시지 제어 스마트 컨트랙트의 블록체인 어드레스, 상기 검증 핸들 릴레이 메시지를 식별할 수 있는 일련 번호, 및 상기 릴레이 메시지를 포함하는, 방법이 제공된다.As an example, the verification handle relay message includes: a blockchain address of the second message control smart contract that receives the handle relay message; a blockchain address of the first message control smart contract that generated the blockchain communication message; A method is provided, comprising a serial number that can identify a verification handle relay message, and the relay message.

일례로서, 상기 핸들 서비스 메시지는, 상기 서비스 메시지를 송신한 상기 제1 블록체인 네트워크의 네트워크 어드레스, 상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 상기 핸들 서비스 메시지를 식별할 수 있는 일련 번호, 및 상기 서비스 메시지를 포함하는, 방법이 제공된다.As an example, the handle service message includes a network address of the first blockchain network that transmitted the service message, a service type that identifies the type of service of the service message, a serial number that can identify the handle service message, and the service message.

일례로서, 상기 호출 메시지는, 상기 제1 블록체인 네트워크에 있는 상기 특정 데이터를 송신하는 계정의 상기 제1 블록체인 네트워크 상의 블록체인 어드레스인 발신지 어드레스, 상기 호출 메시지를 수신하는 계정의 상기 제2 블록체인 네트워크 상의 블록체인 어드레스인 목적지 어드레스, 상기 제1 블록체인 네트워크에서 상기 서비스 호출 메시지를 식별하기 위한 정보인 일련 번호, 상기 제2 블록체인 네트워크에서 상기 데이터를 송신하는 요청을 식별하기 위한 식별정보, 및 상기 특정 데이터를 포함하는, 방법이 제공된다.As an example, the call message may include a source address that is a blockchain address on the first blockchain network of the account sending the specific data in the first blockchain network, and the second block of the account receiving the call message. Destination address, which is a blockchain address on the chain network, a serial number, which is information for identifying the service call message in the first blockchain network, identification information for identifying a request for transmitting the data in the second blockchain network, and a method comprising the specific data.

본 발명의 다른 태양에 따르면, 데이터의 형식을 알 수 없는 특정 데이터를 제1 블록체인 네트워크로부터 제2 블록체인 네트워크로 송신하는 릴레이에 있어서, 인스트럭션들을 저장하는 적어도 하나의 메모리; 및 상기 인스트럭션들을 실행하기 위해 구성된 적어도 하나의 프로세서;를 포함하되, 상기 프로세서는, (I) 제1 데이터 형식을 따르는 상기 제1 블록체인 네트워크로부터 제2 데이터 형식을 따르는 상기 제2 블록체인 네트워크로 상기 특정 데이터를 송신하기 위한 블록체인 통신 메시지의 생성이 감지되면, 상기 블록체인 통신 메시지와 검증 정보를 포함하는 릴레이 메시지를 생성하는 프로세스; 및 (II) 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, 상기 릴레이 메시지에 포함된 상기 특정 데이터를 상기 제2 데이터 형식으로 변환하여 수신자에게 송신하도록 하는 프로세스;를 수행하는 것을 특징으로 하는 릴레이가 제공된다.According to another aspect of the present invention, a relay for transmitting specific data of unknown data format from a first blockchain network to a second blockchain network, comprising: at least one memory storing instructions; and at least one processor configured to execute the instructions, wherein the processor is configured to: (I) connect from the first blockchain network conforming to a first data format to the second blockchain network conforming to a second data format; A process of generating a relay message including the blockchain communication message and verification information when the creation of a blockchain communication message for transmitting the specific data is detected; and (II) transmitting the relay message to the second blockchain network, causing the second blockchain network to verify the relay message using the verification information included in the relay message, and A relay is provided, characterized in that it performs a process of converting the specific data included in the second data format and transmitting it to the recipient.

일례로서, 상기 (I) 프로세스 이전에, (I-0) 상기 프로세서가, 상기 제1 블록체인 네트워크에 제1 서비스 제어 스마트 컨트랙트와 제1 메시지 제어 스마트 컨트랙트를 배포하고 상기 제2 블록체인 네트워크에 제2 서비스 제어 스마트 컨트랙트와 제2 메시지 제어 스마트 컨트랙트를 배포하는 프로세스를 더 수행하고, 상기 (I) 프로세스에서, (i) 상기 제1 블록체인 네트워크의 제1 디앱의 제1 인코딩 알고리즘에 의해 상기 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 서비스 호출 메시지가 상기 제1 블록체인 네트워크의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 서비스 메시지가 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되며, (iii) 상기 제1 메시지 제어 스마트 컨트랙트에 의해 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지가 생성되면, 상기 프로세서가 상기 블록체인 통신 메시지와 상기 검증 정보를 포함하는 상기 릴레이 메시지를 생성하고, 상기 (II) 프로세스에서, 상기 프로세서는, 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, (iii) 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 상기 제2 블록체인 네트워크의 제2 디앱으로 송신되도록 하고, (vi) 상기 제2 디앱에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱으로 송신되도록 하고, 상기 제2 디앱의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원하는, 릴레이가 제공된다.As an example, prior to the (I) process, (I-0) the processor deploys a first service control smart contract and a first message control smart contract to the first blockchain network and to the second blockchain network. Further performing a process of deploying a second service control smart contract and a second message control smart contract, wherein in the process (I), (i) the first encoding algorithm of the first DApp of the first blockchain network is used. When the specific data of a first data format is encoded into raw bytes, a service call message containing the raw bytes corresponding to the specific data is sent to the first service control smart contract of the first blockchain network, ( ii) a service message including the service call message is sent to the first message control smart contract of the first blockchain network by the first service control smart contract, and (iii) to the first message control smart contract When the blockchain communication message including the service message is generated, the processor generates the relay message including the blockchain communication message and the verification information, and in the process (II), the processor Transmit a relay message to the second blockchain network, causing the second blockchain network to: (i) receive the relay message through the second message control smart contract, and (ii) be included in the relay message Verify the relay message using the verification information provided, (iii) Verify the blockchain communication message included in the relay message, (iv) Verify the service message included in the blockchain communication message causes the second service control smart contract to receive, (v) causes a call message notifying that the service message has arrived by the second service control smart contract to be sent to the second DApp of the second blockchain network, (vi ) Cause an execution call message requesting the raw bytes corresponding to the specific data to be sent by the second DApp to the second service control smart contract, (vii) send the specific data to the second service control smart contract A handle call message containing the raw byte corresponding to is sent to the second DApp, and the raw byte is decoded into the specific data in the second data format by a second decoding algorithm of the second DApp. A relay is provided.

일례로서, 상기 (I) 프로세스에서, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지가 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제1 디앱에서 상기 제1 디앱의 사용자에게 상기 특정 데이터에 대응되는 상기 원시 바이트를 송신하는 것에 관한 릴레이 관련 수수료를 요청하고, 상기 (II) 프로세스에서, (vi) 상기 제2 디앱에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 상기 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제2 디앱에서 상기 제2 디앱의 사용자에게 상기 특정 데이터를 수신하는 것에 관한 릴레이 비관련 수수료를 요청하는, 릴레이가 제공된다.As an example, in the process (I), (ii) the service message including the service call message is transmitted by the first service control smart contract to the first message control smart contract in the first blockchain network. To do this, the first DApp requests a relay-related fee for transmitting the raw bytes corresponding to the specific data to the user of the first DApp, and in the process (II), (vi) the second DApp Receiving the specific data from the second DApp to the user of the second DApp so that the execution call message requesting the raw bytes corresponding to the specific data is transmitted to the second service control smart contract. A relay is provided, requesting a non-relay related fee.

일례로서, 상기 제1 서비스 제어 스마트 컨트랙트와 상기 제2 서비스 제어 스마트 컨트랙트는, 각각 자신이 속해 있는 블록체인 네트워크 이외의 다른 블록체인 네트워크의 스마트 컨트랙트 메쏘드를 호출할 수 있도록 구성되며, 상기 제1 블록체인 네트워크의 상기 제1 데이터 형식 및 상기 제2 블록체인 네트워크의 상기 제2 데이터 형식에 대하여 알지 못하는 상태로 관리되는 것을 특징으로 하는, 릴레이가 제공된다.As an example, the first service control smart contract and the second service control smart contract are each configured to call a smart contract method of a blockchain network other than the blockchain network to which they belong, and the first block A relay is provided, characterized in that it is managed without knowledge of the first data format of the chain network and the second data format of the second blockchain network.

일례로서, 상기 서비스 호출 메시지는, 에러 발생시 상기 특정 데이터를 송신하기 전 상태로 복원하기 위한 정보인 롤백 정보를 더 포함하는, 릴레이가 제공된다.As an example, a relay is provided in which the service call message further includes rollback information, which is information for restoring the specific data to the state before transmission when an error occurs.

일례로서, 상기 블록체인 통신 메시지는, 상기 블록체인 통신 메시지를 생성한 상기 제1 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 소스 어드레스, 상기 블록체인 통신 메시지를 수신하는 상기 제2 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 목적지 어드레스, 상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 상기 블록체인 통신 메시지를 식별할 수 있는 일련 번호, 및 상기 서비스 메시지를 포함하는, 릴레이가 제공된다.As an example, the blockchain communication message may include a source address that is the blockchain address of the first message control smart contract that generated the blockchain communication message, and a block of the second message control smart contract that receives the blockchain communication message. A relay is provided, including a destination address that is a chain address, a service type that identifies the type of service of the service message, a serial number that identifies the blockchain communication message, and the service message.

일례로서, 상기 (I) 프로세스에서, (i) 상기 제1 블록체인 네트워크의 상기 제1 디앱의 상기 제1 인코딩 알고리즘에 의해 상기 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 상기 서비스 호출 메시지가 상기 제1 블록체인 네트워크의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에서 상기 서비스 호출 메시지를 수신하면, 상기 제1 디앱으로 상기 서비스 호출 메시지의 식별을 위한 일련 번호를 응답하고, 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지를 생성하고, 상기 서비스 메시지를 포함하는 송신 서비스 메시지를 생성하고, 상기 송신 서비스 메시지를 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신하며, (iii) 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트에서 상기 송신 서비스 메시지를 수신하면, 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지를 생성하고, 상기 블록체인 통신 메시지를 포함하는 블록체인 이벤트 메시지를 생성하면, 상기 프로세서는, 상기 블록체인 이벤트 메시지에 포함된 상기 블록체인 통신 메시지와 상기 검증 정보를 이용하여 상기 릴레이 메시지를 생성하는, 릴레이가 제공된다.As an example, in the process (I), if (i) the specific data of the first data format is encoded into raw bytes by the first encoding algorithm of the first DApp of the first blockchain network, the specific data The service call message containing the raw bytes corresponding to data is sent to the first service control smart contract of the first blockchain network, and (ii) the first service control smart contract receives the service call message. If so, the first DApp responds with a serial number for identification of the service call message, generates the service message including the service call message, generates a transmission service message including the service message, and transmits the service message. transmitting a service message to the first message control smart contract of the first blockchain network; (iii) receiving the transmitted service message from the first message control smart contract of the first blockchain network; When generating the blockchain communication message including the blockchain communication message and generating the blockchain event message including the blockchain communication message, the processor generates the blockchain communication message and the verification information included in the blockchain event message. A relay is provided that generates the relay message using a relay.

일례로서, 상기 송신 서비스 메시지는, 상기 서비스 메시지를 수신하는 상기 제2 블록체인 네트워크의 네트워크 어드레스에 관한 정보인 목적지 네트워크 어드레스, 상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 송신 서비스 메시지를 식별할 수 있는 일련 번호, 및 상기 서비스 메시지를 포함하는, 릴레이가 제공된다.As an example, the transmission service message includes a destination network address that is information about the network address of the second blockchain network that receives the service message, a service type that identifies the type of service of the service message, and identification of the transmission service message. A relay is provided, including a capable serial number, and the service message.

일례로서, 상기 블록체인 이벤트 메시지는, 상기 블록체인 통신 메시지가 전달되는 상기 제2 블록체인 네트워크의 상기 제2 메시지 제어 스마트 컨트랙트에 관한 블록체인 어드레스에 관한 정보인 목적지 어드레스, 상기 제1 블록체인 네트워크에서 상기 서비스 호출 메시지를 식별하기 위한 정보인 상기 일련 번호, 및 상기 블록체인 통신 메시지를 포함하는, 릴레이가 제공된다.As an example, the blockchain event message includes a destination address that is information about a blockchain address regarding the second message control smart contract of the second blockchain network through which the blockchain communication message is delivered, the first blockchain network A relay is provided, including the serial number, which is information for identifying the service call message, and the blockchain communication message.

일례로서, 상기 (II) 프로세스에서, 상기 프로세서는, 상기 릴레이 메시지를 포함하는 핸들 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 핸들 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지를 포함하는 검증 핸들 릴레이 메시지를 생성하여 상기 제2 블록체인 네트워크의 상기 제2 메시지 검증 스마트 컨트랙트로 송신하도록 하고, 상기 제2 메시지 검증 스마트 컨트랙트에 의해 상기 검증 핸들 릴레이 메시지가 수신되면, 상기 릴레이 메시지에 포함된 상기 검증 정보를 검증하도록 하고, (iii) 상기 제2 메시지 제어 스마트 컨트랙트에 의해 상기 제2 메시지 검증 스마트 컨트랙트를 통해서 상기 릴레이 메시지의 검증이 성공되었을 확인하면, 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 포함하는 핸들 서비스 메시지를 생성하여 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 핸들 서비스 메시지가 수신되면, 상기 핸들 서비스 메시지에 포함된 상기 서비스 메시지를 확인하고, 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 상기 제2 블록체인 네트워크의 제2 디앱으로 송신되도록 하고, (vi) 상기 제2 디앱에 의해 상기 호출 메시지가 감지되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 실행 호출 메시지가 수신되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱으로 송신되도록 하고, 상기 제2 디앱의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원하는, 릴레이가 제공된다.As an example, in process (II), the processor transmits a handle relay message including the relay message to the second blockchain network, causing the second blockchain network to: (i) send the second message (ii) receive the handle relay message through a control smart contract, (ii) generate a verification handle relay message including the relay message and transmit it to the second message verification smart contract of the second blockchain network, When the verification handle relay message is received by the second message verification smart contract, verify the verification information included in the relay message, and (iii) verify the second message verification smart contract by the second message control smart contract. When it is confirmed that the verification of the relay message is successful, the blockchain communication message included in the relay message is confirmed, and (iv) a handle service message including the service message included in the blockchain communication message is sent. generate and receive the second service control smart contract; (v) when the handle service message is received by the second service control smart contract, check the service message included in the handle service message, and A call message notifying that a message has arrived is sent to the second DApp of the second blockchain network, and (vi) when the call message is detected by the second DApp, the raw bytes corresponding to the specific data are requested. cause an execution call message to be sent to the second service control smart contract, and (vii) when the execution call message is received by the second service control smart contract, a handle containing the raw bytes corresponding to the specific data. A relay is provided that causes a call message to be sent to the second DApp and supports the raw bytes to be decoded into the specific data in the second data format by a second decoding algorithm of the second DApp.

일례로서, 상기 검증 핸들 릴레이 메시지는, 상기 핸들 릴레이 메시지를 수신하는 상기 제2 메시지 제어 스마트 컨트랙트의 블록체인 어드레스, 상기 블록체인 통신 메시지를 생성한 상기 제1 메시지 제어 스마트 컨트랙트의 블록체인 어드레스, 상기 검증 핸들 릴레이 메시지를 식별할 수 있는 일련 번호, 및 상기 릴레이 메시지를 포함하는, 릴레이가 제공된다.As an example, the verification handle relay message includes: a blockchain address of the second message control smart contract that receives the handle relay message; a blockchain address of the first message control smart contract that generated the blockchain communication message; A relay is provided, containing the relay message, and a serial number identifying the verification handle relay message.

일례로서, 상기 핸들 서비스 메시지는, 상기 서비스 메시지를 송신한 상기 제1 블록체인 네트워크의 네트워크 어드레스, 상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 상기 핸들 서비스 메시지를 식별할 수 있는 일련 번호, 및 상기 서비스 메시지를 포함하는, 릴레이가 제공된다.As an example, the handle service message includes a network address of the first blockchain network that transmitted the service message, a service type that identifies the type of service of the service message, a serial number that can identify the handle service message, and a relay containing the service message is provided.

일례로서, 상기 호출 메시지는, 상기 제1 블록체인 네트워크에 있는 상기 특정 데이터를 송신하는 계정의 상기 제1 블록체인 네트워크 상의 블록체인 어드레스인 발신지 어드레스, 상기 호출 메시지를 수신하는 계정의 상기 제2 블록체인 네트워크 상의 블록체인 어드레스인 목적지 어드레스, 상기 제1 블록체인 네트워크에서 상기 서비스 호출 메시지를 식별하기 위한 정보인 일련 번호, 상기 제2 블록체인 네트워크에서 상기 데이터를 송신하는 요청을 식별하기 위한 식별정보, 및 상기 특정 데이터를 포함하는, 릴레이가 제공된다.As an example, the call message may include a source address that is a blockchain address on the first blockchain network of the account sending the specific data in the first blockchain network, and the second block of the account receiving the call message. Destination address, which is a blockchain address on the chain network, a serial number, which is information for identifying the service call message in the first blockchain network, identification information for identifying a request for transmitting the data in the second blockchain network, and a relay containing the specific data.

본 발명은 릴레이에서 데이터의 형식을 알 수 없는 특정 데이터를 제1 블록체인 네트워크로부터 상기 릴레이를 거쳐서 제2 블록체인 네트워크로 송신하는 방법을 제공할 수 있는 효과가 있다.The present invention has the effect of providing a method of transmitting specific data whose format is unknown in a relay from a first blockchain network to a second blockchain network through the relay.

또한, 본 발명은 각각의 블록체인 네트워크에 배포된 스마트 컨트랙트 각각에서 자신이 속하지 않은 타 블록체인의 스마트 컨트랙트의 메쏘드를 호출하도록 할 수 있는 효과가 있다.Additionally, the present invention has the effect of allowing each smart contract distributed in each blockchain network to call a method of a smart contract of another blockchain to which it does not belong.

또한, 본 발명은 릴레이를 통해 원시 바이트 형태의 메시지를 제1 블록체인 네트워크로부터 제2 블록체인 네트워크로 전달하고, 제2 블록체인 네트워크의 디앱의 디코딩 알고리즘을 통해 사용자가 전달된 메시지를 처리하도록 함으로써, 호출하려는 메쏘드에 상관 없이 릴레이의 트랜잭션 비용이 일정한 수준으로 예측 가능하도록 할 수 있는 효과가 있다.In addition, the present invention transmits a message in the form of raw bytes from the first blockchain network to the second blockchain network through a relay, and allows the user to process the delivered message through the decoding algorithm of the DApp of the second blockchain network. , it has the effect of ensuring that the relay transaction cost can be predicted at a certain level regardless of the method being called.

도 1은 본 발명의 일 실시예에 따른 블록체인 간에 특정 데이터를 송수신할 수 있는 전체 시스템의 개략적인 구성을 도시한 도면이다.
도 2는 본 발명의 일 실시예에 따른 전체 시스템에서 노드가 개략적으로 배치된 예를 도시한 도면이다.
도 3은 본 발명의 블록체인 간에 특정 데이터의 송수신이 가능한 시스템에서 통신이 수행되는 과정을 도시한 흐름도이다.
도 4는 본 발명의 시스템의 제1 블록체인 네트워크에서 특정 데이터를 송신하는 과정을 도시한 흐름도이다.
도 5는 본 발명의 시스템의 릴레이에서 특정 데이터를 중계하는 과정을 도시한 흐름도이다.
도 6은 본 발명의 시스템의 제2 블록체인 네트워크에서 특정 데이터를 최종 목적지로 송신하는 과정을 도시한 흐름도이다.
도 7은 본 발명의 시스템에서 오류 발생시 처리하는 과정을 도시한 흐름도이다.
Figure 1 is a diagram showing a schematic configuration of an entire system capable of transmitting and receiving specific data between blockchains according to an embodiment of the present invention.
Figure 2 is a diagram illustrating an example of a schematic arrangement of nodes in the entire system according to an embodiment of the present invention.
Figure 3 is a flowchart showing the process of communication in a system capable of transmitting and receiving specific data between blockchains of the present invention.
Figure 4 is a flowchart showing the process of transmitting specific data in the first blockchain network of the system of the present invention.
Figure 5 is a flowchart showing the process of relaying specific data in the relay of the system of the present invention.
Figure 6 is a flowchart showing the process of transmitting specific data to the final destination in the second blockchain network of the system of the present invention.
Figure 7 is a flowchart showing the process of handling an error in the system of the present invention.

이하에서, 첨부된 도면을 참조하여 실시예들을 상세하게 설명한다. 그러나, 실시예들에는 다양한 변경이 가해질 수 있어서 특허출원의 권리 범위가 이러한 실시예들에 의해 제한되거나 한정되는 것은 아니다. 실시예들에 대한 모든 변경, 균등물 내지 대체물이 권리 범위에 포함되는 것으로 이해되어야 한다.Hereinafter, embodiments will be described in detail with reference to the attached drawings. However, various changes can be made to the embodiments, so the scope of the patent application is not limited or limited by these embodiments. It should be understood that all changes, equivalents, or substitutes for the embodiments are included in the scope of rights.

실시예에서 사용한 용어는 단지 설명을 목적으로 사용된 것으로, 한정하려는 의도로 해석되어서는 안 된다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서 상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the examples are for descriptive purposes only and should not be construed as limiting. Singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, terms such as “comprise” or “have” are intended to designate the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, but are not intended to indicate the presence of one or more other features. It should be understood that this does not exclude in advance the possibility of the existence or addition of elements, numbers, steps, operations, components, parts, or combinations thereof.

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

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 실시예의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In addition, when describing with reference to the accompanying drawings, identical components will be assigned the same reference numerals regardless of the reference numerals, and overlapping descriptions thereof will be omitted. In describing the embodiments, if it is determined that detailed descriptions of related known technologies may unnecessarily obscure the gist of the embodiments, the detailed descriptions are omitted.

또한, 실시예의 구성 요소를 설명하는 데 있어서, 제1, 제2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다. Additionally, in describing the components of the embodiment, terms such as first, second, A, B, (a), and (b) may be used. These terms are only used to distinguish the component from other components, and the nature, order, or order of the component is not limited by the term. When a component is described as being “connected,” “coupled,” or “connected” to another component, that component may be directly connected or connected to that other component, but there is no need for another component between each component. It should be understood that may be “connected,” “combined,” or “connected.”

어느 하나의 실시예에 포함된 구성요소와, 공통적인 기능을 포함하는 구성요소는, 다른 실시예에서 동일한 명칭을 사용하여 설명하기로 한다. 반대되는 기재가 없는 이상, 어느 하나의 실시예에 기재한 설명은 다른 실시예에도 적용될 수 있으며, 중복되는 범위에서 구체적인 설명은 생략하기로 한다.Components included in one embodiment and components including common functions will be described using the same names in other embodiments. Unless stated to the contrary, the description given in one embodiment may be applied to other embodiments, and detailed description will be omitted to the extent of overlap.

이하에서는, 본 발명의 일 실시예에 따른 블록체인 간 데이터를 송신하는 시스템 및 방법을 첨부된 도 1 내지 도 7을 참조하여 상세히 설명한다.Below, a system and method for transmitting data between blockchains according to an embodiment of the present invention will be described in detail with reference to the attached FIGS. 1 to 7.

도 1은 본 발명의 일 실시예에 따른 블록체인 간에 데이터를 송수신할 수 있는 전체 시스템의 개략적인 구성을 도시한 도면이다.Figure 1 is a diagram showing a schematic configuration of an entire system capable of transmitting and receiving data between blockchains according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 전체 시스템은 제1 블록체인 네트워크(110), 제2 블록체인 네트워크(130) 및 릴레이(120)를 포함하여 구성될 수 있다.Referring to FIG. 1, the entire system of the present invention may be configured to include a first blockchain network 110, a second blockchain network 130, and a relay 120.

제1 블록체인 네트워크(110)는 제1 디앱(111), 제1 서비스 제어 스마트 컨트랙트(112), 제1 메시지 제어 스마트 컨트랙트(114) 및 제1 메시지 검증 스마트 컨트랙트(116)의 동작을 지원할 수 있다.The first blockchain network 110 can support the operation of the first DApp 111, the first service control smart contract 112, the first message control smart contract 114, and the first message verification smart contract 116. there is.

제2 블록체인 네트워크(130)는 제2 디앱(131), 제2 서비스 제어 스마트 컨트랙트(132), 제2 메시지 제어 스마트 컨트랙트(134) 및 제2 메시지 검증 스마트 컨트랙트(136)의 동작을 지원할 수 있다.The second blockchain network 130 can support the operations of the second DApp 131, the second service control smart contract 132, the second message control smart contract 134, and the second message verification smart contract 136. there is.

이때, 디앱은 각각의 블록체인 네트워크에서 사용자와의 인터페이스를 담당하는 어플리케이션일 수 있다.At this time, DApp may be an application responsible for interfacing with users in each blockchain network.

또한, 디앱은 각각 송신하거나 수신하는 데이터의 형식에 따라서 데이터의 인코딩과 디코딩을 수행할 수 있다.Additionally, DApps can perform encoding and decoding of data depending on the format of the data being transmitted or received.

제1 블록체인 네트워크(110)에서 제2 블록체인 네트워크(130)로 데이터를 송신하는 예를 살펴보면 다음과 같이 동작할 수 있다. 여기서, 제1 데이터 형식을 따르는 상기 제1 블록체인 네트워크(110)로부터 제2 데이터 형식을 따르는 상기 제2 블록체인 네트워크(130)로 특정 데이터를 송신하는 경우를 상정하는데, 릴레이(120)는 제1 블록체인 네트워크(110)의 제1 데이터 형식 및/또는 제2 블록체인 네트워크(130)의 제2 데이터 형식을 알지 못하는 상태임을 밝혀둔다. 또한, 본 발명에서 "릴레이(120)"는 협의의 릴레이(relay) 그 자체일 수도 있으나, 릴레이와 연동되는 소정 주체(가령, 릴레이를 관리하는 운영 장치)를 의미하는 광의적인 용어로 해석될 수도 있다. 릴레이(120)는 컨트랙트를 매니지먼트하는 주체와 릴레이를 수행하는 주체로 나뉠 수 있는데, 이에 한정되는 것은 아니다.Looking at an example of transmitting data from the first blockchain network 110 to the second blockchain network 130, it can operate as follows. Here, it is assumed that specific data is transmitted from the first blockchain network 110 that follows the first data format to the second blockchain network 130 that follows the second data format, and the relay 120 is 1 It should be noted that the first data format of the blockchain network 110 and/or the second data format of the second blockchain network 130 are not known. In addition, in the present invention, the “relay 120” may be a relay itself in the narrow sense, but may also be interpreted as a broad term meaning a certain entity (e.g., an operating device that manages the relay) that is linked to the relay. there is. The relay 120 can be divided into an entity that manages the contract and an entity that performs the relay, but is not limited to this.

제1 블록체인 네트워크(110)에서 제2 블록체인 네트워크(130)로 송신하는 데이터를 포함하는 서비스 호출 메시지를 획득하면, 제1 블록체인 네트워크(110)는, 서비스 호출 메시지와 서비스 호출 메시지의 서비스 정보를 포함하는 서비스 메시지를 생성하고, 서비스 메시지를 포함하는 블록체인 통신 메시지를 생성할 수 있다.When a service call message containing data transmitted from the first blockchain network 110 to the second blockchain network 130 is obtained, the first blockchain network 110 provides the service call message and the service call message. You can create a service message containing information and create a blockchain communication message containing the service message.

릴레이(120)는 제1 블록체인 네트워크(110)를 모니터링 하다가 블록체인 통신 메시지의 생성을 감지하면, 제1 블록체인 네트워크로(110)부터 블록체인 통신 메시지를 검증할 수 있는 검증 정보(146)를 획득하고, 블록체인 통신 메시지와 검증 정보(146)를 포함하는 릴레이 메시지를 생성하고, 릴레이 메시지를 메시지의 목적지를 포함하는 제2 블록체인 네트워크(130)로 송신할 수 있다.When the relay 120 detects the creation of a blockchain communication message while monitoring the first blockchain network 110, it provides verification information 146 that can verify the blockchain communication message from the first blockchain network 110. can be obtained, generate a relay message including a blockchain communication message and verification information 146, and transmit the relay message to the second blockchain network 130 including the destination of the message.

이때, 검증 정보(146)는 블록체인 통신 메시지가 블록체인에 특정 블록에 소속되어 있음을 증명할 수 있는 일련의 데이터를 의미한다. 그리고, 검증 정보(146)는 블록체인마다 다르게 정의될 수 있다.At this time, the verification information 146 refers to a series of data that can prove that the blockchain communication message belongs to a specific block in the blockchain. Additionally, verification information 146 may be defined differently for each blockchain.

검증 정보(146)의 대표적인 예는 블록 헤더로부터 연결된 머클 트리(Merkle Tree)에 끝에 연결되어 있는 데이터일 수 있고, 이를 증명하기 위해서는 루트(Root)에서 연결되는 모든 엔티티(Entity)의 데이터를 검증 정보(146)로 하거나, 혹은 형태(Sibling)들의 해쉬(Hash)값을 검증 정보(146)로 할 수 있다. A representative example of the verification information 146 may be data connected to the end of a Merkle Tree connected from the block header, and to prove this, the data of all entities connected from the root must be verified as verification information. (146), or the hash value of the Siblings can be used as verification information (146).

한편, 검증 정보(146)의 다른 예로 MPT(Merkle Patricia Tree)를 사용하고 연결되는 엔티티(Entity)의 데이터로 검증 정보(146)의 증명이 이루어 지도록 할 수 있다. 검증 정보(146)의 획득은 해당 데이터의 키(Key)값을 가지고 특정한 계정에서 어플리케이션 프로그램 인터페이스(API: Application Program Interface)를 호출해서 얻을 수 있다.Meanwhile, as another example of the verification information 146, MPT (Merkle Patricia Tree) can be used and the verification information 146 can be verified with data of a connected entity. Verification information 146 can be obtained by calling an application program interface (API) from a specific account with the key value of the data.

제2 블록체인 네트워크(130)는 릴레이 메시지를 수신하면, 릴레이 메시지에 포함된 검증 정보(146)를 이용해서 릴레이 메시지를 검증하고, 릴레이 메시지에 포함된 데이터를 제2 디앱(131)을 통해서 수신자에게 송신할 수 있다.When the second blockchain network 130 receives the relay message, it verifies the relay message using the verification information 146 included in the relay message, and sends the data included in the relay message to the recipient through the second DApp 131. can be sent to.

보다 구체적으로, 릴레이(120)가, 제1 블록체인 네트워크(110)에 제1 서비스 제어 스마트 컨트랙트와 제1 메시지 제어 스마트 컨트랙트 등을 배포하고 제2 블록체인 네트워크(130)에 제2 서비스 제어 스마트 컨트랙트와 제2 메시지 제어 스마트 컨트랙트 등을 배포하여, 이하에서 설명하는 본 발명의 중요한 특징(즉, 릴레이(120)가 제1 데이터 형식 및 제2 데이터 형식을 몰라도 아무런 문제 없이 이종 블록체인 간에 데이터를 송수신할 수 있다는 특징)을 위한 사전 조건을 마련할 수 있다. More specifically, the relay 120 distributes the first service control smart contract and the first message control smart contract to the first blockchain network 110 and the second service control smart contract to the second blockchain network 130. By distributing the contract and the second message control smart contract, etc., an important feature of the present invention described below (i.e., the relay 120 can transmit data between heterogeneous blockchains without any problem without knowing the first data format and the second data format). Prerequisites for the ability to transmit and receive) can be established.

이와 같은 상태에서, (i) 제1 블록체인 네트워크(110)의 제1 디앱(111)의 제1 인코딩 알고리즘에 의해 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 서비스 호출 메시지가 제1 블록체인 네트워크(110)의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 서비스 메시지가 제1 블록체인 네트워크(110)의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되며, (iii) 상기 제1 메시지 제어 스마트 컨트랙트에 의해 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지가 생성되면, 릴레이(120)가 상기 블록체인 통신 메시지와 상기 검증 정보(146)를 포함하는 상기 릴레이 메시지를 생성할 것이다. In this state, (i) when the specific data in the first data format is encoded into raw bytes by the first encoding algorithm of the first DApp 111 of the first blockchain network 110, it corresponds to the specific data A service call message containing the raw bytes is sent to the first service control smart contract of a first blockchain network 110, and (ii) containing the service call message by the first service control smart contract. A service message is sent to the first message control smart contract of the first blockchain network 110, and (iii) when the blockchain communication message including the service message is generated by the first message control smart contract, Relay 120 will generate the relay message including the blockchain communication message and the verification information 146.

이때, 상기 (ii)에서, 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지가 제1 블록체인 네트워크(110)의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제1 디앱(111)에서 상기 제1 디앱(111)의 사용자에게 상기 특정 데이터에 대응되는 상기 원시 바이트를 송신하는 것에 관한 제1 수수료(소위, 릴레이 관련 수수료)를 요청할 수 있다. At this time, in (ii), in order to ensure that the service message including the service call message is transmitted by the first service control smart contract to the first message control smart contract of the first blockchain network 110, The first DApp 111 may request a first fee (so-called relay-related fee) for transmitting the raw bytes corresponding to the specific data from the user of the first DApp 111.

이후, 릴레이(120)는, 상기 릴레이 메시지를 제2 블록체인 네트워크(130)로 송신하여, 제2 블록체인 네트워크(130)로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지에 포함된 상기 검증 정보(146)를 이용해서 상기 릴레이 메시지를 검증하도록 하고, (iii) 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 제2 블록체인 네트워크(130)의 제2 디앱(131)으로 송신되도록 하고, (vi) 상기 제2 디앱(131)에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱(131)으로 송신되도록 하고, 상기 제2 디앱(131)의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원할 수 있을 것이다. Thereafter, the relay 120 transmits the relay message to the second blockchain network 130, causing the second blockchain network 130 to: (i) transmit the relay message through the second message control smart contract (ii) verify the relay message using the verification information 146 included in the relay message, (iii) verify the blockchain communication message included in the relay message, (iv) causing the second service control smart contract to receive the service message included in the blockchain communication message, and (v) sending a call message notifying that the service message has arrived by the second service control smart contract. 2 is transmitted to the second DApp 131 of the blockchain network 130, and (vi) an execution call message requesting the raw bytes corresponding to the specific data is sent by the second DApp 131 to the second DApp 131. (vii) cause a handle call message containing the raw bytes corresponding to the specific data to be transmitted to the second DApp 131 by the second service control smart contract, and The second decoding algorithm of the second DApp 131 may support decoding the raw bytes into the specific data of the second data format.

이때, 상기 (vi)에서, 상기 제2 디앱(131)에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 상기 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제2 디앱(131)에서 상기 제2 디앱(131)의 사용자에게 상기 특정 데이터를 수신하는 것에 관한 제2 수수료(소위, 릴레이 비관련 수수료)를 요청할 수 있다. At this time, in (vi), in order to ensure that the execution call message requesting the raw bytes corresponding to the specific data is transmitted by the second DApp 131 to the second service control smart contract, the second The DApp 131 may request a second fee (so-called relay-unrelated fee) related to receiving the specific data from the user of the second DApp 131.

상기 제1 서비스 제어 스마트 컨트랙트와 상기 제2 서비스 제어 스마트 컨트랙트는, 각각 자신이 속해 있는 블록체인 네트워크 이외의 다른 블록체인 네트워크의 스마트 컨트랙트 메쏘드를 호출할 수 있도록 구성되며, 상기 제1 블록체인 네트워크의 상기 제1 데이터 형식 및 상기 제2 블록체인 네트워크의 상기 제2 데이터 형식에 대하여 알지 못하는 상태로 릴레이(120)와 연동되도록 관리될 수 있다.The first service control smart contract and the second service control smart contract are each configured to call a smart contract method of a blockchain network other than the blockchain network to which they belong, and are configured to call the smart contract method of the blockchain network other than the blockchain network to which they belong. It can be managed to link with the relay 120 without knowing about the first data format and the second data format of the second blockchain network.

도 2는 본 발명의 일 실시예에 따른 시스템에서 노드가 개략적으로 배치된 예를 도시한 도면이다.Figure 2 is a diagram illustrating an example of a schematic arrangement of nodes in a system according to an embodiment of the present invention.

도 2를 참조하면 본 발명의 시스템은 다수의 노드(211 - 215)를 포함하는 제1 블록체인 네트워크(110), 다수의 노드(231 - 234)를 포함하는 제2 블록체인 네트워크(130) 및 제1 블록체인 네트워크(110)와 제2 블록체인 네트워크(130)의 통신을 중계하는 릴레이(120)를 포함하여 구성될 수 있다.Referring to Figure 2, the system of the present invention includes a first blockchain network 110 including a plurality of nodes 211 to 215, a second blockchain network 130 including a plurality of nodes 231 to 234, and It may be configured to include a relay 120 that relays communication between the first blockchain network 110 and the second blockchain network 130.

이때, 릴레이(120)는 제1 블록체인 네트워크(110)의 노드(214)와 제2 블록체인 네트워크(130)의 노드(232)를 포함할 수 있다.At this time, the relay 120 may include a node 214 of the first blockchain network 110 and a node 232 of the second blockchain network 130.

즉, 노드(214)는 제1 블록체인 네트워크(110)와 릴레이(120) 양쪽에 포함되어 구성될 수 있고, 노드(232)는 제2 블록체인 네트워크(130)와 릴레이(120) 양쪽에 포함되어 구성될 수 있다.That is, the node 214 may be included in both the first blockchain network 110 and the relay 120, and the node 232 may be included in both the second blockchain network 130 and the relay 120. It can be configured.

다른 방법으로 릴레이(120)는 노드를 포함하지 않고, 제1 블록체인 네트워크(110)의 적어도 하나의 노드와 통신하고, 제2 블록체인 네트워크(130)의 적어도 하나의 노드와 통신하는 형태로 구성될 수도 있다.In another method, the relay 120 does not include a node and is configured to communicate with at least one node of the first blockchain network 110 and communicate with at least one node of the second blockchain network 130. It could be.

블록체인 간의 데이터 송수신에 대한 보다 구체적인 예를 이후 도 3 내지 도 7을 함께 참조하여 보다 상세히 후술한다.A more specific example of data transmission and reception between blockchains will be described in more detail later with reference to FIGS. 3 to 7.

도 3은 본 발명의 블록체인 간에 데이터의 송수신이 가능한 시스템에서 통신이 수행되는 과정을 도시한 흐름도이다.Figure 3 is a flowchart showing the process of communication in a system capable of transmitting and receiving data between blockchains of the present invention.

도 3을 참조하면, 제1 블록체인 네트워크(110)에서 제2 블록체인 네트워크(130)로 송신하는 데이터를 포함하는 서비스 호출 메시지를 수신하면(300), 서비스 호출 메시지와 서비스 호출 메시지의 서비스 정보를 포함하는 서비스 메시지를 생성하고, 서비스 메시지를 포함하는 블록체인 통신 메시지를 생성할 수 있다(310). 310단계는 이후, 도 4를 참조하여 보다 상세히 후술한다.Referring to FIG. 3, when a service call message containing data transmitted from the first blockchain network 110 to the second blockchain network 130 is received (300), the service call message and the service information of the service call message A service message containing a can be generated, and a blockchain communication message containing the service message can be generated (310). Step 310 will be described in more detail later with reference to FIG. 4 .

제1 블록체인 네트워크(110)를 모니터링 하는 릴레이(120)에서 블록체인 통신 메시지의 생성을 감지하면, 제1 블록체인 네트워크(110)로부터 블록체인 통신 메시지를 검증할 수 있는 검증 정보(146)를 획득하고, 블록체인 통신 메시지와 검증 정보(146)를 포함하는 릴레이 메시지를 생성하고, 릴레이 메시지를 메시지의 목적지를 포함하는 제2 블록체인 네트워크(130)로 송신할 수 있다(320). 320단계는 이후, 도 5를 참조하여 보다 상세히 후술한다.When the relay 120 monitoring the first blockchain network 110 detects the creation of a blockchain communication message, verification information 146 that can verify the blockchain communication message is received from the first blockchain network 110. Obtain, generate a relay message including a blockchain communication message and verification information 146, and transmit the relay message to the second blockchain network 130 including the destination of the message (320). Step 320 will be described in more detail later with reference to FIG. 5.

제2 블록체인 네트워크(130)에서 릴레이 메시지를 수신하면, 릴레이 메시지에 포함된 검증 정보(146)를 이용해서 릴레이 메시지를 검증하고, 릴레이 메시지에 포함된 데이터를 수신자에게 송신할 수 있다(330). 330단계는 이후, 도 6을 참조하여 보다 상세히 후술한다.When a relay message is received from the second blockchain network 130, the relay message can be verified using the verification information 146 included in the relay message, and the data included in the relay message can be transmitted to the recipient (330) . Step 330 will be described in more detail later with reference to FIG. 6.

도 4는 본 발명의 시스템의 제1 블록체인 네트워크(110)에서 데이터를 송신하는 과정을 도시한 흐름도이다.Figure 4 is a flowchart showing the process of transmitting data in the first blockchain network 110 of the system of the present invention.

도 4를 참조하면, 도 3의 310단계는 구체적으로 다음의 과정으로 수행될 수 있다.Referring to FIG. 4, step 310 of FIG. 3 can be specifically performed through the following process.

제1 블록체인 네트워크(110)의 제1 디앱(111)은 사용자로부터 제2 블록체인 네트워크(130)로 송신하고자 하는 특정 데이터를 수신하면(410), 특정 데이터를 포함하는 서비스 호출 메시지를 생성할 수 있다(412).When the first DApp 111 of the first blockchain network 110 receives specific data to be transmitted to the second blockchain network 130 from the user (410), it generates a service call message containing the specific data. Can (412).

이때, 서비스 호출 메시지는 제2 블록체인 네트워크(130)에 위치한 특정 데이터를 수신하는 계정의 블록체인 어드레스인 목적지 어드레스 및 송신하고자 하는 특정 데이터를 포함하여 구성될 수 있다. 또한, 서비스 호출 메시지는 선택적으로 에러 발생시 상기 특정 데이터를 송신하기 전 상태로 복원하기 위한 정보인 롤백 정보를 추가로 더 포함할 수 있다.At this time, the service call message may be composed of a destination address, which is the blockchain address of an account receiving specific data located in the second blockchain network 130, and specific data to be transmitted. Additionally, the service call message may optionally further include rollback information, which is information for restoring the specific data to the state before transmission when an error occurs.

사용자가 제1 디앱(111)을 통해서 송신할 특정 데이터를 서비스 호출 메시지를 이용해서 제1 서비스 제어 스마트 컨트랙트(112)에 제공할 때, 제1 디앱(111)은 사용자에게 특정 데이터 송신에 관한 제1 수수료를 요청할 수도 있다.When the user provides specific data to be transmitted through the first DApp 111 to the first service control smart contract 112 using a service call message, the first DApp 111 provides the user with a request for transmitting the specific data. 1 A fee may be requested.

제1 서비스 제어 스마트 컨트랙트(112)는 제1 디앱(111)으로부터 서비스 호출 메시지를 수신하면, 제1 디앱(111)으로 서비스 호출 메시지의 식별을 위한 일련 번호를 응답하고, 서비스 호출 메시지를 포함하는 서비스 메시지를 생성할 수 있다(414).When the first service control smart contract 112 receives a service call message from the first DApp 111, it responds to the first DApp 111 with a serial number for identification of the service call message and includes the service call message. A service message can be created (414).

서비스 메시지는 서비스 호출 메시지를 수신하는 계정의 블록체인 어드레스인 목적지 어드레스와 서비스 호출 메시지를 포함하여 생성될 수 있다.The service message can be created including a service call message and a destination address, which is the blockchain address of the account receiving the service call message.

또는, 서비스 메시지는 서비스 호출 메시지를 수신하는 계정의 블록체인 어드레스인 목적지 어드레스와 서비스 호출 메시지에 더해서 서비스 호출 메시지의 종류를 식별하는 메시지 종류, 서비스 종류와 서비스 종류의 세부 사항정보를 포함하는 서비스 정보, 및 서비스 호출 메시지를 송신하는 계정의 블록체인 어드레스인 출발지 어드레스 중에서 적어도 하나를 더 포함하여 구성될 수 있다.Alternatively, the service message may include a destination address that is the blockchain address of the account receiving the service call message, a message type that identifies the type of the service call message, and service information including detailed information on the service type. , and a source address that is a blockchain address of an account transmitting a service call message.

이때, 블록체인 어드레스는 블록체인 통신을 위한 어드레스임을 나타내는 통신 규약 식별 정보, 블록체인 네트워크의 종류를 구분하는 블록체인 종류 정보, 동일한 블록체인 네트워크의 종류에서 블록체인을 식별할 수 있는 블록체인 식별 정보, 및 블록체인 네트워크의 특정 계정을 식별할 수 있는 계정 식별 정보를 포함할 수 있다.At this time, the blockchain address is communication protocol identification information indicating that it is an address for blockchain communication, blockchain type information that distinguishes the type of blockchain network, and blockchain identification information that can identify the blockchain in the same type of blockchain network. , and may include account identification information that can identify a specific account in the blockchain network.

예를 들어, 블록체인 어드레스는 "btp://0x3.iconee/hx1234~"로 구성될 수 있다.For example, the blockchain address may consist of “btp://0x3.iconee/hx1234~”.

여기서, 'btp://'는 블록체인 통신을 위한 어드레스임을 나타내는 통신 규약 식별 정보이고, '0x3'는 블록체인 네트워크의 종류를 구분하는 블록체인 종류 정보이고, 'iconee'는 동일한 블록체인 네트워크의 종류에서 블록체인을 식별할 수 있는 블록체인 식별 정보이고, 'hx1234~'는 블록체인 네트워크의 특정 계정을 식별할 수 있는 계정 식별 정보이다.Here, 'btp://' is communication protocol identification information indicating an address for blockchain communication, '0x3' is blockchain type information that distinguishes the type of blockchain network, and 'iconee' is the ID of the same blockchain network. This is blockchain identification information that can identify the blockchain by type, and 'hx1234~' is account identification information that can identify a specific account in the blockchain network.

그리고, 제1 블록체인 네트워크(110)의 제1 서비스 제어 스마트 컨트랙트(112)는 서비스 메시지를 포함하는 송신 서비스 메시지(142)를 생성할 수 있다(416). And, the first service control smart contract 112 of the first blockchain network 110 may generate a transmission service message 142 including a service message (416).

이때, 송신 서비스 메시지(142)는 서비스 메시지를 수신하는 제2 블록체인 네트워크(130)의 네트워크 어드레스에 관한 정보인 목적지 네트워크 어드레스, 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 송신 서비스 메시지(142)를 식별할 수 있는 일련 번호, 및 서비스 메시지를 포함할 수 있다.At this time, the transmission service message 142 includes a destination network address, which is information about the network address of the second blockchain network 130 that receives the service message, a service type identifying the type of service of the service message, and a transmission service message 142 ) may include a serial number that can identify the device, and a service message.

그리고, 제1 블록체인 네트워크(110)의 제1 서비스 제어 스마트 컨트랙트(112)는 송신 서비스 메시지(142)를 제1 블록체인 네트워크(110)의 제1 메시지 제어 스마트 컨트랙트(114)로 송신할 수 있다(418).And, the first service control smart contract 112 of the first blockchain network 110 can transmit the transmission service message 142 to the first message control smart contract 114 of the first blockchain network 110. There is (418).

이후, 제1 블록체인 네트워크(110)의 제1 메시지 제어 스마트 컨트랙트(114)는 송신 서비스 메시지(142)를 수신하면, 블록체인 통신 메시지의 생성이 가능한지 여부를 확인할 수 있다(420).Thereafter, when the first message control smart contract 114 of the first blockchain network 110 receives the transmission service message 142, it can check whether the creation of a blockchain communication message is possible (420).

420단계의 확인결과 블록체인 통신 메시지의 생성이 가능하면, 제1 블록체인 네트워크(110)의 제1 메시지 제어 스마트 컨트랙트(114)는 서비스 메시지를 포함하는 블록체인 통신 메시지를 생성할 수 있다(422).If a blockchain communication message can be created as a result of the confirmation in step 420, the first message control smart contract 114 of the first blockchain network 110 can generate a blockchain communication message including a service message (422) ).

이때, 블록체인 통신 메시지는 블록체인 통신 메시지를 생성한 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 출발지 어드레스, 블록체인 통신 메시지를 수신하는 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 목적지 어드레스, 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 블록체인 통신 메시지를 식별할 수 있는 일련 번호, 및 서비스 메시지를 포함할 수 있다.At this time, the blockchain communication message includes the source address, which is the blockchain address of the message control smart contract that generated the blockchain communication message, the destination address, which is the blockchain address of the message control smart contract that receives the blockchain communication message, and the service of the service message. It may include a service type that identifies the type, a serial number that identifies the blockchain communication message, and a service message.

제1 블록체인 네트워크(110)의 제1 메시지 제어 스마트 컨트랙트(114)는 블록체인 통신 메시지를 제1 블록체인 네트워크(100)의 제1 블록체인에 추가한다(426).The first message control smart contract 114 of the first blockchain network 110 adds the blockchain communication message to the first blockchain of the first blockchain network 100 (426).

그리고, 제1 블록체인 네트워크(110)의 제1 메시지 제어 스마트 컨트랙트(114)는 블록체인 통신 메시지를 포함하는 블록체인 이벤트 메시지(144)를 생성한다(428).And, the first message control smart contract 114 of the first blockchain network 110 generates a blockchain event message 144 including a blockchain communication message (428).

이때, 블록체인 이벤트 메시지(144)는 블록체인 통신 메시지가 전달되는 다음 블록체인 네트워크의 메시지 제어 스마트 컨트랙트에 관한 블록체인 어드레스에 관한 정보인 다음 목적지 어드레스, 블록체인 이벤트 메시지(144)를 식별하고 그 순서를 확인할 수 있는 일련 정보, 및 바이트 단위로 변경된 블록체인 통신 메시지를 포함할 수 있다.At this time, the blockchain event message 144 identifies the next destination address, the blockchain event message 144, which is information about the blockchain address regarding the message control smart contract of the next blockchain network through which the blockchain communication message is delivered, and It may include serial information that can confirm the order, and a blockchain communication message changed in bytes.

420단계의 확인결과 블록체인 통신 메시지의 생성이 가능하지 않으면, 제1 블록체인 네트워크(110)의 제1 메시지 제어 스마트 컨트랙트(114)는 오류 메시지를 생성할 수 있다(430). 이때, 블록체인 통신 메시지의 생성이 가능하지 않은 경우는 예를 들어, 목적지 블록체인 네트워크가 확인되지 않는 경우 등이 존재할 수 있다. If, as a result of the confirmation in step 420, the creation of a blockchain communication message is not possible, the first message control smart contract 114 of the first blockchain network 110 may generate an error message (430). At this time, there may be cases where the creation of a blockchain communication message is not possible, for example, when the destination blockchain network is not confirmed.

그리고, 제1 블록체인 네트워크(110)의 제1 메시지 제어 스마트 컨트랙트(114)는 오류 메시지를 제1 블록체인 네트워크(110)의 제1 블록체인에 추가할 수 있다(432).And, the first message control smart contract 114 of the first blockchain network 110 may add an error message to the first blockchain of the first blockchain network 110 (432).

도 5는 본 발명의 시스템의 릴레이에서 특정 데이터를 중계하는 과정을 도시한 흐름도이다.Figure 5 is a flowchart showing the process of relaying specific data in the relay of the system of the present invention.

도 5를 참조하면, 도 3의 320단계는 구체적으로 다음의 과정으로 수행될 수 있다.Referring to FIG. 5, step 320 of FIG. 3 can be specifically performed through the following process.

제1 블록체인 네트워크(110)를 모니터링 하는 릴레이(120)는 블록체인 통신 메시지를 포함하는 블록체인 이벤트 메시지(144)의 생성을 감지하면(510), 제1 블록체인 네트워크(110)로부터 블록체인 통신 메시지를 검증할 수 있는 검증 정보(146)를 획득할 수 있다(512).When the relay 120, which monitors the first blockchain network 110, detects the creation of a blockchain event message 144 containing a blockchain communication message (510), the relay 120 transmits the blockchain from the first blockchain network 110. Verification information 146 that can verify the communication message can be obtained (512).

릴레이(120)는 블록체인 통신 메시지와 검증 정보(146)를 포함하는 릴레이 메시지를 생성할 수 있다(514). 이때, 릴레이 메시지는 동일한 네트워크 어드레스를 가진 적어도 하나의 블록체인 통신 메시지, 및 블록체인 통신 메시지의 검증 정보(146)를 포함할 수 있다.The relay 120 may generate a relay message including a blockchain communication message and verification information 146 (514). At this time, the relay message may include at least one blockchain communication message with the same network address, and verification information 146 of the blockchain communication message.

릴레이(120)는 릴레이에서 릴레이 메시지를 포함하는 핸들 릴레이 메시지(152)를 생성하여 제2 블록체인 네트워크(130)의 제2 메시지 제어 스마트 컨트랙트(134)로 송신할 수 있다(516).The relay 120 may generate a handle relay message 152 including a relay message in the relay and transmit it to the second message control smart contract 134 of the second blockchain network 130 (516).

이때, 핸들 릴레이 메시지(152)는 블록체인 통신 메시지를 생성한 메시지 제어 스마트 컨트랙트의 블록체인 어드레스 및 원시 바이트로 변경된 릴레이 메시지를 포함할 수 있다.At this time, the handle relay message 152 may include the blockchain address of the message control smart contract that generated the blockchain communication message and a relay message converted to raw bytes.

도 6은 본 발명의 시스템의 제2 블록체인 네트워크에서 특정 데이터를 최종 목적지로 송신하는 과정을 도시한 흐름도이다.Figure 6 is a flowchart showing the process of transmitting specific data to the final destination in the second blockchain network of the system of the present invention.

도 6을 참조하면, 도 3의 330단계는 구체적으로 다음의 과정으로 수행될 수 있다.Referring to FIG. 6, step 330 of FIG. 3 can be specifically performed through the following process.

제2 블록체인 네트워크(130)의 제2 메시지 제어 스마트 컨트랙트(134)는 릴레이(120)로부터 릴레이 메시지를 포함하는 핸들 릴레이 메시지(152)를 수신하면(610), 릴레이 메시지를 포함하는 검증 핸들 릴레이 메시지(154)를 생성하여 제2 블록체인 네트워크(130)의 제2 메시지 검증 스마트 컨트랙트(136)로 송신할 수 있다(612).When the second message control smart contract 134 of the second blockchain network 130 receives the handle relay message 152 including the relay message from the relay 120 (610), the verification handle relay including the relay message A message 154 may be generated and transmitted to the second message verification smart contract 136 of the second blockchain network 130 (612).

이때, 검증 핸들 릴레이 메시지(154)는 핸들 릴레이 메시지(152)를 수신하는 메시지 제어 스마트 컨트랙트의 블록체인 어드레스, 블록체인 통신 메시지를 생성한 제1 메시지 제어 스마트 컨트랙트(114)의 블록체인 어드레스, 제1 메시지 제어 스마트 컨트랙트(114)가 실행된 어드레스, 검증 핸들 릴레이 메시지(154)를 식별할 수 있는 일련 번호, 및 원시 바이트로 변경된 릴레이 메시지를 포함할 수 있다.At this time, the verification handle relay message 154 is the blockchain address of the message control smart contract that receives the handle relay message 152, the blockchain address of the first message control smart contract 114 that generated the blockchain communication message, and the blockchain address of the first message control smart contract 114 that generated the blockchain communication message. 1 Message control may include the address at which the smart contract 114 was executed, a serial number to identify the verification handle relay message 154, and the relay message converted to raw bytes.

제2 블록체인 네트워크(130)의 제2 메시지 검증 스마트 컨트랙트(136)에서 검증 핸들 릴레이 메시지(154)를 수신하면, 릴레이 메시지에 포함된 검증 정보(146)를 검증할 수 있다(614).When the verification handle relay message 154 is received from the second message verification smart contract 136 of the second blockchain network 130, the verification information 146 included in the relay message can be verified (614).

제2 블록체인 네트워크(130)의 제2 메시지 제어 스마트 컨트랙트(134)는 제2 메시지 검증 스마트 컨트랙트(136)를 통해서 릴레이 메시지의 검증에 성공함을 확인하면, 릴레이 메시지에 포함된 블록체인 통신 메시지를 확인하고, 블록체인 통신 메시지에 포함된 서비스 메시지를 확인하고, 서비스 메시지를 포함하는 핸들 서비스 메시지(156)를 생성하여 제2 블록체인 네트워크(130)의 제2 서비스 제어 스마트 컨트랙트(132)로 송신할 수 있다(616).When the second message control smart contract 134 of the second blockchain network 130 confirms that verification of the relay message is successful through the second message verification smart contract 136, the blockchain communication message included in the relay message Confirm, check the service message included in the blockchain communication message, and generate a handle service message 156 including the service message to the second service control smart contract 132 of the second blockchain network 130. Can be transmitted (616).

이때, 핸들 서비스 메시지(156)는 서비스 메시지를 송신한 제1 블록체인 네트워크(110)의 네트워크 어드레스, 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류, 핸들 서비스 메시지(156)를 식별할 수 있는 일련 번호, 및 서비스 메시지를 포함할 수 있다.At this time, the handle service message 156 includes the network address of the first blockchain network 110 that sent the service message, a service type identifying the type of service of the service message, and a series that can identify the handle service message 156. It may include a number, and a service message.

제2 메시지 제어 스마트 컨트랙트(134)는 핸들 서비스 메시지(156)를 수신하면, 핸들 서비스 메시지(156)에 포함된 서비스 메시지를 확인하고, 서비스 메시지가 도착했음을 알리는 호출 메시지를 제2 블록체인 네트워크(130)의 제2 디앱(131)으로 송신할 수 있다(618). 이때, 호출 메시지는 상기 제1 블록체인 네트워크(110)에 있는 특정 데이터를 송신하는 계정의 블록체인 어드레스인 발신지 어드레스, 호출 메시지를 수신하는 계정의 블록체인 어드레스인 목적지 어드레스, 제1 블록체인 네트워크(110)에서 서비스 호출 메시지를 식별하기 위한 정보인 일련 번호, 상기 제2 블록체인 네트워크(130)에서 상기 특정 데이터를 송신하는 요청을 식별하기 위한 식별정보, 및 특정 데이터를 포함할 수 있다.When the second message control smart contract 134 receives the handle service message 156, it checks the service message included in the handle service message 156 and sends a call message indicating that the service message has arrived to the second blockchain network ( It can be transmitted to the second DApp 131 of 130 (618). At this time, the call message includes a source address, which is the blockchain address of the account transmitting specific data in the first blockchain network 110, a destination address, which is the blockchain address of the account receiving the call message, and the first blockchain network ( 110) may include a serial number, which is information for identifying a service call message, identification information for identifying a request for transmitting the specific data in the second blockchain network 130, and specific data.

제2 디앱(131)은 호출 메시지를 감지하면, 특정 데이터를 요청하는 실행 호출 메시지를 제2 서비스 제어 스마트 컨트랙트(132)로 송신할 수 있다(620). 실행 호출 메시지는 제2 블록체인 네트워크(130)에서 특정 데이터를 송신하는 요청을 식별하기 위한 식별정보를 포함할 수 있다.When the second DApp 131 detects a call message, it can transmit an execution call message requesting specific data to the second service control smart contract 132 (620). The execution call message may include identification information for identifying a request to transmit specific data in the second blockchain network 130.

620단계에서 제2 디앱(131)은 특정 데이터를 요청하는 실행 호출 메시지를 제2 서비스 제어 스마트 컨트랙트(132)로 송신할 때, 제2 디앱(131)의 사용자에게 특정 데이터의 수신에 관한 제2 수수료를 요청할 수도 있다.In step 620, when the second DApp 131 transmits an execution call message requesting specific data to the second service control smart contract 132, the second DApp 131 sends a second request regarding receipt of specific data to the user of the second DApp 131. A fee may be requested.

제2 서비스 제어 스마트 컨트랙트(132)는 실행 호출 메시지를 수신하면, 특정 데이터를 포함하는 핸들 호출 메시지를 제2 디앱(131)으로 송신하고, 제2 디앱(131)은 핸들 호출 메시지에 포함된 특정 데이터를 제2 디앱(131)의 사용자에게 제공할 수 있다(622). 핸들 호출 메시지는 제1 블록체인 네트워크(110)에 있는 특정 데이터를 송신하는 계정의 블록체인 어드레스인 발신지 어드레스와 특정 데이터를 포함할 수 있다.When the second service control smart contract 132 receives an execution call message, it transmits a handle call message containing specific data to the second DApp 131, and the second DApp 131 sends a specific data included in the handle call message. Data can be provided to the user of the second DApp (131) (622). The handle call message may include a source address, which is the blockchain address of an account transmitting specific data in the first blockchain network 110, and specific data.

도 7은 본 발명의 시스템에서 오류 발생시 처리하는 과정을 도시한 흐름도이다.Figure 7 is a flowchart showing the process of processing when an error occurs in the system of the present invention.

도 7을 참조하면, 제1 서비스 제어 스마트 컨트랙트(112)은 블록체인 통신 메시지의 송신에 에러가 발생함을 감지하면(710), 제1 디앱(111)으로 에러 발생을 알리는 롤백 메시지를 송신할 수 있다(712). 이때, 롤백 메시지는 제1 블록체인 네트워크(110)에서 서비스 호출 메시지를 식별하기 위한 정보인 일련 번호, 에러 발생시 상기 특정 데이터를 송신하기 전 상태로 복원하기 위한 정보인 롤백 정보 및 롤백을 일으킨 오류 정보를 포함할 수 있다.Referring to Figure 7, when the first service control smart contract 112 detects that an error occurs in the transmission of a blockchain communication message (710), it sends a rollback message notifying the occurrence of an error to the first DApp 111. Can (712). At this time, the rollback message includes a serial number, which is information for identifying the service call message in the first blockchain network 110, rollback information, which is information for restoring the specific data to the state before transmission when an error occurs, and error information that caused the rollback. may include.

제1 디앱(111)은 롤백 메시지를 수신하면, 제1 서비스 제어 스마트 컨트랙트(112)로 롤백을 위한 롤백 정보를 요청하는 실행 롤백 메시지를 송신할 수 있다(714). 이때, 실행 롤백 메시지는 제1 블록체인 네트워크(110)에서 서비스 호출 메시지를 식별하기 위한 정보인 일련 번호를 포함할 수 있다.When the first DApp 111 receives the rollback message, it can transmit an execution rollback message requesting rollback information for rollback to the first service control smart contract 112 (714). At this time, the execution rollback message may include a serial number, which is information for identifying the service call message in the first blockchain network 110.

제1 서비스 제어 스마트 컨트랙트(112)는 실행 롤백 메시지를 수신하면, 특정 데이터를 송신하기 전 상태로 복원하기 위한 정보인 롤백 정보를 포함하는 핸들 호출 메시지를 제1 디앱(111)으로 송신할 수 있다(716).When the first service control smart contract 112 receives an execution rollback message, it can transmit a handle call message containing rollback information, which is information for restoring specific data to the state before transmitting it, to the first DApp 111. (716).

제1 디앱(111)은 핸들 호출 메시지를 수신하면, 핸들 호출 메시지에 포함된 롤백 정보를 이용해서 특정 데이터를 송신하기 이전 상태로 되돌릴 수 있다(718).When the first DApp 111 receives the handle call message, it can return to the state before sending specific data using the rollback information included in the handle call message (718).

또한, 이상 설명된 본 발명에 따른 실시예들은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광 기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magnetooptical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Additionally, the embodiments according to the present invention described above may be implemented in the form of program instructions that can be executed through various computer components and recorded on a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc., singly or in combination. Program instructions recorded on the computer-readable recording medium may be specially designed and configured for the present invention, or may be known and usable by those skilled in the computer software field. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tapes, optical recording media such as CD-ROMs and DVDs, and magneto-optical media such as floptical disks. , and hardware devices specifically configured to store and perform program instructions, such as ROM, RAM, flash memory, etc. Examples of program instructions include not only machine language code such as that created by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform processing according to the invention and vice versa.

이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.In the above, the present invention has been described with specific details such as specific components and limited embodiments and drawings, but this is only provided to facilitate a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , a person skilled in the art to which the present invention pertains can make various modifications and variations from this description.

따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등하게 또는 등가적으로 변형된 모든 것들은 본 발명의 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be limited to the above-described embodiments, and the scope of the patent claims described below as well as all modifications equivalent to or equivalent to the scope of the claims fall within the scope of the spirit of the present invention. They will say they do it.

Claims (26)

릴레이에서 데이터의 형식을 알 수 없는 특정 데이터를 제1 블록체인 네트워크로부터 제2 블록체인 네트워크로 송신하는 방법에 있어서,
(a) 제1 데이터 형식을 따르는 상기 제1 블록체인 네트워크로부터 제2 데이터 형식을 따르는 상기 제2 블록체인 네트워크로 상기 특정 데이터를 송신하기 위한 블록체인 통신 메시지의 생성이 감지되면, 상기 릴레이는 상기 블록체인 통신 메시지와 검증 정보를 포함하는 릴레이 메시지를 생성하는 단계; 및
(b) 상기 릴레이는, 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, 상기 릴레이 메시지에 포함된 상기 특정 데이터를 상기 제2 데이터 형식으로 변환하여 수신자에게 송신하도록 하는 단계;
를 포함하는 방법.
In the method of transmitting specific data whose format is unknown in the relay from the first blockchain network to the second blockchain network,
(a) When the creation of a blockchain communication message for transmitting the specific data from the first blockchain network conforming to the first data format to the second blockchain network conforming to the second data format is detected, the relay Generating a relay message including a blockchain communication message and verification information; and
(b) The relay transmits the relay message to the second blockchain network, causing the second blockchain network to verify the relay message using the verification information included in the relay message, converting the specific data included in the relay message into the second data format and transmitting it to a recipient;
How to include .
제1항에 있어서,
상기 (a) 단계 이전에,
(a0) 상기 릴레이가, 상기 제1 블록체인 네트워크에 제1 서비스 제어 스마트 컨트랙트와 제1 메시지 제어 스마트 컨트랙트를 배포하고 상기 제2 블록체인 네트워크에 제2 서비스 제어 스마트 컨트랙트와 제2 메시지 제어 스마트 컨트랙트를 배포하는 단계를 더 포함하고,
상기 (a) 단계에서,
(i) 상기 제1 블록체인 네트워크의 제1 디앱의 제1 인코딩 알고리즘에 의해 상기 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 서비스 호출 메시지가 상기 제1 블록체인 네트워크의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 서비스 메시지가 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되며, (iii) 상기 제1 메시지 제어 스마트 컨트랙트에 의해 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지가 생성되면, 상기 릴레이가 상기 블록체인 통신 메시지와 상기 검증 정보를 포함하는 상기 릴레이 메시지를 생성하고,
상기 (b) 단계에서,
상기 릴레이는, 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, (iii) 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 상기 제2 블록체인 네트워크의 제2 디앱으로 송신되도록 하고, (vi) 상기 제2 디앱에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱으로 송신되도록 하고, 상기 제2 디앱의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원하는,
방법.
According to paragraph 1,
Before step (a) above,
(a0) The relay distributes a first service control smart contract and a first message control smart contract to the first blockchain network and a second service control smart contract and a second message control smart contract to the second blockchain network. Further comprising the step of distributing,
In step (a) above,
(i) When the specific data of the first data format is encoded into raw bytes by the first encoding algorithm of the first DApp of the first blockchain network, a service call containing the raw bytes corresponding to the specific data a message is sent to the first service control smart contract of the first blockchain network, and (ii) a service message including the service call message is sent by the first service control smart contract to the first service control smart contract of the first blockchain network. It is transmitted to a first message control smart contract, and (iii) when the blockchain communication message including the service message is generated by the first message control smart contract, the relay transmits the blockchain communication message and the verification information. Generate the relay message containing,
In step (b) above,
The relay transmits the relay message to the second blockchain network, causing the second blockchain network to (i) receive the relay message through the second message control smart contract, and (ii) Verify the relay message using the verification information included in the relay message, (iii) verify the blockchain communication message included in the relay message, and (iv) verify the blockchain communication message included in the blockchain communication message. The service message is received by the second service control smart contract, and (v) a call message notifying that the service message has arrived is sent to the second DApp of the second blockchain network by the second service control smart contract. (vi) cause an execution call message requesting the raw bytes corresponding to the specific data to be sent by the second DApp to the second service control smart contract, (vii) the second service control smart contract So that a handle call message containing the raw bytes corresponding to the specific data is transmitted to the second DApp, and the raw bytes are converted to the specific data of the second data format by a second decoding algorithm of the second DApp. Supporting decoding into data,
method.
제2항에 있어서,
상기 (a) 단계에서, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지가 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제1 디앱에서 상기 제1 디앱의 사용자에게 상기 특정 데이터에 대응되는 상기 원시 바이트를 송신하는 것에 관한 릴레이 관련 수수료를 요청하고,
상기 (b) 단계에서, (vi) 상기 제2 디앱에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 상기 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제2 디앱에서 상기 제2 디앱의 사용자에게 상기 특정 데이터를 수신하는 것에 관한 릴레이 비관련 수수료를 요청하는,
방법.
According to paragraph 2,
In step (a), (ii) to cause the service message including the service call message to be transmitted by the first service control smart contract to the first message control smart contract of the first blockchain network, The first DApp requests a relay-related fee for transmitting the raw bytes corresponding to the specific data to the user of the first DApp,
In step (b), (vi) the execution call message requesting the raw bytes corresponding to the specific data is sent by the second DApp to the second service control smart contract, by the second DApp. Requesting a relay-unrelated fee for receiving the specific data from the user of the second DApp,
method.
제3항에 있어서,
상기 제1 서비스 제어 스마트 컨트랙트와 상기 제2 서비스 제어 스마트 컨트랙트는, 각각 자신이 속해 있는 블록체인 네트워크 이외의 다른 블록체인 네트워크의 스마트 컨트랙트 메쏘드를 호출할 수 있도록 구성되며, 상기 제1 블록체인 네트워크의 상기 제1 데이터 형식 및 상기 제2 블록체인 네트워크의 상기 제2 데이터 형식에 대하여 알지 못하는 상태로 관리되는 것을 특징으로 하는, 방법.
According to paragraph 3,
The first service control smart contract and the second service control smart contract are each configured to call a smart contract method of a blockchain network other than the blockchain network to which they belong, and are configured to call the smart contract method of the blockchain network other than the blockchain network to which they belong. Characterized in that the method is managed without knowledge of the first data format and the second data format of the second blockchain network.
제2항에 있어서,
상기 서비스 호출 메시지는,
에러 발생시 상기 특정 데이터를 송신하기 전 상태로 복원하기 위한 정보인 롤백 정보를 더 포함하는, 방법.
According to paragraph 2,
The service call message is,
The method further includes rollback information, which is information for restoring the specific data to the state before transmission when an error occurs.
제2항에 있어서,
상기 블록체인 통신 메시지는,
상기 블록체인 통신 메시지를 생성한 상기 제1 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 소스 어드레스,
상기 블록체인 통신 메시지를 수신하는 상기 제2 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 목적지 어드레스,
상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류,
상기 블록체인 통신 메시지를 식별할 수 있는 일련 번호, 및
상기 서비스 메시지
를 포함하는, 방법.
According to paragraph 2,
The blockchain communication message is,
A source address that is the blockchain address of the first message control smart contract that generated the blockchain communication message,
Destination address, which is the blockchain address of the second message control smart contract that receives the blockchain communication message,
A service type that identifies the type of service in the service message,
A serial number that can identify the blockchain communication message, and
The above service message
Method, including.
제2항에 있어서,
상기 (a) 단계에서,
(i) 상기 제1 블록체인 네트워크의 상기 제1 디앱의 상기 제1 인코딩 알고리즘에 의해 상기 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 상기 서비스 호출 메시지가 상기 제1 블록체인 네트워크의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에서 상기 서비스 호출 메시지를 수신하면, 상기 제1 디앱으로 상기 서비스 호출 메시지의 식별을 위한 일련 번호를 응답하고, 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지를 생성하고, 상기 서비스 메시지를 포함하는 송신 서비스 메시지를 생성하고, 상기 송신 서비스 메시지를 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신하며, (iii) 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트에서 상기 송신 서비스 메시지를 수신하면, 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지를 생성하고, 상기 블록체인 통신 메시지를 포함하는 블록체인 이벤트 메시지를 생성하면, 상기 릴레이는, 상기 블록체인 이벤트 메시지에 포함된 상기 블록체인 통신 메시지와 상기 검증 정보를 이용하여 상기 릴레이 메시지를 생성하는, 방법.
According to paragraph 2,
In step (a) above,
(i) When the specific data of the first data format is encoded into raw bytes by the first encoding algorithm of the first DApp of the first blockchain network, including the raw bytes corresponding to the specific data The service call message is sent to the first service control smart contract of the first blockchain network, and (ii) when the first service control smart contract receives the service call message, the service is called by the first DApp. Responding with a serial number for identification of the message, generating the service message including the service call message, generating a transmission service message including the service message, and transmitting the transmission service message to the first blockchain network. transmits to the first message control smart contract, and (iii) upon receiving the transmitted service message from the first message control smart contract of the first blockchain network, generates the blockchain communication message including the service message. And, when a blockchain event message including the blockchain communication message is generated, the relay generates the relay message using the blockchain communication message and the verification information included in the blockchain event message. .
제7항에 있어서,
상기 송신 서비스 메시지는,
상기 서비스 메시지를 수신하는 상기 제2 블록체인 네트워크의 네트워크 어드레스에 관한 정보인 목적지 네트워크 어드레스,
상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류,
송신 서비스 메시지를 식별할 수 있는 일련 번호, 및
상기 서비스 메시지
를 포함하는, 방법.
In clause 7,
The transmitted service message is,
A destination network address, which is information about the network address of the second blockchain network receiving the service message,
A service type that identifies the type of service in the service message,
A serial number that identifies the outgoing service message, and
The above service message
Method, including.
제7항에 있어서,
상기 블록체인 이벤트 메시지는,
상기 블록체인 통신 메시지가 전달되는 상기 제2 블록체인 네트워크의 상기 제2 메시지 제어 스마트 컨트랙트에 관한 블록체인 어드레스에 관한 정보인 목적지 어드레스,
상기 제1 블록체인 네트워크에서 상기 서비스 호출 메시지를 식별하기 위한 정보인 상기 일련 번호, 및
상기 블록체인 통신 메시지
를 포함하는, 방법.
In clause 7,
The blockchain event message is,
Destination address, which is information about the blockchain address regarding the second message control smart contract of the second blockchain network through which the blockchain communication message is delivered,
The serial number, which is information for identifying the service call message in the first blockchain network, and
The blockchain communication message
Method, including.
제7항에 있어서,
상기 (b) 단계에서,
상기 릴레이는, 상기 릴레이 메시지를 포함하는 핸들 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 핸들 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지를 포함하는 검증 핸들 릴레이 메시지를 생성하여 상기 제2 블록체인 네트워크의 상기 제2 메시지 검증 스마트 컨트랙트로 송신하도록 하고, 상기 제2 메시지 검증 스마트 컨트랙트에 의해 상기 검증 핸들 릴레이 메시지가 수신되면, 상기 릴레이 메시지에 포함된 상기 검증 정보를 검증하도록 하고, (iii) 상기 제2 메시지 제어 스마트 컨트랙트에 의해 상기 제2 메시지 검증 스마트 컨트랙트를 통해서 상기 릴레이 메시지의 검증이 성공되었을 확인하면, 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 포함하는 핸들 서비스 메시지를 생성하여 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 핸들 서비스 메시지가 수신되면, 상기 핸들 서비스 메시지에 포함된 상기 서비스 메시지를 확인하고, 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 상기 제2 블록체인 네트워크의 제2 디앱으로 송신되도록 하고, (vi) 상기 제2 디앱에 의해 상기 호출 메시지가 감지되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 실행 호출 메시지가 수신되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱으로 송신되도록 하고, 상기 제2 디앱의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원하는, 방법.
In clause 7,
In step (b) above,
The relay transmits a handle relay message including the relay message to the second blockchain network, causing the second blockchain network to: (i) send the handle relay message through the second message control smart contract (ii) generate a verification handle relay message including the relay message and transmit it to the second message verification smart contract of the second blockchain network, and verify the verification by the second message verification smart contract When a handle relay message is received, the verification information included in the relay message is verified, and (iii) verification of the relay message is successful through the second message verification smart contract by the second message control smart contract. If confirmed, confirm the blockchain communication message included in the relay message, and (iv) generate a handle service message containing the service message included in the blockchain communication message, so that the second service control smart contract (v) When the handle service message is received by the second service control smart contract, the service message included in the handle service message is confirmed, and a call message notifying that the service message has arrived is sent to the second service control smart contract. 2 so that it is transmitted to a second DApp of the blockchain network, and (vi) when the call message is detected by the second DApp, an execution call message requesting the raw bytes corresponding to the specific data is sent to the second service control. and (vii) when the execution call message is received by the second service control smart contract, a handle call message containing the raw bytes corresponding to the specific data is transmitted to the second DApp. and supporting the raw bytes to be decoded into the specific data of the second data format by a second decoding algorithm of the second DApp.
제10항에 있어서,
상기 검증 핸들 릴레이 메시지는,
상기 핸들 릴레이 메시지를 수신하는 상기 제2 메시지 제어 스마트 컨트랙트의 블록체인 어드레스,
상기 블록체인 통신 메시지를 생성한 상기 제1 메시지 제어 스마트 컨트랙트의 블록체인 어드레스,
상기 검증 핸들 릴레이 메시지를 식별할 수 있는 일련 번호, 및
상기 릴레이 메시지
를 포함하는, 방법.
According to clause 10,
The verification handle relay message is,
Blockchain address of the second message control smart contract that receives the handle relay message,
Blockchain address of the first message control smart contract that generated the blockchain communication message,
A serial number that can identify the verification handle relay message, and
the relay message
Method, including.
제10항에 있어서,
상기 핸들 서비스 메시지는,
상기 서비스 메시지를 송신한 상기 제1 블록체인 네트워크의 네트워크 어드레스,
상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류,
상기 핸들 서비스 메시지를 식별할 수 있는 일련 번호, 및
상기 서비스 메시지
를 포함하는, 방법.
According to clause 10,
The handle service message is,
Network address of the first blockchain network that transmitted the service message,
A service type that identifies the type of service in the service message,
A serial number that can identify the handle service message, and
The above service message
Method, including.
제10항에 있어서,
상기 호출 메시지는,
상기 제1 블록체인 네트워크에 있는 상기 특정 데이터를 송신하는 계정의 상기 제1 블록체인 네트워크 상의 블록체인 어드레스인 발신지 어드레스, 상기 호출 메시지를 수신하는 계정의 상기 제2 블록체인 네트워크 상의 블록체인 어드레스인 목적지 어드레스,
상기 제1 블록체인 네트워크에서 상기 서비스 호출 메시지를 식별하기 위한 정보인 일련 번호,
상기 제2 블록체인 네트워크에서 상기 데이터를 송신하는 요청을 식별하기 위한 식별정보, 및
상기 특정 데이터
를 포함하는, 방법.
According to clause 10,
The call message is,
A source address, which is a blockchain address on the first blockchain network of the account sending the specific data in the first blockchain network, and a destination, which is a blockchain address on the second blockchain network of the account receiving the call message. address,
A serial number, which is information for identifying the service call message in the first blockchain network,
Identification information for identifying a request to transmit the data in the second blockchain network, and
The specific data above
Method, including.
데이터의 형식을 알 수 없는 특정 데이터를 제1 블록체인 네트워크로부터 제2 블록체인 네트워크로 송신하는 릴레이에 있어서,
인스트럭션들을 저장하는 적어도 하나의 메모리; 및
상기 인스트럭션들을 실행하기 위해 구성된 적어도 하나의 프로세서;를 포함하되,
상기 프로세서는, (I) 제1 데이터 형식을 따르는 상기 제1 블록체인 네트워크로부터 제2 데이터 형식을 따르는 상기 제2 블록체인 네트워크로 상기 특정 데이터를 송신하기 위한 블록체인 통신 메시지의 생성이 감지되면, 상기 블록체인 통신 메시지와 검증 정보를 포함하는 릴레이 메시지를 생성하는 프로세스; 및 (II) 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, 상기 릴레이 메시지에 포함된 상기 특정 데이터를 상기 제2 데이터 형식으로 변환하여 수신자에게 송신하도록 하는 프로세스;를 수행하는 것을 특징으로 하는 릴레이.
In a relay that transmits specific data whose format is unknown from the first blockchain network to the second blockchain network,
at least one memory storing instructions; and
At least one processor configured to execute the instructions;
The processor, when (I) detects the creation of a blockchain communication message for transmitting the specific data from the first blockchain network conforming to a first data format to the second blockchain network conforming to a second data format, A process for generating a relay message including the blockchain communication message and verification information; and (II) transmitting the relay message to the second blockchain network, causing the second blockchain network to verify the relay message using the verification information included in the relay message, and A relay characterized in that performing a process of converting the specific data included in the second data format and transmitting it to the recipient.
제14항에 있어서,
상기 (I) 프로세스 이전에,
(I-0) 상기 프로세서가, 상기 제1 블록체인 네트워크에 제1 서비스 제어 스마트 컨트랙트와 제1 메시지 제어 스마트 컨트랙트를 배포하고 상기 제2 블록체인 네트워크에 제2 서비스 제어 스마트 컨트랙트와 제2 메시지 제어 스마트 컨트랙트를 배포하는 프로세스를 더 수행하고,
상기 (I) 프로세스에서,
(i) 상기 제1 블록체인 네트워크의 제1 디앱의 제1 인코딩 알고리즘에 의해 상기 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 서비스 호출 메시지가 상기 제1 블록체인 네트워크의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 서비스 메시지가 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되며, (iii) 상기 제1 메시지 제어 스마트 컨트랙트에 의해 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지가 생성되면, 상기 프로세서가 상기 블록체인 통신 메시지와 상기 검증 정보를 포함하는 상기 릴레이 메시지를 생성하고,
상기 (II) 프로세스에서,
상기 프로세서는, 상기 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지에 포함된 상기 검증 정보를 이용해서 상기 릴레이 메시지를 검증하도록 하고, (iii) 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 상기 제2 블록체인 네트워크의 제2 디앱으로 송신되도록 하고, (vi) 상기 제2 디앱에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱으로 송신되도록 하고, 상기 제2 디앱의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원하는,
릴레이.
According to clause 14,
Prior to process (I) above,
(I-0) The processor distributes a first service control smart contract and a first message control smart contract to the first blockchain network and controls a second service control smart contract and a second message to the second blockchain network. Further perform the process of deploying the smart contract,
In process (I) above,
(i) When the specific data of the first data format is encoded into raw bytes by the first encoding algorithm of the first DApp of the first blockchain network, a service call containing the raw bytes corresponding to the specific data a message is sent to the first service control smart contract of the first blockchain network, and (ii) a service message including the service call message is sent by the first service control smart contract to the first service control smart contract of the first blockchain network. is transmitted to a first message control smart contract, and (iii) when the blockchain communication message including the service message is generated by the first message control smart contract, the processor sends the blockchain communication message and the verification information Generate the relay message containing,
In process (II) above,
The processor transmits the relay message to the second blockchain network, causing the second blockchain network to (i) receive the relay message through the second message control smart contract, and (ii) Verify the relay message using the verification information included in the relay message, (iii) verify the blockchain communication message included in the relay message, and (iv) verify the blockchain communication message included in the blockchain communication message. The service message is received by the second service control smart contract, and (v) a call message notifying that the service message has arrived is sent to the second DApp of the second blockchain network by the second service control smart contract. (vi) cause an execution call message requesting the raw bytes corresponding to the specific data to be sent by the second DApp to the second service control smart contract, (vii) the second service control smart contract So that a handle call message containing the raw bytes corresponding to the specific data is transmitted to the second DApp, and the raw bytes are converted to the specific data of the second data format by a second decoding algorithm of the second DApp. Supporting decoding into data,
relay.
제15항에 있어서,
상기 (I) 프로세스에서, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에 의해 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지가 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제1 디앱에서 상기 제1 디앱의 사용자에게 상기 특정 데이터에 대응되는 상기 원시 바이트를 송신하는 것에 관한 릴레이 관련 수수료를 요청하고,
상기 (II) 프로세스에서, (vi) 상기 제2 디앱에 의해 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 상기 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하기 위하여, 상기 제2 디앱에서 상기 제2 디앱의 사용자에게 상기 특정 데이터를 수신하는 것에 관한 릴레이 비관련 수수료를 요청하는,
릴레이.
According to clause 15,
In the process (I), (ii) to cause the service message including the service call message to be transmitted by the first service control smart contract to the first message control smart contract of the first blockchain network, The first DApp requests a relay-related fee for transmitting the raw bytes corresponding to the specific data to the user of the first DApp,
In the process (II), (vi) the second DApp to cause the execution call message requesting the raw bytes corresponding to the specific data to be sent by the second DApp to the second service control smart contract. Requesting a relay-unrelated fee for receiving the specific data from the user of the second DApp,
relay.
제16항에 있어서,
상기 제1 서비스 제어 스마트 컨트랙트와 상기 제2 서비스 제어 스마트 컨트랙트는, 각각 자신이 속해 있는 블록체인 네트워크 이외의 다른 블록체인 네트워크의 스마트 컨트랙트 메쏘드를 호출할 수 있도록 구성되며, 상기 제1 블록체인 네트워크의 상기 제1 데이터 형식 및 상기 제2 블록체인 네트워크의 상기 제2 데이터 형식에 대하여 알지 못하는 상태로 관리되는 것을 특징으로 하는, 릴레이.
According to clause 16,
The first service control smart contract and the second service control smart contract are each configured to call a smart contract method of a blockchain network other than the blockchain network to which they belong, and are configured to call the smart contract method of the blockchain network other than the blockchain network to which they belong. A relay, characterized in that it is managed without knowledge of the first data format and the second data format of the second blockchain network.
제15항에 있어서,
상기 서비스 호출 메시지는,
에러 발생시 상기 특정 데이터를 송신하기 전 상태로 복원하기 위한 정보인 롤백 정보를 더 포함하는, 릴레이.
According to clause 15,
The service call message is,
The relay further includes rollback information, which is information for restoring the specific data to the state before transmission when an error occurs.
제15항에 있어서,
상기 블록체인 통신 메시지는,
상기 블록체인 통신 메시지를 생성한 상기 제1 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 소스 어드레스,
상기 블록체인 통신 메시지를 수신하는 상기 제2 메시지 제어 스마트 컨트랙트의 블록체인 어드레스인 목적지 어드레스,
상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류,
상기 블록체인 통신 메시지를 식별할 수 있는 일련 번호, 및
상기 서비스 메시지
를 포함하는, 릴레이.
According to clause 15,
The blockchain communication message is,
A source address that is the blockchain address of the first message control smart contract that generated the blockchain communication message,
Destination address, which is the blockchain address of the second message control smart contract that receives the blockchain communication message,
A service type that identifies the type of service in the service message,
A serial number that can identify the blockchain communication message, and
The above service message
Contains relay.
제15항에 있어서,
상기 (I) 프로세스에서,
(i) 상기 제1 블록체인 네트워크의 상기 제1 디앱의 상기 제1 인코딩 알고리즘에 의해 상기 제1 데이터 형식의 상기 특정 데이터가 원시 바이트로 인코딩되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 상기 서비스 호출 메시지가 상기 제1 블록체인 네트워크의 상기 제1 서비스 제어 스마트 컨트랙트로 송신되고, (ii) 상기 제1 서비스 제어 스마트 컨트랙트에서 상기 서비스 호출 메시지를 수신하면, 상기 제1 디앱으로 상기 서비스 호출 메시지의 식별을 위한 일련 번호를 응답하고, 상기 서비스 호출 메시지를 포함하는 상기 서비스 메시지를 생성하고, 상기 서비스 메시지를 포함하는 송신 서비스 메시지를 생성하고, 상기 송신 서비스 메시지를 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트로 송신하며, (iii) 상기 제1 블록체인 네트워크의 상기 제1 메시지 제어 스마트 컨트랙트에서 상기 송신 서비스 메시지를 수신하면, 상기 서비스 메시지를 포함하는 상기 블록체인 통신 메시지를 생성하고, 상기 블록체인 통신 메시지를 포함하는 블록체인 이벤트 메시지를 생성하면, 상기 프로세서는, 상기 블록체인 이벤트 메시지에 포함된 상기 블록체인 통신 메시지와 상기 검증 정보를 이용하여 상기 릴레이 메시지를 생성하는, 릴레이.
According to clause 15,
In process (I) above,
(i) When the specific data of the first data format is encoded into raw bytes by the first encoding algorithm of the first DApp of the first blockchain network, including the raw bytes corresponding to the specific data The service call message is sent to the first service control smart contract of the first blockchain network, and (ii) when the first service control smart contract receives the service call message, the service is called by the first DApp. Responding with a serial number for identification of the message, generating the service message including the service call message, generating a transmission service message including the service message, and transmitting the transmission service message to the first blockchain network. transmits to the first message control smart contract, and (iii) upon receiving the transmitted service message from the first message control smart contract of the first blockchain network, generates the blockchain communication message including the service message. And, when a blockchain event message including the blockchain communication message is generated, the processor generates the relay message using the blockchain communication message and the verification information included in the blockchain event message. .
제20항에 있어서,
상기 송신 서비스 메시지는,
상기 서비스 메시지를 수신하는 상기 제2 블록체인 네트워크의 네트워크 어드레스에 관한 정보인 목적지 네트워크 어드레스,
상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류,
송신 서비스 메시지를 식별할 수 있는 일련 번호, 및
상기 서비스 메시지
를 포함하는, 릴레이.
According to clause 20,
The transmitted service message is,
A destination network address, which is information about the network address of the second blockchain network receiving the service message,
A service type that identifies the type of service in the service message,
A serial number that identifies the outgoing service message, and
The above service message
Contains relay.
제20항에 있어서,
상기 블록체인 이벤트 메시지는,
상기 블록체인 통신 메시지가 전달되는 상기 제2 블록체인 네트워크의 상기 제2 메시지 제어 스마트 컨트랙트에 관한 블록체인 어드레스에 관한 정보인 목적지 어드레스,
상기 제1 블록체인 네트워크에서 상기 서비스 호출 메시지를 식별하기 위한 정보인 상기 일련 번호, 및
상기 블록체인 통신 메시지
를 포함하는, 릴레이.
According to clause 20,
The blockchain event message is,
Destination address, which is information about the blockchain address regarding the second message control smart contract of the second blockchain network through which the blockchain communication message is delivered,
The serial number, which is information for identifying the service call message in the first blockchain network, and
The blockchain communication message
Contains relay.
제20항에 있어서,
상기 (II) 프로세스에서,
상기 프로세서는, 상기 릴레이 메시지를 포함하는 핸들 릴레이 메시지를 상기 제2 블록체인 네트워크로 송신하여, 상기 제2 블록체인 네트워크로 하여금, (i) 상기 제2 메시지 제어 스마트 컨트랙트를 통해 상기 핸들 릴레이 메시지를 수신하도록 하고, (ii) 상기 릴레이 메시지를 포함하는 검증 핸들 릴레이 메시지를 생성하여 상기 제2 블록체인 네트워크의 상기 제2 메시지 검증 스마트 컨트랙트로 송신하도록 하고, 상기 제2 메시지 검증 스마트 컨트랙트에 의해 상기 검증 핸들 릴레이 메시지가 수신되면, 상기 릴레이 메시지에 포함된 상기 검증 정보를 검증하도록 하고, (iii) 상기 제2 메시지 제어 스마트 컨트랙트에 의해 상기 제2 메시지 검증 스마트 컨트랙트를 통해서 상기 릴레이 메시지의 검증이 성공되었을 확인하면, 상기 릴레이 메시지에 포함된 상기 블록체인 통신 메시지를 확인하도록 하고, (iv) 상기 블록체인 통신 메시지에 포함된 상기 서비스 메시지를 포함하는 핸들 서비스 메시지를 생성하여 상기 제2 서비스 제어 스마트 컨트랙트가 수신하도록 하며, (v) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 핸들 서비스 메시지가 수신되면, 상기 핸들 서비스 메시지에 포함된 상기 서비스 메시지를 확인하고, 상기 서비스 메시지가 도착했음을 알리는 호출 메시지가 상기 제2 블록체인 네트워크의 제2 디앱으로 송신되도록 하고, (vi) 상기 제2 디앱에 의해 상기 호출 메시지가 감지되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 요청하는 실행 호출 메시지가 상기 제2 서비스 제어 스마트 컨트랙트로 송신되도록 하고, (vii) 상기 제2 서비스 제어 스마트 컨트랙트에 의해 상기 실행 호출 메시지가 수신되면, 상기 특정 데이터에 대응되는 상기 원시 바이트를 포함하는 핸들 호출 메시지가 상기 제2 디앱으로 송신되도록 하고, 상기 제2 디앱의 제2 디코딩 알고리즘에 의해 상기 원시 바이트가 상기 제2 데이터 형식의 상기 특정 데이터로 디코딩되도록 지원하는, 릴레이.
According to clause 20,
In process (II) above,
The processor transmits a handle relay message including the relay message to the second blockchain network, causing the second blockchain network to (i) send the handle relay message through the second message control smart contract. (ii) generate a verification handle relay message including the relay message and transmit it to the second message verification smart contract of the second blockchain network, and verify the verification by the second message verification smart contract When a handle relay message is received, the verification information included in the relay message is verified, and (iii) verification of the relay message is successful through the second message verification smart contract by the second message control smart contract. If confirmed, confirm the blockchain communication message included in the relay message, and (iv) generate a handle service message containing the service message included in the blockchain communication message, so that the second service control smart contract (v) When the handle service message is received by the second service control smart contract, the service message included in the handle service message is confirmed, and a call message notifying that the service message has arrived is sent to the second service control smart contract. 2 so that it is transmitted to a second DApp of the blockchain network, and (vi) when the call message is detected by the second DApp, an execution call message requesting the raw bytes corresponding to the specific data is sent to the second service control. and (vii) when the execution call message is received by the second service control smart contract, a handle call message containing the raw bytes corresponding to the specific data is transmitted to the second DApp. A relay that supports decoding the raw bytes into the specific data of the second data format by a second decoding algorithm of the second DApp.
제23항에 있어서,
상기 검증 핸들 릴레이 메시지는,
상기 핸들 릴레이 메시지를 수신하는 상기 제2 메시지 제어 스마트 컨트랙트의 블록체인 어드레스,
상기 블록체인 통신 메시지를 생성한 상기 제1 메시지 제어 스마트 컨트랙트의 블록체인 어드레스,
상기 검증 핸들 릴레이 메시지를 식별할 수 있는 일련 번호, 및
상기 릴레이 메시지
를 포함하는, 릴레이.
According to clause 23,
The verification handle relay message is,
Blockchain address of the second message control smart contract that receives the handle relay message,
Blockchain address of the first message control smart contract that generated the blockchain communication message,
A serial number that can identify the verification handle relay message, and
the relay message
Contains relay.
제23항에 있어서,
상기 핸들 서비스 메시지는,
상기 서비스 메시지를 송신한 상기 제1 블록체인 네트워크의 네트워크 어드레스,
상기 서비스 메시지의 서비스의 종류를 식별하는 서비스 종류,
상기 핸들 서비스 메시지를 식별할 수 있는 일련 번호, 및
상기 서비스 메시지
를 포함하는, 릴레이.
According to clause 23,
The handle service message is,
Network address of the first blockchain network that transmitted the service message,
A service type that identifies the type of service in the service message,
A serial number that can identify the handle service message, and
The above service message
Contains relay.
제23항에 있어서,
상기 호출 메시지는,
상기 제1 블록체인 네트워크에 있는 상기 특정 데이터를 송신하는 계정의 상기 제1 블록체인 네트워크 상의 블록체인 어드레스인 발신지 어드레스, 상기 호출 메시지를 수신하는 계정의 상기 제2 블록체인 네트워크 상의 블록체인 어드레스인 목적지 어드레스,
상기 제1 블록체인 네트워크에서 상기 서비스 호출 메시지를 식별하기 위한 정보인 일련 번호,
상기 제2 블록체인 네트워크에서 상기 데이터를 송신하는 요청을 식별하기 위한 식별정보, 및
상기 특정 데이터
를 포함하는, 릴레이.
According to clause 23,
The call message is,
A source address, which is a blockchain address on the first blockchain network of the account sending the specific data in the first blockchain network, and a destination, which is a blockchain address on the second blockchain network of the account receiving the call message. address,
A serial number, which is information for identifying the service call message in the first blockchain network,
Identification information for identifying a request to transmit the data in the second blockchain network, and
The specific data above
Contains relay.
KR1020230117826A 2022-09-23 2023-09-05 Method for transmitting specific data whose data type is not known to relay from first blockchain network to second blockchain network and the relay using the same KR20240041818A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/468,477 US20240104557A1 (en) 2022-09-23 2023-09-15 Method for transmitting specific data whose data format is unknown at relay from first blockchain network to second blockchain network and relay using the same
JP2023156221A JP7397552B1 (en) 2022-09-23 2023-09-21 A method of transmitting specific data whose format is unknown from a first blockchain network to a second blockchain network using a relay, and a relay using this method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220120884 2022-09-23
KR20220120884 2022-09-23

Publications (1)

Publication Number Publication Date
KR20240041818A true KR20240041818A (en) 2024-04-01

Family

ID=90667149

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230117826A KR20240041818A (en) 2022-09-23 2023-09-05 Method for transmitting specific data whose data type is not known to relay from first blockchain network to second blockchain network and the relay using the same

Country Status (1)

Country Link
KR (1) KR20240041818A (en)

Similar Documents

Publication Publication Date Title
US20220069994A1 (en) Methods and systems implemented in a network architecture with nodes capable of performing message-based transactions
JP7021747B2 (en) Payment system, payment method, user device, payment program
KR101932277B1 (en) Distributed Ledger Device and Distributed Ledger Method for Sharing User Information using Blockchain
US7350212B2 (en) Method and apparatus for data transfer across a network
US20200327498A1 (en) Business Process Execution on a Blockchain Platform
KR102050007B1 (en) System and method for supporting external interface based on block chain
US20220084031A1 (en) Backend architecture method and system for aggregate payment, computer device, and storage medium
WO2022062976A1 (en) Cross-blockchain system for executing transactions, and cross-blockchain transaction method and device
CN110060161B (en) Client service implementation method and service assembly for block chain transaction repetition prevention
TW202046221A (en) Method and device for creating block chain account and verifying block chain transaction
KR102179160B1 (en) System and method to prove message for communication between blockchains
CN113255014B (en) Data processing method based on block chain and related equipment
CN113132459B (en) Distributed storage method, system, storage medium, information data processing terminal
CN117311985A (en) Block chain-based data processing method and device and readable storage medium
KR20240041818A (en) Method for transmitting specific data whose data type is not known to relay from first blockchain network to second blockchain network and the relay using the same
KR102137269B1 (en) Communication system and method between blockchains
CN101145912A (en) An electronic order secure transmission method based on ebMS
US20240104557A1 (en) Method for transmitting specific data whose data format is unknown at relay from first blockchain network to second blockchain network and relay using the same
WO2020042930A1 (en) Parallel-chain-based transaction method and blockchain system
CN114641967A (en) Callback mechanism for blockchain transactions
US11757985B1 (en) Systems and methods for a blockchain interoperability platform
KR20190076813A (en) Distributed Ledger Device and Distributed Ledger Method for Sharing User Information using Blockchain
WO2024037117A1 (en) Blockchain-based data processing method and device, medium, and program product
KR20230058575A (en) Method for verification of transaction processingcompletion in the on-line real-time environment
CN116192342A (en) Data transmission method, device, electronic equipment and computer readable medium