Program execution system, program execution request device, program execution method, and program

The program execution system addresses the limitations of smart contracts by allowing execution of programs outside the blockchain, reducing computational costs and enhancing flexibility through secure authentication, enabling the use of external data and program modifications.

WO2024247208A1PCT designated stage expired Publication Date: 2024-12-05NT T INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/020418
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-06-01
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

Smart contracts on blockchain face high computational costs with complex programs and are limited in using data outside the blockchain, making it difficult to change executable programs.

Method used

A program execution system that allows pre-specified programs to be executed using data outside the blockchain, with a system comprising a program storage server, specification device, execution device, registration device, and request device, enabling program registration, authentication, and execution, and allowing for program changes by recording authentication information on the blockchain.

Benefits of technology

Enables flexible and secure execution of programs using data from outside the blockchain, reducing computational costs and enhancing the ability to modify executable programs, ensuring confidentiality and integrity through hash value or public key authentication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023020418_05122024_PF_FP_ABST
    Figure JP2023020418_05122024_PF_FP_ABST
Patent Text Reader

Abstract

This program execution system comprises: a program specification device 2 that specifies a storage ID of a program to be registered; a program execution device 3 in which a program is registered and that is capable of executing the registered program; a program registration device 4 that acquires a program corresponding to the storage ID from a program storage server 1, registers the acquired program in the program execution device 3, and records, in a blockchain, authentication information for authenticating whether the program execution device 3 can safely execute the registered program; and a program execution request device 5 that determines whether the program execution device 3 can safely execute a program to be used, on the basis of authentication information recorded in the blockchain, and if it is determined that the program execution device 3 can safely execute the program to be used, causes the program execution device 3 to execute the program to be used.
Need to check novelty before this filing date? Find Prior Art

Description

Program execution system, program execution request device, program execution method and program

[0001] The disclosed technology relates to a technology for executing a program on a blockchain.

[0002] Smart contracts allow programs to be executed on the blockchain. Various smart contract applications have been proposed to utilize data stored on the blockchain. However, smart contracts have challenges, such as the computational costs becoming enormous as the program becomes more complex, and the inability to use data outside the blockchain.

[0003] To solve this problem, a technology has been proposed that allows a pre-specified program to be executed while using data outside the blockchain in a highly reliable environment installed on any system network that can be called from a smart contract (see, for example, Non-Patent Document 1).

[0004] L. Chen, R. Yuan and Y. Xia, "Tora: A Trusted Blockchain Oracle Based on a Decentralized TEE Network," 2021 IEEE International Conference on Joint Cloud Computing (JCC), Oxford, United Kingdom, 2021, pp. 28-33, doi: 10.1109 / JCC53141.2021.00016.

[0005] However, in the background art, executable programs are predetermined, and it is difficult to change the executable programs.

[0006] The disclosed technology aims to provide a program execution system, a program execution request device, a program execution method, and a program that are capable of changing executable programs.

[0007] A program execution system according to one aspect of the disclosed technology includes a program storage server in which a plurality of programs corresponding to a plurality of storage IDs are stored; a program designation device that designates the storage ID of a program to be registered; a program execution device in which a program is registered and which is capable of executing the registered program; a program registration device that acquires a program corresponding to the storage ID from the program storage server, registers the acquired program in the program execution device, and records authentication information in a blockchain to authenticate whether the program execution device can safely execute the registered program; and a program execution request device that determines whether the program execution device can safely execute the program to be used based on the authentication information recorded in the blockchain, and if it is determined that the program execution device can safely execute the program to be used, causes the program execution device to execute the program to be used.

[0008] According to the disclosed technology, executable programs can be changed.

[0009] Fig. 1 is a diagram showing an example of the functional configuration of a program execution system, Fig. 2 is a diagram showing an example of a processing procedure of a program execution system method, and Fig. 3 is a diagram showing an example of the functional configuration of a computer.

[0010] Hereinafter, embodiments of the disclosed technology will be described with reference to the drawings. Note that components having the same functions in the drawings are given the same reference numerals, and redundant description will be omitted.

[0011] [Program Execution System and Method] The program execution system includes, for example, a program storage server 1, a program designation device 2, a program execution device 3, a program registration device 4, and a program execution request device 5.

[0012] It is assumed that the program designation device 2, the program registration device 4, and the program execution request device 5 can access the same blockchain.

[0013] The program execution method is realized, for example, by each component device of the program execution system device performing the processes from step S2 to step S5 described below and shown in FIG.

[0014] <Program Storage Server 1> The program storage server 1 stores a plurality of programs corresponding to a plurality of storage IDs, respectively.

[0015] The program storage server 1 may be a distributed storage, a local database, or a cloud-based data server.

[0016] The storage ID is an identifier for identifying a program stored in the program storage server 1 .

[0017] <Program Designation Device 2> The program designation device 2 designates the storage ID of the program to be registered (step S2).

[0018] The specified storage ID is output to the program registration device 4 .

[0019] For example, the specification and output of the storage ID of the program to be registered and the processing of steps S2 to S5 described below are performed through at least one contract predefined in a blockchain that the program specification device 2 can access.

[0020] <Program Execution Device 3> The program execution device 3 is a device in which a program is registered and which is capable of executing the registered program.

[0021] The program execution device 3 is a device isolated from the program registration device 4. The program execution device 3 is, for example, a device realized in an isolated execution environment TEE (Trusted Execution Environment), which is an environment constructed on the program registration device 4 described later and is isolated from the normal execution environment of the program registration device 4.

[0022] Of course, the program execution device 3 may be a device different from the program registration device 4 connected to the program registration device 4 .

[0023] <Program Registration Device 4> The storage ID designated by the program designation device 2 is input to the program registration device 4.

[0024] The program registration device 4 obtains the program corresponding to the storage ID from the program storage server 1, registers the obtained program in the program execution device 3, and records authentication information in the blockchain to authenticate whether the program execution device can safely execute the registered program (step S4).

[0025] Example 1 of authentication information is a hash value obtained by calculating hash values ​​corresponding to the OS of the program execution device 3 and the program at the time of program registration in a chained manner (using a certain hash value to calculate the next hash value). This hash value is calculated by the program execution device 3 and output to the program registration device 4. The program registration device 4 records the received hash value in the blockchain as authentication information.

[0026] The second example of authentication information is a public key corresponding to the private key held by the program execution device 3 at the time of program registration. These private and public keys are created by the owner or installer of the program execution device 3.

[0027] <Program Execution Request Device 5> The program execution request device 5 is a device that requests the execution of a program. The program execution request device 5 may be the same device as the program designation device 2.

[0028] The program execution request device 5 determines whether the program execution device 3 can safely execute the program that the user wants to use based on the authentication information recorded in the blockchain, and if it determines that the program execution device 3 can safely execute the program that the user wants to use, it causes the program execution device 3 to execute the program that the user wants to use (step S5).

[0029] The program execution device 3 may also perform processing using data other than the blockchain.

[0030] In the case of authentication information example 1, in other words, if a hash value is recorded in the blockchain as authentication information, the program execution request device 5 first reads the hash value from the blockchain. The program execution request device 5 then requests the program execution device 3 to calculate a hash value. The program execution device 3 calculates a hash value by calculating hash values ​​corresponding to the current OS, program, etc. in a chained manner (using a certain hash value to calculate the next hash value), and transmits the calculated hash value to the program execution request device 5. The program execution request device 5 compares the hash value read from the blockchain with the hash value received from the program execution device 3. If the comparison results in a match between the hash values, the confidentiality and integrity of the registered program and the program execution device 3 are guaranteed. That is, for example, in this case, the program registration device 4 determines that the program execution device 3 can safely execute the registered program.

[0031] In the case of authentication information example 2, in other words, if the public key of the program execution device 3 is recorded as the authentication information, the program execution request device 5 requests the program execution device 3 to create a signature. The program execution device 3 generates a signature using its own private key and transmits the generated signature to the program execution request device 5. The program execution request device 5 verifies the signature received from the program execution device 3 using the public key read from the blockchain. If the verification confirms that the signature was generated using the private key corresponding to the public key, the confidentiality and integrity of the registered program and program execution device 3 are guaranteed. That is, for example, in this case, the program registration device 4 determines that the program execution device 3 can safely execute the registered program.

[0032] In this way, by enabling program registration, executable programs can be changed.

[0033] The program designation device 2 may be able to designate the storage ID of the program to be deleted.

[0034] When the program designation device 2 designates the storage ID of a program to be deleted, the program registration device 4 deletes the registration of the program corresponding to the storage ID of the designated program to be deleted from the program execution device 3, and records in the blockchain that the registration of the program corresponding to the storage ID of the designated program to be deleted has been deleted.

[0035] This makes it possible to make a program that was once made executable no longer executable.

[0036] For example, the specification of the storage ID of the program to be deleted and the process of deleting the program based on this specification are performed through at least one contract predefined in a blockchain that the program specification device 2 can access.

[0037] [Example] For example, suppose that a program registered in the program execution device 3 is program P, which infers user needs from purchase histories on multiple e-commerce sites and suggests recommended products. Furthermore, suppose that authentication information for verifying whether program execution device 3 can safely execute program P is recorded in the blockchain. Furthermore, suppose that the blockchain records purchase histories from affiliated store A. Furthermore, suppose that another blockchain, different from the first blockchain, records purchase histories from affiliated store B.

[0038] In this case, the program execution request device 5 first determines whether the program execution device 3 can safely execute the program P, based on the authentication information recorded in the blockchain. In this case, it is assumed that it has been determined that the program execution device 3 can safely execute the program P. The program execution request device 5 transmits to the program execution device 3 the storage ID corresponding to the program P and the period of the purchase history to be used.

[0039] The program execution device 3 executes the processing of the program P corresponding to the received storage ID based on the period of the purchase history to be used. Specifically, the program execution device 3 reads, from the blockchain, the purchase history of Affiliated Store A that corresponds to the period of the purchase history to be used. The program execution device 3 also reads, from another blockchain, the purchase history of Affiliated Store B that corresponds to the period of the purchase history to be used. Then, based on the read purchase history of Affiliated Store A and the purchase history of Affiliated Store B, the program execution device 3 estimates the needs of the user corresponding to these purchase histories and generates information about recommended products. The generated information about recommended products is sent to the program execution request device 5. The generated information about recommended products may also be recorded on the blockchain.

[0040] [Modifications] The specific configurations of the embodiments of the disclosed technology are not limited to the configurations described above. The specific configurations of the embodiments of the disclosed technology can be appropriately modified in design, etc., within the scope of the spirit of the embodiments of the disclosed technology.

[0041] The various processes described in the embodiments of the disclosed technology may not only be performed chronologically in the order described, but may also be performed in parallel or individually depending on the processing capacity of the device performing the processes or as needed.

[0042] For example, data exchange between devices in the program execution system may be performed directly or via a relay device (not shown).

[0043] [Programs and Recording Media] The processing of each of the above-described devices may be realized by a computer, in which case the processing content of the functions that each device should have is described by a program. Then, by loading this program into storage unit 1020 of computer 1000 shown in Figure 3 and running it on arithmetic processing unit 1010, input unit 1030, output unit 1040, display unit 1060, etc., various processing functions of each of the above-described devices are realized on the computer.

[0044] The program describing the processing contents can be recorded on a computer-readable recording medium, such as a non-transitory recording medium, specifically a magnetic recording device, an optical disk, or the like.

[0045] The program may be distributed, for example, by selling, transferring, lending, etc. a portable recording medium such as a DVD or CD-ROM on which the program is recorded. Furthermore, the program may be stored in a storage device of a server computer, and then transferred from the server computer to another computer via a network, thereby distributing the program.

[0046] A computer executing such a program, for example, first stores the program recorded on a portable recording medium or transferred from a server computer in its own non-transitory storage device, auxiliary storage unit 1050. Then, when executing a process, the computer loads the program stored in auxiliary storage unit 1050, its own non-transitory storage device, into storage unit 1020 and executes processing in accordance with the loaded program. Alternatively, as another form of execution of this program, the computer may load the program directly from a portable recording medium into storage unit 1020 and execute processing in accordance with the program. Furthermore, the computer may execute processing in accordance with the received program each time a program is transferred from a server computer to the computer. Alternatively, the server computer may not transfer the program to the computer, but may instead execute the processing function by issuing an execution instruction and obtaining the results, thereby executing the above-described processing through a so-called ASP (Application Service Provider) type service. Note that, in this embodiment, the program includes information used for processing by a computer that is equivalent to a program (e.g., data that is not a direct instruction to the computer but has properties that define computer processing).

[0047] Furthermore, in this embodiment, the device is configured by executing a predetermined program on a computer, but at least a part of the processing contents may be realized by hardware.

[0048] It goes without saying that other modifications are possible without departing from the spirit of the present invention.

[0049] All publications, patent applications, and technical standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.

Claims

1. A program execution system comprising: a program storage server in which a plurality of programs corresponding to a plurality of storage IDs are stored; a program designation device that designates the storage ID of a program to be registered; a program execution device in which a program is registered and capable of executing the registered program; a program registration device that acquires a program corresponding to the storage ID from the program storage server, registers the acquired program in the program execution device, and records authentication information in a blockchain to authenticate whether the program execution device can safely execute the registered program; and a program execution request device that determines whether the program execution device can safely execute a program to be used based on the authentication information recorded in the blockchain, and if it is determined that the program execution device can safely execute the program to be used, has the program execution device execute the program to be used.

2. A program execution system as claimed in claim 1, wherein the program designation device designates a storage ID of a program to be deleted, and the program registration device deletes from the program execution device a registration of a program corresponding to the storage ID of the specified program to be deleted, and records in the blockchain that the registration of the program corresponding to the storage ID of the specified program to be deleted has been deleted.

3. A program execution request device for the program execution system of claim 1.

4. A program execution method including: a program designation step in which a program designation device designates a storage ID of a program to be registered; a program registration step in which a program registration device acquires a program corresponding to the storage ID from a program storage server in which a plurality of programs corresponding to a plurality of storage IDs are stored, registers the acquired program in a program execution device, and records authentication information in a block chain for authenticating whether the program execution device can safely execute the registered program; and a program execution request step in which a program execution request device determines whether the program execution device can safely execute the program to be used based on the authentication information recorded in the block chain, and if it is determined that the program execution device can safely execute the program to be used, causes the program execution device to execute the program to be used.

5. A program for causing a computer to function as the program execution request device of claim 3.

Citation Information

Patent Citations

  • Information processing device, apparatus, information processing system, installing support method, and installing support program

    JP2014006933A

  • Program verification method and device, platform and user terminal, and online service system

    JP2023502820A