Method and program

By using user-operated nonce candidate values with secret assignments, the method and program facilitate low-power computing participation in blockchain mining, addressing computing power barriers and fraud prevention.

JP7534783B2Active Publication Date: 2024-08-15MRS HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2021002371
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-01-08
Publication Date
2024-08-15
Estimated Expiration
2041-01-08

AI Technical Summary

Technical Problem

Existing blockchain technologies face challenges in allowing individuals with relatively low computing power to participate in mining due to high computing power requirements and increasing mining difficulty, leading to issues like hard forks and potential fraud.

Method used

A method and program that utilize user-operated nonce candidate values, where different values are assigned to distinguishable nonce candidate information, requiring user interaction to determine a nonce candidate value, independent of computing power, and ensuring the values remain secret from the user.

Benefits of technology

Enables individuals with low computing power to easily participate in mining, preventing fraud by ensuring user-operated selection and maintaining value secrecy, thus enhancing blockchain technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007534783000002
    Figure 0007534783000002
  • Figure 0007534783000007
    Figure 0007534783000007
  • Figure 0007534783000008
    Figure 0007534783000008
Patent Text Reader

Abstract

To improve a technique related to a block chain.SOLUTION: The present invention is related to a method for generating a nonce candidate value to obtain a hash value of a block connected to a block chain. The method includes: executing specification processing at least one time, the specification processing including: an acquisition step in which a terminal device 10 acquires a plurality of pieces of nonce candidate information that a user can distinguish; an allocation step in which the terminal device allocates different values to at least two pieces of the nonce candidate information; an output step in which the terminal device outputs at least two pieces of nonce candidate information in a manner that the user can recognize the information; and a storing step in which the terminal device stores the value allocated to one piece of the nonce candidate information selected from at least two nonce candidate information on the basis of an operation of a user, and includes generating one nonce candidate value by using at least one value stored as a result of the specification processing having executed at least one time.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a method and a program. [Background technology]

[0002] Conventionally, technologies related to blockchain have been known. For example, Patent Literature 1 discloses that cryptocurrency mining, in which transaction information is managed using a blockchain, is executed by a user terminal that accesses a website. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-117555 A Summary of the Invention [Problem to be solved by the invention]

[0004] There was room for improvement in blockchain technology.

[0005] The purpose of the present disclosure, made in consideration of these circumstances, is to improve blockchain technology. [Means for solving the problem]

[0006] According to one embodiment of the present disclosure, the method comprises: A method for generating a nonce candidate value for obtaining a hash value of a block to be linked to a blockchain, comprising: A terminal device that functions as a node in a blockchain network is An acquisition step in which a user acquires a plurality of distinguishable nonce candidate information; an assignment step of assigning different values ​​to two or more pieces of nonce candidate information among the plurality of pieces of nonce candidate information; an output step of outputting the two or more pieces of nonce candidate information in a manner recognizable by a user; a storage step of storing a value assigned to one nonce candidate information selected from the two or more nonce candidate information based on a user operation; Executing one or more specific operations having the following structure: generating a nonce candidate value using one or more values ​​stored as a result of one or more executions of the specific process; Includes.

[0007] According to one embodiment of the present disclosure, the method comprises: A method for generating a nonce candidate value for obtaining a hash value of a block to be linked to a blockchain, comprising: A terminal device that functions as a node in a blockchain network is An acquisition step in which a user acquires a plurality of distinguishable nonce candidate information; an assignment step of assigning different values ​​to two or more pieces of nonce candidate information among the plurality of pieces of nonce candidate information; an output step of outputting the two or more pieces of nonce candidate information in a manner recognizable by a user; When one piece of nonce candidate information is selected from the two or more pieces of nonce candidate information, a storage step of storing a value assigned to the one piece of selected nonce candidate information; Executing one or more specific operations having the following structure: The method includes generating a nonce candidate value using one or more values ​​stored as a result of the specific process being executed one or more times.

[0008] A program according to an embodiment of the present disclosure includes: A program for generating nonce candidate values ​​for obtaining a hash value of a block to be linked to a blockchain, Computers that function as nodes in a blockchain network An acquisition step in which a user acquires a plurality of distinguishable nonce candidate information; an assignment step of assigning different values ​​to two or more pieces of nonce candidate information among the plurality of pieces of nonce candidate information; an output step of outputting the two or more pieces of nonce candidate information in a manner recognizable by a user; A step of selecting one nonce candidate information from the two or more nonce candidate information; A storage step of storing a value assigned to the selected one of the nonce candidate information; Executing one or more specific operations having the following structure: generating a nonce candidate value using one or more values ​​stored as a result of one or more executions of the specific process; Execute the command. Effect of the Invention

[0009] According to one embodiment of the present disclosure, technology relating to blockchain is improved. [Brief description of the drawings]

[0010] [Figure 1] 1 is a block diagram showing a schematic configuration of a system according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a block diagram showing a schematic configuration of a terminal device. [Diagram 3] FIG. 2 is a block diagram showing a schematic configuration of a server. [Figure 4] 4 is a flowchart showing the operation of the terminal device. [Diagram 5] FIG. 13 is a diagram showing an example of parameters assigned to each of a plurality of pieces of nonce candidate information. [Figure 6] FIG. 13 is a diagram showing an example of a “phase” parameter. [Figure 7] FIG. 4 is a diagram showing a first example of a screen displayed on the terminal device. [Figure 8] FIG. 11 is a diagram showing a second example of a screen displayed on the terminal device. [Figure 9] FIG. 13 is a diagram showing a third example of a screen displayed on the terminal device. [Figure 10] FIG. 13 is a diagram showing a fourth example of a screen displayed on the terminal device. [Figure 11]FIG. 13 is a diagram showing an example of information stored as a result of executing a specific process five times. [Figure 12] FIG. 13 is a diagram showing a locking / unlocking device according to a modified example of an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, embodiments of the present disclosure will be described.

[0012] (Overview of the embodiment) An overview of a system 1 according to an embodiment of the present disclosure will be described with reference to Fig. 1. The system 1 includes a plurality of terminal devices 10 and a server 20. Each of the terminal devices 10 and the server 20 can communicate with each other via a network including, for example, a mobile communication network and the Internet.

[0013] The terminal device 10 is any computer that can be used by a user. For example, a smartphone, a tablet terminal, a PC (Personal Computer), or other device can be adopted as the terminal device 10. Although five terminal devices 10 are illustrated in FIG. 1, the number of terminal devices 10 provided in the system 1 may be two or more. The server 20 is configured to include one or more computers.

[0014] In this embodiment, a consortium-type blockchain is used. Each terminal device 10 functions as a node of the blockchain network. For example, each terminal device 10 connects to the server 20 and performs login processing. The server 20 stores the IP address of each terminal device 10 that has been granted login permission. Each terminal device 10 that has been granted login permission is connected to each other through P2P (Peer to Peer) communication. Each terminal device 10 stores blockchain data in at least one of its own storage and the cloud storage.

[0015] In order to link a new block to a blockchain, it is necessary to find a correct nonce whose hash value of the block satisfies a standard according to the mining difficulty, that is, to succeed in mining. Conventionally, the hash rate of a computer that performs mining depends on the computing power of the computer. For this reason, it is common for businesses that participate in mining to introduce expensive computers with high computing power and mechanically repeat the determination and verification of nonce candidate values. In addition, when the hash rate of the entire blockchain increases, it is common to increase the mining difficulty in order to maintain the hash rate at a predetermined target value. Therefore, conventionally, there is a problem that it is difficult for individuals using computers with relatively low computing power to participate in mining. In addition, there is a problem that the mining difficulty of the blockchain increases to a degree that makes it practically impossible to find a correct nonce, and as a result, a hard fork of the blockchain must be implemented. In contrast, according to this embodiment, the technology related to the blockchain is improved in that such a problem can be solved.

[0016] Here, an overview of this embodiment will be described, and details will be described later. The terminal device 10 functioning as a node of the blockchain network executes a process having an acquisition step, an allocation step, an output step, and a storage step (hereinafter, also referred to as a "specific process") one or more times.

[0017] In the acquisition step, the terminal device 10 acquires a plurality of pieces of nonce candidate information that are distinguishable from one another by the user. For example, each piece of nonce candidate information may be image information of a card bearing a different design (i.e., a design that is distinguishable from one another by the user).

[0018] In the allocating step, the terminal device 10 allocates different values ​​to two or more pieces of nonce candidate information among the plurality of pieces of nonce candidate information. The values ​​allocated to each piece of nonce candidate information may be kept secret from the user. In such a case, for example, a value indicated by an integer between 0 and 9 may be allocated to each piece of nonce candidate information, but the user cannot recognize which value has been allocated to which piece of nonce candidate information.

[0019] In the output step, the terminal device 10 outputs the two or more pieces of nonce candidate information in a manner that can be recognized by the user. For example, the two or more pieces of nonce candidate information may be output on the display of the terminal device 10 as images of cards with different designs.

[0020] In the storage step, the terminal device 10 stores a value assigned to one piece of nonce candidate information selected from the two or more pieces of nonce candidate information based on a user operation. For example, a value indicated by an integer between 0 and 9 assigned to the one selected piece of nonce candidate information may be stored.

[0021] The terminal device 10 then generates one nonce candidate value using one or more values ​​stored as a result of the identification process being executed one or more times. For example, if the identification process is executed five times, five values, each represented by an integer between 0 and 9, may be stored. Then, a five-digit nonce candidate value may be generated by arranging the five values.

[0022] In this manner, in this embodiment, a nonce candidate value is determined using a value assigned to nonce candidate information selected from two or more pieces of nonce candidate information based on a user's operation. With this configuration, the determination of a nonce candidate value requires a user's operation to select nonce candidate information, so the hash rate of the terminal device 10 does not depend on the computing power. Therefore, the technology related to the blockchain is improved in that even individuals who use computers with relatively low computing power can easily participate in mining.

[0023] Furthermore, in this embodiment, the value assigned to each nonce candidate information is kept secret from the user. With this configuration, the user cannot intentionally select nonce candidate information to which a desired value is assigned, and as a result, cannot intentionally input a desired nonce candidate value from the terminal device 10. Therefore, for example, it is possible to prevent fraudulent acts in which a business operator uses a computer with high computing power prepared separately from the terminal device 10 to find the correct nonce in a short time and input the nonce from the terminal device 10, thereby further improving the technology related to blockchain.

[0024] Next, each component of the system 1 will be described in detail.

[0025] (Terminal Device Configuration) As shown in FIG. 2, the terminal device 10 includes a communication unit 11, an output unit 12, an input unit 13, a storage unit 14, and a control unit 15.

[0026] The communication unit 11 includes one or more communication interfaces for communicating via a network such as the Internet. The communication interface corresponds to a mobile communication standard such as 4G (4th Generation) or 5G (5th Generation), a wired LAN (Local Area Network) standard, or a wireless LAN standard, but is not limited to these and may correspond to any communication standard. In this embodiment, the terminal device 10 communicates with the server 20 and other terminal devices 10 via the communication unit 11.

[0027] The output unit 12 includes one or more output devices that output information so that the user can recognize it. Examples of the output devices include, but are not limited to, a display that outputs information as an image, a speaker that outputs information as sound, or a vibrator that outputs information as vibration.

[0028] The input unit 13 includes one or more input devices that detect user operations. Examples of the input devices include, but are not limited to, physical keys, capacitive keys, a touch screen that is integrated with the display of the output unit 12, a microphone that accepts voice input, or a camera.

[0029] The storage unit 14 includes one or more memories. The memories are, for example, but not limited to, semiconductor memories, magnetic memories, optical memories, etc. Each memory included in the storage unit 14 may function as, for example, a main storage device, an auxiliary storage device, or a cache memory. The storage unit 14 stores any information used in the operation of the terminal device 10. For example, the storage unit 14 may store system programs, application programs, etc.

[0030] The control unit 15 includes one or more processors, one or more programmable circuits, one or more dedicated circuits, or a combination of these. The processor is, for example, but is not limited to, a general-purpose processor such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit), or a dedicated processor specialized for a predetermined process. The programmable circuit is, for example, but is not limited to, an FPGA (Field-Programmable Gate Array). The dedicated circuit is, for example, but is not limited to, an ASIC (Application Specific Integrated Circuit). The control unit 15 controls the operation of the entire terminal device 10.

[0031] (Server configuration) As shown in FIG. 3, the server 20 includes a communication unit 21, a storage unit 22, and a control unit .

[0032] The communication unit 21 includes one or more communication interfaces for communicating via a network such as the Internet. The communication interface corresponds to, for example, a wired LAN standard or a wireless LAN standard, but may correspond to any communication standard without being limited thereto. In this embodiment, the server 20 communicates with each terminal device 10 via the communication unit 21.

[0033] The storage unit 22 includes one or more memories. Each memory included in the storage unit 22 may function as, for example, a main storage device, an auxiliary storage device, or a cache memory. The storage unit 22 stores any information used in the operation of the server 20. For example, the storage unit 22 may store a system program, an application program, a database, and the like.

[0034] The control unit 23 includes one or more processors, one or more programmable circuits, one or more dedicated circuits, or a combination thereof. The control unit 23 controls the operation of the server 20 as a whole.

[0035] (Operation flow of terminal device) The operation of each terminal device 10 according to this embodiment will be described with reference to Fig. 4. In summary, this operation is an operation for determining a nonce candidate value based on information that is concealed from the user and an operation by the user.

[0036] Step S100: The control unit 15 of the terminal device 10 acquires a plurality of pieces of nonce candidate information that are distinguishable from one another by the user. Hereinafter, this step is also referred to as an "acquisition step."

[0037] Specifically, the control unit 15 may acquire multiple nonce candidate information stored in advance in the storage unit 14, or may acquire multiple nonce candidate information from the server 20 via the communication unit 11. In this embodiment, 16 pieces of nonce candidate information are acquired as multiple nonce candidate information, but the number of acquired nonce candidate information may be two or more. In this embodiment, the multiple nonce candidate information is image information of 16 cards with different designs, as shown in FIG. 5. However, the multiple nonce candidate information is not limited to image information, and may be any data that can be converted into binary data, such as a contrast signal, a flashing light signal, an audio signal, a vibration signal, a Bluetooth (registered trademark) signal, or an infrared signal. Regardless of which information is adopted as the nonce candidate information, the multiple output nonce candidate information can be distinguished from each other by the user. Hereinafter, for ease of explanation, the nonce candidate information is also simply referred to as a "card".

[0038] Here, the control unit 15 assigns different names to each of the acquired multiple pieces of nonce candidate information. In the example shown in Fig. 5, an alphanumeric character from 0 to 9 and a to f is assigned as a name to each of the 16 pieces of nonce candidate information. For example, the name of the card with a "design of glasses" in the figure is "0". However, the name assigned to each piece of nonce candidate information is not limited to an alphanumeric character from 0 to 9 and a to f, and may be any data unified to 1 byte or 2 bytes.

[0039] Step S101: The control unit 15 assigns different values ​​to two or more pieces of nonce candidate information among the acquired pieces of nonce candidate information. Hereinafter, this step is also referred to as an "assignment step."

[0040] In this embodiment, as shown in FIG. 5, a value indicating an integer between 0 and 9 is randomly assigned to each of 10 pieces of nonce candidate information out of the 16 pieces of acquired nonce candidate information. For example, the value of the nonce candidate information named "2" (the card with a "nut design" in the figure) is "3". However, the number of pieces of nonce candidate information to which values ​​are assigned is not limited to 10, and may be any number equal to or greater than 2. For example, values ​​may be assigned to all of the 16 pieces of acquired nonce candidate information. Furthermore, the value assigned to each piece of nonce candidate information is not limited to an integer between 0 and 9, and may be any real number.

[0041] The name and value assigned to each nonce candidate information are kept secret from the user, so that the user cannot recognize the name and value of each nonce candidate information.

[0042] Step S102: The control unit 15 randomly determines the order of each of the two or more pieces of nonce candidate information in step S101. Hereinafter, this step is also referred to as a "determination step."

[0043] In this embodiment, the order is determined for each of the 10 nonce candidate information to which values ​​are assigned, as shown in Fig. 5. For example, the order of the nonce candidate information named "2" (the card with the "nut design" in the figure) is "10".

[0044] Here, the control unit 15 stores a parameter called "phase" in the storage unit 14 as shown in FIG. 6. The phase is used to determine the validity of the value stored in the storage step described later. The phase is determined based on the name and value assigned to each of the 10 nonce candidate information and the order determined for each of the 10 nonce candidate information. For example, in this embodiment, the phase is a 20-digit character string in which the name and value are arranged in order from the earliest nonce candidate information. In the example shown in FIG. 6, the phase is "c485e650a27198376923". For example, the first digit "c" and the second digit "4" from the left of the phase correspond to the name "c" and value "4" of the nonce candidate information with the order "1" (the card with the "banana design" written in the figure). Similarly, the third digit “8” and the fourth digit “5” from the left side of the phase correspond to the name “8” and value “5” of the nonce candidate information (the card with the “apple picture” in the figure) whose order is “2.”

[0045] Step S103: The control unit 15 outputs the two or more pieces of nonce candidate information from step S101 in a manner that can be recognized by the user. Hereinafter, this step is also referred to as an "output step."

[0046] In this embodiment, the control unit 15 outputs the 10 pieces of nonce candidate information shown in Fig. 6 as card images on the display of the output unit 12. The user can recognize the nonce candidate information displayed as an image on the display.

[0047] Specifically, the control unit 15 displays, for example, a screen shown in Fig. 7 on the display of the output unit 12. The "deck" on the screen is a pile of 10 cards corresponding to 10 nonce candidate information, stacked in order from the latest to the latest. In Fig. 7, the top of the deck shows a "banana design" card (nonce candidate information named "c") with the order number "1".

[0048] The control unit 15 waits for a user's operation. When the control unit 15 detects a user's operation on the button labeled "Place this card" as shown in FIG. 8, the control unit 15 places the top card of the deck on the table. In FIG. 8, the card on the table is a "banana design" card with the order number "1". Also, in FIG. 8, the top card of the deck is an "apple design" card (nonce candidate information with the name "8") with the order number "2". Each time a user's operation on the "Place this card" button is detected, the control unit 15 returns the card on the table to the bottom of the deck and places the top card of the deck on the table. In this way, the 10 cards (i.e., the two or more nonce candidate information in step S101) are placed on the table one by one in the order determined in the determination step each time a user's operation on the "Place this card" button is detected. The last card placed on the table means the card selected from the 10 cards based on the user's operation. In other words, the control unit 15 allows the user to select one card from the ten cards.

[0049] Step S104: When one piece of nonce candidate information is selected from two or more pieces of nonce candidate information in step S101 based on a user operation, the control unit 15 stores a parameter called a "selection value" for the selected piece of nonce candidate information (here, the playing card) in the storage unit 14, as described later. Hereinafter, this step is also referred to as a "storage step."

[0050] Specifically, when one card to be played on the table is selected from the ten cards in the deck based on the user's operation on the "Place this card" button, the control unit 15 stores the selection value of the selected card, i.e., the last card played on the table, in the storage unit 14. The selection value is a parameter including the order, name, and value of the card on the table. For example, the order of the card on the table with the "Temple design" written on it in FIG. 10 is "3", the name is "e", and the value is "6". In this case, the selection value "03&e6" of the card is stored. The two digits "03" from the left of the selection value indicate the order of the card "3". The second digit "e" from the right of the selection value indicates the name of the card "e". The first digit "6" from the right of the selection value indicates the value of the card "6". Note that the selection value is illustrated in the figure for the purpose of explanation, but the selection value is not displayed on the screen and is concealed from the user. The selection value stored in the storage unit 14 is updated every time the card on the table changes.

[0051] Step S105: The control unit 15 determines whether or not to end the specific process loop (i.e., repeatedly executing the specific process) having the above-mentioned steps S100 to S104 (i.e., the acquisition step, allocation step, decision step, output step, and storage step) based on the user's operation. If it is determined that the loop is to be ended (step S105-Yes), the process proceeds to step S106. On the other hand, if it is determined that the loop is not to be ended (step S105-No), the process returns to step S100.

[0052] Specifically, the control unit 15 waits for a user operation. When the control unit 15 detects a user operation on a button labeled "Select Next Card" as shown in Fig. 9, for example, the control unit 15 determines not to end the loop. When it is determined not to end the loop, the process returns to step S100 and the next identification process is executed.

[0053] The execution result of the specific process is managed independently for each execution of the specific process. For example, for each execution of the specific process, the field, the deck, and the "Place this card" button are displayed on the screen. In the example shown in FIG. 10, a new field, the deck, and the "Place this card" button corresponding to the second specific process are displayed. Also, for example, for each execution of the specific process, the phase and the selection value are stored in the storage unit 14.

[0054] When a user's operation on a button labeled "change card" is detected, it may be possible to change the card in the field corresponding to a specific process performed before the previous time, for example.

[0055] On the other hand, when the control unit 15 detects a user operation on the button labeled "PUZZLE CHALLENGE", it determines to end the loop.

[0056] Step S106: If it is determined in step S105 that the loop is to be ended (step S105-No), the control unit 15 determines the validity of the value stored in the storage step for each execution of the identification process, based on the value assigned to each of the two or more pieces of nonce candidate information in the assignment step, the order determined for each of the two or more pieces of nonce candidate information in the determination step, and the value and order stored in the storage step. If it is determined that the value is valid for all executions of the identification process (step S106-Yes), the process proceeds to step S107. On the other hand, if it is determined that the value is invalid for at least one execution of the identification process (step S106-No), the process ends.

[0057] In this embodiment, the control unit 15 judges the validity of the value stored in the storage step based on the phase and the selection value. As described above, the phase is a parameter based on the names, values, and order of the 10 cards (see FIG. 6). The selection value is a parameter including the name, value, and order of the last card played on the table (see FIG. 10).

[0058] A specific description will be given with reference to FIG. 11. FIG. 11 shows information stored in the storage unit 14 as a result of executing the above-mentioned identification process five times. For example, the first phase is "c485e650a27198376923" and the selected value is "03&e6". The control unit 15 separates the selected value into a first selected value "03" and a second selected value "e6". The control unit 15 reads two digits at a time from the left side of the phase and acquires the read value the number of times equal to the first selected value. Here, since the first selected value is "03", the third read value (i.e., the 5th to 6th digits from the left side of the phase), "e6", is acquired. If the acquired read value (here, "e6") and the second selected value (here, "e6") are equal, the control unit 15 determines that the value (here, "6") stored in the storage step of the first identification process is valid. On the other hand, if the acquired read value and the second selected value are different, the control unit 15 determines that the value stored in the storage step of the first identification process is invalid. The control unit 15 uses a similar procedure to determine the validity of the values ​​stored in the storage steps of the second and subsequent identification processes. If the values ​​are determined to be valid all times, the process proceeds to step S107. With this configuration, if a malicious user commits fraudulent behavior, for example, by tampering with the value stored in the storage step (here, the first digit from the right of the selected value), the fraudulent behavior can be detected.

[0059] Step S107: If it is determined in step S106 that the value is valid for all times the identification process is executed (step S106-Yes), the control unit 15 generates one nonce candidate value using one or more values ​​stored in the storage unit 14 as a result of the identification process being executed one or more times. Then, the process ends.

[0060] In this embodiment, the control unit 15 uses the value stored in the nth identification process as the nth digit from the right of the nonce candidate value, where n is the number of times the identification process has been executed. In the example shown in Fig. 11, the nonce candidate value is "33686". However, the method for generating the nonce candidate value is not limited to this method, and any method can be adopted.

[0061] As described above, the terminal device 10 according to this embodiment functions as a node of a blockchain network. The terminal device 10 executes a specific process having an acquisition step, an assignment step, an output step, and a storage step at least once. The terminal device 10 then generates one nonce candidate value using one or more values ​​stored as a result of the specific process being executed at least once.

[0062] According to this configuration, a nonce candidate value is determined using a value assigned to nonce candidate information selected from two or more pieces of nonce candidate information based on a user's operation. Since the determination of the nonce candidate value requires the user's operation of selecting nonce candidate information, the hash rate of the terminal device 10 does not depend on the computing power. Therefore, the technology related to the blockchain is improved in that even individuals who use computers with relatively low computing power can easily participate in mining.

[0063] Also, the value assigned to each nonce candidate information may be kept secret from the user. With this configuration, the user cannot intentionally select nonce candidate information to which a desired value is assigned, and as a result cannot intentionally input a desired nonce candidate value from the terminal device 10. Therefore, the technology related to the blockchain is further improved in that it is possible to prevent fraudulent acts, such as a business operator finding a correct nonce in a short time using a computer with high computing power prepared separately from the terminal device 10 and inputting the nonce from the terminal device 10.

[0064] Although the present disclosure has been described based on the drawings and examples, it should be noted that those skilled in the art may make various modifications and alterations based on the present disclosure. Therefore, it should be noted that these modifications and alterations are included in the scope of the present disclosure. For example, the functions included in each component or step can be rearranged so as not to be logically inconsistent, and multiple components or steps can be combined or divided into one.

[0065] For example, in the above-described embodiment, the configuration and operation of the terminal device 10 or the server 20 may be distributed among a plurality of computers capable of communicating with each other.

[0066] In the above-described embodiment, the "phase" is a 20-digit character string in which the names and values ​​of the nonce candidate information are arranged in order from the earliest to the latest, and the selected value is a parameter including the order, name, and value of the card in the field (i.e., one piece of nonce candidate information selected based on the user's operation). However, a modified example in which the phase and the selected value do not include the name of the nonce candidate information is also possible. Specifically, the phase may be a 10-digit character string in which the values ​​are arranged in order from the earliest to the latest. For example, in FIG. 6, the phase may be "4560218793". The selected value may be a parameter including the order and value of the card in the field. For example, in FIG. 10, the phase may be "03&6". Even in such a case, the control unit 15 can determine the validity of the value in the same procedure as in step S106 described above.

[0067] Furthermore, the blockchain can be used for managing transactions of crypto assets such as virtual currencies. However, the blockchain can be used for various purposes, not limited to managing transactions of crypto assets. For example, the blockchain may be used to determine electronic keys for locking and unlocking devices used in display cases or safes, or winning lottery numbers. It should be noted that the present disclosure is applicable to blockchains used for any purpose.

[0068] As a specific example, consider the case where a blockchain is used for an electronic key of a locking / unlocking device used for, for example, a display case or a safe. In conventional locking / unlocking devices that do not use a blockchain, a correct value determined by a combination of multiple digits is generally used as the electronic key. On the other hand, when a blockchain is used for an electronic key of a locking / unlocking device, for example, a correct nonce whose hash value of a newly linked block satisfies a standard according to the difficulty of mining can be used as the electronic key. However, in either case, there is a problem that the locking / unlocking device may be illegally unlocked if, for example, a malicious user connects his / her own computer to the locking / unlocking device via wire or wirelessly and mechanically performs a brute force attack.

[0069] In contrast, according to the modified example of the embodiment described above, the possibility that the locking / unlocking device is illegally unlocked is reduced. FIG. 12 is a diagram showing a locking / unlocking device 100 according to the modified example. The locking / unlocking device 100 is provided, for example, in a display case or a safe. The locking / unlocking device 100 corresponds to the terminal device 10 according to the embodiment described above, and has the same configuration and function as the terminal device 10. In this modified example, the number of locking / unlocking devices 100 (terminal devices 10) provided in the system 1 may be one or more. The locking / unlocking device 100 performs an unlocking operation, for example, when a correct nonce candidate value is found. According to the locking / unlocking device 100, as in the above-mentioned terminal device 10, the determination of the nonce candidate value requires the user's operation of selecting nonce candidate information. Therefore, it is possible to prevent fraudulent acts such as mechanical brute force attacks. Furthermore, according to the locking / unlocking device 100, as in the above-mentioned terminal device 10, the value assigned to each nonce candidate information is kept secret from the user. Therefore, it is possible to prevent a fraudulent act, for example, where a malicious user uses a computer with high computing power prepared separately from the locking / unlocking device 100 to find the correct nonce (i.e., electronic key) in a short time and inputs the nonce into the locking / unlocking device 100. Moreover, according to the locking / unlocking device 100, the validity of the value stored in the storage step is determined based on the phase and the selected value, as in the above-mentioned terminal device 10. Therefore, it is possible to prevent a fraudulent act, for example, where a malicious user connects his / her own computer to the locking / unlocking device 100 and tampers with the value stored in the storage step.

[0070] Also, for example, an embodiment is possible in which a general-purpose computer functions as the terminal device 10 according to the above-described embodiment. Specifically, a program describing the processing contents for realizing each function of the terminal device 10 according to the above-described embodiment is stored in the memory of the general-purpose computer, and the program is read and executed by a processor. Therefore, the invention according to this embodiment can also be realized as a program executable by a processor, or a non-transitory computer-readable medium that stores the program. [Explanation of symbols]

[0071] 1 System 10 Terminal Equipment 11 Communications Department 12 Output section 13 Input section 14 Storage section 15 Control section 20 Servers 21 Communications Department 22 Memory section 23 Control Unit 100 Locking / unlocking device

Claims

1. A method for generating a nonce candidate value for obtaining a hash value of a block to be linked to a blockchain, comprising: A terminal device that functions as a node in the blockchain network is An acquisition step in which a user acquires a plurality of distinguishable nonce candidate information; an assignment step of assigning different values ​​to two or more pieces of nonce candidate information among the plurality of pieces of nonce candidate information; an output step of outputting the two or more pieces of nonce candidate information in a manner recognizable by a user; a storage step of storing a value assigned to one nonce candidate information selected from the two or more nonce candidate information based on a user operation; Executing one or more specific operations having the following structure: generating a nonce candidate value using one or more values ​​stored as a result of one or more executions of the specific process; A method comprising:

2. A method for generating a nonce candidate value for obtaining a hash value of a block to be linked to a blockchain, comprising: A terminal device that functions as a node in the blockchain network is An acquisition step in which a user acquires a plurality of distinguishable nonce candidate information; an assignment step of assigning different values ​​to two or more pieces of nonce candidate information among the plurality of pieces of nonce candidate information; an output step of outputting the two or more pieces of nonce candidate information in a manner recognizable by a user; a storage step of storing a value assigned to one piece of nonce candidate information selected from the two or more pieces of nonce candidate information; Executing one or more specific operations having the following structure: generating a nonce candidate value using one or more values ​​stored as a result of one or more executions of the specific process; A method comprising:

3. 3. The method according to claim 1 or 2, A method according to claim 1, wherein the value assigned to each of the two or more pieces of nonce candidate information in the assigning step is kept secret from a user.

4. 4. The method according to claim 1 , further comprising the steps of: In the output step, the two or more pieces of nonce candidate information are output as an image on a display.

5. 5. The method according to claim 1 , further comprising the steps of: The identification process further includes a determination step of randomly determining an order for each of the two or more pieces of nonce candidate information, In the output step, the two or more pieces of nonce candidate information are output one by one in the order determined in the determination step every time a user operation is detected; A method according to claim 1, wherein in said storing step, a value assigned to one nonce candidate information last outputted from among said two or more pieces of nonce candidate information is stored.

6. 6. The method of claim 5, In the storage step, the value assigned to the selected one piece of nonce candidate information and the order determined in the determination step for the one piece of nonce candidate information are stored; The method further includes the terminal device determining the validity of the value stored in the storage step based on the value assigned to each of the two or more nonce candidate information in the allocation step and the order determined for each of the two or more nonce candidate information in the determination step, and the value and order stored in the storage step.

7. 7. The method according to any one of claims 1 to 6, comprising: a value assigned to each of the two or more pieces of nonce candidate information in the assignment step is an integer between 0 and 9, A method in which each of the one or more values ​​stored as a result of executing the specific process one or more times is used as a value for each digit of the one nonce candidate value.

8. A program for generating nonce candidate values ​​for obtaining a hash value of a block to be linked to a blockchain, Computers that function as nodes in a blockchain network An acquisition step in which a user acquires a plurality of distinguishable nonce candidate information; an assignment step of assigning different values ​​to two or more pieces of nonce candidate information among the plurality of pieces of nonce candidate information; an output step of outputting the two or more pieces of nonce candidate information in a manner recognizable by a user; selecting one nonce candidate information from the two or more nonce candidate information; A storage step of storing a value assigned to the selected one of the nonce candidate information pieces; Executing one or more specific operations having the following structure: generating a nonce candidate value using one or more values ​​stored as a result of one or more executions of the specific process; A program to execute.

Citation Information

Patent Citations

  • Virtual currency management device, virtual currency management method, and program

    JP2019117555A

  • Human-solved puzzles as proof-of-work for blockchain

    US20190305968A1