JP2023164279A - Control device and system for electronic locks and the like - Google Patents

Control device and system for electronic locks and the like Download PDF

Info

Publication number
JP2023164279A
JP2023164279A JP2023010934A JP2023010934A JP2023164279A JP 2023164279 A JP2023164279 A JP 2023164279A JP 2023010934 A JP2023010934 A JP 2023010934A JP 2023010934 A JP2023010934 A JP 2023010934A JP 2023164279 A JP2023164279 A JP 2023164279A
Authority
JP
Japan
Prior art keywords
dimensional code
signature
electronic
control device
lock
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.)
Pending
Application number
JP2023010934A
Other languages
Japanese (ja)
Inventor
健 岡本
Takeshi Okamoto
グゥァンウー ファン
Guangwu Fan
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.)
Blockchain Lock Inc
Original Assignee
Blockchain Lock Inc
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 Blockchain Lock Inc filed Critical Blockchain Lock Inc
Publication of JP2023164279A publication Critical patent/JP2023164279A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

To provide means capable of realizing highly reliable control of an electronic lock using a non-fungible token without unnecessarily increasing the labor of a user who attempts to unlock the electronic lock.SOLUTION: An electronic lock control device 1 according to the present invention includes a reading unit 14 capable of reading one or more two-dimensional codes C, an address acquisition unit 112 capable of acquiring the contract address of the non-fungible token recorded on the blockchain from the two-dimensional codes C, and a lock control unit 115 capable of unlocking an electronic lock 2 associated with the non-fungible token on the basis of the determination result based on an electronic signature for signed information including the contract address.SELECTED DRAWING: Figure 1

Description

本発明は、電子錠等の制御装置及びシステムに関する。 The present invention relates to a control device and system for electronic locks and the like.

電子錠の制御において、ネットワークを介した通信を利用して該制御のセキュリティ性等を高めることが行われている。該制御のセキュリティ性は、偽の情報によって電子錠を制御する試みへの耐性を含む。電子錠の制御は、高いビザンチンフォールトトレランス性を有するシステムを用いることにより、偽の情報を伝達しようとする試みに対するその耐性を高め得る。 In controlling electronic locks, communication via a network is used to improve the security of the control. The security of the control includes resistance to attempts to control the electronic lock with false information. Electronic lock controls can increase their resistance to attempts to convey false information by using a system with high Byzantine fault tolerance.

ネットワークを介した通信を利用してビザンチンフォールトトレランス性を高める技術の一例として、ブロックチェーンが知られている。ブロックチェーンを用いて構築された分散型システムにおいて、データは、該システムに参加するメンバーそれぞれによる検証が容易な態様でブロックチェーン上に記録される。 Blockchain is known as an example of a technology that uses communication via a network to improve Byzantine fault tolerance. In a distributed system built using a blockchain, data is recorded on the blockchain in a manner that can be easily verified by each member participating in the system.

したがって、このような分散型システムでは、ブロックチェーン上に記録されたデータを偽造する試みが容易に検出され、データの偽造が防がれ得る。よって、ブロックチェーンを用いることにより、高いビザンチンフォールトトレランス性を有する分散型システムが実現可能となる。 Therefore, in such a distributed system, attempts to forge data recorded on the blockchain can be easily detected and data forgery can be prevented. Therefore, by using blockchain, a distributed system with high Byzantine fault tolerance can be realized.

したがって、電子錠の制御においてブロックチェーンを利用することにより、該制御を実現するプラットフォームのビザンチンフォールトトレランス性が高められ得る。よって、電子錠の制御においてブロックチェーンを利用することにより、該制御のセキュリティ性が高められ得る。 Therefore, by utilizing blockchain in the control of electronic locks, the Byzantine fault tolerance of the platform implementing the control can be increased. Therefore, by using blockchain in controlling an electronic lock, the security of the control can be improved.

電子錠の制御においてブロックチェーンを利用する試みに関し、特許文献1は、解錠指示により鍵を解錠する施錠装置とブロックチェーンにアクセス可能にするネットワーク通信部と、スマートデバイスとの無線通信を可能にするローカル通信部と、スマートデバイスの解錠操作に伴う台帳情報を、ネットワーク通信部を介してブロックチェーンに記録し、施錠装置に解錠指示を行う制御部と、を有することを特徴とするスマートロック装置を、開示している。 Regarding an attempt to use blockchain in controlling electronic locks, Patent Document 1 discloses a system that enables wireless communication between a locking device that unlocks a key in response to an unlocking instruction, a network communication unit that allows access to a blockchain, and a smart device. and a control unit that records ledger information associated with the unlocking operation of the smart device on the blockchain via the network communication unit and instructs the locking device to unlock. A smart lock device is disclosed.

特許文献1の発明によると、電子錠の開錠操作に伴う情報の記録において高度なセキュリティ性を確保できる。 According to the invention of Patent Document 1, a high level of security can be ensured in recording information accompanying an unlocking operation of an electronic lock.

特開2020-30610号公報JP2020-30610A

ところで、ブロックチェーン上に記録可能なデータは、暗号通貨によって例示される代替性トークンに加えて、非代替性トークン(「Non-fungible Token」、「NFT」)を含む。非代替性トークンは、代替性のないデータである点において、代替性トークンと異なる。非代替性トークンを用いた電子錠の制御は、電子錠によって施錠可能な現実空間を、代替性のないデータを用いて管理し得る。これにより、当該現実空間のセキュリティ性が高められ得る。 By the way, data that can be recorded on a blockchain includes non-fungible tokens ("Non-fungible tokens", "NFTs") in addition to fungible tokens such as cryptocurrencies. Non-fungible tokens differ from fungible tokens in that they are non-fungible data. Controlling an electronic lock using a non-fungible token makes it possible to manage a real space that can be locked with an electronic lock using non-fungible data. Thereby, the security of the real space can be improved.

しかしながら、特許文献1の技術は、スマートデバイスの解錠操作に伴う台帳情報をブロックチェーンに記録し、電子錠の開錠操作に伴う情報の記録において高度なセキュリティ性を確保できるにとどまる。したがって、特許文献1の技術は、非代替性トークンを用いて電子錠によって施錠可能な現実空間を管理する点において、さらなる改良の余地がある。 However, the technology of Patent Document 1 can only record ledger information associated with unlocking operations of smart devices on a blockchain, and ensure a high level of security in recording information associated with unlocking operations of electronic locks. Therefore, the technology of Patent Document 1 has room for further improvement in terms of managing a real space that can be locked with an electronic lock using a non-fungible token.

本発明は、上述のような従来技術の問題点を解決すべくなされたものであり、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供することを目的とする。 The present invention has been made in order to solve the problems of the prior art as described above, and allows the use of non-fungible tokens without unnecessarily increasing the effort of users who attempt to unlock electronic locks. The purpose of this study is to provide a means to realize highly reliable control of electronic locks.

本発明者らは、上記課題を解決するために鋭意検討した結果、ブロックチェーンに記録された非代替性トークンのコントラクトアドレスを、読取部で読み取った二次元コードから取得し、読み取ったコントラクトアドレス等に対する電子署名に基づく判別結果であって、この二次元コードを提示した提示者が非代替性トークンの所有者であるかの判別結果に基づいて非代替性トークンに対応付けられた電子錠を制御することによって上述の課題を解決可能であることを見出し、本発明を完成させるに至った。具体的に、本発明は以下のものを提供する。 As a result of intensive studies to solve the above problems, the present inventors acquired the contract address of the non-fungible token recorded on the blockchain from the two-dimensional code read by the reader, and the read contract address etc. The electronic lock associated with the non-fungible token is controlled based on the determination result based on the electronic signature of the non-fungible token, and the presenter who presented the two-dimensional code is the owner of the non-fungible token. The inventors have discovered that the above-mentioned problems can be solved by doing the following, and have completed the present invention. Specifically, the present invention provides the following.

第1の特徴に係る発明は、1又は複数の二次元コードを読み取り可能な読取部と、ブロックチェーンに記録された非代替性トークンのコントラクトアドレスを前記二次元コードから取得可能なアドレス取得部と、前記コントラクトアドレスを含む被署名情報に対する電子署名に基づく判別結果に基づいて前記非代替性トークンに対応付けられた電子錠の解錠を実行可能な錠制御実行部と、を備える、電子錠の制御装置を提供する。 The invention according to the first feature includes: a reading unit that can read one or more two-dimensional codes; and an address acquisition unit that can acquire a contract address of a non-fungible token recorded on a blockchain from the two-dimensional code. , a lock control execution unit capable of unlocking the electronic lock associated with the non-fungible token based on a determination result based on the electronic signature for the signed information including the contract address; Provide a control device.

非代替性トークンのコントラクトアドレスは、ブロックチェーン上に記録された非代替性トークンへのアクセスを可能とする。したがって、電子錠の制御装置は、電子錠の解錠を希望する利用者から提供された非代替性トークンのコントラクトアドレスを取得することにより、該非代替性トークンを用いて電子錠を制御し得る。制御装置は、非代替性トークンを用いて電子錠を制御することにより、ブロックチェーンを用いた信頼性の高い電子錠の制御を実現し得る。 A non-fungible token contract address allows access to the non-fungible token recorded on the blockchain. Therefore, the electronic lock control device can control the electronic lock using the non-fungible token by acquiring the contract address of the non-fungible token provided by the user who wishes to unlock the electronic lock. By controlling the electronic lock using the non-fungible token, the control device can realize highly reliable control of the electronic lock using the blockchain.

しかしながら、非代替性トークンは、他のトークンによって代替可能でない、すなわち、代替性を有しないトークンである。したがって、非代替性トークンのコントラクトアドレスは、少なくとも、当該非代替性トークンを記録したブロックチェーン上において当該非代替性トークンの発行元を特定可能な情報を含むことが求められる。これにより、非代替性トークンのコントラクトアドレスは、長く複雑なアドレスとなり得る。そのようなコントラクトアドレスを利用者が直接入力するように電子錠を制御する手段を構成した場合、電子錠を開錠しようとする利用者の労力が著しく増大し得る。 However, a non-fungible token is a token that is not fungible with other tokens, ie, has no fungibility. Therefore, the contract address of a non-fungible token is required to include at least information that can identify the issuer of the non-fungible token on the blockchain that records the non-fungible token. This allows the contract address of a non-fungible token to be a long and complex address. If the means for controlling the electronic lock is configured such that the user directly inputs such a contract address, the effort of the user attempting to unlock the electronic lock may significantly increase.

また、非代替性トークンのコントラクトアドレスは、秘密の情報ではない場合があり得る。したがって、提供されたコントラクトアドレスのみに基づいて制御装置が電子錠を制御する場合、非代替性トークンの所有者でない非所有者が秘密の情報でないコントラクトアドレスを制御装置に提供し、電子錠の開錠を不正に試みることが懸念される。 Furthermore, the contract address of a non-fungible token may not be confidential information. Therefore, if a control device controls an electronic lock based only on the provided contract address, a non-owner who is not the owner of a non-fungible token can provide the control device with a contract address that is not confidential information and open the electronic lock. There is a concern that unauthorized attempts may be made to lock the lock.

第1の特徴に係る発明によれば、読取部における二次元コードの読取を介してアドレス取得部がコントラクトアドレスを取得し、このコントラクトアドレスを含む被署名情報に対する電子署名に基づく判別結果に基づいて錠制御実行部が電子錠を制御する。これにより、制御装置は、電子署名に基づく判別結果に基づいて二次元コードを提示した提示者が非代替性トークンの所有者であるかを判別して電子錠を制御し得る。 According to the invention according to the first feature, the address acquisition section acquires the contract address through reading the two-dimensional code in the reading section, and based on the determination result based on the electronic signature on the signed information including the contract address. A lock control execution unit controls the electronic lock. Thereby, the control device can control the electronic lock by determining whether the presenter who presented the two-dimensional code is the owner of the non-fungible token based on the determination result based on the electronic signature.

よって、第1の特徴に係る発明によれば、信頼性の高い開錠を行うことを可能とする各種情報の提供に伴う煩雑な手順を利用者に行わせて電子錠を開錠しようとする利用者の労力をいたずらに増やすことを防ぐことと、ブロックチェーン上に記録された信頼性の高い非代替性トークンと電子署名に基づく所有者の判別とに基づいて信頼性の高い開錠を行うことと、を両立し得る。 Therefore, according to the invention according to the first feature, the user attempts to unlock the electronic lock by having the user perform complicated procedures associated with providing various information that enables highly reliable unlocking. To prevent unnecessarily increasing the user's effort, and to perform highly reliable unlocking based on highly reliable non-fungible tokens recorded on the blockchain and identification of the owner based on electronic signatures. It is possible to achieve both.

したがって、第1の特徴に係る発明によれば、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, according to the invention according to the first feature, highly reliable electronic lock control using a non-fungible token can be performed without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock. We can provide a means to achieve this.

第2の特徴に係る発明は、第1の特徴に係る発明であって、前記非代替性トークンは、前記非代替性トークンと対応付けられた所定の仮想空間へのアクセス制御に利用可能である、制御装置を提供する。 The invention according to the second characteristic is the invention according to the first characteristic, wherein the non-fungible token can be used to control access to a predetermined virtual space associated with the non-fungible token. , provides a control device.

ブロックチェーン上に記録された非代替性トークンを用いて、仮想空間(「メタバース」)で開催されるイベント等への入場を管理することが行われている。非代替性トークンを用いた入場の管理は、当該仮想空間のセキュリティ性を高め得る。 Non-fungible tokens recorded on blockchain are used to manage admission to events held in virtual space (the "metaverse"). Managing admission using non-fungible tokens can improve the security of the virtual space.

第2の特徴に係る発明によれば、仮想空間及び現実空間それぞれへの入場管理を1つの非代替性トークンによって実現し得る。これにより、電子錠を開錠しようとする利用者は、仮想空間へのアクセス制御に用いる非代替性トークンと、現実空間を施錠可能な電子錠の開錠に用いる非代替性トークンと、をそれぞれ別に管理する労力を費やすことなく、1つの非代替性トークンによって、該非代替性トークンと対応付けられた仮想空間及び現実空間の両方にアクセスできる。 According to the invention according to the second feature, entry management to each of the virtual space and the real space can be realized using one non-fungible token. As a result, a user who attempts to unlock an electronic lock can obtain a non-fungible token used to control access to the virtual space and a non-fungible token used to unlock the electronic lock that can lock the real space. One non-fungible token allows access to both the virtual space and the real space associated with the non-fungible token without requiring separate management effort.

したがって、第2の特徴に係る発明によれば、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, according to the invention according to the second feature, highly reliable electronic lock control using a non-fungible token can be performed without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock. We can provide a means to achieve this.

第3の特徴に係る発明は、第1又は第2の特徴に係る発明であって、前記被署名情報は、前記二次元コードの生成ごとに一意な情報であり、前記制御装置は、前記二次元コードから前記被署名情報及び前記電子署名を取得可能な署名等取得部と、前記取得した前記電子署名が有効であるか判別可能な署名判別部と、前記取得した前記電子署名が有効である場合、前記取得した前記被署名情報及び前記電子署名に基づいて、前記二次元コードが前記二次元コードの所有者によって提示されたかを判別可能な提示者判別部と、をさらに備え、前記錠制御実行部は、前記提示者判別部による判別結果に基づいて前記電子錠の制御及び/又は前記取引の許可を実行可能である、制御装置を提供する。 The invention according to a third characteristic is the invention according to the first or second characteristic, wherein the signed information is unique information for each generation of the two-dimensional code, and the control device a signature acquisition unit capable of acquiring the signed information and the electronic signature from the dimensional code; a signature determination unit capable of determining whether the acquired electronic signature is valid; and a signature determination unit capable of determining whether the acquired electronic signature is valid. In this case, the lock controller further comprises: a presenter determination unit capable of determining whether the two-dimensional code has been presented by the owner of the two-dimensional code based on the acquired signature information and the electronic signature; The execution unit provides a control device capable of controlling the electronic lock and/or permitting the transaction based on the determination result by the presenter determination unit.

二次元コードを用いた電子錠の制御において、利用者が二次元コードを用いて電子錠を制御可能な回数及び/又は期間等を限定する要望がある。また、二次元コードを用いた電子錠の制御において、二次元コードが漏えい等した場合に、漏えい等した二次元コードを無効化する要望がある。 In controlling an electronic lock using a two-dimensional code, there is a desire to limit the number of times and/or the period during which a user can control the electronic lock using a two-dimensional code. Furthermore, in controlling an electronic lock using a two-dimensional code, if the two-dimensional code is leaked, there is a desire to invalidate the leaked two-dimensional code.

第3の特徴に係る発明によれば、生成された二次元コードごとに電子錠を制御可能な回数及び/又は期間等を管理し得る。なぜならば、第3の特徴に係る発明では、被署名情報が二次元コードの生成ごとに一意な情報であり、署名等取得部が二次元コードから取得した電子署名について、署名判別部が有効であるか判別可能であり、電子署名が有効である場合、提示者判別部が取得した被署名情報及び電子署名に基づいて、二次元コードが二次元コードの所有者によって提示されたかを判別できるためである。 According to the invention related to the third feature, the number of times and/or the period during which the electronic lock can be controlled can be managed for each generated two-dimensional code. This is because, in the invention according to the third characteristic, the signed information is unique information for each generation of a two-dimensional code, and the signature determination unit is valid for the electronic signature acquired from the two-dimensional code by the signature acquisition unit. If it is possible to determine whether the two-dimensional code is present and the electronic signature is valid, it is possible to determine whether the two-dimensional code has been presented by the owner of the two-dimensional code based on the signed information and the electronic signature acquired by the presenter determination unit. It is.

また、第3の特徴に係る発明によれば、二次元コードが漏えい等した場合、他の二次元コードの効力に影響を及ぼすことなく、漏えい等した当該二次元コードのみを無効化し得る。 Further, according to the invention according to the third feature, when a two-dimensional code is leaked, only the leaked two-dimensional code can be invalidated without affecting the effectiveness of other two-dimensional codes.

さらに、第3の特徴に係る発明によれば、署名等取得部が二次元コードから電子署名等を取得可能であることにより、制御装置は、ネットワークを介して電子署名等を取得することなく、電子署名等を取得できる。よって、ネットワークを介して電子署名等が傍受されるリスクが低減され得る。 Furthermore, according to the invention according to the third feature, since the signature etc. acquisition unit can acquire the electronic signature etc. from the two-dimensional code, the control device can perform the following operations without acquiring the electronic signature etc. via the network. You can obtain electronic signatures, etc. Therefore, the risk of electronic signatures and the like being intercepted via the network can be reduced.

第3の特徴に係る発明における、二次元コードからの電子署名の取得、電子署名が有効であるかの判別、及び提示者が所有者であるかの判別を含む一連の処理は、利用者に追加の作業等を行わせることなく実現可能であり、かつ、非代替性トークンを用いた電子錠の制御の信頼性をよりいっそう高め得る。 In the invention according to the third feature, a series of processes including obtaining an electronic signature from a two-dimensional code, determining whether the electronic signature is valid, and determining whether the presenter is the owner is performed by the user. This can be achieved without any additional work, and the reliability of electronic lock control using non-fungible tokens can be further improved.

したがって、第3の特徴に係る発明によれば、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, according to the invention according to the third feature, highly reliable electronic lock control using a non-fungible token can be performed without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock. We can provide a means to achieve this.

第4の特徴に係る発明は、第3の特徴に係る発明であって、前記被署名情報は、前記二次元コードが生成されてから現在時刻までの経過時間が所定範囲に含まれるかを判別可能な所定情報を含み、前記署名判別部は、前記経過時間が所定範囲に含まれるかの判別に基づいて前記取得した前記電子署名が有効であるか判別可能である、制御装置を提供する。 The invention according to the fourth characteristic is the invention according to the third characteristic, wherein the signed information determines whether the elapsed time from the generation of the two-dimensional code to the current time is included in a predetermined range. The present invention provides a control device that includes possible predetermined information and is capable of determining whether the acquired electronic signature is valid based on a determination as to whether the elapsed time is included in a predetermined range.

二次元コードを用いた電子錠の制御において、二次元コードの有効期限を限定する要望がある。これにより、万が一二次元コードが漏えい等した場合であっても、漏えい等した当該二次元コードを用いた不正な開錠の試みを防ぎ得る。 In controlling electronic locks using two-dimensional codes, there is a desire to limit the expiration date of the two-dimensional codes. Thereby, even if the two-dimensional code is leaked, it is possible to prevent unauthorized attempts to open the lock using the leaked two-dimensional code.

また、電子署名を用いた電子錠の制御において、電子署名の有効期限を限定する要望がある。これにより、電子署名が秘密の情報でなくなった場合であっても、当該電子署名を用いた不正な開錠の試みを防ぎ得る。秘密の情報でなくなった電子署名を用いた不正な開錠の試みを防ぎ得る特徴は、電子署名がブロックチェーン上に記録され、ブロックチェーンを用いて構築された分散型システムに参加するメンバーにおいて当該電子署名が容易に検証可能な情報、すなわち、秘密でない情報となる場合に特に有益である。 Furthermore, in controlling electronic locks using electronic signatures, there is a desire to limit the expiration date of electronic signatures. Thereby, even if the electronic signature is no longer confidential information, it is possible to prevent unauthorized attempts to open the lock using the electronic signature. A feature that can prevent unauthorized attempts to open the lock using an electronic signature that is no longer confidential information is that the electronic signature is recorded on the blockchain, and the member participating in the decentralized system built using the blockchain is This is particularly useful when the electronic signature represents easily verifiable information, ie, non-confidential information.

第4の特徴に係る発明によれば、被署名情報に含まれる所定情報を用いた経過時間が所定範囲に含まれるかの判別に基づいて電子署名が有効であるか判別可能であるため、二次元コード及び/又は電子署名の有効期限を所定範囲に限定できる。したがって、第4の特徴に係る発明によれば、不正な開錠の試みがよりいっそう防がれ得る。 According to the invention according to the fourth feature, it is possible to determine whether an electronic signature is valid based on determining whether the elapsed time is included in a predetermined range using predetermined information included in the information to be signed. The expiration date of the dimensional code and/or electronic signature can be limited to a predetermined range. Therefore, according to the invention according to the fourth feature, unauthorized attempts to unlock the lock can be further prevented.

第4の特徴に係る発明における、経過時間が所定範囲に含まれるかの判別は、利用者に追加の作業等を行わせることなく実現可能であり、かつ、非代替性トークンを用いた電子錠の制御の信頼性をよりいっそう高め得る。 In the invention according to the fourth feature, the determination of whether the elapsed time is included in the predetermined range can be realized without requiring the user to perform additional work, and can be implemented using an electronic lock using a non-fungible token. The reliability of control can be further improved.

したがって、第4の特徴に係る発明によれば、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, according to the invention according to the fourth feature, highly reliable electronic lock control using a non-fungible token can be performed without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock. We can provide a means to achieve this.

第5の特徴に係る発明は、第1の特徴から第4の特徴のいずれかに係る発明であって、前記電子署名は、前記二次元コードの生成に応じて前記ブロックチェーンに記録された所定電子署名を含む、制御装置を提供する。 The invention according to a fifth feature is the invention according to any one of the first to fourth features, wherein the electronic signature is a predetermined signature recorded on the blockchain in response to generation of the two-dimensional code. A control device is provided, including an electronic signature.

第5の特徴に係る発明によれば、二次元コードの提示者が非代替性トークンの所有者であるかの判別に用いる電子署名がブロックチェーンに記録された所定電子署名を含むため、よりいっそう信頼性の高い電子署名に基づいた所有者の判別を行い得る。 According to the invention according to the fifth feature, since the electronic signature used to determine whether the presenter of the two-dimensional code is the owner of the non-fungible token includes a predetermined electronic signature recorded on the blockchain, it is even more effective. Ownership can be determined based on a highly reliable electronic signature.

第5の特徴に係る発明における、電子署名が所定電子署名を含む構成は、利用者に追加の作業等を行わせることなく実現可能であり、かつ、非代替性トークンを用いた電子錠の制御の信頼性をよりいっそう高め得る。 In the invention according to the fifth feature, the configuration in which the electronic signature includes a predetermined electronic signature can be realized without requiring the user to perform additional work, and the electronic lock can be controlled using a non-fungible token. The reliability of the system can be further improved.

したがって、第5の特徴に係る発明によれば、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, according to the invention according to the fifth feature, highly reliable electronic lock control using a non-fungible token can be performed without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock. We can provide a means to achieve this.

第6の特徴に係る発明は、第5の特徴に係る発明であって、前記所定電子署名に基づく前記判別結果の送信を外部装置に指令可能な判別指令部と、前記外部装置から前記送信された前記判別結果を受信可能な判別受信部と、をさらに備える、制御装置を提供する。 The invention according to a sixth characteristic is the invention according to the fifth characteristic, comprising: a determination command unit capable of instructing an external device to transmit the determination result based on the predetermined electronic signature; The present invention provides a control device further comprising: a determination receiving unit capable of receiving the determined determination result.

ブロックチェーンに記録された所定電子署名に基づく判別を行う処理は、二次元コードを読み取る処理、コントラクトアドレスを二次元コードから取得する処理等との比較において、複雑かつ処理量が大きい処理である。また、所定電子署名に基づく判別を行う処理においては、ネットワークを介した通信に伴う処理量の増大も懸念される。したがって、当該処理を制御装置において行う場合、制御装置の消費電力増大、制御装置の複雑化、及び/又は制御装置の大型化等の課題が生じ得る。 The process of making a determination based on a predetermined electronic signature recorded on a blockchain is a process that is complex and requires a large amount of processing compared to the process of reading a two-dimensional code, the process of obtaining a contract address from a two-dimensional code, etc. Furthermore, in the process of making a determination based on a predetermined electronic signature, there is a concern that the amount of processing will increase due to communication via a network. Therefore, when the processing is performed in a control device, problems such as increased power consumption of the control device, complexity of the control device, and/or enlargement of the control device may occur.

第6の特徴に係る発明は、判別指令部と判別受信部とを備えることにより、所定電子署名に基づく判別結果を外部装置から受信できる。これにより、ブロックチェーンに記録された所定電子署名に基づく判別を行う処理を制御装置において実行することに伴う各種課題が解消され得る。 The invention according to the sixth feature is capable of receiving a discrimination result based on a predetermined electronic signature from an external device by including a discrimination command section and a discrimination reception section. Thereby, various problems associated with executing a process of making a determination based on a predetermined electronic signature recorded on a blockchain in a control device can be solved.

第6の特徴に係る発明における外部装置から判別結果を受信する一連の処理は、利用者に追加の作業等を行わせることなく実現可能であり、かつ、非代替性トークンを用いた電子錠の制御の信頼性をよりいっそう高め得る。 The series of processing for receiving the determination result from the external device in the invention according to the sixth feature can be realized without requiring the user to perform any additional work, and can be implemented in an electronic lock using a non-fungible token. Control reliability can be further improved.

したがって、第6の特徴に係る発明によれば、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, according to the invention according to the sixth feature, highly reliable electronic lock control using a non-fungible token can be performed without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock. We can provide a means to achieve this.

第7の特徴に係る発明は、第5又は第6の特徴に係る発明であって、前記二次元コードを提示した提示者が前記非代替性トークンの所有者であるかを前記所定電子署名に基づいて判別可能な所有者判別部をさらに備え、前記錠制御実行部は、前記所有者判別部の判別結果に基づいて前記電子錠の解錠を実行可能である、制御装置を提供する。 The invention according to the seventh feature is the invention according to the fifth or sixth feature, wherein the presenter who presents the two-dimensional code is the owner of the non-fungible token. The present invention provides a control device, further comprising an owner discriminating section capable of determining based on the owner discriminating section, wherein the lock control execution section is capable of unlocking the electronic lock based on the determination result of the owner discriminating section.

二次元コードを提示した提示者が非代替性トークンの所有者であるかを所定署名情報に基づいて判別する処理を外部装置で行う場合、当該処理は、制御装置から外部装置に所定電子署名を送信する処理を含む。これにより、ネットワークの安全性が十分に保障されていない通信環境では、送信された所定電子署名が漏えい等し、漏えい等した所定電子署名が不正な開錠の試みに利用されるリスクが懸念される。 When an external device performs processing to determine whether the presenter who presented the two-dimensional code is the owner of the non-fungible token based on predetermined signature information, the processing involves sending a predetermined electronic signature from the control device to the external device. Includes processing to send. As a result, in a communication environment where network security is not sufficiently guaranteed, there is a risk that the predetermined electronic signature sent may be leaked, and the leaked predetermined electronic signature may be used in an unauthorized attempt to open the lock. Ru.

第7の特徴に係る発明によれば、所有者判別部をさらに備え、錠制御実行部が所有者判別部の判別結果に基づいて電子錠を制御可能であるため、所定電子署名を外部装置に送信することなく、二次元コードを提示した提示者が非代替性トークンの所有者であるかを所定署名情報に基づいて判別できる。したがって、第7の特徴に係る発明によれば、ネットワークの安全性が十分に保障されていない通信環境等における、不正な開錠の試みがよりいっそう防がれ得る。 According to the invention according to the seventh feature, since the lock control execution unit can control the electronic lock based on the determination result of the owner determination unit further comprising an owner determination unit, the predetermined electronic signature is transferred to the external device. It is possible to determine whether the presenter who presented the two-dimensional code is the owner of the non-fungible token based on predetermined signature information without transmitting it. Therefore, according to the invention according to the seventh feature, unauthorized attempts to unlock the lock can be further prevented in a communication environment where network safety is not sufficiently guaranteed.

第7の特徴に係る発明における、提示者が所有者であるかを電子署名に基づいて判別する処理は、利用者に追加の作業等を行わせることなく実現可能であり、かつ、非代替性トークンを用いた電子錠の制御の信頼性をよりいっそう高め得る。 In the invention according to the seventh feature, the process of determining whether the presenter is the owner based on the electronic signature can be realized without requiring the user to perform additional work, and is non-substitutable. The reliability of electronic lock control using tokens can be further improved.

したがって、第7の特徴に係る発明によれば、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, according to the invention according to the seventh feature, highly reliable electronic lock control using a non-fungible token can be performed without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock. We can provide a means to achieve this.

第8の特徴に係る発明は、サーバと、前記サーバと通信可能な端末と、を含んで構成され、前記サーバは、電子錠によって管理される管理対象の利用及び/又は取引の利用と対応付けられた被署名情報を生成可能な被署名情報生成部と、前記被署名情報に対して非代替性トークンに関する署名が行われたか判別可能な署名実行判別部と、前記利用と対応付けられた被署名情報に対する前記署名が行われたと判別された場合に、前記利用を許可可能な利用許可実行部と、を備え、前記端末は、前記被署名情報を取得可能な被署名情報取得部と、前記被署名情報に対する前記非代替性トークンに関する署名を指令可能な署名指令部と、を備える、システムを提供する。 The invention according to the eighth feature is configured to include a server and a terminal capable of communicating with the server, and the server is configured to associate the use of managed objects managed by electronic locks and/or the use of transactions. a signature information generation unit that can generate signed information that has been signed, a signature execution determination unit that can determine whether a signature related to a non-fungible token has been applied to the signed information, and a signature that is associated with the usage. a usage permission execution unit capable of permitting the use when it is determined that the signature has been applied to the signature information; the terminal includes a signed information acquisition unit capable of acquiring the signed information; A system is provided, comprising: a signature command unit capable of commanding a signature regarding the non-fungible token to information to be signed.

第8の特徴に係る発明のサーバは、上述の制御装置等によって解錠可能な電子錠によって管理される管理対象の利用及び/又は取引の利用と対応付けられた被署名情報を生成できる。そして、端末は、この被署名情報を取得し、非代替性トークンに関する署名を行える。これにより、非代替性トークンのコントラクトアドレスと管理対象の利用とが署名を介して対応するようになる。 The server of the invention according to the eighth feature can generate signed information associated with the use of a managed object and/or the use of a transaction managed by an electronic lock that can be unlocked by the above-mentioned control device or the like. The terminal then obtains this signature information and can sign the non-fungible token. As a result, the contract address of the non-fungible token and the usage of the managed object come to correspond via the signature.

第8の特徴に係る発明のサーバは、端末において管理対象の利用及び/又は取引の利用と対応付けられた非代替性トークンに関する署名が行われたと判別した場合に、電子錠によって管理される管理対象の利用及び/又は取引の利用を許可できる。 When the server of the invention according to the eighth feature determines that a signature regarding a non-fungible token associated with the use of a managed object and/or the use of a transaction has been performed on a terminal, the server manages the management using the electronic lock. You can authorize the use of the subject and/or the use of the transaction.

すなわち、第8の特徴に係る発明によれば、利用者は、端末に被署名情報を取得させ、非代替性トークンを用いて署名する簡単な手順を行うことで、非代替性トークンを用いた電子錠の制御を行える。 In other words, according to the invention according to the eighth feature, the user can obtain signature information using the non-fungible token and perform a simple procedure of signing using the non-fungible token. Can control electronic locks.

加えて、第8の特徴に係る発明によれば、利用者は、管理対象を利用する場合と同様に、端末に取引の利用と対応付けられた被署名情報を取得させ、非代替性トークンを用いて署名する簡単な手順を行うことで、非代替性トークンを用いた取引の利用を行える。 In addition, according to the invention according to the eighth feature, the user causes the terminal to acquire the signed information associated with the use of the transaction and uses the non-fungible token in the same way as when using the managed object. Transactions using non-fungible tokens can be made available by following a simple procedure of signing with non-fungible tokens.

したがって、第8の特徴に係る発明は、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, the invention according to the eighth feature realizes highly reliable control of electronic locks using non-fungible tokens without unnecessarily increasing the effort of users who attempt to unlock electronic locks. We can provide possible means.

第9の特徴に係る発明は、第8の特徴に係る発明であって、前記システムは、第1の特徴から第7の特徴のいずれかに係る制御装置をさらに含んで構成され、前記利用許可実行部は、前記管理対象の利用と対応付けられた被署名情報に対する前記署名が行われたと判別された場合に、前記非代替性トークンのコントラクトアドレス、前記被署名情報、及び前記署名に基づく所定電子署名を取得可能な二次元コードを前記端末に提供可能であり、前記端末は、前記サーバから提供された前記二次元コードを表示可能な二次元コード表示部をさらに備える、システムを提供する。 The invention according to a ninth characteristic is the invention according to the eighth characteristic, wherein the system further includes a control device according to any one of the first to seventh characteristics, and the usage permission When it is determined that the signature has been applied to the signed information associated with the use of the managed object, the execution unit generates a contract address of the non-fungible token, the signed information, and a predetermined information based on the signature. A system is provided in which a two-dimensional code capable of acquiring an electronic signature can be provided to the terminal, and the terminal further includes a two-dimensional code display section capable of displaying the two-dimensional code provided from the server.

第9の特徴に係る発明によれば、端末は、サーバから提供された二次元コードであって、非代替性トークンのコントラクトアドレス、被署名情報、及び電子署名を取得可能な二次元コードを表示できる。そして、制御装置は、表示された二次元コードを用いて電子錠を解錠できる。すなわち、第9の特徴に係る発明によれば、利用者は、端末に被署名情報を取得させ、非代替性トークンを用いて署名し、提供された二次元コードを表示させる簡単な手順を行うことで、非代替性トークンを用いた電子錠の制御を行える。 According to the invention according to the ninth feature, the terminal displays a two-dimensional code provided by the server, which is capable of acquiring a contract address of a non-fungible token, signed information, and an electronic signature. can. The control device can then unlock the electronic lock using the displayed two-dimensional code. That is, according to the invention according to the ninth feature, the user performs a simple procedure of causing the terminal to acquire the signed information, signing using the non-fungible token, and displaying the provided two-dimensional code. This allows electronic locks to be controlled using non-fungible tokens.

したがって、第9の特徴に係る発明は、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 Therefore, the invention according to the ninth feature realizes highly reliable control of electronic locks using non-fungible tokens without unnecessarily increasing the effort of users who attempt to unlock electronic locks. We can provide possible means.

本発明によれば、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠の制御等を実現可能な手段を提供できる。 According to the present invention, it is possible to provide means for realizing highly reliable control of electronic locks using non-fungible tokens without unnecessarily increasing the effort of users who attempt to unlock electronic locks. can.

図1は、第1実施形態(本実施形態)のスマートロックシステムSのハードウェア構成及びソフトウェア構成を示すブロック図である。FIG. 1 is a block diagram showing the hardware configuration and software configuration of the smart lock system S of the first embodiment (this embodiment). 図2は、サーバ4で実行される非代替性トークン発行処理のフローチャートである。FIG. 2 is a flowchart of non-fungible token issuing processing executed by the server 4. 図3は、制御装置1で実行される錠制御処理のメインフローチャートである。FIG. 3 is a main flowchart of the lock control process executed by the control device 1. 図4は、図3のステップS13で実行される判別結果取得処理のフローチャートである。FIG. 4 is a flowchart of the determination result acquisition process executed in step S13 of FIG. 図5は、図4に続く図である。FIG. 5 is a diagram following FIG. 4. 図6は、端末3で実行される二次元コード表示処理のフローチャートである。FIG. 6 is a flowchart of the two-dimensional code display process executed by the terminal 3. 図7は、サーバ4で実行される判別結果送信処理のフローチャートである。FIG. 7 is a flowchart of the determination result transmission process executed by the server 4. 図8は、スマートロックシステムSを用いた領域管理の一例を示す概略図である。FIG. 8 is a schematic diagram showing an example of area management using the smart lock system S. 図9は、第2実施形態の端末3で実行される利用処理のフローチャートである。FIG. 9 is a flowchart of usage processing executed by the terminal 3 of the second embodiment. 図10は、第2実施形態のサーバ4で実行される利用許可処理のフローチャートである。FIG. 10 is a flowchart of the usage permission process executed by the server 4 of the second embodiment. 図11は、第2実施形態の端末3で実行される利用処理及びサーバ4で実行される利用許可処理に関するシーケンス図である。FIG. 11 is a sequence diagram regarding the usage process executed by the terminal 3 and the usage permission process executed by the server 4 in the second embodiment.

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

<第1実施形態のスマートロックシステムS>
図1は、第1実施形態(本実施形態)のスマートロックシステムSのハードウェア構成及びソフトウェア構成を示すブロック図である。本実施形態のスマートロックシステムSは、読み取った二次元コードCからブロックチェーン上に記録された非代替性トークンのコントラクトアドレスを取得し、このコントラクトアドレスを含む被署名情報に対する電子署名に基づく判別結果に基づいて電子錠2を制御可能な制御装置1と、制御装置1が行う制御の対象である1又は複数の電子錠2と、を少なくとも含んで構成される。
<Smart lock system S of the first embodiment>
FIG. 1 is a block diagram showing the hardware configuration and software configuration of the smart lock system S of the first embodiment (this embodiment). The smart lock system S of this embodiment acquires the contract address of the non-fungible token recorded on the blockchain from the read two-dimensional code C, and determines the determination result based on the electronic signature on the signed information including this contract address. The electronic lock 2 is configured to include at least a control device 1 that can control the electronic lock 2 based on the following, and one or more electronic locks 2 that are subject to control performed by the control device 1.

スマートロックシステムSは、所定のプログラムを実行することによって、ブロックチェーンにアクセス可能であり、二次元コードCを表示可能な端末3をさらに含むことが好ましい。これにより、制御装置1は、ブロックチェーンに基づいて端末3で生成された二次元コードCを読み取る、より信頼性の高い制御を行い得る。 It is preferable that the smart lock system S further includes a terminal 3 that can access the blockchain and display the two-dimensional code C by executing a predetermined program. Thereby, the control device 1 can perform more reliable control of reading the two-dimensional code C generated by the terminal 3 based on the blockchain.

スマートロックシステムSは、ブロックチェーンにアクセス可能であり、ネットワークNを介して制御装置1及び/又は端末3と通信可能に構成されたサーバ4をさらに含むことが好ましい。これにより、スマートロックシステムSは、電子錠2と対応付けられた非代替性トークンを発行する処理、二次元コードCから取得したコントラクトアドレスを含む被署名情報に対する電子署名に基づく判別を行う処理等をサーバ4で行うよう構成可能となる。 It is preferable that the smart lock system S further includes a server 4 configured to be able to access the blockchain and communicate with the control device 1 and/or the terminal 3 via the network N. As a result, the smart lock system S performs the processing of issuing a non-fungible token associated with the electronic lock 2, the processing of determining based on the electronic signature on the signed information including the contract address obtained from the two-dimensional code C, etc. can be configured to be performed by the server 4.

非代替性トークンを発行する処理及び電子署名に基づく判別を行う処理は、二次元コードCを読み取る処理、コントラクトアドレスを二次元コードCから取得する処理等との比較において、複雑かつ処理量が大きい処理である。また、これらの処理においては、ネットワークを介した通信に伴う処理量の増大も懸念される。したがって、これらの処理を制御装置1において行う場合、制御装置1の消費電力増大、制御装置1の複雑化、及び/又は制御装置1の大型化等の課題が生じ得る。 The process of issuing a non-fungible token and the process of making a determination based on an electronic signature are complex and require a large amount of processing compared to the process of reading the two-dimensional code C, the process of acquiring the contract address from the two-dimensional code C, etc. It is processing. Furthermore, in these processes, there is also a concern that the amount of processing will increase due to communication via the network. Therefore, when these processes are performed in the control device 1, problems such as an increase in the power consumption of the control device 1, a complication of the control device 1, and/or an increase in the size of the control device 1 may occur.

スマートロックシステムSがサーバ4をさらに含むことにより、上述の各種処理をサーバ4で行うよう構成し、制御装置1における上述の各種課題を解消し得る。 By further including the server 4, the smart lock system S can be configured so that the various processes described above are performed by the server 4, and the various problems described above in the control device 1 can be solved.

〔二次元コードC〕
二次元コードCは、ブロックチェーンに記録された非代替性トークンのコントラクトアドレスを取得可能なコードであれば、特に限定されない。二次元コードCは、例えば、QRコード(登録商標)等を用いた二次元コードでよい。
[Two-dimensional code C]
The two-dimensional code C is not particularly limited as long as it is a code that can obtain the contract address of the non-fungible token recorded on the blockchain. The two-dimensional code C may be, for example, a two-dimensional code using a QR code (registered trademark) or the like.

二次元コードCは、コントラクトアドレスを含む被署名情報及び該被署名情報に対する電子署名を取得可能なコードであることが好ましい。これにより、制御装置1は、これらの情報を二次元コードCから取得し、これらの情報に基づいて、二次元コードCが電子錠2を制御可能なコードであるかを判別し得る。 The two-dimensional code C is preferably a code that can acquire signed information including a contract address and an electronic signature for the signed information. Thereby, the control device 1 can acquire this information from the two-dimensional code C, and can determine whether the two-dimensional code C is a code that can control the electronic lock 2 based on this information.

二次元コードCが被署名情報及び該被署名情報に対する電子署名を無線通信等によって取得する場合、これらの情報が傍受されるリスクが懸念される。二次元コードCがこれらの情報を取得可能なコードであることにより、傍受のリスクを低減できる。 When the two-dimensional code C acquires signed information and an electronic signature for the signed information through wireless communication or the like, there is a risk that this information will be intercepted. Since the two-dimensional code C is a code that can acquire this information, the risk of interception can be reduced.

[コントラクトアドレス]
二次元コードCが含むコントラクトアドレスは、ブロックチェーンに記録された非代替性トークンのコントラクトアドレスであれば、特に限定されない。
[Contract address]
The contract address included in the two-dimensional code C is not particularly limited as long as it is a contract address of a non-fungible token recorded on the blockchain.

(ブロックチェーン)
ここで、ブロックチェーンとは、暗号技術によって互いに関連付けられ、追加され続ける一群のレコードとしてデータを記録可能とすることにより、そのように記録されたデータの分散型システム上における検証を容易とするプラットフォームを示す。
(Blockchain)
Here, blockchain is a platform that allows data to be recorded as a group of records that are linked to each other using cryptographic technology and that is continuously added to, thereby facilitating the verification of such recorded data on a decentralized system. shows.

したがって、ブロックチェーンを用いて構築された分散型システムでは、ブロックチェーン上に記録されたデータを偽造する試みが容易に検出され、データの偽造が防がれ得る。よって、スマートロックシステムSは、ブロックチェーンを用いることにより、偽の情報を伝達しようとする試みに対して高い耐性、すなわち、高いビザンチンフォールトトレランス性を有することが可能となる。 Therefore, in a distributed system built using a blockchain, attempts to forge data recorded on the blockchain can be easily detected, and data forgery can be prevented. Therefore, by using the blockchain, the smart lock system S can have high resistance to attempts to transmit false information, that is, high Byzantine fault tolerance.

(非代替性トークン)
ここで、非代替性トークン(「Non-fungible Token」、「NFT」)とは、ブロックチェーン上に記録された代替性のないデータを示す。非代替性トークンは、代替性のないデータであることにより、デジタル資産及び/又は物理的資産の所有権を示すために利用し得る。したがって、非代替性トークンは、電子錠2を開錠及び/又は施錠する権利、電子錠2によって管理された空間及び/又は物品等を利用する権利、等の電子錠2に関する各種権利を示すために利用し得る。非代替性トークンは、特に限定されず、サーバ4を用いて発行した非代替性トークンでもよく、サーバ4と異なる装置を用いて発行した非代替性トークンでもよい。非代替性トークンの発行者は、特に限定されず、スマートロックシステムSの管理者でもよく、スマートロックシステムSの管理者と異なる者でもよい。
(non-fungible token)
Here, a non-fungible token (NFT) refers to non-fungible data recorded on a blockchain. Non-fungible tokens can be used to indicate ownership of digital and/or physical assets by being non-fungible data. Therefore, the non-fungible token is used to indicate various rights related to the electronic lock 2, such as the right to unlock and/or lock the electronic lock 2, the right to use the space and/or goods managed by the electronic lock 2, etc. It can be used for The non-fungible token is not particularly limited, and may be a non-fungible token issued using the server 4 or a non-fungible token issued using a device different from the server 4. The issuer of the non-fungible token is not particularly limited, and may be the administrator of the smart lock system S or a person different from the administrator of the smart lock system S.

(コントラクトアドレスについて)
ここで、非代替性トークンのコントラクトアドレスとは、該ブロックチェーン上において該非代替性トークンの発行元であるスマートコントラクトを特定可能なアドレスである。
(About contract address)
Here, the contract address of a non-fungible token is an address on the blockchain that can identify the smart contract that is the issuer of the non-fungible token.

制御装置1、端末3、サーバ4等は、非代替性トークンの発行元であるスマートコントラクトを介することにより、該非代替性トークンの所有者の判別/変更、該非代替性トークンに記録されたメタデータの読取、該非代替性トークンに関する電子署名の生成/検証、等を実行可能である。 The control device 1, the terminal 3, the server 4, etc. determine/change the owner of the non-fungible token and the metadata recorded in the non-fungible token via the smart contract that is the issuer of the non-fungible token. It is possible to read the non-fungible token, generate/verify an electronic signature regarding the non-fungible token, etc.

したがって、非代替性トークンのコントラクトアドレスを用いることにより、該ブロックチェーン上の非代替性トークンの所有者を判別する処理、該非代替性トークンに関する電子署名の生成/検証を行う処理、によって例示される、ブロックチェーン上に記録された該非代替性トークンへのアクセスを行う処理が可能となる。 Therefore, by using the contract address of the non-fungible token, the process of determining the owner of the non-fungible token on the blockchain and the process of generating/verifying an electronic signature regarding the non-fungible token are exemplified. , it becomes possible to access the non-fungible token recorded on the blockchain.

[被署名情報]
被署名情報は、非代替性トークンのコントラクトアドレスを含む情報であれば、特に限定されない。
[Signed information]
The signed information is not particularly limited as long as it includes the contract address of the non-fungible token.

被署名情報は、コントラクトアドレスから発行された1又は複数のトークンから特定の非代替性トークンを識別可能なトークンIDを含むことが好ましい。これにより、制御装置1は、トークンIDによって識別された特定の非代替性トークンに電子錠2の制御に関する権利が対応付けられているかの判別結果に基づいて電子錠2を制御できる。したがって、非代替性トークン単位で判別する、より信頼性の高い制御を実現し得る。 Preferably, the signed information includes a token ID that can identify a specific non-fungible token from one or more tokens issued from the contract address. Thereby, the control device 1 can control the electronic lock 2 based on the determination result as to whether a right regarding control of the electronic lock 2 is associated with a specific non-fungible token identified by the token ID. Therefore, it is possible to realize more reliable control that is determined on a non-fungible token basis.

被署名情報は、コントラクトアドレスから発行された1又は複数のトークンから特定の非代替性トークンを識別可能なトークンIDを含まない情報でもよい。これにより、被署名情報を含む二次元コードCのデータ量を小さくし、該二次元コードCの読み取りに要するコストを低減し得る。 The signed information may be information that does not include a token ID that can identify a specific non-fungible token from one or more tokens issued from a contract address. Thereby, the amount of data of the two-dimensional code C including signed information can be reduced, and the cost required for reading the two-dimensional code C can be reduced.

必須の態様ではないが、被署名情報は、二次元コードCの生成ごとに一意な情報であるよう構成されることが好ましい。これにより、スマートロックシステムSの管理者は、生成された二次元コードごとに電子錠2を制御可能な回数及び/又は期間等を管理し得る。また、スマートロックシステムSの管理者は、二次元コードCが漏えい等した場合、他の二次元コードCの効力に影響を及ぼすことなく、漏えい等した当該二次元コードCのみを無効化し得る。 Although it is not an essential aspect, it is preferable that the signed information is configured to be unique information each time the two-dimensional code C is generated. Thereby, the administrator of the smart lock system S can manage the number of times and/or the period during which the electronic lock 2 can be controlled for each generated two-dimensional code. Furthermore, if the two-dimensional code C is leaked, the administrator of the smart lock system S can invalidate only the leaked two-dimensional code C without affecting the effectiveness of other two-dimensional codes C.

必須の態様ではないが、被署名情報は、二次元コードCが生成されてから現在時刻までの経過時間が所定範囲に含まれるかを判別可能な所定情報を含むことが好ましい。これにより、スマートロックシステムSの管理者は、二次元コードC及び/又は電子署名の有効期限を所定範囲に限定できる。したがって、被署名情報が所定情報を含むことにより、不正な開錠の試みがよりいっそう防がれ得る。 Although not an essential aspect, it is preferable that the signed information includes predetermined information that can determine whether the elapsed time from the generation of the two-dimensional code C to the current time is included in a predetermined range. Thereby, the administrator of the smart lock system S can limit the expiration date of the two-dimensional code C and/or the electronic signature to a predetermined range. Therefore, by including the predetermined information in the signed information, unauthorized attempts to unlock the lock can be further prevented.

所定情報は、二次元コードCが生成されてから現在時刻までの経過時間が所定範囲に含まれるかを判別可能であれば、特に限定されない。所定情報は、例えば、二次元コードCの生成時刻、所定の関数に二次元コードCの生成時刻を引数として与えたときの値、等でよい。 The predetermined information is not particularly limited as long as it can be determined whether the elapsed time from the generation of the two-dimensional code C to the current time is included in the predetermined range. The predetermined information may be, for example, the generation time of the two-dimensional code C, a value obtained when the generation time of the two-dimensional code C is given as an argument to a predetermined function, or the like.

所定の関数は、二次元コードCの生成時刻を引数として与えたときに値を得られる関数であれば、特に限定されない。所定の関数は、例えば、時刻を引数とするワンタイムパスワードの生成関数等でよい。 The predetermined function is not particularly limited as long as it is a function that can obtain a value when the generation time of the two-dimensional code C is given as an argument. The predetermined function may be, for example, a one-time password generation function that takes time as an argument.

所定情報は、なかでも、二次元コードCの生成時刻を含むことが好ましい。これにより、制御装置1は、生成時刻と現在時刻との差を計算する簡易な手順で二次元コードCが生成されてから現在時刻までの経過時間が所定範囲に含まれるかを判別できる。 It is preferable that the predetermined information includes, among other things, the generation time of the two-dimensional code C. Thereby, the control device 1 can determine whether the elapsed time from the generation of the two-dimensional code C to the current time is included in the predetermined range by a simple procedure of calculating the difference between the generation time and the current time.

[電子署名]
電子署名は、非代替性トークンの所有者が被署名情報に署名したか識別可能であれば、特に限定されない。電子署名は、例えば、各種の公開鍵暗号方式に基づくデジタル署名等を含む。
[Electronic signature]
The electronic signature is not particularly limited as long as it is possible to identify whether the owner of the non-fungible token has signed the information to be signed. The electronic signature includes, for example, a digital signature based on various public key cryptosystems.

必須の態様ではないが、本実施形態の一態様として、電子署名は、二次元コードCの生成に応じてブロックチェーンに記録された所定電子署名を含むことが好ましい。所定電子署名は、例えば、ブロックチェーン上で二次元コードCの生成に関するトランザクションを実行したときに、該ブロックチェーン上に記録されるデータが有する電子署名等を含む。 Although not an essential aspect, as one aspect of this embodiment, it is preferable that the electronic signature includes a predetermined electronic signature recorded on the blockchain in response to the generation of the two-dimensional code C. The predetermined electronic signature includes, for example, an electronic signature of data recorded on the blockchain when a transaction related to the generation of the two-dimensional code C is executed on the blockchain.

ブロックチェーン上に記録されたデータを偽造する試みは、容易に検出可能である。したがって、電子署名がブロックチェーンに記録された所定電子署名を含むことにより、よりいっそう信頼性の高い電子署名に基づいた所有者の判別を行い得る。 Attempts to falsify data recorded on the blockchain are easily detectable. Therefore, by including the predetermined electronic signature recorded in the blockchain in the electronic signature, it is possible to determine the owner based on the electronic signature with even higher reliability.

制御装置1のネットワークNを介した通信量を抑えたい要望がある場合、及び/又は、二次元コードCの生成においてブロックチェーンで費やされる各種コストを低減したい要望がある場合において、電子署名は、二次元コードCの生成に応じてブロックチェーンに記録されたデータを含まないことが好ましい。 When there is a desire to reduce the amount of communication via the network N of the control device 1, and/or when there is a desire to reduce various costs spent on blockchain in the generation of the two-dimensional code C, the electronic signature is It is preferable that the data recorded on the blockchain in response to the generation of the two-dimensional code C is not included.

ブロックチェーン上に記録された所定電子署名に基づいて判別する処理は、ネットワークNを介した通信を行う。そのため、該処理を実行する場合、制御装置1のネットワークNを介した通信量が増大する。また、二次元コードCの生成に応じてブロックチェーンに所定電子署名を記録する場合、該記録を行うための経済的コスト(「ガス代」)及び時間的コストが費やされる。 The process of determining based on a predetermined electronic signature recorded on the blockchain involves communication via network N. Therefore, when executing this process, the amount of communication via the network N of the control device 1 increases. Furthermore, when recording a predetermined electronic signature on the blockchain in response to the generation of the two-dimensional code C, economic costs ("gas costs") and time costs are incurred for performing the recording.

したがって、電子署名が二次元コードCの生成に応じてブロックチェーンに記録されたデータを含まないことにより、制御装置1のネットワークNを介した通信量を抑え、二次元コードCの生成においてブロックチェーンで費やされる各種コストを低減し得る。 Therefore, since the electronic signature does not include the data recorded on the blockchain in response to the generation of the two-dimensional code C, the amount of communication via the network N of the control device 1 is suppressed, and the blockchain This can reduce various costs incurred.

電子署名が二次元コードCの生成に応じてブロックチェーンに記録されたデータを含まない場合、電子署名は、非代替性トークンの所有者と対応付けられた暗号鍵を用いて行われた電子署名を含むことが好ましい。このような暗号鍵として、例えば、該所有者が所有する端末3に格納された暗号鍵、各種認証処理による該所有者の認証に応じて利用可能な暗号鍵、等が挙げられる。 If the electronic signature does not include data recorded on the blockchain in response to the generation of the two-dimensional code C, the electronic signature is an electronic signature made using a cryptographic key associated with the owner of the non-fungible token. It is preferable to include. Examples of such an encryption key include an encryption key stored in the terminal 3 owned by the owner, an encryption key that can be used in response to authentication of the owner through various authentication processes, and the like.

〔制御装置1〕
制御装置1は、少なくとも、装置制御部11と、装置記憶部12と、装置通信部13と、読取部14と、錠制御部15と、を含んで構成される。
[Control device 1]
The control device 1 includes at least a device control section 11, a device storage section 12, a device communication section 13, a reading section 14, and a lock control section 15.

[装置制御部11]
装置制御部11は、CPU(Central Processing Unit)、RAM(Random Access Memory)、及びROM(Read Only Memory)等を備える。
[Device control unit 11]
The device control unit 11 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), and the like.

装置制御部11は、所定のプログラムを読み込み、必要に応じて装置記憶部12及び/又は装置通信部13等の制御装置1が含む各部材と協働することで、制御装置1におけるソフトウェア構成の要素である、読取実行部111、アドレス取得部112、署名等取得部113、署名判別部114、提示者判別部115、判別指令部116、判別受信部117、所有者判別部118、錠制御実行部119、等を実現する。 The device control section 11 reads a predetermined program, and controls the software configuration of the control device 1 by cooperating with each component included in the control device 1 such as the device storage section 12 and/or the device communication section 13 as necessary. The elements are reading execution section 111, address acquisition section 112, signature etc. acquisition section 113, signature discrimination section 114, presenter discrimination section 115, discrimination command section 116, discrimination reception section 117, owner discrimination section 118, lock control execution 119, etc.

制御装置1において実行される錠制御処理の流れについては、後に図3を用いて詳細に説明する。 The flow of the lock control process executed in the control device 1 will be explained in detail later using FIG. 3.

[装置記憶部12]
装置記憶部12は、データ及び/又はファイルが記憶される装置であって、ハードディスク、半導体メモリ、記録媒体、及びメモリカード等によるデータのストレージ部を有する。
[Device storage unit 12]
The device storage unit 12 is a device in which data and/or files are stored, and includes a data storage unit such as a hard disk, a semiconductor memory, a recording medium, and a memory card.

装置記憶部12は、ネットワークNを介してNAS(Network Attached Storage)、SAN(Storage Area Network)、クラウドストレージ、ファイルサーバ及び/又は分散ファイルシステム等の記憶装置又は記憶システムとの接続を可能にする仕組みを有してもよい。 The device storage unit 12 enables connection via a network N to a storage device or storage system such as a NAS (Network Attached Storage), a SAN (Storage Area Network), a cloud storage, a file server, and/or a distributed file system. It may have a mechanism.

装置記憶部12には、マイクロコンピューターで実行される制御プログラム等が記憶されている。 The device storage unit 12 stores control programs and the like executed by the microcomputer.

[装置通信部13]
装置通信部13は、制御装置1と端末3及び/又はサーバ4等との間においてネットワークNを介した通信を可能とするものであれば、特に限定されない。装置通信部13は、例えば、携帯電話ネットワークに対応した無線装置、IEEE802.11に準拠したWi-Fi(Wireless Fidelity)対応デバイス、及びイーサネット規格に対応したネットワークカード等を含んで構成される。
[Device communication section 13]
The device communication unit 13 is not particularly limited as long as it enables communication between the control device 1 and the terminal 3 and/or the server 4, etc. via the network N. The device communication unit 13 is configured to include, for example, a wireless device compatible with a mobile phone network, a Wi-Fi (Wireless Fidelity) compatible device compliant with IEEE 802.11, a network card compatible with the Ethernet standard, and the like.

[読取部14]
読取部14は、二次元コードCを読み取り可能であれば、特に限定されず、従来技術の各種二次元コード読取部材を含んで構成される。
[Reading unit 14]
The reading unit 14 is not particularly limited as long as it can read the two-dimensional code C, and is configured to include various two-dimensional code reading members of the prior art.

(検知手段)
必須の態様ではないが、読取部14は、端末3及び/又は端末3を利用する利用者等の検知対象が読取部14の周辺に存在するか等を検知可能な検知手段を備えることが好ましい。読取部14が検知手段を備えることにより、検知対象が検知されない場合に読み取りを行わないよう読取部14を制御できる。これにより、読取部14は、消費電力を低減することができる。
(Detection means)
Although not an essential aspect, it is preferable that the reading unit 14 includes a detection means capable of detecting whether a detection target such as the terminal 3 and/or a user using the terminal 3 exists in the vicinity of the reading unit 14. . By providing the reading unit 14 with the detection means, the reading unit 14 can be controlled so as not to perform reading when the detection target is not detected. Thereby, the reading unit 14 can reduce power consumption.

検知手段は、端末3、及び/又は端末3を利用する利用者等が読取部14の周辺に存在するか等を検知可能であれば、特に限定されない。検知手段は、例えば、読取部14周辺にある動くものを検知可能な動体識別センサ、読取部14周辺にいる人を検知可能な人感センサ等を含む検知部でよい。 The detection means is not particularly limited as long as it can detect whether the terminal 3 and/or a user using the terminal 3 is present around the reading unit 14. The detection means may be a detection section including, for example, a moving object identification sensor capable of detecting a moving object around the reading section 14, a human sensor capable of detecting a person around the reading section 14, or the like.

検知手段は、なかでも、動体識別センサを含むことが好ましい。これにより、検知手段は、利用者が読取部14に二次元コードCを提示する動きを検知できる。したがって、利用者が単に読取部14周辺にいて二次元コードCを提示していない場合に読み取りを行わずに消費電力を低減することと、利用者が読取部14に二次元コードCを提示したときに読み取りを行うこととを両立できる。 Among others, it is preferable that the detection means includes a moving object identification sensor. Thereby, the detection means can detect the movement of the user presenting the two-dimensional code C to the reading unit 14. Therefore, it is possible to reduce power consumption by not performing reading when the user is simply near the reader 14 and does not present the two-dimensional code C, and when the user presents the two-dimensional code C to the reader 14. This can be done at the same time as reading from time to time.

検知手段は、検知対象が一定時間検知されない場合に読取部14又は制御装置1を待機状態に制御することが可能であり、検知対象が検知された場合にこの待機状態を終了させることが可能であることが好ましい。これにより、検知手段は、検知対象が一定時間検知されない場合における消費電力を低減することができる。 The detection means is capable of controlling the reading unit 14 or the control device 1 to a standby state when the detection target is not detected for a certain period of time, and can end this standby state when the detection target is detected. It is preferable that there be. Thereby, the detection means can reduce power consumption when the detection target is not detected for a certain period of time.

[錠制御部15]
錠制御部15は、電子錠2を制御可能であれば、特に限定されない。錠制御部15は、例えば、シリアル通信を介した制御、電気接点での解錠信号を介した制御によって電子錠2を制御可能に構成される。これにより、制御装置1は、制御装置1と電子錠2とが無線で接続される場合より、電子錠2を確実に制御できる。錠制御部15は、例えば、Bluetooth(登録商標)、ZigBee(登録商標)等に準拠した無線通信によって例示される近距離無線通信を介した通信によって電子錠2を制御可能に構成される。これにより、制御装置1は、電子錠2と有線で接続されることなく、電子錠2を制御できる。これにより、スマートロックシステムSの管理者は、制御装置1と電子錠2とが有線で接続される場合より、制御装置1及び/又は電子錠2を容易に設置できる。
[Lock control unit 15]
The lock control unit 15 is not particularly limited as long as it can control the electronic lock 2. The lock control unit 15 is configured to be able to control the electronic lock 2 by, for example, control via serial communication or control via an unlock signal from an electric contact. Thereby, the control device 1 can control the electronic lock 2 more reliably than when the control device 1 and the electronic lock 2 are connected wirelessly. The lock control unit 15 is configured to be able to control the electronic lock 2 through communication via short-range wireless communication, for example, wireless communication based on Bluetooth (registered trademark), ZigBee (registered trademark), or the like. Thereby, the control device 1 can control the electronic lock 2 without being connected to the electronic lock 2 by wire. Thereby, the administrator of the smart lock system S can install the control device 1 and/or the electronic lock 2 more easily than when the control device 1 and the electronic lock 2 are connected by wire.

近距離無線通信は、なかでも、Bluetooth(登録商標)のうち、Bluetooth Low Energy(Bluetooth LE、BLE)に準拠した近距離無線通信を含むことが好ましい。近距離無線通信がBluetooth LEに準拠した近距離無線通信を含むことにより、制御装置1は、電子錠2との通信に係る消費電力をよりいっそう低減できる。 Among others, it is preferable that the short-range wireless communication includes short-range wireless communication based on Bluetooth Low Energy (Bluetooth LE, BLE) of Bluetooth (registered trademark). Since the short-range wireless communication includes short-range wireless communication based on Bluetooth LE, the control device 1 can further reduce power consumption related to communication with the electronic lock 2.

〔電子錠2〕
電子錠2は、施錠状態と解錠状態との間で切り換え可能であれば、特に限定されない。電子錠2は、例えば、電気錠、マグネット錠、自動ドア等によって例示される商用電源で動作する電気式の電子錠、スマートロックによって例示される商用電源が供給可能な電力より小さな電力を供給可能な電源で動作する電子式の電子錠、等でよい。
[Electronic lock 2]
The electronic lock 2 is not particularly limited as long as it can be switched between a locked state and an unlocked state. The electronic lock 2 can supply less power than the power that can be supplied by a commercial power supply, such as an electric electronic lock, a smart lock, or an electric electronic lock that operates on commercial power, such as an electric lock, a magnetic lock, an automatic door, etc. An electronic lock, etc. that operates on a suitable power source may be used.

なかでも、電子錠2は、電子式の電子錠を含むことが好ましい。これにより、電子錠2は、電力の供給が制限されている場所であっても、施錠状態と解錠状態との間で切り換えできる。 Among these, it is preferable that the electronic lock 2 includes an electronic electronic lock. Thereby, the electronic lock 2 can be switched between a locked state and an unlocked state even in a place where power supply is restricted.

電子錠2は、上述の各種近距離無線通信を介して制御されることが可能な電子錠2であることが好ましい。これにより、制御装置1と電子錠2とを有線で接続されることなく、スマートロックシステムSを設置できる。これにより、スマートロックシステムSの管理者は、制御装置1と電子錠2とが有線で接続される場合より、制御装置1及び/又は電子錠2を容易に設置できる。 The electronic lock 2 is preferably an electronic lock 2 that can be controlled via the various short-range wireless communications described above. Thereby, the smart lock system S can be installed without connecting the control device 1 and the electronic lock 2 by wire. Thereby, the administrator of the smart lock system S can install the control device 1 and/or the electronic lock 2 more easily than when the control device 1 and the electronic lock 2 are connected by wire.

[電源部]
必須の態様ではないが、電子錠2は、商用電源が供給可能な電力より小さな電力を供給可能な電源部を含むことが好ましい。これにより、電子錠2は、電力の供給が制限されている場所であっても、施錠状態と解錠状態との間で切り換えできる。
[Power supply part]
Although not an essential aspect, it is preferable that the electronic lock 2 includes a power supply section that can supply power smaller than the power that can be supplied by a commercial power source. Thereby, the electronic lock 2 can be switched between a locked state and an unlocked state even in a place where power supply is restricted.

電源部は、商用電源が供給可能な電力より小さな電力を供給可能であれば、特に限定されない。電源部は、例えば、電池、ACアダプタ、USB給電、非接触給電等の1以上を用いて電力を供給可能な電源部でよい。 The power supply unit is not particularly limited as long as it can supply less power than the commercial power supply can supply. The power supply unit may be, for example, a power supply unit that can supply power using one or more of a battery, an AC adapter, a USB power supply, a non-contact power supply, and the like.

電源部は、なかでも、電池を用いて電力を供給可能な電源部を含むことが好ましい。これにより、電子錠2を管理する管理者は、電池を交換する比較的簡便な管理によって電源部を保守できる。これにより、電源部の保守にかかる労力が低減され得る。 The power supply unit preferably includes a power supply unit capable of supplying power using a battery. Thereby, the administrator who manages the electronic lock 2 can maintain the power supply unit by relatively simple management of replacing the battery. This can reduce the effort required to maintain the power supply unit.

[管理対象]
電子錠2によって管理される管理対象は、特に限定されない。管理対象として、例えば、建物内・部屋等の屋内領域、屋外イベント会場等の屋外領域等が挙げられる。管理対象が屋内領域及び/又は屋外領域を含むことにより、制御装置1は、これらの領域で催されるイベント等への参加を管理できる。
[Management target]
The objects to be managed by the electronic lock 2 are not particularly limited. Examples of objects to be managed include indoor areas such as buildings and rooms, outdoor areas such as outdoor event venues, and the like. By including the indoor area and/or outdoor area as the management target, the control device 1 can manage participation in events and the like held in these areas.

管理対象は、これらの領域に限定されず、例えば、自動車・自転車等の車両、宅配ボックス等の保管領域、洗濯機・コーヒーマシン等の家電製品、プリンタ等のオフィス用品、等の物品等がさらに挙げられる。管理対象がこれらの物品等を含むことにより、制御装置1は、イベント等への参加者に提供される各種物品等を介したサービスをも管理し得る。 The objects of management are not limited to these areas, but include, for example, vehicles such as cars and bicycles, storage areas such as delivery boxes, home appliances such as washing machines and coffee machines, office supplies such as printers, etc. Can be mentioned. By including these items and the like as objects of management, the control device 1 can also manage services provided through various items and the like provided to participants in events and the like.

〔端末3〕
端末3は、所定のプログラムを実行することにより、上述の二次元コードCを表示可能である。端末3が二次元コードCを表示する二次元コード表示処理の流れについては、後に図6を用いて詳細に説明する
[Terminal 3]
The terminal 3 can display the above-mentioned two-dimensional code C by executing a predetermined program. The flow of the two-dimensional code display process in which the terminal 3 displays the two-dimensional code C will be explained in detail later using FIG.

端末3は、制御装置1と同様に、端末制御部、端末記憶部、端末通信部を備え、さらに、二次元コードCを表示可能な端末表示部、二次元コードCを表示する指示を入力可能な端末入力部等を備える(図示せず)。 Similar to the control device 1, the terminal 3 includes a terminal control section, a terminal storage section, and a terminal communication section, and further includes a terminal display section capable of displaying a two-dimensional code C, and an instruction to display the two-dimensional code C can be input. It is equipped with a terminal input section, etc. (not shown).

端末3は、非代替性トークンのコントラクトアドレス、ブロックチェーンにアクセスするための暗号鍵、等を格納可能である。 The terminal 3 can store the contract address of the non-fungible token, the encryption key for accessing the blockchain, etc.

端末3が非代替性トークンのコントラクトアドレスを格納可能であることにより、端末3は、該コントラクトアドレスを取得可能な二次元コードCを表示できる。 Since the terminal 3 can store the contract address of the non-fungible token, the terminal 3 can display the two-dimensional code C from which the contract address can be obtained.

端末3がブロックチェーンにアクセスするための暗号鍵を格納可能であることにより、端末3の利用者は、所有する非代替性トークンを用いた各種の処理を実行できる。また、端末3は、当該暗号鍵を用いた電子署名を生成できる。 Since the terminal 3 is capable of storing an encryption key for accessing the blockchain, the user of the terminal 3 can perform various processes using the non-fungible token that he/she owns. Furthermore, the terminal 3 can generate an electronic signature using the encryption key.

端末3は、コントラクトアドレスを含む被署名情報に対する電子署名を生成可能であることが好ましい。これにより、端末3は、被署名情報及び電子署名を取得可能な二次元コードCを表示できる。したがって、制御装置1は、ネットワークNを介して電子署名等を取得することなく、二次元コードCから電子署名等を取得できる。よって、ネットワークNを介して電子署名等が傍受されるリスクが低減され得る。 Preferably, the terminal 3 is capable of generating an electronic signature for signed information including a contract address. Thereby, the terminal 3 can display the two-dimensional code C from which signed information and an electronic signature can be obtained. Therefore, the control device 1 can acquire an electronic signature or the like from the two-dimensional code C without acquiring the electronic signature or the like via the network N. Therefore, the risk of electronic signatures etc. being intercepted via the network N can be reduced.

端末3は、非代替性トークンを識別可能なトークンIDを格納可能であることが好ましい。これにより、端末3は、制御を試みる電子錠2と対応付けられた特定の非代替性トークンに対応するトークンIDを取得可能な二次元コードCを表示できる。これにより、制御装置1は、トークンIDによって識別された特定の非代替性トークンに電子錠2の制御に関する権利が対応付けられているかの判別結果に基づいて電子錠2を制御できる。したがって、非代替性トークン単位で判別する、より信頼性の高い制御を実現し得る。 Preferably, the terminal 3 is capable of storing a token ID that can identify non-fungible tokens. Thereby, the terminal 3 can display the two-dimensional code C from which the token ID corresponding to the specific non-fungible token associated with the electronic lock 2 to be controlled can be obtained. Thereby, the control device 1 can control the electronic lock 2 based on the determination result as to whether a right regarding control of the electronic lock 2 is associated with a specific non-fungible token identified by the token ID. Therefore, it is possible to realize more reliable control that is determined on a non-fungible token basis.

端末3のハードウェア構成は、特に限定されない。端末3は、例えば、スマートフォン及びタブレット端末によって例示される携帯端末、パーソナルコンピュータ、ノートパソコン等によって例示されるコンピュータ等でよい。 The hardware configuration of the terminal 3 is not particularly limited. The terminal 3 may be, for example, a mobile terminal such as a smartphone and a tablet terminal, a computer such as a personal computer, a notebook computer, or the like.

端末3は、なかでも、携帯端末を含むことが好ましい。これにより、利用者は、制御装置1の読取部14が二次元コードCを読み取り可能な位置に端末3を掲示する手順を容易に行える。 Among others, it is preferable that the terminal 3 includes a mobile terminal. Thereby, the user can easily perform the procedure of posting the terminal 3 at a position where the reading unit 14 of the control device 1 can read the two-dimensional code C.

電子署名が上述の所定電子署名を含む場合、端末3は、ネットワークNを介した通信を行えることが好ましい。これにより、端末3は、ネットワークNを介してブロックチェーン上から所定電子署名を取得する処理等を実行できる。 When the electronic signature includes the above-mentioned predetermined electronic signature, it is preferable that the terminal 3 be able to communicate via the network N. Thereby, the terminal 3 can execute processing such as acquiring a predetermined electronic signature from the blockchain via the network N.

〔サーバ4〕
サーバ4は、ネットワークNを介して制御装置1及び/又は端末3と通信可能である。サーバ4は、電子錠2に関する各種権利と対応付けられた非代替性トークンを発行する非代替性トークン発行処理を実行可能である。
[Server 4]
The server 4 can communicate with the control device 1 and/or the terminal 3 via the network N. The server 4 is capable of executing non-fungible token issuing processing for issuing non-fungible tokens associated with various rights regarding the electronic lock 2.

サーバ4のハードウェア構成は、特に限定されず、例えば、各種のサーバ装置、互いに通信可能な複数のコンピュータを用いて構成されたクラウドサーバ等でよい。サーバ4は、制御装置1と同様に、サーバ制御部、サーバ記憶部、サーバ通信部を備える(図示せず)。 The hardware configuration of the server 4 is not particularly limited, and may be, for example, various server devices, a cloud server configured using a plurality of computers that can communicate with each other, or the like. Like the control device 1, the server 4 includes a server control section, a server storage section, and a server communication section (not shown).

サーバ4で実行される、非代替性トークンを発行する非代替性トークン発行処理の流れについては、後に図2を用いて詳細に説明する The flow of the non-fungible token issuing process executed by the server 4 to issue a non-fungible token will be explained in detail later using FIG.

制御装置1が電子署名に基づく判別結果の送信をサーバ4に指令可能である場合、サーバ4は、該判別結果を制御装置1に送信する判別結果送信処理を実行可能であることが好ましい。 If the control device 1 can instruct the server 4 to transmit the determination result based on the electronic signature, it is preferable that the server 4 be able to execute a determination result transmission process of transmitting the determination result to the control device 1.

電子署名に基づく判別を行う処理は、二次元コードCを読み取る処理、コントラクトアドレスを二次元コードCから取得する処理等との比較において、複雑かつ処理量が大きい処理である。サーバ4は、制御装置1の代わりに判別を行って送信する判別結果送信処理を実行可能であることにより、制御装置1に判別を行う処理を実行させることによる制御装置1の消費電力増大、制御装置1の複雑化、及び/又は制御装置1の大型化等の課題を解消し得る。 The process of making a determination based on the electronic signature is complex and requires a large amount of processing compared to the process of reading the two-dimensional code C, the process of acquiring the contract address from the two-dimensional code C, and the like. The server 4 is capable of executing a determination result transmission process in which the server 4 performs determination and transmits the determination instead of the control device 1, thereby reducing power consumption and control of the control device 1 by causing the control device 1 to perform determination processing. Problems such as the complication of the device 1 and/or the increase in the size of the control device 1 can be solved.

サーバ4で実行される、電子署名に基づく判別結果を送信する判別結果送信処理の流れについては、後に図7を用いて詳細に説明する The flow of the determination result transmission process that is executed by the server 4 and transmits the determination result based on the electronic signature will be explained in detail later using FIG.

ところで、制御装置1の管理対象である電子錠2の数が多い場合、及び/又は、スマートロックシステムSに関する非代替性トークンの数が多い場合、非代替性トークンと電子錠2に関する各種権利との対応付けの数が膨大な数となり得る。このような対応付けを格納可能であるよう制御装置1を構成する場合、制御装置1の消費電力増大、制御装置1の複雑化、及び/又は制御装置1の大型化等の課題が生じ得る。 By the way, when there are many electronic locks 2 that are managed by the control device 1 and/or when there are many non-fungible tokens related to the smart lock system S, various rights regarding the non-fungible tokens and the electronic locks 2 are The number of correspondences can be enormous. When configuring the control device 1 to be able to store such associations, problems such as increased power consumption of the control device 1, increased complexity of the control device 1, and/or increased size of the control device 1 may occur.

サーバ4が判別結果送信処理を実行可能である場合、サーバ4は、非代替性トークンと電子錠2に関する各種権利との対応付けを格納可能であることが好ましい。これにより、判別結果送信処理において、判別に関する非代替性トークンと対応付けられた電子錠2に関する各種権利を制御装置1に送信できる。 When the server 4 is capable of executing the determination result transmission process, it is preferable that the server 4 is capable of storing correspondences between non-fungible tokens and various rights regarding the electronic lock 2. Thereby, in the determination result transmission process, various rights related to the electronic lock 2 associated with the non-fungible token related to determination can be transmitted to the control device 1.

したがって、制御装置1は、このような対応付けを格納することなく、非代替性トークンと電子錠2に関する各種権利との対応付けに基づいて電子錠2を制御できる。よって、該対応付けを格納するよう制御装置1を構成する場合に生じ得る各種課題が解消され得る。 Therefore, the control device 1 can control the electronic lock 2 based on the association between the non-fungible token and various rights regarding the electronic lock 2 without storing such an association. Therefore, various problems that may occur when the control device 1 is configured to store the correspondence can be solved.

〔ネットワークN〕
ネットワークNの種類は、制御装置1と端末3及び/又はサーバ4とを通信可能にするネットワークであれば特に限定されず、例えば、パーソナルエリアネットワーク、ローカルエリアネットワーク、イントラネット、エクストラネット、インターネット、Wi-Fiネットワーク、携帯電話ネットワーク、あるいはこれらのネットワークを複数組み合わせたネットワーク等が挙げられる。
[Network N]
The type of network N is not particularly limited as long as it is a network that enables communication between the control device 1 and the terminal 3 and/or server 4, and examples include a personal area network, a local area network, an intranet, an extranet, the Internet, and Wi-Fi. -Fi network, mobile phone network, or a network that combines multiple of these networks.

ネットワークNは、なかでも、携帯電話ネットワーク、IEEE802.11に準拠したWi-Fi(Wireless Fidelity)等によって例示される無線ネットワークを含むことが好ましい。これにより、制御装置1の場所において有線通信が制限されている場合であっても、制御装置1は、端末3及び/又はサーバ4と通信し得る。 The network N preferably includes, among others, a wireless network exemplified by a mobile phone network, Wi-Fi (Wireless Fidelity) compliant with IEEE 802.11, and the like. Thereby, even if wired communication is restricted at the location of the control device 1, the control device 1 can communicate with the terminal 3 and/or the server 4.

〔サーバ4で実行される非代替性トークン発行処理のフローチャート〕
図2は、サーバ4で実行される非代替性トークン発行処理のフローチャートである。以下、図2を用いて、非代替性トークン発行処理の好ましい流れの一例を説明する。
[Flowchart of non-fungible token issuing process executed by server 4]
FIG. 2 is a flowchart of non-fungible token issuing processing executed by the server 4. An example of a preferred flow of non-fungible token issuing processing will be described below with reference to FIG. 2.

[ステップS1:非代替性トークンの発行を指令されたか判別]
サーバ4は、非代替性トークンの発行を指令されたか判別する処理を行う(ステップS1、発行指令判別ステップ)。発行を指令されたならば、サーバ4は、処理をステップS2に移す。発行を指令されていないならば、サーバ4は、非代替性トークン発行処理を終了し、処理をステップS1に移す。
[Step S1: Determine whether a command has been given to issue a non-fungible token]
The server 4 performs a process of determining whether a command has been given to issue a non-fungible token (step S1, issue command determination step). If issued, the server 4 moves the process to step S2. If the issuance is not instructed, the server 4 ends the non-fungible token issuance process and moves the process to step S1.

非代替性トークンの発行を指令されたか判別する処理は、特に限定されない。該処理は、例えば、スマートロックシステムSの管理者が非代替性トークンの発行を指令した場合に非代替性トークンの発行を指令されたと判別する処理等でよい。 The process of determining whether a command has been given to issue a non-fungible token is not particularly limited. This process may be, for example, a process of determining that the issuance of a non-fungible token has been instructed when the administrator of the smart lock system S has instructed the issuance of a non-fungible token.

[ステップS2:ブロックチェーン上に非代替性トークンを記録]
サーバ4は、ステップS1で発行を指令された非代替性トークンをブロックチェーン上に記録する処理を行う(ステップS2、非代替性トークン記録ステップ)。サーバ4は、処理をステップS3に移す。
[Step S2: Record non-fungible token on blockchain]
The server 4 performs a process of recording the non-fungible token issued in step S1 on the blockchain (step S2, non-fungible token recording step). The server 4 moves the process to step S3.

非代替性トークン記録ステップは、非代替性トークンのコントラクトアドレスを含む被署名情報をブロックチェーン上に記録し、記録された該被署名情報に対する所定電子署名を生成可能な所定電子署名生成手段を、該非代替性トークンの所有者が利用可能とする手順と、所定電子署名が正当な署名であるかを判別可能な所定電子署名判別手段を、制御装置1及び/又はサーバ4が利用可能とする手順と、を含むことが好ましい。 The non-fungible token recording step records the signed information including the contract address of the non-fungible token on the blockchain, and includes a predetermined electronic signature generation means capable of generating a predetermined electronic signature for the recorded signed information. A procedure for making the non-fungible token available for use by the owner, and a procedure for making available for the control device 1 and/or the server 4 a predetermined electronic signature determination means that can determine whether the predetermined electronic signature is a valid signature. It is preferable to include the following.

これにより、非代替性トークンの所有者は、所定電子署名生成手段を介して生成した所定電子署名によって、該非代替性トークンの所有者であることを証明できる。また、制御装置1及び/又はサーバ4は、所定電子署名判別手段を介して、所定電子署名を含む二次元コードCを提示した者等が非代替性トークンの所有者であるかを判別できる。 Thereby, the owner of the non-fungible token can prove that he/she is the owner of the non-fungible token using the predetermined electronic signature generated by the predetermined electronic signature generation means. Further, the control device 1 and/or the server 4 can determine whether the person who presented the two-dimensional code C including the predetermined electronic signature is the owner of the non-fungible token via the predetermined electronic signature determining means.

非代替性トークン記録ステップにおいて、非代替性トークンをブロックチェーン上に記録する処理は、特に限定されず、例えば、該ブロックチェーンにおいて非代替性トークンを発行するテンプレートを用いて非代替性トークンをブロックチェーン上に記録する手順を含む処理等でよい。 In the non-fungible token recording step, the process of recording the non-fungible token on the blockchain is not particularly limited; for example, the process of recording the non-fungible token on the blockchain using a template for issuing a non-fungible token is It may be a process that includes a procedure for recording on a chain.

非代替性トークン記録ステップにおいて、所定電子署名生成手段を所有者が利用可能とし、所定電子署名判別手段を利用可能とする手順は、特に限定されず、例えば、上述の非代替性トークンを発行するテンプレートを用いて所定電子署名生成手段及び所定電子署名判別手段に対応する業務用コントラクトを生成する手順を含む処理等でよい。 In the non-fungible token recording step, the procedure for making the predetermined electronic signature generation means available to the owner and the predetermined electronic signature determination means available is not particularly limited, and for example, the above-mentioned non-fungible token is issued. It may be a process that includes a procedure of generating a business contract corresponding to a predetermined electronic signature generation means and a predetermined electronic signature determination means using a template.

非代替性トークン記録ステップは、記録対象となるトークン自身に対応付けられた電子錠2に関する各種権利に関する情報を含むよう、非代替性トークンをブロックチェーン上に記録してもよい。 In the non-fungible token recording step, the non-fungible token may be recorded on the blockchain so as to include information regarding various rights regarding the electronic lock 2 associated with the token to be recorded.

これにより、制御装置1は、コントラクトアドレスを用いてブロックチェーンにアクセスすることで、ブロックチェーン上に記録された非代替性トークンから該トークンに対応付けられた電子錠2に関する各種権利に関する情報を取得できる。したがって、制御装置1は、ブロックチェーン上に記録されたより信頼性の高い情報に基づいて電子錠2を制御できる。 As a result, the control device 1 accesses the blockchain using the contract address and acquires information regarding various rights regarding the electronic lock 2 associated with the non-fungible token recorded on the blockchain. can. Therefore, the control device 1 can control the electronic lock 2 based on more reliable information recorded on the blockchain.

非代替性トークンが記録対象となるトークン自身に対応付けられた電子錠2に関する各種権利に関する情報を含むよう記録されていない場合、非代替性トークン発行処理は、非代替性トークンと電子錠2との対応付けをサーバ4に記録する対応付け記録ステップ(ステップS3)を含むことが好ましい。 If the non-fungible token is not recorded to include information regarding various rights related to the electronic lock 2 associated with the token to be recorded, the non-fungible token issuance process It is preferable to include an association recording step (step S3) of recording the association of , on the server 4 .

[ステップS3:非代替性トークンと電子錠との対応付けを記録]
サーバ4は、ステップS2で記録された非代替性トークンと電子錠2に関する各種権利との対応付けをサーバ4に記録する処理を行う(ステップS3、対応付け記録ステップ)。サーバ4は、非代替性トークン発行処理を終了し、処理をステップS1に移す。
[Step S3: Record the association between the non-fungible token and the electronic lock]
The server 4 performs a process of recording in the server 4 the association between the non-fungible token recorded in step S2 and various rights regarding the electronic lock 2 (step S3, association recording step). The server 4 ends the non-fungible token issuing process and moves the process to step S1.

非代替性トークン発行処理が対応付け記録ステップを含むことにより、記録対象となるトークン自身に対応付けられた電子錠2に関する各種権利に関する情報を含むよう非代替性トークンが記録されていない場合であっても、制御装置1は、サーバ4を介して該対応付けを取得し、非代替性トークンと対応付けられた電子錠2を制御できる。 Since the non-fungible token issuance process includes the association recording step, there is a case where the non-fungible token is not recorded to include information regarding various rights regarding the electronic lock 2 that is associated with the token itself to be recorded. However, the control device 1 can obtain the association via the server 4 and control the electronic lock 2 associated with the non-fungible token.

[非代替性トークン発行処理の効果]
サーバ4が非代替性トークン発行処理を実行可能であることにより、スマートロックシステムSの利用者は、サーバ4において発行された非代替性トークンを取得し、制御装置1に提示して電子錠2の制御を行い得る。
[Effects of non-fungible token issuance processing]
Since the server 4 can execute the non-fungible token issuing process, the user of the smart lock system S can obtain the non-fungible token issued by the server 4, present it to the control device 1, and issue the electronic lock 2. can be controlled.

スマートロックシステムSの利用者がサーバ4において発行された非代替性トークンを取得する手段は、特に限定されない。非代替性トークンを取得する手段は、例えば、ブロックチェーンを介して該トークンを購入等する従来技術の手段でよい。 The means by which the user of the smart lock system S obtains the non-fungible token issued by the server 4 is not particularly limited. The means for acquiring non-fungible tokens may be, for example, conventional means such as purchasing the tokens via a blockchain.

〔制御装置1で実行される錠制御処理のメインフローチャート〕
図3は、制御装置1で実行される錠制御処理のメインフローチャートである。以下、図3を用いて、錠制御処理の好ましい流れの一例を説明する。
[Main flowchart of lock control processing executed by control device 1]
FIG. 3 is a main flowchart of the lock control process executed by the control device 1. An example of a preferred flow of the lock control process will be described below with reference to FIG.

[ステップS11:二次元コードを読み取ったかを判別]
装置制御部11は、装置記憶部12、読取部14と協働して読取実行部111を実行し、読取部14において二次元コードCを読み取ったかを判別する処理を行う(ステップS11、読取実行ステップ)。二次元コードCを読み取ったと判別したならば、装置制御部11は、処理をステップS12に移す。二次元コードCを読み取ったと判別しなかったならば、装置制御部11は、処理をステップS11に移す。
[Step S11: Determine whether the two-dimensional code has been read]
The device control section 11 executes the reading execution section 111 in cooperation with the device storage section 12 and the reading section 14, and performs a process of determining whether the two-dimensional code C has been read in the reading section 14 (step S11, reading execution step). If it is determined that the two-dimensional code C has been read, the device control unit 11 moves the process to step S12. If it is not determined that the two-dimensional code C has been read, the device control unit 11 moves the process to step S11.

読取部14が検知手段を有する場合、読取実行ステップは、検知対象が検知されたことに応じて二次元コードCの読み取りを試み、この試みが成功した場合に二次元コードCを読み取ったと判別する処理を含むことが好ましい。これにより、制御装置1は、検知対象が検知されない場合に読み取りを行わないよう読取部14を制御できる。これにより、読取部14は、消費電力を低減することができる。 When the reading unit 14 has a detection means, the reading execution step attempts to read the two-dimensional code C in response to the detection of the detection target, and determines that the two-dimensional code C has been read if this attempt is successful. Preferably, the method includes treatment. Thereby, the control device 1 can control the reading unit 14 so as not to perform reading when the detection target is not detected. Thereby, the reading unit 14 can reduce power consumption.

動体識別センサを含む検知手段を読取部14が有する場合、読取実行ステップは、読取部14に二次元コードCを提示する利用者の動きが検知されたことに応じて二次元コードCの読み取りを試み、この試みが成功した場合に二次元コードCを読み取ったと判別する処理を含むことが好ましい。これにより、制御装置1は、利用者が単に読取部14周辺にいて二次元コードCを提示していない場合に読み取りを行わずに消費電力を低減することと、利用者が読取部14に二次元コードCを提示したときに読み取りを行うこととを両立できる。 When the reading unit 14 has a detection means including a moving body identification sensor, the reading execution step reads the two-dimensional code C in response to the detection of the movement of the user presenting the two-dimensional code C to the reading unit 14. It is preferable to include processing for determining that the two-dimensional code C has been read if the attempt is successful. As a result, the control device 1 can reduce power consumption by not performing reading when the user is simply in the vicinity of the reading section 14 and is not presenting the two-dimensional code C, and when the user It is possible to read the dimensional code C when it is presented.

[ステップS12:二次元コードからコントラクトアドレス等を取得可能か判別]
装置制御部11は、装置記憶部12と協働してアドレス取得部112を実行し、ステップS11で読み取った二次元コードCからコントラクトアドレス等を含む被署名情報を取得可能か判別する処理を行う(ステップS12、アドレス取得ステップ)。被署名情報を取得可能であると判別したならば、装置制御部11は、処理をステップS13に移す。被署名情報を取得可能であると判別しなかったならば、装置制御部11は、処理をステップS11に移す。
[Step S12: Determine whether contract address etc. can be obtained from the two-dimensional code]
The device control unit 11 executes the address acquisition unit 112 in cooperation with the device storage unit 12, and performs a process of determining whether signed information including a contract address etc. can be acquired from the two-dimensional code C read in step S11. (Step S12, address acquisition step). If it is determined that the signed information can be obtained, the device control unit 11 moves the process to step S13. If it is not determined that the signed information can be obtained, the device control unit 11 moves the process to step S11.

ステップS12で取得される被署名情報は、少なくとも、非代替性トークンのコントラクトアドレスを含む。ステップS12で取得される被署名情報は、非代替性トークンを識別可能なトークンIDをさらに含むことが好ましい。これにより、制御装置1は、トークンIDによって識別された特定の非代替性トークンに電子錠2の制御に関する権利が対応付けられているかの判別結果に基づいて電子錠2を制御できる。したがって、非代替性トークン単位で判別する、より信頼性の高い制御を実現し得る。 The signed information acquired in step S12 includes at least the contract address of the non-fungible token. Preferably, the signed information acquired in step S12 further includes a token ID that can identify the non-fungible token. Thereby, the control device 1 can control the electronic lock 2 based on the determination result as to whether a right regarding control of the electronic lock 2 is associated with a specific non-fungible token identified by the token ID. Therefore, it is possible to realize more reliable control that is determined on a non-fungible token basis.

被署名情報は、コントラクトアドレスから発行された1又は複数のトークンから特定の非代替性トークンを識別可能なトークンIDを含まない情報でもよい。これにより、被署名情報を含む二次元コードCのデータ量を小さくし、該二次元コードCの読み取りに要するコストを低減し得る。 The signed information may be information that does not include a token ID that can identify a specific non-fungible token from one or more tokens issued from a contract address. Thereby, the amount of data of the two-dimensional code C including signed information can be reduced, and the cost required for reading the two-dimensional code C can be reduced.

[ステップS13:判別結果取得処理]
装置制御部11は、装置記憶部12等と協働して、ステップS12で取得したコントラクトアドレスを含む被署名情報に対する電子署名に基づく判別結果を取得する判別結果取得処理を行う(ステップS13、判別結果取得ステップ)。装置制御部11は、処理をステップS14に移す。ステップS13で実行される判別結果取得処理の好ましい流れは、後に図4及び図5を用いて詳細に説明される。
[Step S13: Discrimination result acquisition process]
The device control unit 11 cooperates with the device storage unit 12 and the like to perform a determination result acquisition process to acquire a determination result based on the electronic signature for the signed information including the contract address acquired in step S12 (step S13, determination result acquisition step). The device control unit 11 moves the process to step S14. A preferred flow of the determination result acquisition process executed in step S13 will be explained in detail later using FIGS. 4 and 5.

判別結果取得処理が終了すると、装置制御部11は、装置記憶部12及び錠制御部15と協働して錠制御実行部119を実行し、ステップS14からステップS15の錠制御実行ステップを行う。 When the determination result acquisition processing is completed, the device control unit 11 executes the lock control execution unit 119 in cooperation with the device storage unit 12 and the lock control unit 15, and performs lock control execution steps from step S14 to step S15.

[ステップS14:電子錠を制御可能か判別]
装置制御部11は、装置記憶部12及び錠制御部15と協働して錠制御実行部119を実行し、ステップS13で取得した判別結果に基づいて電子錠2を制御可能か判別する処理を行う(ステップS14)。電子錠2を制御可能であると判別したならば、装置制御部11は、処理をステップS15に移す。電子錠2を制御可能であると判別しなかったならば、装置制御部11は、錠制御処理を終了し、処理をステップS11に移す。
[Step S14: Determine whether electronic lock can be controlled]
The device control section 11 executes the lock control execution section 119 in cooperation with the device storage section 12 and the lock control section 15, and performs a process of determining whether the electronic lock 2 can be controlled based on the determination result obtained in step S13. (Step S14). If it is determined that the electronic lock 2 is controllable, the device control unit 11 moves the process to step S15. If it is not determined that the electronic lock 2 is controllable, the device control unit 11 ends the lock control process and moves the process to step S11.

ステップS14における電子錠2を制御可能か判別する処理は、ステップS13で取得した判別結果が制御装置1の管理対象である1又は複数の電子錠2のいずれか1つである所定電子錠を制御可能であるとの判別結果である場合に所定電子錠を制御可能であると判別する処理を含むことが好ましい。 The process of determining whether or not the electronic lock 2 can be controlled in step S14 is based on the determination result acquired in step S13 controlling a predetermined electronic lock, which is any one of the one or more electronic locks 2 managed by the control device 1. It is preferable to include a process of determining that the predetermined electronic lock is controllable when the determination result is that the predetermined electronic lock is controllable.

これにより、管理対象である1又は複数の電子錠2のそれぞれについて、非代替性トークンと対応付けられた権利に基づいて電子錠2を制御できる。したがって、管理対象である1又は複数の電子錠2を区別せずに制御する場合より、信頼性の高い制御を行える。 Thereby, the electronic lock 2 can be controlled based on the right associated with the non-fungible token for each of the one or more electronic locks 2 to be managed. Therefore, more reliable control can be performed than when controlling one or more electronic locks 2 to be managed without distinguishing them.

[ステップS15:電子錠を制御]
装置制御部11は、装置記憶部12及び錠制御部15と協働して錠制御実行部119を実行し、ステップS13で取得した判別結果に基づいて電子錠2を制御する処理を行う(ステップS15)。装置制御部11は、錠制御処理を終了し、処理をステップS11に移す。
[Step S15: Control electronic lock]
The device control unit 11 executes the lock control execution unit 119 in cooperation with the device storage unit 12 and the lock control unit 15, and performs processing to control the electronic lock 2 based on the determination result obtained in step S13 (step S15). The device control unit 11 ends the lock control process and moves the process to step S11.

ステップS15における電子錠2を制御する処理は、ステップS13で取得した判別結果が制御装置1の管理対象である1又は複数の電子錠2のいずれか1つである所定電子錠を制御可能であるとの判別結果である場合に所定電子錠を制御する処理を含むことが好ましい。 The process of controlling the electronic lock 2 in step S15 can control a predetermined electronic lock whose determination result obtained in step S13 is any one of the one or more electronic locks 2 managed by the control device 1. It is preferable to include a process of controlling a predetermined electronic lock when the determination result is .

これにより、管理対象である1又は複数の電子錠2のそれぞれについて、非代替性トークンと対応付けられた権利に基づいて電子錠2を制御できる。したがって、管理対象である1又は複数の電子錠2を区別せずに制御する場合より、信頼性の高い制御を行える。 Thereby, the electronic lock 2 can be controlled based on the right associated with the non-fungible token for each of the one or more electronic locks 2 to be managed. Therefore, more reliable control can be performed than when controlling one or more electronic locks 2 to be managed without distinguishing them.

〔ステップS13で実行される判別結果取得処理のフローチャート〕
図4は、図3のステップS13で実行される判別結果取得処理のフローチャートである。図5は、図4に続く図である。以下、図4及び図5を用いて判別結果取得処理の好ましい流れの一例を説明する。
[Flowchart of determination result acquisition processing executed in step S13]
FIG. 4 is a flowchart of the determination result acquisition process executed in step S13 of FIG. FIG. 5 is a diagram following FIG. 4. An example of a preferable flow of the determination result acquisition process will be described below with reference to FIGS. 4 and 5.

端末3は、コントラクトアドレスを含む被署名情報に対する電子署名を取得可能な二次元コードCを表示可能である場合、判別結果取得処理は、ステップS21で実行される署名等取得ステップを含むことが好ましい。 If the terminal 3 is capable of displaying a two-dimensional code C capable of acquiring an electronic signature for signed information including a contract address, it is preferable that the determination result acquisition process includes a signature acquisition step executed in step S21. .

判別結果取得処理が署名等取得ステップを含むことにより、制御装置1は、ネットワークNを介して電子署名等を取得することなく、二次元コードCから電子署名等を取得できる。よって、ネットワークNを介して電子署名等が傍受されるリスクが低減され得る。 Since the determination result acquisition process includes the signature etc. acquisition step, the control device 1 can acquire the electronic signature etc. from the two-dimensional code C without acquiring the electronic signature etc. via the network N. Therefore, the risk of electronic signatures etc. being intercepted via the network N can be reduced.

[ステップS21:二次元コードから電子署名等を取得可能か判別]
装置制御部11は、装置記憶部12と協働して署名等取得部113を実行し、ステップS11で読み取った二次元コードCから被署名情報及び電子署名等(電子署名等)を取得可能か判別する処理を行う(ステップS21、署名等取得ステップ)。二次元コードCから電子署名等を取得可能であると判別したならば、装置制御部11は、処理をステップS22に移す。二次元コードCから電子署名等を取得可能であると判別しなかったならば、装置制御部11は、処理をステップS27に移す。
[Step S21: Determine whether an electronic signature etc. can be obtained from the two-dimensional code]
The device control unit 11 executes the signature etc. acquisition unit 113 in cooperation with the device storage unit 12, and determines whether it is possible to acquire signed information and an electronic signature (electronic signature, etc.) from the two-dimensional code C read in step S11. A determination process is performed (step S21, signature etc. acquisition step). If it is determined that an electronic signature or the like can be obtained from the two-dimensional code C, the device control unit 11 moves the process to step S22. If it is not determined that an electronic signature or the like can be obtained from the two-dimensional code C, the device control unit 11 moves the process to step S27.

被署名情報が、二次元コードCが生成されてから現在時刻までの経過時間が所定範囲に含まれるかを判別可能な所定情報を含む場合、署名等取得ステップは、二次元コードCから所定情報を取得可能であることが好ましい。これにより、制御装置1は、所定情報を用いて、二次元コードCが生成されてから現在時刻までの経過時間が所定範囲に含まれるかを判別できる。 When the signed information includes predetermined information that can determine whether the elapsed time from the generation of the two-dimensional code C to the current time is included in the predetermined range, the signature etc. acquisition step extracts the predetermined information from the two-dimensional code C. It is preferable that it is possible to obtain Thereby, the control device 1 can use the predetermined information to determine whether the elapsed time from the generation of the two-dimensional code C to the current time is included in the predetermined range.

判別結果取得処理が署名等取得ステップを含む場合、判別結果取得処理は、ステップS22で実行される署名判別ステップをさらに含むことが好ましい。 When the determination result acquisition process includes a signature etc. acquisition step, it is preferable that the determination result acquisition process further includes a signature determination step executed in step S22.

[ステップS22:電子署名が有効であるか判別]
装置制御部11は、装置記憶部12と協働して署名判別部114を実行し、ステップS21で取得した電子署名が有効であるか判別する処理を行う(ステップS22、署名判別ステップ)。電子署名が有効であると判別したならば、装置制御部11は、処理をステップS23に移す。電子署名が有効であると判別しなかったならば、装置制御部11は、処理をステップS14に移す。
[Step S22: Determine whether the electronic signature is valid]
The device control unit 11 executes the signature determination unit 114 in cooperation with the device storage unit 12, and performs processing to determine whether the electronic signature acquired in step S21 is valid (step S22, signature determination step). If it is determined that the electronic signature is valid, the device control unit 11 moves the process to step S23. If the electronic signature is not determined to be valid, the device control unit 11 moves the process to step S14.

判別結果取得処理が署名判別ステップをさらに含むことにより、スマートロックシステムSの管理者は、電子署名が有効であるか判別に基づく二次元コードCの有効性管理を実現し得る。 By further including the signature determination step in the determination result acquisition process, the administrator of the smart lock system S can manage the validity of the two-dimensional code C based on determining whether the electronic signature is valid.

電子署名が有効であるか判別する処理は、特に限定されない。該処理は、例えば、二次元コードCが生成されてから現在時刻までの経過時間に基づいて電子署名が有効であるか判別する手順、スマートロックシステムSの管理者が無効にした電子署名を無効であると判別する手順、等の1以上を含む。 The process of determining whether the electronic signature is valid is not particularly limited. This processing includes, for example, a procedure for determining whether an electronic signature is valid based on the elapsed time from the generation of the two-dimensional code C to the current time, and a procedure for invalidating an electronic signature that has been invalidated by the administrator of the smart lock system S. The procedure includes one or more of the following.

署名等取得ステップが二次元コードCから所定情報を取得可能である場合、署名判別ステップは、二次元コードCが生成されてから現在時刻までの経過時間が所定範囲に含まれるかを所定情報に基づいて判別し、該判別に基づいて電子署名が有効であるか無効であるかを判別する手順を含むことが好ましい。 When the signature etc. acquisition step can acquire predetermined information from the two-dimensional code C, the signature determination step determines whether the elapsed time from the generation of the two-dimensional code C to the current time is included in the predetermined range. It is preferable to include a step of determining whether the electronic signature is valid or invalid based on the determination.

上記手順に関し、二次元コードCを用いた電子錠2の制御において、二次元コードCの有効期限を限定する要望がある。これにより、万が一、二次元コードCが漏えい等した場合であっても、漏えい等した当該二次元コードCを用いた不正な開錠の試みを防ぎ得る。 Regarding the above procedure, there is a desire to limit the expiration date of the two-dimensional code C in controlling the electronic lock 2 using the two-dimensional code C. Thereby, even if the two-dimensional code C is leaked, it is possible to prevent an unauthorized attempt to open the lock using the leaked two-dimensional code C.

また、電子署名を用いた電子錠2の制御において、電子署名の有効期限を限定する要望がある。これにより、電子署名が秘密の情報でなくなった場合であっても、当該電子署名を用いた不正な開錠の試みを防ぎ得る。秘密の情報でなくなった電子署名を用いた不正な開錠の試みを防ぎ得る特徴は、電子署名がブロックチェーン上に記録され、ブロックチェーンを用いて構築された分散型システムに参加するメンバーにおいて当該電子署名が容易に検証可能な情報、すなわち、秘密でない情報となる場合に特に有益である。 Furthermore, in controlling the electronic lock 2 using an electronic signature, there is a desire to limit the expiration date of the electronic signature. Thereby, even if the electronic signature is no longer confidential information, it is possible to prevent unauthorized attempts to open the lock using the electronic signature. A feature that can prevent unauthorized attempts to open the lock using an electronic signature that is no longer confidential information is that the electronic signature is recorded on the blockchain, and the member participating in the decentralized system built using the blockchain is This is particularly useful when the electronic signature represents easily verifiable information, ie, non-confidential information.

署名判別ステップが、経過時間が所定範囲に含まれるかを所定情報に基づいて判別し、該判別に基づいて電子署名が有効であるか無効であるかを判別する手順を含むことにより、スマートロックシステムSの管理者は、二次元コードC及び/又は電子署名の有効期限を所定範囲に限定できる。これにより、スマートロックシステムSは、よりいっそう信頼性の高い電子錠2の制御を行い得る。 The signature determination step includes a step of determining whether the elapsed time is within a predetermined range based on predetermined information, and determining whether the electronic signature is valid or invalid based on the determination. The administrator of the system S can limit the expiration date of the two-dimensional code C and/or electronic signature to a predetermined range. Thereby, the smart lock system S can control the electronic lock 2 with even higher reliability.

制御装置1が、ステップS21で取得した被署名情報及び電子署名に基づいて二次元コードCが二次元コードCの所有者によって提示されたかを判別可能な提示者判別部115を備え、かつ、サーバ4が後述する判別結果送信処理を実行可能である場合、判別結果取得処理は、ステップS23で実行されるサーバ4での判別を実行可能か判別する処理を含むことが好ましい。 The control device 1 includes a presenter determination unit 115 capable of determining whether the two-dimensional code C has been presented by the owner of the two-dimensional code C based on the signed information and the electronic signature acquired in step S21, and the server 4 is capable of executing a determination result transmission process to be described later, it is preferable that the determination result acquisition process includes a process of determining whether the server 4 can perform the determination, which is executed in step S23.

これにより、制御装置1は、サーバ4での判別を実行可能である場合にサーバ4に判別結果の送信を指令して制御装置1における処理負荷の増大を抑制することと、サーバ4での判別を実行可能でない場合に判別結果を取得することと、を両立できる。 As a result, the control device 1 can suppress an increase in the processing load on the control device 1 by instructing the server 4 to transmit the determination results when the server 4 can perform the determination, and can It is possible to obtain the determination result when the method is not executable.

[ステップS23:外部装置での判別を実行可能か判別]
装置制御部11は、装置記憶部12及び装置通信部13と協働して、電子署名に基づく判別をサーバ4等の外部装置で実行可能か判別する処理を行う(ステップS23、第1外部判別可否判別ステップ)。実行可能であると判別したならば、装置制御部11は、処理をステップS25に移す。実行可能であると判別しなかったならば、装置制御部11は、処理をステップS24に移す。
[Step S23: Determine whether determination using an external device can be performed]
The device control unit 11 cooperates with the device storage unit 12 and the device communication unit 13 to perform a process of determining whether an external device such as the server 4 can perform a determination based on the electronic signature (step S23, first external determination). step). If it is determined that it is executable, the device control unit 11 moves the process to step S25. If it is not determined that it is executable, the device control unit 11 moves the process to step S24.

第1外部判別可否判別ステップは、特に限定されない。該処理は、例えば、外部装置との通信の可否、外部装置との間の通信速度、外部装置との通信の安全性、等の1以上に基づいて電子署名に基づく判別を外部装置で実行可能か判別する処理でよい。 The first external discrimination determination step is not particularly limited. The processing can be performed by the external device, for example, based on one or more of the following: availability of communication with the external device, communication speed with the external device, safety of communication with the external device, etc. It is sufficient to process to determine whether

これにより、制御装置1は、外部装置との通信に係る諸元に基づいて、電子署名に基づく判別を外部装置で実行可能か判別できる。そして、制御装置1は、該判別に基づいて、電子署名に基づく判別を制御装置1又は外部装置のうち適切な方で実行するよう処理を進めることができる。 Thereby, the control device 1 can determine whether the external device can perform the determination based on the electronic signature, based on the specifications related to communication with the external device. Then, based on the determination, the control device 1 can proceed with the process so that the determination based on the electronic signature is executed by an appropriate one of the control device 1 or an external device.

判別結果取得処理は、ステップS24で実行される提示者判別ステップを含むことが好ましい。これにより、ネットワークNを介して電子署名を外部装置に送信することなく、ステップS11で読み取った二次元コードCが二次元コードCの所有者によって提示されたかの判別を行える。これにより、制御装置1は、電子署名が傍受されるリスクを、ネットワークNを介して電子署名を外部装置に送信する場合より低減できる。 It is preferable that the determination result acquisition process includes a presenter determination step executed in step S24. This makes it possible to determine whether the two-dimensional code C read in step S11 has been presented by the owner of the two-dimensional code C, without transmitting the electronic signature to the external device via the network N. Thereby, the control device 1 can reduce the risk of the electronic signature being intercepted compared to the case where the electronic signature is transmitted to an external device via the network N.

[ステップS24:電子署名に基づく判別を行い、結果を格納]
装置制御部11は、装置記憶部12と協働して提示者判別部115を実行し、ステップS21で取得した電子署名に基づいて、ステップS11で読み取った二次元コードCが二次元コードCの所有者によって提示されたかの判別を行い、その結果を装置記憶部12に格納する処理を行う(ステップS24、提示者判別ステップ)。装置制御部11は、処理をステップS14に移す。
[Step S24: Make a determination based on the electronic signature and store the result]
The device control unit 11 executes the presenter determination unit 115 in cooperation with the device storage unit 12, and determines whether the two-dimensional code C read in step S11 is the same as the two-dimensional code C based on the electronic signature acquired in step S21. It is determined whether it has been presented by the owner, and the result is stored in the device storage unit 12 (step S24, presenter determination step). The device control unit 11 moves the process to step S14.

判別結果取得処理が提示者判別ステップを含むことにより、制御装置1は、二次元コードCから取得した電子署名に基づく判別結果に基づいて二次元コードCを提示した提示者が二次元コードCの所有者すなわち非代替性トークンの所有者であるかを判別し、電子錠2を制御し得る。また、これにより、制御装置1は、電子署名が傍受されるリスクを、ネットワークNを介して取得した電子署名に基づいて判別する場合より低減できる。 Since the determination result acquisition process includes the presenter determination step, the control device 1 determines whether the presenter who presented the two-dimensional code C is the presenter of the two-dimensional code C based on the determination result based on the electronic signature acquired from the two-dimensional code C. The electronic lock 2 can be controlled by determining whether the user is the owner of the non-fungible token. Further, thereby, the control device 1 can reduce the risk of the electronic signature being intercepted compared to the case where the determination is made based on the electronic signature acquired via the network N.

ステップS21で取得した電子署名がブロックチェーン上に記録された所定電子署名を含む場合、装置制御部11は、提示者判別ステップに代えて、装置記憶部12と協働して所有者判別部118を実行し、所定電子署名に基づいて、ステップS11で読み取った二次元コードCが二次元コードCの所有者によって提示されたかの判別を行い、その結果を装置記憶部12に格納する所有者判別ステップを行うことが好ましい。 If the electronic signature acquired in step S21 includes a predetermined electronic signature recorded on the blockchain, the device control unit 11 cooperates with the device storage unit 12 to execute the owner determination unit 118 instead of the presenter determination step. an owner determination step in which it is determined whether the two-dimensional code C read in step S11 has been presented by the owner of the two-dimensional code C based on a predetermined electronic signature, and the result is stored in the device storage unit 12; It is preferable to do this.

これにより、制御装置1は、高いビザンチンフォールトトレランス性を有するブロックチェーン上に記録された信頼できる所定電子署名に基づいて二次元コードCがその所有者によって提示されたと判別することと、ネットワークNを介して取得した電子署名に基づいて判別する場合より電子署名が傍受されるリスクを低減することと、を両立できる。これにより、制御装置1は、いっそう信頼性の高い電子錠2の制御を実現し得る。 As a result, the control device 1 determines that the two-dimensional code C has been presented by its owner based on a reliable predetermined electronic signature recorded on a blockchain with high Byzantine fault tolerance, and the control device 1 determines that the two-dimensional code C has been presented by its owner. It is possible to reduce the risk of electronic signatures being intercepted compared to the case where the determination is made based on electronic signatures acquired via a computer. Thereby, the control device 1 can realize even more reliable control of the electronic lock 2.

(第1の場合の効果)
また、ステップS21で取得した電子署名がブロックチェーン上に記録された所定電子署名を含み、判別結果取得処理が署名判別ステップを含み、装置制御部11がステップS24で所有者判別ステップを行う場合(第1の場合)、制御装置1は、よりいっそう信頼性の高い電子錠2の制御を実現し得る。
(Effect in the first case)
Further, if the electronic signature acquired in step S21 includes a predetermined electronic signature recorded on the blockchain, the determination result acquisition process includes a signature determination step, and the device control unit 11 performs the owner determination step in step S24 ( In the first case), the control device 1 can realize even more reliable control of the electronic lock 2.

第1の場合において、所定電子署名は、ブロックチェーンにアクセス可能な他の参加者が検証可能な状態でブロックチェーン上に記録される。すなわち、所定電子署名は、秘密の情報でなくなる。 In the first case, the predetermined electronic signature is recorded on the blockchain in a state that can be verified by other participants who have access to the blockchain. That is, the predetermined electronic signature is no longer confidential information.

判別結果取得処理が署名判別ステップを含むことにより、スマートロックシステムSの管理者は、電子錠2の制御に一度用いられた所定電子署名を無効化できる。よって、不正な開錠を試みる者が秘密の情報でない所定電子署名をブロックチェーンから取得して不正な開錠に用いる不正二次元コードを仮に生成できたとしても、不正二次元コードを用いるタイミングにおいて、電子錠2の制御に一度用いられた所定電子署名が無効化されているため、制御装置1は、不正な開錠を防ぎ得る。 Since the determination result acquisition process includes the signature determination step, the administrator of the smart lock system S can invalidate a predetermined electronic signature once used to control the electronic lock 2. Therefore, even if a person attempting to illegally open a lock is able to obtain a predetermined electronic signature that is not confidential information from the blockchain and generate a fraudulent two-dimensional code for use in illegally unlocking, the timing of using the fraudulent two-dimensional code Since the predetermined electronic signature once used to control the electronic lock 2 has been invalidated, the control device 1 can prevent unauthorized unlocking.

したがって、第1の場合において、制御装置1は、よりいっそう信頼性の高い電子錠2の制御を実現し得る。 Therefore, in the first case, the control device 1 can realize even more reliable control of the electronic lock 2.

(第2の場合の効果)
また、第1の場合に加えて、経過時間が所定範囲に含まれるかを所定情報に基づいて判別し、該判別に基づいて電子署名が有効であるか無効であるかを判別する手順を含む署名判別ステップである場合(第2の場合)、制御装置1は、さらにいっそう信頼性の高い電子錠2の制御を実現し得る。
(Effect in the second case)
In addition to the first case, the present invention also includes a step of determining whether the elapsed time is within a predetermined range based on predetermined information, and determining whether the electronic signature is valid or invalid based on the determination. In the case of the signature determination step (second case), the control device 1 can realize even more reliable control of the electronic lock 2.

第2の場合においても、所定電子署名は、ブロックチェーンにアクセス可能な他の参加者が検証可能な状態でブロックチェーン上に記録される。すなわち、所定電子署名は、秘密の情報でなくなる。 In the second case as well, the predetermined electronic signature is recorded on the blockchain in a state that can be verified by other participants who have access to the blockchain. That is, the predetermined electronic signature is no longer confidential information.

経過時間が所定範囲に含まれるかを所定情報に基づいて判別し、該判別に基づいて電子署名が有効であるか無効であるかを判別する手順を含む署名判別ステップであることにより、制御装置1は、有効期限を過ぎた所定電子署名と対応付けられた二次元コードCについて、電子錠2を制御可能な二次元コードCでないと判別できる。 The signature determination step includes a step of determining whether the elapsed time is included in a predetermined range based on predetermined information, and determining whether the electronic signature is valid or invalid based on the determination. 1 can determine that the two-dimensional code C associated with a predetermined electronic signature whose expiration date has passed is not a two-dimensional code C that can control the electronic lock 2.

よって、不正な開錠を試みる者が秘密の情報でない所定電子署名をブロックチェーンから取得して不正な開錠に用いる不正二次元コードを仮に生成できたとしても、不正二次元コードを用いるタイミングにおいて、所定電子署名の有効期限が過ぎており、二次元コードCが電子錠2を制御可能でないと判別されているため、制御装置1は、所定電子署名を逐一無効化する手順を実行することなく、不正な開錠を防ぎ得る。 Therefore, even if a person attempting to illegally open a lock is able to obtain a predetermined electronic signature that is not confidential information from the blockchain and generate a fraudulent two-dimensional code for use in illegally unlocking, the timing of using the fraudulent two-dimensional code , the expiration date of the predetermined electronic signature has passed, and it is determined that the two-dimensional code C cannot control the electronic lock 2. Therefore, the control device 1 does not execute the procedure of invalidating the predetermined electronic signature one by one. , can prevent unauthorized unlocking.

したがって、第2の場合において、制御装置1は、さらにいっそう信頼性の高い電子錠2の制御を実現し得る。 Therefore, in the second case, the control device 1 can realize even more reliable control of the electronic lock 2.

判別結果取得処理は、ステップS25で実行される処理を含むことが好ましい。これにより、サーバ4に判別結果の送信を指令して制御装置1における処理負荷の増大を抑制し得る。 It is preferable that the determination result acquisition process includes the process executed in step S25. Thereby, an increase in the processing load on the control device 1 can be suppressed by instructing the server 4 to transmit the determination result.

[ステップS25:外部装置に電子署名に基づく判別を指令]
装置制御部11は、装置記憶部12及び装置通信部13と協働して判別指令部116を実行し、ステップS21で取得した電子署名に基づいてステップS11で読み取った二次元コードCが二次元コードCの所有者によって提示されたかを判別するようサーバ4等の外部装置に指令する処理を行う(ステップS25、外部判別指令ステップ)。装置制御部11は、処理をステップS29に移す。
[Step S25: Instruct external device to make determination based on electronic signature]
The device control unit 11 executes the determination command unit 116 in cooperation with the device storage unit 12 and the device communication unit 13, and determines whether the two-dimensional code C read in step S11 is two-dimensional based on the electronic signature acquired in step S21. A process is performed to instruct an external device such as the server 4 to determine whether the code C has been presented by the owner (step S25, external determination command step). The device control unit 11 moves the process to step S29.

制御装置1が、二次元コードCを提示した提示者がステップS12で取得したコントラクトアドレスに関する非代替性トークンの所有者であるかをブロックチェーン上に記録された所定電子署名に基づいて判別可能な所有者判別部118を備え、かつ、サーバ4が後述する判別結果送信処理を実行可能である場合、判別結果取得処理は、ステップS26で実行されるサーバ4での判別を実行可能か判別する処理を含むことが好ましい。 The control device 1 can determine whether the presenter who presented the two-dimensional code C is the owner of the non-fungible token related to the contract address acquired in step S12 based on a predetermined electronic signature recorded on the blockchain. When the server 4 is equipped with the owner determination unit 118 and is capable of executing the determination result transmission process described later, the determination result acquisition process is a process of determining whether the server 4 can perform the determination performed in step S26. It is preferable to include.

これにより、制御装置1は、サーバ4での判別を実行可能である場合にサーバ4に判別結果の送信を指令して制御装置1における処理負荷の増大を抑制することと、サーバ4での判別を実行可能でない場合に判別結果を取得することと、を両立できる。 As a result, the control device 1 can suppress an increase in the processing load on the control device 1 by instructing the server 4 to transmit the determination results when the server 4 can perform the determination, and can It is possible to obtain the determination result when the method is not executable.

[ステップS26:外部装置での判別を実行可能か判別]
装置制御部11は、装置記憶部12及び装置通信部13と協働して、所定電子署名に基づく判別をサーバ4等の外部装置で実行可能か判別する処理を行う(ステップS26、第2外部判別可否判別ステップ)。実行可能であると判別したならば、装置制御部11は、処理をステップS28に移す。実行可能であると判別しなかったならば、装置制御部11は、処理をステップS27に移す。
[Step S26: Determine whether determination can be performed using an external device]
The device control unit 11 cooperates with the device storage unit 12 and the device communication unit 13 to perform a process of determining whether an external device such as the server 4 can perform a determination based on a predetermined electronic signature (step S26, a second external determination step). If it is determined that it is executable, the device control unit 11 moves the process to step S28. If it is not determined that it is executable, the device control unit 11 moves the process to step S27.

第2外部判別可否判別ステップは、特に限定されず、ステップS23において電子署名に基づく判別を外部装置で実行可能か判別する処理と同様でよい。 The second external determination possibility determining step is not particularly limited, and may be similar to the process of determining whether the external device can perform the determination based on the electronic signature in step S23.

判別結果取得処理は、ステップS27で実行される所有者判別ステップを含むことが好ましい。 Preferably, the determination result acquisition process includes an owner determination step executed in step S27.

二次元コードCを提示した提示者が非代替性トークンの所有者であるかを所定署名情報に基づいて判別する処理を外部装置で行う場合、当該処理は、制御装置1から外部装置に所定電子署名を送信する処理を含む。これにより、ネットワークの安全性が十分に保障されていない通信環境では、送信された所定電子署名が漏えい等し、漏えい等した所定電子署名が不正な開錠の試みに利用されるリスクが懸念される。 When an external device performs processing to determine whether the presenter who presented the two-dimensional code C is the owner of the non-fungible token based on predetermined signature information, the processing is performed from the control device 1 to the external device using a predetermined electronic Includes the process of sending the signature. As a result, in a communication environment where network security is not sufficiently guaranteed, there is a risk that the predetermined electronic signature sent may be leaked, and the leaked predetermined electronic signature may be used in an unauthorized attempt to open the lock. Ru.

判別結果取得処理が所有者判別ステップを含むことにより、制御装置1は、所定電子署名を外部装置に送信することなく、二次元コードCを提示した提示者が非代替性トークンの所有者であるかを所定署名情報に基づいて判別できる。したがって、判別結果取得処理が所有者判別ステップを含むことにより、不正な開錠の試みがよりいっそう防がれ得る。 Since the determination result acquisition process includes the owner determination step, the control device 1 can determine that the presenter who presented the two-dimensional code C is the owner of the non-fungible token without transmitting a predetermined electronic signature to the external device. It can be determined based on predetermined signature information. Therefore, by including the owner determination step in the determination result acquisition process, unauthorized attempts to unlock the lock can be further prevented.

[ステップS27:所定電子署名に基づく判別を行い、結果を格納]
装置制御部11は、装置記憶部12と協働して所有者判別部118を実行し、所定電子署名に基づいて、ステップS11で読み取った二次元コードCが二次元コードCの所有者によって提示されたかの判別を行い、その結果を装置記憶部12に格納する処理を行う(ステップS27、所有者判別ステップ)。装置制御部11は、処理をステップS14に移す。
[Step S27: Perform determination based on predetermined electronic signature and store result]
The device control unit 11 executes the owner determination unit 118 in cooperation with the device storage unit 12, and based on the predetermined electronic signature, the two-dimensional code C read in step S11 is presented by the owner of the two-dimensional code C. A process is performed to determine whether or not the owner has been used, and to store the result in the device storage unit 12 (step S27, owner determination step). The device control unit 11 moves the process to step S14.

必須の態様ではないが、本実施形態の一態様として、所有者判別ステップは、ステップS12で取得したコントラクトアドレスを含む被署名情報に対する所定電子署名が二次元コードCの所有者によってブロックチェーン上に記録されたと判別した場合に、該二次元コードCがその所有者によって提示されたと判別する手順を含むことが好ましい。これにより、制御装置1は、高いビザンチンフォールトトレランス性を有するブロックチェーン上に記録された信頼できる所定電子署名に基づいて、二次元コードCがその所有者によって提示されたと判別できる。 Although not an essential aspect, as an aspect of the present embodiment, the owner determination step is performed when a predetermined electronic signature on the signed information including the contract address acquired in step S12 is placed on the blockchain by the owner of the two-dimensional code C. It is preferable to include a procedure of determining that the two-dimensional code C has been presented by its owner when it is determined that the two-dimensional code C has been recorded. Thereby, the control device 1 can determine that the two-dimensional code C has been presented by its owner based on the reliable predetermined electronic signature recorded on the blockchain having high Byzantine fault tolerance.

判別結果取得処理は、ステップS28で実行される判別指令ステップを含むことが好ましい。 Preferably, the determination result acquisition process includes a determination command step executed in step S28.

判別結果取得処理が判別指令ステップを含むことにより、ブロックチェーンに記録された所定電子署名に基づく判別を行う処理を制御装置1において実行することに伴う制御装置1の消費電力増大、制御装置1の複雑化、及び/又は制御装置1の大型化等の各種課題が解消され得る。 Since the determination result acquisition process includes the determination command step, the power consumption of the control device 1 increases due to the control device 1 executing the process of determining based on the predetermined electronic signature recorded in the blockchain, and the control device 1 Various problems such as complication and/or enlargement of the control device 1 can be solved.

[ステップS28:外部装置に所定電子署名に基づく判別を指令]
装置制御部11は、装置記憶部12及び装置通信部13と協働して判別指令部116を実行し、ブロックチェーン上に記録された所定電子署名に基づいて、ステップS11で読み取った二次元コードCが二次元コードCの所有者によって提示されたかを判別するようサーバ4に指令する処理を行う(ステップS28、判別指令ステップ)。装置制御部11は、処理をステップS29に移す。
[Step S28: Instruct external device to make determination based on predetermined electronic signature]
The device control unit 11 executes the determination command unit 116 in cooperation with the device storage unit 12 and the device communication unit 13, and executes the two-dimensional code read in step S11 based on the predetermined electronic signature recorded on the blockchain. Processing is performed to instruct the server 4 to determine whether code C has been presented by the owner of the two-dimensional code C (step S28, determination command step). The device control unit 11 moves the process to step S29.

判別結果取得処理がステップS25及び/又はステップS28の処理を含む場合、判別結果取得処理は、ステップS29で実行される判別受信ステップを含む。これにより、制御装置1は、サーバ4に送信を指令した判別結果を受信できる。 When the determination result acquisition process includes the process of step S25 and/or step S28, the determination result acquisition process includes a determination reception step executed in step S29. Thereby, the control device 1 can receive the determination result that the server 4 has been instructed to transmit.

[ステップS29:外部装置から判別結果を受信したか判別]
装置制御部11は、装置記憶部12及び装置通信部13と協働して判別受信部117を実行し、サーバ4等の外部装置から判別結果を受信したか判別する処理を行う(ステップS29、判別受信ステップ)。判別結果を受信したと判別したならば、装置制御部11は、処理をステップS14に移す。判別結果を受信したと判別しなかったならば、装置制御部11は、処理をステップS29に移す。
[Step S29: Determine whether the determination result has been received from the external device]
The device control unit 11 executes the determination receiving unit 117 in cooperation with the device storage unit 12 and the device communication unit 13, and performs processing to determine whether a determination result has been received from an external device such as the server 4 (step S29, determination reception step). If it is determined that the determination result has been received, the device control unit 11 moves the process to step S14. If it is not determined that the determination result has been received, the device control unit 11 moves the process to step S29.

[錠制御処理の効果]
制御装置1は、ステップS21からステップS29までの判別結果取得処理を含むステップS11からステップS15の錠制御処理を実行することにより、二次元コードCを読み取り、読み取った二次元コードCからコントラクトアドレスを取得し、このコントラクトアドレスを含む被署名情報に対する電子署名に基づく判別結果に基づいて電子錠2を制御できる。これにより、制御装置1は、電子署名に基づく判別結果に基づいて二次元コードCを提示した提示者が非代替性トークンの所有者であるかを判別して電子錠2を制御し得る。
[Effects of lock control processing]
The control device 1 reads the two-dimensional code C by executing the lock control process from step S11 to step S15, including the determination result acquisition process from step S21 to step S29, and extracts the contract address from the read two-dimensional code C. The electronic lock 2 can be controlled based on the determination result based on the electronic signature for the signed information including the acquired contract address. Thereby, the control device 1 can control the electronic lock 2 by determining whether the presenter who presented the two-dimensional code C is the owner of the non-fungible token based on the determination result based on the electronic signature.

よって、本実施形態の制御装置1によれば、信頼性の高い開錠を行うことを可能とする各種情報の提供に伴う煩雑な手順を利用者に行わせて電子錠2を開錠しようとする利用者の労力をいたずらに増やすことを防ぐことと、ブロックチェーン上に記録された信頼性の高い非代替性トークンと電子署名に基づく所有者の判別とに基づいて信頼性の高い開錠を行うことと、を両立し得る。 Therefore, according to the control device 1 of this embodiment, an attempt is made to open the electronic lock 2 by having the user perform complicated procedures associated with providing various information that enables highly reliable unlocking. This method prevents unnecessarily increasing the user's effort to unlock the lock, and enables highly reliable unlocking based on highly reliable non-fungible tokens recorded on the blockchain and identification of the owner based on the electronic signature. I can do both.

したがって、本実施形態の制御装置1によれば、電子錠2を開錠しようとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠2の制御を実現可能な手段を提供できる。 Therefore, according to the control device 1 of this embodiment, the electronic lock 2 can be controlled with high reliability using a non-fungible token without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock 2. We can provide a viable means.

[その他の処理]
(無効化処理)
制御装置1は、スマートロックシステムSの管理者等の指令に応じて、指定された二次元コードC、非代替性トークン、及び/又は電子署名による電子錠2の制御を無効化可能な無効化処理を実行可能であることが好ましい。これにより、管理者等は、漏洩等した二次元コードC、漏洩等した非代替性トークン、電子錠2の制御に一度用いられた電子署名、等を無効化し、これらを用いた不正な開錠の試みを防ぎ得る。
[Other processing]
(invalidation process)
The control device 1 is configured to disable control of the electronic lock 2 using a specified two-dimensional code C, non-fungible token, and/or electronic signature in response to a command from an administrator of the smart lock system S. Preferably, the processing can be executed. As a result, the administrator etc. can invalidate the leaked two-dimensional code C, the leaked non-fungible token, the electronic signature once used to control the electronic lock 2, etc., and prevent unauthorized lock opening using these. can prevent attempts.

(対応付け受信処理)
制御装置1は、コントラクトアドレス及び/又は非代替性トークンと電子錠2の制御に関する権利との対応付けをサーバ4から受信可能な対応付け受信処理を実行可能であることが好ましい。これにより、制御装置1は、サーバ4において非代替性トークン等が発行された場合、及び/又は、非代替性トークン等と電子錠2の制御に関する権利との対応付けが変更された場合等に、当該発行後及び/又は当該変更後の対応付けに基づいて電子錠2を制御できる。
(Matching reception processing)
It is preferable that the control device 1 is capable of executing an association reception process in which the association between a contract address and/or a non-fungible token and a right regarding control of the electronic lock 2 can be received from the server 4 . As a result, the control device 1 is able to control the control device 1 when a non-fungible token, etc. is issued by the server 4, and/or when the association between a non-fungible token, etc. and the right regarding control of the electronic lock 2 is changed, etc. , the electronic lock 2 can be controlled based on the correspondence after the issue and/or the change.

〔端末3で実行される二次元コード表示処理のフローチャート〕
図6は、端末3で実行される二次元コード表示処理のフローチャートである。以下、図6を用いて二次元コード表示処理の好ましい流れの一例を説明する。
[Flowchart of two-dimensional code display processing executed on terminal 3]
FIG. 6 is a flowchart of the two-dimensional code display process executed by the terminal 3. An example of a preferred flow of two-dimensional code display processing will be described below with reference to FIG.

[ステップS31:二次元コード表示を指令されたか判別]
端末3は、二次元コードCの表示を指令されたか判別する処理を行う(ステップS31、表示指令判別ステップ)。二次元コードCの表示を指令されたと判別したならば、端末3は、処理をステップS32に移す。二次元コードCの表示を指令されたと判別しなかったならば、端末3は、二次元コード表示処理を終了し、処理をステップS31に移す。
[Step S31: Determine whether two-dimensional code display has been commanded]
The terminal 3 performs a process of determining whether a command has been given to display the two-dimensional code C (step S31, display command determination step). If it is determined that display of the two-dimensional code C has been instructed, the terminal 3 moves the process to step S32. If the terminal 3 does not determine that the display of the two-dimensional code C has been instructed, the terminal 3 ends the two-dimensional code display process and moves the process to step S31.

必須の態様ではないが、本実施形態の一態様として、制御装置1が署名等取得ステップを実行可能である場合、端末3は、ステップS32からステップS33で実行される、ブロックチェーン上から被署名情報に対する所定電子署名を取得する一連の処理(所定電子署名取得ステップ)を実行可能であることが好ましい。 Although not an essential aspect, as an aspect of the present embodiment, when the control device 1 is capable of executing the step of acquiring a signature, etc., the terminal 3 executes the signature acquisition step from the blockchain, which is executed from step S32 to step S33. It is preferable that a series of processes for acquiring a predetermined electronic signature for information (a predetermined electronic signature acquisition step) can be executed.

[ステップS32:ブロックチェーン上に被署名情報を記録し、取得]
端末3は、ブロックチェーン上に被署名情報を記録する処理を行う(ステップS32、被署名情報記録ステップ)。端末3は、処理をステップS33に移す。
[Step S32: Record the signed information on the blockchain and obtain it]
The terminal 3 performs a process of recording signed information on the blockchain (step S32, signed information recording step). The terminal 3 moves the process to step S33.

ブロックチェーン上に被署名情報を記録する処理は、特に限定されない。該処理は、非代替性トークン発行処理の項にて説明された所定電子署名生成手段を用いてブロックチェーン上に被署名情報を記録する手順を含むことが好ましい。これにより、制御装置1及び/又はサーバ4は、所定電子署名判別手段を介して、端末3の利用者が非代替性トークンの所有者であるかを判別できる。 The process of recording signed information on the blockchain is not particularly limited. Preferably, the process includes a procedure of recording the signed information on the blockchain using the predetermined electronic signature generation means described in the section of the non-fungible token issuance process. Thereby, the control device 1 and/or the server 4 can determine whether the user of the terminal 3 is the owner of the non-fungible token via the predetermined electronic signature determination means.

[ステップS33:所定電子署名を取得]
端末3は、ステップS32の記録に伴って生成された所定電子署名を取得する処理を行う(ステップS33、所定電子署名生成ステップ)。端末3は、処理をステップS33に移す。
[Step S33: Obtain predetermined electronic signature]
The terminal 3 performs a process of acquiring the predetermined electronic signature generated in conjunction with the recording in step S32 (step S33, predetermined electronic signature generation step). The terminal 3 moves the process to step S33.

[ステップS34:コントラクトアドレス等を含む二次元コードを表示]
端末3は、コントラクトアドレス等を含む二次元コードCを表示する処理を行う(ステップS33、被署名情報記録ステップ)。端末3は、処理をステップS31に移す。
[Step S34: Display two-dimensional code including contract address, etc.]
The terminal 3 performs a process of displaying the two-dimensional code C including the contract address etc. (step S33, signed information recording step). The terminal 3 moves the process to step S31.

端末3が所定電子署名取得ステップを実行可能である場合、端末3は、被署名情報記録ステップにおいて、ステップS32で記録された被署名情報とステップS33で取得された所定電子署名とを取得可能に構成された二次元コードCを表示可能であることが好ましい。これにより、制御装置1は、二次元コードCから被署名情報及び所定電子署名を取得できる。 If the terminal 3 is capable of executing the predetermined electronic signature acquisition step, the terminal 3 can acquire the signed information recorded in step S32 and the predetermined electronic signature acquired in step S33 in the signed information recording step. It is preferable that the configured two-dimensional code C can be displayed. Thereby, the control device 1 can acquire signed information and a predetermined electronic signature from the two-dimensional code C.

制御装置1が署名判別ステップを実行可能である場合、端末3は、被署名情報記録ステップにおいて、二次元コードCの生成ごとに一意な情報である被署名情報及び被署名情報に対する電子署名を取得可能に構成された二次元コードCを表示可能であることが好ましい。 If the control device 1 is capable of executing the signature determination step, the terminal 3 acquires the signed information and the electronic signature for the signed information, which are unique information for each generation of the two-dimensional code C, in the signed information recording step. It is preferable that the two-dimensional code C configured to be able to be displayed can be displayed.

これにより、制御装置1は、二次元コードCから被署名情報及び電子署名を取得し、該電子署名に基づく判別結果を取得できる。また、スマートロックシステムSの管理者等は、生成された二次元コードCごとに、有効であるか無効であるかを管理できる。 Thereby, the control device 1 can acquire the signed information and the electronic signature from the two-dimensional code C, and can acquire the determination result based on the electronic signature. Further, the administrator of the smart lock system S can manage whether each generated two-dimensional code C is valid or invalid.

端末3は、二次元コードCの項にて説明された所定情報を含む被署名情報を取得可能に構成された二次元コードCを表示可能であることが好ましい。これにより、スマートロックシステムSの管理者は、二次元コードC及び/又は電子署名の有効期限を所定範囲に限定できる。したがって、不正な開錠の試みがよりいっそう防がれ得る。 It is preferable that the terminal 3 is capable of displaying a two-dimensional code C that is configured to be able to acquire signed information including the predetermined information described in the section of the two-dimensional code C. Thereby, the administrator of the smart lock system S can limit the expiration date of the two-dimensional code C and/or the electronic signature to a predetermined range. Therefore, unauthorized attempts to unlock the lock can be further prevented.

[二次元コード表示処理の効果]
端末3が二次元コード表示処理を実行可能であることにより、端末3の利用者は、電子錠2の制御を試みる際に二次元コードCを生成して表示できる。これにより、端末3は、生成された二次元コードCが不正に利用されるリスクを低減し得る。
[Effects of two-dimensional code display processing]
Since the terminal 3 is capable of executing the two-dimensional code display process, the user of the terminal 3 can generate and display the two-dimensional code C when attempting to control the electronic lock 2. Thereby, the terminal 3 can reduce the risk that the generated two-dimensional code C will be used illegally.

〔サーバ4で実行される判別結果送信処理のフローチャート〕
図7は、サーバ4で実行される判別結果送信処理のフローチャートである。以下、図7を用いて判別結果送信処理の好ましい流れの一例を説明する。
[Flowchart of determination result transmission processing executed by server 4]
FIG. 7 is a flowchart of the determination result transmission process executed by the server 4. An example of a preferable flow of the determination result transmission process will be described below with reference to FIG.

[ステップS41:電子署名に基づく判別結果の送信を指令されたか判別]
サーバ4は、電子署名に基づく判別結果の送信を指令されたか判別する処理を行う(ステップS41、送信指令判別ステップ)。電子署名に基づく判別結果の送信を指令されたと判別したならば、サーバ4は、処理をステップS42に移す。電子署名に基づく判別結果の送信を指令されたと判別しなかったならば、サーバ4は、処理をステップS41に移す。
[Step S41: Determine whether transmission of determination results based on electronic signature has been instructed]
The server 4 performs a process of determining whether a command has been given to transmit the determination result based on the electronic signature (step S41, transmission command determining step). If it is determined that the transmission of the determination result based on the electronic signature has been instructed, the server 4 moves the process to step S42. If the server 4 does not determine that a command has been given to transmit the determination result based on the electronic signature, the server 4 moves the process to step S41.

以下、ステップS41の指令が被署名情報及び電子署名を含んでいる場合について説明するが、ステップS41の指令が電子署名を含んでいない場合であっても、電子署名をブロックチェーン上から取得することで同様に判別結果を送信可能であることが、当業者であれば理解されよう。 The case where the command in step S41 includes signed information and an electronic signature will be explained below, but even if the command in step S41 does not include an electronic signature, the electronic signature can be obtained from the blockchain. Those skilled in the art will understand that the determination results can be transmitted in the same manner.

[ステップS42:電子署名が有効であるか判別]
サーバ4は、ステップS41で送信を指令された判別結果の判別対象である電子署名が有効であるか判別する処理を行う(ステップS42、有効性判別ステップ)。電子署名が有効であると判別したならば、サーバ4は、処理をステップS43に移す。電子署名が有効であると判別しなかったならば、サーバ4は、処理をステップS46に移す。
[Step S42: Determine whether the electronic signature is valid]
The server 4 performs a process of determining whether the electronic signature that is the subject of the determination result instructed to be transmitted in step S41 is valid (step S42, validity determining step). If it is determined that the electronic signature is valid, the server 4 moves the process to step S43. If the electronic signature is not determined to be valid, the server 4 moves the process to step S46.

判別結果送信処理が有効性判別ステップを含むことにより、サーバ4は、無効な電子署名について、電子錠2を制御不能との判別結果を送信できる。 By including the validity determination step in the determination result transmission process, the server 4 can transmit the determination result that the electronic lock 2 is uncontrollable regarding an invalid electronic signature.

[ステップS43:電子署名が正当な署名であるか判別]
サーバ4は、ステップS41で送信を指令された判別結果の判別対象である電子署名が正当な署名であるか判別する処理を行う(ステップS43、正当性判別ステップ)。電子署名が正当な署名であると判別したならば、サーバ4は、処理をステップS44に移す。電子署名が正当な署名であると判別しなかったならば、サーバ4は、処理をステップS46に移す。
[Step S43: Determine whether the electronic signature is a valid signature]
The server 4 performs a process of determining whether the electronic signature that is the subject of the determination result instructed to be transmitted in step S41 is a valid signature (step S43, validity determination step). If the electronic signature is determined to be a valid signature, the server 4 moves the process to step S44. If the electronic signature is not determined to be a valid signature, the server 4 moves the process to step S46.

判別結果送信処理が有効性判別ステップを含むことにより、サーバ4は、偽造等された正当でない電子署名について、電子錠2を制御不能との判別結果を送信できる。 By including the validity determination step in the determination result transmission process, the server 4 can transmit the determination result that the electronic lock 2 is uncontrollable with respect to an invalid electronic signature such as a forgery.

[ステップS44:対応付けられた電子錠があるか判別]
サーバ4は、ステップS41で送信を指令された判別結果の判別対象である電子署名に対応付けられた電子錠2が送信先の制御装置1の管理対象であるか判別する処理を行う(ステップS44、対応判別ステップ)。管理対象であると判別したならば、サーバ4は、処理をステップS45に移す。管理対象であると判別しなかったならば、サーバ4は、処理をステップS46に移す。
[Step S44: Determine whether there is an associated electronic lock]
The server 4 performs processing to determine whether the electronic lock 2 associated with the electronic signature that is the target of the determination result instructed to be transmitted in step S41 is a target to be managed by the destination control device 1 (step S44). , correspondence determination step). If it is determined that the server 4 is to be managed, the server 4 moves the process to step S45. If the server 4 does not determine that it is a management target, the server 4 moves the process to step S46.

判別結果送信処理が有効性判別ステップを含むことにより、サーバ4は、制御装置1の管理対象である電子錠2が対応付けられていない電子署名について、電子錠2を制御不能との判別結果を送信できる。 By including the validity determination step in the determination result transmission process, the server 4 transmits the determination result that the electronic lock 2 is uncontrollable for the electronic signature that is not associated with the electronic lock 2 that is managed by the control device 1. Can be sent.

[ステップS45:電子錠を制御可能との判別結果を送信]
サーバ4は、ステップS41で送信を指令した制御装置1に、ステップS41で送信を指令された判別結果の判別対象である電子署名に対応付けられた電子錠2を制御可能との判別結果を送信する処理を行う(ステップS45、第1判別結果送信ステップ)。サーバ4は、処理をステップS41に移す。
[Step S45: Send the determination result that the electronic lock is controllable]
The server 4 transmits the determination result indicating that the electronic lock 2 associated with the electronic signature that is the target of the determination result instructed to be transmitted in step S41 can be controlled to the control device 1 that was instructed to transmit in step S41. (Step S45, first determination result sending step). The server 4 moves the process to step S41.

[ステップS46:電子錠を制御不能との判別結果を送信]
サーバ4は、ステップS41で送信を指令した制御装置1に、電子錠2を制御不能との判別結果を送信する処理を行う(ステップS46、第2判別結果送信ステップ)。サーバ4は、処理をステップS41に移す。
[Step S46: Send the determination result that the electronic lock is uncontrollable]
The server 4 performs a process of transmitting the determination result that the electronic lock 2 is uncontrollable to the control device 1 which has issued the transmission command in step S41 (step S46, second determination result transmitting step). The server 4 moves the process to step S41.

[判別結果送信処理の効果]
サーバ4が判別結果送信処理を実行可能であることにより、制御装置1は、電子署名に基づいて判別する処理を実行することによる処理負荷の増大を避け得る。
[Effects of determination result transmission processing]
Since the server 4 is capable of executing the determination result transmission process, the control device 1 can avoid increasing the processing load due to executing the process of determining based on the electronic signature.

<スマートロックシステムSの使用例>
続いて、本実施形態におけるスマートロックシステムSの使用例を説明する。
<Example of use of smart lock system S>
Next, a usage example of the smart lock system S in this embodiment will be explained.

〔スマートロックシステムSの設置〕
図8は、スマートロックシステムSを用いた領域管理の一例を示す概略図である。
[Installation of smart lock system S]
FIG. 8 is a schematic diagram showing an example of area management using the smart lock system S.

本実施形態の制御装置1を電子錠2の近傍に設置することにより、錠制御部15が有するBLEによって電子錠2を制御可能となる。これにより、制御装置1は、電子錠2を介して扉Dを施錠状態と開錠状態との間で制御し、管理対象領域Aへのアクセスを管理できる。 By installing the control device 1 of this embodiment near the electronic lock 2, the electronic lock 2 can be controlled by the BLE that the lock control unit 15 has. Thereby, the control device 1 can control the door D between the locked state and the unlocked state via the electronic lock 2, and manage access to the management target area A.

制御装置1は、装置通信部13が有するWi-Fi対応デバイスを介してネットワークNにアクセス可能である。これにより、制御装置1は、ネットワークNを介してサーバ4と通信し、非代替性トークンと電子錠2との対応付け等を受信できる。 The control device 1 can access the network N via a Wi-Fi compatible device included in the device communication section 13. Thereby, the control device 1 can communicate with the server 4 via the network N and receive information such as the association between the non-fungible token and the electronic lock 2.

また、これにより、制御装置1は、ネットワークNを介してサーバ4と通信し、電子錠2を制御する試みに関する各種情報をサーバ4に送信し得る。このような情報として、例えば、該試みが行われた時間、該試みに用いられた非代替性トークン、該試みに用いられた端末3に関する情報、等が挙げられる。 Also, thereby, the control device 1 can communicate with the server 4 via the network N and transmit various information regarding attempts to control the electronic lock 2 to the server 4. Such information includes, for example, the time when the attempt was made, the non-fungible token used in the attempt, information regarding the terminal 3 used in the attempt, and the like.

〔非代替性トークンの発行〕
スマートロックシステムSにおいて非代替性トークンを発行する場合、スマートロックシステムSの管理者は、電子錠2を制御する権利と対応付けられた非代替性トークンの発行をサーバ4に指令する。サーバ4は、非代替性トークン発行処理を実行し、電子錠2を制御する権利と対応付けられた非代替性トークンを発行する。
[Issuance of non-fungible tokens]
When issuing a non-fungible token in the smart lock system S, the administrator of the smart lock system S instructs the server 4 to issue a non-fungible token associated with the right to control the electronic lock 2. The server 4 executes a non-fungible token issuing process and issues a non-fungible token associated with the right to control the electronic lock 2.

管理者は、必要に応じて仮想空間上で催されるイベントへの参加権と該非代替性トークンとを対応付け、ブロックチェーンを介して該非代替性トークンを利用者に販売及び/又は譲渡する。非代替性トークンの発行は、特に限定されず、スマートロックシステムSと異なるシステム等において非代替性トークンを発行し、販売及び/又は譲渡してもよい。 The administrator associates the non-fungible token with the right to participate in an event held in the virtual space as necessary, and sells and/or transfers the non-fungible token to the user via the blockchain. Issuance of non-fungible tokens is not particularly limited, and non-fungible tokens may be issued in a system different from the smart lock system S, and sold and/or transferred.

端末3の利用者は、ブロックチェーンを介して電子錠2を制御する権利等と対応付けられた該非代替性トークンを購入等する。これにより、購入等された該非代替性トークンは、ブロックチェーン上に設けられた利用者のウォレットと対応付けられる。 The user of the terminal 3 purchases the non-fungible token associated with the right to control the electronic lock 2 via the blockchain. As a result, the purchased non-fungible token is associated with the user's wallet provided on the blockchain.

〔電子錠2の制御〕
以下、スマートロックシステムSの各種構成に関し、まず、コントラクトアドレスを含む被署名情報と端末3で行われた電子署名とを取得可能な二次元コードCの読み取りを介して制御装置1が電子錠2を制御する構成(第1構成)について、電子錠2の制御における制御装置1の使用例を説明する。また、本実施形態の別態様として、コントラクトアドレスを含む被署名情報とブロックチェーンを用いた電子署名とを取得可能な二次元コードCの読み取りを介して制御装置1が電子錠2を制御する構成(第2構成)、コントラクトアドレスを取得可能な二次元コードCの読み取りとブロックチェーン上の電子署名とを介して制御装置1が電子錠2を制御する構成(第3構成)、のそれぞれについても、電子錠2の制御における制御装置1の使用例を説明する。
[Control of electronic lock 2]
Hereinafter, regarding the various configurations of the smart lock system S, first, the control device 1 sends the electronic lock 2 An example of how the control device 1 is used in controlling the electronic lock 2 will be explained regarding the configuration (first configuration) for controlling the electronic lock 2. Further, as another aspect of the present embodiment, the control device 1 controls the electronic lock 2 through reading a two-dimensional code C that can obtain signed information including a contract address and an electronic signature using a blockchain. (second configuration), and a configuration in which the control device 1 controls the electronic lock 2 through reading a two-dimensional code C from which a contract address can be obtained and an electronic signature on the blockchain (third configuration). , an example of how the control device 1 is used in controlling the electronic lock 2 will be explained.

[第1構成]コントラクトアドレスを含む被署名情報と端末3で行われた電子署名とを取得可能な二次元コードCの読み取りを介する構成
第1構成では、制御装置1は、コントラクトアドレスを含む被署名情報と端末3で行われた該被署名情報に対する電子署名とを取得可能な二次元コードCを読み取り、該二次元コードCから該被署名情報及び該電子署名を取得し、該被署名情報及び該電子署名に基づく判別結果に基づいて電子錠2を制御する。
[First configuration] Configuration through reading of a two-dimensional code C that can acquire signed information including a contract address and an electronic signature made on the terminal 3 In the first configuration, the control device 1 is configured to acquire signed information including a contract address and an electronic signature made on the terminal 3. A two-dimensional code C capable of acquiring the signature information and an electronic signature for the signed information made on the terminal 3 is read, the signed information and the electronic signature are acquired from the two-dimensional code C, and the signed information is read. And the electronic lock 2 is controlled based on the determination result based on the electronic signature.

(二次元コードCの生成)
端末3の利用者は、制御装置1の場所へ行き、端末3に二次元コードCの表示を指令する。端末3は、二次元コード表示処理を実行し、非代替性トークンのコントラクトアドレスを含む被署名情報と端末3で行われた該被署名情報に対する電子署名とを取得可能な二次元コードCを表示する。ここで、被署名情報は、該二次元コードCが生成されてからの経過時間が所定範囲に含まれるか判別可能な情報を含む。
(Generation of two-dimensional code C)
A user of the terminal 3 goes to the location of the control device 1 and instructs the terminal 3 to display the two-dimensional code C. The terminal 3 executes a two-dimensional code display process and displays a two-dimensional code C that can obtain signed information including the contract address of the non-fungible token and an electronic signature for the signed information performed on the terminal 3. do. Here, the signed information includes information that allows it to be determined whether the elapsed time since the two-dimensional code C was generated is within a predetermined range.

(二次元コードCの読取)
利用者は、制御装置1の読取部14が読み取り可能な領域に、端末3に表示された二次元コードCを提示する。制御装置1の読取部14は、提示された二次元コードCを読み取る。制御装置1は、錠制御処理のうち読取実行ステップ、アドレス取得ステップ、及び署名等取得ステップを実行し、読み取った二次元コードCから上述の被署名情報及び署名情報を取得する。
(Reading two-dimensional code C)
The user presents the two-dimensional code C displayed on the terminal 3 in an area that can be read by the reading unit 14 of the control device 1 . The reading unit 14 of the control device 1 reads the presented two-dimensional code C. The control device 1 executes a reading execution step, an address acquisition step, and a signature etc. acquisition step in the lock control process, and acquires the above-mentioned signed information and signature information from the read two-dimensional code C.

(電子署名に基づく判別結果の取得)
制御装置1は、必要に応じてサーバ4に電子署名の判別結果を送信するよう指令し、二次元コードCを提示した提示者が非代替性トークンの所有者であるかを端末3で行われた電子署名に基づいて判別した判別結果を取得する。
(Obtaining determination results based on electronic signatures)
The control device 1 instructs the server 4 to transmit the electronic signature determination result as necessary, and the terminal 3 determines whether the presenter who presented the two-dimensional code C is the owner of the non-fungible token. The determination result determined based on the electronic signature obtained is obtained.

制御装置1が電子署名の判別結果を送信するようサーバ4に指令した場合、サーバ4は、判別結果送信処理を実行し、該判別結果を制御装置1に送信する。制御装置1は、送信された判別結果を受信する。 When the control device 1 instructs the server 4 to transmit the determination result of the electronic signature, the server 4 executes a determination result transmission process and transmits the determination result to the control device 1 . The control device 1 receives the transmitted determination result.

ここで、二次元コードCが生成されてからの経過時間が所定範囲に含まれない場合、判別結果は、電子錠2を制御可能でないとの判別結果になる。 Here, if the elapsed time after the generation of the two-dimensional code C is not included in the predetermined range, the determination result is that the electronic lock 2 is not controllable.

(判別結果に基づいて電子錠2を制御)
制御装置1は、判別結果に基づいて電子錠2を制御する。すなわち、制御装置1は、電子錠2を制御可能であるとの判別結果に基づいて、電子錠2を開錠等する制御を行う。また、制御装置1は、電子錠2を制御可能でないとの判別結果に基づいて、電子錠2を開錠等せず、該二次元コードCでは電子錠2を制御できないとの趣旨の通知等を行う。
(Control electronic lock 2 based on the determination result)
The control device 1 controls the electronic lock 2 based on the determination result. That is, the control device 1 performs control such as unlocking the electronic lock 2 based on the determination result that the electronic lock 2 can be controlled. In addition, the control device 1 does not unlock the electronic lock 2 based on the determination result that the electronic lock 2 cannot be controlled, and sends a notification to the effect that the electronic lock 2 cannot be controlled with the two-dimensional code C. I do.

第1構成のスマートロックシステムSは、ブロックチェーン上に電子署名を記録することによる各種コスト増大を防ぐことと、該電子署名を含む電波が傍受されるリスクを低減することと、電子署名等を手入力させることによる利用者の労力増大を防ぐことと、漏洩等した情報に基づく不正な二次元コードCによる制御の試みを防ぐことと、を両立できる。 The smart lock system S of the first configuration prevents various costs from increasing due to recording electronic signatures on the blockchain, reduces the risk of radio waves containing the electronic signatures being intercepted, and prevents electronic signatures, etc. It is possible to prevent an increase in the user's effort due to manual input, and to prevent attempts at control using an unauthorized two-dimensional code C based on leaked information.

したがって、第1構成のスマートロックシステムSは、電子錠2を開錠しようとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠2の制御を実現可能な手段を提供できる。 Therefore, the smart lock system S of the first configuration realizes highly reliable control of the electronic lock 2 using a non-fungible token without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock 2. We can provide possible means.

[第2構成]コントラクトアドレス等とブロックチェーンを用いた電子署名とを取得可能な二次元コードCの読み取りを介する構成
第2構成では、制御装置1は、コントラクトアドレスを含む被署名情報とブロックチェーンを用いた電子署名とを取得可能な二次元コードCを読み取り、該二次元コードCから該被署名情報及び該電子署名を取得し、該被署名情報及び該電子署名に基づく判別結果に基づいて電子錠2を制御する。
[Second configuration] Configuration through reading a two-dimensional code C that can obtain a contract address, etc. and an electronic signature using a blockchain In the second configuration, the control device 1 acquires signed information including a contract address, and a blockchain-based electronic signature. reads a two-dimensional code C that can obtain an electronic signature using the two-dimensional code C, acquires the signed information and the electronic signature from the two-dimensional code C, and based on the determination result based on the signed information and the electronic signature. Controls electronic lock 2.

(二次元コードCの生成)
端末3の利用者は、制御装置1の場所へ行き、端末3に二次元コードCの表示を指令する。端末3は、二次元コード表示処理を実行し、利用者のウォレットを介してコントラクトアドレスを含む被署名情報に対する電子署名をブロックチェーン上に生成し、該被署名情報及び該署名情報を取得可能な二次元コードCを表示する。ここで、被署名情報は、該二次元コードCが生成されてからの経過時間が所定範囲に含まれるか判別可能な情報を含む。
(Generation of two-dimensional code C)
A user of the terminal 3 goes to the location of the control device 1 and instructs the terminal 3 to display the two-dimensional code C. The terminal 3 executes a two-dimensional code display process, generates an electronic signature for the signed information including the contract address on the blockchain via the user's wallet, and can acquire the signed information and the signature information. Display two-dimensional code C. Here, the signed information includes information that allows it to be determined whether the elapsed time since the two-dimensional code C was generated is within a predetermined range.

(二次元コードCの読取)
利用者は、制御装置1の読取部14が読み取り可能な領域に、端末3に表示された二次元コードCを提示する。制御装置1の読取部14は、提示された二次元コードCを読み取る。制御装置1は、錠制御処理のうち読取実行ステップ、アドレス取得ステップ、及び署名等取得ステップを実行し、読み取った二次元コードCから上述の被署名情報及び署名情報を取得する。
(Reading two-dimensional code C)
The user presents the two-dimensional code C displayed on the terminal 3 in an area that can be read by the reading unit 14 of the control device 1 . The reading unit 14 of the control device 1 reads the presented two-dimensional code C. The control device 1 executes a reading execution step, an address acquisition step, and a signature etc. acquisition step in the lock control process, and acquires the above-mentioned signed information and signature information from the read two-dimensional code C.

(電子署名に基づく判別結果の取得)
制御装置1は、必要に応じてサーバ4に電子署名の判別結果を送信するよう指令し、二次元コードCを提示した提示者が非代替性トークンの所有者であるかを電子署名に基づいて判別した判別結果を取得する。
(Obtaining determination results based on electronic signatures)
The control device 1 instructs the server 4 to transmit the determination result of the electronic signature as necessary, and determines whether the presenter who presented the two-dimensional code C is the owner of the non-fungible token based on the electronic signature. Obtain the determined results.

制御装置1が電子署名の判別結果を送信するようサーバ4に指令した場合、サーバ4は、判別結果送信処理を実行し、該判別結果を制御装置1に送信する。制御装置1は、送信された判別結果を受信する。 When the control device 1 instructs the server 4 to transmit the determination result of the electronic signature, the server 4 executes a determination result transmission process and transmits the determination result to the control device 1 . The control device 1 receives the transmitted determination result.

制御装置1が電子署名の判別結果を送信するようサーバ4に指令しない場合、制御装置1は、所有者判別ステップを実行し、二次元コードCを提示した提示者が非代替性トークンの所有者であるかをブロックチェーン上に記録された電子署名に基づいて判別する。 If the control device 1 does not instruct the server 4 to transmit the electronic signature determination result, the control device 1 executes the owner determination step and determines that the presenter who presented the two-dimensional code C is the owner of the non-fungible token. Based on the electronic signature recorded on the blockchain.

ここで、二次元コードCが生成されてからの経過時間が所定範囲に含まれない場合、判別結果は、電子錠2を制御可能でないとの判別結果になる。 Here, if the elapsed time after the generation of the two-dimensional code C is not included in the predetermined range, the determination result is that the electronic lock 2 is not controllable.

(判別結果に基づいて電子錠2を制御)
制御装置1は、判別結果に基づいて電子錠2を制御する。すなわち、制御装置1は、電子錠2を制御可能であるとの判別結果に基づいて、電子錠2を開錠等する制御を行う。また、制御装置1は、電子錠2を制御可能でないとの判別結果に基づいて、電子錠2を開錠等せず、該二次元コードCでは電子錠2を制御できないとの趣旨の通知等を行う。
(Control electronic lock 2 based on the determination result)
The control device 1 controls the electronic lock 2 based on the determination result. That is, the control device 1 performs control such as unlocking the electronic lock 2 based on the determination result that the electronic lock 2 can be controlled. In addition, the control device 1 does not unlock the electronic lock 2 based on the determination result that the electronic lock 2 cannot be controlled, and sends a notification to the effect that the electronic lock 2 cannot be controlled with the two-dimensional code C. I do.

第2構成のスマートロックシステムSは、ブロックチェーン上に記録された信頼性の高い電子署名に基づく判別と、該電子署名を含む電波が傍受されるリスクを低減することと、電子署名等を手入力させることによる利用者の労力増大を防ぐことと、漏洩等した情報に基づく不正な二次元コードCによる制御の試みを防ぐことと、を両立できる。 The second configuration of the smart lock system S is to perform identification based on highly reliable electronic signatures recorded on the blockchain, reduce the risk that radio waves containing the electronic signatures will be intercepted, and manually handle electronic signatures, etc. It is possible to prevent an increase in the user's effort due to inputting information, and to prevent an attempt at control using an unauthorized two-dimensional code C based on leaked information.

したがって、第2構成のスマートロックシステムSは、電子錠2を開錠しようとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠2の制御を実現可能な手段を提供できる。 Therefore, the smart lock system S with the second configuration realizes highly reliable control of the electronic lock 2 using a non-fungible token without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock 2. We can provide possible means.

[第3構成]コントラクトアドレスを取得可能な二次元コードCの読み取りとブロックチェーン上の電子署名とを介する構成
第3構成では、制御装置1は、コントラクトアドレスを含む被署名情報を取得可能な二次元コードCを読み取り、該二次元コードCから該被署名情報を取得し、ブロックチェーン上から該被署名情報に対する電子署名を取得し、該被署名情報及び該電子署名に基づく判別結果に基づいて電子錠2を制御する。
[Third configuration] Configuration via reading of a two-dimensional code C that can acquire a contract address and an electronic signature on a blockchain In the third configuration, the control device 1 can acquire signed information including a contract address. Read the dimensional code C, acquire the signed information from the two-dimensional code C, acquire the electronic signature for the signed information from the blockchain, and based on the determination result based on the signed information and the electronic signature. Controls electronic lock 2.

(二次元コードCの生成)
端末3の利用者は、制御装置1の場所へ行き、端末3に二次元コードCの表示を指令する。端末3は、二次元コード表示処理を実行し、非代替性トークンのコントラクトアドレスを含む被署名情報を取得可能な二次元コードCを表示する。ここで、被署名情報は、該二次元コードCが生成されてからの経過時間が所定範囲に含まれるか判別可能な情報を含む。また、端末3は、利用者のウォレットを介して該被署名情報に対する電子署名をブロックチェーン上に生成する。
(Generation of two-dimensional code C)
A user of the terminal 3 goes to the location of the control device 1 and instructs the terminal 3 to display the two-dimensional code C. The terminal 3 executes a two-dimensional code display process and displays a two-dimensional code C from which signed information including the contract address of the non-fungible token can be obtained. Here, the signed information includes information that allows it to be determined whether the elapsed time since the two-dimensional code C was generated is within a predetermined range. Further, the terminal 3 generates an electronic signature for the signed information on the blockchain via the user's wallet.

(二次元コードCの読取)
利用者は、制御装置1の読取部14が読み取り可能な領域に、端末3に表示された二次元コードCを提示する。制御装置1の読取部14は、提示された二次元コードCを読み取る。制御装置1は、錠制御処理のうち読取実行ステップ及びアドレス取得ステップを実行し、読み取った二次元コードCから上述の被署名情報を取得する。
(Reading two-dimensional code C)
The user presents the two-dimensional code C displayed on the terminal 3 in an area that can be read by the reading unit 14 of the control device 1 . The reading unit 14 of the control device 1 reads the presented two-dimensional code C. The control device 1 executes a reading execution step and an address acquisition step in the lock control process, and acquires the above-mentioned signed information from the read two-dimensional code C.

(電子署名に基づく判別結果の取得)
制御装置1は、必要に応じてサーバ4に電子署名の判別結果を送信するよう指令し、二次元コードCを提示した提示者が非代替性トークンの所有者であるかをブロックチェーン上に記録された電子署名に基づいて判別した判別結果を取得する。
(Obtaining determination results based on electronic signatures)
The control device 1 instructs the server 4 to transmit the electronic signature determination result as necessary, and records on the blockchain whether the presenter who presented the two-dimensional code C is the owner of the non-fungible token. The determination result determined based on the electronic signature obtained is obtained.

制御装置1が電子署名の判別結果を送信するようサーバ4に指令した場合、サーバ4は、判別結果送信処理を実行し、サーバ4のウォレットからブロックチェーンにアクセスしてブロックチェーン上から上述の電子署名を取得し、該判別結果を制御装置1に送信する。制御装置1は、送信された判別結果を受信する。 When the control device 1 instructs the server 4 to transmit the determination result of the electronic signature, the server 4 executes the determination result transmission process, accesses the blockchain from the wallet of the server 4, and sends the above-mentioned electronic signature from the blockchain. The signature is acquired and the determination result is transmitted to the control device 1. The control device 1 receives the transmitted determination result.

ここで、二次元コードCが生成されてからの経過時間が所定範囲に含まれない場合、判別結果は、電子錠2を制御可能でないとの判別結果になる。 Here, if the elapsed time after the generation of the two-dimensional code C is not included in the predetermined range, the determination result is that the electronic lock 2 is not controllable.

(判別結果に基づいて電子錠2を制御)
制御装置1は、判別結果に基づいて電子錠2を制御する。すなわち、制御装置1は、電子錠2を制御可能であるとの判別結果に基づいて、電子錠2を開錠等する制御を行う。また、制御装置1は、電子錠2を制御可能でないとの判別結果に基づいて、電子錠2を開錠等せず、該二次元コードCでは電子錠2を制御できないとの趣旨の通知等を行う。
(Control electronic lock 2 based on the determination result)
The control device 1 controls the electronic lock 2 based on the determination result. That is, the control device 1 performs control such as unlocking the electronic lock 2 based on the determination result that the electronic lock 2 can be controlled. In addition, the control device 1 does not unlock the electronic lock 2 based on the determination result that the electronic lock 2 cannot be controlled, and sends a notification to the effect that the electronic lock 2 cannot be controlled with the two-dimensional code C. I do.

第3構成のスマートロックシステムSは、ブロックチェーン上に記録された信頼性の高い電子署名に基づく判別と、該電子署名を含む二次元コードCの読取における読取時間増大を防ぐことと、電子署名等を手入力させることによる利用者の労力増大を防ぐことと、漏洩等した情報に基づく不正な二次元コードCによる制御の試みを防ぐことと、を両立できる。 The smart lock system S with the third configuration performs discrimination based on a highly reliable electronic signature recorded on a blockchain, prevents an increase in reading time in reading a two-dimensional code C including the electronic signature, and It is possible to prevent an increase in the user's effort due to manually inputting information, etc., and to prevent attempts at control using an unauthorized two-dimensional code C based on leaked information.

したがって、第3構成のスマートロックシステムSは、電子錠2を開錠しようとする利用者の労力をいたずらに増やすことなく、非代替性トークンを用いた信頼性の高い電子錠2の制御を実現可能な手段を提供できる。 Therefore, the smart lock system S with the third configuration realizes highly reliable control of the electronic lock 2 using a non-fungible token without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock 2. We can provide possible means.

<第2実施形態のスマートロックシステムS>
第2実施形態のスマートロックシステムSは、非代替性トークンの構成、端末3のソフトウェア構成、サーバ4のソフトウェア構成において、第1実施形態のスマートロックシステムSと異なる。以下、第2実施形態のスマートロックシステムSは、単に「システムS」とも称される。第2実施形態のスマートロックシステムSは、その他の構成において、第1実施形態のスマートロックシステムSと同じである。
<Smart lock system S of second embodiment>
The smart lock system S of the second embodiment differs from the smart lock system S of the first embodiment in the configuration of the non-fungible token, the software configuration of the terminal 3, and the software configuration of the server 4. Hereinafter, the smart lock system S of the second embodiment is also simply referred to as "system S." The smart lock system S of the second embodiment is the same as the smart lock system S of the first embodiment in other configurations.

〔非代替性トークン〕
第2実施形態の非代替性トークンは、取引の利用に関する各種権利及び/又は電子錠2に関する各種権利を示すために利用可能である。非代替性トークンに関する取引は、特に限定されない。該取引は、例えば、仮想空間のアクセス制御に関する取引、商品の購入に関する取引、役務の利用に関する取引、電子錠2によって管理された対象の利用者に与えられる特典の利用に関する取引等の1以上を含む。第2実施形態の非代替性トークンは、取引が行われるたびにさらなる取引を行う権利が変更されるよう構成されていてもよい。これにより、該非代替性トークンは、例えば、一定回数及び/又は一定金額の取引に限られた権利を示すことが可能となる。
[Non-fungible token]
The non-fungible token of the second embodiment can be used to indicate various rights regarding the use of transactions and/or various rights regarding the electronic lock 2. Transactions regarding non-fungible tokens are not particularly limited. The transaction may include one or more of, for example, a transaction related to access control of virtual space, a transaction related to the purchase of goods, a transaction related to the use of services, a transaction related to the use of benefits given to the target user managed by the electronic lock 2, etc. include. The non-fungible token of the second embodiment may be configured such that the right to make further transactions changes each time a transaction is performed. This allows the non-fungible token to represent, for example, rights limited to a certain number of transactions and/or a certain amount of transactions.

〔端末3〕
第2実施形態の端末3は、所定のプログラムを実行することにより、端末3のソフトウェア構成の要素である、被署名情報取得部、署名指令部、二次元コード表示部等を実現する。端末3において実行される利用処理の流れは、後に図9を用いて詳細に説明される。
[Terminal 3]
The terminal 3 of the second embodiment implements the signed information acquisition section, signature command section, two-dimensional code display section, etc., which are elements of the software configuration of the terminal 3, by executing a predetermined program. The flow of the usage process executed in the terminal 3 will be explained in detail later using FIG. 9.

〔サーバ4〕
第2実施形態のサーバ4は、所定のプログラムを実行することにより、サーバ4のソフトウェア構成の要素である、被署名情報生成部、署名実行判別部、利用許可実行部等を実現する。サーバ4において実行される利用許可処理の流れは、後に図10を用いて詳細に説明される。
[Server 4]
The server 4 of the second embodiment realizes the signed information generation section, the signature execution determination section, the usage permission execution section, etc., which are elements of the software configuration of the server 4, by executing a predetermined program. The flow of the usage permission process executed by the server 4 will be explained in detail later using FIG. 10.

〔端末3で実行される利用処理のフローチャート〕
図9は、第2実施形態の端末3で実行される利用処理のフローチャートである。以下は、図9を用いた利用処理の好ましい流れの一例の説明である。
[Flowchart of usage processing executed on terminal 3]
FIG. 9 is a flowchart of usage processing executed by the terminal 3 of the second embodiment. The following is an explanation of an example of a preferable flow of the usage process using FIG. 9.

[ステップS51:署名を指令されたか判別]
端末3は、被署名情報取得部を実行し、管理対象又は取引の利用に関する署名を指令されたか判別する処理を行う(ステップS51、署名指令判別ステップ)。署名を指令されたと判別したならば、端末3は、処理をステップS52に移す。二次元コードCの表示を指令されたと判別しなかったならば、端末3は、処理をステップS55に移す。
[Step S51: Determine whether signature is commanded]
The terminal 3 executes the signed information acquisition unit and performs processing to determine whether a signature related to the use of a managed object or transaction has been commanded (step S51, signature command determination step). If it is determined that a signature has been instructed, the terminal 3 moves the process to step S52. If the terminal 3 does not determine that a command to display the two-dimensional code C has been given, the terminal 3 moves the process to step S55.

[ステップS52:被署名情報を取得]
端末3は、被署名情報取得部を実行し、ステップS51の指令に係る管理対象又は取引の利用と対応付けられた被署名情報を取得する処理を行う(ステップS52、被署名情報取得ステップ)。端末3は、処理をステップS53に移す。
[Step S52: Obtain signature information]
The terminal 3 executes the signature information acquisition unit and performs processing to acquire signature information associated with the managed object or transaction usage related to the command in step S51 (step S52, signature information acquisition step). The terminal 3 moves the process to step S53.

被署名情報取得ステップは、特に限定されない。被署名情報取得ステップは、例えば、端末3に備えられたカメラ等を用いて被署名情報を含む所定二次元コードを取得する手順、ネットワークNを介して被署名情報を取得する手順等を含む。 The signed information acquisition step is not particularly limited. The signed information acquisition step includes, for example, a procedure for acquiring a predetermined two-dimensional code including signed information using a camera or the like provided in the terminal 3, a procedure for acquiring signed information via the network N, and the like.

[ステップS53:署名を指令]
端末3は、署名指令部を実行し、ステップS52で取得した被署名情報について、端末3の利用者が保有する非代替性トークンに関する署名を行うよう指令する処理を行う(ステップS53、署名指令ステップ)。端末3は、処理をステップS53に移す。
[Step S53: Command signature]
The terminal 3 executes the signature command unit and performs a process of instructing the user of the terminal 3 to perform a signature on the non-fungible token held by the user of the terminal 3 on the signed information acquired in step S52 (step S53, signature command step). ). The terminal 3 moves the process to step S53.

署名指令ステップは、特に限定されない。署名指令ステップは、例えば、該非代替性トークンの所有者のウォレットの秘密鍵で署名するよう指令する手順、該ウォレットの秘密鍵で署名するよう、該ウォレットを管理可能なプログラムに指令する手順等の1以上を含むステップでよい。以下、「非代替性トークンの所有者のウォレットの秘密鍵で署名する」ことは、単に「非代替性トークンを保持するウォレットで署名する」とも称される。 The signature command step is not particularly limited. The signature instruction step includes, for example, a step of instructing a signature with the private key of the wallet of the owner of the non-fungible token, a step of instructing a program capable of managing the wallet to sign with the private key of the wallet, etc. The step may include one or more steps. Hereinafter, "signing with the private key of the wallet of the owner of the non-fungible token" is also simply referred to as "signing with the wallet holding the non-fungible token."

ステップS51からステップS53までの一連の処理により、端末3の利用者は、該利用者が保有する非代替性トークンを用いて、管理対象又は取引を利用する権利を取得できる。これにより、システムSは、当該非代替性トークンに管理対象又は取引を利用する権利を取得できるとの価値を与え得る。 Through a series of processes from step S51 to step S53, the user of the terminal 3 can acquire the right to use the managed object or transaction using the non-fungible token held by the user. Thereby, the system S can give value to the non-fungible token by being able to acquire the right to use it for management purposes or transactions.

[ステップS54:所定電子署名を取得]
端末3は、署名指令部を実行し、ステップS53で指令した署名によって生成された所定電子署名を取得する処理を行う(ステップS54、署名取得ステップ)。端末3は、処理をステップS55に移す。
[Step S54: Obtain predetermined electronic signature]
The terminal 3 executes the signature command unit and performs a process of acquiring a predetermined electronic signature generated by the signature commanded in step S53 (step S54, signature acquisition step). The terminal 3 moves the process to step S55.

署名取得ステップは、取得した所定電子署名をサーバ4に提供する手順を含むことが好ましい。これにより、サーバ4は、所定電子署名が行われたかを容易に判別できる。 Preferably, the signature acquisition step includes a procedure of providing the acquired predetermined electronic signature to the server 4. Thereby, the server 4 can easily determine whether a predetermined electronic signature has been applied.

[ステップS55:二次元コードを取得可能か判別]
端末3は、二次元コード表示部を実行し、ステップS53で指令された署名に関する二次元コードを取得可能か判別する処理を行う(ステップS55、二次元コード取得可否判別ステップ)。取得可能であると判別したならば、端末3は、処理をステップS56に移す。取得可能であると判別しなかったならば、端末3は、処理をステップS57に移す。
[Step S55: Determine whether two-dimensional code can be obtained]
The terminal 3 executes the two-dimensional code display section and performs a process of determining whether the two-dimensional code related to the signature instructed in step S53 can be acquired (step S55, two-dimensional code acquisition determination step). If it is determined that the information can be obtained, the terminal 3 moves the process to step S56. If it is not determined that the information can be obtained, the terminal 3 moves the process to step S57.

[ステップS56:二次元コードを取得]
端末3は、二次元コード表示部を実行し、ステップS55で取得可能であると判別された二次元コードを取得する処理を行う(ステップS56、二次元コード取得実行ステップ)。端末3は、処理をステップS57に移す。
[Step S56: Obtain two-dimensional code]
The terminal 3 executes the two-dimensional code display section and performs processing to acquire the two-dimensional code determined to be obtainable in step S55 (step S56, two-dimensional code acquisition execution step). The terminal 3 moves the process to step S57.

二次元コード取得実行ステップは、ステップS53で指令された署名に関する二次元コードCであって、端末3の利用者が保有する非代替性トークンのコントラクトアドレスを取得可能な二次元コードCを取得可能であることが好ましい。これにより、制御装置1は、二次元コードCからコントラクトアドレスを取得できる。 The two-dimensional code acquisition execution step is a two-dimensional code C related to the signature commanded in step S53, and is capable of acquiring a two-dimensional code C that can acquire the contract address of the non-fungible token held by the user of the terminal 3. It is preferable that Thereby, the control device 1 can acquire the contract address from the two-dimensional code C.

また、二次元コード取得実行ステップは、ステップS54で取得された所定電子署名を取得可能な二次元コードCを取得可能であることが好ましい。これにより、制御装置1は、二次元コードCから所定電子署名を取得できる。 Further, it is preferable that the two-dimensional code acquisition execution step is capable of acquiring the two-dimensional code C that can acquire the predetermined electronic signature acquired in step S54. Thereby, the control device 1 can acquire a predetermined electronic signature from the two-dimensional code C.

加えて、二次元コード取得実行ステップは、ステップS52で取得された被署名情報を取得可能な二次元コードCを取得可能であることが好ましい。これにより、制御装置1は、二次元コードCから被署名情報を取得できる。 In addition, it is preferable that the two-dimensional code acquisition execution step is capable of acquiring the two-dimensional code C from which the signed information acquired in step S52 can be acquired. Thereby, the control device 1 can acquire signed information from the two-dimensional code C.

二次元コード取得実行ステップは、二次元コードCの取得ごとに一意な情報を含む二次元コードCを取得可能であることが好ましい。これにより、システムSは、二次元コードCごとに、有効であるか無効であるかを管理できる。 It is preferable that the two-dimensional code acquisition execution step is capable of acquiring a two-dimensional code C including unique information each time the two-dimensional code C is acquired. Thereby, the system S can manage whether each two-dimensional code C is valid or invalid.

二次元コード取得実行ステップは、二次元コードCの項にて説明された所定情報を含む被署名情報を取得可能に構成された二次元コードCを取得可能であることが好ましい。これにより、システムSは、二次元コードC及び/又は電子署名の有効期限を所定範囲に限定できる。したがって、不正な開錠の試みがよりいっそう防がれ得る。 It is preferable that the two-dimensional code acquisition execution step is capable of acquiring a two-dimensional code C that is configured to be able to acquire signed information including the predetermined information described in the section of the two-dimensional code C. Thereby, the system S can limit the expiration date of the two-dimensional code C and/or the electronic signature to a predetermined range. Therefore, unauthorized attempts to unlock the lock can be further prevented.

[ステップS57:二次元コードの表示を指令されたか判別]
端末3は、二次元コード表示部を実行し、ステップS56で取得された二次元コードの表示を指令されたか判別する処理を行う(ステップS57、二次元コード表示指令判別ステップ)。指令されたと判別したならば、端末3は、処理をステップS58に移す。指令されたと判別しなかったならば、端末3は、利用処理を終了し、処理をステップS51に移す。
[ステップS58:二次元コードを表示]
端末3は、二次元コード表示部を実行し、ステップS57で表示を指令されたと判別された二次元コードを表示する処理を行う(ステップS58、二次元コード表示ステップ)。端末3は、利用処理を終了し、処理をステップS51に移す。
[Step S57: Determine whether display of two-dimensional code has been instructed]
The terminal 3 executes the two-dimensional code display section and performs a process of determining whether a command has been given to display the two-dimensional code acquired in step S56 (step S57, two-dimensional code display command determination step). If it is determined that the command has been issued, the terminal 3 moves the process to step S58. If it is not determined that a command has been issued, the terminal 3 ends the usage process and moves the process to step S51.
[Step S58: Display two-dimensional code]
The terminal 3 executes the two-dimensional code display section and performs a process of displaying the two-dimensional code determined to have been instructed to display in step S57 (step S58, two-dimensional code display step). The terminal 3 ends the usage process and moves the process to step S51.

〔サーバ4で実行される利用許可処理のフローチャート〕
図10は、第2実施形態のサーバ4で実行される利用許可処理のフローチャートである。以下は、図10を用いた利用許可処理の好ましい流れの一例の説明である。
[Flowchart of usage permission processing executed by server 4]
FIG. 10 is a flowchart of the usage permission process executed by the server 4 of the second embodiment. The following is an explanation of an example of a preferable flow of the usage permission process using FIG. 10.

[ステップS61:被署名情報の生成を指令されたか判別]
サーバ4は、被署名情報生成部を実行し、管理対象又は取引の利用と対応付けられた被署名情報の生成を指令されたか判別する処理を行う(ステップS61、被署名情報生成指令判別ステップ)。指令されたと判別したならば、サーバ4は、処理をステップS62に移す。指令されたと判別しなかったならば、サーバ4は、処理をステップS63に移す。
[Step S61: Determine whether generation of signed information has been instructed]
The server 4 executes the signed information generation unit and performs a process of determining whether a command has been given to generate signed information associated with the management object or transaction usage (step S61, signed information generation command determination step). . If it is determined that the command has been issued, the server 4 moves the process to step S62. If it is not determined that a command has been issued, the server 4 moves the process to step S63.

[ステップS62:被署名情報を生成]
サーバ4は、被署名情報生成部を実行し、ステップS61で生成を指令されたと判別された被署名情報を生成する処理を行う(ステップS62、被署名情報生成実行ステップ)。サーバ4は、処理をステップS63に移す。
[Step S62: Generate signed information]
The server 4 executes the signed information generation unit and performs processing to generate the signed information determined to have been instructed to generate in step S61 (step S62, signed information generation execution step). The server 4 moves the process to step S63.

被署名情報生成実行ステップは、特に限定されない。被署名情報生成実行ステップは、例えば、管理対象又は取引の利用と対応付けられた一意性のある情報を生成し、該情報を含む被署名情報を生成する手順、管理対象又は取引の利用と対応するURLを含む被署名情報を生成する手順等の1以上の手順を含むステップでよい。被署名情報生成実行ステップにおける「取引」は、第2実施形態の非代替性トークンに記載された取引と同様である。 The signed information generation execution step is not particularly limited. The signed information generation execution step includes, for example, a procedure for generating unique information that is associated with the usage of a managed object or transaction, and generating signed information that includes the information, and a procedure that corresponds to the usage of the managed object or transaction. The step may include one or more procedures, such as a procedure for generating signed information including a URL. The "transaction" in the signed information generation execution step is the same as the transaction described in the non-fungible token of the second embodiment.

また、被署名情報生成実行ステップは、被署名情報を取得可能な所定二次元コードを生成する手順を含むことが好ましい。これにより、端末3は、生成された所定二次元コードを読み取ることで該被署名情報を取得できる。所定二次元コードを生成する手順は、所定二次元コードを表示可能な情報及び/又は所定二次元コードを印刷可能な情報を生成する手順であることが好ましい。 Further, it is preferable that the signed information generation execution step includes a procedure of generating a predetermined two-dimensional code from which the signed information can be obtained. Thereby, the terminal 3 can acquire the signed information by reading the generated predetermined two-dimensional code. Preferably, the procedure for generating the predetermined two-dimensional code is a procedure for generating information that allows the predetermined two-dimensional code to be displayed and/or information that allows the predetermined two-dimensional code to be printed.

[ステップS63:署名が行われたか判別]
サーバ4は、署名実行判別部を実行し、ステップS62で生成された被署名情報に関する署名がいずれかの端末3で行われたか判別する処理を行う(ステップS63、署名有無判別ステップ)。行われたと判別したならば、サーバ4は、処理をステップS64に移す。行われたと判別しなかったならば、サーバ4は、利用許可処理を終了し、処理をステップS61に移す。
[Step S63: Determine whether a signature has been made]
The server 4 executes the signature execution determination unit, and performs a process of determining whether the signature related to the signed information generated in step S62 was executed by any of the terminals 3 (step S63, signature presence/absence determination step). If it is determined that the process has been performed, the server 4 moves the process to step S64. If it is not determined that the permission process has been performed, the server 4 ends the usage permission process and moves the process to step S61.

署名有無判別ステップは、端末3から所定電子署名が提供された場合に被署名情報に関する署名が当該端末3で行われたと判別する手順を含むことが好ましい。これにより、サーバ4は、署名が行われてから署名が行われたと判別するまでに要する時間を短くできる。 Preferably, the signature presence/absence determination step includes a procedure of determining, when a predetermined electronic signature is provided from the terminal 3, that the signature related to the signed information has been performed at the terminal 3. Thereby, the server 4 can shorten the time required from when a signature is issued until it is determined that a signature has been issued.

[ステップS64:許可の対象を利用可能な非代替性トークンに関する署名であるか判別]
サーバ4は、署名実行判別部を実行し、ステップS63で行われたと判別された署名が許可の対象を利用可能な非代替性トークンに関する署名であるか判別する処理を行う(ステップS64、署名元判別ステップ)。該非代替性トークンに関する署名であると判別したならば、サーバ4は、処理をステップS65に移す。該非代替性トークンに関する署名であると判別しなかったならば、サーバ4は、利用許可処理を終了し、処理をステップS61に移す。
[Step S64: Determine whether the subject of permission is a signature related to a usable non-fungible token]
The server 4 executes the signature execution determination unit, and performs processing to determine whether the signature determined to have been performed in step S63 is a signature related to a non-fungible token that can be granted permission (step S64, determination step). If the server 4 determines that the signature is related to the non-fungible token, the server 4 moves the process to step S65. If it is not determined that the signature is related to the non-fungible token, the server 4 ends the usage permission process and moves the process to step S61.

署名元判別ステップは、特に限定されない。署名元判別ステップは、例えば、Web3APIを介して該署名が該非代替性トークンを保有するウォレットによる署名であるか判別する手順、ステップS63で行われたと判別された署名に関する被署名情報と対応する管理対象又は取引が該非代替性トークンによって利用を許可可能な対象に含まれているか判別する手順等の各種手順の1以上含むステップでよい。 The signature source determination step is not particularly limited. The signature source determination step includes, for example, a procedure for determining whether the signature is a signature by a wallet that holds the non-fungible token via Web3 API, and management corresponding to signature information regarding the signature determined to have been performed in step S63. The step may include one or more of various procedures, such as a step of determining whether the object or transaction is included in the objects whose use can be permitted by the non-fungible token.

[ステップS65:利用を許可]
サーバ4は、利用許可実行部を実行し、ステップS63で行われたと判別された署名に対応する被署名情報と対応付けられた管理対象又は取引の利用を許可する処理を行う(ステップS65、利用許可実行ステップ)。サーバ4は、利用許可処理を終了し、処理をステップS61に移す。
[Step S65: Permit use]
The server 4 executes the usage permission execution unit and performs a process of permitting the usage of the managed object or transaction associated with the signed information corresponding to the signature determined to have been made in step S63 (step S65, usage permission execution unit). permission execution step). The server 4 ends the usage permission process and moves the process to step S61.

利用許可実行ステップは、特に限定されない。被署名情報と対応付けられた取引の利用を許可する場合、利用許可実行ステップは、当該取引の利用に関するサービスを提供する装置及び/又は当該取引の相手方等に当該取引の利用許可に関する指令を送信可能であることが好ましい。また、被署名情報と対応付けられた管理対象の利用を許可する場合、利用許可実行ステップは、非代替性トークンのコントラクトアドレスが含まれた被署名情報を含む二次元コードCを提供可能であることが好ましい。すなわち、利用許可実行ステップは、制御装置1に読み取らせることで電子錠2を解錠可能な二次元コードCを提供可能であることが好ましい。 The usage permission execution step is not particularly limited. When permitting the use of a transaction associated with the signed information, the use permission execution step transmits a command regarding permission to use the transaction to a device that provides a service related to the use of the transaction and/or a counterparty to the transaction. It is preferable that it is possible. Furthermore, when permitting the use of the managed object associated with the signed information, the usage permission execution step can provide a two-dimensional code C that includes the signed information that includes the contract address of the non-fungible token. It is preferable. That is, it is preferable that the use permission execution step can provide a two-dimensional code C that can be read by the control device 1 to unlock the electronic lock 2.

二次元コードCを提供可能である場合、利用許可実行ステップは、ステップS54で取得された所定電子署名が含まれた被署名情報を含む二次元コードCを提供可能であることが好ましい。これにより、制御装置1は、二次元コードCから所定電子署名を取得できる。 If the two-dimensional code C can be provided, it is preferable that the usage permission execution step is capable of providing the two-dimensional code C including signed information including the predetermined electronic signature acquired in step S54. Thereby, the control device 1 can acquire a predetermined electronic signature from the two-dimensional code C.

二次元コードCを提供可能である場合、利用許可実行ステップは、二次元コードCの取得ごとに一意な情報が含まれた二次元コードCを提供可能であることが好ましい。これにより、システムSは、二次元コードCごとに、有効であるか無効であるかを管理できる。 When the two-dimensional code C can be provided, it is preferable that the usage permission execution step is capable of providing the two-dimensional code C including unique information each time the two-dimensional code C is acquired. Thereby, the system S can manage whether each two-dimensional code C is valid or invalid.

二次元コードCを提供可能である場合、利用許可実行ステップは、第1実施形態の二次元コードCの項にて説明された所定情報が含まれた被署名情報を取得可能に構成された二次元コードCを提供可能であることが好ましい。これにより、システムSは、二次元コードC及び/又は電子署名の有効期限を所定範囲に限定できる。したがって、不正な開錠の試みがよりいっそう防がれ得る。 When the two-dimensional code C can be provided, the use permission execution step is performed using a two-dimensional code C that is configured to be able to obtain the signed information including the predetermined information described in the section of the two-dimensional code C of the first embodiment. Preferably, a dimension code C can be provided. Thereby, the system S can limit the expiration date of the two-dimensional code C and/or the electronic signature to a predetermined range. Therefore, unauthorized attempts to unlock the lock can be further prevented.

利用許可実行ステップは、非代替性トークンと対応付けられた取引を行う権利を変更する手順を含んでもよい。該変更は、例えば、利用許可実行ステップにおいて許可した取引を重ねて行う権利を除くよう変更する手順、利用許可実行ステップにおいて許可した取引に応じて該非代替性トークンが許可可能な取引の数を減らすよう変更する手順等でよい。 The usage permission execution step may include a procedure for changing the right to conduct a transaction associated with the non-fungible token. Such changes include, for example, changing the procedure to remove the right to repeat the transactions permitted in the usage permission execution step, and reducing the number of transactions that can be permitted by the non-fungible token according to the transactions permitted in the usage permission execution step. This may be a procedure for changing the information.

〔第2実施形態のシステムSのまとめ〕
第2実施形態のサーバ4は、制御装置1によって解錠可能な電子錠2によって管理される管理対象の利用と対応付けられた被署名情報を生成できる。そして、端末3は、この被署名情報を取得し、非代替性トークンに関する署名を行える。これにより、非代替性トークンのコントラクトアドレスと管理対象の利用とが署名を介して対応するようになる。
[Summary of the system S of the second embodiment]
The server 4 of the second embodiment can generate signed information associated with the use of a managed object managed by the electronic lock 2 that can be unlocked by the control device 1. Then, the terminal 3 acquires this signed information and can sign the non-fungible token. As a result, the contract address of the non-fungible token and the usage of the managed object come to correspond via the signature.

第2実施形態のサーバ4は、端末3において非代替性トークンに関する署名が行われたと判別した場合に、管理対象の利用と対応する二次元コードCを提供できる。そして、端末3の利用者は、サーバ4から提供された二次元コードCが表示された端末3を制御装置1に読み取らせることができる。これにより、電子錠2が解錠され、利用者は、電子錠2によって管理される管理対象を利用できる。 The server 4 of the second embodiment can provide the two-dimensional code C corresponding to the usage of the managed object when it is determined that a signature related to the non-fungible token has been signed at the terminal 3. The user of the terminal 3 can then cause the control device 1 to read the terminal 3 on which the two-dimensional code C provided by the server 4 is displayed. As a result, the electronic lock 2 is unlocked, and the user can use the managed object managed by the electronic lock 2.

すなわち、第2実施形態のシステムSによれば、利用者は、端末3に被署名情報を取得させ、非代替性トークンを用いて署名し、署名に応じて提供された二次元コードCを制御装置1に読み込ませる簡単な手順を行うことで、非代替性トークンを用いた電子錠2の制御を行える。 That is, according to the system S of the second embodiment, the user causes the terminal 3 to acquire the signed information, signs using the non-fungible token, and controls the two-dimensional code C provided in response to the signature. By performing a simple procedure for reading into the device 1, the electronic lock 2 can be controlled using a non-fungible token.

加えて、第2実施形態のシステムSによれば、利用者は、電子錠2によって管理される管理対象を利用する場合と同様に、端末3に取引の利用と対応付けられた被署名情報を取得させ、非代替性トークンを用いて署名する簡単な手順を行うことで、非代替性トークンを用いた取引の利用を行える。 In addition, according to the system S of the second embodiment, the user sends the signed information associated with the use of the transaction to the terminal 3, in the same way as when using the managed object managed by the electronic lock 2. You can use non-fungible tokens for transactions by completing a simple procedure of acquiring and signing with non-fungible tokens.

<第2実施形態のスマートロックシステムSの使用例>
図11は、第2実施形態の端末3で実行される利用処理及びサーバ4で実行される利用許可処理に関するシーケンス図である。以下は、図11を用いて、第2実施形態のシステムSの使用例を説明するものである。
<Example of use of smart lock system S of the second embodiment>
FIG. 11 is a sequence diagram regarding the usage process executed by the terminal 3 and the usage permission process executed by the server 4 in the second embodiment. An example of how the system S of the second embodiment is used will be described below with reference to FIG.

〔電子錠2で管理された管理対象の利用〕
まず、電子錠2で管理された管理対象の利用を管理する使用例が説明される。
[Use of managed objects managed by electronic lock 2]
First, a usage example for managing the use of a managed object managed by the electronic lock 2 will be explained.

[所定二次元コードの印刷]
サーバ4は、電子錠2で管理された管理対象を利用可能とする被署名情報を含む所定二次元コードを印刷可能な印刷データを生成する。管理対象の管理者等は、当該印刷データを用いて所定二次元コードが印刷された印刷物を用意する。
[Printing of specified two-dimensional code]
The server 4 generates print data that can print a predetermined two-dimensional code that includes signed information that allows the managed object managed by the electronic lock 2 to be used. The administrator of the managed object prepares printed matter on which a predetermined two-dimensional code is printed using the printing data.

[チェックイン]
端末3の利用者は、端末3に利用処理を実行させる。端末3は、該印刷物に印刷された所定二次元コードを読み取る。端末3は、所定二次元コードから被署名情報を取得する。端末3は、非代替性トークン(NFT)を保持するウォレットに署名を指令する。そして、端末3は、該署名の実行によって得られた所定電子署名をサーバ4に提供する。
[check-in]
The user of the terminal 3 causes the terminal 3 to execute usage processing. The terminal 3 reads a predetermined two-dimensional code printed on the printed material. The terminal 3 acquires the signed information from the predetermined two-dimensional code. Terminal 3 instructs a wallet holding a non-fungible token (NFT) to sign. Then, the terminal 3 provides the server 4 with the predetermined electronic signature obtained by executing the signature.

サーバ4は、Web3APIを用いて、所定電子署名が被署名情報と対応する管理対象を利用可能なNFTを保持するウォレットによって行われた署名であるか判別する。該ウォレットによって行われた署名であると判別した場合、サーバ4は、端末3に制御装置1に読み取らせる二次元コードCを提供する。該ウォレットによって行われた署名であると判別しなかった場合、サーバ4は、端末3にチェックインの失敗を通知する。 The server 4 uses the Web3 API to determine whether the predetermined electronic signature is a signature made by a wallet that holds an NFT that can use the management object corresponding to the signed information. If the server 4 determines that the signature was made by the wallet, the server 4 provides the terminal 3 with a two-dimensional code C that the control device 1 reads. If the signature is not determined to be made by the wallet, the server 4 notifies the terminal 3 that the check-in has failed.

[管理対象の利用]
利用者は、サーバ4から提供された二次元コードCを制御装置1に読み取らせる。制御装置1は、電子署名の判別等を介して、二次元コードCが電子錠2を解錠可能であるか判別する。電子錠2を解錠可能であると判別した場合、制御装置1は、電子錠2を解錠する。電子錠2を解錠可能であると判別しなかった場合、制御装置1は、電子錠2を解錠できないことを通知する。
[Use of managed objects]
The user causes the control device 1 to read the two-dimensional code C provided by the server 4. The control device 1 determines whether the two-dimensional code C can unlock the electronic lock 2 by determining the electronic signature or the like. When determining that the electronic lock 2 can be unlocked, the control device 1 unlocks the electronic lock 2. If it is not determined that the electronic lock 2 can be unlocked, the control device 1 notifies that the electronic lock 2 cannot be unlocked.

〔取引の利用〕
続いて、取引の利用を管理する使用例が説明される。以下は、上述の非代替性トークンによって特典商品を提供されるとの取引を管理する場合の一例である。
[Use of transactions]
A use case for managing transaction usage is then described. The following is an example of managing a transaction in which a bonus product is provided using the above-mentioned non-fungible token.

[所定二次元コードの印刷]
サーバ4は、取引を利用可能とする被署名情報を含む所定二次元コードを印刷可能な印刷データを生成する。取引の相手方等は、当該印刷データを用いて所定二次元コードが印刷された印刷物を頒布する。
[Printing of specified two-dimensional code]
The server 4 generates print data capable of printing a predetermined two-dimensional code including signed information that enables transactions. The other party to the transaction uses the printing data to distribute printed matter on which a predetermined two-dimensional code is printed.

[チェックイン]
端末3の利用者は、端末3に利用処理を実行させる。端末3は、該印刷物に印刷された所定二次元コードを読み取る。端末3は、所定二次元コードから被署名情報を取得する。端末3は、非代替性トークン(NFT)を保持するウォレットに署名を指令する。そして、端末3は、該署名の実行によって得られた所定電子署名をサーバ4に提供する。
[check-in]
The user of the terminal 3 causes the terminal 3 to execute usage processing. The terminal 3 reads a predetermined two-dimensional code printed on the printed material. The terminal 3 acquires the signed information from the predetermined two-dimensional code. Terminal 3 instructs a wallet holding a non-fungible token (NFT) to sign. Then, the terminal 3 provides the server 4 with the predetermined electronic signature obtained by executing the signature.

サーバ4は、Web3APIを用いて、所定電子署名が被署名情報と対応する取引を利用可能なNFTを保持するウォレットによって行われた署名であるか判別する。該ウォレットによって行われた署名であると判別した場合、サーバ4は、取引の利用許可を指令する。該ウォレットによって行われた署名であると判別しなかった場合、サーバ4は、端末3にチェックインの失敗を通知する。 The server 4 uses the Web3 API to determine whether the predetermined electronic signature is a signature made by a wallet that holds an NFT that can use the transaction corresponding to the signed information. If it is determined that the signature was issued by the wallet, the server 4 instructs permission to use the transaction. If the signature is not determined to be made by the wallet, the server 4 notifies the terminal 3 that the check-in has failed.

取引の相手方等は、サーバ4からの指令に応じて、利用者に当該取引の利用を許可する。取引の相手方等は、特典商品を利用者に発送する。利用者は、当該特典商品を受け取り、利用する。 The counterparty to the transaction, etc., permits the user to use the transaction in response to instructions from the server 4. The other party to the transaction ships the bonus product to the user. The user receives and uses the bonus product.

上述の利用処理及び利用許可処理が実行されることにより、第2実施形態のシステムSは、電子錠2を開錠しようとする利用者の労力をいたずらに増やすことなく、対応付けられた取引を利用可能な非代替性トークンによって非代替性トークンを用いた信頼性の高い電子錠2の制御を実現可能な手段を提供できる。 By executing the above-mentioned usage processing and usage permission processing, the system S of the second embodiment allows the associated transaction to be carried out without unnecessarily increasing the effort of the user who attempts to unlock the electronic lock 2. With available non-fungible tokens, it is possible to provide a means for realizing highly reliable control of the electronic lock 2 using non-fungible tokens.

<第3実施形態のスマートロックシステムS>
第3実施形態のスマートロックシステムSは、非代替性トークンの代わりに分散型識別子(Decentralized Identifier、DID)にDIDに関連付けられた検証可能な資格情報(Verifiable Credentials、VC)を用いてDIDに対応付けられた電子錠の解錠を実行可能である点等において、第1実施形態のスマートロックシステムSと異なる。該DIDに係る判別は、端末3に表示された二次元コードCを介して、又は、電子錠2の周辺(例えば、電子錠2が設置された空間内の壁)に掲示された二次元コードCを介して行われる点において、第1実施形態及び第2実施形態と同様である。
<Smart lock system S of third embodiment>
The smart lock system S of the third embodiment supports DID by using a decentralized identifier (DID) and verifiable credentials (VC) associated with the DID instead of a non-fungible token. This differs from the smart lock system S of the first embodiment in that it is possible to unlock an attached electronic lock. The DID can be determined through the two-dimensional code C displayed on the terminal 3 or through the two-dimensional code posted around the electronic lock 2 (for example, on the wall in the space where the electronic lock 2 is installed). This is similar to the first and second embodiments in that the process is performed via C.

以下、第3実施形態のスマートロックシステムSは、単に「システムS」とも称される。第3実施形態のスマートロックシステムSは、その他の構成において、第1実施形態のスマートロックシステムSと同様である。以下は、第3実施形態のスマートロックシステムSと第1実施形態のスマートロックシステムSとの相違点である。 Hereinafter, the smart lock system S of the third embodiment is also simply referred to as "system S." The smart lock system S of the third embodiment is similar to the smart lock system S of the first embodiment in other configurations. The following are the differences between the smart lock system S of the third embodiment and the smart lock system S of the first embodiment.

〔制御装置1〕
第3実施形態の制御装置1は、錠制御処理の一部において、第1実施形態の制御装置1と異なる。第3実施形態の制御装置1は、その他の構成において、第1実施形態の制御装置1と同様である。
[Control device 1]
The control device 1 of the third embodiment differs from the control device 1 of the first embodiment in part of the lock control process. The control device 1 of the third embodiment is similar to the control device 1 of the first embodiment in other configurations.

〔電子錠2〕
第3実施形態の電子錠2は、第1実施形態の電子錠2と同様である。
[Electronic lock 2]
The electronic lock 2 of the third embodiment is similar to the electronic lock 2 of the first embodiment.

〔端末3〕
第3実施形態の端末3は、分散型識別子(DID)のアドレスを格納可能であり、二次元コード表示処理が非代替性トークンのコントラクトアドレスの代わりにDIDのアドレスを含む被署名情報に係る二次元コードCを表示する点において、第1実施形態の端末3と異なる。第3実施形態の端末3は、その他の構成において、第1実施形態の端末3と同様である。
[Terminal 3]
The terminal 3 of the third embodiment is capable of storing the address of a decentralized identifier (DID), and the two-dimensional code display process is performed on two-dimensional code display processing based on signed information that includes the address of the DID instead of the contract address of the non-fungible token. This terminal differs from the terminal 3 of the first embodiment in that the dimension code C is displayed. The terminal 3 of the third embodiment is similar to the terminal 3 of the first embodiment in other configurations.

〔サーバ4〕
第3実施形態のサーバ4は、非代替性トークン発行処理が非代替性トークンの代わりにDIDに関連付け可能な検証可能な資格情報(VC)を発行可能であり、判別結果送信処理がVCに係る判別結果を送信可能である点において、第1実施形態のサーバ4と異なる。第3実施形態のサーバ4は、その他の構成において、第1実施形態のサーバ4と同様である。
[Server 4]
The server 4 of the third embodiment is capable of issuing verifiable credentials (VC) that can be associated with a DID in place of the non-fungible token in the non-fungible token issuing process, and the determination result sending process is related to the VC. This server differs from the server 4 of the first embodiment in that it can transmit the determination results. The server 4 of the third embodiment is similar to the server 4 of the first embodiment in other configurations.

〔ネットワークN〕
第3実施形態のネットワークNは、第1実施形態のネットワークNと同様である。
[Network N]
The network N of the third embodiment is similar to the network N of the first embodiment.

〔分散型識別子〕
第3実施形態の分散型識別子(Decentralized Identifier、DID)は、ブロックチェーン上に記録された識別子であって、検証可能な資格情報(Verifiable Credentials、VC)と関連付けられている。DIDの種類は、特に限定されない。DIDと関連付けられるVCの種類及び数は、特に限定されない。DIDがブロックチェーン上に記録されることにより、DID及びDIDに関連付けられたVCは、改ざん困難かつ検証が容易となる。
[Distributed identifier]
The decentralized identifier (DID) of the third embodiment is an identifier recorded on the blockchain, and is associated with verifiable credentials (VC). The type of DID is not particularly limited. The type and number of VCs associated with a DID are not particularly limited. By recording the DID on the blockchain, the DID and the VC associated with the DID are difficult to tamper with and easy to verify.

〔第3実施形態の制御装置1で実行される錠制御処理〕
第3実施形態の制御装置1で実行される錠制御処理は、以下の各ステップにおいて第1実施形態の錠制御処理と異なる。第3実施形態の制御装置1で実行される錠制御処理は、その他のステップにおいて第1実施形態の錠制御処理と同様である。
[Lock control processing executed by the control device 1 of the third embodiment]
The lock control process executed by the control device 1 of the third embodiment differs from the lock control process of the first embodiment in the following steps. The lock control process executed by the control device 1 of the third embodiment is similar to the lock control process of the first embodiment in other steps.

[ステップS12(アドレス取得ステップ)]
装置制御部11は、装置記憶部12と協働してアドレス取得部112を実行し、ステップS11で読み取った二次元コードCからDIDのアドレス等を含む被署名情報を取得可能か判別する処理を行う(ステップS12、アドレス取得ステップ)。被署名情報を取得可能であると判別したならば、装置制御部11は、処理をステップS13に移す。被署名情報を取得可能であると判別しなかったならば、装置制御部11は、処理をステップS11に移す。
[Step S12 (address acquisition step)]
The device control unit 11 executes the address acquisition unit 112 in cooperation with the device storage unit 12, and performs a process of determining whether signed information including the DID address etc. can be acquired from the two-dimensional code C read in step S11. (Step S12, address acquisition step). If it is determined that the signed information can be obtained, the device control unit 11 moves the process to step S13. If it is not determined that the signed information can be obtained, the device control unit 11 moves the process to step S11.

ステップS12で取得される被署名情報は、少なくとも、DIDのアドレスを含む。ステップS12で取得される被署名情報は、DIDを識別可能な情報をさらに含むことが好ましい。これにより、制御装置1は、該情報によって識別された特定のDIDに電子錠2の制御に関する権利が対応付けられているかの判別結果に基づいて電子錠2を制御できる。したがって、制御装置1は、DID単位で判別する、より信頼性の高い制御を実現し得る。 The signed information acquired in step S12 includes at least the address of the DID. Preferably, the signed information acquired in step S12 further includes information that allows identification of the DID. Thereby, the control device 1 can control the electronic lock 2 based on the determination result as to whether the right regarding control of the electronic lock 2 is associated with the specific DID identified by the information. Therefore, the control device 1 can realize more reliable control that discriminates on a DID basis.

[ステップS13(判別結果取得ステップ)]
装置制御部11は、装置記憶部12等と協働して、ステップS12で取得したDIDのアドレスを含む被署名情報に係るVCの判別結果を取得する判別結果取得処理を行う(ステップS13、判別結果取得ステップ)。装置制御部11は、処理をステップS14に移す。
[Step S13 (discrimination result acquisition step)]
The device control unit 11 cooperates with the device storage unit 12 and the like to perform a determination result acquisition process of acquiring the determination result of the VC related to the signed information including the DID address acquired in step S12 (step S13, determination result acquisition step). The device control unit 11 moves the process to step S14.

〔第3実施形態の制御装置1で実行される判別結果取得処理〕
第3実施形態の制御装置1で実行される判別結果取得処理は、以下の各ステップにおいて第1実施形態の判別結果取得処理と異なる。第3実施形態の制御装置1で実行される判別結果取得処理は、その他のステップにおいて第1実施形態の判別結果取得処理と同様である。
[Discrimination result acquisition process executed by the control device 1 of the third embodiment]
The determination result acquisition process executed by the control device 1 of the third embodiment differs from the determination result acquisition process of the first embodiment in the following steps. The determination result acquisition process executed by the control device 1 of the third embodiment is similar to the determination result acquisition process of the first embodiment in other steps.

[ステップS24(提示者判別ステップ)]
第3実施形態の提示者判別ステップは、「制御装置1は、二次元コードCから取得した電子署名に基づく判別結果に基づいて二次元コードCを提示した提示者が二次元コードCの所有者すなわちDIDの所有者であるかを判別し、電子錠2を制御し得る」であるとの効果を有する点において、第1実施形態の提示者判別ステップと異なる。
[Step S24 (presenter determination step)]
In the presenter determination step of the third embodiment, "The control device 1 determines that the presenter who presented the two-dimensional code C is the owner of the two-dimensional code C based on the determination result based on the electronic signature acquired from the two-dimensional code C. In other words, this step differs from the presenter determining step of the first embodiment in that it has the effect of "determining whether the person is the owner of the DID and controlling the electronic lock 2."

[ステップS27(所有者判別ステップ)]
第3実施形態の所有者判別ステップは、「ステップS12で取得したDIDのアドレスを含む被署名情報に係るVCが二次元コードCの所有者の資格情報であると判別した場合に、該二次元コードCがその所有者によって提示されたと判別する手順」を含むことが好ましい点において、第1実施形態の所有者判別ステップと異なる。
[Step S27 (owner determination step)]
In the owner determination step of the third embodiment, "If it is determined that the VC related to the signed information including the DID address acquired in step S12 is the qualification information of the owner of the two-dimensional code C, the two-dimensional This differs from the owner determination step of the first embodiment in that it preferably includes a step of determining that code C has been presented by its owner.

[第3実施形態の錠制御処理の効果]
第3実施形態の制御装置1で実行される錠制御処理によれば、制御装置1は、二次元コードCを読み取り、読み取った二次元コードCからDIDのアドレスを取得し、このDIDのアドレスを含む被署名情報係るVCに基づく判別結果に基づいて電子錠2を制御できる。これにより、制御装置1は、VCに基づく判別結果に基づいて二次元コードCを提示した提示者がDIDの所有者であるかを判別して電子錠2を制御し得る。
[Effects of lock control processing of third embodiment]
According to the lock control process executed by the control device 1 of the third embodiment, the control device 1 reads the two-dimensional code C, acquires the address of the DID from the read two-dimensional code C, and sets the address of this DID. The electronic lock 2 can be controlled based on the determination result based on the VC including the signed information. Thereby, the control device 1 can control the electronic lock 2 by determining whether the presenter who presented the two-dimensional code C is the owner of the DID based on the determination result based on the VC.

〔第3実施形態のサーバ4で実行される非代替性トークン発行処理〕
第3実施形態のサーバ4で実行される非代替性トークン発行処理は、非代替性トークンの代わりにDIDに関連付け可能な検証可能な資格情報(VC)を発行可能である点において、第1実施形態の非代替性トークン発行処理と異なる。
[Non-fungible token issuing process executed by server 4 of third embodiment]
The non-fungible token issuing process executed by the server 4 of the third embodiment is similar to the first embodiment in that it is possible to issue verifiable credentials (VC) that can be associated with a DID instead of a non-fungible token. This is different from the non-fungible token issuance process.

第3実施形態の非代替性トークン発行処理において発行されることが可能なVCは、特に限定されない。VCは、例えば、教育機関に係る卒業証明書、各都道府県の公安委員会に係る運転免許証、所有者を雇用する企業に係る社員研修修了証、等でよい。VCを発行する処理は、該VCを検証可能な検証情報をDIDに格納させる処理を含む。 VCs that can be issued in the non-fungible token issuing process of the third embodiment are not particularly limited. The VC may be, for example, a graduation certificate from an educational institution, a driver's license from a public safety commission in each prefecture, a certificate of completion of employee training from a company that employs the owner, or the like. The process of issuing a VC includes a process of storing verification information that can verify the VC in the DID.

〔第3実施形態のサーバ4で実行される判別結果送信処理〕
第3実施形態のサーバ4で実行される判別結果送信処理は、DIDに係る判別結果を送信可能である点において、第3実施形態の判別結果送信処理と異なる。DIDに係る判別は、DIDに格納され、電子錠2を制御可能であるか否かの判別に用いられるVCの検証情報を用いてDIDが電子錠2を制御可能であるか否かを判別する処理を含む。
[Discrimination result transmission process executed by the server 4 of the third embodiment]
The determination result transmission process executed by the server 4 of the third embodiment differs from the determination result transmission process of the third embodiment in that the determination result related to DID can be transmitted. The determination related to the DID is made by determining whether the DID can control the electronic lock 2 using VC verification information stored in the DID and used to determine whether the electronic lock 2 is controllable. Including processing.

〔第3実施形態のスマートロックシステムSの効果〕
識別情報(ID)の中央集権的な発行者に依存せず、識別情報の所有者自身が管理する資格情報等に基づいて電子錠を制御する要望がある。該要望に関し、中央集権的なID発行者に依存せず、かつ、電子錠の開錠等を行おうとする利用者の労力をいたずらに増やすことなく、識別情報の所有者自身が管理する資格情報等に基づく信頼性の高い電子錠の制御等を実現可能とする課題がある。
[Effects of the smart lock system S of the third embodiment]
There is a desire to control electronic locks based on qualification information and the like managed by the owner of the identification information (ID) without relying on a centralized issuer of the identification information (ID). Regarding this request, the credential information is managed by the owner of the identification information himself without relying on a centralized ID issuer and without unnecessarily increasing the effort of the user who is trying to open the electronic lock etc. There is a challenge to realize highly reliable control of electronic locks based on etc.

第3実施形態のスマートロックシステムSは、中央集権的なID発行者に依存せず、DIDの所有者に係る情報を証明する仕組みである分散型IDを実現できる。これにより、DIDの所有者は、IDを管理する外部の企業等にIDの証明を委ねることなく、DIDの所有者に係る情報を証明できる。これにより、DIDの所有者であるスマートロックシステムSの利用者は、IDを管理する外部の企業等の中央集権的なID発行者に依存することなく、電子錠2を制御できる。 The smart lock system S of the third embodiment does not rely on a centralized ID issuer and can realize a distributed ID that is a mechanism for certifying information about the owner of a DID. Thereby, the owner of the DID can certify information related to the owner of the DID without entrusting the ID verification to an external company or the like that manages the ID. Thereby, the user of the smart lock system S who is the owner of the DID can control the electronic lock 2 without relying on a centralized ID issuer such as an external company that manages the ID.

また、これにより、IDの所有者であるスマートロックシステムSの利用者は、中央集権的なID発行者等に電子錠2の制御に係る個人情報が漏えいする心配なく、電子錠2を制御できる。よって、第3実施形態のスマートロックシステムSによれば、利用者は、中央集権的なID発行者等に依存することなく、また、該ID発行者等にプライバシーが漏れる心配なく、電子錠2を制御できる。 In addition, this allows the user of the smart lock system S who is the owner of the ID to control the electronic lock 2 without worrying that personal information related to the control of the electronic lock 2 will be leaked to a centralized ID issuer, etc. . Therefore, according to the smart lock system S of the third embodiment, the user can use the electronic lock 2 without relying on a centralized ID issuer or the like, and without worrying about privacy being leaked to the ID issuer or the like. can be controlled.

ところで、利用者自らが情報を管理する場合、利用者が虚偽の情報に基づいて電子錠2を制御しようとすることが懸念される。第3実施形態のスマートロックシステムSは、DIDに関連付けられた検証可能な資格情報(VC)を用いて電子錠2を制御可能であるか否かを判別する。よって、第3実施形態のスマートロックシステムSは、VCの検証を介して、虚偽の情報に基づく電子錠2の制御を防ぐことができる。したがって、第3実施形態のスマートロックシステムSは、識別情報の所有者自身が管理する資格情報等に基づく信頼性の高い電子錠の制御等を実現できる。 By the way, when the user himself/herself manages the information, there is a concern that the user may try to control the electronic lock 2 based on false information. The smart lock system S of the third embodiment determines whether or not the electronic lock 2 can be controlled using verifiable credential information (VC) associated with the DID. Therefore, the smart lock system S of the third embodiment can prevent the electronic lock 2 from being controlled based on false information through VC verification. Therefore, the smart lock system S of the third embodiment can realize highly reliable electronic lock control based on the qualification information managed by the owner of the identification information.

なお、本発明の思想の範疇において、当業者であれば各種の変更例及び修正例に想到し得るものであり、それら変更例及び修正例についても本発明の範囲に属するものと了解される。例えば、前述の実施の形態に対して、当業者が適宜、構成要素の追加、削除若しくは設計変更を行ったもの、又は、工程の追加、省略若しくは条件変更を行ったものも、本発明の要旨を備えている限り、本発明の範囲に含まれる。 It should be noted that within the scope of the idea of the present invention, those skilled in the art will be able to come up with various changes and modifications, and it is understood that these changes and modifications also fall within the scope of the present invention. For example, a person skilled in the art may appropriately add, delete, or change the design of the above-mentioned embodiments, or may add, omit, or change the conditions of a process. It is within the scope of the present invention as long as it has the following.

S スマートロックシステム
1 制御装置
11 装置制御部
111 読取実行部
112 アドレス取得部
113 署名等取得部
114 署名判別部
115 提示者判別部
116 判別指令部
117 判別受信部
118 所有者判別部
119 錠制御実行部
12 装置記憶部
13 装置通信部
14 読取部
15 錠制御部
2 電子錠
3 端末
4 サーバ
N ネットワーク
C 二次元コード
D 扉
A 管理対象領域
S Smart lock system 1 Control device 11 Device control section 111 Reading execution section 112 Address acquisition section 113 Signature etc. acquisition section 114 Signature discrimination section 115 Presenter discrimination section 116 Discrimination command section 117 Discrimination reception section 118 Owner discrimination section 119 Lock control execution Section 12 Device storage section 13 Device communication section 14 Reading section 15 Lock control section 2 Electronic lock 3 Terminal 4 Server N Network C Two-dimensional code D Door A Management target area

Claims (10)

1又は複数の二次元コードを読み取り可能な読取部と、
ブロックチェーンに記録された非代替性トークンのコントラクトアドレスを前記二次元コードから取得可能なアドレス取得部と、
前記コントラクトアドレスを含む被署名情報に対する電子署名に基づく判別結果に基づいて前記非代替性トークンに対応付けられた電子錠の解錠を実行可能な錠制御実行部と、
を備える、電子錠の制御装置。
a reading unit capable of reading one or more two-dimensional codes;
an address acquisition unit capable of acquiring a contract address of a non-fungible token recorded on a blockchain from the two-dimensional code;
a lock control execution unit capable of unlocking an electronic lock associated with the non-fungible token based on a determination result based on an electronic signature for signed information including the contract address;
An electronic lock control device equipped with:
前記非代替性トークンは、前記非代替性トークンと対応付けられた所定の仮想空間へのアクセス制御に利用可能である、請求項1に記載の制御装置。 The control device according to claim 1, wherein the non-fungible token can be used to control access to a predetermined virtual space associated with the non-fungible token. 前記被署名情報は、前記二次元コードの生成ごとに一意な情報であり、
前記制御装置は、
前記二次元コードから前記被署名情報及び前記電子署名を取得可能な署名等取得部と、
前記取得した前記電子署名が有効であるか判別可能な署名判別部と、
前記取得した前記電子署名が有効である場合、前記取得した前記被署名情報及び前記電子署名に基づいて、前記二次元コードが前記二次元コードの所有者によって提示されたかを判別可能な提示者判別部と、
をさらに備え、
前記錠制御実行部は、前記提示者判別部による判別結果に基づいて前記電子錠の解錠を実行可能である、
請求項1に記載の制御装置。
The signed information is unique information for each generation of the two-dimensional code,
The control device includes:
a signature etc. acquisition unit capable of acquiring the signed information and the electronic signature from the two-dimensional code;
a signature determination unit capable of determining whether the acquired electronic signature is valid;
If the acquired electronic signature is valid, presenter determination that can determine whether the two-dimensional code has been presented by the owner of the two-dimensional code based on the acquired signature information and the electronic signature. Department and
Furthermore,
The lock control execution unit is capable of unlocking the electronic lock based on the determination result by the presenter determination unit.
The control device according to claim 1.
前記被署名情報は、前記二次元コードが生成されてから現在時刻までの経過時間が所定範囲に含まれるかを判別可能な所定情報を含み、
前記署名判別部は、前記経過時間が所定範囲に含まれるかの判別に基づいて前記取得した前記電子署名が有効であるか判別可能である、
請求項3に記載の制御装置。
The signed information includes predetermined information that can determine whether the elapsed time from the generation of the two-dimensional code to the current time is included in a predetermined range;
The signature determining unit is capable of determining whether the acquired electronic signature is valid based on determining whether the elapsed time is within a predetermined range.
The control device according to claim 3.
前記電子署名は、前記二次元コードの生成に応じて前記ブロックチェーンに記録された所定電子署名を含む、請求項1に記載の制御装置。 The control device according to claim 1, wherein the electronic signature includes a predetermined electronic signature recorded on the blockchain in response to generation of the two-dimensional code. 前記所定電子署名に基づく前記判別結果の送信を外部装置に指令可能な判別指令部と、
前記外部装置から前記送信された前記判別結果を受信可能な判別受信部と、
をさらに備える、請求項5に記載の制御装置。
a determination command unit capable of instructing an external device to transmit the determination result based on the predetermined electronic signature;
a determination receiving unit capable of receiving the determination result transmitted from the external device;
The control device according to claim 5, further comprising:
前記二次元コードを提示した提示者が前記非代替性トークンの所有者であるかを前記所定電子署名に基づいて判別可能な所有者判別部をさらに備え、
前記錠制御実行部は、前記所有者判別部の判別結果に基づいて前記電子錠の解錠を実行可能である、
請求項5に記載の制御装置。
further comprising an owner determination unit capable of determining whether the presenter who presented the two-dimensional code is the owner of the non-fungible token based on the predetermined electronic signature;
The lock control execution unit is capable of unlocking the electronic lock based on the determination result of the owner determination unit.
The control device according to claim 5.
サーバと、前記サーバと通信可能な端末と、
を含んで構成され、
前記サーバは、
電子錠によって管理される管理対象の利用及び/又は取引の利用と対応付けられた被署名情報を生成可能な被署名情報生成部と、
前記被署名情報に対して非代替性トークンに関する署名が行われたか判別可能な署名実行判別部と、前記利用と対応付けられた被署名情報に対する前記署名が行われたと判別された場合に、前記利用を許可可能な利用許可実行部と、
を備え、
前記端末は、
前記被署名情報を取得可能な被署名情報取得部と、
前記被署名情報に対する前記非代替性トークンに関する署名を指令可能な署名指令部と、
を備える、
システム。
a server; a terminal capable of communicating with the server;
It consists of
The server is
a signed information generation unit capable of generating signed information associated with the use of a managed object and/or the use of transactions managed by the electronic lock;
a signature execution determination unit capable of determining whether a signature related to a non-fungible token has been applied to the signed information; a use permission execution unit that can permit use;
Equipped with
The terminal is
a signed information acquisition unit capable of acquiring the signed information;
a signature command unit capable of commanding a signature regarding the non-fungible token to the signed information;
Equipped with
system.
前記システムは、請求項1の制御装置をさらに含んで構成され、
前記利用許可実行部は、前記管理対象の利用と対応付けられた被署名情報に対する前記署名が行われたと判別された場合に、前記非代替性トークンのコントラクトアドレス、前記被署名情報、及び前記署名に基づく所定電子署名を取得可能な二次元コードを前記端末に提供可能であり、
前記端末は、前記サーバから提供された前記二次元コードを表示可能な二次元コード表示部をさらに備える、
請求項8に記載のシステム。
The system further includes the control device according to claim 1,
When it is determined that the signature has been applied to the signed information associated with the usage of the managed object, the usage permission execution unit may process the contract address of the non-fungible token, the signed information, and the signature. It is possible to provide the terminal with a two-dimensional code that can acquire a predetermined electronic signature based on
The terminal further includes a two-dimensional code display unit capable of displaying the two-dimensional code provided by the server.
The system according to claim 8.
1又は複数の二次元コードを読み取り可能な読取部と、
ブロックチェーンに記録された識別子であって、検証可能な資格情報(VC)が関連付けられた分散型識別子(DID)のアドレスを前記二次元コードから取得可能なアドレス取得部と、
前記アドレスを含む被署名情報に対する前記資格情報に基づく判別結果に基づいて前記分散型識別子に対応付けられた電子錠の解錠を実行可能な錠制御実行部と、
を備える、電子錠の制御装置。
a reading unit capable of reading one or more two-dimensional codes;
an address acquisition unit capable of acquiring the address of a decentralized identifier (DID), which is an identifier recorded on a blockchain and associated with verifiable credential information (VC), from the two-dimensional code;
a lock control execution unit capable of unlocking an electronic lock associated with the distributed identifier based on a determination result based on the qualification information for the signed information including the address;
An electronic lock control device equipped with:
JP2023010934A 2022-04-28 2023-01-27 Control device and system for electronic locks and the like Pending JP2023164279A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2022074137 2022-04-28
JP2022074137 2022-04-28
JP2022200495 2022-12-15
JP2022200495 2022-12-15

Publications (1)

Publication Number Publication Date
JP2023164279A true JP2023164279A (en) 2023-11-10

Family

ID=88651705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023010934A Pending JP2023164279A (en) 2022-04-28 2023-01-27 Control device and system for electronic locks and the like

Country Status (1)

Country Link
JP (1) JP2023164279A (en)

Similar Documents

Publication Publication Date Title
US11664996B2 (en) Authentication in ubiquitous environment
JP7442552B2 (en) Dynamic off-chain digital currency transaction processing
US11108558B2 (en) Authentication and fraud prevention architecture
US7325132B2 (en) Authentication method, system and apparatus of an electronic value
US20210224795A1 (en) Escrow non-face-to-face cryptocurrency transaction device and method using phone number
JP2018074205A (en) Program, information processing device, information processing system, and information processing method
CN110933125A (en) Block chain entity, down-link entity, authentication device and method for performing collaboration
CN106688004A (en) Transaction authentication method, device, mobile terminal, POS terminal and server
KR20110054352A (en) User identification system, apparatus, smart card and method for ubiquitous identity management
JP2009048627A (en) Method and apparatus for performing delegated transaction
CN102713920A (en) A personalized multifunctional access device possessing an individualized form of authenticating and controlling data exchange
JP2019219782A (en) Service providing system and service providing method
Ozdenizci et al. A tokenization-based communication architecture for HCE-enabled NFC services
JP6760631B1 (en) Authentication request system and authentication request method
CN108734828A (en) Yunmen prohibits Information Authentication method, terminal and server
CN107077666B (en) Method and apparatus for authorizing actions at a self-service system
JP2019194858A (en) Method and system for performing secure data exchange
JP2023164279A (en) Control device and system for electronic locks and the like
WO2018122883A1 (en) Safety process/method for sending and exchanging a temporary enabled random code among at least three electronic devices for recharges, payments, accesses and/or ids of owners of a mobile device, such as a smartphone
KR20140020337A (en) Method for authentication using user apparatus, digital system, and authentication system thereof
JP5151200B2 (en) Entrance / exit authentication system, entrance / exit system, entrance / exit authentication method, and entrance / exit authentication program
KR20150077379A (en) Method for authentication using user apparatus, digital system, and authentication system thereof
KR20150084658A (en) Method for authentication using user apparatus, digital system, and authentication system thereof
KR101491515B1 (en) Method for authentication using user apparatus, digital system, and authentication system thereof
CN103944733A (en) Data security interactive method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230220