Blockchain-enabled method and system
The method uses blockchain transactions with multi-signature addresses and cryptographic keys to securely manage access and usage of IoT resources, addressing inefficiencies in existing systems by ensuring secure and automated transaction records and payments.
Patent Information
- Application Number
- JP2023029066
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2016-07-29
- Filing Date
- 2023-02-28
- Publication Date
- 2024-11-21
- Estimated Expiration
- 2037-07-21
AI Technical Summary
Existing systems lack secure and efficient methods for controlling access and usage of resources, particularly in the context of Internet of Things (IoT) devices, such as driverless vehicles, using blockchain technology to ensure tamper-resistant transaction records and secure payments.
A method utilizing blockchain transactions with multi-signature addresses and cryptographic keys to manage access and usage of IoT resources, including generating transactions with secret values and signatures, ensuring secure payments and record keeping, and enabling automation and user-friendly features.
Provides tamper-resistant transaction records, secure payments, and increased security and automation for controlling access to IoT resources, enhancing user experience and cost-effectiveness.
Smart Images

Figure 0007588171000001 
Figure 0007588171000002 
Figure 0007588171000003
Abstract
Description
[Technical field]
[0001] The present invention relates generally to distributed ledger technology (including blockchain-related technologies), and in particular to accessing and using controlled resources via a blockchain. The present invention is particularly suitable for providing a secure system for enabling access to and / or use of such resources. Aspects of the present invention also relate to the Internet of Things (IoT). The present invention may be suitable for controlling IoT devices. [Background technology]
[0002] For convenience and ease of reference, this document will use the term "blockchain" as it is the most widely known term currently in this context. The term is used herein to include all forms of electronic, computer-based distributed ledgers, including consensus-based blockchains, altchains, sidechains and transaction chain technologies, public or private, permissioned and non-permissioned ledgers, private or public ledgers, shared ledgers and variations thereof.
[0003] A blockchain is an electronic ledger realized as a computer-based decentralized distributed system composed of blocks that consist of transactions. Each transaction contains at least one input and at least one output. Each block contains a hash of the block's previous block that are chained together to create a permanent and immutable record of all transactions that have been written to the blockchain since its inception. Transactions contain small programs, known as scripts, embedded in the inputs and outputs that specify how the transaction's outputs can be accessed and by whom. On the Bitcoin platform, these scripts are written using a stack-based scripting language.
[0004] For a transaction to be written to the blockchain, it needs to i) be verified by the first node that received the transaction, and if the transaction is verified, the node relays it to other nodes in the network, ii) be added to a new block constructed by miners, and iii) be mined, i.e., added to the public ledger of past transactions.
[0005] The most widely known application of blockchain technology is the Bitcoin ledger, although other blockchain implementations have been proposed and developed. Although Bitcoin may be referenced herein for convenience and purposes of explanation, it should be noted that the present invention is not limited to use with the Bitcoin blockchain, and other blockchain implementations are within the scope of the present invention.
[0006] Blockchain technology is most widely known for its use in enabling cryptocurrencies, however, more recently digital entrepreneurs have begun to enable new systems using both the encryption security system that Bitcoin is based on, and the data that can be stored on the blockchain.
[0007] One area of current interest and research is the use of blockchain for the implementation of "smart contracts". These are computer programs designed to automate the execution of the terms of a contract or agreement. Unlike traditional contracts, which are written in natural language, smart contracts are machine-executable programs that contain rules that can process inputs to produce results, and can perform actions in response to these results.
[0008] Another area of blockchain-related interest is the use of "tokens" (or "colored tokens") to represent and transfer real-world entities through the blockchain. Potentially sensitive or secret items can be represented by tokens that have no distinguishable meaning or value. Thus, tokens act as identifiers that allow real-world items to be referenced.
[0009] The present invention also relates to the use of blockchain-enabled mechanisms for controlling access to resources, which may be “Internet of Things” (IoT) devices. IoT is described by Wikipedia as “a network of physical devices, vehicles, buildings, and other items embedded with electronics, software, sensors, and network connections that enable these objects to collect and exchange data....IoT allows objects to be sensed and controlled remotely over existing network infrastructure.”
[0010] The invention is defined in the appended claims.
[0011] The present invention may provide a blockchain-enabled control method and corresponding system. The present invention may be configured to control access to and / or usage of an internet-enabled resource. The resource may be a device or a system. It may be, for example, a vehicle. The vehicle may be equipped with computing capabilities that allow it to communicate with other computer-based resources and / or to interact with a distributed ledger. This distributed ledger may be, for example, a blockchain, such as the Bitcoin blockchain.
[0012] The present invention relates to providing a first blockchain transaction having at least one output redeemable only by providing at least a secret value selected by a user and a signature related to a resource (e.g., vehicle) provider; transmitting usage (e.g., travel) related information to the vehicle; generating a second blockchain transaction that requests at least the secret value; amending the second blockchain transaction to include a secret value; A method comprising:
[0013] Providing the above described method enables provision and utilization of controlled resources (e.g., driverless vehicles) with the benefit of tamper-resistant record-keeping of transactions and secure payments.
[0014] Usage (e.g., trip) related information may be transmitted by the resource / vehicle provider in the form of a tokenized third blockchain transaction that includes the information or a pointer to it.
[0015] This provides the advantage of preventing third parties from accessing the information.
[0016] The method may further include generating a fourth blockchain transaction including at least one output redeemable to return an amount of virtual currency based on the tokenized third blockchain transaction to the resource / vehicle provider.
[0017] This allows vehicle providers to get back the underlying cryptocurrency, which has the effect of making the provision of resources / vehicles more cost-effective.
[0018] A second blockchain transaction is generated by the resource / vehicle and the modification may be performed by the user.
[0019] This provides the advantage of increasing the automation and efficiency of the present invention.
[0020] The second blockchain transaction may include a first output related to an amount payable to the resource / vehicle provider or controller and a second output related to an amount refundable to the user.
[0021] This provides the advantage of allowing a portion of the deposit to be returned as change to the user of the invention, thereby increasing the user-friendliness of the technology.
[0022] The second blockchain transaction may include a preventative measure to prevent at least one output of the second blockchain transaction from being modified by a user.
[0023] This provides the advantage of increased security for the present invention.
[0024] The prevention measure may take the form of a securing input to the second blockchain transaction that includes the signature flag SIGHASH_ALL | SIGHASH_ANYONECANPAY.
[0025] This provides the advantage of allowing the output of a transaction to be prevented from being modified while allowing the inputs to be modified, increasing the security of payments.
[0026] The reservation input may include an amount of virtual currency provided by the vehicle provider and / or an electronic wallet for the resource / vehicle.
[0027] This provides the advantage of increasing the automation of the present invention.
[0028] The method may further include generating a fifth blockchain transaction in response to non-use of the resource / vehicle, the fifth blockchain transaction including at least one output redeemable to refund an amount of virtual currency related to the first blockchain transaction.
[0029] This provides the advantage of providing a mechanism that allows for the refund of at least a portion of a deposit if a user of the present invention decides to cancel his or her use of a resource, thereby further increasing the user-friendliness of the present invention.
[0030] The method may further include unlocking the resource / vehicle in response to verifying the modification of the second blockchain transaction.
[0031] This provides the advantage of further increasing the security of the present invention.
[0032] The method may further include the step of a user of the resource sending at least one confirmation message confirming the accuracy of the usage-related information, hashing the message, and storing the hashed message in the distributed hash table.
[0033] The method may further include hashing the usage-related information and storing the hashed information in a distributed hash table.
[0034] These offer the advantage of providing a simple, tamper-resistant mechanism for recording communications and their contents for potential future reference.
[0035] The method may further comprise the step of determining the number of users at or using the resource and enabling or disabling provision of the resource depending on the number.
[0036] This provides the advantage of preventing the benefits of the invention from being taken away.
[0037] The resource may be a vehicle, which may be a driverless automobile.
[0038] This provides the advantage of a driverless taxi service that can provide tamper-resistant record-keeping of transactions and a secure payment mechanism.
[0039] These and other aspects of the invention will be apparent from and elucidated with reference to the embodiment described hereinafter, which is described by way of example only with reference to the accompanying drawings, in which: [Brief description of the drawings]
[0040] [Figure 1] 1 illustrates a blockchain transaction configured to provide a deposit payment for the provision of a vehicle. [Diagram 2] 1 illustrates a blockchain transaction configured to communicate travel-related information. [Diagram 3] 1 illustrates a blockchain transaction configured to repay a vehicle provider. [Figure 4a] 14A-14C show partial and complete versions, respectively, of a blockchain transaction configured to provide payment for a vehicle and associated change. [Figure 4b] 14A-14C show partial and complete versions, respectively, of a blockchain transaction configured to provide payment for a vehicle and associated change. [Diagram 5] 1 illustrates a blockchain transaction configured to provide a refund to a vehicle user. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0041] An exemplary scenario describes a method for controlling a driverless taxi via blockchain. The use of blockchain provides inherent benefits offered by the technology. These benefits include a tamper-resistant record of events and increased security of currency exchanges.
[0042] For this vehicle, we will use the example of a taxi, however the invention is not intended to be so limited. A vehicle can be any IoT device or apparatus configured for the transportation of passengers and / or goods.
[0043] In this example, the taxi is an Internet of Things (IoT) device capable of performing a range of possible functions, including resource-related functions. The user's cryptographic key (PubKey) is communicated to the taxi for storage to enable access. The taxi itself can generate, store and communicate its own public and private keys and signatures for signing blockchain transactions related to the provision of driverless taxi services, and can send and receive wireless communications with users and providers of taxi services. The IoT device is a programmable "Blockchain IOT Device (BID)", i.e., it is an internet-enabled device that can monitor, interact with and publish to the blockchain network. The invention also includes a communication protocol. In a preferred embodiment, this allows communication with resources via software applications (apps).
[0044] Alice is a potential user of the taxi service provided and managed by Bob. Alice may be referred to as the “user” or “customer”. Bob may be referred to as the “resource controller” or “resource operator”. Alice provides Bob with a request for a taxi service including itinerary information including pick-up location, drop-off location, and the number of passengers who wish to board the taxi. This information may be transmitted in any suitable form, such as a text message, email, or a tokenized transaction on the blockchain.
[0045] Communications between Alice and Bob may be initiated and / or controlled using a software application (app) downloaded and installed on Alice's computing device, such as a smartphone, tablet, laptop, etc. The smartphone may provide certain pieces of information to Bob's server. For example, it may provide information related to Alice's current location by utilizing GPS capabilities.
[0046] Upon receiving the information from Alice, Bob estimates the cost of the trip, e.g., 5 Bitcoin (BTC), and communicates the estimate to Alice by any suitable means. Bob may also choose to determine the location of the closest taxi to Alice's pickup location and factor the distance from the taxi to the pickup location into his estimate. If Alice accepts the estimate and terms and conditions of the service provided by Bob (which may be publicly accessible prior to the start of the service and stored, e.g., on Bob's website or social media pages), she communicates her acceptance to Bob by any suitable means, e.g., text message, email, or phone call. Any one or all of these communications may be hashed and stored in a publicly accessible resource, such as a distributed hash table, for future reference, such as in the situation where a dispute arises regarding the cited estimate or details of the trip. These communications may also be recorded in subsequent blockchain transactions.
[0047] After receiving Alice's acknowledgement, Bob instructs the Taxi to generate a blockchain transaction (Tx1 deposit transaction) containing an output with a 2-of-3 multi-signature address using Alice's public key, Bob's public key, and the Taxi's public key. Any blockchain transaction (Tx) signed by this 2-of-3 multi-signature address can only be redeemed by another transaction containing an input with an unlock script that provides any two of the specified signatures.
[0048] Alice chooses a secret value, such as a password, a string, a sequence of numbers, or any other data type that she keeps secret. Alice creates a first blockchain transaction, hereafter referred to as a “deposit transaction,” with an output that spends an amount equal to Bob's estimate of the cost of the trip, such as 5 BTC in this example. Alice signs transaction Tx1 with her digital signature, locks the transaction using a hash of her secret value, and sends the transaction to the multi-signature address generated by the taxi. Transaction Tx1 is broadcast to the blockchain.
[0049] The 5 BTC associated with the output of this transaction can only be spent by providing an unlock script (in another transaction) that contains both Alice's private encryption key and two of the three signatures corresponding to the multi-signature address, in this example Alice's signature, Bob's signature, and any two of the taxi's signature. Thus, the 5 BTC in the deposit transaction cannot be spent by Bob without Alice's key, and cannot be spent by Alice, since only Alice can provide one of the three required signatures. An example of the deposit transaction Tx1 described above is shown in Figure 1.
[0050] Bob then instructs a taxi to collect Alice and take her to her destination. Bob may send the journey information to the taxi by any suitable means, such as via a software application capable of communicating with the taxi, or may choose to create a tokenized blockchain transaction, hereafter referred to as a “token transaction”, capable of communicating journey-related information. A token transaction includes an underlying value, typically chosen to be as small as possible, that is not relevant for the purpose of the token transaction, and is information that is embedded in the token transaction metadata. This embedded information includes either the journey information itself, a pointer to the information, or a hashed version of the information or pointer. The pointer may take the form of a URL or tolerant link that directs the taxi to an online resource that contains the journey information. In FIG. 2, an example of a token transaction is shown, where the metadata is shown to include a reference to “mess1” in the redeem script of the transaction output, where “mess1” is a message generated by Bob that contains the journey information.
[0051] Bob then sends a message to the taxi by any suitable means upon seeing validation of the token transaction instructing the taxi to monitor the blockchain for the token transaction. The taxi uses its cryptographic private key to claim the output of the token transaction, thereby gaining access to the journey information sent by Bob.
[0052] Validating one or more transactions involves checking that those transactions satisfy, among other criteria, syntactic validity rules specific to the blockchain code.
[0053] The taxi then proceeds to collect Alice at the pickup location. The taxi may request Alice to send a message signed by her private key to unlock the taxi door. The taxi may utilize suitable detection devices, such as an infrared camera, to detect the number of passengers entering the vehicle and decide whether to provide service depending on how that number compares to the number of passengers initially provided by Alice. For example, if Alice has provided itinerary information indicating that there is only one passenger, but two or more passengers have entered the taxi, the taxi may be configured to refuse to perform the trip.
[0054] The taxi may ask Alice to confirm any of the journey information, such as pick-up location and destination accuracy, and messages sent between Alice and the taxi may be hashed and stored in the DHT for future reference, as described above. The taxi may be configured to start traveling only when one or more such confirmation messages are received, and may be configured to refrain from opening the doors after arrival at the destination until further confirmation messages are received.
[0055] The taxi then prepares up to three transactions: a return transaction, an offer transaction, and a refund transaction. In one or more embodiments, the offer transaction is the only transaction that is essential to the processing of the invention. The taxi may generate one or more of these transactions once the trip is complete.
[0056] The return transaction is configured to return the underlying value of the token transaction (shown in FIG. 2 to be "number Satoshis") to Bob. An example of this return transaction may be shown in FIG. 3, showing "number Satoshis" in the output field of the transaction. However, even if Bob chooses to send the journey information in the form of a token transaction, he may not request or instruct the taxi to return the underlying value.
[0057] A proposed transaction, an example of which is shown in FIG. 4a, may be referred to as an incomplete transaction or transaction template. Once the trip is completed, the taxi generates a proposed transaction with two inputs and at least one output. The first input is signed with the taxi's cryptographic signature and public key using the signature hash flags SIGHASH_ALL | SIGHASH_ANYONECANPAY, and the second input is signed only by the taxi's signature. The first output corresponds to a payment to Bob for providing the service (in this case the service actually costs only 3 BTC), and the second output (if required) corresponds to a change for the service equal to the difference between the first output of the proposed transaction to be sent to Alice and the amount of the deposit transaction (in this case 5 BTC deposit - 3 BTC actual cost = 2 BTC change).
[0058] The purpose of the first input, signed using the signature hash flag above, is to prevent Alice from modifying the output of the proposal transaction (e.g., by changing the value of the first output to 0 for a free taxi ride) but allowing her to modify the second input to add the necessary information. In this case, the necessary information is Alice's signature, the redeem script from the deposit transaction, and Alice's secret value. These three items need to be added to the signature script of the second input for the proposal transaction to be successful in unlocking, paying Bob 3 BTC for the service. These three items are shown in FIG. 4b for the completed version of the proposal transaction that Alice returns to the taxi. The taxi may then be configured to submit the transaction to the blockchain and unlock and / or open the doors once the transaction is verified or authenticated.
[0059] If Alice refuses to disclose her secret value, Bob may choose not to use his and / or Taxi's private keys to allow the 5 BTC of Alice's funds to be redeemed, since the deposit transaction was locked with a 2-of-3 multi-signature lock script. Thus, Alice is incentivized to perform transactions on the service honestly, since the 5 BTC are not redeemable to anyone until Alice makes her secret value public.
[0060] The taxi may generate a refund transaction that allows Alice to redeem the output of the deposit transaction if Alice decides not to use the service. This transaction is presented to Alice at the pickup location. To get her 5 BTC back, both the taxi and Alice need to present their signatures on the unlock script of the refund transaction. Instead of allowing the full amount of 5 BTC to be refunded, Bob's terms and conditions may specify a deducted fare to be paid to the public key of either the taxi or Bob, modifying the refund transaction to have two outputs: a first output corresponding to the 5 BTC minus the cancellation fee redeemable by Alice, and a second output corresponding to the fare redeemable by either the taxi or Bob. The taxi monitors the blockchain and checks that the corresponding refund transaction has not been spent before signing the proposed transaction.
[0061] It should be noted that the above-mentioned embodiments are illustrative rather than limiting of the present invention, and that a person skilled in the art can design numerous other embodiments without departing from the scope of the present invention as defined by the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claims. The use of a word such as "comprises" does not exclude the presence of elements or steps other than those listed in any claim or the specification as a whole. In this specification, "comprises" means "includes" or "comprises". A singular reference of an element does not exclude a plural reference of such elements and vice versa. The invention may be realized by means of hardware comprising several separate elements, and also by means of suitably programmed software. In a device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain means are recited in mutually different dependent claims does not indicate that a combination of these means cannot be used to advantage.
Claims
1. 1. A computer-implemented method for controlling access to or usage of an internet-enabled resource using blockchain, the resource being an IoT vehicle, the method being performed by the resource, the method comprising: Providing a first blockchain transaction (Tx1), the first blockchain transaction (Tx1) comprising at least the following: User private key, a user-selected secret value, and a signature associated with two of a resource provider, the user, and the resource; and at least one output that is redeemable only by providing receiving usage related information from the resource provider, the usage related information including information related to mobility; generating a second blockchain transaction (Tx4) that includes an input signed with a signature associated with the resource and the public key of the resource; requesting at least said secret value; receiving a modified second blockchain transaction (Tx4) including the secret value, a redeem script, and a signature of the user, the second blockchain transaction being modified by the user; submitting the second blockchain transaction to the blockchain; accessing the resource in response to validating the change of the second blockchain transaction; The method includes:
2. 2. The method of claim 1, wherein the usage-related information is transmitted by the resource provider in the form of a tokenized third blockchain transaction that includes the information or a location of the information.
3. 3. The method of claim 2, further comprising generating a fourth blockchain transaction comprising at least one output redeemable to return an amount of virtual currency based on the tokenized third blockchain transaction to the resource provider.
4. 4. The method of claim 1, wherein the second blockchain transaction includes a first output related to a payable first asset transferable to the resource provider and a second output related to a second asset transferable to the user.
5. The method of any one of claims 1 to 4, wherein the second blockchain transaction includes a preventative measure for preventing at least one output of the second blockchain transaction from being modified by the user.
6. 6. The method of claim 5, wherein the prevention measure takes the form of a secured entry for the second blockchain transaction that includes a signature flag SIGHASH_ALL | SIGHASH_ANYONECANPAY.
7. The method of claim 6 , wherein the reservation input includes an amount of virtual currency provided by at least one of the resource provider and an electronic wallet associated with the resource.
8. The method of any one of claims 1 to 7, further comprising generating a fifth blockchain transaction in response to non-use of the resource, the fifth blockchain transaction including at least one output redeemable to refund an amount of virtual currency related to the first blockchain transaction.
9. 9. The method of claim 1, further comprising the steps of receiving at least one confirmation message from the user confirming accuracy of the usage-related information, hashing the message, and storing the hashed message in a distributed hash table.
10. The method of any one of claims 1 to 9, further comprising the step of hashing the usage related information and storing the hashed usage related information in a distributed hash table.
11. The method according to any one of claims 1 to 10, further comprising the step of determining a number of users at said resource and enabling or disabling provision of said resource depending on said number.
12. The method of any one of claims 1 to 11, wherein the resource is a driverless automobile.
13. A system arranged to carry out the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Contract construction and execution methods and apparatuses
CN105809062A
Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain.
US20150379510A1
Peer-to-peer transaction system
US20160086175A1
System and method for block-chain verification of goods
US20160098723A1
