Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7550402B2 - Escrow processing method, system, and program using virtual currency - Google Patents
[go: Go Back, main page]

JP7550402B2 - Escrow processing method, system, and program using virtual currency - Google Patents

Escrow processing method, system, and program using virtual currency Download PDF

Info

Publication number
JP7550402B2
JP7550402B2 JP2020111999A JP2020111999A JP7550402B2 JP 7550402 B2 JP7550402 B2 JP 7550402B2 JP 2020111999 A JP2020111999 A JP 2020111999A JP 2020111999 A JP2020111999 A JP 2020111999A JP 7550402 B2 JP7550402 B2 JP 7550402B2
Authority
JP
Japan
Prior art keywords
transaction
buyer
escrow
seller
administrator
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2020111999A
Other languages
Japanese (ja)
Other versions
JP2022011103A (en
Inventor
彰紀 足立
ブライアント テジャ
健太 大森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP2020111999A priority Critical patent/JP7550402B2/en
Publication of JP2022011103A publication Critical patent/JP2022011103A/en
Application granted granted Critical
Publication of JP7550402B2 publication Critical patent/JP7550402B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は仮想通貨を用いたエスクロー処理方法、システムおよびプログラムに関し、より具体的には、仮想通貨を用いてトランザクションを処理し、高度なセキュリティを有する所定のエスクローサービスを提供するための、仮想通貨を用いたエスクロー処理方法、システムおよびプログラムに関する。 The present invention relates to an escrow processing method, system, and program using virtual currency, and more specifically, to an escrow processing method, system, and program using virtual currency for processing transactions using virtual currency and providing a specified escrow service with high security.

近年、貿易ビジネスの決済システムにおいても取引の安全を図るため売手、買手および管理者の間で預託金を管理するエスクローサービスの導入が提案されており、仮想通貨の取り込みも要望されている。一方、仮想通貨を使用したエスクローサービスの提供においては、決済に関するトランザクション処理が必要となるが、セキュリティ向上を目的にトランザクションの署名に複数の秘密鍵を必要とするマルチシグネチャーの技術が提案されている。マルチシグネチャー技術においては、必要な署名の数は「n/m」のように分数で表され、事前に生成されたm個の秘密鍵のうち、n個の鍵での署名を行うことを示す。例えば、2/3のマルチシグネチャーを用いたビットコインのトランザクション処理の場合、トランザクションの生成、発行等には2つの秘密鍵が必要になるので、3つの秘密鍵のうち1つが漏洩しても、もう一つの秘密鍵がなければビットコインの処理が出来ないことから高セキュリティのウォレットを構築することができる。また、攻撃者が2つ以上の別々の設計のプラットフォームに同時に侵入することは非常に困難でもある。 In recent years, in trade business settlement systems, the introduction of an escrow service that manages deposits between sellers, buyers, and administrators has been proposed to ensure the security of transactions, and the incorporation of virtual currencies has also been requested. On the other hand, in providing an escrow service using virtual currencies, transaction processing related to settlement is necessary, and a multi-signature technology that requires multiple private keys to sign a transaction has been proposed for the purpose of improving security. In multi-signature technology, the number of signatures required is expressed as a fraction, such as "n/m," and indicates that a signature is made with n keys out of m private keys generated in advance. For example, in the case of Bitcoin transaction processing using 2/3 multi-signature, two private keys are required to generate and issue a transaction, so even if one of the three private keys is leaked, Bitcoin cannot be processed without the other private key, so a highly secure wallet can be constructed. In addition, it is very difficult for an attacker to simultaneously invade two or more platforms with different designs.

このようなマルチシグネチャー技術としては、例えばマルチシグトランザクションの信頼性を向上可能な新たな署名システムを提供することを目的とし、事業者システム50が秘密鍵542によって署名して発行したトランザクション80に対して、秘密鍵542に対応する秘密鍵342によって署名し、利用者端末40からのトランザクション参照依頼をトリガーとして、秘密鍵342による署名が必要なマルチシグトランザクション80Mを収集し、利用者端末40から、収集したマルチシグトランザクション80Mの署名承認を受信すると、署名承認されたマルチシグトランザクション80Mに対して秘密鍵342によって署名する技術が提案されている(特許文献1を参照)。
特開2019-161302号公報
One such multi-signature technology has been proposed, for example, with the aim of providing a new signature system that can improve the reliability of multi-sig transactions. A transaction 80 signed and issued by an operator system 50 with a private key 542 is signed with a private key 342 corresponding to the private key 542, and a transaction reference request from a user terminal 40 is used as a trigger to collect multi-sig transactions 80M that require a signature with the private key 342. Upon receiving signature approval for the collected multi-sig transaction 80M from the user terminal 40, the signature-approved multi-sig transaction 80M is signed with the private key 342 (see Patent Document 1).
JP 2019-161302 A

しかし、一般的な仮想通貨を用いたエスクローサービスの提供において、単に高セキュリティのためには、マルチシグネチャーを用いる従来技術は有効であるが、特に貿易向けエスクローシステムでは、従来のマルチシグネチャー技術を取り入れるだけでは様々なシステムの要請に対応しきれないという問題がある。 However, while conventional technology using multi-signatures is effective simply for the sake of high security when providing escrow services using general virtual currencies, there is a problem with trade-oriented escrow systems in that simply adopting conventional multi-signature technology is not enough to meet the various system requirements.

本発明は上記従来の問題に鑑みてなされたものであり、貿易向けビジネスに最適な仮想通貨によるエスクローサービスを提供することが可能な仮想通貨を用いたエスクロー処理方法、システムおよびプログラムを提供することを目的とする。 The present invention has been made in consideration of the above-mentioned problems, and aims to provide an escrow processing method, system, and program using virtual currency that can provide an escrow service using virtual currency that is optimal for trade businesses.

請求項1に記載の発明は、Peer-to-Peerネットワーク上で処理される分散処理プラットフォームによる仮想通貨を用いたエスクロー処理方法であって、分散処理プラットフォームにより、エスクローコントラクトに決済を実行させるための、買手から売手に送金する送金額に対応する仮想通貨を振替える支払トランザクションを生成し、買手用および売手用に生成された買手秘密鍵および売手秘密鍵並びに管理者用に生成された、3以上の整数nについてn-1個の管理者秘密鍵のうちのn-2個を用いて署名するトランザクション生成ステップと、分散処理プラットフォームにより、買手から支払の指示を受信すると、署名された支払トランザクションをエスクローコントラクトに送信して、送信された支払トランザクションを実行させるトランザクション実行ステップとを備え、予め送金された仮想通貨のうち、所定の管理者手数料を管理者口座に決済する手数料徴収ステップをさらに備えることを特徴とする。 The invention described in claim 1 is an escrow processing method using virtual currency by a distributed processing platform processed on a peer-to-peer network , comprising: a transaction generation step in which the distributed processing platform generates a payment transaction for transferring virtual currency corresponding to the amount to be remitted from the buyer to the seller in order to have an escrow contract execute settlement, and signs the transaction using a buyer private key and a seller private key generated for the buyer and the seller, and n-2 of n-1 administrator private keys, where n is an integer equal to or greater than 3, generated for an administrator; and a transaction execution step in which, upon receiving a payment instruction from the buyer, the distributed processing platform sends the signed payment transaction to the escrow contract to execute the sent payment transaction , and further comprises a fee collection step in which a predetermined administrator fee is settled to the administrator account from the virtual currency that has been previously remitted .

請求項2に記載の発明は、請求項1に記載の方法において、送金額に対応する仮想通貨を、送金を実行するエスクローコントラクトのアドレスに買手から予め送金するデポジットステップをさらに備えることを特徴とする。 The invention described in claim 2 is characterized in that the method described in claim 1 further includes a deposit step in which the buyer transfers in advance virtual currency corresponding to the transfer amount to the address of the escrow contract that executes the transfer.

請求項3に記載の発明は、請求項1または2に記載の方法において、所定の管理者手数料は、送金額に応じて定められることを特徴とする。 The invention as set forth in claim 3 is characterized in that in the method as set forth in claim 1 or 2 , the predetermined administrator fee is determined according to the remittance amount.

請求項4に記載の発明は、請求項1ないしのいずれかに記載の方法において、支払トランザクションは、エスクローコントラクトのアドレスから売手へ送金額を振替えるトランザクションであることを特徴とする。 The invention described in claim 4 is characterized in that in the method described in any one of claims 1 to 3 , the payment transaction is a transaction for transferring a remittance amount from an address of an escrow contract to a seller.

請求項5に記載の発明は、請求項1ないしのいずれかに記載の方法において、エスクローコントラクトを生成して、分散処理プラットフォームにデプロイするコントラクト生成ステップをさらに備えることを特徴とする。 The invention described in claim 5 is characterized in that the method described in any one of claims 1 to 4 further comprises a contract generation step of generating an escrow contract and deploying it on a distributed processing platform.

請求項6に記載の発明は、請求項に記載の方法において、分散処理プラットフォームは、Ethereumであることを特徴とする。 The invention as set forth in claim 6 is characterized in that in the method as set forth in claim 5 , the distributed processing platform is Ethereum.

請求項7に記載の発明は、請求項1ないし6のいずれかに記載の方法において、エスクローコントラクトは、支払トランザクションを受信すると、ブロードキャストして実行することを特徴とする。 The invention described in claim 7 is characterized in that, in the method described in any one of claims 1 to 6, the escrow contract broadcasts and executes the payment transaction upon receiving the payment transaction.

請求項8に記載の発明は、請求項1ないし7のいずれかに記載の方法において、トランザクション生成ステップは、買手から送信された保存されないパスフレーズに基づいて買手秘密鍵を暗号化し、および売手から送信された保存されないパスフレーズに基づいて売手秘密を暗号化して保存することを特徴とする。 The invention described in claim 8 is characterized in that, in the method described in any one of claims 1 to 7, the transaction generation step encrypts a buyer private key based on a pass phrase that is not stored sent from the buyer, and encrypts and stores a seller private key based on a pass phrase that is not stored sent from the seller.

請求項9に記載の発明は、コンピュータに仮想通貨を用いたエスクロー処理方法を実行させるプログラムであって、エスクロー処理方法は、エスクローコントラクトに送金を実行させるための、買手から売手に送金する送金額に対応する仮想通貨を振替える支払トランザクションを生成し、買手用および手用に生成された買手秘密鍵および売手秘密鍵を用いて分散処理プラットフォームにより買手および売手に署名させ、並びに管理者用に生成された、3以上の整数nについてn-1個の管理者秘密鍵のうちのn-2個の管理者秘密鍵を用いて署名するトランザクション生成ステップと、買手から支払の指示を受信すると、署名された支払トランザクションをエスクローコントラクトに送信して、送信された支払トランザクションを実行させるトランザクション実行ステップとを備え、予め送金された仮想通貨のうち、所定の管理者手数料を管理者口座に決済する手数料徴収ステップをさらに備えることを特徴とする。 The invention described in claim 9 is a program for causing a computer to execute an escrow processing method using virtual currency, the escrow processing method comprising: a transaction generation step of generating a payment transaction for transferring virtual currency corresponding to the amount to be remitted from the buyer to the seller, in order to execute a remittance to an escrow contract, having the buyer and seller sign the transaction using a buyer private key and a seller private key generated for the buyer and seller by a distributed processing platform, and signing the transaction using n-2 of n-1 administrator private keys, where n is an integer greater than or equal to 3, generated for the administrator; and a transaction execution step of sending the signed payment transaction to the escrow contract upon receiving a payment instruction from the buyer , and executing the sent payment transaction, and further comprising a fee collection step of settling a predetermined administrator fee into the administrator account from the virtual currency that has been remitted in advance .

請求項10に記載の発明は、仮想通貨を用いてエスクロー処理を行うシステムであって、エスクローコントラクトに送金を実行させるための、買手から売手に送金する送金額に対応する仮想通貨を振替える支払トランザクションを生成し、買手用および売手用に生成された買手秘密鍵および売手秘密鍵並びに管理者用に生成された、3以上の整数nについてn-1個の管理者秘密鍵のうちのn-2個を用いて署名するトランザクション生成手段と、買手から支払の指示を受信すると、署名された支払トランザクションをエスクローコントラクトに送信して、送信された支払トランザクションを実行させるトランザクション実行手段とを備え、予め送金された仮想通貨のうち、所定の管理者手数料を管理者口座に決済する手数料徴収ステップをさらに備えることを特徴とする。 The invention described in claim 10 is a system for performing escrow processing using virtual currency, comprising a transaction generation means for generating a payment transaction to transfer virtual currency corresponding to the amount to be remitted from the buyer to the seller in order to have an escrow contract execute the remittance, and signing it using a buyer private key and a seller private key generated for the buyer and the seller, and n-2 of n-1 administrator private keys, where n is an integer greater than or equal to 3, generated for the administrator, and a transaction execution means for, upon receiving a payment instruction from the buyer , sending the signed payment transaction to the escrow contract and executing the sent payment transaction, and further comprising a fee collection step for settling a predetermined administrator fee to the administrator account from the virtual currency that has been remitted in advance .

本発明によると、Peer-to-Peerネットワーク上で処理される分散処理プラットフォームによる仮想通貨を用いたエスクロー処理方法であって、分散処理プラットフォームにより、エスクローコントラクトに決済を実行させるための、買手から売手に送金する送金額に対応する仮想通貨を振替える支払トランザクションを生成し、買手用および売手用に生成された買手秘密鍵および売手秘密鍵並びに管理者用に生成された、3以上の整数nについてn-1個の管理者秘密鍵のうちのn-2個を用いて署名するトランザクション生成ステップと、分散処理プラットフォームにより、買手から支払の指示を受信すると、署名された支払トランザクションをエスクローコントラクトに送信して、送信された支払トランザクションを実行させるトランザクション実行ステップとを備え、予め送金された仮想通貨のうち、所定の管理者手数料を管理者口座に決済する手数料徴収ステップをさらに備えるので、貿易向けビジネスに最適な仮想通貨によるエスクローサービスを提供することが可能になる。 According to the present invention, there is provided an escrow processing method using virtual currency by a distributed processing platform processed on a peer-to-peer network , comprising a transaction generation step of generating , by the distributed processing platform, a payment transaction for transferring virtual currency corresponding to the amount to be remitted from the buyer to the seller, in order to have an escrow contract execute settlement, and signing the transaction using a buyer private key and a seller private key generated for the buyer and the seller, and n-2 of n-1 administrator private keys, where n is an integer equal to or greater than 3, generated for an administrator, and a transaction execution step of, upon receiving a payment instruction from the buyer , sending the signed payment transaction to the escrow contract to execute the sent payment transaction , and further comprising a fee collection step of settling a predetermined administrator fee from the virtual currency previously remitted to the administrator account , thereby making it possible to provide an escrow service using virtual currency that is optimal for trade-oriented businesses.

本発明の一実施形態の全体のシステム構成図である。1 is a diagram showing an overall system configuration of an embodiment of the present invention; 本発明の一実施形態のエスクローコアの機能ブロック図である。FIG. 2 is a functional block diagram of an escrow core of one embodiment of the present invention. 本発明の一実施形態で使用するトランザクションの一例を示す図である。FIG. 2 illustrates an example of a transaction used in one embodiment of the present invention. 本発明の一実施形態の貿易関連取引の全体のフローを説明するための図である。FIG. 1 is a diagram for explaining the overall flow of a trade-related transaction according to one embodiment of the present invention. 本発明の一実施形態で使用するトランザクションの一例を示す図である。FIG. 2 illustrates an example of a transaction used in one embodiment of the present invention. 本発明の一実施形態で使用するトランザクションの一例を示す図である。FIG. 2 illustrates an example of a transaction used in one embodiment of the present invention. 本発明の一実施形態の高セキュアな暗号化を説明するための図である。FIG. 2 is a diagram for explaining highly secure encryption according to an embodiment of the present invention. 本発明の一実施形態のトランザクション生成処理を示すフローチャートである。1 is a flowchart illustrating a transaction generation process according to an embodiment of the present invention. 本発明の一実施形態のトランザクション実行処理を示すフローチャートである。1 is a flowchart illustrating a transaction execution process according to an embodiment of the present invention. 本発明の一実施形態のブロックチェーンの一例を示す図である。FIG. 1 is a diagram illustrating an example of a blockchain according to an embodiment of the present invention. 本発明の一実施形態の分散処理ネットワークを説明するための図である。1 is a diagram for explaining a distributed processing network according to an embodiment of the present invention;

以下、本発明の仮想通貨を用いたエスクロー処理方法、システムおよびプログラムについて、図面を参照して実施形態を説明する。なお、異なる図面でも、同一の処理、構成を示すときは同一の符号を用いる。 Below, an embodiment of the escrow processing method, system, and program using virtual currency of the present invention will be described with reference to the drawings. Note that the same reference numerals will be used to indicate the same processes and configurations even in different drawings.

本実施形態は、貿易関連ビジネスを行った当事者がその対価などの支払を仮想通貨で行うものであり、あくまで取引が成立した状態以降の金銭のやり取り部分の処理であるが、これに限られることなく、取引の当初からの処理を含めたシステムとすることもできる。例えば、海外の商品をネット経由で購入したり、逆に海外の輸入業者に商品を輸出して送金を受け取ったりする場合などに適用することができるが、これに限られず様々な取引における送金のシーンに適用することができる。すなわち、一般に貿易関連ビジネスにおいては、先ずマーケットプレイスにて自社製品やサービスを簡単にリスティングするといった顧客開拓プロセスから始まり、具体的な買手と売手とのビジネスの交渉や契約の締結、その結果必要な資金調達や配送書類等のやり取りおよび追跡システムに関連する配送手配などが行われ、最終的に決済処理を行うが、このような決済処理以外の各種処理に関連した処理も本実施形態の処理に含めることができる。この場合、貿易関連のポータルサイトにおいて、送金に必要な情報の取得をした後、本実施形態のエスクローシステムに情報が渡されて処理を進めることもできるし、別途設けられた本実施形態のエスクローシステムに接続され、以降決済に必要な情報を入力したり、買手や売手との情報のやり取りをしたりすることもできる。 In this embodiment, the parties who have conducted trade-related business make payments such as compensation in virtual currency, and this is only a process of monetary transactions after a transaction has been concluded, but it is not limited to this, and can also be a system that includes processing from the beginning of a transaction. For example, it can be applied to cases such as purchasing overseas products via the Internet, or conversely, exporting products to an overseas importer and receiving remittances, but it is not limited to this and can be applied to various transaction remittance scenes. That is, in general, trade-related businesses start with a customer development process, such as a simple listing of one's own products or services on a marketplace, followed by specific business negotiations and contract conclusions between buyers and sellers, and as a result, necessary fundraising, exchange of delivery documents, and delivery arrangements related to a tracking system, and finally settlement processing, but processing related to various processes other than such settlement processing can also be included in the processing of this embodiment. In this case, after acquiring information necessary for remittance at a trade-related portal site, the information can be passed to the escrow system of this embodiment to proceed with the processing, or it can be connected to a separately provided escrow system of this embodiment, where information necessary for settlement can be entered thereafter and information can be exchanged with buyers and sellers.

より具体的に、全体の流れを説明すると、図4は、本発明の一実施形態の貿易関連取引の全体のフローを説明するための図である。図4に示すように売手が製品をリスティンすると(ステップ401)、買手がマーケットプレイスを通じて製品を閲覧し、マッチングが開始される。その後、売手が買手へコンタクトし、交渉がスタートする(ステップ402)。スタートした交渉完了後、売買契約が締結され、その後システム上で売手から発注依頼が行われる(ステップ403)。発注を受けた後、マルチシグエスクローを生成するために、売手が自身のウォレットの秘密鍵を用いてトランザクションに署名する(ステップ404)。売手が自身のウォレットの秘密鍵を用いてさらに署名する(ステップ405)。(エスクローエージェントの保有する2つの鍵のうち1つは自動署名され)マルチシグエスクローが生成される(ステップ406)。買手が貿易代金をエスクローへ、暗号通貨でデポジットを行う。デポジットが行われたのを確認し、売手が製品を出荷する(ステップ407)。 To explain the overall flow more specifically, FIG. 4 is a diagram for explaining the overall flow of a trade-related transaction according to one embodiment of the present invention. As shown in FIG. 4, when a seller lists a product (step 401), a buyer browses the product through the marketplace, and matching begins. After that, the seller contacts the buyer and negotiations begin (step 402). After the negotiation is completed, a sales contract is concluded, and then the seller requests an order on the system (step 403). After receiving the order, the seller signs the transaction using the private key of his/her wallet to generate a multi-sig escrow (step 404). The seller further signs using the private key of his/her wallet (step 405). (One of the two keys held by the escrow agent is automatically signed) and a multi-sig escrow is generated (step 406). The buyer deposits the trade amount into the escrow in cryptocurrency. After confirming that the deposit has been made, the seller ships the product (step 407).

製品納品後、売手がマルチシグエスクローより出金を依頼する(ステップ408)。売手と買手が許可した時点で、エスクローより資金が売手の指定ウォレットへ払いだされる(ステップ409)。このタイミングで、エージェントの保有する鍵のうち自動署名する方の鍵のウォレットへ、例えば決済額の0.7%の手数料がエスクローエージェントに払い出される(ステップ4010)。本説明では、成功報酬として0.7%の手数料を徴収するが、これに限られず、適切な比率の成功報酬とすることができる。すなわち、一般に手数料F=基本手数料B+比率R×取引総額Tとなり、比率Rを数量に依存して変化、例えば最低保証額までは0とし、徐々に大きな値とする等、システムや商慣習に合わせて対応することができるが、これに限らず本技術分野で知られたいずれの成功報酬型手数料の算出方法を採用することもできる。 After the product is delivered, the seller requests a withdrawal from the multi-sig escrow (step 408). Once the seller and the buyer give their permission, the funds are paid from the escrow to the wallet specified by the seller (step 409). At this time, a fee of, for example, 0.7% of the settlement amount is paid to the escrow agent to the wallet of the key that automatically signs among the keys held by the agent (step 4010). In this explanation, a fee of 0.7% is collected as a success fee, but this is not limited to this, and a success fee of an appropriate ratio can be used. That is, generally, the fee F = basic fee B + ratio R x total transaction amount T, and the ratio R can be changed depending on the quantity, for example, set to 0 up to the minimum guaranteed amount and gradually increased, etc., according to the system and business practices, but it is not limited to this and any method of calculating a success fee known in the technical field can be adopted.

また、本実施形態では仮想通貨としてDIGITRADまたはEtherを用い、また本実施形態のソフトウェアはEthereumプラットフォーム上でデプロイされ実行されるが、これに限られず、種々の仮想通貨、種々の分散型プラットフォームを使用することができる。この場合、本実施形態の各種処理を行うソフトウェアは、図11に示すような分散ネットワークに接続された、パソコン、サーバなどのコンピュータであるEthereumノード(図11に示すノード1101など)上で分散処理されるが、本発明の原理は、このような形態にかかわらず一部の処理を特定のサーバが実行したり、特定のデータベースを利用したりすることにより、トランザクションをブロードキャストして送金を行うシステムに適用して、本技術分野で知られたいずれかの方法でシステムを構成し、エスクローサービスを実現するものである。 In this embodiment, DIGITRAD or Ether is used as the virtual currency, and the software of this embodiment is deployed and executed on the Ethereum platform, but this is not limited to this, and various virtual currencies and various distributed platforms can be used. In this case, the software that performs various processes in this embodiment is distributed and processed on Ethereum nodes (such as node 1101 shown in FIG. 11), which are computers such as personal computers and servers connected to a distributed network as shown in FIG. 11. However, regardless of such a form, the principles of the present invention are applied to a system that broadcasts transactions and transfers money by having a specific server execute some of the processes or by using a specific database, and the system is configured by any method known in this technical field to realize an escrow service.

(システム構成)
本発明の一実施形態で用いるエスクローシステムの動作及び処理を以下に説明する。図1は、本発明の一実施形態の全体のシステム構成図である。本システムでは、エスクロー処理の主な機能を実行し、輸入業者などの買手、輸出業者などの売手とのインタフェースを処理したり、システム全体を制御したりするためのエスクローコア101、およびエスクローコア101とのやり取りを行ってエスクローに関連する各種処理を実行するEthereumプラットフォーム102上で動作する各種ソフトウェア、コントラクト121、122、123を備えており、ネットワーク103を介して接続されている。なお、図1では論理的にEthereumプラットフォーム102を記載しているが、実際には図11に示す複数のノード1101によるPeer-to-Peerネットワーク上で処理が行われる。
(System Configuration)
The operation and processing of the escrow system used in one embodiment of the present invention will be described below. FIG. 1 is a diagram showing the overall system configuration of one embodiment of the present invention. This system includes an escrow core 101 for executing the main functions of escrow processing, processing interfaces with buyers such as importers and sellers such as exporters, and controlling the entire system, and various software and contracts 121, 122, and 123 that operate on an Ethereum platform 102 that communicates with the escrow core 101 and executes various processes related to escrow, and are connected via a network 103. Note that while FIG. 1 illustrates the Ethereum platform 102 logically, in reality, processing is performed on a peer-to-peer network of multiple nodes 1101 shown in FIG. 11.

また、図示しないポータルサイトなどに接続して、貿易関連ビジネスのマーケティングや交渉処理などを行う買手端末111および売手端末112は、基本的に無線、有線を問わずネットワーク103に接続されており、例えばデスクトップパソコンとすることができ、本実施形態でネットワーク103との接続としては、通常の接続のほか、携帯電話の回線や、Wi-fi、BLUETOOTH(登録商標)等の無線ネットワークにより行うこともできる。ここで端末111、112はデスクトップパソコンのほか、タブレット端末、スマートフォン、あるいはモバイルパソコン等とすることができるが、基本的に送受信を実行でき、画像を表示、およびタッチパネル、マウスまたはキーボードで一定の入力操作をすることができれば、汎用、専用端末などいずれの装置を用いることができる。また、本実施形態では、以上の各機能に加え、商品等の荷を配送する運送業者や、運送業者による配送状況を管理する図示しない配送管理システムなどもネットワーク103を介して接続され、決済の実行を決定する処理など、エスクローシステムを運用するうえで必要な情報を入手することもできる。 The buyer terminal 111 and seller terminal 112, which connect to a portal site (not shown) and perform marketing and negotiation processing for trade-related businesses, are basically connected to the network 103, whether wireless or wired, and can be, for example, a desktop computer. In this embodiment, the connection to the network 103 can be made not only by normal connection, but also by a mobile phone line, Wi-fi, BLUETOOTH (registered trademark), or other wireless network. Here, the terminals 111 and 112 can be desktop computers, tablet terminals, smartphones, mobile computers, etc., but any device, such as a general-purpose or dedicated terminal, can be used as long as it can basically perform transmission and reception, display images, and perform certain input operations using a touch panel, mouse, or keyboard. In this embodiment, in addition to the above functions, a carrier that delivers goods and the like, and a delivery management system (not shown) that manages the delivery status of the carrier are also connected via the network 103, and information necessary for operating the escrow system, such as a process for determining the execution of settlement, can be obtained.

図2は、本発明の一実施形態のエスクローコアの機能ブロック図である。エスクローコアは主に、エスクロー処理の主たる機能を実行し、システム全体を制御するエスクローコアシステム201および買手、売手とのインタフェース等外部のシステム向けサービスを処理するエスクローウェブサービス202を備える。ここで、エスクローコアシステム201は、エスクロー処理の主な機能、具体的には買手や売手など本実施形態のエスクローシステムを使用する利用者のアドレスを生成・管理するアドレス生成機能、取引ごとにエスクローコントラクトを生成するマルチシグコントラクト生成機能、所定の条件で仮想通貨であるDIGITRADまたはEtherによる送金又は返金などを指示するDIGITRAD/Etherの振替機能、およびドキュメントハッシュの格納機能を実行するが、これに加え運送業者や配送情報管理機関から配送完了通知を受信等する配送情報チェック機能なども有することができる。 Figure 2 is a functional block diagram of an escrow core according to one embodiment of the present invention. The escrow core mainly comprises an escrow core system 201 that executes the main functions of the escrow process and controls the entire system, and an escrow web service 202 that processes services for external systems, such as interfaces with buyers and sellers. Here, the escrow core system 201 executes the main functions of the escrow process, specifically, an address generation function that generates and manages addresses of users who use the escrow system of this embodiment, such as buyers and sellers, a multi-sig contract generation function that generates an escrow contract for each transaction, a DIGITRAD/Ether transfer function that instructs remittance or refund using virtual currencies DIGITRAD or Ether under specified conditions, and a document hash storage function, but in addition to this, it can also have a delivery information check function that receives delivery completion notifications from carriers and delivery information management organizations.

また、エスクローウェブサービス202は、買手、売手とのインタフェース関連の主な処理、具体的には買手、売手など取引の関係者のユーザアカウントの入出力や管理機能、商品購入サイトなどからリンクして本実施形態の取引の生成および参加機能、商品輸入業者などの支払者からデポジットに関するDIGITRAD/Etherの預託情報処理機能、取引書類の格納機能、商品配送時の配送識別情報を受けとり管理等する配送情報の入力/修正機能などを実行する。エスクローコアは、さらにハードウェアセキュリティモジュール(HSM)およびEthereumノード接続機能等、その他のシステム構成に応じた種々の機能を有することができる。なお、本システムでは、買手および売手はエスクローサービスを提供するエスクローコア上で様々な処理を行う。このようにエスクローサービスの提供を行うソフトウェアあるいはシステムはエスクローエージェント等と呼ばれることがあるが、本実施形態では、システムの一部または全体のサービスを提供する主体を、このようなエスクローエージェントも含め管理者と呼ぶ。 The escrow web service 202 also performs the main processes related to the interface with the buyer and seller, specifically, input/output and management functions for user accounts of parties involved in the transaction such as the buyer and seller, a function for generating and participating in the transaction of this embodiment by linking with a product purchase site, a function for processing DIGITRAD/Ether deposit information related to deposits from payers such as product importers, a function for storing transaction documents, and a function for inputting/modifying delivery information for receiving and managing delivery identification information at the time of product delivery. The escrow core can further have various functions according to other system configurations, such as a hardware security module (HSM) and an Ethereum node connection function. In this system, the buyer and seller perform various processes on the escrow core that provides the escrow service. The software or system that provides the escrow service in this way is sometimes called an escrow agent, but in this embodiment, the entity that provides part or all of the system's services, including such an escrow agent, is called the administrator.

図3は、本発明の一実施形態で使用するトランザクションの一例を示す図である。一般にブロックチェーンを用いる仮想通貨では、その所有の移転(振替)をトランザクションというデータに書き込んで所定の手続きを経ることにより送金が実行される。本実施形態でも振替える額と相手先とをトランザクションに書き込むことにより、エスクロー処理が開始される。本実施形態では、例えばビットコイン等でも用いられている図3に示すようなトランザクションを用いてエスクロー処理をすることができる。すなわち、送金額等のトランザクションの内容302及び、売手の情報303、買手の情報304をトランザクション301に書き込み、買手の署名を行う。具体的に署名は、例えばトランザクションのハッシュ値を買手の秘密鍵で暗号化したものを書き込む等することで実装することができる。 Figure 3 is a diagram showing an example of a transaction used in one embodiment of the present invention. In general, in virtual currencies that use blockchain, the transfer of ownership (transfer) is written into data called a transaction and a specified procedure is followed to execute the remittance. In this embodiment, the escrow process is also started by writing the amount to be transferred and the recipient into the transaction. In this embodiment, the escrow process can be performed using a transaction such as that shown in Figure 3, which is also used in Bitcoin, for example. That is, the transaction details 302, such as the remittance amount, seller information 303, and buyer information 304 are written into transaction 301, and the buyer signs it. Specifically, the signature can be implemented by, for example, writing the hash value of the transaction encrypted with the buyer's private key.

本実施形態では、後述するように、エスクローコアシステム201がトランザクションを生成する際に使用する買手の秘密鍵等は、トランザクションを生成した後その後の使用のため暗号化してディスクに格納するが、エスクローコアシステム201が秘密鍵を用いて不適切な処理をできないようにするため、秘密鍵を容易に解読できないような構成としているが、これに限られず本技術分野で知られたいずれの構成とすることもできる。 In this embodiment, as described below, the buyer's private key and other information used by the escrow core system 201 when generating a transaction is encrypted and stored on disk for subsequent use after the transaction is generated. However, to prevent the escrow core system 201 from performing inappropriate processing using the private key, the private key is configured to be difficult to decrypt, but this is not limited to this and any configuration known in the art may be used.

本実施形態では、秘密鍵をその後の処理にも使用するため、あえてパスフレーズで暗号化して保存することにより不適切処理を回避しているが、秘密鍵を保存自体しないようにすることもできる。本実施形態では、このようにエスクローコアシステム201がトランザクション生成の際だけ秘密鍵を使用できるが、その後はユーザからの提供がない限り秘密鍵を使用できないようにすることにより、システム側の裁量だけでトランザクションを生成させないようにすることによって、安全なトランザクションの生成を達成することもできる。 In this embodiment, since the private key is also used for subsequent processing, it is encrypted and stored with a passphrase to avoid inappropriate processing, but it is also possible to avoid storing the private key altogether. In this embodiment, the escrow core system 201 can use the private key only when generating a transaction, but thereafter the private key cannot be used unless provided by the user, thereby preventing transactions from being generated solely at the system's discretion, thereby achieving secure transaction generation.

Ethereumプラットフォーム102には、取引ごとに生成されるエスクローコントラクトがデプロイされる。エスクローコントラクトは、本実施形態の決済に関する取引ごとに生成され、送信されたデポジットを保持し、またエスクローコアシステム201からの指示でエスクロー処理を行う。本実施形態のエスクローコントラクトは、後述するマルチシグネチャー(あるいは、マルチシグ)を実装することができ、本実施形態の売手と買手の双方のパスフレーズにより生成される秘密鍵および管理者の秘密鍵がなければ処理ができないようにすることができるので、これにより第三者がシステムに侵入しても不正な送金を行うことはできない構成とすることができる。本実施形態では、マルチシグは、買手、売手および管理者の秘密鍵を使用するが、これに限らず本技術分野で知られた複数の鍵を使用したいずれかの暗号化手法を用いることができる。本実施形態ではこのようにコントラクトをEthereumプラットフォーム102にデプロイして、独立して実行させることにより、エスクローコアシステム201は一度コントラクトを生成すると、生成済みのトランザクションの処理を実行させるだけで、その処理に介入することができないので、システムの安全性をより向上させることができる。 An escrow contract generated for each transaction is deployed on the Ethereum platform 102. The escrow contract is generated for each transaction related to the settlement of this embodiment, holds the transmitted deposit, and performs escrow processing upon instructions from the escrow core system 201. The escrow contract of this embodiment can implement a multi-signature (or multi-sig) described later, and can be configured so that processing cannot be performed without the private keys generated by the passphrases of both the seller and the buyer of this embodiment and the private key of the administrator, so that even if a third party breaks into the system, it cannot perform unauthorized remittances. In this embodiment, the multi-sig uses the private keys of the buyer, seller, and administrator, but is not limited to this, and any encryption method using multiple keys known in the technical field can be used. In this embodiment, the contract is deployed on the Ethereum platform 102 in this way and executed independently, so that once the escrow core system 201 generates a contract, it can only execute the processing of the generated transaction and cannot intervene in the processing, thereby further improving the security of the system.

図10は、本発明の一実施形態のブロックチェーンの一例を示す図である。ブロックチェーン122は、取引書類1001および貿易関連情報など1002を含んでおり、本実施形態の各ソフトウェアで使用される。取引書類1001には、トランザクションの実行があると、新たなブロックが書き込まれ、ブロックチェーンを形成する。また、貿易関連情報など1002は、新規に口座開設する際に金融機関側から要求される、顧客本人の身元確認における書類手続き情報、その他の情報も含め格納することができる。 Figure 10 is a diagram showing an example of a blockchain in one embodiment of the present invention. The blockchain 122 includes transaction documents 1001 and trade-related information, etc. 1002, and is used by each piece of software in this embodiment. When a transaction is executed, a new block is written into the transaction documents 1001, forming a blockchain. In addition, the trade-related information, etc. 1002 can also store information on paperwork procedures for verifying the identity of the customer, which is requested by the financial institution when opening a new account, and other information.

(本実施形態の暗号化処理)
図7は、本発明の一実施形態の暗号化を説明するための図である。本実施形態のエスクローコア101では、HSM(ハードウェアセキュリティモジュール)によって、全ての秘密鍵、およびトランザクションが保護される。使用するHSMは以下の仕様を全て満たしており、仮にハッキングなどによるデータ流出が起きた場合でも、HSMなしでは流出したデータは復元不能で使用できない。
・暗号鍵を安全な耐タンパー性のハードウェアに保管し、鍵の流出を防止
・米国連邦標準規格FIPS140-2レベル2/3準拠
・暗号鍵のエクスポートが不可能であり、利用者が鍵値を知ることができない
図7に示すように、本実施形態では、ディスク701上に保存する際は、秘密鍵702もトランザクション703も暗号化して保存しており、秘密鍵およびトランザクションを利用時にHSM721を使用してオンデマンドで解読し、メモリ711上では解読済みの平文の秘密鍵712および平文のトランザクション713として各処理を行い、例えばEthereumノードへのブロードキャストを行ったりするが、平文のデータはディスクには保存せずに使用することにより、セキュアなエスクローサービスを実現することができる。ここで、本実施形態のエスクローコアシステム201は、上述の通り、ユーザが承認してトランザクションを生成する際だけ秘密鍵が使用できる。その後エスクローコアシステム201の裁量で秘密鍵を使用できないように、HSMに格納された暗号化鍵に加え、ユーザから都度取得して保存しないパスフレーズを使用して暗号化するようにしているが、これに限られず本技術分野で知られたいずれかの方法で同様の処理をして、エスクローコアシステム201の裁量で不適切にトランザクションを生成することを防止するようにすることができる。
(Encryption process of this embodiment)
7 is a diagram for explaining encryption according to an embodiment of the present invention. In the escrow core 101 of this embodiment, all private keys and transactions are protected by an HSM (Hardware Security Module). The HSM used meets all of the following specifications, and even if data leakage occurs due to hacking or the like, the leaked data cannot be restored and cannot be used without the HSM.
・Encryption keys are stored in secure tamper-resistant hardware to prevent leakage of keys ・Complies with US Federal Standard FIPS140-2 Level 2/3 ・Encryption keys cannot be exported, and users cannot know the key value As shown in FIG. 7, in this embodiment, when stored on a disk 701, both private keys 702 and transactions 703 are encrypted and stored, and when the private keys and transactions are used, they are decrypted on demand using an HSM 721, and each process is performed as a decrypted plaintext private key 712 and plaintext transaction 713 on a memory 711, and for example, broadcast to an Ethereum node, but the plaintext data is used without being stored on the disk, thereby realizing a secure escrow service. Here, in the escrow core system 201 of this embodiment, as described above, the private key can be used only when a user approves and generates a transaction. Thereafter, to prevent the private key from being used at the discretion of the escrow core system 201, the encryption is performed using a passphrase that is obtained from the user each time and not stored, in addition to the encryption key stored in the HSM; however, this is not limited to this, and a similar process can be performed using any method known in the art to prevent inappropriate generation of transactions at the discretion of the escrow core system 201.

このように本実施形態では、高度なセキュリティを確保するため、例えばHSMを用いることもできるが、本願発明はこのような機能を有さなくても単独で実施することができ、その効果も十分に発揮することができることはもちろんである。 In this embodiment, for example, an HSM can be used to ensure high security, but the present invention can be implemented alone without such functionality and still be effective.

(本実施形態のマルチシグネチャー対応)
本実施形態では、事前に4つの秘密鍵を用意しておき、トランザクションに4つの秘密鍵のうち3つの秘密鍵を用いて署名する、いわゆるマルチシグネチャーによる暗号化を採用している。具体的には、図3、5および6に示すように買手の秘密鍵A305により署名されたトランザクション301を売手の秘密鍵B502により署名してトランザクション501とし、さらに管理者の秘密鍵C602により署名してトランザクション601とする。本実施形態の署名においては、トランザクションの処理には上記3つの秘密鍵に加え、事前に用意した管理者の秘密鍵Dを含む4つの秘密鍵のうち、3つの秘密鍵が必要になる。これにより本実施形態ではトランザクションを処理する際に管理者の秘密鍵が必要となるため、買手と売手の2つの秘密鍵のみではトランザクションの処理を実行することができない。このような構成をとることにより、本実施形態では、後述するように管理者がエスクロー処理の報酬として適切な手数料を受けることができる。
(Multi-signature support in this embodiment)
In this embodiment, so-called multi-signature encryption is adopted, in which four private keys are prepared in advance and a transaction is signed using three of the four private keys. Specifically, as shown in FIGS. 3, 5 and 6, a transaction 301 signed with a buyer's private key A 305 is signed with a seller's private key B 502 to become a transaction 501, and further signed with an administrator's private key C 602 to become a transaction 601. In the signature of this embodiment, in addition to the above three private keys, three private keys out of four private keys including the administrator's private key D prepared in advance are required for transaction processing. As a result, in this embodiment, the administrator's private key is required to process a transaction, and therefore the transaction cannot be processed with only the two private keys of the buyer and the seller. With this configuration, in this embodiment, the administrator can receive an appropriate fee as a remuneration for escrow processing, as described later.

すなわち、従来エスクローシステムを提供する管理者はエスクロー処理の報酬として一定額が認められているに過ぎなかったが、一般に対象となる決済額が高額になった場合、決済額に適合した報酬を受け取る成功報酬型の手数料が望ましい。しかし従来、売手と買手の秘密鍵の2つのみでトランザクションの処理が可能であると、管理者は成功報酬型の手数料を徴収する前に処理が実行される可能性があり、送金額が確定する前など手続きの初期に限定された定額の手数料しか徴収することができない恐れがあった。本実施形態では、事前に用意した管理者の秘密鍵Dを含む4つの秘密鍵のうち、3つの秘密鍵を必要とすることにより、成功報酬型の手数料を受け取れるようにすることができるが、従来のマルチシグネチャー技術では上述したようにセキュリティ強化のみを目的としているので、本実施形態とは異なり、このような目的を達成することはできない。 In other words, in the past, administrators who provided escrow systems were only allowed to receive a fixed amount as remuneration for escrow processing, but in general, when the settlement amount becomes large, a contingency fee type commission that receives a remuneration appropriate to the settlement amount is desirable. However, in the past, if a transaction could be processed with only two private keys, the seller's and the buyer's, the administrator may have been able to collect the contingency fee, and there was a risk that the administrator would only be able to collect a fixed fee limited to the early stage of the procedure, such as before the remittance amount was finalized. In this embodiment, by requiring three private keys out of four private keys, including the administrator's private key D prepared in advance, it is possible to receive a contingency fee type commission, but since the conventional multi-signature technology only aims to strengthen security as described above, it is not possible to achieve such an objective, unlike this embodiment.

以上、本実施形態では、4つの秘密鍵のうち、3つの秘密鍵を使用するマルチシグネチャーを用いているが、本願発明の原理は買手および売手の秘密鍵に加え管理者が秘密鍵を有することにより達成することができることから、これに限られることなく、3以上の整数nについて秘密鍵のうちn-1個の管理者秘密鍵を用いるマルチシグネチャーに適用することができる。すなわち、n/mのマルチシグであって、管理者用秘密鍵がn-1個とすることにより、本願発明の成功報酬型手数料を得ることができるという効果を奏することができる。この場合、トランザクションへの署名は売手、買手の各々の秘密鍵および管理者のn-1個のうちのn-2個の秘密鍵の合わせてn個の秘密鍵で署名することとなる。なお、通常、m=n+1であるがこれに限らない、
図8は、本発明の一実施形態のトランザクション生成処理を示すフローチャートである。本システムで種々の処理を行う前提として取引当事者、すなわち買手および売手に対しエスクローウェブサービス202が情報入力画面などを提供し、必要な情報を入力させてアカウントを生成する(ステップ801)。一般的には、貿易取引の契約が完了していれば売手が、買手および取引の情報を有しているので、売手が情報を入力するとアカウントが生成されて、当事者双方に送信されるが、例えば貿易関連ポータルサイトから各情報を自動的に送信することもできるし、買手である輸入業者が情報を入力することもできる。同様に、取引情報が当事者の一方若しくは双方からまたは自動的に入力されると(ステップ802)、エスクローコアシステム201は買手および売手の、それぞれの秘密鍵AおよびBを生成する(ステップ803)。加えて、管理者用の秘密鍵CおよびDが本技術分野で知られたいずれかの方法で生成され、保存される(ステップ804)。
As described above, in this embodiment, a multi-signature is used that uses three of the four private keys, but since the principle of the present invention can be achieved by the administrator having a private key in addition to the private keys of the buyer and seller, the present invention is not limited to this and can be applied to a multi-signature that uses n-1 administrator private keys among the private keys for an integer n of 3 or more. In other words, by using an n/m multi-signature and having n-1 private keys for the administrator, it is possible to achieve the effect of earning a performance-based fee according to the present invention. In this case, the transaction is signed with a total of n private keys, including the private keys of the seller and buyer and n-2 of the n-1 private keys of the administrator. Note that, although m is usually m=n+1, this is not limited thereto.
8 is a flowchart showing a transaction generation process according to an embodiment of the present invention. As a prerequisite for carrying out various processes in this system, the escrow web service 202 provides the transaction parties, i.e., the buyer and seller, with an information input screen and the like, and generates an account by having them input the necessary information (step 801). Generally, if a trade transaction contract has been completed, the seller has the buyer and transaction information, so when the seller inputs the information, an account is generated and sent to both parties, but for example, each piece of information can be automatically sent from a trade-related portal site, or the buyer, an importer, can input the information. Similarly, when the transaction information is input by one or both parties or automatically (step 802), the escrow core system 201 generates private keys A and B for the buyer and seller, respectively (step 803). In addition, private keys C and D for the administrator are generated and stored by any method known in the art (step 804).

さらに、エスクローコアシステム201は、入手した取引情報に基づき、取引の額の支払トランザクションを生成する(ステップ805)が、後述するように支払額に相当する仮想通貨はエスクローコントラクト402に預託されるので、支払トランザクションは代金額に相当する預託されている仮想通貨をエスクローコントラクト402から売手112に振替えるトランザクションである。 Furthermore, the escrow core system 201 generates a payment transaction for the amount of the transaction based on the obtained transaction information (step 805). As described below, the virtual currency equivalent to the payment amount is deposited in the escrow contract 402, so the payment transaction is a transaction for transferring the deposited virtual currency equivalent to the purchase amount from the escrow contract 402 to the seller 112.

その後、生成されたトランザクションに買手の買手秘密鍵A、売手の売手秘密鍵Bおよび管理者の秘密鍵Cで署名を行う(ステップ806)。本実施形態では、買手および売手の双方の秘密鍵に加えて管理者の秘密鍵を使用することにより、買手と売手のみでトランザクションの処理を実行することができないので、管理者は成功報酬型の手数料を取得することができる。このようにして暗号化された署名済みトランザクションを所定の暗号化鍵で暗号化して保存する(ステップ807)が、具体的にはパスフレーズαおよびβなどを用いて暗号化して保存する。 Then, the generated transaction is signed with the buyer's buyer private key A, the seller's seller private key B, and the administrator's private key C (step 806). In this embodiment, by using the administrator's private key in addition to the private keys of both the buyer and seller, the transaction cannot be processed by the buyer and seller alone, and the administrator can obtain a commission based on success. The signed transaction encrypted in this way is encrypted and stored with a specified encryption key (step 807); specifically, it is encrypted and stored using passphrases α and β, etc.

以上、パスフレーズαおよびβなどにより暗号化を行うが、具体的な暗号化の方法は本技術分野で知られたいずれかの方法を用いることができ、またその後の処理で秘密鍵AまたはBなどを用いる必要がなければ保存せずに、エスクローコアシステム201が新たなトランザクションを生成することができないようにすることもできる。また、その後秘密鍵を使用する場合も、秘密鍵自体はシステムでランダムに発生させているときは、予めユーザに提示して、その後ユーザが自ら入力することができるようにすることもできる。 As described above, encryption is performed using passphrases α and β, but the specific encryption method can be any method known in the art, and if there is no need to use private keys A or B in subsequent processing, they can be omitted and the escrow core system 201 can be made unable to generate new transactions. Also, even if a private key is to be used later, if the private key itself is generated randomly by the system, it can be presented to the user in advance and the user can then enter it themselves.

(本実施形態のトランザクション実行処理)
以上、本実施形態ではエスクロー処理の最初の段階で、先ず支払トランザクションを生成しておき、その後、所定の条件がそろった状況、すなわち、売手における取引の一定の段階まで完了、例えば商品の購入取引であれば、商品が輸入業者である買手に着荷するなどして、送金が実行されても問題がないことが確認された状況でトランザクションが実行され、売手に送金される。これにより、取引を安全に行うエスクロー処理が達成される。
(Transaction Execution Processing of the Present Embodiment)
As described above, in this embodiment, a payment transaction is generated at the first stage of the escrow process, and then when certain conditions are met, that is, when a certain stage of the transaction at the seller is completed (for example, in the case of a product purchase transaction, the product arrives at the buyer (importer) and it is confirmed that there is no problem in executing the remittance, the transaction is executed and the money is remitted to the seller. In this way, an escrow process that safely executes the transaction is achieved.

図9は、本実施形態のトランザクション実行処理を示すフローチャートである。上述の様に、トランザクションが生成され取引の一定の完了を待っている状態から本処理は開始される。まず、エスクローコントラクト401を生成し、Ethereumプラットフォーム102にデプロイする(ステップ901)。なお、本ステップは、次の預託の確認の前に置かれているがこれに限られず、預託確認後などとすることもできる。 Figure 9 is a flowchart showing the transaction execution process of this embodiment. As described above, this process begins when a transaction has been generated and a certain completion of the transaction is awaited. First, an escrow contract 401 is generated and deployed to the Ethereum platform 102 (step 901). Note that this step is placed before the next deposit confirmation, but is not limited to this, and can also be placed after the deposit confirmation, etc.

次に、預託済みか否かを確認し(ステップ903)、まだ預託されていないときは、買手に預託を督促する(ステップ904)。預託が確認されれば売手にその旨連絡し(ステップ905)、取引の履行、例えば商品の出荷等を促す。ここで、預託の完了は、必ずしも取引の履行開始の要件ではないが、売手の判断の一要素として、その他の情報も斟酌して判定することができる。ただし一般には、預託が確認されれば取引の履行の準備に入らないと、その後の支払などの処理が遅延するので、遅滞なく売手に通知することが好ましい。また、本実施形態で預託あるいはデポジットは、具体的にはエスクローコントラクト402のアドレスに買手111から送金することにより行う。これにより、支払額の仮想通貨をエスクローコントラクト402が保持することとなるから、支払時にはエスクローコントラクト402から売手112へ振替えるトランザクションを実行すればいい。 Next, it is confirmed whether the deposit has been made (step 903), and if it has not been made, the buyer is urged to make the deposit (step 904). If the deposit has been made, the seller is notified of this (step 905) and the seller is prompted to perform the transaction, for example, to ship the product. The completion of the deposit is not necessarily a requirement for the start of the transaction, but it can be determined as one element of the seller's judgment, taking other information into consideration. However, in general, if the deposit is confirmed, preparations for the transaction will be required to be made, otherwise subsequent processing such as payment will be delayed, so it is preferable to notify the seller without delay. In this embodiment, the deposit is made by sending money from the buyer 111 to the address of the escrow contract 402. As a result, the escrow contract 402 holds the virtual currency of the payment amount, so at the time of payment, a transaction can be executed to transfer the amount from the escrow contract 402 to the seller 112.

返金時には預託の額の仮想通貨をエスクローコントラクト402に保持させず、同額の仮想通貨を別途保持しておく等本技術分野で知られた方法で預託することもできる。この場合、取引が履行されなかったとき返金は、本技術分野で知られた何らかの方法で実施することができる。また、返金トランザクションを予め生成しておき、エスクローコントラクト402から買手111へ振替えるトランザクションを実行するようにすることもできる。 When making a refund, the amount of virtual currency deposited may not be held in the escrow contract 402, but may be deposited by a method known in the art, such as by holding the same amount of virtual currency separately. In this case, if the transaction is not fulfilled, a refund may be made by any method known in the art. It is also possible to generate a refund transaction in advance and execute a transaction to transfer the amount from the escrow contract 402 to the buyer 111.

売手が取引を一定以上履行し買手がこれを確認した結果、送金しても問題ないと判断すると、買手はエスクローコア101にその旨指示するので、これを確認し(ステップ906)、取引の履行がなされなかった場合は、取引は不成立として契約を解除する(ステップ908)。この際は、本技術分野で知られたいずれかの方法によりデポジットされた仮想通貨を買手に返金する処理を行う。 When the seller has performed the transaction to a certain extent and the buyer has confirmed this and determined that there is no problem with transferring the money, the buyer instructs the escrow core 101 to that effect, which is confirmed (step 906). If the transaction has not been performed, the transaction is deemed unsuccessful and the contract is terminated (step 908). In this case, the process of refunding the deposited virtual currency to the buyer is carried out using any method known in this technical field.

一方、送金の指示があった場合は、支払トランザクションをコントラクトに送信して、実行させるとともに、取引金額に即した手数料を徴収する(ステップ907)。支払トランザクションの実行は、エスクローコントラクト402がEthereumノードにブロードキャストすることにより実行される。手数料の額は本技術分野で知られたいずれの方法で算出することもできるが、例えば所定の取引額まで一定の手数料とし、それを超えると取引額に応じた追加手数料を加算するようにすることもできるが、これに限られない。また、手数料の徴収は本技術分野で知られたいずれの手法も用いることができるが、例えば送金時に送金額から、送金額に応じた手数料を別途管理者に送金するようにして徴収することができる。 On the other hand, if a remittance instruction is given, a payment transaction is sent to the contract for execution, and a fee according to the transaction amount is collected (step 907). The payment transaction is executed by the escrow contract 402 broadcasting it to the Ethereum node. The amount of the fee can be calculated by any method known in the technical field, but for example, a fixed fee can be set up to a certain transaction amount, and an additional fee according to the transaction amount can be added if the transaction amount exceeds that amount, but this is not limited to this. In addition, the fee can be collected by any method known in the technical field, but for example, a fee according to the remittance amount can be collected by separately transferring it to the administrator from the remittance amount at the time of remittance.

ここで一般的には書類不備も、異議申立てもなく、期限内に取引が完了した場合はすぐエスクロー処理を実行させることもできるが、当事者間に何らかの不測の事態が発生する可能性もあるため、買手からの指示などから24時間経過した後エスクローコアシステム201はエスクローコントラクト402に支払トランザクションを実行させる(S1306)。本実施形態では、24時間待機してからトランザクションの実行を行うが、待機期間はこれに限られず、取引内容や、使用環境等により任意に設定することができる。 Generally, if there are no incomplete documents or objections and the transaction is completed within the deadline, the escrow process can be executed immediately, but since there is a possibility that some unforeseen situation may occur between the parties, the escrow core system 201 causes the escrow contract 402 to execute the payment transaction 24 hours after an instruction from the buyer, etc. (S1306). In this embodiment, the transaction is executed after waiting for 24 hours, but the waiting period is not limited to this and can be set arbitrarily depending on the transaction content, usage environment, etc.

(トラッキング処理)
本実施形態で荷物等の配送処理が伴う場合、基本的に買手による代金分の仮想通貨の預託を条件に、売手は配送処理を行い、運送業者による配送完了を条件に預託された仮想通貨を売手に送金することもできる。運送業者への配送の依頼方法や、具体的な手続きについては本技術分野で知られたいずれの方法でも実行することができるが、一般に配送を依頼すると、ユニークな配送識別情報が付与されるため、本実施形態でもエスクローコアシステム201は、売手からあるいは自ら配送識別情報を入手し、これに基づいて処理を進めることができる。売手が、運送業者に配送を依頼すると、配送識別情報が設定されるので、これをエスクローウェブサービス202に通知するか、運送業者から連絡させる等によりエスクローコアが対応する取引と関連付けて配送識別情報を取得できるようにする。すなわち、配送処理がなされ配送識別情報が設定された場合は、配送が完了すると通知を受信するように着荷確認を設定する。現在、国内外の運送業者の多くが自社あるいは関連情報処理企業等の外部機関・企業で、取り扱う荷物の配送管理、追跡システムを有しており、出荷、着荷だけでなく途中の営業所の通過などの情報もリアルタイムで入手できるようになっている。近年では、このような運送会社個別の追跡システムだけではなく、複数の運送会社の情報を収集して提供する企業も登場し、特に海外も含め配送を行う場合は、このような企業の提供する情報を使用することもできる。
(Tracking process)
In this embodiment, when the delivery process of the luggage or the like is involved, the seller basically performs the delivery process on the condition that the buyer deposits virtual currency equivalent to the purchase price, and the seller can also remit the deposited virtual currency to the seller on the condition that the delivery is completed by the carrier. The method of requesting delivery to the carrier and the specific procedure can be performed by any method known in the art, but since a unique delivery identification information is generally given when a delivery is requested, in this embodiment, the escrow core system 201 can obtain the delivery identification information from the seller or by itself and proceed with the process based on this. When the seller requests delivery from the carrier, the delivery identification information is set, and the escrow core can associate this with the corresponding transaction and obtain the delivery identification information by notifying the escrow web service 202 or having the carrier contact the seller. In other words, when the delivery process is performed and the delivery identification information is set, the arrival confirmation is set so that a notification is received when the delivery is completed. Currently, many domestic and foreign carriers have delivery management and tracking systems for the luggage they handle, either in-house or at external institutions and companies such as related information processing companies, and can obtain information on not only shipment and arrival but also passage through business offices on the way in real time. In recent years, in addition to these tracking systems for individual shipping companies, companies have appeared that collect and provide information on multiple shipping companies, and when shipping overseas in particular, the information provided by such companies can be used.

本実施形態では、例えばAfterShipといったサービスにより、海外も含む主要な運送業者の追跡が可能とすることができるが、これに限られず様々な企業が提供する同種のサービスを利用することもできる。着荷の確認は、使用する追跡サービスにもよるが、本実施形態では上述の様に、配送識別情報を設定しておいて配送が完了すると(買手が商品を受け取ると)、その旨通知を受けるように予め設定しているので、追跡サービスから指定の荷物が着荷したとの通知を待ってその後の処理を行えばよい。ここで、配送識別情報は、運送業者に配送を依頼した際に設定される問合せ番号とすることができるが、これに限られず配送する荷物を特定できるものであれば商品番号等、いずれかの識別力ある情報とすることもできる。以上、本実施形態のシステムにトラッキング処理を取り入れることにより、より有効なシステムの構築が可能である。 In this embodiment, for example, a service such as AfterShip can be used to track major shipping companies, including overseas companies, but this is not limited to this, and similar services provided by various companies can also be used. Confirmation of arrival of goods depends on the tracking service used, but in this embodiment, as described above, delivery identification information is set and a notification is received when delivery is completed (when the buyer receives the product), so that subsequent processing can be performed after waiting for a notification from the tracking service that the specified package has arrived. Here, the delivery identification information can be an inquiry number set when a delivery request is made to the shipping company, but is not limited to this and can be any identifiable information such as a product number as long as it can identify the package to be delivered. As described above, by incorporating tracking processing into the system of this embodiment, a more effective system can be constructed.

Claims (10)

Peer-to-Peerネットワーク上で処理される分散処理プラットフォームによる仮想通貨を用いたエスクロー処理方法であって、
前記分散処理プラットフォームにより、エスクローコントラクトに決済を実行させるための、買手から売手に送金する送金額に対応する仮想通貨を振替える支払トランザクションを生成し、前記買手用および前記売手用に生成された買手秘密鍵および売手秘密鍵並びに管理者用に生成された、3以上の整数nについてn-1個の管理者秘密鍵のうちのn-2個を用いて署名するトランザクション生成ステップと、
前記分散処理プラットフォームにより、前記買手から支払の指示を受信すると、前記署名された支払トランザクションを前記エスクローコントラクトに送信して、当該送信された支払トランザクションを実行させるトランザクション実行ステップと
を備え、
前記予め送金された仮想通貨のうち、所定の管理者手数料を管理者口座に決済する手数料徴収ステップをさらに備えることを特徴とする方法。
An escrow processing method using virtual currency by a distributed processing platform processed on a peer-to-peer network,
A transaction generation step of generating, by the distributed processing platform, a payment transaction for transferring virtual currency corresponding to the remittance amount to be remitted from the buyer to the seller in order to execute settlement in an escrow contract, and signing the transaction using a buyer private key and a seller private key generated for the buyer and the seller, and n-2 of n-1 administrator private keys, where n is an integer equal to or greater than 3, generated for an administrator;
and a transaction execution step of, upon receiving a payment instruction from the buyer, transmitting the signed payment transaction to the escrow contract by the distributed processing platform to execute the transmitted payment transaction;
The method further comprises a fee collection step of settling a predetermined administrator fee from the previously transferred virtual currency into an administrator account.
前記送金額に対応する仮想通貨を、送金を実行するエスクローコントラクトのアドレスに該買手から予め送金するデポジットステップをさらに備えることを特徴とする請求項1に記載の方法。 The method according to claim 1, further comprising a deposit step in which the buyer transfers in advance virtual currency corresponding to the transfer amount to the address of an escrow contract that executes the transfer. 前記所定の管理者手数料は、前記送金額に応じて定められることを特徴とする請求項1または2に記載の方法。 The method according to claim 1 or 2, characterized in that the predetermined administrator fee is determined according to the remittance amount. 前記支払トランザクションは、前記エスクローコントラクトのアドレスから前記売手へ前記送金額を振替えるトランザクションであることを特徴とする請求項1ないし3のいずれかに記載の方法。 A method according to any one of claims 1 to 3, characterized in that the payment transaction is a transaction for transferring the remittance amount from the address of the escrow contract to the seller. 前記エスクローコントラクトを生成して、分散処理プラットフォームにデプロイするコントラクト生成ステップをさらに備えることを特徴とする請求項1ないし4のいずれかに記載の方法。 A method according to any one of claims 1 to 4, further comprising a contract generation step of generating the escrow contract and deploying it on a distributed processing platform. 前記分散処理プラットフォームは、Ethereumであることを特徴とする請求項5に記載の方法。 The method of claim 5, wherein the distributed processing platform is Ethereum. 前記エスクローコントラクトは、前記支払トランザクションを受信すると、ブロードキャストして実行することを特徴とする請求項1ないし6のいずれかに記載の方法。 7. The method of claim 1, wherein the escrow contract broadcasts and executes upon receiving the payment transaction. 前記トランザクション生成ステップは、前記買手から送信された保存されないパスフレーズに基づいて前記買手秘密鍵を暗号化し、および前記売手から送信された保存されないパスフレーズに基づいて前記売手秘密を暗号化して保存することを特徴とする請求項1ないし7のいずれかに記載の方法。 A method according to any one of claims 1 to 7, characterized in that the transaction generation step encrypts the buyer private key based on a passphrase sent by the buyer that is not stored, and encrypts and stores the seller private key based on a passphrase sent by the seller that is not stored. コンピュータに仮想通貨を用いたエスクロー処理方法を実行させるプログラムであって、該エスクロー処理方法は、
エスクローコントラクトに送金を実行させるための、買手から売手に送金する送金額に対応する仮想通貨を振替える支払トランザクションを生成し、前記買手用および前記売手用に生成された買手秘密鍵および売手秘密鍵を用いて分散処理プラットフォームにより前記買手および前記売手に署名させ、並びに管理者用に生成された、3以上の整数nについてn-1個の管理者秘密鍵のうちのn-2個の管理者秘密鍵を用いて署名するトランザクション生成ステップと、
前記買手から支払の指示を受信すると、前記署名された支払トランザクションを前記エスクローコントラクトに送信して、当該送信された支払トランザクションを実行させるトランザクション実行ステップと
を備え、
前記予め送金された仮想通貨のうち、所定の管理者手数料を管理者口座に決済する手数料徴収ステップをさらに備えることを特徴とするプログラム。
A program for causing a computer to execute an escrow processing method using virtual currency, the escrow processing method comprising:
A transaction generation step of generating a payment transaction for transferring virtual currency corresponding to a remittance amount to be remitted from a buyer to a seller in order to execute remittance to an escrow contract, having the buyer and the seller sign the transaction using a buyer private key and a seller private key generated for the buyer and the seller by a distributed processing platform, and signing the transaction using n-2 administrator private keys out of n-1 administrator private keys, where n is an integer equal to or greater than 3, generated for the administrator;
and a transaction execution step of, upon receiving a payment instruction from the buyer, transmitting the signed payment transaction to the escrow contract to execute the transmitted payment transaction;
The program further comprises a fee collection step of settling a predetermined administrator fee from the virtual currency transferred in advance into an administrator account.
仮想通貨を用いてエスクロー処理を行うシステムであって、
エスクローコントラクトに送金を実行させるための、買手から売手に送金する送金額に対応する仮想通貨を振替える支払トランザクションを生成し、前記買手用および前記売手用に生成された買手秘密鍵および売手秘密鍵並びに管理者用に生成された、3以上の整数nについてn-1個の管理者秘密鍵のうちのn-2個を用いて署名するトランザクション生成手段と、
前記買手から支払の指示を受信すると、前記署名された支払トランザクションを前記エスクローコントラクトに送信して、当該送信された支払トランザクションを実行させるトランザクション実行手段と
を備える、
前記予め送金された仮想通貨のうち、所定の管理者手数料を管理者口座に決済する手数料徴収手段をさらに備えことを特徴とするシステム。
A system for performing escrow processing using virtual currency,
A transaction generating means for generating a payment transaction for transferring virtual currency corresponding to a remittance amount to be remitted from a buyer to a seller in order to execute remittance to an escrow contract, and signing the transaction using a buyer private key and a seller private key generated for the buyer and the seller, and n-2 of n-1 administrator private keys, where n is an integer equal to or greater than 3, generated for an administrator;
and a transaction execution means for, upon receiving a payment instruction from the buyer, transmitting the signed payment transaction to the escrow contract to execute the transmitted payment transaction.
The system further comprises a fee collection means for settling a specified administrator fee from the virtual currency transferred in advance into an administrator account.
JP2020111999A 2020-06-29 2020-06-29 Escrow processing method, system, and program using virtual currency Active JP7550402B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020111999A JP7550402B2 (en) 2020-06-29 2020-06-29 Escrow processing method, system, and program using virtual currency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020111999A JP7550402B2 (en) 2020-06-29 2020-06-29 Escrow processing method, system, and program using virtual currency

Publications (2)

Publication Number Publication Date
JP2022011103A JP2022011103A (en) 2022-01-17
JP7550402B2 true JP7550402B2 (en) 2024-09-13

Family

ID=80147967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020111999A Active JP7550402B2 (en) 2020-06-29 2020-06-29 Escrow processing method, system, and program using virtual currency

Country Status (1)

Country Link
JP (1) JP7550402B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7624783B1 (en) 2024-04-25 2025-01-31 株式会社ガイアホールディングス Mediation system, computer-implemented method, and computer program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011108629A1 (en) 2010-03-05 2011-09-09 株式会社ジェイティービー Remittance device, computer program for purpose of remittance, and remittance method
WO2020040070A1 (en) 2018-08-24 2020-02-27 株式会社Standage Transaction processing method, system, and program
WO2020079534A1 (en) 2018-10-17 2020-04-23 nChain Holdings Limited Computer-implemented system and method including public key combination verification
JP2020077347A (en) 2018-11-09 2020-05-21 国立大学法人東北大学 Information processing system, data providing method, and manufacturing method of information processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011108629A1 (en) 2010-03-05 2011-09-09 株式会社ジェイティービー Remittance device, computer program for purpose of remittance, and remittance method
WO2020040070A1 (en) 2018-08-24 2020-02-27 株式会社Standage Transaction processing method, system, and program
WO2020079534A1 (en) 2018-10-17 2020-04-23 nChain Holdings Limited Computer-implemented system and method including public key combination verification
JP2020077347A (en) 2018-11-09 2020-05-21 国立大学法人東北大学 Information processing system, data providing method, and manufacturing method of information processing system

Also Published As

Publication number Publication date
JP2022011103A (en) 2022-01-17

Similar Documents

Publication Publication Date Title
JP2021520011A (en) Exchange of digital assets
US11775967B2 (en) Transaction delegation method, transaction delegation system, and computer readable medium
CN102918554A (en) Settlement and remittance-processing method of virtual money, settlement and remittance-processing system, and settlement and remittance-processing program
US20240281802A1 (en) Digital Currency-Based Payment Method, Platform and System, and Terminal
CA3058558C (en) Cross-funds management server-based payment system, and method, device and server therefor
CA2986838A1 (en) Payment system based on shared funds-management server, and method, device and server therefor
JP7550402B2 (en) Escrow processing method, system, and program using virtual currency
JP7195016B2 (en) Transaction processing method, system and program
CA2988807A1 (en) Management across funds server-based payment system, and method, device and server
CA2987295C (en) Payment system based on shared funds-management server, and method, device and server therefor
WO2024192092A1 (en) Web3 transfer protocol
US20240311811A1 (en) Web3 transfer protocol
CA2987695A1 (en) Payment system based on shared funds-management server, and method, device and server therefor
CA2987802A1 (en) Cross-funds server-based payment system, and payment method, device and server therefor
CA3055644C (en) Payment system based on shared funds-management server, and method, device and server therefor
KR20190121263A (en) Security system and method for online trade information
CN106203972A (en) Payment system based on same fund server and method, device and server
JP7628289B2 (en) Transaction delegation method and transaction delegation system
CN114140251B (en) Electronic ticket pledge method and system based on proxy re-encryption
WO2020027269A1 (en) Money transfer method, system, and program
KR101179261B1 (en) Transaction settlement providing system and method for providing the same
CA2987660A1 (en) Payment system based on shared funds-management server, and method, device and server therefor
CA2987442C (en) Payment system based on shared funds-management server, and method, device and server therefor
CA2987800A1 (en) Payment system based on shared funds-management server, and method, device and server therefor
CA3094226A1 (en) Cross-funds management server-based payment system, and method, device and server therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230719

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230905

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20231103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240521

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240730

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240823

R150 Certificate of patent or registration of utility model

Ref document number: 7550402

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350