JP6557177B2 - Processing system and processing method - Google Patents

Processing system and processing method Download PDF

Info

Publication number
JP6557177B2
JP6557177B2 JP2016116946A JP2016116946A JP6557177B2 JP 6557177 B2 JP6557177 B2 JP 6557177B2 JP 2016116946 A JP2016116946 A JP 2016116946A JP 2016116946 A JP2016116946 A JP 2016116946A JP 6557177 B2 JP6557177 B2 JP 6557177B2
Authority
JP
Japan
Prior art keywords
data
block
transaction
terminal
display data
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
JP2016116946A
Other languages
Japanese (ja)
Other versions
JP2017224017A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016116946A priority Critical patent/JP6557177B2/en
Publication of JP2017224017A publication Critical patent/JP2017224017A/en
Application granted granted Critical
Publication of JP6557177B2 publication Critical patent/JP6557177B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、トランザクションデータを発行するトランザクション発行端末と、トランザクションデータを含むブロックデータを生成し、ブロックチェーンデータに連結するブロック生成端末とを備える処理システムに用いられる処理方法および処理システムに関する。   The present invention relates to a processing method and a processing system used in a processing system including a transaction issuing terminal that issues transaction data, and a block generation terminal that generates block data including transaction data and connects to block chain data.

近年、ブロックチェーン技術を実装した分散システム用プラットフォームが提案され(例えば非特許文献1参照)、仮想通貨だけではなく、様々な情報の記録や資産の流通などに利用され始めている。ブロックチェーン技術とは、複数参加者間で構成されるネットワークにおいて悪意のある参加者が一定割合以内という条件下で、参加者間の情報同期を可能にする技術である。参加者が保有する情報は、チェーン状にブロックデータをつないだ構造を持ち、ブロックチェーンと呼ばれる。ブロックデータ間には依存関係があり、さらにブロックデータの生成には特定の条件を満たす必要があるため、過去のブロックデータになるほど改竄が困難になる、という特徴がある。ブロックデータには、ブロックチェーンネットワークに発行されたトランザクションデータ(取引情報などを含む)がまとめられている。ブロックチェーンは、P2P(Peer To Peer)ネットワークにおいて参加者が共有する一つの巨大な元帳として機能する。   In recent years, a platform for a distributed system that implements a blockchain technology has been proposed (see, for example, Non-Patent Document 1), and has begun to be used not only for virtual currency but also for recording various information and distributing assets. The block chain technology is a technology that enables information synchronization between participants under a condition that malicious participants are within a certain ratio in a network constituted by a plurality of participants. The information held by the participants has a structure in which block data is connected in a chain, and is called a block chain. There is a dependency relationship between the block data, and furthermore, since it is necessary to satisfy a specific condition for the generation of the block data, the past block data becomes more difficult to falsify. In the block data, transaction data (including transaction information) issued to the block chain network is collected. The block chain functions as one huge ledger shared by participants in a P2P (Peer To Peer) network.

ブロックチェーンの仕組みにおいて、ブロックデータの生成はある特定の参加者が実施するのではない。ブロックチェーンネットワークの維持に参加する参加者のうち、ある条件を満たした参加者だけが、ブロックデータを生成する事ができる。ブロックチェーンネットワークの維持に参加する参加者は、ブロックチェーンネットワークに発行された各トランザクションデータを検証し、複数のトランザクションをまとめてブロックデータの生成を始める。ブロックデータの生成には所定の条件があり、参加者は競争して条件を満たすブロックデータを探す。条件を満たすブロックデータを生成できた参加者は、他の参加者に対して見つけたブロックデータを送信するとともに、自身のブロックチェーンにそのブロックデータを追加する。受け取った参加者はブロックデータに格納されているトランザクションデータの検証やブロックデータの生成条件の検証などを行い、不正がないことを確認し自身が持つブロックチェーンにつなぐ。   In the blockchain mechanism, the generation of block data is not performed by a specific participant. Of the participants participating in the maintenance of the blockchain network, only those who satisfy certain conditions can generate block data. Participants participating in the maintenance of the blockchain network verify each transaction data issued to the blockchain network, and start generating block data by combining a plurality of transactions. There are predetermined conditions for generating block data, and participants compete to search for block data that satisfies the conditions. A participant who has been able to generate block data that satisfies the conditions transmits the found block data to other participants and adds the block data to his block chain. The received participant verifies the transaction data stored in the block data, verifies the generation condition of the block data, etc., confirms that there is no fraud, and connects it to the block chain of its own.

ここで、トランザクションデータとして、仮想通貨の取引情報ではなく、特定の秘匿情報が設定される場合がある。特定の秘匿情報のやりとりを、ブロックチェーンによる元帳で管理し、特定の相手に参照させる場合がある。この秘匿情報は、一時的にやりとりされる情報であっても、ブロックチェーンの仕組みによれば、長期にわたって元帳で管理される。   Here, specific confidential information may be set as transaction data instead of virtual currency transaction information. The exchange of specific confidential information may be managed by a blockchain ledger and referred to by a specific partner. Even if this secret information is temporarily exchanged information, it is managed in the ledger for a long time according to the block chain mechanism.

DR. GAVIN WOOD、" ETHEREUM: A SECURE DECENTRALISED GENERALISED TRANSACTION LEDGER HOMESTEAD DRAFT"、[online]、[平成28年5月18日検索]、インターネット〈URL:http://gavwood.com/paper.pdf〉DR. GAVIN WOOD, "ETHEREUM: A SECURE DECENTRALISED GENERALISED TRANSACTION LEDGER HOMESTEAD DRAFT", [online], [Search May 18, 2016], Internet <URL: http://gavwood.com/paper.pdf>

しかしながら、トランザクションデータとして、特定の秘匿情報が設定される場合、この秘匿情報が長期にわたって元帳で管理される。従って、秘匿情報の暗号化に用いた鍵が流出した場合などでも、ブロックチェーン上のデータを削除したり更新したりできず、秘匿情報が予期せぬ第三者に参照されてしまう場合がある。   However, when specific confidential information is set as transaction data, the confidential information is managed in the ledger for a long period of time. Therefore, even if the key used to encrypt the confidential information leaks, the data on the blockchain cannot be deleted or updated, and the confidential information may be referred to by an unexpected third party. .

そこで、ブロックチェーンの仕組みにおいて、一時的にトランザクションの情報を保持することが可能な仕組みの開発が期待されている。   Therefore, development of a mechanism capable of temporarily holding transaction information in the blockchain mechanism is expected.

従って本発明の目的は、ブロックチェーンの仕組みにおいて、一時的にトランザクションの情報を保持可能な処理方法および処理システムを提供することである。   Accordingly, an object of the present invention is to provide a processing method and a processing system capable of temporarily holding transaction information in a block chain mechanism.

上記課題を解決するために、本発明の第1の特徴は、トランザクションデータを発行するトランザクション発行端末と、トランザクションデータに基づいてトランザクションを処理し、トランザクションデータを含むブロックデータを生成し、ブロックチェーンデータに連結するブロック生成端末とを備える処理システムに関する。本発明の第1の特徴に係る処理システムにおいて、トランザクション発行端末は、表示データを含む登録トランザクションデータを、送信する登録手段を有する。ブロック生成端末は、登録トランザクションデータを受信すると、登録トランザクションデータから表示データを削除し、表示データに対応する長期保存データを生成し、表示データをストアデータに設定するトランザクション処理手段と、長期保存データを含むブロックデータを生成し、生成したブロックデータを、ブロックチェーンデータに連結するとともに、表示データおよび生成したブロックデータを送信するブロック生成手段を備える。   In order to solve the above problem, a first feature of the present invention is that a transaction issuing terminal that issues transaction data, a transaction based on the transaction data, block data including the transaction data, and block chain data are generated. The present invention relates to a processing system provided with a block generation terminal connected to. In the processing system according to the first aspect of the present invention, the transaction issuing terminal has registration means for transmitting registration transaction data including display data. When the block generation terminal receives the registration transaction data, the block generation terminal deletes the display data from the registration transaction data, generates long-term storage data corresponding to the display data, and sets the display data as store data, and the long-term storage data And a block generation unit that connects the generated block data to the block chain data and transmits the display data and the generated block data.

トランザクション発行端末は、表示データの削除を依頼する際、表示データを削除するための削除トランザクションデータを、送信する削除手段をさらに備えても良い。ブロック生成端末において、トランザクション処理手段は、削除トランザクションデータを受信すると、ストアデータから表示データを削除し、ブロック生成手段は、削除トランザクションデータを含むブロックデータを生成し、生成したブロックデータを、ブロックチェーンデータに連結するとともに、生成したブロックデータを送信する。   The transaction issuing terminal may further include deletion means for transmitting deletion transaction data for deleting display data when requesting deletion of display data. In the block generation terminal, when the transaction processing means receives the deletion transaction data, the transaction processing means deletes the display data from the store data, and the block generation means generates block data including the deletion transaction data, and the generated block data is transferred to the block chain. The generated block data is transmitted together with the data.

トランザクション発行端末は、表示データの暗号化鍵の更新を依頼する際、表示データの識別子と新たな暗号化鍵を含む鍵更新トランザクションデータを、送信する鍵更新手段をさらに備えても良い。ブロック生成端末において、トランザクション処理手段は、鍵更新トランザクションデータを受信すると、表示データを新たな公開鍵で暗号化して、更新後表示データを生成し、更新後表示データに対応する更新後長期保存データを生成し、ストアデータの表示データを、前記更新後表示データに更新し、ブロック生成手段は、更新後長期保存データを含むブロックデータを生成し、生成したブロックデータを、ブロックチェーンデータに連結するとともに、生成したブロックデータを送信する。   The transaction issuing terminal may further include key update means for transmitting key update transaction data including the identifier of the display data and the new encryption key when requesting the update of the encryption key of the display data. In the block generation terminal, when the transaction processing means receives the key update transaction data, it encrypts the display data with a new public key, generates updated display data, and updates updated long-term storage data corresponding to the updated display data. The display data of the store data is updated to the updated display data, and the block generation means generates block data including the updated long-term storage data, and connects the generated block data to the block chain data At the same time, the generated block data is transmitted.

本発明の第2の特徴は、トランザクションデータを発行するトランザクション発行端末と、トランザクションデータに基づいてトランザクションを処理し、トランザクションデータを含むブロックデータを生成し、ブロックチェーンデータに連結するブロック生成端末とを備える処理システムに用いられる処理方法に関する。本発明の第2の特徴に係る処理方法は、トランザクション発行端末が、表示データを含む登録トランザクションデータを、送信するステップと、ブロック生成端末が、登録トランザクションデータを受信するステップと、ブロック生成端末が、登録トランザクションデータから表示データを削除し、表示データに対応する長期保存データを生成するステップと、ブロック生成端末が、表示データをストアデータに設定するステップと、ブロック生成端末が、長期保存データを含むブロックデータを生成するステップと、ブロック生成端末が、生成したブロックデータを、ブロックチェーンデータに連結するとともに、表示データおよび生成したブロックデータを送信するステップを備える。   According to a second aspect of the present invention, there is provided a transaction issuing terminal that issues transaction data, a block generation terminal that processes a transaction based on the transaction data, generates block data including the transaction data, and connects the block data to the block chain data. The present invention relates to a processing method used in a processing system provided. According to a second aspect of the present invention, there is provided a processing method in which a transaction issuing terminal transmits registered transaction data including display data, a block generating terminal receives registered transaction data, and a block generating terminal , Deleting the display data from the registered transaction data, generating a long-term storage data corresponding to the display data, a block generation terminal setting the display data as store data, and a block generation terminal A block generating terminal including the step of generating the block data, and the block generating terminal connecting the generated block data to the block chain data and transmitting the display data and the generated block data.

長期保存データを生成するステップにおいてブロック生成端末は、さらに、表示データと長期保存データとの対応づけを確認するための検証データを生成し、表示データをストアデータに設定するステップにおいてブロック生成端末は、さらに、検証データをストアデータに設定しても良い。   In the step of generating long-term storage data, the block generation terminal further generates verification data for confirming the correspondence between the display data and the long-term storage data, and in the step of setting the display data to store data, the block generation terminal Further, the verification data may be set as store data.

トランザクション発行端末が、表示データの削除を依頼する際、トランザクション発行端末が、表示データを削除するための削除トランザクションデータを、送信するステップと、ブロック生成端末が、削除トランザクションデータを受信するステップと、ブロック生成端末が、ストアデータから表示データを削除するステップと、ブロック生成端末が、削除トランザクションデータを含むブロックデータを生成するステップと、ブロック生成端末が、生成したブロックデータを、ブロックチェーンデータに連結するとともに、生成したブロックデータを送信するステップをさらに備えても良い。 When the transaction issuing terminal requests deletion of the display data, the transaction issuing terminal transmits deletion transaction data for deleting the display data, and the block generation terminal receives the deletion transaction data; The block generation terminal deletes the display data from the store data, the block generation terminal generates block data including the deletion transaction data, and the block generation terminal concatenates the generated block data to the block chain data. In addition, a step of transmitting the generated block data may be further included.

長期保存データを生成するステップにおいてブロック生成端末は、さらに、表示データと長期保存データとの対応づけを確認するための検証データを生成し、表示データをストアデータに設定するステップにおいてブロック生成端末は、さらに、検証データをストアデータに設定し、ストアデータから表示データを削除するステップにおいてブロック生成端末は、さらに、ストアデータから検証データを削除しても良い。   In the step of generating long-term storage data, the block generation terminal further generates verification data for confirming the correspondence between the display data and the long-term storage data, and in the step of setting the display data to store data, the block generation terminal Furthermore, the block generation terminal may further delete the verification data from the store data in the step of setting the verification data as the store data and deleting the display data from the store data.

トランザクション発行端末が、表示データの暗号化鍵の更新を依頼する際、トランザクション発行端末が、表示データの識別子と新たな暗号化鍵を含む鍵更新トランザクションデータを、送信するステップと、ブロック生成端末が、鍵更新トランザクションデータを受信するステップと、ブロック生成端末が、表示データを新たな公開鍵で暗号化して、更新後表示データを生成するステップと、ブロック生成端末が、更新後表示データに対応する更新後長期保存データを生成するステップと、ブロック生成端末が、ストアデータの表示データを、更新後表示データに更新するステップと、ブロック生成端末が、更新後長期保存データを含むブロックデータを生成するステップと、ブロック生成端末が、生成したブロックデータを、ブロックチェーンデータに連結するとともに、生成したブロックデータを送信するステップをさらに備えても良い。   When the transaction issuing terminal requests to update the encryption key of the display data, the transaction issuing terminal transmits key update transaction data including the identifier of the display data and the new encryption key, and the block generation terminal Receiving the key update transaction data, the block generating terminal encrypting the display data with a new public key to generate updated display data, and the block generating terminal corresponding to the updated display data A step of generating post-update long-term storage data, a block generation terminal updating display data of the store data to post-update display data, and a block generation terminal generating block data including the post-update long-term storage data Block and the block generation terminal While connected to Ndeta it may further comprise the step of transmitting the generated block data.

本発明によれば、ブロックチェーンの仕組みにおいて、一時的にトランザクションの情報を保持可能な処理方法および処理システムを提供することができる。   According to the present invention, it is possible to provide a processing method and a processing system capable of temporarily holding transaction information in a block chain mechanism.

本発明の実施の形態に係る処理システムのシステム構成を説明する図である。It is a figure explaining the system configuration | structure of the processing system which concerns on embodiment of this invention. 本発明の実施の形態に係るトランザクション発行端末のハードウエア構成と機能ブロックを説明する図である。It is a figure explaining the hardware constitutions and functional block of the transaction issuing terminal which concern on embodiment of this invention. 本発明の実施の形態に係るブロック生成端末のハードウエア構成と機能ブロックを説明する図である。It is a figure explaining the hardware constitutions and functional block of the block generation terminal which concerns on embodiment of this invention. 本発明の実施の形態に係るブロック検証端末のハードウエア構成と機能ブロックを説明する図である。It is a figure explaining the hardware constitutions and functional block of the block verification terminal which concern on embodiment of this invention. 本発明の実施の形態に係る表示データと長期保存データの関係を説明する図である。It is a figure explaining the relationship between the display data which concern on embodiment of this invention, and long-term storage data. 本発明の実施の形態に係る登録処理を説明するシーケンス図である。It is a sequence diagram explaining the registration process which concerns on embodiment of this invention. 本発明の実施の形態に係る登録トランザクションデータを説明する図である。It is a figure explaining registration transaction data concerning an embodiment of the invention. 本発明の実施の形態に係るブロックチェーンデータを説明する図である。It is a figure explaining block chain data concerning an embodiment of the invention. 本発明の実施の形態に係るブロック生成端末が送信するデータを説明する図である。It is a figure explaining the data which the block generation terminal which concerns on embodiment of this invention transmits. 本発明の実施の形態に係る削除処理を説明するシーケンス図である。It is a sequence diagram explaining the deletion process which concerns on embodiment of this invention. 本発明の実施の形態に係る鍵更新処理を説明するシーケンス図である。It is a sequence diagram explaining the key update process which concerns on embodiment of this invention.

次に、図面を参照して、本発明の実施の形態を説明する。以下の図面の記載において、同一または類似の部分には同一または類似の符号を付している。   Next, embodiments of the present invention will be described with reference to the drawings. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals.

(処理システム)
本発明の実施の形態に係る処理システム10は、図1に示すように、複数のコンピュータを備え、各コンピュータは、各コンピュータに設けられた通信制御装置およびP2PネットワークNを介して、自律分散的に接続されている。なお、図1に示す処理システム10において接続されるコンピュータの数は、一例であって、これに限るものではない。
(Processing system)
As shown in FIG. 1, the processing system 10 according to the embodiment of the present invention includes a plurality of computers, and each computer is autonomously distributed via a communication control device and a P2P network N provided in each computer. It is connected to the. Note that the number of computers connected in the processing system 10 illustrated in FIG. 1 is an example, and is not limited thereto.

処理システム10を構成する各コンピュータに、デジタル仮想通貨等における取引を実現するためのプログラムがインストールされる。各コンピュータは、それぞれ、ブロックチェーンデータBとストアデータAを保持する。各コンピュータは、それぞれ、P2PネットワークNを介して、トランザクションデータTや、トランザクションデータTから生成され、ブロックチェーンデータBに連結されるブロックデータDを取得して、ブロックチェーンデータBおよびストアデータAを更新する。P2PネットワークNに参加する端末群全体が、不正を監視し、唯一のブロックチェーンデータBおよびストアデータAを共有する。ここで、トランザクション発行端末1も、ブロックチェーンデータBとストアデータAを保持しても良い。   A program for realizing a transaction in a digital virtual currency or the like is installed in each computer constituting the processing system 10. Each computer holds block chain data B and store data A, respectively. Each computer obtains block data D and store data A by acquiring transaction data T and block data D generated from transaction data T and linked to block chain data B via the P2P network N. Update. The entire terminal group participating in the P2P network N monitors fraud and shares only the block chain data B and the store data A. Here, the transaction issuing terminal 1 may also hold the block chain data B and the store data A.

各コンピュータは、処理システム10における各場面における役割に応じて、トランザクション発行端末1として機能したり、ブロック生成端末2として機能したり、ブロック検証端末3として機能したりする。ここで、ブロック生成端末2およびブロック検証端末3として機能することなくトランザクション発行端末1として機能する端末があっても良いし、トランザクション発行端末1として機能することなくブロック生成端末2およびブロック検証端末3としてのみ機能する端末があっても良い。   Each computer functions as the transaction issuing terminal 1, functions as the block generation terminal 2, or functions as the block verification terminal 3 according to the role in each scene in the processing system 10. Here, there may be a terminal that functions as the transaction issuing terminal 1 without functioning as the block generation terminal 2 and the block verification terminal 3, or the block generation terminal 2 and the block verification terminal 3 without functioning as the transaction issuing terminal 1. There may be terminals that only function as.

トランザクション発行端末1、ブロック生成端末2およびブロック検証端末3はそれぞれ、発行者、生成者および検証者によって操作される。トランザクション発行端末1、ブロック生成端末2およびブロック検証端末3が署名する際、それぞれ、発行者、生成者および検証者の署名が用いられる。   The transaction issuing terminal 1, the block generating terminal 2, and the block verification terminal 3 are operated by an issuer, a generator, and a verifier, respectively. When the transaction issuing terminal 1, the block generation terminal 2, and the block verification terminal 3 sign, the signatures of the issuer, the generator, and the verifier are used, respectively.

トランザクション発行端末1は、トランザクションを発行する端末である。トランザクション発行端末1は、トランザクションデータTを、P2PネットワークNに送信する。本発明の実施の形態においてトランザクション発行端末1は特に、一時的に保存する情報に関するトランザクションを発行する。   The transaction issuing terminal 1 is a terminal that issues a transaction. The transaction issuing terminal 1 transmits the transaction data T to the P2P network N. In the embodiment of the present invention, the transaction issuing terminal 1 issues a transaction relating to information to be temporarily stored.

ブロック生成端末2は、トランザクション発行端末1等が発行したトランザクションを処理して、ブロックデータDを生成し、既存のブロックチェーンデータBに生成したブロックデータDを連結するとともに、ストアデータAを更新する。ブロック生成端末2は、トランザクションデータTや生成したブロックデータDを、P2PネットワークNに送信する。   The block generation terminal 2 processes a transaction issued by the transaction issuing terminal 1 or the like, generates block data D, concatenates the generated block data D to the existing block chain data B, and updates the store data A. . The block generation terminal 2 transmits the transaction data T and the generated block data D to the P2P network N.

なお、処理システム10において、複数の端末においてブロックの生成が試みられるが、本発明の実施の形態において、ブロック生成端末2が他の端末よりも早くブロックデータを生成する場合を説明する。   Note that, in the processing system 10, generation of blocks is attempted in a plurality of terminals. In the embodiment of the present invention, a case will be described in which the block generation terminal 2 generates block data earlier than other terminals.

ブロック検証端末3は、ブロック生成端末2が送信したブロックデータDを検証し、検証できた場合、自身の記憶装置に記憶したブロックチェーンデータBを更新する。本発明の実施の形態に係るブロック検証端末3は特に、ブロックチェーンデータBのみならず、ストアデータAも検証し、検証できた場合、自身の記憶装置に記憶したストアデータを更新する。またブロック検証端末3は、必要に応じて、ブロック生成端末2に、ストアデータAを要求し、最新のストアデータAを取得する。   The block verification terminal 3 verifies the block data D transmitted from the block generation terminal 2, and updates the block chain data B stored in its own storage device if it can be verified. In particular, the block verification terminal 3 according to the embodiment of the present invention verifies not only the block chain data B but also the store data A, and updates the store data stored in its own storage device when it can be verified. Further, the block verification terminal 3 requests the store data A from the block generation terminal 2 as necessary, and acquires the latest store data A.

(各端末の構成)
図2ないし図4を参照して、トランザクション発行端末1、ブロック生成端末2およびブロック検証端末3を説明する。トランザクション発行端末1、ブロック生成端末2およびブロック検証端末3は、記憶装置110、210、310、処理装置120、220、320、通信制御装置130、230、330等を備える一般的なコンピュータである。トランザクション発行端末1、ブロック生成端末2およびブロック検証端末3は、それぞれ一般的なコンピュータが、所定の処理を実行するためのプログラムを実行することにより、図2ないし図4に示す各機能を実現する。
(Configuration of each terminal)
The transaction issuing terminal 1, the block generation terminal 2, and the block verification terminal 3 will be described with reference to FIGS. The transaction issuing terminal 1, the block generation terminal 2, and the block verification terminal 3 are general computers including storage devices 110, 210, 310, processing devices 120, 220, 320, communication control devices 130, 230, 330, and the like. The transaction issuing terminal 1, the block generation terminal 2, and the block verification terminal 3 each implement the functions shown in FIGS. 2 to 4 by a general computer executing a program for executing a predetermined process. .

(トランザクション発行端末)
トランザクション発行端末1の記憶装置110は、表示データMおよびトランザクションデータTを記憶する。また図示しないが、記憶装置110は、ブロックチェーンデータBおよびストアデータAを記憶しても良い。
(Transaction issuing terminal)
The storage device 110 of the transaction issuing terminal 1 stores display data M and transaction data T. Although not shown, the storage device 110 may store block chain data B and store data A.

表示データMは、例えば、秘匿情報(対象データ)を秘匿化したデータで、特定の人のみが復号することにより、秘匿情報の意味を理解できる。トランザクションデータTは、表示データMの登録、削除または鍵更新を実行するためのトランザクションに関するデータである。本発明の実施の形態において、トランザクションデータTは、登録トランザクションデータTR、削除トランザクションデータTDおよび鍵更新トランザクションデータTKを含む。トランザクションデータTは、トランザクション発行後、削除されても良い。   The display data M is, for example, data in which confidential information (target data) is concealed, and only a specific person can understand the meaning of the confidential information. The transaction data T is data related to a transaction for executing registration, deletion or key update of the display data M. In the embodiment of the present invention, the transaction data T includes registration transaction data TR, deletion transaction data TD, and key update transaction data TK. The transaction data T may be deleted after the transaction is issued.

トランザクション発行端末1の処理装置120は、登録手段121、削除手段122および鍵更新手段123を備える。   The processing device 120 of the transaction issuing terminal 1 includes a registration unit 121, a deletion unit 122, and a key update unit 123.

登録手段121は、表示データMを含む登録トランザクションデータTRを、送信する。登録手段121は、例えば、秘匿情報である対象データを暗号化やハッシュ化して、第三者に意味が把握されない表示データMを生成する。登録手段121は、表示データMを含む登録トランザクションデータTRを生成し、P2PネットワークNに送信する。登録トランザクションデータTRを受信したブロック生成端末2は、表示データMに基づくデータ(後述の長期保存データL)をブロックデータDに登録するとともに、表示データMをストアデータAに登録する。   The registration unit 121 transmits registration transaction data TR including the display data M. For example, the registration unit 121 encrypts or hashes the target data, which is confidential information, to generate display data M whose meaning is not understood by a third party. The registration unit 121 generates registration transaction data TR including the display data M and transmits it to the P2P network N. The block generation terminal 2 that has received the registration transaction data TR registers data based on the display data M (long-term storage data L described later) in the block data D and registers the display data M in the store data A.

ここで表示データMは、P2PネットワークNにおいて、一時的に保存されるデータである。表示データMは、所定の対象データを秘匿化したデータであっても良いし、所定の対象データのメタデータであっても良いし、表示データMはどのようなデータであっても良い。表示データMは、削除トランザクションデータTDによって、P2PネットワークNから削除されたり、鍵更新トランザクションデータTKによって、更に秘匿化されたりしても良い。   Here, the display data M is data temporarily stored in the P2P network N. The display data M may be data obtained by concealing predetermined target data, may be metadata of the predetermined target data, and the display data M may be any data. The display data M may be deleted from the P2P network N by the deletion transaction data TD, or may be further concealed by the key update transaction data TK.

本願発明は、表示データMを、ブロックチェーンデータB外のデータストアAに登録することにより、ブロックチェーンデータBの肥大化を防ぐことができる。これにより本発明の実施の形態において、表示データMとして、長文のテキストデータや、画像または動画のデータ等の、ボリュームの大きいデータを、P2PネットワークNにおいて、一時的に保存することが可能になる。   The present invention can prevent the block chain data B from being enlarged by registering the display data M in the data store A outside the block chain data B. As a result, in the embodiment of the present invention, as the display data M, large volume data such as long text data and image or video data can be temporarily stored in the P2P network N. .

削除手段122は、表示データMの削除を依頼する際、表示データMを削除するための削除トランザクションデータTDを、送信する。削除手段122は、表示データMの識別子を含む削除トランザクションデータTDを生成し、P2PネットワークNに送信する。削除トランザクションデータTDを受信したブロック生成端末2は、ストアデータAから表示データMを削除する。発行者は、表示データMを生成するために利用した鍵が流出した場合や、表示データMのP2PネットワークNでの共有を終了する場合に、表示データMを削除するために、削除トランザクションデータTDを用いる。   When the deletion unit 122 requests deletion of the display data M, the deletion unit 122 transmits deletion transaction data TD for deleting the display data M. The deletion unit 122 generates deletion transaction data TD including the identifier of the display data M and transmits it to the P2P network N. The block generation terminal 2 that has received the deletion transaction data TD deletes the display data M from the store data A. The issuer deletes the deletion transaction data TD in order to delete the display data M when the key used to generate the display data M is leaked or when the sharing of the display data M with the P2P network N is terminated. Is used.

鍵更新手段123は、表示データMの暗号化鍵の更新を依頼する際、表示データMの識別子と新たな暗号化鍵を含む鍵更新トランザクションデータTKを、送信する。鍵更新手段123は、古い鍵で暗号化された表示データMがストアデータAに含まれている場合、鍵更新トランザクションデータTKを生成し、P2PネットワークN送信する。鍵更新トランザクションデータTKを受信したブロック生成端末2は、古い鍵で暗号化された表示データMを、新たな公開鍵で更に暗号化して、更新後表示データM’を生成し、更新後表示データM’をストアデータAに登録する。   When the key update unit 123 requests to update the encryption key of the display data M, the key update unit 123 transmits key update transaction data TK including the identifier of the display data M and a new encryption key. If the display data M encrypted with the old key is included in the store data A, the key update unit 123 generates key update transaction data TK and transmits it to the P2P network N. The block generation terminal 2 that has received the key update transaction data TK further encrypts the display data M encrypted with the old key with the new public key to generate updated display data M ′, and updates the updated display data. M ′ is registered in the store data A.

発行者は、表示データMを生成するために利用した鍵が流出したものの、表示データMのP2PネットワークNでの共有の継続を希望する場合に、表示データMをさらに暗号化するために、鍵更新トランザクションデータTKを用いる。鍵更新トランザクションデータTKにより、ストアデータAの表示データMは、新しい公開鍵で暗号化された更新後表示データM’に更新される。   If the issuer has released the key used to generate the display data M, but wishes to continue sharing the display data M in the P2P network N, the issuer can use the key to further encrypt the display data M. Update transaction data TK is used. With the key update transaction data TK, the display data M of the store data A is updated to the updated display data M ′ encrypted with the new public key.

(ブロック生成端末)
ブロック生成端末2の記憶装置210は、トランザクションデータT、ブロックチェーンデータBおよびストアデータAを記憶する。
(Block generation terminal)
The storage device 210 of the block generation terminal 2 stores transaction data T, block chain data B, and store data A.

トランザクションデータTは、トランザクション発行端末1等から送信されたトランザクションのデータである。本発明の実施の形態において、トランザクションデータTは、登録トランザクションデータTR、削除トランザクションデータTDおよび鍵更新トランザクションデータTKを含む。   The transaction data T is transaction data transmitted from the transaction issuing terminal 1 or the like. In the embodiment of the present invention, the transaction data T includes registration transaction data TR, deletion transaction data TD, and key update transaction data TK.

ブロックチェーンデータBおよびストアデータAは、P2PネットワークNで共有されるデータである。本発明の実施の形態において、ブロックチェーンデータBは、恒久的に記憶されるデータ(本願発明における長期保存データL)を含む。ここで、ブロックチェーンデータBは、一時的に記憶されるデータ(本願発明における表示データM)を含まない。   The block chain data B and the store data A are data shared by the P2P network N. In the embodiment of the present invention, the block chain data B includes permanently stored data (long-term storage data L in the present invention). Here, the block chain data B does not include temporarily stored data (display data M in the present invention).

ストアデータAは、一時的に記憶されるデータ(長期保存データLに対応する表示データM)を含む。ストアデータAは、表示データMと表示データMの識別子とを対応づけたセットを含み、ストアデータAは、複数のセットを含んでも良い。   Store data A includes temporarily stored data (display data M corresponding to long-term storage data L). Store data A may include a set in which display data M is associated with an identifier of display data M, and store data A may include a plurality of sets.

ブロック生成端末2の処理装置220は、トランザクション処理手段221、ブロック生成手段222および同期手段223を備える。   The processing device 220 of the block generation terminal 2 includes a transaction processing unit 221, a block generation unit 222, and a synchronization unit 223.

トランザクション処理手段221は、トランザクション発行端末1が送信した登録トランザクションデータTR、削除トランザクションデータTDおよび鍵更新トランザクションデータTKを受信して、処理する。   The transaction processing means 221 receives and processes the registration transaction data TR, the deletion transaction data TD, and the key update transaction data TK transmitted by the transaction issuing terminal 1.

トランザクション処理手段221は、登録トランザクションデータTRを受信すると、登録トランザクションデータから表示データMを削除し、表示データMに対応する長期保存データLを生成し、表示データMをストアデータAに設定する。ここでトランザクション処理手段221は、登録トランザクションデータTRの表示データMを長期保存データLに置換して登録トランザクションデータTR’を生成しても良い。   When receiving the registered transaction data TR, the transaction processing means 221 deletes the display data M from the registered transaction data, generates long-term storage data L corresponding to the display data M, and sets the display data M to the store data A. Here, the transaction processing unit 221 may generate the registered transaction data TR ′ by replacing the display data M of the registered transaction data TR with the long-term storage data L.

トランザクション処理手段221は、削除トランザクションデータTDを受信すると、ストアデータAから表示データMを削除する。   When the transaction processing unit 221 receives the deletion transaction data TD, the transaction processing unit 221 deletes the display data M from the store data A.

トランザクション処理手段221は、鍵更新トランザクションデータTKを受信すると、表示データMを新たな公開鍵で暗号化して、更新後表示データM’を生成し、更新後表示データM’に対応する更新後長期保存データL’を生成し、ストアデータSの表示データMを、更新後表示データM’に更新する。トランザクション処理手段221は、鍵更新トランザクションデータTKに更新後長期保存データL’を設定しても良い。   When the transaction processing means 221 receives the key update transaction data TK, the transaction processing means 221 encrypts the display data M with a new public key to generate updated display data M ′, and the updated long-term data corresponding to the updated display data M ′. Saved data L ′ is generated, and the display data M of the store data S is updated to the updated display data M ′. The transaction processing unit 221 may set the updated long-term storage data L ′ in the key update transaction data TK.

ブロック生成手段222は、トランザクション処理手段221が各トランザクションを処理した後、所定条件を満たすブロックの生成を試みる。この所定条件は、Proof of Work(PoW)、Proof of Stake(PoS)などである。ブロック生成手段222がブロックの生成に成功すると、生成したブロックをP2PネットワークNに送信する。   The block generation unit 222 attempts to generate a block that satisfies a predetermined condition after the transaction processing unit 221 processes each transaction. This predetermined condition is Proof of Work (PoW), Proof of Stake (PoS), or the like. When the block generation unit 222 succeeds in generating the block, the generated block is transmitted to the P2P network N.

ブロック生成手段222は、トランザクション処理手段221が、登録トランザクションデータTRを処理した場合、長期保存データLを含むブロックデータDを生成し、登録トランザクションデータTR’を含むブロックデータDを、ブロックチェーンデータBに連結する。さらにブロック生成手段222は、表示データMを送信するとともに、登録トランザクションデータTR’を含むブロックデータDを送信する。   When the transaction processing unit 221 processes the registration transaction data TR, the block generation unit 222 generates block data D including the long-term storage data L, and the block data D including the registration transaction data TR ′ is converted into the block chain data B. Connect to Further, the block generation unit 222 transmits the display data M and the block data D including the registration transaction data TR ′.

本発明の実施の形態においては、トランザクション処理手段221が、表示データMを長期保存データLに置換した登録トランザクションデータTR’を生成し、ブロック生成手段222は、長期保存データLを含む登録トランザクションデータTR’を送信する場合を説明するがこれに限られない。ブロック生成手段222は、登録トランザクションデータTRから表示データMを削除した登録トランザクションデータを、ブロックデータDに含ませるとともに、ブロックデータDのヘッダに、長期保存データLを含ませても良い。また他の例として、ブロックデータDが、ヘッダ部と、各トランザクションデータを保持するトランザクション保持部と、トランザクションデータ以外のデータを保持するデータ保持部を含む場合、長期保存データLを、データ保持部に格納するとともに、データ保持部に長期保存データLが保持されたことを示すデータを、ヘッダ部に格納しても良い。   In the embodiment of the present invention, the transaction processing unit 221 generates registration transaction data TR ′ in which the display data M is replaced with the long-term storage data L, and the block generation unit 222 includes the registration transaction data including the long-term storage data L. Although the case where TR ′ is transmitted will be described, the present invention is not limited to this. The block generation unit 222 may include the registration transaction data obtained by deleting the display data M from the registration transaction data TR in the block data D and may include the long-term storage data L in the header of the block data D. As another example, when the block data D includes a header part, a transaction holding part that holds each transaction data, and a data holding part that holds data other than the transaction data, the long-term storage data L is stored in the data holding part. And data indicating that the long-term storage data L is held in the data holding unit may be stored in the header part.

ブロック生成手段222は、トランザクション処理手段221が、削除トランザクションデータTDを処理した場合、削除トランザクションデータTDを含むブロックデータDを生成し、削除トランザクションデータTDを含むブロックデータDを、ブロックチェーンデータBに連結する。さらにブロック生成手段222は、削除トランザクションデータTDを含むブロックデータDを送信する。   When the transaction processing unit 221 processes the deletion transaction data TD, the block generation unit 222 generates block data D including the deletion transaction data TD, and converts the block data D including the deletion transaction data TD into the block chain data B. Link. Further, the block generation unit 222 transmits block data D including the deletion transaction data TD.

ブロック生成手段222は、トランザクション処理手段221が、鍵更新トランザクションデータTKを処理した場合、更新後長期保存データL’を含むブロックデータを生成し、更新後長期保存データL’を含むブロックデータDを、ブロックチェーンデータBに連結するとともに、更新後長期保存データL’を含むブロックデータDを送信する。   When the transaction processing unit 221 processes the key update transaction data TK, the block generation unit 222 generates block data including the updated long-term storage data L ′ and generates block data D including the updated long-term storage data L ′. The block data D is linked to the block chain data B, and the block data D including the updated long-term storage data L ′ is transmitted.

本発明の実施の形態においては、トランザクション処理手段221が、更新後長期保存データL’を含む鍵更新トランザクションデータTK’を生成し、ブロック生成手段222は、鍵更新トランザクションデータTK’を含むブロックデータDを送信する場合を説明するがこれに限られない。ブロック生成手段222は、更新後長期保存データL’を含まない鍵更新トランザクションデータを、ブロックデータDに含ませるとともに、ブロックデータDのヘッダに、更新後長期保存データL’を含ませても良い。また他の例として、ブロックデータDが、ヘッダ部と、各トランザクションデータを保持するトランザクション保持部と、トランザクションデータ以外のデータを保持するデータ保持部を含む場合、更新後長期保存データL’を、データ保持部に格納するとともに、データ保持部に更新後長期保存データL’が保持されたことを示すデータを、ヘッダ部に格納しても良い。   In the embodiment of the present invention, the transaction processing unit 221 generates key update transaction data TK ′ including the updated long-term storage data L ′, and the block generation unit 222 includes block data including the key update transaction data TK ′. Although the case where D is transmitted will be described, the present invention is not limited to this. The block generation unit 222 may include the key update transaction data not including the updated long-term storage data L ′ in the block data D, and may include the updated long-term storage data L ′ in the header of the block data D. . As another example, when the block data D includes a header part, a transaction holding part that holds each transaction data, and a data holding part that holds data other than transaction data, the updated long-term storage data L ′ is While storing in the data holding unit, data indicating that the updated long-term storage data L ′ is held in the data holding unit may be stored in the header part.

同期手段223は、P2PネットワークNからブロックチェーンデータBおよびストアデータAを取得し、ブロック生成端末2において、最新のブロックチェーンデータBおよびストアデータAを保持する。   The synchronization means 223 acquires the block chain data B and the store data A from the P2P network N, and holds the latest block chain data B and store data A in the block generation terminal 2.

(ブロック検証端末)
ブロック検証端末3の記憶装置310は、ブロックチェーンデータBおよびストアデータAを記憶する。
(Block verification terminal)
The storage device 310 of the block verification terminal 3 stores block chain data B and store data A.

ブロックチェーンデータBおよびストアデータAは、ブロック生成端末2において説明おした通り、P2PネットワークNで共有されるデータである。本発明の実施の形態において、ブロックチェーンデータBは、恒久的に記憶されるデータ(本願発明における長期保存データL)を含み、ストアデータAは、長期保存データLに対応する表示データMを含む。   The block chain data B and the store data A are data shared by the P2P network N as described in the block generation terminal 2. In the embodiment of the present invention, the block chain data B includes permanently stored data (long-term storage data L in the present invention), and the store data A includes display data M corresponding to the long-term storage data L. .

ブロック検証端末3の処理装置320は、検証手段321および同期手段322を備える。   The processing device 320 of the block verification terminal 3 includes verification means 321 and synchronization means 322.

検証手段321は、ブロック生成端末2からブロックデータDを受信し、ブロックデータDの正当性等を検証する。さらに検証手段321は、ブロックデータDが検証されると、ブロックデータDをブロックチェーンデータBに連結する。検証手段321はさらに、表示データMを受信して、ストアデータAの正当性等を検証する。   The verification unit 321 receives the block data D from the block generation terminal 2 and verifies the validity of the block data D. Furthermore, when the block data D is verified, the verification unit 321 connects the block data D to the block chain data B. The verification unit 321 further receives the display data M and verifies the validity of the store data A.

同期手段322は、ブロック生成端末2において説明した通り、P2PネットワークNからブロックチェーンデータBおよびストアデータAを取得し、ブロック検証端末3において、最新のブロックチェーンデータBおよびストアデータAを保持する。   The synchronization unit 322 acquires the block chain data B and the store data A from the P2P network N as described in the block generation terminal 2, and holds the latest block chain data B and store data A in the block verification terminal 3.

(表示データと長期保存データ)
本発明の実施の形態において、表示データMは、例えば、秘匿情報(対象データ)を秘匿化したデータであって、登録トランザクションデータTRによってストアデータAに登録され、削除トランザクションデータTDによってストアデータAから削除される。これに対し長期保存データLは、表示データMに対応し、表示データMをさらに安全化したデータであって、ブロックチェーンデータBに恒久的に記憶される。
(Display data and long-term storage data)
In the embodiment of the present invention, the display data M is, for example, data obtained by concealing confidential information (target data), registered in the store data A by the registered transaction data TR, and stored data A by the deleted transaction data TD. Deleted from. On the other hand, the long-term storage data L corresponds to the display data M, is data that further secures the display data M, and is permanently stored in the block chain data B.

図5のパターン1およびパターン2に示すように、表示データMと長期保存データLは、検証データKを介して、互いにペアとなり紐づくデータである。パターン1において表示データMは、秘匿情報を暗号化またはハッシュ化したデータであるのに対し、検証データKは桁の大きな乱数であって、長期保存データLは、表示データMに検証データKを加えたデータのハッシュ値である。パターン2において表示データMは、秘匿情報を暗号化またはハッシュ化したデータであるのに対し、長期保存データLおよび検証データKは、表示データMを秘密分散したそれぞれの片割れである。   As shown in pattern 1 and pattern 2 in FIG. 5, the display data M and the long-term storage data L are data that are paired with each other via the verification data K. In the pattern 1, the display data M is data obtained by encrypting or hashing confidential information, whereas the verification data K is a random number having a large digit, and the long-term storage data L is obtained by adding the verification data K to the display data M. This is the hash value of the added data. In the pattern 2, the display data M is data obtained by encrypting or hashing the confidential information, while the long-term storage data L and the verification data K are each a fragment of the display data M that is secretly distributed.

また図5のパターン3に示すように、表示データMと長期保存データLは、検証データKを介することなく、互いにペアとなるデータであっても良い。パターン3において表示データMは、メタデータまたは暗号化した秘匿情報であって、長期保存データLは、表示データMのハッシュ値である。   Further, as shown in pattern 3 in FIG. 5, the display data M and the long-term storage data L may be paired data without using the verification data K. In pattern 3, the display data M is metadata or encrypted confidential information, and the long-term storage data L is a hash value of the display data M.

図5に示されるように、検証データKは、表示データMと長期保存データLを紐づけるデータであって、任意に生成される。例えば、登録トランザクションデータTRについて処理される際、表示データMと長期保存データLとがパターン1またはパターン2の対応関係の場合、長期保存データLが生成される際、検証データKも生成される。表示データMと長期保存データLとがパターン3の対応関係の場合、検証データKは生成されない。鍵更新トランザクションデータTKについて処理される場合も同様である。   As shown in FIG. 5, the verification data K is data that associates the display data M with the long-term storage data L, and is arbitrarily generated. For example, when the registration transaction data TR is processed, if the display data M and the long-term storage data L have a correspondence relationship of the pattern 1 or the pattern 2, the verification data K is also generated when the long-term storage data L is generated. . When the display data M and the long-term storage data L have the correspondence relationship of the pattern 3, the verification data K is not generated. The same applies to the case of processing the key update transaction data TK.

なお、図5に示すパターンは一例であって、これに限るものではない。   The pattern shown in FIG. 5 is an example, and the present invention is not limited to this.

(登録方法)
図6を参照して、トランザクション発行端末1が、登録トランザクションデータTRを送信する際の処理を説明する。
(Registration method)
With reference to FIG. 6, a process when the transaction issuing terminal 1 transmits the registered transaction data TR will be described.

まずステップS101においてトランザクション発行端末1は、登録トランザクションデータTRを生成する。登録トランザクションデータTRは、図7(a)に示すように、表示データMに発行者の電子署名をしたデータと、それ以外のデータに発行者の電子署名をしたデータとを含む。ここで、表示データMは、秘匿情報を暗号化またはハッシュ化したデータである。それ以外のデータは、登録トランザクションデータTRが、秘匿情報の一時保存を示す秘匿指示データや、public keyなどのデータである。一般的なトランザクションは、図7(c)に示すように、すべてのデータに対して発行者の電子署名を付与するところ、本発明の実施の形態に係る登録トランザクションは、表示データMと、それ以外のデータにそれぞれ電子署名を付与する点が異なる。   First, in step S101, the transaction issuing terminal 1 generates registration transaction data TR. As shown in FIG. 7A, the registration transaction data TR includes data obtained by giving the issuer's electronic signature to the display data M, and data obtained by giving the issuer's electronic signature to other data. Here, the display data M is data obtained by encrypting or hashing confidential information. The other data is the registration transaction data TR, such as confidential instruction data indicating temporary storage of confidential information, and public key data. As shown in FIG. 7C, in a general transaction, an electronic signature of an issuer is assigned to all data. The registration transaction according to the embodiment of the present invention includes display data M, The difference is that an electronic signature is assigned to data other than the above.

ステップS101において登録トランザクションデータTRが生成されると、トランザクション発行端末1は、登録トランザクションデータTRをP2PネットワークNに送信し、ブロック生成端末2が登録トランザクションデータTRを受信する。   When the registration transaction data TR is generated in step S101, the transaction issuing terminal 1 transmits the registration transaction data TR to the P2P network N, and the block generation terminal 2 receives the registration transaction data TR.

ブロック生成端末2は、登録トランザクションデータTRを受信すると、ステップS111において、登録トランザクションデータTRの有効性を検証する。ブロック生成端末2は、通常のトランザクションの検証に加え、登録トランザクションデータTRの表示データMとそれ以外のデータが、それぞれ同じ発行者によって署名されていることなどを確認する。   When receiving the registration transaction data TR, the block generation terminal 2 verifies the validity of the registration transaction data TR in step S111. In addition to the normal transaction verification, the block generation terminal 2 confirms that the display data M of the registered transaction data TR and other data are signed by the same issuer.

登録トランザクションデータTRの有効性が確認されると、ブロック生成端末2は、ステップS112において、表示データMから長期保存データLを生成する。このとき、ブロック生成端末2は、必要に応じて検証データKも生成する。長期保存データLおよび検証データKは、図5を参照して説明したパターンに基づいて、生成される。   When the validity of the registered transaction data TR is confirmed, the block generation terminal 2 generates long-term storage data L from the display data M in step S112. At this time, the block generation terminal 2 also generates verification data K as necessary. The long-term storage data L and the verification data K are generated based on the pattern described with reference to FIG.

ステップS113においてブロック生成端末2は、ステップS112で生成した長期保存データLに生成者の署名を付与する。さらにブロック生成端末2は、図7(b)に示すように、ステップS102で取得した登録トランザクションデータTRから表示データMおよび発行者の署名を削除し、長期保存データLおよび生成者の署名に置換して、登録トランザクションデータTR’を生成する。   In step S113, the block generation terminal 2 gives the creator's signature to the long-term storage data L generated in step S112. Further, as shown in FIG. 7B, the block generation terminal 2 deletes the display data M and the issuer's signature from the registration transaction data TR acquired in step S102, and replaces them with the long-term storage data L and the generator's signature. Then, registration transaction data TR ′ is generated.

ステップS114においてブロック生成端末2は、ストアデータAに、表示データMを挿入する。このとき、ブロック生成端末2は、表示データMの識別子に対応づけてストアデータAに挿入しても良い。表示データMは、トランザクション発行端末1が生成したデータであって、登録トランザクションデータTRに設定されるデータである。ステップS112において検証データKも生成した場合、ブロック生成端末2は、ストアデータAに、検証データKも挿入する。   In step S114, the block generation terminal 2 inserts the display data M into the store data A. At this time, the block generation terminal 2 may be inserted into the store data A in association with the identifier of the display data M. The display data M is data generated by the transaction issuing terminal 1 and is set in the registered transaction data TR. When the verification data K is also generated in step S112, the block generation terminal 2 inserts the verification data K into the store data A.

ステップS115においてブロック生成端末2は、ストアデータAのダイジェストを生成し、新たに生成する第NブロックのブロックデータDのヘッダを生成する。図8に示すように、第NブロックのブロックデータDのヘッダは、(1)前ブロック(N−1)のハッシュ値、(2)ブロックに格納するトランザクションのダイジェスト、および(3)ストアデータAのダイジェストを含む。(2)ブロックに格納するトランザクションのダイジェストには、ステップS113で生成した登録トランザクションデータTR’のダイジェストを含む。   In step S115, the block generation terminal 2 generates a digest of the store data A, and generates a header of the block data D of the Nth block to be newly generated. As shown in FIG. 8, the header of the block data D of the Nth block includes (1) a hash value of the previous block (N−1), (2) a digest of the transaction stored in the block, and (3) store data A. Including a digest of (2) The digest of the transaction stored in the block includes the digest of the registered transaction data TR ′ generated in step S113.

ステップS116においてブロック生成端末2は、登録トランザクションデータTR’を含むブロックデータDの生成を試みる。ここでブロック生成端末2がブロックデータDの生成に成功すると、ステップS117においてブロック生成端末2は、ブロックチェーンデータBにステップS116で生成したブロックデータDを連結して、ブロックチェーンデータBを更新する。   In step S116, the block generation terminal 2 tries to generate block data D including registration transaction data TR '. When the block generation terminal 2 succeeds in generating the block data D here, the block generation terminal 2 updates the block chain data B by connecting the block data D generated in step S116 to the block chain data B in step S117. .

ステップS118においてブロック生成端末2は、図9に示すように、ステップS116で生成したブロックデータDおよび発行者の署名付き表示データMを、P2PネットワークNに送信する。ステップS112において検証データKも生成した場合、ブロック生成端末2は、検証データKも送信する。   In step S118, the block generation terminal 2 transmits the block data D generated in step S116 and the display data M with the signature of the issuer to the P2P network N as shown in FIG. When the verification data K is also generated in step S112, the block generation terminal 2 also transmits the verification data K.

ブロック検証端末3は、ブロックデータDおよび発行者の署名付き表示データM等を受信すると、ステップS121およびS122において、ブロック検証端末3が保持するブロックチェーンデータBおよびストアデータAを検証する。ブロック検証端末3は、ブロックデータDに含まれる登録トランザクションデータTR’に含まれる長期保存データLと、表示データMとが紐づくことを確認する。ステップS112において検証データも生成した場合、ブロック検証端末3は、検証データKも参照して、紐づくことを確認する。ブロック検証端末3は、受信した表示データMに基づいて、ブロック生成端末2のストアデータAを更新し、その更新後のストアデータAのダイジェストと、受信したブロックデータDのヘッダにおけるストアデータのダイジェストが一致するか否かを判定する。また、ブロック検証端末3は、登録トランザクションデータTR'の発行者が、表示データの電子署名の付与していることを確認する。   When the block verification terminal 3 receives the block data D and the display data M with the signature of the issuer, the block verification terminal 3 verifies the block chain data B and the store data A held by the block verification terminal 3 in steps S121 and S122. The block verification terminal 3 confirms that the long-term storage data L included in the registration transaction data TR ′ included in the block data D is associated with the display data M. When verification data is also generated in step S112, the block verification terminal 3 also refers to the verification data K and confirms that it is associated. The block verification terminal 3 updates the store data A of the block generation terminal 2 based on the received display data M, the digest of the store data A after the update, and the digest of the store data in the header of the received block data D It is determined whether or not. Further, the block verification terminal 3 confirms that the issuer of the registration transaction data TR ′ has given the electronic signature of the display data.

ブロック検証端末3は、検証の結果、自身の格納するブロックチェーンデータBおよびストアデータAがそれぞれ最新のデータでないと判断した場合、ステップS123において、P2PネットワークNに問い合わせて、ブロック生成端末2等から最新のブロックチェーンデータBおよびストアデータAを取得する。   When the block verification terminal 3 determines that the block chain data B and the store data A stored therein are not the latest data as a result of the verification, in step S123, the block verification terminal 3 inquires the P2P network N, The latest block chain data B and store data A are acquired.

(削除方法)
図10を参照して、トランザクション発行端末1が、削除トランザクションデータTDを送信する際の処理を説明する。
(How to delete)
With reference to FIG. 10, a process when the transaction issuing terminal 1 transmits the deletion transaction data TD will be described.

まずステップS201においてトランザクション発行端末1は、削除トランザクションデータTDを生成する。削除トランザクションデータTDは、削除対象の表示データMの識別子を含む。   First, in step S201, the transaction issuing terminal 1 generates deletion transaction data TD. The deletion transaction data TD includes an identifier of display data M to be deleted.

ステップS201において削除トランザクションデータTDが生成されると、ステップS202においてトランザクション発行端末1は、削除トランザクションデータTDをP2PネットワークNに送信し、ブロック生成端末2が削除トランザクションデータTDを受信する。   When the deletion transaction data TD is generated in step S201, the transaction issuing terminal 1 transmits the deletion transaction data TD to the P2P network N in step S202, and the block generation terminal 2 receives the deletion transaction data TD.

ブロック生成端末2は、削除トランザクションデータTDを受信すると、削除トランザクションデータTDの有効性を検証する。有効性を検証できた場合、ブロック生成端末2は、ステップS211において、ストアデータAから、削除トランザクションデータTDに含まれる識別子で特定される表示データMを削除する。ブロック生成端末2は、表示データMに対応する検証データKがある場合、検証データKも削除する。   When receiving the deletion transaction data TD, the block generation terminal 2 verifies the validity of the deletion transaction data TD. When the validity can be verified, the block generation terminal 2 deletes the display data M specified by the identifier included in the deletion transaction data TD from the store data A in step S211. If there is verification data K corresponding to the display data M, the block generation terminal 2 also deletes the verification data K.

ステップS212ブロック生成端末2は、ストアデータAのダイジェストを生成し、新たに生成する第NブロックのブロックデータDのヘッダを生成する。図8に示すように、第NブロックのブロックデータDのヘッダには、(1)前ブロック(N−1)のハッシュ値、(2)ブロックに格納するトランザクションのダイジェスト、および(3)ストアデータAのダイジェストを含む。削除方法において(2)ブロックに格納するトランザクションのダイジェストには、ステップS202で受信した削除トランザクションデータTDのダイジェストを含む。   Step S212 The block generation terminal 2 generates a digest of the store data A, and generates a header of the block data D of the Nth block to be newly generated. As shown in FIG. 8, the header of the block data D of the Nth block includes (1) the hash value of the previous block (N−1), (2) the digest of the transaction stored in the block, and (3) store data. Includes the digest of A. In the deletion method, (2) the digest of the transaction stored in the block includes the digest of the deletion transaction data TD received in step S202.

ステップS213においてブロック生成端末2は、削除トランザクションデータTDを含むブロックデータDの生成を試みる。ここでブロック生成端末2がブロックデータDの生成に成功すると、ステップS214においてブロック生成端末2は、ブロックチェーンデータBにステップS213で生成したブロックデータDを連結して、ブロックチェーンデータBを更新する。   In step S213, the block generation terminal 2 tries to generate block data D including the deletion transaction data TD. When the block generation terminal 2 succeeds in generating the block data D, the block generation terminal 2 updates the block chain data B by connecting the block data D generated in step S213 to the block chain data B in step S214. .

ステップS215においてブロック生成端末2は、ステップS213で生成したブロックデータDを、P2PネットワークNに送信する。   In step S215, the block generation terminal 2 transmits the block data D generated in step S213 to the P2P network N.

ブロック検証端末3は、ブロックデータD等を受信すると、ステップS221およびS222において、ブロック検証端末3が保持するブロックチェーンデータBおよびストアデータAを検証する。ブロック検証端末3は、削除トランザクションデータTDの識別子で特定される表示データMを、ストアデータAから削除してストアデータAを更新し、その更新後のストアデータAのダイジェストと、受信したブロックデータDのヘッダにおけるストアデータのダイジェストが一致するか否かを判定する。   When receiving the block data D and the like, the block verification terminal 3 verifies the block chain data B and the store data A held by the block verification terminal 3 in steps S221 and S222. The block verification terminal 3 deletes the display data M specified by the identifier of the deletion transaction data TD from the store data A, updates the store data A, the digest of the store data A after the update, and the received block data It is determined whether or not the digests of the store data in the header of D match.

ブロック検証端末3は、検証の結果、自身の格納するブロックチェーンデータBおよびストアデータAがそれぞれ最新のデータでないと判断した場合、ステップS223において、P2PネットワークNに問い合わせて、ブロック生成端末2等から最新のブロックチェーンデータBおよびストアデータAを取得する。   If the block verification terminal 3 determines that the block chain data B and the store data A stored therein are not the latest data as a result of the verification, in step S223, the block verification terminal 3 inquires the P2P network N, The latest block chain data B and store data A are acquired.

(鍵更新方法)
図10を参照して、トランザクション発行端末1が、鍵更新トランザクションデータTKを送信する際の処理を説明する。
(Key update method)
With reference to FIG. 10, a process when the transaction issuing terminal 1 transmits the key update transaction data TK will be described.

まずステップS301においてトランザクション発行端末1は、鍵更新トランザクションデータTKを生成する。鍵更新トランザクションデータTKは、鍵の更新対象の表示データMの識別子と、更新後の発行者の公開鍵を含む。   First, in step S301, the transaction issuing terminal 1 generates key update transaction data TK. The key update transaction data TK includes the identifier of the display data M that is the key update target and the updated public key of the issuer.

ステップS301において鍵更新トランザクションデータTKが生成されると、ステップS302においてトランザクション発行端末1は、鍵更新トランザクションデータTKをP2PネットワークNに送信し、ブロック生成端末2が鍵更新トランザクションデータTKを受信する。   When the key update transaction data TK is generated in step S301, the transaction issuing terminal 1 transmits the key update transaction data TK to the P2P network N in step S302, and the block generation terminal 2 receives the key update transaction data TK.

ブロック生成端末2は、鍵更新トランザクションデータTKを受信すると、鍵更新トランザクションデータTKの有効性を検証する。有効性を検証できた場合、ステップS311において、ストアデータAから、鍵更新トランザクションデータTKに含まれる識別子で特定される表示データMを抽出し、抽出した表示データMを、更新後の公開鍵で暗号化して、更新後表示データM’を生成する。   When receiving the key update transaction data TK, the block generation terminal 2 verifies the validity of the key update transaction data TK. If the validity can be verified, in step S311, the display data M identified by the identifier included in the key update transaction data TK is extracted from the store data A, and the extracted display data M is updated with the updated public key. The updated display data M ′ is generated by encryption.

ステップS312においてブロック生成端末2は、更新後表示データM’から更新後長期保存データL’を生成する。このとき、ブロック生成端末2は、必要に応じて更新後検証データK’も生成する。   In step S312, the block generation terminal 2 generates updated long-term storage data L 'from the updated display data M'. At this time, the block generation terminal 2 also generates post-update verification data K ′ as necessary.

ステップS313においてブロック生成端末2は、ステップS302で取得した鍵更新トランザクションデータTKに、ステップS312で生成した更新後長期保存データL’を設定して、鍵更新トランザクションデータTK’を生成する。   In step S313, the block generation terminal 2 sets the updated long-term storage data L ′ generated in step S312 to the key update transaction data TK acquired in step S302, and generates key update transaction data TK ′.

ステップS314においてブロック生成端末2は、ストアデータAに、更新後表示データM’を挿入する。ステップS312において更新後検証データK’も生成した場合、ブロック生成端末2は、ストアデータAに、更新後検証データK’も挿入する。   In step S314, the block generation terminal 2 inserts the updated display data M ′ into the store data A. When the updated verification data K ′ is also generated in step S <b> 312, the block generation terminal 2 also inserts the updated verification data K ′ into the store data A.

ステップS315においてブロック生成端末2は、ストアデータAのダイジェストを生成し、新たに生成する第NブロックのブロックデータDのヘッダを生成する。図8に示すように、第NブロックのブロックデータDのヘッダには、(1)前ブロック(N−1)のハッシュ値、(2)ブロックに格納するトランザクションのダイジェスト、および(3)ストアデータAのダイジェストを含む。鍵更新方法において(2)ブロックに格納するトランザクションのダイジェストには、ステップS313で生成した鍵更新トランザクションデータTK’のダイジェストを含む。   In step S315, the block generation terminal 2 generates a digest of the store data A, and generates a header of the block data D of the Nth block to be newly generated. As shown in FIG. 8, the header of the block data D of the Nth block includes (1) the hash value of the previous block (N−1), (2) the digest of the transaction stored in the block, and (3) store data. Includes the digest of A. In the key update method, (2) the digest of the transaction stored in the block includes the digest of the key update transaction data TK ′ generated in step S313.

ステップS316においてブロック生成端末2は、鍵更新トランザクションデータTK’を含むブロックの生成を試みる。ここでブロック生成端末2がブロックの生成に成功すると、すなわち、ブロックデータDを生成すると、ステップS317においてブロック生成端末2は、ブロックチェーンデータBにステップS316で生成したブロックデータDを連結して、ブロックチェーンデータBを更新する。   In step S316, the block generation terminal 2 tries to generate a block including the key update transaction data TK ′. When the block generation terminal 2 succeeds in generating the block, that is, when the block data D is generated, the block generation terminal 2 concatenates the block data D generated in step S316 to the block chain data B in step S317, and Update blockchain data B.

ステップS318においてブロック生成端末2は、ステップS316で生成したブロックデータDを、P2PネットワークNに送信する。ステップS312において更新後検証データK’も生成した場合、ブロック生成端末2は、更新後検証データK’も送信する。   In step S318, the block generation terminal 2 transmits the block data D generated in step S316 to the P2P network N. When the updated verification data K ′ is also generated in step S312, the block generation terminal 2 also transmits the updated verification data K ′.

ブロック検証端末3は、ブロックデータD等を受信すると、ステップS321およびS322において、ブロック検証端末3が保持するブロックチェーンデータBおよびストアデータAを検証する。ブロック検証端末3は、ブロック生成端末2から受信したブロックデータDの鍵更新トランザクションデータTK’を読み出して、表示データMの識別子と、更新後の公開鍵を取得する。ブロック検証端末3は、ストアデータ3から表示データMを取得して公開鍵で暗号化して、更新後表示データM’を生成し、ストアデータAに挿入する。ブロック検証端末3は、ブロックデータDに含まれる鍵更新トランザクションデータTK’に含まれる更新後長期保存データL’と、ストアデータAの更新後表示データM’とが紐づくことを確認する。ステップS312において更新後検証データK’も生成した場合、ブロック検証端末3は、更新後検証データK’も参照して、紐づくことを確認する。ブロック検証端末3は、更新後のストアデータAのダイジェストと、受信したブロックデータDのヘッダにおけるストアデータのダイジェストが一致するか否かを判定する。   When receiving the block data D and the like, the block verification terminal 3 verifies the block chain data B and the store data A held by the block verification terminal 3 in steps S321 and S322. The block verification terminal 3 reads the key update transaction data TK ′ of the block data D received from the block generation terminal 2, and acquires the identifier of the display data M and the updated public key. The block verification terminal 3 acquires the display data M from the store data 3 and encrypts it with the public key, generates updated display data M ′, and inserts it into the store data A. The block verification terminal 3 confirms that the updated long-term storage data L ′ included in the key update transaction data TK ′ included in the block data D and the updated display data M ′ of the store data A are linked. When the updated verification data K ′ is also generated in step S <b> 312, the block verification terminal 3 also refers to the updated verification data K ′ and confirms that it is linked. The block verification terminal 3 determines whether or not the digest of the updated store data A matches the digest of the store data in the received header of the block data D.

ブロック検証端末3は、検証の結果、自身の格納するブロックチェーンデータBおよびストアデータAがそれぞれ最新のデータでないと判断した場合、ステップS323において、P2PネットワークNに問い合わせて、ブロック生成端末2等から最新のブロックチェーンデータBおよびストアデータAを取得する。   If the block verification terminal 3 determines that the block chain data B and the store data A stored therein are not the latest data as a result of the verification, in step S323, the block verification terminal 3 inquires the P2P network N and The latest block chain data B and store data A are acquired.

図11に示す例において更新後長期保存データL’が鍵更新トランザクションデータTK’に設定される場合を説明したが、これに限られない。更新後長期保存データL’は、ブロックチェーンデータBとしてP2PネットワークNで共有されればよく、どのような形式でも良い。   In the example shown in FIG. 11, the case where the updated long-term storage data L ′ is set as the key update transaction data TK ′ has been described. The updated long-term storage data L ′ may be shared by the P2P network N as the block chain data B and may be in any format.

このように本発明の実施の形態に係る処理方法において、秘匿情報を秘匿化した表示データMをブロックチェーンデータBに登録する際、表示データMをブロックチェーンデータB外のストアデータAに設定するとともに、表示データMに対応する長期保存データLをブロックチェーンデータBに格納する。また、表示データMを削除するトランザクションを発行することにより、ブロックチェーンデータBに格納された長期保存データLを変更することなく、ストアデータAから表示データMを削除することができる。従って、表示データM作成時の鍵の流出等による不利益を抑制するとともに、ブロックチェーンの仕組みを活用して、表示データMを一時的に保持することができる。   Thus, in the processing method according to the embodiment of the present invention, when the display data M in which the confidential information is concealed is registered in the block chain data B, the display data M is set in the store data A outside the block chain data B. At the same time, the long-term storage data L corresponding to the display data M is stored in the block chain data B. Further, by issuing a transaction for deleting the display data M, the display data M can be deleted from the store data A without changing the long-term storage data L stored in the block chain data B. Accordingly, it is possible to suppress the disadvantage caused by the outflow of the key at the time of creating the display data M, and to temporarily hold the display data M by utilizing the block chain mechanism.

このように本発明の実施の形態によれば、ブロックチェーンの仕組みにおいて、一時的にトランザクションの情報を保持することができる。   As described above, according to the embodiment of the present invention, transaction information can be temporarily held in a block chain mechanism.

(その他の実施の形態)
上記のように、本発明の実施の形態によって記載したが、この開示の一部をなす論述および図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施の形態、実施例および運用技術が明らかとなる。
(Other embodiments)
As described above, the embodiments of the present invention have been described. However, it should not be understood that the descriptions and drawings constituting a part of this disclosure limit the present invention. From this disclosure, various alternative embodiments, examples, and operational techniques will be apparent to those skilled in the art.

例えば、本発明の実施の形態に記載したトランザクション発行端末、ブロック生成端末およびブロック検証端末は、図2ないし4にそれぞれ示すように一つのハードウエア上に構成されても良いし、その機能や処理数に応じて複数のハードウエア上に構成されても良い。また、既存の情報処理装置上に実現されても良い。   For example, the transaction issuing terminal, block generation terminal, and block verification terminal described in the embodiment of the present invention may be configured on one piece of hardware as shown in FIGS. You may comprise on several hardware according to a number. Moreover, you may implement | achieve on the existing information processing apparatus.

本発明はここでは記載していない様々な実施の形態等を含むことは勿論である。従って、本発明の技術的範囲は上記の説明から妥当な特許請求の範囲に係る発明特定事項によってのみ定められるものである。   It goes without saying that the present invention includes various embodiments not described herein. Therefore, the technical scope of the present invention is defined only by the invention specifying matters according to the scope of claims reasonable from the above description.

1 トランザクション発行端末
2 ブロック生成端末
3 ブロック検証端末
10 処理システム
110、210、310 記憶装置
120、220、320 処理装置
121 登録手段
122 削除手段
123 鍵更新手段
130、230、330 通信制御装置
221 トランザクション処理手段
222 ブロック生成手段
223、322 同期手段
321 検証手段
A ストアデータ
B ブロックチェーンデータ
D ブロックデータ
K 検証データ
K’ 更新後検証データ
L 長期保存データ
L’ 更新後長期保存データ
M 表示データ
M’ 更新後表示データ
N P2Pネットワーク
T トランザクションデータ
TD 削除トランザクションデータ
TR 登録トランザクションデータ
DESCRIPTION OF SYMBOLS 1 Transaction issuing terminal 2 Block generation terminal 3 Block verification terminal 10 Processing system 110, 210, 310 Storage device 120, 220, 320 Processing device 121 Registration means 122 Deletion means 123 Key update means 130, 230, 330 Communication control device 221 Transaction processing Means 222 Block generation means 223, 322 Synchronizing means 321 Verification means A Store data B Block chain data D Block data K Verification data K ′ Updated verification data L Long-term storage data L ′ Updated long-term storage data M Display data M ′ After update Display data N P2P network T Transaction data TD Delete transaction data TR Registration transaction data

Claims (8)

トランザクションデータを発行するトランザクション発行端末と、前記トランザクションデータに基づいてトランザクションを処理し、前記トランザクションデータを含むブロックデータを生成し、ブロックチェーンデータに連結するブロック生成端末とを備える処理システムであって、
前記トランザクション発行端末は、
表示データを含む登録トランザクションデータを、送信する登録手段を有し、
前記ブロック生成端末は、
前記登録トランザクションデータを受信すると、前記登録トランザクションデータから前記表示データを削除し、前記表示データに対応する長期保存データを生成し、前記表示データをストアデータに設定するトランザクション処理手段と、
前記長期保存データを含むブロックデータを生成し、生成したブロックデータを、ブロックチェーンデータに連結するとともに、前記表示データおよび前記生成したブロックデータを送信するブロック生成手段を備える
ことを特徴とする処理システム。
A processing system comprising: a transaction issuing terminal that issues transaction data; and a block generation terminal that processes a transaction based on the transaction data, generates block data including the transaction data, and connects to block chain data.
The transaction issuing terminal is
Having registration means for transmitting registration transaction data including display data;
The block generation terminal
When receiving the registration transaction data, transaction processing means for deleting the display data from the registration transaction data, generating long-term storage data corresponding to the display data, and setting the display data as store data;
A processing system comprising block generation means for generating block data including the long-term storage data, connecting the generated block data to block chain data, and transmitting the display data and the generated block data .
前記トランザクション発行端末は、
前記表示データの削除を依頼する際、前記表示データを削除するための削除トランザクションデータを、送信する削除手段をさらに備え、
前記ブロック生成端末において、
前記トランザクション処理手段は、前記削除トランザクションデータを受信すると、前記ストアデータから前記表示データを削除し、
前記ブロック生成手段は、前記削除トランザクションデータを含むブロックデータを生成し、生成したブロックデータを、ブロックチェーンデータに連結するとともに、前記生成したブロックデータを送信する
ことを特徴とする請求項1に記載の処理システム。
The transaction issuing terminal is
A deletion means for transmitting deletion transaction data for deleting the display data when requesting deletion of the display data;
In the block generation terminal,
When the transaction processing means receives the deletion transaction data, the transaction processing means deletes the display data from the store data,
The block generation unit generates block data including the deletion transaction data, concatenates the generated block data to block chain data, and transmits the generated block data. Processing system.
前記トランザクション発行端末は、
前記表示データの暗号化鍵の更新を依頼する際、前記表示データの識別子と新たな暗号化鍵を含む鍵更新トランザクションデータを、送信する鍵更新手段をさらに備え、
前記ブロック生成端末において、
前記トランザクション処理手段は、前記鍵更新トランザクションデータを受信すると、前記表示データを新たな公開鍵で暗号化して、更新後表示データを生成し、前記更新後表示データに対応する更新後長期保存データを生成し、前記ストアデータの前記表示データを、前記更新後表示データに更新し、
前記ブロック生成手段は、前記更新後長期保存データを含むブロックデータを生成し、生成したブロックデータを、前記ブロックチェーンデータに連結するとともに、前記生成したブロックデータを送信する
ことを特徴とする請求項1または2に記載の処理システム。
The transaction issuing terminal is
A key update means for transmitting key update transaction data including an identifier of the display data and a new encryption key when requesting an update of the encryption key of the display data;
In the block generation terminal,
When receiving the key update transaction data, the transaction processing means encrypts the display data with a new public key , generates updated display data, and stores updated long-term storage data corresponding to the updated display data. Generating, updating the display data of the store data to the updated display data,
The block generation unit generates block data including the updated long-term storage data, connects the generated block data to the block chain data, and transmits the generated block data. The processing system according to 1 or 2.
トランザクションデータを発行するトランザクション発行端末と、前記トランザクションデータに基づいてトランザクションを処理し、前記トランザクションデータを含むブロックデータを生成し、ブロックチェーンデータに連結するブロック生成端末とを備える処理システムに用いられる処理方法であって、
前記トランザクション発行端末が、表示データを含む登録トランザクションデータを、送信するステップと、
前記ブロック生成端末が、前記登録トランザクションデータを受信するステップと、
前記ブロック生成端末が、前記登録トランザクションデータから前記表示データを削除し、前記表示データに対応する長期保存データを生成するステップと、
前記ブロック生成端末が、前記表示データをストアデータに設定するステップと、
前記ブロック生成端末が、前記長期保存データを含むブロックデータを生成するステップと、
前記ブロック生成端末が、生成したブロックデータを、ブロックチェーンデータに連結するとともに、前記表示データおよび前記生成したブロックデータを送信するステップ
を備えることを特徴とする処理方法。
Processing used in a processing system comprising a transaction issuing terminal that issues transaction data, and a block generation terminal that processes a transaction based on the transaction data, generates block data including the transaction data, and connects the block data to block chain data A method,
The transaction issuing terminal transmitting registration transaction data including display data;
The block generation terminal receiving the registration transaction data;
The block generation terminal deleting the display data from the registration transaction data, and generating long-term storage data corresponding to the display data;
The block generation terminal sets the display data to store data;
The block generation terminal generating block data including the long-term storage data;
The block generation terminal includes a step of connecting the generated block data to block chain data and transmitting the display data and the generated block data.
前記長期保存データを生成するステップにおいて前記ブロック生成端末は、さらに、前記表示データと前記長期保存データとの対応づけを確認するための検証データを生成し、
前記表示データを前記ストアデータに設定するステップにおいて前記ブロック生成端末は、さらに、前記検証データを前記ストアデータに設定する
ことを特徴とする請求項4に記載の処理方法。
In the step of generating the long-term storage data, the block generation terminal further generates verification data for confirming the correspondence between the display data and the long-term storage data,
The processing method according to claim 4, wherein in the step of setting the display data to the store data, the block generation terminal further sets the verification data to the store data.
前記トランザクション発行端末が、前記表示データの削除を依頼する際、
前記トランザクション発行端末が、前記表示データを削除するための削除トランザクションデータを、送信するステップと、
前記ブロック生成端末が、前記削除トランザクションデータを受信するステップと、
前記ブロック生成端末が、前記ストアデータから前記表示データを削除するステップと、
前記ブロック生成端末が、前記削除トランザクションデータを含むブロックデータを生成するステップと、
前記ブロック生成端末が、生成したブロックデータを、ブロックチェーンデータに連結するとともに、前記生成したブロックデータを送信するステップ
をさらに備えることを特徴とする請求項4に記載の処理方法。
When the transaction issuing terminal requests deletion of the display data,
The transaction issuing terminal transmitting delete transaction data for deleting the display data; and
The block generating terminal receiving the delete transaction data;
The block generation terminal deleting the display data from the store data;
The block generation terminal generating block data including the deletion transaction data;
The processing method according to claim 4, further comprising: a step in which the block generation terminal connects the generated block data to block chain data and transmits the generated block data.
前記長期保存データを生成するステップにおいて前記ブロック生成端末は、さらに、前記表示データと前記長期保存データとの対応づけを確認するための検証データを生成し、
前記表示データを前記ストアデータに設定するステップにおいて前記ブロック生成端末は、さらに、前記検証データを前記ストアデータに設定し、
前記ストアデータから前記表示データを削除するステップにおいて前記ブロック生成端末は、さらに、前記ストアデータから前記検証データを削除する
ことを特徴とする請求項6に記載の処理方法。
In the step of generating the long-term storage data, the block generation terminal further generates verification data for confirming the correspondence between the display data and the long-term storage data,
In the step of setting the display data in the store data, the block generation terminal further sets the verification data in the store data,
The processing method according to claim 6, wherein in the step of deleting the display data from the store data, the block generation terminal further deletes the verification data from the store data.
前記トランザクション発行端末が、前記表示データの暗号化鍵の更新を依頼する際、
前記トランザクション発行端末が、前記表示データの識別子と新たな暗号化鍵を含む鍵更新トランザクションデータを、送信するステップと、
前記ブロック生成端末が、前記鍵更新トランザクションデータを受信するステップと、
前記ブロック生成端末が、前記表示データを新たな公開鍵で暗号化して、更新後表示データを生成するステップと、
前記ブロック生成端末が、前記更新後表示データに対応する更新後長期保存データを生成するステップと、
前記ブロック生成端末が、前記ストアデータの前記表示データを、前記更新後表示データに更新するステップと、
前記ブロック生成端末が、前記更新後長期保存データを含むブロックデータを生成するステップと、
前記ブロック生成端末が、生成したブロックデータを、前記ブロックチェーンデータに連結するとともに、前記生成したブロックデータを送信するステップ
をさらに備えることを特徴とする請求項4または6に記載の処理方法。
When the transaction issuing terminal requests an update of the encryption key of the display data,
The transaction issuing terminal transmitting key update transaction data including an identifier of the display data and a new encryption key;
The block generation terminal receiving the key update transaction data;
The block generation terminal encrypts the display data with a new public key and generates updated display data;
The block generation terminal generating updated long-term storage data corresponding to the updated display data;
The block generation terminal updates the display data of the store data to the updated display data;
The block generation terminal generating block data including the updated long-term storage data;
The processing method according to claim 4, further comprising: a step in which the block generation terminal concatenates the generated block data to the block chain data and transmits the generated block data.
JP2016116946A 2016-06-13 2016-06-13 Processing system and processing method Active JP6557177B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016116946A JP6557177B2 (en) 2016-06-13 2016-06-13 Processing system and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016116946A JP6557177B2 (en) 2016-06-13 2016-06-13 Processing system and processing method

Publications (2)

Publication Number Publication Date
JP2017224017A JP2017224017A (en) 2017-12-21
JP6557177B2 true JP6557177B2 (en) 2019-08-07

Family

ID=60688136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016116946A Active JP6557177B2 (en) 2016-06-13 2016-06-13 Processing system and processing method

Country Status (1)

Country Link
JP (1) JP6557177B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6586046B2 (en) * 2016-06-13 2019-10-02 日本電信電話株式会社 Processing system and processing method
CN111869159B (en) * 2018-04-27 2023-05-02 株式会社东芝 Tamper detection system and tamper detection method
JP7131106B2 (en) * 2018-06-11 2022-09-06 富士通株式会社 Transaction management device, transaction management method and program
US10911240B2 (en) * 2018-07-23 2021-02-02 Hitachi, Ltd. Off-chain blockchain storage with validation
KR102204605B1 (en) * 2019-04-25 2021-01-19 주식회사 웨이투빗 Method and device for providing blockchain capable of optimizing storages of each node included therein
KR102332004B1 (en) * 2019-05-10 2021-11-29 주식회사 메디블록 Method, system and non-transitory computer-readable recording medium for managing an account on blockchain network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5858506B1 (en) * 2015-04-09 2016-02-10 株式会社Orb Virtual currency management program and virtual currency management method
JP6586046B2 (en) * 2016-06-13 2019-10-02 日本電信電話株式会社 Processing system and processing method

Also Published As

Publication number Publication date
JP2017224017A (en) 2017-12-21

Similar Documents

Publication Publication Date Title
JP6586046B2 (en) Processing system and processing method
JP6557177B2 (en) Processing system and processing method
US20230070963A1 (en) Blockchain-implemented method for control and distribution of digital content
CN109189727B (en) Block chain ciphertext cloud storage sharing method based on attribute proxy re-encryption
WO2020080145A1 (en) Content contract system, content contract method, rights holder terminal, alienee terminal, content accumulation server, rights holder program, alienee program, control program, and content accumulation program
CN107851253B (en) Contract consensus method, consensus verification method, contract consensus system, consensus verification device, contract consensus device, computer-readable recording medium
CA2944646C (en) Certificate authority master key tracking on distributed ledger
WO2020060094A1 (en) Node device constituting blockchain network and method for operation of node device
JP7428704B2 (en) Computer-implemented systems and methods for transferring access to digital resources
CN111066019A (en) Processing data elements stored in a blockchain network
JPWO2020050390A1 (en) Right holder terminal, user terminal, right holder program, user program, content use system and content use method
US11943339B2 (en) Information processing apparatus, information processing method, and program
CN110888933B (en) Information providing method, device and system and information acquisition method and device
CN112187466B (en) Identity management method, device, equipment and storage medium
CN112787818A (en) User authentication system and method based on anonymous protocol, and recording medium
WO2020100855A1 (en) Proprietor terminal, user terminal, new proprietor terminal, proprietor program, user program, new proprietor program, content use system, and data structure of route object data
JP6894160B1 (en) Usage right information processing device based on smart contract, usage right information processing system, and usage right information processing method
JP7280517B2 (en) Right holder terminal, user terminal, right holder program, user program, content usage system and content usage method
CN110289951A (en) A kind of shared content monitoring method based on Threshold key sharing and block chain
JP2019009767A (en) Information processing device
KR102359826B1 (en) Digital property code management system based on blockchain and method thereof
JP2024509666A (en) Blockchain data segregation
KR20220030925A (en) Valuables Management System
KR20200087377A (en) User account management based on blockchain in image forming device
CN115115384A (en) Processing method and device of excitation event, electronic equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180524

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190312

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190409

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: 20190709

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190711

R150 Certificate of patent or registration of utility model

Ref document number: 6557177

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150