KR20220074490A - Blockchain interoperability system and control method for managing bills of lading between blockchain platforms - Google Patents

Blockchain interoperability system and control method for managing bills of lading between blockchain platforms Download PDF

Info

Publication number
KR20220074490A
KR20220074490A KR1020200163055A KR20200163055A KR20220074490A KR 20220074490 A KR20220074490 A KR 20220074490A KR 1020200163055 A KR1020200163055 A KR 1020200163055A KR 20200163055 A KR20200163055 A KR 20200163055A KR 20220074490 A KR20220074490 A KR 20220074490A
Authority
KR
South Korea
Prior art keywords
lading
block chain
bill
transmission
secret value
Prior art date
Application number
KR1020200163055A
Other languages
Korean (ko)
Other versions
KR102478844B1 (en
Inventor
김용환
김종환
엄기석
허순행
류동기
김용민
백지혜
Original Assignee
주식회사 한국무역정보통신
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 한국무역정보통신 filed Critical 주식회사 한국무역정보통신
Priority to KR1020200163055A priority Critical patent/KR102478844B1/en
Publication of KR20220074490A publication Critical patent/KR20220074490A/en
Application granted granted Critical
Publication of KR102478844B1 publication Critical patent/KR102478844B1/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

해시타임락을 사용하여 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템 및 그 동작 방법이 제공된다. 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템은 프로세서 및 상기 프로세서로부터 실행 가능한 명령어를 저장하는 메모리를 포함하되, 상기 프로세서는 상기 명령어를 실행함으로써, 상기 제1 블록체인과 제2 블록체인이 각각 해시락(Hashlock)을 설정함으로써 상기 선하증권 전송을 준비시키고, 미리 정한 시간으로 타임락(Timelock)을 설정하여 상기 제1 블록체인으로부터 전송된 상기 선하증권에 대한 응답으로 상기 제2 블록체인의 해시락 설정에 의해 생성된 결과를 제공받음으로써 상기 선하증권의 전송을 검증하고, 상기 선하증권의 전송이 검증된 경우 상기 제1 블록체인과 상기 제2 블록체인에 상기 전송의 결과를 커밋하도록 명령한다.A system for managing the transfer of bills of lading between different blockchains using a hash time lock and a method for operating the same are provided. A system for managing bill of lading transfer between different block chains includes a processor and a memory for storing instructions executable from the processor, wherein the processor executes the instructions so that the first block chain and the second block chain are Prepare for the transmission of the bill of lading by setting a hashlock, respectively, and set a timelock for a predetermined time in the second block chain in response to the bill of lading transmitted from the first block chain. Validate the transmission of the bill of lading by receiving the result generated by the hash lock setting, and command to commit the result of the transmission to the first and second blockchains when the transmission of the bill of lading is verified do.

Description

서로 다른 블록체인 사이에서 선하증권을 관리하기 위한 블록체인 상호연계 시스템 및 그 제어 방법{BLOCKCHAIN INTEROPERABILITY SYSTEM AND CONTROL METHOD FOR MANAGING BILLS OF LADING BETWEEN BLOCKCHAIN PLATFORMS}A block chain interconnection system and control method for managing bills of lading between different block chains

본 발명은 서로 다른 블록체인을 연계하여 선하증권을 안전하고 정확하게 주고받을 수 있는 시스템 및 그 제어 방법에 관한 것이며, 더욱 구체적으로 해시타임락(Hashed Time Lock Channel, HTLC)을 이용하여 선하증권 송수신 또는 그 이외의 어떠한 과정에서 오류가 발생하였을 경우, 해당 선하증권을 전송 이전의 상태로 되돌려 선하증권의 정합성, 무결성 및 원자성을 보장하는 시스템 및 그 제어 방법에 관한 것이다.The present invention relates to a system that can safely and accurately send and receive bills of lading by linking different blockchains and a control method thereof, and more specifically, to transmit/receive bills of lading using Hashed Time Lock Channel (HTLC) or In the event of an error in any other process, it relates to a system and control method for ensuring the consistency, integrity and atomicity of the bill of lading by returning the bill of lading to the state prior to transmission.

선하증권(Bill of Lading, B/L)은 화주와 선사 간 해상운송계약의 증빙서류로써 선사가 발행하는 서류이며, 화물 선적, 선적 확정, 화물 인도 등을 확약하는 유가증권의 일종이다. Bill of Lading (B/L) is a document issued by a shipping company as proof of a shipping contract between a shipper and a shipping company.

도 1은 선하증권 발행으로부터 화물의 인도에 이르는 일반적인 무역업무의 업무 흐름을 예시적으로 설명하기 위한 도면이다.1 is a diagram for illustratively explaining the workflow of a general trade business from issuance of bills of lading to delivery of goods.

선하증권은 최초 발행 이후 수입국 은행이 수출국 은행으로부터 매입하여 대금 결제 및 화물 인도의 최종 과정까지 운송인이 수취한 화물의 수취증이자 화물에 대한 권리증권, 및 운송계약의 증거서류로써 사용된다.The bill of lading is purchased from the bank of the exporting country by the bank of the importing country after the initial issuance and is used as a receipt for the goods received by the carrier until the final process of payment and delivery of the goods, as a document of right to the goods, and as proof of the contract of carriage.

일반적으로 선하증권은 종이의 형태로 발행되어 발행 선사로부터 무역업체, 은행을 거쳐 수입자에게 전달되기까지 10~20일이 소요되어 효율적이지 않고, 분식, 손상, 도난의 위험이 있을뿐더러 위변조의 위험이 높다. 이와 같은 문제를 해결하기 위해 전자선하증권의 유통 플랫폼이 구축되고 있으며, 특히 데이터의 무결성 및 정합성을 보장할 수 있는 블록체인 플랫폼을 이용한 선하증권의 발급 및 유통 시스템이 제안되고 있다.In general, a bill of lading is issued in paper form and takes 10 to 20 days from the issuing shipping company to the trading company and bank to be delivered to the importer. high. To solve such a problem, an electronic bill of lading distribution platform is being built, and in particular, a system for issuing and distributing bills of lading using a block chain platform that can guarantee data integrity and consistency has been proposed.

그러나, 국제 무역의 특성 상 수출국과 수입국이 서로 다른 무역 플랫폼을 이용하는 경우가 대부분이다. 특히 각국에서 선하증권 유통에 사용되는 블록체인 플랫폼이 서로 다를 경우 유통되는 선하증권의 무결성, 정합성 등을 확보하기 위해 서로 다른 블록체인 플랫폼을 상호 연계할 수 있는 시스템 또는 방법의 필요성이 요구되고 있다.However, due to the nature of international trade, in most cases, exporting and importing countries use different trade platforms. In particular, when the block chain platforms used for the distribution of bills of lading are different in each country, there is a need for a system or method that can interconnect different block chain platforms in order to secure the integrity and consistency of the issued bills of lading.

본 발명이 해결하고자 하는 기술적 과제는, 해시타임락(Hashed Time Lock Channel, HTLC)을 이용하여 서로 다른 블록체인 사이에서 선하증권을 안전하고 정확하게 전송하고, 전송 과정에서 어떠한 오류 발생 시, 해당 선하증권을 전송 이전 상태로 되돌려 데이터의 정합성과 무결성, 원자성을 보장하는 시스템을 제공하는 것이다.The technical problem to be solved by the present invention is to safely and accurately transmit a bill of lading between different blockchains using a hashed time lock channel (HTLC), and when any error occurs in the transmission process, the corresponding bill of lading It is to provide a system that guarantees the integrity, integrity, and atomicity of data by returning the data to the state before transmission.

본 발명이 해결하고자 하는 다른 기술적 과제는, 서로 다른 블록체인 사이에서 해시타임락을 이용하여 서로 다른 블록체인 사이에서 선하증권을 안전하고 정확하게 전송하고, 전송 과정에서 어떠한 오류 발생 시, 해당 선하증권을 전송 이전 상태로 되돌려 데이터의 정합성과 무결성, 원자성을 보장하는 시스템의 동작 방법을 제공하는 것이다.Another technical problem to be solved by the present invention is to safely and accurately transmit a bill of lading between different block chains using a hash time lock between different block chains, and when any error occurs in the transmission process, the bill of lading is It is to provide an operating method of a system that guarantees data consistency, integrity, and atomicity by returning to the state before transmission.

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical problems of the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the following description.

상기 기술적 과제를 달성하기 위한 해시타임락을 이용하여 서로 다른 블록체인 사이에서 선하증권 전송을 관리하는 시스템은, 프로세서, 및 상기 프로세서로부터 실행 가능한 명령어를 저장하는 메모리를 포함하되, 상기 프로세서는 상기 명령어를 실행함으로써, 상기 제1 블록체인과 제2 블록체인이 각각 해시락(Hashlock)을 설정함으로써 상기 선하증권 전송을 준비시키고, 미리 정한 시간으로 타임락(Timelock)을 설정하여 상기 제1 블록체인으로부터 전송된 상기 선하증권에 대한 응답으로 상기 제2 블록체인의 해시락 설정에 의해 생성된 결과를 제공받음으로써 상기 선하증권의 전송을 검증하고, 상기 선하증권의 전송이 검증된 경우 상기 제1 블록체인과 상기 제2 블록체인에 상기 전송의 결과를 커밋하도록 명령한다.A system for managing bill of lading transmission between different block chains using a hash time lock to achieve the above technical problem includes a processor and a memory for storing instructions executable from the processor, wherein the processor includes the instructions By executing , the first block chain and the second block chain each set a hashlock to prepare the transmission of the bill of lading, and set a timelock at a predetermined time to The transmission of the bill of lading is verified by receiving the result generated by the hash lock setting of the second block chain in response to the transmitted bill of lading, and when the transmission of the bill of lading is verified, the first block chain and instructs the second blockchain to commit the result of the transfer.

본 발명의 몇몇 실시예에서, 상기 제1 블록체인은 해시락을 설정하여 제1 시크릿값과 제1 시크릿값의 해시값을 생성하고, 상기 제2 블록체인은 해시락을 설정하여 제2 시크릿값과 제2 시크릿값의 해시값을 생성하고, 상기 프로세서는 상기 선하증권의 전송에 대한 응답으로 상기 제2 블록체인으로부터 제공받은 상기 제2 시크릿값이 미리 정한 제1 시간 내에 전송되었는지 여부를 판단할 수 있다.In some embodiments of the present invention, the first block chain sets a hash lock to generate a first secret value and a hash value of the first secret value, and the second block chain sets a hash lock to generate a second secret value and a hash value of the second secret value, and the processor determines whether the second secret value provided from the second block chain in response to the transmission of the bill of lading has been transmitted within a first predetermined time. can

본 발명의 몇몇 실시예에서, 상기 프로세서는 상기 제2 시크릿값이 상기 미리 정한 제1 시간 내에 전송되지 않은 경우 상기 선하증권의 전송을 롤백(Rollback)할 수 있다.In some embodiments of the present invention, the processor may rollback the transmission of the bill of lading when the second secret value is not transmitted within the first predetermined time period.

본 발명의 몇몇 실시예에서, 상기 프로세서는 상기 제2 블록체인으로부터 제공받은 제2 시크릿값을 상기 제1 블록체인에 전달하고, 상기 제1 블록체인으로부터 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값을 제공받을 수 있다.In some embodiments of the present invention, the processor transmits the second secret value provided from the second block chain to the first block chain, and the verification result of the hash value of the second secret value from the first block chain and the first secret value.

본 발명의 몇몇 실시예에서, 상기 프로세서는 상기 제1 블록체인으로부터 미리 정한 제2 시간 내에 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값이 제공되었는지를 판단할 수 있다.In some embodiments of the present invention, the processor may determine whether the verification result of the hash value of the second secret value and the first secret value are provided within a second predetermined time from the first block chain.

본 발명의 몇몇 실시예에서, 상기 제1 블록체인은 하이퍼레저 패브릭(Hyperledger Fabric) 네트워크를 포함하고, 상기 제2 블록체인은 R3 Corda를 포함할 수 있다.In some embodiments of the present invention, the first blockchain may include a Hyperledger Fabric network, and the second blockchain may include R3 Corda.

상기 기술적 과제를 달성하기 위한 서로 다른 블록체인 사이에서 해시타임락을 이용하여 선하증권 전송을 관리하는 시스템의 동작 방법은, 상기 제1 블록체인과 제2 블록체인이 각각 해시락(Hashlock)을 설정함으로써 상기 선하증권 전송을 준비하는 단계, 미리 정한 시간으로 타임락(Timelock)을 설정하여 상기 제1 블록체인으로부터 전송된 상기 선하증권에 대한 응답으로 상기 제2 블록체인의 해시락 설정에 의해 생성된 결과를 제공받음으로써 상기 선하증권의 전송을 검증하는 단계, 상기 선하증권의 전송이 검증된 경우 상기 제1 블록체인과 상기 제2 블록체인에 상기 전송의 결과를 커밋하는 단계를 포함한다.In order to achieve the above technical task, the operating method of a system for managing bill of lading transmission using a hash time lock between different block chains to achieve the above technical task is that the first block chain and the second block chain set a hashlock, respectively. preparing the bill of lading transmission by setting a timelock to a predetermined time by verifying the transmission of the bill of lading by receiving a result, and committing the result of the transmission to the first block chain and the second block chain when the transmission of the bill of lading is verified.

본 발명의 몇몇 실시예에서, 상기 선하증권 전송을 준비하는 단계는, 상기 제1 블록체인은 해시락을 설정하여 제1 시크릿값과 제1 시크릿값의 해시값을 생성하고, 상기 제2 블록체인은 해시락을 설정하여 제2 시크릿값과 제2 시크릿값의 해시값을 생성하는 단계를 포함하고, 기 선하증권의 전송을 검증하는 단계는, 상기 선하증권의 전송에 대한 응답으로 상기 제2 블록체인으로부터 제공받은 상기 제2 시크릿값이 미리 정한 제1 시간 내에 전송되었는지 여부를 판단하는 단계를 포함할 수 있다.In some embodiments of the present invention, the preparing for transmission of the bill of lading includes: the first block chain sets a hash lock to generate a hash value of the first secret value and the first secret value, and the second block chain setting a hash lock to generate a hash value of a second secret value and a second secret value, and verifying the transmission of the previous bill of lading includes: in response to the transmission of the bill of lading, the second block The method may include determining whether the second secret value provided from the chain is transmitted within a first predetermined time period.

본 발명의 몇몇 실시예에서, 상기 선하증권의 전송을 검증하는 단계는, 상기 제2 시크릿값이 상기 미리 정한 제1 시간 내에 전송되지 않은 경우 상기 선하증권의 전송을 롤백(Rollback)하는 단계를 더 포함할 수 있다.In some embodiments of the present invention, the verifying of the transmission of the bill of lading further includes the step of rolling back the transmission of the bill of lading if the second secret value is not transmitted within the first predetermined time. may include

본 발명의 몇몇 실시예에서, 상기 선하증권의 전송을 검증하는 단계는, 상기 제2 블록체인으로부터 제공받은 제2 시크릿값을 상기 제1 블록체인에 전달하고, 상기 제1 블록체인으로부터 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값을 제공받는 단계를 더 포함할 수 있다.In some embodiments of the present invention, the verifying of the transmission of the bill of lading includes transferring the second secret value provided from the second block chain to the first block chain, and sending the second secret value from the first block chain The method may further include receiving a verification result of the hash value of the secret value and the first secret value.

본 발명의 몇몇 실시예에서, 상기 선하증권의 전송을 검증하는 단계는, 상기 제1 블록체인으로부터 미리 정한 제2 시간 내에 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값이 제공되었는지를 판단하는 단계를 더 포함할 수 있다.In some embodiments of the present invention, in the verifying of the transmission of the bill of lading, the verification result of the hash value of the second secret value and the first secret value are provided within a second predetermined time from the first block chain. It may further include the step of determining whether or not.

본 발명의 몇몇 실시예에서, 상기 선하증권의 전송을 검증하는 단계는, 상기 제1 블록체인으로부터 미리 정한 제2 시간 내에 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값이 제공되었는지를 판단하는 단계를 더 포함할 수 있다.In some embodiments of the present invention, in the verifying of the transmission of the bill of lading, the verification result of the hash value of the second secret value and the first secret value are provided within a second predetermined time from the first block chain. It may further include the step of determining whether or not.

기타 실시예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.The details of other embodiments are included in the detailed description and drawings.

본 발명의 실시예에 따른 서로 다른 블록체인 사이에서 해시타임락을 이용하여 선하증권 전송을 관리하는 시스템은, 제1 블록체인(1000) 제2 블록체인이 개별적으로 설정한 해시락을 이용하여 제1 블록체인과 제2 블록체인 사이의 데이터 전송의 무결성 및 정합성을 향상시킬 수 있다. 이 과정에서 시스템에 포함된 게이트웨이 서버는 제1 블록체인의 해시락 설정으로 인해 생성된 제1 시크릿값과 제1 시크릿값의 해시값을 검증하고 이를 제2 블록체인으로 전달하는 한편, 제2 블록체인의 해시락 설정으로 인해 생성된 제2 시크릿값과 제2 시크릿값의 해시값을 검증하고 이를 제1 블록체인으로 전달할 수 있다.The system for managing bill of lading transmission using a hash time lock between different block chains according to an embodiment of the present invention uses a hash lock individually set by the first block chain 1000 and the second block chain. It can improve the integrity and consistency of data transmission between the 1st blockchain and the 2nd blockchain. In this process, the gateway server included in the system verifies the first secret value and the hash value of the first secret value generated by the hash lock setting of the first block chain, and transmits them to the second block chain, while the second block The second secret value and the hash value of the second secret value generated due to the hash lock setting of the chain can be verified and transmitted to the first block chain.

또한, 상기 해시락을 통한 시크릿값의 교환과 함께, 게이트웨이 서버는 제1 블록체인과 제2 블록체인 사이의 데이터 전송에 있어 미리 정해진 시간 동안에 전송에 대한 응답이 제공되지 않으면 일련의 전송 과정을 중단하고 롤백을 결정하는 타임락을 설정함으로써 데이터 전송의 원자성을 담보할 수 있다.In addition, along with the exchange of the secret value through the hash lock, the gateway server stops a series of transmission processes if a response to the transmission is not provided for a predetermined time in data transmission between the first and second block chains. The atomicity of data transmission can be guaranteed by setting a time lock that determines rollback.

본 발명의 효과들은 이상에서 언급한 효과들로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 청구범위의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.Effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description of the claims.

도 1은 선하증권 발행으로부터 화물의 인도에 이르는 일반적인 무역업무의 업무 흐름을 예시적으로 설명하기 위한 도면이다.
도 2는 본 발명의 몇몇 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템을 설명하기 위한 블록도이다.
도 3은 본 발명의 몇몇 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법을 설명하기 위한 순서도이다.
도 4는 도 3과 관련하여 서로 다른 블록체인 사이의 선하증권 전송을 준비하는 단계를 설명하기 위한 흐름도이다.
도 5는 도 3과 관련하여 서로 다른 블록체인 사이의 선하증권 전송을 수행하는 단계를 설명하기 위한 흐름도이다.
도 6a 및 도 6b는 도 3과 관련하여 서로 다른 블록체인 사이의 선하증권 전송을 완료하고 커밋하는 단계를 설명하기 위한 흐름도이다.
도 7은 본 발명의 몇몇 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템에 의한 선하증권 및 선적서류 매입 단계를 설명하기 위한 흐름도이다.
1 is a diagram for illustratively explaining the workflow of a general trade business from issuance of bills of lading to delivery of goods.
2 is a block diagram for explaining a system for managing bill of lading transmission between different block chains according to some embodiments of the present invention.
3 is a flowchart illustrating an operating method of a system for managing bill of lading transmission between different block chains according to some embodiments of the present invention.
4 is a flowchart for explaining the steps of preparing a bill of lading transmission between different blockchains in relation to FIG. 3 .
FIG. 5 is a flowchart for explaining the steps of performing bill of lading transmission between different blockchains in relation to FIG. 3 .
6A and 6B are flowcharts for explaining the steps of completing and committing a bill of lading transfer between different blockchains in relation to FIG. 3 .
7 is a flowchart for explaining the steps of purchasing a bill of lading and shipping documents by a system for managing the transmission of bills of lading between different blockchains according to some embodiments of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Advantages and features of the present invention and methods of achieving them will become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but will be implemented in a variety of different forms, and only these embodiments allow the disclosure of the present invention to be complete, and common knowledge in the technical field to which the present invention belongs It is provided to fully inform the possessor of the scope of the invention, and the present invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout.

하나의 구성 요소가 다른 구성 요소와 "연결된(connected to)" 또는 "커플링된(coupled to)" 이라고 지칭되는 것은, 다른 구성 요소와 직접 연결 또는 커플링된 경우 또는 중간에 다른 구성 요소를 개재한 경우를 모두 포함한다. 반면, 하나의 구성 요소가 다른 구성 요소와 "직접 연결된(directly connected to)" 또는 "직접 커플링된(directly coupled to)"으로 지칭되는 것은 중간에 다른 구성 요소를 개재하지 않은 것을 나타낸다. "및/또는"은 언급된 아이템들의 각각 및 하나 이상의 모든 조합을 포함한다. When one component is referred to as “connected to” or “coupled to” with another component, it means that it is directly connected or coupled to another component or intervening another component. including all cases. On the other hand, when one component is referred to as “directly connected to” or “directly coupled to” with another component, it indicates that another component is not interposed therebetween. “and/or” includes each and every combination of one or more of the recited items.

본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성 요소, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성 요소, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.The terminology used herein is for the purpose of describing the embodiments and is not intended to limit the present invention. In this specification, the singular also includes the plural unless specifically stated otherwise in the phrase. As used herein, “comprises” and/or “comprising” refers to the presence of one or more other components, steps, operations, and/or elements mentioned. or addition is not excluded.

비록 제1, 제2 등이 다양한 구성 요소들을 서술하기 위해서 사용되나, 이들 구성 요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성 요소를 다른 구성 요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성 요소는 본 발명의 기술적 사상 내에서 제2 구성 요소 일 수도 있음은 물론이다.Although the first, second, etc. are used to describe various elements, these elements are not limited by these terms, of course. These terms are only used to distinguish one component from another. Accordingly, it goes without saying that the first component mentioned below may be the second component within the spirit of the present invention.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used herein may be used with the meaning commonly understood by those of ordinary skill in the art to which the present invention belongs. In addition, terms defined in a commonly used dictionary are not to be interpreted ideally or excessively unless clearly defined in particular.

본 실시예에서 사용되는 '부' 또는 '모듈'이라는 용어는 소프트웨어 또는 FPGA또는 ASIC과 같은 하드웨어 구성요소를 의미하며, '부' 또는 '모듈'은 어떤 역할들을 수행한다. 그러나 '부' 또는 '모듈'은 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '부' 또는 '모듈'은 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '부' 또는 '모듈'은 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소과, 함수들, 서브루틴들, 프로그램 코드의 세그먼트들, 마이크로코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들, 및 변수들을 포함할 수 있다. 구성요소들과 '부' 또는 '모듈'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '부' 또는 '모듈'들로 결합되거나 추가적인 구성요소들과 '부' 또는 '모듈'들로 더 분리될 수 있다.The term 'unit' or 'module' used in this embodiment means software or hardware components such as FPGA or ASIC, and 'unit' or 'module' performs certain roles. However, 'unit' or 'module' is not meant to be limited to software or hardware. A 'unit' or 'module' may be configured to reside on an addressable storage medium or may be configured to reproduce one or more processors. Thus, by way of example, a 'part' or 'module' refers to software components, object-oriented software components and functions, subroutines, segments of program code, microcode, circuitry, data, databases, data structures, It can include tables, arrays, and variables. Components and functionality provided within 'units' or 'modules' may be combined into a smaller number of components and 'units' or 'modules' or additional components and 'units' or 'modules' can be further separated.

도 2는 본 발명의 몇몇 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템을 설명하기 위한 블록도이다.2 is a block diagram for explaining a system for managing bill of lading transmission between different blockchains according to some embodiments of the present invention.

도 2를 참조하면, 본 발명의 몇몇 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템(1)은 서로 다른 제1 블록체인(1000)과 제2 블록체인(2000) 사이를 연결하는 게이트웨이 서버(100)를 포함할 수 있다. Referring to FIG. 2 , a system 1 for managing bill of lading transmission between different block chains according to some embodiments of the present invention connects between different first block chains 1000 and second block chains 2000 . It may include a connecting gateway server 100 .

본 명세서에서 '선하증권'은 화물수취, 유자담보, 권리증권 및 운송계약의 증거가 되는 증명서류에 관한 데이터를 의미하고, '선하증권의 전송'은 상술한 증명서류에 관한 데이터의 전송을 의미하는 것으로 기술한다.In this specification, 'bill of lading' means data on receipt of cargo, security of equity, right certificate, and proof documents that are evidence of a contract of carriage, and 'transmission of bill of lading' means transmission of data on the aforementioned proof documents. described as doing

제1 블록체인(1000)과 제2 블록체인(2000)은 분산 원장 기술을 기반하여 선하증권의 정보를 포함하는 블록을 전자적으로 생성, 저장, 전파 및 삭제할 수 있는 복수의 노드들로 구성된 분산형 네트워크(decentralized network)를 각각 포함할 수 있다.The first block chain 1000 and the second block chain 2000 are distributed ledger technology based on a distributed ledger technology composed of a plurality of nodes that can electronically create, store, propagate, and delete a block including bill of lading information. Each may include a network (decentralized network).

본 발명의 몇몇 실시예에서, 제1 블록체인(1000)은 화물을 수출하는 화주, 화주로부터 화물을 선적한 선사, 수출 화주로부터 선하증권의 매입을 신청받고 매입을 진행하는 수출은행이 노드로써 제1 블록체인(1000)을 액세스하는 허가형(Private) 블록체인일 수 있다. 제1 블록체인(1000)이 허가형 블록체인으로 구성되는 경우, 제1 블록체인(1000) 외부, 특히 제2 블록체인(2000)을 구성하는 수입은행, 선사 및 수입화주에 의한 제1 블록체인(1000)의 액세스가 제한될 수 있다.In some embodiments of the present invention, in the first block chain 1000, the shipper who exports the cargo, the shipping company that has loaded the cargo from the shipper, and the export bank that receives and proceeds with the purchase of the bill of lading from the exporter are the nodes. 1 It may be a private block chain that accesses the block chain 1000 . When the first block chain 1000 is configured as a permissioned block chain, the first block chain external to the first block chain 1000, in particular, the first block chain by the importing bank, shipping company, and importing shipper constituting the second block chain 2000 Access of 1000 may be restricted.

제1 블록체인(1000)은 네트워크를 통해 통신이 가능한 복수의 노드들로 구성될 수 있다. 제1 블록체인(1000)은 예를 들어, 제1 방식으로 구성된 블록체인일 수 있다. 제1 방식은 예를 들어 하이퍼레저 패브릭(Hyperledger Fabric) 네트워크를 포함할 수 있다. 제1 블록체인(1000)이 하이퍼레저 패브릭으로 구성된 경우, 제1 블록체인(1000)을 구성하는 노드들은 스마트 컨트랙트(smart contract) 정보, 스마트 컨트랙트를 저장하고 있는 엔티티(entity)로서의 피어(peer) 및 트랜잭션 결과가 저장된 StateDB를 저장할 수 있다.The first block chain 1000 may be composed of a plurality of nodes capable of communication through a network. The first blockchain 1000 may be, for example, a blockchain configured in the first manner. The first scheme may include, for example, a Hyperledger Fabric network. When the first block chain 1000 is configured with Hyperledger Fabric, the nodes constituting the first block chain 1000 are peers as entities storing smart contract information and smart contracts. and a StateDB in which transaction results are stored.

제2 블록체인(1000)은 화물을 수입하는 화주, 선적해온 화물을 수입화주에게 인도하는 선사, 수입 화주에게 선하증권을 제출하고 수입대금을 결제하는 수입은행이 노드로써 제2 블록체인(2000)을 액세스하는 허가형 블록체인일 수 있다. 제2 블록체인(2000)이 허가형 블록체인으로 구성되는 경우, 제1 블록체인(1000)과 마찬가지로 외부로부터의 제2 블록체인(2000)의 액세스가 제한될 수 있다.The second block chain 1000 is the second block chain (2000) where the shipper who imports the cargo, the shipping company that delivers the cargo to the import shipper, and the importing bank that submits the bill of lading to the import shipper and pays for the import are nodes. It can be a permissioned blockchain that accesses When the second block chain 2000 is configured as a permissioned block chain, like the first block chain 1000 , access to the second block chain 2000 from the outside may be restricted.

제2 블록체인(2000)은 네트워크를 통해 통신이 가능한 복수의 노드들로 구성되고 제1 방식과는 다른 제2 방식으로 구성된 블록체인일 수 있다. 제2 방식은 예를 들어 R3 Corda의 분산원장 방식을 포함할 수 있다. 제2 블록체인(2000)이 R3 Corda로 구성된 경우, 제2 블록체인(2000)을 구성하는 노드들은 스마트 컨트랙트 정보, 노드 정보 및 제2 블록체인(2000) 상에서의 트랜잭션 정보가 저장된 볼트(Vault)를 저장할 수 있다.The second block chain 2000 may be a block chain composed of a plurality of nodes capable of communication through a network and configured in a second method different from the first method. The second scheme may include, for example, the distributed ledger scheme of R3 Corda. When the second block chain 2000 is configured with R3 Corda, the nodes constituting the second block chain 2000 are smart contract information, node information, and a vault in which transaction information on the second block chain 2000 is stored. can be saved.

상술한 제1 블록체인(1000)과 제2 블록체인(2000)을 구성하는 제1 방식과 제2 방식의 설명은 예시적인 것으로, 본 발명의 실시예에 따른 게이트웨이 서버(100)에 의해 연결될 수 있는 서로 다른 허가형 블록체인 방식을 채용하여 구현된 제1 블록체인(1000)과 제2 블록체인(2000)이라면 그 방식에 관계없이 본 발명에 적용 가능하다.The description of the first method and the second method constituting the first block chain 1000 and the second block chain 2000 described above is exemplary, and can be connected by the gateway server 100 according to the embodiment of the present invention. If the first block chain 1000 and the second block chain 2000 are implemented by adopting different permission-type block chain methods, it is applicable to the present invention regardless of the method.

게이트웨이 서버(100)는 예를 들어 적어도 하나의 프로세서 및 이들이 접근하여 데이터를 읽고 쓸 수 있으며 프로세서에 의해 실행되는 명령어를 저장하는 메모리의 집합을 포함하는 모듈일 수 있다. 게이트웨이 서버(100)는 예를 들어 개인용 컴퓨터(PC), 서버 컴퓨터, 워크 스테이션, 랩탑 컴퓨터 등의 다양한 컴퓨터 시스템을 포함할 수 있다.The gateway server 100 may be, for example, a module including at least one processor and a set of memories that can be accessed to read and write data and store instructions executed by the processor. The gateway server 100 may include, for example, various computer systems such as a personal computer (PC), a server computer, a workstation, a laptop computer, and the like.

게이트웨이 서버(100)는 제1 블록체인(1000)과 제2 블록체인 사이를 연결하는 일종의 게이트웨이(gateway)로서 기능할 수 있다.The gateway server 100 may function as a kind of gateway connecting between the first block chain 1000 and the second block chain.

도 3은 본 발명의 몇몇 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법을 설명하기 위한 순서도이다.3 is a flowchart illustrating an operation method of a system for managing bill of lading transmission between different block chains according to some embodiments of the present invention.

도 3을 참조하면, 본 발명의 몇몇 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법은 서로 다른 제1 블록체인과 제2 블록체인이 각각 해시락을 설정하여 선하증권 전송을 준비하는 단계(S110), 미리 정한 시간으로 타임락을 설정하고 제1 블록체인으로부터 제공된 선하증권을 제2 블록체인에 전송하는 단계(S120), 미리 정한 시간 내에 제2 블록체인으로부터 선하증권 전송에 대한 응답이 제공되었는지 판단하여 선하증권 전송의 완료를 검증하는 단계(S130), 검증 결과를 기초로 제1 블록체인과 제2 블록체인에 선하증권 전송의 결과를 커밋하도록 명령하는 단계(S140)를 포함할 수 있다.Referring to FIG. 3 , in the operating method of a system for managing bill of lading transmission between different block chains according to some embodiments of the present invention, different first block chains and second block chains set hash locks, respectively. Preparing for securities transmission (S110), setting a time lock at a predetermined time and transmitting the bill of lading provided from the first block chain to the second block chain (S120), loading from the second block chain within a predetermined time A step of verifying the completion of the bill of lading transmission by determining whether a response to the bill of lading has been provided (S130), and instructing the first block chain and the second block chain to commit the result of the bill of lading transmission based on the verification result ( S140) may be included.

제1 블록체인과 제2 블록체인이 각각 해시락을 설정하여 선하증권 전송을 준비하는 단계와 관련하여 도 4를 이용하여 더욱 자세하게 설명한다.The steps of preparing a bill of lading transmission by setting a hash lock in each of the first and second blockchains will be described in more detail with reference to FIG. 4 .

도 4는 도 3과 관련하여 서로 다른 블록체인 사이의 선하증권 전송을 준비하는 단계를 설명하기 위한 흐름도이다. 이하 도 4 내지 도 6b를 이용하여 설명되는 실시예에서 게이트웨이 서버(100)의 동작은 게이트웨이 서버(100)에 포함된 프로세서가 메모리에 저장된 명령어를 실행함으로써 수행되는 일련의 기능의 집합인 것으로 이해될 수 있다.4 is a flowchart for explaining the steps of preparing a bill of lading transmission between different blockchains in relation to FIG. 3 . Hereinafter, in the embodiment described using FIGS. 4 to 6B, the operation of the gateway server 100 is to be understood as a set of a series of functions performed by the processor included in the gateway server 100 executing instructions stored in the memory. can

도 4를 참조하면, 본 발명의 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템에 포함된 게이트웨이 서버(100)에 의하여 선하증권 전송의 준비 명령(S101)이 제1 블록체인(1000)과 제2 블록체인(2000)에 각각 제공될 수 있다. 선하증권 전송의 준비 단계에서는 전송 대상인 선하증권에 관한 정보가 제1 블록체인(1000)에는 기록되어 있지만 제2 블록체인(2000)에는 기록되지 않은 상태이다.Referring to FIG. 4 , a command to prepare a bill of lading (S101) by the gateway server 100 included in the system for managing the transfer of bills of lading between different block chains according to an embodiment of the present invention is transmitted to the first block chain (1000) and the second block chain (2000) may be provided, respectively. In the preparation stage of the bill of lading transmission, information on the bill of lading to be transmitted is recorded in the first block chain 1000 but not recorded in the second block chain 2000 .

게이트웨이 서버(100)로부터 선하증권 전송의 준비 명령(S101)을 제공받은 제1 블록체인(1000)과 제2 블록체인(2000)은 각각 개인키(Private key)와 공개키(Public key)를 생성하는 단계(S102, S103)를 진행한다. 개인키와 공개키는 각각 암호학적 연관관계를 가질 수 있다.The first block chain 1000 and the second block chain 2000 that received the preparation command (S101) of the bill of lading transmission from the gateway server 100 generate a private key and a public key, respectively. Steps S102 and S103 are performed. The private key and the public key may each have a cryptographic relationship.

구체적으로, 제1 블록체인(1000)은 제1 개인키로부터 제1 공개키를 생성하여 게이트웨이 서버(100)에 제공할 수 있다(S105). 제2 블록체인(1000)은 제2 개인키로부터 제2 공개키를 생성하여 게이트웨이 서버(100)에 제공할 수 있다(S105).Specifically, the first block chain 1000 may generate a first public key from the first private key and provide it to the gateway server 100 ( S105 ). The second block chain 1000 may generate a second public key from the second private key and provide it to the gateway server 100 (S105).

이어서, 제1 블록체인(1000)은 해시락을 설정하기 위해 제1 시크릿값과 제1 시크릿값의 해시값을 생성하고(S106), 제2 블록체인(2000)은 해시락을 설정하기 위해 제2 시크릿값과 제2 시크릿값의 해시값을 설정한다(S107). 제1 및 제2 시크릿값은 예를 들어 랜덤하게 생성된 값이고, 제1 및 제2 시크릿값의 해시값들은 예를 들어 SHA-256와 같은 해시 함수에 제1 및 제2 시크릿값을 입력함으로써 생성된 해시값들일 수 있다. 뒤에서 설명하는 것과 같이, 제1 블록체인(1000)과 제2 블록체인(2000)은 각각 상대방이 생성한 시크릿값과 그 해시값들을 이용하여 제1 블록체인(1000)과 제2 블록체인(2000) 사이의 거래를 검증할 수 있다.Next, the first block chain 1000 generates a first secret value and a hash value of the first secret value in order to set a hash lock (S106), and the second block chain 2000 generates the first secret value to set a hash lock (S106). A hash value of the second secret value and the second secret value is set (S107). The first and second secret values are, for example, randomly generated values, and the hash values of the first and second secret values are obtained by inputting the first and second secret values into a hash function such as SHA-256, for example. These may be generated hash values. As will be described later, the first block chain 1000 and the second block chain 2000 are the first block chain 1000 and the second block chain 2000 using the secret value and the hash values generated by each other, respectively. ) can verify the transaction between

즉, 제1 블록체인(1000)이 설정하는 해시락은 제1 블록체인(1000)으로부터 전송되는 선하증권이 제2 블록체인(2000)까지 전달되었는지 여부를 확인하기 위한 수단이다. 해시락 설정을 위해 생성되는 제1 시크릿값과 제1 시크릿값의 해시값은 이후 제2 블록체인(2000)으로 전달되어 제1 블록체인(1000)과 제2 블록체인(2000) 사이의 데이터 전송의 무결성 및 정합성을 검증하기 위해 사용될 수 있다.That is, the hash lock set by the first block chain 1000 is a means for confirming whether the bill of lading transmitted from the first block chain 1000 has been delivered to the second block chain 2000 . The first secret value and the hash value of the first secret value generated for setting the hash lock are then transferred to the second block chain 2000 to transmit data between the first block chain 1000 and the second block chain 2000 . It can be used to verify the integrity and consistency of

또한, 제2 블록체인(1000)이 설정하는 해시락에 의해 생성되는 제2 시크릿값과 제2 시크릿값을 이용하여 제1 블록체인(1000)과 제2 블록체인(2000) 사이의 데이터 전송의 무결성 및 정합성이 검증될 수 있다.In addition, data transmission between the first block chain 1000 and the second block chain 2000 is performed using the second secret value and the second secret value generated by the hash lock set by the second block chain 1000 . Integrity and conformance can be verified.

제1 블록체인(1000)은 제1 시크릿값과 제1 시크릿값의 해시값을 게이트웨이 서버(100)에 제공하고(S108), 제2 블록체인(2000)은 제2 시크릿값과 제2 시크릿값의 해시값을 게이트웨이 서버(100)에 제공한다(S109). The first block chain 1000 provides the first secret value and the hash value of the first secret value to the gateway server 100 (S108), and the second block chain 2000 provides the second secret value and the second secret value provides the hash value of to the gateway server 100 (S109).

게이트웨이 서버(100)는 제1 시크릿값의 해시값을 이용하여 제1 시크릿값을 검증하고, 제2 시크릿값의 해시값을 이용하여 제2 시크릿값을 검증할 수 있다(S110). 예를 들어 게이트웨이 서버(100)는 제1 시크릿값을 해시 함수에 대입시켜 출력된 값이 제공받은 제1 시크릿값의 해시값과 동일한지 여부를 검증하고, 제2 시크릿값을 해시 함수에 대입시켜 출력된 값이 제공받은 제2 시크릿값의 해시값과 동일한지 여부를 검증할 수 있다.The gateway server 100 may verify the first secret value using the hash value of the first secret value, and verify the second secret value using the hash value of the second secret value (S110). For example, the gateway server 100 substitutes the first secret value into the hash function to verify whether the output value is the same as the hash value of the provided first secret value, and substitutes the second secret value to the hash function. It may be verified whether the output value is the same as the hash value of the provided second secret value.

게이트웨이 서버(100)가 제1 블록체인(1000)과 제2 블록체인(2000)으로부터 제공받은 제1 및 제2 시크릿값(2000)의 검증을 완료하면, 제2 시크릿값의 해시값을 제1 블록체인(1000)에 제공하고(S111), 제1 시크릿값의 해시값을 제2 블록체인(2000)에 제공할 수 있다(S112). When the gateway server 100 completes verification of the first and second secret values 2000 provided from the first block chain 1000 and the second block chain 2000, the hash value of the second secret value is converted to the first It may be provided to the block chain 1000 (S111), and the hash value of the first secret value may be provided to the second block chain 2000 (S112).

제1 블록체인(1000)은 제2 시크릿값의 해시값을 저장함으로써 선하증권 전송의 준비를 완료하며(S113), 제2 블록체인(2000 또한 제1 시크릿값의 해시값을 저장함으로써 선하증권 전송의 준비를 완료할 수 있다(S114). 각각의 블록체인(1000, 2000)은 제공받은 해시값을 이용하여 이후 선하증권의 전송 단계에서 상대방이 생성한 시크릿값의 검증을 수행할 수 있다. 이어서 선하증권의 전송 시스템(1)에 의한 전송 과정(S120, S130, S140)이 진행된다.The first block chain 1000 completes the preparation of the bill of lading transmission by storing the hash value of the second secret value (S113), and the second block chain 2000 also stores the hash value of the first secret value to transmit the bill of lading (S114) Each block chain 1000 and 2000 can verify the secret value generated by the counterparty in the subsequent bill of lading transmission step using the provided hash value. The transmission process (S120, S130, S140) by the transmission system 1 of the bill of lading proceeds.

도 5는 도 3과 관련하여 서로 다른 블록체인 사이의 선하증권 전송을 수행하는 단계를 설명하기 위한 흐름도이다.FIG. 5 is a flowchart for explaining the steps of performing bill of lading transmission between different blockchains in relation to FIG. 3 .

도 5를 참조하면, 제1 블록체인(1000)은 선하증권의 서명(signature)을 생성하고(S201), 생성된 서명과 선하증권의 정보를 게이트웨이 서버(100)에 제공할 수 있다(S202). 제1 블록체인(1000)은 앞서 생성된 제1 개인 키를 이용하여 선하증권을 암호화함으로써 선하증권의 서명을 생성할 수 있다. Referring to FIG. 5 , the first block chain 1000 may generate a signature of the bill of lading (S201), and provide the generated signature and information on the bill of lading to the gateway server 100 (S202) . The first block chain 1000 may generate a signature of the bill of lading by encrypting the bill of lading using the previously generated first private key.

또한, 제1 블록체인(1000)은 선하증권에 락(Lock)을 설정할 수 있다(S203). 락이 설정된 제1 블록체인(1000)의 선하증권은 별도의 절차 없이 수정되거나 삭제될 수 없도록 설정된다.In addition, the first block chain 1000 may set a lock on the bill of lading (S203). The bill of lading of the locked first block chain 1000 is set so that it cannot be modified or deleted without a separate procedure.

게이트웨이 서버(100)는 제1 블록체인(1000)으로부터 제공받은 선하증권의 서명을 검증한다(S204). 검증은 제1 블록체인(1000)으로부터 제공받은(도 4의 S105) 제1 공개키를 이용하여 선하증권의 서명의 유효성을 확인하는 것을 포함할 수 있다.The gateway server 100 verifies the signature of the bill of lading provided from the first block chain 1000 (S204). The verification may include verifying the validity of the signature of the bill of lading using the first public key provided from the first block chain 1000 (S105 in FIG. 4 ).

제1 블록체인(1000)에 저장되어 있는 선하증권은 제1 블록체인(1000) 내에서 복수의 노드들에 의해 그 무결성이 지속적으로 검증될 수 있다. 그러나 제1 블록체인(1000)으로부터 게이트웨이 서버(100)로 전송된 선하증권은 제1 블록체인(1000)에 저장되어 있던 정보와 일치하는지 여부가 검증되어야 한다. 본 발명의 실시예에 따른 전송 관리 시스템(1)은 제1 블록체인(1000) 외부로 추출된 선하증권 데이터에 대하여 제1 블록체인(1000)에 의해 생성된 서명 및 제1 공개키를 이용하여 선하증권 서명의 유효성을 검증함으로써 게이트웨이 서버(100)로 전송된 선하증권의 무결성을 검증할 수 있다.The integrity of the bill of lading stored in the first block chain 1000 may be continuously verified by a plurality of nodes within the first block chain 1000 . However, whether the bill of lading transmitted from the first block chain 1000 to the gateway server 100 matches the information stored in the first block chain 1000 must be verified. The transmission management system 1 according to an embodiment of the present invention uses the signature and the first public key generated by the first block chain 1000 for the bill of lading data extracted to the outside of the first block chain 1000 . By verifying the validity of the signature of the bill of lading, the integrity of the bill of lading transmitted to the gateway server 100 can be verified.

선하증권의 서명의 검증이 완료되어 서명이 유효한 것으로 결정되면, 게이트웨이 서버(100)는 제2 블록체인(2000)으로 선하증권의 전송을 시도한다. 이 과정에서 게이트웨이 서버(100)는 제1 시간으로 타임락(Timelock)을 설정하고(S205), 선하증권을 제2 블록체인(2000)으로 전송한다(S206). 게이트웨이 서버(100)는 제1 시간으로 타임락을 설정하고 제2 블록체인(2000)으로의 선하증권 전송에 대한 응답이 제1 시간 내에 게이트웨이 서버(100)로 돌아오는지 여부를 확인함으로써 선하증권 전송의 완료 여부를 검증할 수 있다.When the verification of the signature of the bill of lading is completed and it is determined that the signature is valid, the gateway server 100 attempts to transmit the bill of lading to the second block chain 2000 . In this process, the gateway server 100 sets a timelock to the first time (S205), and transmits the bill of lading to the second block chain 2000 (S206). The gateway server 100 transmits the bill of lading by setting a time lock to the first time and checking whether a response to the transmission of the bill of lading to the second block chain 2000 returns to the gateway server 100 within the first time. can be verified whether the

선하증권을 전송받은 제2 블록체인(2000)은 선하증권에 락을 설정하고(S207), 선하증권 전송에 대한 응답으로 제2 시크릿값을 게이트웨이 서버(100)에 전송할 수 있다(S208). 제2 블록체인(2000)에 의하여 락이 설정된 선하증권은 별도의 절차 없이 수정 또는 삭제될 수 없다. 제2 블록체인(2000)에 전송된 선하증권은 아직 검증 과정이 종료되지 않았으므로 제2 블록체인(2000) 내 블록에 기록되지 않는다.The second block chain 2000 receiving the bill of lading may set a lock on the bill of lading (S207), and transmit a second secret value to the gateway server 100 in response to the bill of lading transmission (S208). The bill of lading locked by the second block chain 2000 cannot be modified or deleted without a separate procedure. The bill of lading transmitted to the second block chain 2000 is not recorded in the block in the second block chain 2000 because the verification process has not yet been completed.

게이트웨이 서버(100)는 제2 시크릿값이 제2 블록체인(2000)으로부터 제1 시간 내에 전송되었는지 여부를 확인함으로써(S209) 선하증권이 제2 블록체인(2000)으로 올바로 전송되었음을 확인할 수 있다. The gateway server 100 can confirm that the bill of lading has been correctly transmitted to the second block chain 2000 by checking whether the second secret value has been transmitted from the second block chain 2000 within the first time (S209).

이와 같이, 게이트웨이 서버(100)는 선하증권을 제2 블록체인(1000)에 전송하는 것에 있어서 타임락을 설정하고 기 정해진 시간 내에 제2 블록체인(1000)으로부터 전송이 완료되었다는 응답이 제공되었는지 여부를 확인할 수 있다. 만약 기 정해진 시간 내에 전송 완료를 의미하는 응답을 제공받지 못한 경우, 게이트웨이 서버(100)는 일련의 전송 과정을 중지하고 데이터의 롤백(Rollback)을 결정할 수 있다.As such, the gateway server 100 sets a time lock in transmitting the bill of lading to the second block chain 1000, and whether a response indicating that the transmission is complete is provided from the second block chain 1000 within a predetermined time can be checked. If a response indicating transmission completion is not provided within a predetermined time, the gateway server 100 may stop a series of transmission processes and determine data rollback.

이어서 게이트웨이 서버(100)는 제2 시간으로 타임락을 설정하고(S210), 제2 시크릿값을 제1 블록체인(1000)으로 전송할 수 있다(S211).Next, the gateway server 100 may set a time lock to the second time (S210) and transmit the second secret value to the first block chain 1000 (S211).

게이트웨이 서버(100)는 앞서와 마찬가지로 제2 시간으로 타임락을 설정하고 제1 블록체인(1000)으로의 제2 시크릿값 전송에 대한 응답이 제2 시간 내에 게이트웨이 서버(100)로 돌아오는지 여부를 확인함으로써 제2 시크릿값 전송의 완료 여부를 검증할 수 있다.The gateway server 100 sets the time lock to the second time as before, and checks whether the response to the second secret value transmission to the first block chain 1000 returns to the gateway server 100 within the second time. By checking, it is possible to verify whether the transmission of the second secret value has been completed.

제1 블록체인(1000)은 전송된 제2 시크릿값의 해시값을 생성하고, 이를 앞서 선하증권의 전송 준비 단계에서 제2 블록체인(2000)이 생성하여 제공된 제2 시크릿값의 해시값(도 4의 S111)과 비교함으로써 제2 시크릿값의 해시값을 검증할 수 있다(S212).The first block chain 1000 generates a hash value of the transmitted second secret value, and the hash value of the second secret value generated and provided by the second block chain 2000 in the preparation stage for transmission of the bill of lading (Fig. 4, it is possible to verify the hash value of the second secret value by comparing with S111 (S212).

즉, 제1 블록체인(1000)은 제2 블록체인(2000)에 선하증권을 전송하고 그에 따른 응답으로 제2 시크릿값을 제공받은 것이다. 이와 같이 서로 다른 두 개의 블록체인 사이에 데이터를 전송하는 것에 있어 제1 블록체인(1000) 외부로 추출된 선하증권의 제2 블록체인(2000)으로 전송과, 선하증권의 전송에 대한 응답으로서의 제2 블록체인(2000)으로부터 제1 블록체인(1000)으로의 제2 시크릿값 전송은 동시에 성공되는 것이 확인됨으로써 데이터 전송의 정합성과 원자성(Atomicity)이 확인될 필요가 있으며, 이는 후술하는 것과 같이 게이트웨이 서버(100)에 의해 수행될 수 있다.That is, the first block chain 1000 transmits the bill of lading to the second block chain 2000 and receives the second secret value in response accordingly. In transmitting data between two different block chains in this way, the first block chain 1000 is extracted to the second block chain 2000 of the bill of lading, and the method as a response to the transmission of the bill of lading. As it is confirmed that the second secret value transmission from the 2 block chain 2000 to the first block chain 1000 is successful at the same time, it is necessary to confirm the consistency and atomicity of data transmission, which will be described later This may be performed by the gateway server 100 .

제1 블록체인(1000)은 제공받은 제2 시크릿값과 그 해시값 사이의 검증이 완료된 경우 제1 시크릿값을 게이트웨이 서버(100)에 전송할 수 있다(S213). 타임락을 설정하여 제2 시크릿값의 전송에 대한 응답으로 제1 시크릿값을 제공받은 게이트웨이 서버(100)는 제2 시간 내에 제1 시크릿값 전송이 완료되는지 여부를 확인한다(S214). The first block chain 1000 may transmit the first secret value to the gateway server 100 when verification between the provided second secret value and the hash value is completed (S213). The gateway server 100, which has received the first secret value in response to the transmission of the second secret value by setting the time lock, checks whether the transmission of the first secret value is completed within the second time (S214).

본 발명의 실시예에 따른 시스템의 게이트웨이 서버(100)는 선하증권 전송의 검증을 위하여 제1 시간으로 설정된 타임락을 이용하고, 그 응답으로 제공된 제2 시크릿값의 전송의 검증을 위하여 제2 시간으로 설정된 타임락을 이용할 수 있다. 제1 블록체인(1000)으로부터 제2 블록체인(2000)으로의 선하증권의 전송과, 선하증권의 전송에 대한 응답으로서의 제2 블록체인(2000)으로부터 제1 블록체인(1000)으로의 제2 시크릿값 전송이 모두 성공적으로 완료되는지 여부를 타임락을 이용하여 검증하고, 어느 한 쪽이라도 전송에 실패하는 경우 데이터의 롤백을 결정하여 서로 다른 블록체인 사이의 데이터 전송의 원자성을 확보할 수 있다.The gateway server 100 of the system according to the embodiment of the present invention uses the time lock set to the first time to verify the transmission of the bill of lading, and the second time to verify the transmission of the second secret value provided in response. You can use the time lock set to . The second transfer of the bill of lading from the first blockchain 1000 to the second blockchain 2000, and the second from the second blockchain 2000 to the first blockchain 1000 as a response to the transfer of the bill of lading. It verifies whether or not all secret value transmissions are successfully completed using a time lock, and if either one fails, data rollback is decided to ensure the atomicity of data transmission between different blockchains. .

이어서 게이트웨이 서버(100)는 제3 시간으로 타임락을 설정하고(S215), 제1 시크릿값을 제2 블록체인(2000)으로 전송할 수 있다(S216). 제1 시크릿값을 제공받은 제2 블록체인(2000)은 전송된 제2 시크릿값의 해시값을 생성하고, 이를 앞서 선하증권 전송 준비 단계에서 제1 블록체인(1000)이 생성하여 제공된 제1 시크릿값의 해시값(도 4의 S112)과 비교함으로써 제1 시크릿값의 해시값을 검증할 수 있다(S217).Next, the gateway server 100 may set a time lock to the third time (S215) and transmit the first secret value to the second block chain 2000 (S216). The second block chain 2000 provided with the first secret value generates a hash value of the transmitted second secret value, and the first secret generated and provided by the first block chain 1000 in the previous step of preparing the bill of lading transmission The hash value of the first secret value may be verified by comparing it with the hash value of the value (S112 in FIG. 4) (S217).

제2 블록체인(2000)은 제공받은 제1 시크릿값과 그 해시값 사이의 검증이 완료된 경우 제1 시크릿값의 검증 결과를 게이트웨이 서버(100)에 전송할 수 있다(S218). 타임락을 설정하여 제1 시크릿값의 전송에 대한 응답으로 제1 시크릿값의 검증 결과를 제공받은 게이트웨이 서버(100)는 제2 시간 내에 제1 시크릿값의 검증 결과의 전송이 완료되는지 여부를 확인한다(S219). 만약 게이트웨이 서버(100)가 제3 시간 내에 제2 블록체인(2000)으로부터 검증 완료를 의미하는 응답을 제공받지 못한 경우, 게이트웨이 서버(100)는 일련의 전송 과정을 중지하고 데이터의 롤백을 결정할 수 있다.When the verification between the provided first secret value and the hash value is completed, the second block chain 2000 may transmit the verification result of the first secret value to the gateway server 100 (S218). The gateway server 100, which has received the verification result of the first secret value in response to the transmission of the first secret value by setting the time lock, checks whether the transmission of the verification result of the first secret value is completed within the second time period. do (S219). If the gateway server 100 does not receive a response indicating completion of verification from the second block chain 2000 within the third time period, the gateway server 100 stops a series of transmission processes and decides to rollback the data. have.

즉, 앞서 설명한 제1 블록체인(1000)으로부터의 선하증권 전송과 그에 따른 응답으로 제2 블록체인(2000)의 제2 시크릿값 전송이 게이트웨이 서버(100)에 의해 설정된 타임락을 이용하여 그 원자성이 확보된 것과 같이, 제2 블록체인(2000)으로부터의 제2 시크릿값 전송과 그에 따른 응답으로 제1 블록체인(1000)의 제1 시크릿값 전송이 게이트웨이 서버(100)에 의해 설정된 타임락을 이용하여 원자성이 확보될 수 있다.That is, the transmission of the bill of lading from the first block chain 1000 described above and the transmission of the second secret value of the second block chain 2000 in response thereto using the time lock set by the gateway server 100 As the magnetism is secured, the time lock set by the gateway server 100 for the transmission of the second secret value from the second block chain 2000 and the transmission of the first secret value of the first block chain 1000 in response thereto atomicity can be secured using

게이트웨이 서버(100)는 제1 시크릿값의 검증 결과 전송의 완료를 끝으로 모든 데이터 전송이 완료된 것으로 결정하고 각각 제1 블록체인(1000)과 제2 블록체인(2000)으로 선하증권 전송의 커밋(Commit)을 명령할 수 있다(S220, S221). 커밋에 의해 제1 블록체인(1000)으로부터 제2 블록체인(2000)으로 선하증권 전송이 완료된 사실이 제1 블록체인(1000)과 제2 블록체인(2000)에 각각 블록으로써 기록될 수 있다(S222, S223).The gateway server 100 determines that all data transmission is complete after completing the transmission of the verification result of the first secret value, and commits ( Commit) can be commanded (S220, S221). The fact that the transfer of the bill of lading from the first block chain 1000 to the second block chain 2000 is completed by commit may be recorded as a block in the first block chain 1000 and the second block chain 2000, respectively ( S222, S223).

도 6a 및 도 6b는 도 3과 관련하여 서로 다른 블록체인 사이의 선하증권 전송을 완료하고 커밋하는 단계를 설명하기 위한 흐름도이다.6A and 6B are flowcharts for explaining the steps of completing and committing a bill of lading transfer between different blockchains in relation to FIG. 3 .

도 6a를 참조하면, 게이트웨이 서버(100)가 제1 블록체인(1000)과 제2 블록체인(2000) 사이의 선하증권 전송을 포함하는 일련의 과정이 성공적으로 완료된 것으로 판단한 경우의 선하증권 전송의 커밋 단계가 도시된다. 게이트웨이 서버(100)는 제1 블록체인(1000)으로 선하증권 전송의 커밋 명령을 제공하고(S220), 제1 블록체인(1000)은 제1 블록체인(1000) 내 락이 설정되었던 선하증권(도 5의 S203)을 비활성화시킬 수 있다. 선하증권이 제2 블록체인(2000)으로 완전히 전송된 것이 확인되었으므로 제1 블록체인(1000) 내에서 락 설정된 선하증권은 비활성화되는 것이다.Referring to FIG. 6A , when the gateway server 100 determines that a series of processes including the transmission of the bill of lading between the first block chain 1000 and the second block chain 2000 has been successfully completed, The commit phase is shown. The gateway server 100 provides a commit command of sending the bill of lading to the first block chain 1000 (S220), and the first block chain 1000 provides a lock on the bill of lading (Fig. 5) S203) can be deactivated. Since it has been confirmed that the bill of lading has been completely transferred to the second block chain 2000, the bill of lading locked in the first block chain 1000 is deactivated.

또한 게이트웨이 서버(100)는 제2 블록체인(2000)으로 선하증권 전송의 커밋 명령을 제공하고(S221), 제2 블록체인(2000)은 제2 블록체인(2000) 내 락이 설정되었던 선하증권(도 5의 S207)을 활성화시킬 수 있다. 활성화된 선하증권은 제2 블록체인(2000) 내의 블록으로써 기록될 수 있다.In addition, the gateway server 100 provides a commit command of sending the bill of lading to the second block chain 2000 (S221), and the second block chain 2000 provides a lock on the bill of lading ( S207 of FIG. 5) may be activated. The activated bill of lading can be recorded as a block in the second block chain 2000 .

도 6b를 참조하면, 게이트웨이 서버(100)가 제1 블록체인(1000)과 제2 블록체인(2000) 사이의 선하증권 전송을 포함하는 일련의 과정 중 어느 하나가 성공적으로 수행되지 않은 경우의 선하증권 전송의 롤백 과정이 도시된다. 즉 도 6b의 과정은 상술한 타임락을 이용한 블록체인 사이의 데이터 전송이 성공적으로 수행되지 않아 수행되는 경우에 해당한다.Referring to FIG. 6B , when any one of a series of processes including the transfer of the bill of lading between the first block chain 1000 and the second block chain 2000 by the gateway server 100 is not successfully performed The rollback process of the securities transfer is shown. That is, the process of FIG. 6B corresponds to a case in which data transmission between block chains using the above-described time lock is not successfully performed.

게이트웨이 서버(100)는 제1 블록체인(1000)으로 롤백 명령을 제공하고(S301), 제1 블록체인(1000)은 제1 블록체인(1000) 내 락이 설정되었던 선하증권(도 5의 S203)을 이전 상태로 되돌릴 수 있다(S303). 선하증권이 제2 블록체인(2000)으로 전송되지 않은 것이 확인되었으므로 모든 데이터 전송 및 트랜잭션을 취소하고 원래 상태로 돌아가는 것이다.The gateway server 100 provides a rollback command to the first block chain 1000 (S301), and the first block chain 1000 has a locked bill of lading (S203 in FIG. 5) in the first block chain 1000. can be returned to the previous state (S303). Since it is confirmed that the bill of lading has not been transferred to the second block chain 2000, all data transfers and transactions are canceled and returned to the original state.

게이트웨이 서버(100)는 제2 블록체인(2000)으로 롤백 명령을 제공하고(S302), 제2 블록체인(2000)은 제2 블록체인(2000) 내 락이 설정되었던 선하증권(도 5의 S207)을 삭제시킬 수 있다(S304. 선하증권이 제2 블록체인(2000)으로 전송되지 않은 확인되었으므로 모든 데이터 전송 및 트랜잭션을 취소하고 원래 상태로 돌아가는 것이다. 제2 블록체인(2000) 내 블록으로써 기록되지 않았으므로 롤백에 의한 선하증권의 삭제 또한 가능할 수 있다.The gateway server 100 provides a rollback command to the second block chain 2000 (S302), and the second block chain 2000 has a locked bill of lading (S207 in FIG. 5) in the second block chain 2000. (S304. It is confirmed that the bill of lading has not been transferred to the second blockchain 2000, so all data transfers and transactions are canceled and returned to the original state. Not recorded as a block in the second blockchain 2000) Therefore, deletion of the bill of lading by rollback may also be possible.

정리하면, 본 발명의 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템은 제1 블록체인(1000)과 제2 블록체인(2000) 사이에 개별적으로 설정된 해시락을 이용하여 제1 블록체인(1000)과 제2 블록체인(2000) 사이의 데이터 전송의 무결성 및 정합성을 향상시킬 수 있다. 이 과정에서 시스템에 포함된 게이트웨이 서버(100)는 제1 블록체인(1000)의 해시락 설정으로 인해 생성된 제1 시크릿값과 제1 시크릿값의 해시값을 검증하고 이를 제2 블록체인(2000)으로 전달하는 한편, 제2 블록체인(2000)의 해시락 설정으로 인해 생성된 제2 시크릿값과 제2 시크릿값의 해시값을 검증하고 이를 제1 블록체인(1000)으로 전달할 수 있다.In summary, the system for managing the transfer of bills of lading between different block chains according to an embodiment of the present invention uses a hash lock individually set between the first block chain 1000 and the second block chain 2000. The integrity and consistency of data transmission between the first block chain 1000 and the second block chain 2000 can be improved. In this process, the gateway server 100 included in the system verifies the first secret value and the hash value of the first secret value generated due to the hash lock setting of the first block chain 1000, ), the second secret value generated by the hash lock setting of the second block chain 2000 and the hash value of the second secret value can be verified and transmitted to the first block chain 1000 .

또한, 상기 해시락을 통한 시크릿값의 교환과 함께, 게이트웨이 서버(100)는 제1 블록체인(1000)과 제2 블록체인(2000) 사이의 데이터 전송에 있어 미리 정해진 시간 동안에 전송에 대한 응답이 제공되지 않으면 일련의 전송 과정을 중단하고 롤백을 결정하는 타임락을 설정함으로써 데이터 전송의 원자성을 담보할 수 있다.In addition, along with the exchange of the secret value through the hash lock, the gateway server 100 responds to the transmission for a predetermined time in data transmission between the first block chain 1000 and the second block chain 2000 . If not provided, the atomicity of data transmission can be guaranteed by stopping the series of transmission processes and setting a time lock that determines rollback.

도 7은 본 발명의 몇몇 실시예에 따른 서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템에 의한 선하증권 및 선적서류 매입 단계를 설명하기 위한 흐름도이다.7 is a flowchart for explaining the steps of purchasing a bill of lading and shipping documents by a system for managing the transfer of bills of lading between different blockchains according to some embodiments of the present invention.

도 7을 참조하면, 제1 블록체인(1000)을 운용하는 수출은행 측으로부터 제1 블록체인(1000)에 기록된 선하증권과 선적서류를 제2 블록체인(2000)을 운용하는 수입은행 측으로 전송함으로써 제2 블록체인(2000)에 기록되는 일련의 과정이 도시된다.Referring to FIG. 7 , the bill of lading and shipping documents recorded in the first block chain 1000 are transmitted from the export bank operating the first block chain 1000 to the import bank operating the second block chain 2000 . By doing so, a series of processes recorded in the second block chain 2000 is shown.

최초 단계에서, 수출은행이 운용하는 제1 블록체인(1000)과 수입은행이 운용하는 제2 블록체인(2000) 간의 선하증권 전송을 위한 준비 단계가 수행될 수 있다. 이는 제1 블록체인(1000)과 제2 블록체인(2000)이 선하증권 전송을 위해 해시락을 설정하는 과정(S101~S114)에 따라 진행될 수 있다. 수출은행이 수입은행 측으로 선하증권(701)과 선적서류(702)의 매입을 신청하면 제1 블록체인(1000)에 기록된 선하증권(701)과 선적서류(702)의 정보가 수입은행에 전달되어 매입심사가 진행될 수 있다. 심사가 완료되어 선적서류 매입 결정이 이루어진 경우 도 3 내지 도 5를 이용하여 설명된 제1 블록체인(1000)으로부터 제2 블록체인(2000)으로의 선하증권 전송이 수행될 수 있다.In the initial step, a preparation step for the transfer of the bill of lading between the first block chain 1000 operated by the exporting bank and the second block chain 2000 operated by the import bank may be performed. This may be performed according to the process (S101 to S114) in which the first block chain 1000 and the second block chain 2000 set a hash lock for the bill of lading transmission. When the exporting bank applies for the purchase of the bill of lading 701 and the shipping document 702 to the importing bank, the information on the bill of lading 701 and the shipping document 702 recorded in the first block chain 1000 is transmitted to the importing bank. The purchase review may proceed. When the examination is completed and a decision to purchase the shipping documents is made, the transfer of the bill of lading from the first block chain 1000 to the second block chain 2000 described with reference to FIGS. 3 to 5 may be performed.

즉, 게이트웨이 서버(100)에 의하여 제1 블록체인(1000)과 제2 블록체인(2000)에 각각 선하증권 전송 준비 명령이 전달되고(S101), 제1 블록체인(1000)과 제2 블록체인(2000)이 각각 해시락 설정을 통해 시크릿값과 시크릿값의 해시값을 생성하고, 제1 블록체인(1000)으로부터 제2 블록체인(2000)으로 선하증권(701)이 전송될 때 시크릿값이 유효함을 검증하여 제1 블록체인(1000)과 제2 블록체인(2000) 사이의 데이터 전송의 무결성 및 정합성이 검증될 수 있다. 제1 블록체인(1000)에 선하증권(701)과 함께 저장된 선적서류(702) 또한 상술한 실시예에 따른 과정에 의해 전송될 수 있음은 물론이다.That is, a bill of lading transmission preparation command is transmitted to the first block chain 1000 and the second block chain 2000 by the gateway server 100, respectively (S101), and the first block chain 1000 and the second block chain (2000) generates a secret value and a hash value of the secret value through each hash lock setting, and when the bill of lading 701 is transmitted from the first block chain 1000 to the second block chain 2000, the secret value is By verifying the validity, the integrity and consistency of data transmission between the first block chain 1000 and the second block chain 2000 can be verified. Of course, the shipping document 702 stored together with the bill of lading 701 in the first block chain 1000 may also be transmitted by the process according to the above-described embodiment.

제1 블록체인(1000)으로부터 전송된 선하증권(701)에 대한 검증이 완료되면 게이트웨이 서버(100)의 제어에 의해 제1 블록체인(1000)의 블록으로부터 선하증권(701)이 비활성화되고 제2 블록체인(1000)의 블록에 선하증권(701)이 활성화됨으로써 제1 블록체인(1000)으로부터 제2 블록체인(2000)으로의 선하증권의 전송이 완료될 수 있다.When the verification of the bill of lading 701 transmitted from the first block chain 1000 is completed, the bill of lading 701 is deactivated from the block of the first block chain 1000 under the control of the gateway server 100 and the second By activating the bill of lading 701 in the block of the block chain 1000 , the transmission of the bill of lading from the first block chain 1000 to the second block chain 2000 may be completed.

이상 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.Although the embodiments of the present invention have been described above with reference to the accompanying drawings, those of ordinary skill in the art to which the present invention pertains can realize that the present invention can be embodied in other specific forms without changing the technical spirit or essential features. you will be able to understand Therefore, it should be understood that the embodiments described above are illustrative in all respects and not restrictive.

100: 게이트웨이 서버 701: 선하증권
702: 선적서류 1000: 제1 블록체인
2000: 제2 블록체인
100: gateway server 701: bill of lading
702: shipping document 1000: first block chain
2000: 2nd Blockchain

Claims (12)

서로 다른 제1 블록체인과 제2 블록체인 사이의 선하증권 전송을 관리하는 시스템에 있어서,
상기 시스템은,
프로세서; 및
상기 프로세서로부터 실행 가능한 명령어를 저장하는 메모리를 포함하되,
상기 프로세서는 상기 명령어를 실행함으로써,
상기 제1 블록체인과 제2 블록체인이 각각 해시락(Hashlock)을 설정함으로써 상기 선하증권 전송을 준비시키고,
미리 정한 시간으로 타임락(Timelock)을 설정하여 상기 제1 블록체인으로부터 전송된 상기 선하증권에 대한 응답으로 상기 제2 블록체인의 해시락 설정에 의해 생성된 결과를 제공받음으로써 상기 선하증권의 전송을 검증하고,
상기 선하증권의 전송이 검증된 경우 상기 제1 블록체인과 상기 제2 블록체인에 상기 전송의 결과를 커밋하도록 명령하는,
서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템.
A system for managing the transfer of bills of lading between different first and second blockchains, the system comprising:
The system is
processor; and
a memory for storing instructions executable from the processor;
The processor by executing the instruction,
The first block chain and the second block chain prepare for transmission of the bill of lading by setting a hashlock, respectively;
Transmission of the bill of lading by setting a timelock for a predetermined time and receiving the result generated by the hash lock setting of the second block chain in response to the bill of lading transmitted from the first block chain to verify,
instructing the first blockchain and the second blockchain to commit the result of the transmission when the transmission of the bill of lading is verified;
A system that manages the transfer of bills of lading between different blockchains.
제 1항에 있어서,
상기 제1 블록체인은 해시락을 설정하여 제1 시크릿값과 제1 시크릿값의 해시값을 생성하고,
상기 제2 블록체인은 해시락을 설정하여 제2 시크릿값과 제2 시크릿값의 해시값을 생성하고,
상기 프로세서는 상기 선하증권의 전송에 대한 응답으로 상기 제2 블록체인으로부터 제공받은 상기 제2 시크릿값이 미리 정한 제1 시간 내에 전송되었는지 여부를 판단하는,
서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템.
The method of claim 1,
The first block chain sets a hash lock to generate a first secret value and a hash value of the first secret value,
The second block chain sets a hash lock to generate a hash value of a second secret value and a second secret value,
The processor determines whether the second secret value provided from the second block chain in response to the transmission of the bill of lading is transmitted within a first predetermined time,
A system that manages the transfer of bills of lading between different blockchains.
제 2항에 있어서,
상기 프로세서는 상기 제2 시크릿값이 상기 미리 정한 제1 시간 내에 전송되지 않은 경우 상기 선하증권의 전송을 롤백(Rollback)하는,
서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템.
3. The method of claim 2,
The processor rollbacks the transmission of the bill of lading when the second secret value is not transmitted within the first predetermined time period;
A system that manages the transfer of bills of lading between different blockchains.
제 2항에 있어서,
상기 프로세서는 상기 제2 블록체인으로부터 제공받은 제2 시크릿값을 상기 제1 블록체인에 전달하고,
상기 제1 블록체인으로부터 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값을 제공받는,
서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템.
3. The method of claim 2,
The processor transmits the second secret value provided from the second block chain to the first block chain,
receiving the verification result of the hash value of the second secret value and the first secret value from the first block chain,
A system that manages the transfer of bills of lading between different blockchains.
제 4항에 있어서,
상기 프로세서는 상기 제1 블록체인으로부터 미리 정한 제2 시간 내에 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값이 제공되었는지를 판단하는,
서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템.
5. The method of claim 4,
The processor determines whether the verification result of the hash value of the second secret value and the first secret value are provided within a second predetermined time from the first block chain,
A system that manages the transfer of bills of lading between different blockchains.
상기 제 1항에 있어서,
상기 제1 블록체인은 하이퍼레저 패브릭(Hyperledger Fabric) 네트워크를 포함하고, 상기 제2 블록체인은 R3 Corda를 포함하는,
서로 다른 블록체인 사이의 선하증권 전송을 관리하는 시스템.
According to claim 1,
The first blockchain includes a Hyperledger Fabric network, and the second blockchain includes R3 Corda,
A system that manages the transfer of bills of lading between different blockchains.
서로 다른 제1 블록체인과 제2 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법에 있어서,
상기 제1 블록체인과 제2 블록체인이 각각 해시락(Hashlock)을 설정함으로써 상기 선하증권 전송을 준비하는 단계;
미리 정한 시간으로 타임락(Timelock)을 설정하여 상기 제1 블록체인으로부터 전송된 상기 선하증권에 대한 응답으로 상기 제2 블록체인의 해시락 설정에 의해 생성된 결과를 제공받음으로써 상기 선하증권의 전송을 검증하는 단계;
상기 선하증권의 전송이 검증된 경우 상기 제1 블록체인과 상기 제2 블록체인에 상기 전송의 결과를 커밋하는 단계를 포함하는,
서로 다른 제1 블록체인과 제2 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법.
In the operating method of a system for managing the transfer of bills of lading between different first and second block chains,
preparing the bill of lading transmission by the first block chain and the second block chain each setting a hashlock;
Transmission of the bill of lading by setting a timelock for a predetermined time and receiving the result generated by the hash lock setting of the second block chain in response to the bill of lading transmitted from the first block chain verifying;
When the transmission of the bill of lading is verified, committing the result of the transmission to the first blockchain and the second blockchain;
A method of operation of a system that manages the transfer of bills of lading between different first and second blockchains.
제 7항에 있어서,
상기 선하증권 전송을 준비하는 단계는,
상기 제1 블록체인은 해시락을 설정하여 제1 시크릿값과 제1 시크릿값의 해시값을 생성하고, 상기 제2 블록체인은 해시락을 설정하여 제2 시크릿값과 제2 시크릿값의 해시값을 생성하는 단계를 포함하고,
상기 선하증권의 전송을 검증하는 단계는,
상기 선하증권의 전송에 대한 응답으로 상기 제2 블록체인으로부터 제공받은 상기 제2 시크릿값이 미리 정한 제1 시간 내에 전송되었는지 여부를 판단하는 단계를 포함하는,
서로 다른 제1 블록체인과 제2 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법.
8. The method of claim 7,
The step of preparing the bill of lading transmission comprises:
The first block chain sets a hash lock to generate a hash value of a first secret value and a first secret value, and the second block chain sets a hash lock and a hash value of the second secret value and the second secret value comprising the steps of creating
The step of verifying the transmission of the bill of lading comprises:
determining whether the second secret value provided from the second block chain in response to the transmission of the bill of lading has been transmitted within a first predetermined time;
A method of operation of a system that manages the transfer of bills of lading between different first and second blockchains.
제 8항에 있어서,
상기 선하증권의 전송을 검증하는 단계는,
상기 제2 시크릿값이 상기 미리 정한 제1 시간 내에 전송되지 않은 경우 상기 선하증권의 전송을 롤백(Rollback)하는 단계를 더 포함하는,
서로 다른 제1 블록체인과 제2 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법.
9. The method of claim 8,
The step of verifying the transmission of the bill of lading comprises:
Further comprising the step of rolling back the transmission of the bill of lading (Rollback) when the second secret value is not transmitted within the first predetermined time,
A method of operation of a system that manages the transfer of bills of lading between different first and second blockchains.
제8 항에 있어서,
상기 선하증권의 전송을 검증하는 단계는,
상기 제2 블록체인으로부터 제공받은 제2 시크릿값을 상기 제1 블록체인에 전달하고, 상기 제1 블록체인으로부터 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값을 제공받는 단계를 더 포함하는,
서로 다른 제1 블록체인과 제2 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법.
9. The method of claim 8,
The step of verifying the transmission of the bill of lading comprises:
transmitting the second secret value provided from the second block chain to the first block chain, and receiving the verification result of the hash value of the second secret value and the first secret value from the first block chain more containing,
A method of operation of a system that manages the transfer of bills of lading between different first and second blockchains.
제 10항에 있어서,
상기 선하증권의 전송을 검증하는 단계는,
상기 제1 블록체인으로부터 미리 정한 제2 시간 내에 상기 제2 시크릿값의 해시값의 검증 결과와 상기 제1 시크릿값이 제공되었는지를 판단하는 단계를 더 포함하는,
서로 다른 제1 블록체인과 제2 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법.
11. The method of claim 10,
The step of verifying the transmission of the bill of lading comprises:
Further comprising the step of determining whether the verification result of the hash value of the second secret value and the first secret value are provided within a second predetermined time from the first block chain,
A method of operation of a system that manages the transfer of bills of lading between different first and second blockchains.
제2 항에 있어서,
상기 제1 블록체인은 하이퍼레저 패브릭이고 상기 제2 블록체인은 R3 Corda인,
서로 다른 제1 블록체인과 제2 블록체인 사이의 선하증권 전송을 관리하는 시스템의 동작 방법.
3. The method of claim 2,
The first blockchain is Hyperledger Fabric and the second blockchain is R3 Corda;
A method of operation of a system that manages the transfer of bills of lading between different first and second blockchains.
KR1020200163055A 2020-11-27 2020-11-27 Blockchain interoperability system and control method for managing bills of lading between blockchain platforms KR102478844B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200163055A KR102478844B1 (en) 2020-11-27 2020-11-27 Blockchain interoperability system and control method for managing bills of lading between blockchain platforms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200163055A KR102478844B1 (en) 2020-11-27 2020-11-27 Blockchain interoperability system and control method for managing bills of lading between blockchain platforms

Publications (2)

Publication Number Publication Date
KR20220074490A true KR20220074490A (en) 2022-06-03
KR102478844B1 KR102478844B1 (en) 2022-12-20

Family

ID=81982425

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200163055A KR102478844B1 (en) 2020-11-27 2020-11-27 Blockchain interoperability system and control method for managing bills of lading between blockchain platforms

Country Status (1)

Country Link
KR (1) KR102478844B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117932697A (en) * 2024-03-22 2024-04-26 广州一链通互联网科技有限公司 Block chain-based multi-mode intermodal one-system verification system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Inclusive Deployment of Blockchain for Supply Chains: Part 6 - A Framework for Blockchain Interoperability", World Economic Forum white paper(2020.04.09.)* *
Elnaz Irannezhad, "The Architectural Design Requirements of a Blockchain-Based Port Community System", Logistics 2020(2020.11.20.)* *
최준우 외, "라이트닝 네트워크 시리즈(2) Indirect Payment via Multi-Hop HTLC", https://medium.com/decipher-media/라이트닝-네트워크-시리즈-2-a1d275343437#d577(2020.04.21.)* *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117932697A (en) * 2024-03-22 2024-04-26 广州一链通互联网科技有限公司 Block chain-based multi-mode intermodal one-system verification system and method

Also Published As

Publication number Publication date
KR102478844B1 (en) 2022-12-20

Similar Documents

Publication Publication Date Title
Sunyaev et al. Distributed ledger technology
CN111183445B (en) Method and apparatus for digital asset auto-promise settlement
US11588803B2 (en) Systems, methods, and apparatuses for implementing super community and community sidechains with consent management for distributed ledger technologies in a cloud based computing environment
Belchior et al. A survey on blockchain interoperability: Past, present, and future trends
Zakhary et al. Atomic commitment across blockchains
US11461769B2 (en) Multi-tiered digital wallet security
Saraf et al. Blockchain platforms: A compendium
US20190236562A1 (en) Systems, methods, and apparatuses for implementing document interface and collaboration using quipchain in a cloud based computing environment
US20190238316A1 (en) Systems, methods, and apparatuses for implementing intelligent consensus, smart consensus, and weighted consensus models for distributed ledger technologies in a cloud based computing environment
Zakhary et al. Towards global asset management in blockchain systems
CN111383114A (en) Asset information management method and device based on block chain
CN112507393B (en) Method for guaranteeing consistency of block chain cross-chain transaction
CN112950220A (en) Enterprise digital identity management system and method based on block chain
Sarode et al. Blockchain for committing peer-to-peer transactions using distributed ledger technologies
CN111402033A (en) Asset information management method and device based on block chain
CN111340628A (en) Asset information management method and device based on block chain
US20210233070A1 (en) Notary system for a distributed ledger
Pop et al. Blockchain based decentralized applications: Technology review and development guidelines
GB2578168A (en) Computer-implemented method and system for digital signing of transactions
Hegnauer Design and development of a blockchain interoperability api
KR102478844B1 (en) Blockchain interoperability system and control method for managing bills of lading between blockchain platforms
US20230229795A1 (en) Evidence management method, evidence management system, and node
Van der Laan „Understanding Blockchain “
Bellaj et al. Drawing the boundaries between blockchain and blockchain-like systems: A comprehensive survey on distributed ledger technologies
Lisi et al. Automated responsible disclosure of security vulnerabilities

Legal Events

Date Code Title Description
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant