Nothing Special   »   [go: up one dir, main page]

WO2023008092A1 - Information processing device and method for controlling same - Google Patents

Information processing device and method for controlling same Download PDF

Info

Publication number
WO2023008092A1
WO2023008092A1 PCT/JP2022/026361 JP2022026361W WO2023008092A1 WO 2023008092 A1 WO2023008092 A1 WO 2023008092A1 JP 2022026361 W JP2022026361 W JP 2022026361W WO 2023008092 A1 WO2023008092 A1 WO 2023008092A1
Authority
WO
WIPO (PCT)
Prior art keywords
distributed ledger
transaction
blockchain distributed
information
blockchain
Prior art date
Application number
PCT/JP2022/026361
Other languages
French (fr)
Japanese (ja)
Inventor
幹彦 亀川
Original Assignee
キヤノン株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by キヤノン株式会社 filed Critical キヤノン株式会社
Publication of WO2023008092A1 publication Critical patent/WO2023008092A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors

Definitions

  • the present invention relates to document storage using blockchain technology.
  • blockchain technology is known to be highly resistant to tampering.
  • Blockchain technology manages stored data in a chained state, so once stored data cannot be deleted. Therefore, if blockchain technology is simply applied to stored documents, stored documents cannot be discarded in the future. Management costs will also increase.
  • the purpose of the present invention is to provide a technology that suppresses the bloating of the blockchain data area by making it possible to discard documents saved using blockchain technology.
  • the information processing apparatus in the present invention includes a registered blockchain distributed ledger that performs new transaction registration processing and registered transaction acquisition processing, and a reference blockchain distributed ledger that does not perform new transaction registration processing but performs registered transaction acquisition processing.
  • the information processing apparatus is characterized by comprising deletion means for deleting the reference blockchain distributed ledger in response to an instruction to delete the reference blockchain distributed ledger.
  • FIG. 1 is an overview of a blockchain device 111 and related systems.
  • the PC 101 is connected to the LAN 100 and exists within the intranet, and communicates with the blockchain device 111 via the Internet 110 .
  • the PC 101 is used to use the functions of the blockchain device 111 using a web browser.
  • one PC 101 is used to explain the functions, but it is not intended to limit the connection of a plurality of PCs 101 to the blockchain device 111 via the LAN 100 .
  • the block chain device 111 and the PC 101 are described here, both are information processing devices.
  • the blockchain device 111 is a device that receives information generated by the PC 101 as a transaction and collectively manages it in blocks, thereby managing information using a highly tamper-resistant blockchain method. It is assumed that this block chain device 111 can also be configured by a plurality of units.
  • the LAN 100 of the intranet and the Internet 110 are configured separately, but the configuration in which all the devices are directly connected to the Internet or the configuration in which they are connected to the LAN 100 is not limited.
  • FIG. 2 is a block diagram showing the computer hardware configuration of the PC 101 and the blockchain device 111.
  • a Central Processing Unit (hereafter referred to as CPU) 202 controls the entire apparatus.
  • a CPU 202 executes application programs, an OS, and the like stored in a hard disk (hereinafter referred to as HDD) 205 . It also controls the temporary storage of information, files, etc. necessary for program execution in the Random Access Memory (RAM) 203 .
  • a Read Only Memory (hereinafter referred to as ROM) 204 is storage means (storage unit), and stores various data such as basic I/O programs therein.
  • a RAM 203 is temporary storage means, and functions as a main memory, a work area, and the like for the CPU 202 .
  • the HDD 205 is one of external storage means, functions as a large-capacity memory, and stores application programs such as office applications and web browsers, an OS, related programs, and the like.
  • a display 206 is display means, and displays commands and the like input from a keyboard/mouse 207 as instruction input means.
  • An interface 208 is an external device I/F, and connects printers, USB devices, and peripheral devices.
  • a system bus 201 governs the flow of data within the device.
  • a network interface card (hereinafter referred to as NIC) 209 exchanges data with external devices via the LAN 100 .
  • NIC network interface card
  • the storage locations of data and programs can be changed to the ROM 204, RAM 203, HDD 205, etc., according to their characteristics.
  • various processes are implemented by loading programs stored in the ROM 204 or the like into the RAM 203 or the like and executing the programs by the CPU 202 .
  • FIG. 3 is a block diagram showing the software configuration related to the present invention in the blockchain device 111. Unless otherwise specified, each processing unit is a control program stored in the ROM 204 of the blockchain device 111 .
  • the distributed ledger data storage unit 301 is a storage area for storing data related to the distributed ledger shown later in FIGS. 4A, 4B, and 4C. This is stored in the HDD 205 in the form of a database, file, or the like.
  • the distributed ledger processing control unit 302 is for controlling distributed ledger processing using the data in the distributed ledger data storage unit 301 described above, and implements the functions of the blockchain.
  • the distributed ledger management data storage unit 303 is a storage area that holds information for managing the distributed ledger realized in this embodiment. As with the distributed ledger data storage unit 301, this is also stored in the HDD 205 in the form of a database, file, or the like.
  • the distributed ledger management processing control unit 304 is for controlling the management processing of the distributed ledger using the data in the distributed ledger management data storage unit 303 described above.
  • a communication control unit 305 receives a processing request via the Internet 110 transmitted from a web browser of the PC 101 which is an external device. Then, it activates a predetermined process of the distributed ledger management processing control unit 304 and returns the processing result to the request source PC 101, and serves as a contact point with other network devices.
  • FIG. 4A, 4B, and 4C are block diagrams showing the data structures of transactions 401, blocks 411, distributed ledgers 421, and distributed ledger groups 431, which are data units held by the blockchain device 111.
  • FIG. The blockchain device 111 is a device that manages data using a method called blockchain. In this blockchain system, information is handled in units of transactions 401 shown in FIG. 4A.
  • a transaction consists of a key 402 that uniquely represents the transaction and data 403 linked to the stored key 402 . Since the data format that can be held in the transaction 401 can be defined by the user, the format of the key 402 and the configuration of the data 403 are not particularly limited.
  • As a structure for managing this transaction 401 a block 411 and a distributed ledger 421 shown in FIG. 4B are formed.
  • a block 411 consists of a plurality of transactions 401 (five in this embodiment), a distributed ledger ID 412 that is block management data, a block hash value 413, and a previous block hash value 414.
  • the distributed ledger ID 412 is a value that first determines the distributed ledger 421 to which the block 411 belongs.
  • the block hash value 413 is a hash value created using all transactions when the transactions included in the block are confirmed. In this figure, hash values calculated from five transactions, transaction 401(a) and transaction 401(b), are stored. By holding this value, the content of the transaction 401 in the block 411 can be detected to be tampered with.
  • the previous block hash value 414 holds the block hash value 413 of the block 411 determined before its own block.
  • the block 411 is the first block registered in the distributed ledger, so the previous block hash value 414 is set to NULL (no value).
  • Block 415 has the block hash value 413 of block 411 as the previous block hash value in block 415 .
  • Block 416 also has block hash value 413 of block 415 as the previous block hash value in block 416 .
  • blocks 411, 415, and 416 are connected in the order of block 411, block 415, and block 416, and processing is required to maintain consistency for all blocks against tampering of some blocks. It becomes a configuration with the strength of nature.
  • a distributed ledger group 431 is provided as a unit for managing a plurality of distributed ledgers 421 .
  • the distributed ledger group 431 manages a plurality of distributed ledgers from the distributed ledger 421(a) to the distributed ledger 421(c) in the order of creation. For this reason, information for connecting the distributed ledger 421 is held at the position of the above-described transaction 401 (a), which is the head of the leading block 411 of the distributed ledger 421 .
  • the transaction 401 with the following value is registered: do.
  • ⁇ Key 402 RELATED_DATA (fixed)
  • ⁇ Data 403 NULL (no value)
  • the distributed ledger 421(b) is a distributed ledger that follows the distributed ledger 421(a), and for the first transaction 432(b), a transaction 401 holding the next value is generated and registered in the block.
  • ⁇ Key 402 RELATED_DATA (fixed)
  • Data 403 Block hash value 413 held by the last block 411 recorded in the previous distributed ledger 421(a)
  • the distributed ledger management data storage unit 303 holds information in the formats of Tables 1 and 2.
  • Table 1 is a table that stores definition information representing the distributed ledger group itself.
  • the distributed ledger group name is the name of the distributed ledger group that presents the distributed ledger group 431 to the user. This information is used for display on the screen or the like.
  • the data validity period is information indicating a period during which the transaction data 401 registered in the distributed ledger group 431 is determined to be valid. Transaction data 401 that has passed this period is treated as non-existent or invalid.
  • the distributed ledger retention period is information indicating the period during which the distributed ledger 421 belonging to the distributed ledger group 431 is held. The value that can be set for this distributed ledger retention period is the same value as the data valid period or a larger value than it.
  • a URL is information that uniquely represents a distributed ledger group used to access the distributed ledger group.
  • Table 2 is a table that stores information representing the distributed ledger 421 that constitutes the distributed ledger group 431.
  • the distributed ledger ID is information that uniquely represents the distributed ledger 421. In this embodiment, it is issued when the distributed ledger 421 is generated, and is set to the distributed ledger ID 412 of each block 411 that constitutes it.
  • the ledger type is information representing the role of the constituent distributed ledger 421.
  • three types of "preparation”, “registration”, and “reference” are used.
  • the distributed ledger 421 is operated as follows. First, when the distributed ledger 421 is generated, information is registered with the ledger type as “preparation”. It then becomes a distributed ledger 421 (Registered Blockchain Distributed Ledger) that registers new transactions 401 by changing to a "registration” type when ready for use.
  • the “registration” type distributed ledger changes to the “reference” type by the distributed ledger switching process described later in FIG. 8, and becomes the distributed ledger 421 (reference blockchain distributed ledger) that only provides owned transaction information.
  • the usage start date is information representing the date when each distributed ledger is to be used.
  • the type change date is information representing the date when the ledger type was changed.
  • a URL is information that uniquely represents a distributed ledger used when accessing the distributed ledger.
  • the registered blockchain distributed ledger can perform new transaction registration processing and registered transaction acquisition processing.
  • the reference blockchain distributed ledger does not register new transactions, but performs registered transaction acquisition processing.
  • the hash value of the last block of the reference blockchain distributed ledger is registered as the first transaction of a blockchain distributed ledger different from the blockchain distributed ledger.
  • FIG. 5 is a block diagram showing the functional configuration of the PC 101 that accesses the blockchain device 111.
  • Each processing unit is a control program stored in the ROM 204 of the PC 101 unless otherwise specified.
  • the transaction data storage unit 501 is a storage area for transaction data obtained by accessing the blockchain device 111 . This is stored in the HDD 205 in the form of a database, file, or the like.
  • the blockchain access control unit 502 performs processing for accessing the blockchain device 111 .
  • the communication control unit 503 connects to the LAN 100 and controls communication with the blockchain device 111 via the Internet 110 .
  • a blockchain management screen 600 in FIG. 6 is an example of a screen for managing the distributed ledger group 431 and distributed ledger 421 of the blockchain device 111, and provides UI and functions for performing various operations of the blockchain device 111. .
  • the blockchain management screen 600 is configured as a web browser, and descriptions of the standard features of the web browser, such as the menus and URL display, will be omitted.
  • a display area 601 is an area for displaying the components of the management screen. Although not shown, when there are too many display contents to be displayed in the area, vertical and horizontal scroll bars are displayed so that all can be displayed.
  • the input area 602 is an area for displaying/inputting setting information of the blockchain device 111, and in this embodiment, it consists of a distributed ledger group name 603, a data validity period 604, a distributed ledger retention period 605, and a usage start date 606.
  • the distributed ledger group name 603 is an area for designating and displaying information on the distributed ledger group name in Table 1 described above.
  • a data validity period 604 is an area for designating and displaying information on the data validity period of Table 1 described above.
  • the unit of the period that can be set is assumed to be a year.
  • the distributed ledger retention period 605 is an area for designating and displaying information on the distributed ledger retention period in Table 1 described above.
  • the unit of the period that can be set is assumed to be a year.
  • the usage start date 606 is an area for specifying and displaying the usage start date of the distributed ledger group to be created. When this screen is displayed, the blockchain access control unit 502 requests the communication control unit 305 of the blockchain device 111 to acquire the distributed ledger group information via the communication control unit 503 .
  • the communication control unit 305 instructs the distributed ledger management processing control unit 304 to acquire the distributed ledger group information.
  • the distributed ledger management processing control unit 304 acquires the data of Table 1 held in the distributed ledger management data storage unit 303 and provides the data via the communication control unit 305 .
  • This screen that has received the information displays the content in each element of the input area 602 .
  • a group creation button 607 is a button for performing processing for creating a new distributed ledger group, and when pressed, the flowchart in FIG. 7 described later is executed. This button can be pressed only when data cannot be received at the time of the display described above.
  • the distributed ledger switching button 608 is a button for performing processing for switching the role of the distributed ledger, and when pressed, the flowchart in FIG. 8 described later is executed.
  • a distributed ledger delete button 609 is a button for performing a process of deleting a distributed ledger whose retention period has passed.
  • FIG. 7 is a flowchart showing the process of generating the distributed ledger group 431 in the blockchain device 111.
  • the processing of this flowchart does not limit, for example, scheduling and periodic execution by the blockchain device 111 .
  • the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of a generation processing request.
  • the generation processing request received by the communication control unit 305 is passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
  • the values of the distributed ledger group name 603, the data valid period 604, the distributed ledger retention period 605, and the usage start date 606 input to the blockchain management screen 600 are passed from the PC 101 to the blockchain device 111.
  • step S701 the distributed ledger group name 603, the data validity period 604, and the distributed ledger retention period 605 received from the PC 101 are stored in the distributed ledger management data storage unit 303 in the format shown in Table 1, and the distributed ledger group 431 is generated.
  • step S702 the distributed ledger 421 to be registered in the generated distributed ledger group 431 is generated, and the following information is set as the distributed ledger information in Table 2.
  • ⁇ Distributed ledger ID distributed ledger ID 412 set when generating distributed ledger 421
  • Ledger type “Preparation”
  • Usage start date Value of usage start date 606
  • Type change date Setting date
  • URL Access URL to distributed ledger
  • step S703 the following transactions described in FIG. 4C are registered in the generated distributed ledger 421.
  • ⁇ Key 402 RELATED_DATA (fixed)
  • ⁇ Data 403 NULL (no value)
  • step S704 since the distributed management ledger can be used, the following information of the distributed ledger definition is changed. ⁇ Ledger type: “Registration” ⁇ Type change date: Set date
  • the result is notified to the PC 101 that requested the processing.
  • the PC 101 that has received the notification displays the processing result on the screen.
  • FIG. 8 is a flowchart showing the process of newly generating the distributed ledger 421 in the blockchain device 111 and switching the existing registered distributed ledger to the reference distributed ledger.
  • the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of a distributed ledger switching processing request.
  • the distributed ledger switching processing request received by the communication control unit 305 is passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
  • step S ⁇ b>801 the distributed ledger group definition information in Table 1 and the distributed ledger information in Table 2 are acquired from the distributed ledger management data storage unit 303 .
  • step S802 the distributed ledger 421 to be added to the distributed ledger group 431 described in the distributed ledger group definition information acquired in step S801 is generated, and the following information is set as the distributed ledger information in Table 2.
  • Distributed ledger ID Distributed ledger ID 412 set when generating distributed ledger 421 (here, “DL-004”)
  • Ledger type: “Preparation” ⁇ Usage start date: Setting date ⁇ Type change date: Setting date
  • URL Access URL to distributed ledger
  • step S803 the distributed ledger information whose ledger type is "registration” is acquired, and the ledger type is changed to "reference”.
  • step S804 the last block 411 of the distributed ledger 421 indicated by the distributed ledger ID of the distributed ledger information acquired in step S803 is determined, and the block hash value 413 is calculated and set. As a result, the distributed ledger 421 processed in this step becomes a distributed ledger that will not be registered thereafter.
  • step S805 the management transaction 401 using the block hash value 413 calculated in step S804 is registered in the distributed ledger 421 with the distributed ledger ID DL-004 generated in step S802.
  • ⁇ Key 402 RELATED_DATA (fixed)
  • Data 403 block hash value 413 calculated in step S804
  • step S806 the ledger type and type change date registered as distributed ledger information in Table 2 in step S802 are updated with the following information.
  • ⁇ Ledger type “Registration”
  • ⁇ Use start date Change date
  • Type change date Change date
  • FIG. 9 is a flowchart showing the process of deleting the distributed ledger 421 in the blockchain device 111.
  • a case will be described in which the user uses the distributed ledger deletion process of the blockchain device 111 via the web browser of the PC 101 .
  • the processing of this flowchart can also be implemented in a form such that it is performed in conjunction with the distributed ledger switching processing of FIG. 8, or is automatically performed periodically.
  • the distributed ledger delete button 609 is pressed on the blockchain management screen 600. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the distributed ledger deletion processing request.
  • the distributed ledger deletion processing request received by the communication control unit 305 is passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
  • step S901 the distributed ledger group definition information in Table 1 and the distributed ledger information in Table 2 are obtained from the distributed ledger management data storage unit 303.
  • step S902 from the distributed ledger information acquired in step S901, one item of data indicating that the ledger type that has not been selected in this step is "reference" is selected.
  • step S903 when the distributed ledger information can be acquired in step S902, the process proceeds to the next step S904. If there is no target information to be acquired, this flow chart ends.
  • step S904 using the distributed ledger group definition information acquired in step S901 and the distributed ledger information selected in step S902, the remaining period of the retention period of the target distributed ledger 421 is calculated by the following formula.
  • Remaining retention period usage start date + distributed ledger retention period - execution date of this flowchart
  • step S905 it is determined whether the retention period has expired depending on whether the remaining retention period calculated in step S904 indicates a negative value. If a negative value is indicated and the retention period has expired, the process proceeds to step S906; otherwise, the process returns to step S902.
  • step S906 the distributed ledger group including the distributed ledger to be deleted is corrected. Specifically, a transaction indicating that the deletion target distributed ledger has been deleted is registered in the distributed ledger group 431 to which it belongs.
  • FIG. 23 shows a schematic diagram of the distributed ledger group 431 representing this process. This FIG. 23 explains the part related to this step at the time of deleting the distributed ledger from the configuration of the distributed ledger of the distributed ledger group 431 shown in FIG. 4C.
  • the target of deletion is the reference distributed ledger 421(a), and the last block hash value 2301 of this reference distributed ledger 421(a) is transferred to the registered distributed ledger 421(c) of the same distributed ledger group 431 as a transaction 2302. Indicates to add.
  • ⁇ Key 402 DELETED_DATA (fixed) Data 403: Block hash value 413 held by the last block 411 recorded in the reference distributed ledger 421(a) to be deleted
  • step S907 the distributed ledger 421 that matches the distributed ledger ID of the distributed ledger information selected in step S902 is deleted.
  • the distributed ledger management processing control unit 304 requests the distributed ledger processing control unit 302 to perform the distributed ledger deletion processing by designating the distributed ledger ID.
  • the distributed ledger processing control unit 302 deletes the target distributed ledger according to the procedure of the blockchain platform to be used.
  • step S ⁇ b>908 the distributed ledger information selected in step S ⁇ b>902 is deleted from Table 2 of the distributed ledger management data storage unit 303 .
  • Fig. 10 is an example of a transaction operation screen.
  • a blockchain access screen 1000 is an example of a screen provided by the blockchain device 111 to the user in order to execute registration and acquisition of the transaction 401 .
  • the blockchain access screen 1000 is configured as a web browser, and the description of the standard features of the web browser, such as menus and URL displays, will be omitted.
  • a display area 1001 is an area for displaying the components of the access screen. Although not shown, when there are too many display contents to be displayed in the area, vertical and horizontal scroll bars are displayed so that all can be displayed.
  • This display area 1001 can be obtained by accessing the URL held in Table 1 by the blockchain device 111.
  • the key information 1002 is a place to input or display information that uniquely represents information to be registered as a transaction. In this embodiment, it is assumed that a hash value calculated from a document file to be registered is input.
  • the registration data 1003 is a place for inputting or displaying information linked to the information uniquely represented by the key information 1002 described above. In this embodiment, it is assumed that the bibliographic data held by the document file (for example, creator, place of creation, document file name, etc.) is input.
  • Validity period 1004 displays a value that indicates the period in which information is held in this distributed ledger group 431 . In this embodiment, since the retention period is determined when creating the distributed ledger group 431, it is provided as a function that only displays the set values.
  • a registration button 1005 is a button for executing the registration processing of the transaction 401 described later in FIG.
  • Acquisition button 1006 is a button for executing acquisition processing of transaction 401 described later with reference to FIG.
  • FIG. 11 is a flowchart showing the process of registering the transaction 401 in the distributed ledger 421 in the blockchain device 111.
  • a description will be given in which the user requests registration of the transaction 401 in the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 .
  • the processing form is not limited.
  • Key information 1002 and registration data 1003 are entered on the blockchain access screen 1000, and a registration button 1005 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the transaction registration processing request.
  • both the key information 1002 and the value of the registration data 1003 input on the blockchain access screen 1000 are transmitted.
  • the input values of the transaction registration processing request, the key information 1002 and the registration data 1003 received by the communication control unit 305 are passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
  • step S1101 the key information 1002 and the registration data 1003 input by the web browser of the PC 101 are obtained.
  • step S1102 from the distributed ledger information in Table 2, the distributed ledger data having the "registered" ledger type is acquired from the distributed ledger management data storage unit 303.
  • step S1103 it is determined whether or not the distributed ledger management data acquired in step S1102 exists. If it exists, the process proceeds to step S1104; otherwise, the process proceeds to step S1106.
  • step S1104 the distributed ledger ID of the distributed ledger data obtained in step S1102 and the key information 1002 and registration data 1003 obtained in step S1101 are passed to the distributed ledger processing control unit 302 to request registration processing of the transaction 401.
  • the distributed ledger processing control unit 302 creates and registers the following transaction 401 in the distributed ledger having the relevant divided ledger ID.
  • ⁇ Key 402 Key information 1002
  • ⁇ Data 403 Registration data 1003
  • step S1105 the PC 101 is notified of the transaction registration result in step S1104.
  • step S1106 the PC 101 is notified of an error that the distributed ledger to be registered does not exist.
  • the registration result and error are displayed on the screen of the PC 101. This is done using a standard dialog (not shown) possessed by the OS or web browser, and is explained in this embodiment. omitted.
  • FIG. 12 is a flowchart showing the process of acquiring registration data from a predetermined distributed ledger 421 in the blockchain device 111.
  • the user requests acquisition of the transaction 401 from the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 .
  • the processing form is not limited.
  • Key information 1002 is entered on the blockchain access screen 1000, and an acquisition button 1006 is pressed.
  • the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the transaction acquisition processing request.
  • the PC 101 also transmits the value of the key information 1002 input on the blockchain access screen 1000 .
  • the transaction acquisition processing request received by the communication control unit 305 and the input value of the key information 1002 are passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
  • step S1201 the key information 1002 input by the web browser of the PC 101 is obtained.
  • step S1202 from the distributed ledger group definition information in Table 1 and the distributed ledger information in Table 2, all distributed ledger data whose ledger type is "registration” or "reference” are obtained from the distributed ledger management data storage unit 303, It saves in RAM203.
  • step S1203 one piece of distributed ledger data with the latest type change date is selected from the distributed ledger information acquired in step S1202 and stored in the RAM 203.
  • step S1204 it is determined whether or not the distributed ledger data selected in step S1203 exists, and if it exists, the process proceeds to step S1205, and if it does not exist, the process proceeds to step S1208.
  • step S1205 the distributed ledger ID of the distributed ledger data selected in step S1203 and the key information 1002 obtained in step S1201 are passed to the distributed ledger processing control unit 302 to request acquisition processing of the transaction 401.
  • the distributed ledger processing control unit 302 searches the transaction 401 having the value of the key information 1002 in the key 402 from the distributed ledger having the relevant divided ledger ID, and passes it to the distributed ledger management processing control unit 304 if there is a match.
  • the transaction search processing in the distributed ledger processing control unit 302 depends on the blockchain platform used, and the description of the search procedure is omitted in this embodiment.
  • step S1206 it is determined whether or not the transaction 401 acquired in step S1205 exists, and if it exists, the process proceeds to the next step S1207, and if it does not exist, the process returns to step S1203 to search the next distributed ledger. . At this time, the distributed ledger data selected in S1203 is deleted from the RAM203.
  • step S1207 the data 403 of the acquired transaction 401 is notified to the PC 101.
  • step S1208 the PC 101 is notified that there is no transaction data that matches the designated key information 1002.
  • the data 403 is displayed as the registration data 1003.
  • FIG. 11 When an error notification is received, similar to the flow chart of FIG. 11, the content of the error is displayed in a standard dialog (not shown) of the OS or web browser.
  • steps S1203 to S1206 the distributed ledger with the latest type change date is searched first, but the distributed ledger may be searched sequentially based on a predetermined rule.
  • FIGS. 13 and 14 are used for transaction registration processing and transaction acquisition processing, which are differences. and explain.
  • FIG. 13 is a flowchart showing the process of registering the transaction 401 in the distributed ledger 421 in the blockchain device 111.
  • a description will be given in which the user requests registration of the transaction 401 in the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 .
  • the processing form is not limited.
  • Key information 1002 and registration data 1003 are entered on the blockchain access screen 1000, and a registration button 1005 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the transaction registration processing request.
  • both the key information 1002 and the value of the registration data 1003 input on the blockchain access screen 1000 are transmitted.
  • the input values of the transaction registration processing request, the key information 1002 and the registration data 1003 received by the communication control unit 305 are passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
  • step S1301 the key information 1002 and registration data 1003 that have been input through the web browser of the PC 101 are obtained.
  • step S ⁇ b>1302 the distributed ledger data whose ledger type is “registration” is acquired from the distributed ledger information of Table 2 from the distributed ledger management data storage unit 303 .
  • step S1303 it is determined whether or not the distributed ledger management data acquired in step S1302 exists. If it exists, the process proceeds to step S1304; otherwise, the process proceeds to step S1307.
  • step S1304 the distributed ledger ID of the distributed ledger data obtained in step S1302 and the key information 1002 and registration data 1003 obtained in step S1301 are passed to the distributed ledger processing control unit 302 to request registration processing of the transaction 401.
  • the distributed ledger processing control unit 302 creates and registers the following transaction 401 in the distributed ledger 421 having the relevant distributed ledger ID.
  • ⁇ Key 402 Key information 1002
  • ⁇ Data 403 Registration data 1003
  • an access information key is generated by assigning the registered distributed ledger ID to the key information 1002 specified at the time of registration in order to improve the efficiency of transaction processing.
  • Access information key distributed ledger ID + key information 1002
  • the access information key is explained by concatenating two pieces of data, but it is configured so that the access information key information can be concealed by processing the information if it is in a format that can be decrypted.
  • step S1306 the access information key generated in step S1305 is notified to the PC 101.
  • step S1307 the PC 101 is notified of an error that the distributed ledger to be registered does not exist.
  • the registration result and error are displayed on the screen of the PC 101. This is done using a standard dialog (not shown) possessed by the OS or web browser, and is explained in this embodiment. omitted.
  • FIG. 14 is a flowchart showing the process of acquiring registration data from a predetermined distributed ledger 421 in the blockchain device 111.
  • the user requests acquisition of the transaction 401 from the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 .
  • the processing form is not limited.
  • Key information 1002 is entered on the blockchain access screen 1000, and an acquisition button 1006 is pressed.
  • the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the transaction acquisition processing request.
  • the PC 101 also transmits the value of the key information 1002 input on the blockchain access screen 1000 .
  • the transaction acquisition processing request received by the communication control unit 305 and the input value of the key information 1002 are passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
  • the key information 1002 is the key information 1002 input by the user at the time of registration in step S1301 of FIG. becomes.
  • step S1401 the key information 1002 input by the web browser of the PC 101 is acquired.
  • step S1402 the acquired key information 1002 is divided into the form of the distributed ledger ID of the access information key and the key information 1002.
  • step S1403 it is determined whether or not the format of the access information key can be divided. If it can be divided, the process proceeds to step S1404, and if it cannot be divided, the process proceeds to step S1406.
  • step S1404 the distributed ledger data matching the divided distributed ledger ID is acquired from the distributed ledger information in Table 2 and stored in the RAM 203. Then, in the next step S1405, it is determined whether or not the distributed ledger data has been acquired. If it can be acquired, the process advances to step S1407, and if it cannot be acquired, the process advances to step S1406.
  • step S1406 from the distributed ledger group definition information in Table 1 and the distributed ledger information in Table 2, the distributed ledger data whose ledger type is "registration” or “reference” is acquired from the distributed ledger management data storage unit 303 and stored in the RAM 203. do.
  • step S1407 one distributed ledger data with the latest type change date is selected from the distributed ledger data acquired in step S1404 or step S1406 and stored in the RAM 203.
  • step S1408 it is determined whether or not the distributed ledger data selected in step S1407 exists.
  • step S1409 a request is made to acquire the transaction 401.
  • FIG. The distributed ledger ID of the distributed ledger data selected in step S1407, the key information extracted from the access information key in step S1402, or the key information 1002 obtained in step S1401 if it could not be extracted, distributed ledger processing control unit 302. Then, it requests acquisition processing of the transaction 401 .
  • the distributed ledger processing control unit 302 searches the transaction 401 having the value of the key information 1002 in the key 402 from the distributed ledger having the relevant divided ledger ID, and passes it to the distributed ledger management processing control unit 304 if there is a match.
  • the transaction search processing in the distributed ledger processing control unit 302 depends on the blockchain platform used, and the description of the search procedure is omitted in this embodiment.
  • step S1410 it is determined whether or not the transaction 401 acquired in step S1409 exists, and if so, the process proceeds to the next step S1411. If it does not exist, the distributed ledger data selected in step S1407 is deleted from the RAM 203 in order to search for the next distributed ledger, and then the process returns to step S1407.
  • step S1411 the data 403 of the acquired transaction 401 is notified to the PC 101.
  • step S1412 the PC 101 is notified that there is no transaction data that matches the specified key information 1002 and that there is an error.
  • the data 403 is displayed in the registered data 1003.
  • the content of the error is displayed in a standard dialog (not shown) of the OS or web browser.
  • Embodiment 2 in addition to Embodiment 1, an item that can identify the registered distributed ledger is provided to the user. Therefore, transactions can be searched efficiently, and performance can be improved when users use the service.
  • Embodiment 3 In this embodiment, in addition to the above-described Embodiments 1 and 2, an embodiment for managing a plurality of distributed ledger groups 431 will be described. According to the present embodiment, it is possible to manage data corresponding to the retention periods of documents that differ from one another. This embodiment will be described as a difference from the first and second embodiments, and the portions not described here are the same as those in the first or second embodiment.
  • FIG. 15 is a block diagram showing the software configuration of the blockchain device 111 in this embodiment.
  • each processing unit is a control program stored in the ROM 204 of the blockchain device 111 .
  • the distributed ledger data storage unit 1501, the distributed ledger processing control unit 1502, and the communication control unit 1505 are the same as the distributed ledger data storage unit 301, the distributed ledger processing control unit 302, and the communication control unit 305 in FIG. .
  • the difference of this embodiment is that the storage and control of the distributed ledger group information held in the fixed distributed ledger management data storage unit 303 are separated.
  • the distributed ledger management data storage unit 1503 is a storage area that holds information for managing the distributed ledger realized in this embodiment. As with the distributed ledger data storage unit 1501, this is also stored in the HDD 205 in the form of a database, file, or the like.
  • the distributed ledger management processing control unit 1504 is for controlling the processing for managing the distributed ledger using the data of the distributed ledger management data storage unit 1503 described above.
  • the group management data storage unit 1506 is a storage area that holds information for managing distributed ledger groups. This is also stored in the HDD 205 in the form of a database, file, or the like, like the distributed ledger data storage unit 1501 and the distributed ledger temporary data storage unit 1503 .
  • the group management processing control unit 1507 is for controlling the processing for managing the distributed ledger group using the data in the group management data storage unit 1506 described above.
  • FIG. 16 is a diagram showing the data structure of the distributed ledger group management 1601 held by the blockchain device 111.
  • the distributed ledger group management 1601 will be described as including a plurality of distributed ledger groups 431(a) and 431(b) inside.
  • Table 3 is a table that stores information that constitutes the distributed ledger group management 1601, is held in the group management data storage unit 1506 described above, and is manipulated by the group management processing control unit 1507.
  • the distributed ledger group management ID is information that uniquely represents the distributed ledger group management 1601 .
  • the distributed ledger group management name is the name of the distributed ledger group management used to present the distributed ledger group management 1601 to the user.
  • a URL is unique connection destination information for accessing from a user in units of distributed ledger group management.
  • Embodiment 1 presents data for managing one distributed ledger group, it is also possible to manage multiple data with different distributed ledger group management IDs.
  • 4A, 4B, and 4C described in Embodiment 1 also hold information in the form of Tables 4 and 5, in which information is added, in order to perform distributed ledger group management. .
  • Table 4 is a table that stores definition information representing the distributed ledger group 431, is held in the group management data storage unit 1506 described above, and performs data manipulation by the group management processing control unit 1507.
  • a plurality of distributed ledger groups 431 are managed. Therefore, in order to identify each distributed ledger group 431, the distributed ledger group management ID and the distributed ledger group ID are configured as shown in Table 1 of the first embodiment. have in addition. Since the other items are the same as those in Table 1, the description is omitted.
  • the distributed ledger group management ID has one of the distributed ledger group management IDs in Table 3 described above, and indicates which distributed ledger group management it belongs to.
  • the distributed ledger group ID is information that uniquely represents the distributed ledger group 431 .
  • the distributed ledger group 431 can be identified only by the distributed ledger group ID, but uniqueness may be represented by a combination with the above-described distributed ledger group management ID.
  • G-001 is a distributed ledger group whose data valid period is set to 1 year
  • G-002 is a distributed ledger group whose data valid period is set to 3 years.
  • Table 5 is a table that stores information representing the distributed ledger 421 that constitutes the distributed ledger group 431, which is held in the distributed ledger management data storage unit 1503 described above, and data is manipulated by the distributed ledger management processing control unit 1504.
  • a distributed ledger group ID for identifying the distributed ledger section loop to which it belongs in addition to the configuration of Table 2 of the first embodiment. Since the other items have the same meanings as those in Table 2, their description is omitted.
  • the distributed ledger group ID is information that uniquely represents the distributed ledger group 431 to which each distributed ledger 421 belongs.
  • G-001 switches the distributed ledger 421 for each year of the data validity period.
  • DL-001 has passed its data validity period, but since the distributed ledger retention period is two years, it is maintained in a retained state.
  • G-002 is a distributed ledger group with a data validity period of three years
  • one distributed ledger 421 is configured to store data for three years. Three years have not passed since the start of use in 2019 in 2021, so there is no ledger type that has been switched to "reference" yet.
  • G-002 is explained to switch the distributed ledger for each data validity period, but like G-001, the distributed ledger is switched every year and data for 3 years is held. It does not limit
  • a blockchain management screen 1700 in FIG. 17 is an example of a screen for managing the distributed ledger group management 1501, distributed ledger group 431, and distributed ledger 421 of the blockchain device 111 in this embodiment. It also provides a UI and functions for performing various operations of the blockchain device 111 .
  • the blockchain management screen 1700 is configured as a web browser in the same manner as in the first embodiment, and the description of the standard features of the web browser, such as menus and URL displays, will be omitted.
  • a display area 1701 is an area for displaying the components of the management screen. Although not shown, when there are too many display contents to be displayed in the area, vertical and horizontal scroll bars are displayed so that all can be displayed.
  • the distributed ledger group management area 1702 is an area for displaying the data configuration of the distributed ledger group management and the distributed ledger group in Tables 3 and 4 described above in a tree structure. Since the distributed ledger group management of this embodiment is GM-001, the first hierarchy of the tree displays one distributed ledger group management name. Display as multiple distributed ledger group management names. In addition, as the second layer, the name of the distributed ledger group belonging to the distributed ledger group management is displayed. The name of the displayed tree hierarchy can be selected.
  • Input area 1703, distributed ledger group name 1704, data validity period 1705, distributed ledger retention period 1706, usage start date 1707 are input area 602, distributed ledger group name 603, data validity period 604, distributed ledger retention period 605, usage start Same as day 606 . Therefore, the description is omitted.
  • a group management addition button 1708 is a button for creating new distributed ledger group management data. By pressing it at any time, a standard dialog with a text input area and a confirmation button is displayed, and the distributed ledger group management name is entered. By pressing the OK button, group management information is generated by creating the following data in Table 3. ⁇ Distributed ledger group management ID: Automatically issues a unique ID in Table 3 ⁇ Distributed ledger group management name: Character string entered in the text input area ⁇ URL: Automatically issues a unique URL in Table 3
  • the distributed ledger group management name is displayed in the first layer of the distributed ledger group management area 1702.
  • the add group button 1709 is a button for creating new distributed ledger group data.
  • the distributed ledger management group of the first layer When the distributed ledger management group of the first layer is selected in the distributed ledger group management area 1702, it becomes a depressible state. In this state, each input area of the input area 1703 is displayed as a non-input state. By pressing after inputting a desired value in each input area, the distributed ledger group creation process described later with reference to FIG. 18 is started. When the distributed ledger group creation process ends normally, the registered distributed ledger group name is displayed in the second layer of the distributed ledger group management area 1702 .
  • the distributed ledger switching button 1710 is a button for switching the role of the distributed ledger. The processing when this button is pressed is the same as the distributed ledger switching processing flow described in FIG.
  • the distributed ledger delete button 1711 is a button for performing a process of deleting a distributed ledger whose retention period has passed. The processing when this button is pressed is the same as the distributed ledger deletion processing flow described in FIG. 9 of the first embodiment.
  • FIG. 18 is a flowchart showing the process of generating the distributed ledger group 431 of the blockchain device 111 in this embodiment.
  • a procedure for a user to use the distributed ledger group generation process of the blockchain device 111 via the web browser of the PC 101 will be described.
  • the processing of this flowchart does not limit, for example, scheduling and periodic execution by the blockchain device 111 .
  • An add group button 1709 is pressed on the blockchain management screen 1700 .
  • the communication control unit 503 of the PC 101 notifies the communication control unit 1505 of the blockchain device 111 of the group generation processing request.
  • the generation processing request received by the communication control unit 1505 is passed to the group management processing control unit 1507 and executed by the CPU 201 .
  • information input to the blockchain management device 1700 is passed from the PC 101 to the blockchain device 111 .
  • the information to be passed is the distributed ledger group name 1704, the data validity period 1705, the distributed ledger retention period 1706, the usage start date 1707, and the distributed ledger group management ID selected in the distributed ledger group management area 1702.
  • step S1801 the distributed ledger group information in Table 4 that matches the distributed ledger group management ID received from the PC 101 is obtained from the group management data storage unit 1506.
  • step S1802 it is checked whether or not the same name as the distributed ledger group name 1704 received from the PC 101 exists in the distributed ledger group name of the distributed ledger group information acquired in step S1801. If it does not exist, the process proceeds to the next step S1803, and if it exists, the process proceeds to step S1806.
  • step S1803 it is checked whether or not the same validity period value as the data validity period 1705 received from the PC 101 exists in the data validity period of the distributed ledger group information acquired in step S1801. If it does not exist, the process proceeds to the next step S1804, and if it exists, the process proceeds to step S1806.
  • step S1804 the distributed ledger group generation process is performed using the distributed ledger group name 1704, data validity period 1705, distributed ledger retention period 1706, usage start date 1707, and distributed ledger group management ID received from the PC 101. This processing is the same as the processing flow described in FIG. In step S1805, the result of the distributed ledger group generation process in step S1804 is notified to the PC 101 which is the process request source.
  • step S1806 the PC 101 that requested the processing is notified of the failure of the group generation processing. After completing the processing of this flowchart, the PC 101 that has received the notification may display the processing result on the screen.
  • a blockchain access screen 1900 in FIG. 19 is an example of a screen provided by the blockchain device 111 to the user in order to execute registration and acquisition of the transaction 401 .
  • the blockchain access screen 1900 is configured as a web browser, and descriptions of the standard features of the web browser, such as the menus and URL display, will be omitted. To display this screen, enter the URL of the distributed ledger group management information listed in Table 3 in the address field of the web browser.
  • a display area 1901 is an area for displaying the components of the access screen. Although not shown, when there are too many display contents to be displayed in the area, vertical and horizontal scroll bars are displayed so that all can be displayed.
  • Key information 1902 and registration data 1903 are the same as the key information 1002 and registration data 1003 in FIG.
  • the validity period 1904 is the transaction validity period specified at the time of registration, and the distributed ledger group to be stored is determined according to this period.
  • a registration button 1905 is a button that is activated when values are entered in the key information 1902, the registration data 1903, and the validity period 1904. By pressing the registration button 1905, registration processing of the transaction 401, which will be described later with reference to FIG. 20, is executed. .
  • An acquisition button 1906 is a button that is activated when a value is entered in the key information 1902 described above, and executes an acquisition process of a transaction 401, which will be described later with reference to FIG. During this acquisition process, an access information key, which will be described later with reference to FIG.
  • An update button 1907 is a button that is activated when values are displayed in the key information 1902, the registration data 1903, and the validity period 1904. By pressing this button, update processing of the transaction 401, which will be described later with reference to FIG. 22, is executed. .
  • FIG. 20 is a flowchart showing the process of registering the transaction 401 in the distributed ledger 421 in the blockchain device 111 of this embodiment.
  • a description will be given in which the user requests registration of the transaction 401 in the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 .
  • the processing form is not limited.
  • Key information 1902, registration data 1903, and validity period 1904 are entered on the blockchain access screen 1900, and a registration button 1905 is pressed.
  • the communication control unit 503 of the PC 101 notifies the communication control unit 1505 of the blockchain device 111 of the transaction registration processing request.
  • the transaction registration processing request received by the communication control unit 1505 and the input values of the key information 1902, registration data 1903, and validity period 1904 are passed to the group management processing control unit 1507 and executed by the CPU 201.
  • step S2001 the validity period 1904 received from the PC 101 is acquired.
  • step S2002 the target distributed ledger group management ID in Table 3 is acquired from the group management data storage unit 1506 from the URL that received the request. Then, the distributed ledger group information of Table 4 that matches the obtained distributed ledger group management ID is obtained from the group management data storage unit 1506 .
  • step S2003 the data valid period of the distributed ledger group information acquired in step S2002 is compared with the value of the valid period 1904 acquired in step S2001. If there is a matching value, the process proceeds to step S2004, and if there is no matching value, the process proceeds to step S2008.
  • step S2004 the distributed ledger group ID of the distributed ledger group information that matches when compared in step S2003 is acquired.
  • step S2005 the key information 1902 and the registration data 1903 are passed to the distributed ledger group of the distributed ledger group ID acquired in step S2004, and the transaction 401 is registered.
  • This processing is executed by requesting the distributed ledger management processing control unit 1504 from the group management processing control unit 1507, but since it is the same as the transaction registration processing flow described in FIG. 13 of the second embodiment, it will be omitted. After the processing ends, the generated access information key is received.
  • step S2006 group information is added to the access information key received as the processing result of step S2005 to generate a new access information key.
  • New access information key distributed ledger group ID + access information key received in step S2005
  • the access information key in this embodiment includes the following three elements. ⁇ Distributed ledger group ID ⁇ Distributed ledger ID ⁇ Key information 1902
  • This access information key is described in this embodiment by concatenating three pieces of data, but if it is in a format that can be decrypted as in the second embodiment, information processing is performed to hide the access information key information. It may be configured to be
  • step S2007 the access information key generated in step S2006 is notified to the PC 101.
  • step S2008 the PC 101 is notified of an error that the distributed ledger to be registered does not exist.
  • the registration result and error are displayed on the screen of the PC 101. This is done using a standard dialog (not shown) possessed by the OS or web browser, and is explained in this embodiment. omitted.
  • FIG. 21 is a flowchart showing the process of acquiring registration data from a predetermined distributed ledger 421 in the blockchain device 111.
  • the user requests acquisition of the transaction 401 from the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 .
  • the key information 1902 is entered on the blockchain access screen 1900, and the acquire button 1906 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 1505 of the blockchain device 111 of the transaction acquisition processing request. At this time, the PC 101 also transmits the value of the key information 1902 input on the blockchain access screen 1900 .
  • the transaction acquisition processing request received by the communication control unit 1505 and the input value of the key information 1902 are passed to the group management processing control unit 1507 and executed by the CPU 201 .
  • the key information 1902 is the key information 1902 input by the user at the time of registration in step S2001 of FIG. becomes.
  • step S2101 the key information 1902 received from the PC 101 is acquired.
  • step S ⁇ b>2102 the acquired key information 1902 is divided into a distributed ledger group ID of the access information key and an access information key format including the distributed ledger ID and the key information 1002 .
  • step S2103 it is determined whether or not the format of the access information key can be divided. If it can be divided, the process advances to step S2104, and if it cannot be divided, the process advances to step S2106.
  • step S2104 the target distributed ledger group management ID in Table 3 is obtained from the group management data storage unit 1506 from the URL that received the request. Then, the distributed ledger group information of Table 4 that matches the distributed ledger group management ID and the distributed ledger group ID obtained in step S2102 is obtained from the group management data storage unit 1506 and saved in the RAM 203 . In step S2105, it is determined whether distributed ledger group information has been acquired. If it can be acquired, the process proceeds to step S2107, and if it cannot be acquired, the distributed ledger group information stored in the RAM 203 is deleted, and the process proceeds to step S2106.
  • step S2106 the target distributed ledger group management ID in Table 3 is obtained from the group management data storage unit 1506 from the URL that received the request. Then, all distributed ledger group information in Table 4 that matches the distributed ledger group management ID is acquired from the group management data storage unit 1506 and stored in the RAM 203 .
  • step S2107 one item is acquired from the distributed ledger group information acquired in step S2104 or step S2106. Then, in step S2108, it is determined whether one distributed ledger group information has been acquired, and if it can be acquired, the process proceeds to step S2109. move on.
  • step S2109 a distributed ledger group ID is obtained from the distributed ledger group information obtained in step S2107. Then, when the access information key can be divided in step S2102, the transaction search processing is performed using the divided access information key. If it cannot be divided, transaction search processing is performed using one of the key information 1902 received in step S2101 and the distributed ledger group ID. Since this processing is the same as the transaction search processing described in FIG. 14 of the second embodiment, it will be omitted.
  • the transaction 401 of the search result is received.
  • step S2110 it is determined whether the desired transaction 401 was obtained as a result of the search in step S2109. If the transaction 401 can be acquired, the process proceeds to step S2111, and if the transaction 401 cannot be acquired, the process proceeds to step S2107 to search for the next distributed ledger group.
  • step S2111 the data 403 of the acquired transaction 401 is notified to the PC 101.
  • step S2112 the PC 101 is notified that there is no transaction data that matches the designated key information 1902.
  • FIG. 22 is a flowchart showing validity period update processing for a transaction whose validity period has expired in the blockchain device 111 .
  • a description will be given in which the user requests updating of the effective period of the transaction 401 from the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 .
  • the key information 1902 is entered on the blockchain access screen 1900, and the update button 1907 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 1505 of the blockchain device 111 of the transaction valid period update processing request. At this time, the PC 101 also transmits the value of the key information 1902 input on the blockchain access screen 1900 .
  • the transaction valid period update processing request and the input value of the key information 1902 received by the communication control unit 1505 are passed to the group management processing control unit 1507 and executed by the CPU 201 .
  • the key information 1902 is the key information 1902 input by the user at the time of registration in step S2001 of FIG. becomes.
  • step S2201 to step S2210 is the same as the processing from step S2101 to step S2110 in FIG.
  • step S2211 the transaction 401 is re-registered.
  • the key information 402 and registration data 403 of the transaction 401 acquired in step S2209 are passed to the distributed ledger group 431 having the distributed ledger group ID of the distributed ledger group information acquired in step S2207.
  • the transaction 401 is re-registered.
  • This processing is executed by requesting the distributed ledger management processing control unit 1504 from the group management processing control unit 1507, but since it is the same as step S2005 in FIG. 20, the description is omitted in this flowchart.
  • a new transaction is registered in the distributed ledger 421 of the ledger type "registration", and the update process is performed.
  • step S2212 group information is added to the access information key received as the processing result of step S2211 to generate a new access information key. Since this process is also the same as step S2006, the description is omitted.
  • step S2213 the access information key generated in step S2006 is notified to the PC 101.
  • step S2214 the PC 101 is notified of an error in the validity period updating process. After the end of this flowchart, the PC 101 displays the result of update processing and errors on the screen. Description is omitted.
  • Embodiment 3 in addition to Embodiments 1 and 2, a plurality of distributed ledger groups are managed, and information with different validity periods is configured to be centrally managed. , provided to the user. As a result, it becomes possible to apply it to the work of a wide range of users.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention: stores a plurality of blockchain distributed ledgers, including both a registration blockchain distributed ledger that carries out a new transaction registration process and a registered transaction acquisition process, and a reference blockchain distributed ledger that carries out the registered transaction acquisition process but does not carry out the new transaction registration process; and, upon receiving a command to delete a reference blockchain distributed ledger, deletes the reference blockchain distributed ledger.

Description

情報処理装置及びその制御方法Information processing device and its control method
 本発明は、ブロックチェーン技術を利用した文書保存に関する。 The present invention relates to document storage using blockchain technology.
 公文書や経営文書など、国や企業などではそれぞれにとって重要な文書を保持しているが、その重要な文書に対しての改ざんが問題になっており、文書を改ざんできない、もしくは改ざんを検知できる仕組みが必要となっている。そのため、電子化した文書ファイルのハッシュ値を用いて電子文書ファイルへの改ざん有無を判定することが知られている。また、国や企業が保持しているこれらの文書は、保有しておく期間が決められており、保有期間を超えた文書は破棄されるように運用される。 Countries and companies have documents that are important to them, such as official documents and management documents, but falsification of these important documents has become a problem. A mechanism is needed. Therefore, it is known to determine whether or not an electronic document file has been tampered with using a hash value of the electronic document file. In addition, the holding period of these documents held by the government or companies is determined, and the documents are discarded after the holding period has expired.
 一方、対改ざん性は高いブロックチェーン技術が知られている。 On the other hand, blockchain technology is known to be highly resistant to tampering.
 特開2020-178240号公報を参照。 See JP-A-2020-178240.
特開2020-178240号公報Japanese Patent Application Laid-Open No. 2020-178240
 ブロックチェーン技術は、格納したデータを数珠繋ぎ状態にして管理するため、一旦格納されたデータを削除することができない。従って、保存文書に対して、単純に、ブロックチェーン技術を適用した場合、将来、保存文書を破棄することはできず、結果として、ブロックチェーンデータの格納領域は肥大化し続けてしまい、運用を行う上での管理コストも増大となる。 Blockchain technology manages stored data in a chained state, so once stored data cannot be deleted. Therefore, if blockchain technology is simply applied to stored documents, stored documents cannot be discarded in the future. Management costs will also increase.
 本発明は、ブロックチェーン技術を用いて保存された文書を破棄可能にすることによって、ブロックチェーンデータ領域の肥大化を抑制する技術を提供することを目的とする。 The purpose of the present invention is to provide a technology that suppresses the bloating of the blockchain data area by making it possible to discard documents saved using blockchain technology.
 本発明における情報処理装置は、新規トランザクション登録処理と登録済みトランザクション取得処理を行う登録ブロックチェーン分散台帳と、新規トランザクション登録処理は行わず、登録済みトランザクション取得処理を行う参照ブロックチェーン分散台帳とを含む複数のブロックチェーン分散台帳を記憶する記憶手段と、
 参照ブロックチェーン分散台帳を削除する指示を受けて、前記参照ブロックチェーン分散台帳を削除する削除手段を有することを特徴とする情報処理装置を有することを特徴とする。
The information processing apparatus in the present invention includes a registered blockchain distributed ledger that performs new transaction registration processing and registered transaction acquisition processing, and a reference blockchain distributed ledger that does not perform new transaction registration processing but performs registered transaction acquisition processing. a storage means for storing a plurality of blockchain distributed ledgers;
The information processing apparatus is characterized by comprising deletion means for deleting the reference blockchain distributed ledger in response to an instruction to delete the reference blockchain distributed ledger.
 ブロックチェーン技術を用いて保存された文書を破棄可能にすることによって、ブロックチェーンデータ領域の肥大化を抑制する技術を提供できる。 By making it possible to destroy documents stored using blockchain technology, we can provide technology that suppresses the bloating of the blockchain data area.
実施形態に係るシステム構成図System configuration diagram according to the embodiment 実施形態に係るブロックチェーン装置およびクライアントPCのハードウェア構成図Hardware configuration diagram of a blockchain device and a client PC according to an embodiment 実施形態に係るブロックチェーン装置の機能構成図Functional configuration diagram of a blockchain device according to an embodiment 実施形態に係るトランザクションの構造図Structure diagram of transaction according to the embodiment 実施形態に係る分散台帳の構造図Structural diagram of the distributed ledger according to the embodiment 実施形態に係る分散台帳グループの構造図Structural diagram of the distributed ledger group according to the embodiment 実施形態に係るクライアントPCの機能構成図Functional configuration diagram of a client PC according to the embodiment 実施形態1および2に係る分散台帳グループ管理画面構成図Distributed ledger group management screen configuration diagram according to the first and second embodiments 実施形態1および2に係る分散台帳グループを生成するフローチャートFlowchart for generating a distributed ledger group according to the first and second embodiments 実施形態に係る分散台帳を切り替えるフローチャートFlowchart for switching distributed ledgers according to the embodiment 実施形態に係る分散台帳を削除するフローチャートFlowchart for deleting a distributed ledger according to an embodiment 実施形態1および2に係るトランザクション操作画面構成図Transaction operation screen configuration diagram according to the first and second embodiments 実施形態1に係るトランザクションを登録するフローチャートFlowchart for registering a transaction according to the first embodiment 実施形態1に係るトランザクションを取得するフローチャートFlowchart for Acquiring Transactions According to Embodiment 1 実施形態2に係るトランザクションを登録するフローチャートFlowchart for registering a transaction according to the second embodiment 実施形態2に係るトランザクションを取得するフローチャートFlowchart for Acquiring Transactions According to Embodiment 2 実施形態3に係るブロックチェーン装置の機能構成図Functional configuration diagram of a blockchain device according to Embodiment 3 実施形態3に係る分散台帳グループ管理の構造図Structural diagram of distributed ledger group management according to the third embodiment 実施形態3に係る分散台帳グループ管理画面構成図Distributed ledger group management screen configuration diagram according to the third embodiment 実施形態3に係る分散台帳グループを追加するフローチャートFlowchart for adding a distributed ledger group according to the third embodiment 実施形態3に係るトランザクション操作画面構成図Transaction operation screen configuration diagram according to the third embodiment 実施形態3に係るトランザクションを登録するフローチャートFlowchart for registering a transaction according to the third embodiment 実施形態3に係るトランザクションを取得するフローチャートFlowchart for Acquiring Transactions According to Embodiment 3 実施形態3に係るトランザクションを更新するフローチャートFlowchart for updating a transaction according to the third embodiment 実施形態に係る分散台帳グループDistributed ledger group according to the embodiment
 以下、本発明を実施するための形態について図面を用いて説明する。 A mode for carrying out the present invention will be described below with reference to the drawings.
 <実施形態1>
 図1は、ブロックチェーン装置111と関連するシステムの全体図である。本実施形態では、PC101がLAN100に接続されイントラネット内に存在し、インターネット110を介して、ブロックチェーン装置111と通信をおこなう。PC101はウェブブラウザを利用してブロックチェーン装置111の機能を利用するために利用される。本実施形態では機能の説明を行うために1台で構成しているが、複数のPC101がLAN100経由でブロックチェーン装置111に接続することを制限するものではない。ここでは、ブロックチェーン装置111、PC101として説明するが、いずれも、情報処理装置である。
<Embodiment 1>
FIG. 1 is an overview of a blockchain device 111 and related systems. In this embodiment, the PC 101 is connected to the LAN 100 and exists within the intranet, and communicates with the blockchain device 111 via the Internet 110 . The PC 101 is used to use the functions of the blockchain device 111 using a web browser. In the present embodiment, one PC 101 is used to explain the functions, but it is not intended to limit the connection of a plurality of PCs 101 to the blockchain device 111 via the LAN 100 . Although the block chain device 111 and the PC 101 are described here, both are information processing devices.
 ブロックチェーン装置111は、PC101が生成した情報をトランザクションとして受理し、ブロックにまとめて管理することで耐改ざん性の高いブロックチェーン方式で情報を管理するための装置である。このブロックチェーン装置111は複数台で構成することもできるものとする。本実施形態においてはイントラネットのLAN100とインターネット110を分けて構成したが、すべての機器が直接インターネットに接続する形態、もしくはLAN100に接続する形態を制限するものではない。 The blockchain device 111 is a device that receives information generated by the PC 101 as a transaction and collectively manages it in blocks, thereby managing information using a highly tamper-resistant blockchain method. It is assumed that this block chain device 111 can also be configured by a plurality of units. In this embodiment, the LAN 100 of the intranet and the Internet 110 are configured separately, but the configuration in which all the devices are directly connected to the Internet or the configuration in which they are connected to the LAN 100 is not limited.
 図2は、PC101、ブロックチェーン装置111のコンピューターのハードウェア構成を示したブロック図である。 FIG. 2 is a block diagram showing the computer hardware configuration of the PC 101 and the blockchain device 111.
 Central Processing Unit(以降CPU)202は装置全体の制御を行う。CPU202はハードディスク(以降HDD)205に格納されているアプリケーションプログラムやOS等を実行する。また、Randam Access Memory(以降RAM)203にプログラムの実行に必要な情報、ファイル等を一時的に格納する制御を行う。Read Only Memory(以降ROM)204は記憶手段(記憶部)であり、内部には基本I/Oプログラム等の各種データを記憶する。RAM203は一時記憶手段であり、CPU202の主メモリ、ワークエリア等として機能する。HDD205は外部記憶手段の一つであり、大容量メモリとして機能し、オフィスアプリケーションやWebブラウザー等のアプリケーションプログラム、OS、関連プログラム等を格納している。ディスプレイ206は表示手段であり、指示入力手段であるキーボード/マウス207から入力したコマンド等を表示したりするものである。インターフェース208は外部装置I/Fであり、プリンタ、USB機器、周辺機器を接続する。システムバス201は、装置内におけるデータの流れを司るものである。ネットワークインターフェースカード(以降NIC)209は、LAN100を介して外部装置とのデータのやり取りを行う。なお、上記コンピューターの構成はその一例であり、図2の構成例に限定されるものではない。例えば、データやプログラムの格納先は、その特徴に応じてROM204、RAM203、HDD205などで変更することも可能である。本実施形態中で特に明記しない場合は、各種処理はROM204等に記憶されているプログラムをRAM203等にロードし、CPU202で実行することによって実現されるものとする。 A Central Processing Unit (hereafter referred to as CPU) 202 controls the entire apparatus. A CPU 202 executes application programs, an OS, and the like stored in a hard disk (hereinafter referred to as HDD) 205 . It also controls the temporary storage of information, files, etc. necessary for program execution in the Random Access Memory (RAM) 203 . A Read Only Memory (hereinafter referred to as ROM) 204 is storage means (storage unit), and stores various data such as basic I/O programs therein. A RAM 203 is temporary storage means, and functions as a main memory, a work area, and the like for the CPU 202 . The HDD 205 is one of external storage means, functions as a large-capacity memory, and stores application programs such as office applications and web browsers, an OS, related programs, and the like. A display 206 is display means, and displays commands and the like input from a keyboard/mouse 207 as instruction input means. An interface 208 is an external device I/F, and connects printers, USB devices, and peripheral devices. A system bus 201 governs the flow of data within the device. A network interface card (hereinafter referred to as NIC) 209 exchanges data with external devices via the LAN 100 . Note that the configuration of the computer described above is an example, and is not limited to the configuration example shown in FIG. For example, the storage locations of data and programs can be changed to the ROM 204, RAM 203, HDD 205, etc., according to their characteristics. Unless otherwise specified in this embodiment, various processes are implemented by loading programs stored in the ROM 204 or the like into the RAM 203 or the like and executing the programs by the CPU 202 .
 図3は、ブロックチェーン装置111における本発明に関連するソフトウェア構成について示したブロック図である。特に断りのない限り、各処理部はブロックチェーン装置111のROM204に記憶された制御プログラムである。 FIG. 3 is a block diagram showing the software configuration related to the present invention in the blockchain device 111. Unless otherwise specified, each processing unit is a control program stored in the ROM 204 of the blockchain device 111 .
 分散台帳データ保存部301は、後に図4A、図4B、図4Cで示す分散台帳に関するデータを保存するための記憶領域である。これはHDD205にデータベースやファイルなどの形式で保存する。分散台帳処理制御部302は、前述の分散台帳データ保存部301のデータを使用して分散台帳処理を制御するためのものであり、ブロックチェーンの機能を実現する。 The distributed ledger data storage unit 301 is a storage area for storing data related to the distributed ledger shown later in FIGS. 4A, 4B, and 4C. This is stored in the HDD 205 in the form of a database, file, or the like. The distributed ledger processing control unit 302 is for controlling distributed ledger processing using the data in the distributed ledger data storage unit 301 described above, and implements the functions of the blockchain.
 分散台帳管理データ保存部303は、本実施形態で実現する分散台帳の管理のための情報を保持する記憶領域である。これも分散台帳データ保存部301と同様にHDD205にデータベースやファイルなどの形式で保存する。 The distributed ledger management data storage unit 303 is a storage area that holds information for managing the distributed ledger realized in this embodiment. As with the distributed ledger data storage unit 301, this is also stored in the HDD 205 in the form of a database, file, or the like.
 分散台帳管理処理制御部304は、前述の分散台帳管理データ保存部303のデータを使用して分散台帳の管理処理を制御するためのものである。通信制御部305は、外部機器であるPC101のウェブブラウザから送信される処理リクエストをインターネット110経由で受理。そして、分散台帳管理処理制御部304の所定の処理を起動し、処理結果をリクエスト元のPC101に返信することを行う、他ネットワーク機器との窓口となるものである。 The distributed ledger management processing control unit 304 is for controlling the management processing of the distributed ledger using the data in the distributed ledger management data storage unit 303 described above. A communication control unit 305 receives a processing request via the Internet 110 transmitted from a web browser of the PC 101 which is an external device. Then, it activates a predetermined process of the distributed ledger management processing control unit 304 and returns the processing result to the request source PC 101, and serves as a contact point with other network devices.
 図4A、図4B、図4Cは、ブロックチェーン装置111で保持するデータ単位であるトランザクション401、ブロック411、分散台帳421、分散台帳グループ431のデータ構造について示したブロック図である。ブロックチェーン装置111は、ブロックチェーンと呼ばれる方式でデータを管理する装置である。このブロックチェーン方式では、情報を図4Aに示すトランザクション401という単位で取り扱う。トランザクションは、トランザクションを一意に表すキー402と保存しておくキー402に紐づくデータ403とで構成される。トランザクション401に保持可能なデータ形式は、利用する側で定義することができるため、キー402の形式やデータ403の構成は特に制限をするものではない。このトランザクション401を管理するための構造として、図4Bに示すブロック411と分散台帳421を形成する。 4A, 4B, and 4C are block diagrams showing the data structures of transactions 401, blocks 411, distributed ledgers 421, and distributed ledger groups 431, which are data units held by the blockchain device 111. FIG. The blockchain device 111 is a device that manages data using a method called blockchain. In this blockchain system, information is handled in units of transactions 401 shown in FIG. 4A. A transaction consists of a key 402 that uniquely represents the transaction and data 403 linked to the stored key 402 . Since the data format that can be held in the transaction 401 can be defined by the user, the format of the key 402 and the configuration of the data 403 are not particularly limited. As a structure for managing this transaction 401, a block 411 and a distributed ledger 421 shown in FIG. 4B are formed.
 ブロック411は複数のトランザクション401(本実施形態では5つ)とブロックの管理データである分散台帳ID412とブロックハッシュ値413、前ブロックハッシュ値414とで構成する。本図においては、ブロック411と同様の構成を持つブロック415とブロック416が用いてブロック間の関係を説明する。分散台帳ID412は、ブロック411が所属する分散台帳421を一位に定める値である。ブロックハッシュ値413は、ブロックに含むトランザクションが確定した際にトランザクションすべてを使用して作成するハッシュ値である。本図においては、トランザクション401(a)やトランザクション401(b)の5つのトランザクションから算出したハッシュ値を格納する。この値を保持することにより、ブロック411内のトランザクション401の内容が改ざん検知を行うことができる。前ブロックハッシュ値414は、自ブロックの前に確定したブロック411のブロックハッシュ値413を保持する。 A block 411 consists of a plurality of transactions 401 (five in this embodiment), a distributed ledger ID 412 that is block management data, a block hash value 413, and a previous block hash value 414. In this figure, blocks 415 and 416 having the same configuration as block 411 are used to explain the relationship between the blocks. The distributed ledger ID 412 is a value that first determines the distributed ledger 421 to which the block 411 belongs. The block hash value 413 is a hash value created using all transactions when the transactions included in the block are confirmed. In this figure, hash values calculated from five transactions, transaction 401(a) and transaction 401(b), are stored. By holding this value, the content of the transaction 401 in the block 411 can be detected to be tampered with. The previous block hash value 414 holds the block hash value 413 of the block 411 determined before its own block.
 本実施形態では、ブロック411は分散台帳の最初に登録されるブロックであるため、前ブロックハッシュ値414はNULL(値なし)を設定する。ブロック415はブロック411のブロックハッシュ値413を、ブロック415における前ブロックハッシュ値に持つ。また、ブロック416はブロック415のブロックハッシュ値413を、ブロック416における前ブロックハッシュ値に持つ。これにより、ブロック411、ブロック415、ブロック416の順にブロックがつながることになり、一部のブロックへの改ざん行為に対してすべてのブロックに対する整合性を保つための処理が必要となるため、耐改ざん性の強度を持つ構成となる。 In this embodiment, the block 411 is the first block registered in the distributed ledger, so the previous block hash value 414 is set to NULL (no value). Block 415 has the block hash value 413 of block 411 as the previous block hash value in block 415 . Block 416 also has block hash value 413 of block 415 as the previous block hash value in block 416 . As a result, blocks 411, 415, and 416 are connected in the order of block 411, block 415, and block 416, and processing is required to maintain consistency for all blocks against tampering of some blocks. It becomes a configuration with the strength of nature.
 本実施形態では、図4Cで示すように、この分散台帳421を複数管理する単位として、分散台帳グループ431を持つ。この分散台帳グループ431は分散台帳421(a)から分散台帳421(c)の複数の分散台帳を生成順に連結した構成で管理するものである。そのために、分散台帳421の先頭ブロック411の先頭にあたる前述のトランザクション401(a)の位置には分散台帳421を連結するための情報を保持するように構成する。具体的には、分散台帳グループ431の先頭の分散台帳421(a)の先頭のトランザクション432(a)は、分散台帳グループの最初の分散台帳421であるため、次の値を持つトランザクション401を登録する。
 ・キー402:RELATED_DATA(固定)
 ・データ403:NULL(値なし)
In this embodiment, as shown in FIG. 4C, a distributed ledger group 431 is provided as a unit for managing a plurality of distributed ledgers 421 . The distributed ledger group 431 manages a plurality of distributed ledgers from the distributed ledger 421(a) to the distributed ledger 421(c) in the order of creation. For this reason, information for connecting the distributed ledger 421 is held at the position of the above-described transaction 401 (a), which is the head of the leading block 411 of the distributed ledger 421 . Specifically, since the top transaction 432(a) of the top distributed ledger 421(a) of the distributed ledger group 431 is the first distributed ledger 421 of the distributed ledger group, the transaction 401 with the following value is registered: do.
・Key 402: RELATED_DATA (fixed)
・Data 403: NULL (no value)
 分散台帳421(b)は分散台帳421(a)の後に続く分散台帳であり、先頭のトランザクション432(b)には、次の値を保持するトランザクション401を生成し、ブロックに登録する。
 ・キー402:RELATED_DATA(固定)
 ・データ403:前の分散台帳421(a)に記録された最後のブロック411が保持するブロックハッシュ値413
The distributed ledger 421(b) is a distributed ledger that follows the distributed ledger 421(a), and for the first transaction 432(b), a transaction 401 holding the next value is generated and registered in the block.
・Key 402: RELATED_DATA (fixed)
Data 403: Block hash value 413 held by the last block 411 recorded in the previous distributed ledger 421(a)
 同様に分散台帳421(c)には、分散台帳421(b)の最後のブロック411が保持するブロックハッシュ値413をトランザクション432(c)として登録する。これにより、分散台帳421をつなげた分散台帳グループ431を形成する。この分散台帳グループ431を管理するために、表1および表2の形式で情報を分散台帳管理データ保存部303で保持する。 Similarly, in the distributed ledger 421(c), the block hash value 413 held by the last block 411 of the distributed ledger 421(b) is registered as a transaction 432(c). As a result, a distributed ledger group 431 connecting the distributed ledgers 421 is formed. In order to manage this distributed ledger group 431, the distributed ledger management data storage unit 303 holds information in the formats of Tables 1 and 2.
Figure JPOXMLDOC01-appb-T000001
Figure JPOXMLDOC01-appb-T000001
 表1は、分散台帳グループ自体を表す定義情報を格納するテーブルである。分散台帳グループ名は、分散台帳グループ431を利用者に提示する分散台帳グループの名称である。この情報は画面などに表示するために使用する。データ有効期間は、分散台帳グループ431に登録したトランザクションデータ401を有効と判断する期間を示す情報である。この期間を過ぎたトランザクションデータ401は存在しないもの、もしくは無効なものとして扱う。分散台帳保存期間は、分散台帳グループ431に属する分散台帳421を所持する期間を示す情報である。この分散台帳保存期間に設定可能な値は、データ有効期間と同じ値もしくはそれよりも大きな値とする。前述のデータ有効期間によるトランザクション401の有効かどうかの判断を機能させるため、短くなることはない。本実施形態におけるデータ有効期間および分散台帳保存期間に使用する単位を「年」として説明を行うが、その他の単位として「月」もしくは「日」などをとることを制限するものではない。URLは、分散台帳グループへのアクセスに使用する分散台帳グループを一意に表す情報である。 Table 1 is a table that stores definition information representing the distributed ledger group itself. The distributed ledger group name is the name of the distributed ledger group that presents the distributed ledger group 431 to the user. This information is used for display on the screen or the like. The data validity period is information indicating a period during which the transaction data 401 registered in the distributed ledger group 431 is determined to be valid. Transaction data 401 that has passed this period is treated as non-existent or invalid. The distributed ledger retention period is information indicating the period during which the distributed ledger 421 belonging to the distributed ledger group 431 is held. The value that can be set for this distributed ledger retention period is the same value as the data valid period or a larger value than it. Since the valid period of the transaction 401 is determined based on the valid period of data described above, it will not be shortened. Although the unit used for the data validity period and the distributed ledger retention period in this embodiment will be described as "years", other units such as "months" or "days" are not limited. A URL is information that uniquely represents a distributed ledger group used to access the distributed ledger group.
Figure JPOXMLDOC01-appb-T000002
Figure JPOXMLDOC01-appb-T000002
 表2は、分散台帳グループ431を構成する分散台帳421を表す情報を格納するテーブルである。 Table 2 is a table that stores information representing the distributed ledger 421 that constitutes the distributed ledger group 431.
 分散台帳IDは、分散台帳421を一意に表す情報である。本実施形態では、分散台帳421の生成時に発行し、構成する各ブロック411の分散台帳ID412に設定する。 The distributed ledger ID is information that uniquely represents the distributed ledger 421. In this embodiment, it is issued when the distributed ledger 421 is generated, and is set to the distributed ledger ID 412 of each block 411 that constitutes it.
 台帳タイプは、構成する分散台帳421の役割を表す情報である。本実施形態では、「準備」「登録」「参照」3つのタイプを使用する。本実施形態においては分散台帳421を以下のように運用する。まず、分散台帳421を生成した際に台帳タイプを「準備」として情報を登録する。次に、使用するための準備が整うと「登録」タイプに変わって新規トランザクション401を登録する分散台帳421(登録ブロックチェーン分散台帳)となる。「登録」タイプの分散台帳は、図8で後述する分散台帳切替処理により「参照」タイプに変わり、所有するトランザクション情報を提供するのみの分散台帳421(参照ブロックチェーン分散台帳)となる。利用開始日は、各分散台帳が利用開始となる日を表す情報である。タイプ変更日は、台帳タイプを変更した日を表す情報である。URLは、分散台帳へアクセスする際に使用する分散台帳を一意に表す情報である。尚、登録ブロックチェーン分散台帳は、新規トランザクション登録処理と登録済みトランザクション取得処理を行うことが可能である。また、参照ブロックチェーン分散台帳は、新規トランザクション登録は行わず、登録済みトランザクション取得処理を行う。本実施形態では、参照ブロックチェーン分散台帳の最終ブロックのハッシュ値が、前記ブロックチェーン分散台帳とは異なるブロックチェーン分散台帳の最初のトランザクションとして登録されている。 The ledger type is information representing the role of the constituent distributed ledger 421. In this embodiment, three types of "preparation", "registration", and "reference" are used. In this embodiment, the distributed ledger 421 is operated as follows. First, when the distributed ledger 421 is generated, information is registered with the ledger type as “preparation”. It then becomes a distributed ledger 421 (Registered Blockchain Distributed Ledger) that registers new transactions 401 by changing to a "registration" type when ready for use. The “registration” type distributed ledger changes to the “reference” type by the distributed ledger switching process described later in FIG. 8, and becomes the distributed ledger 421 (reference blockchain distributed ledger) that only provides owned transaction information. The usage start date is information representing the date when each distributed ledger is to be used. The type change date is information representing the date when the ledger type was changed. A URL is information that uniquely represents a distributed ledger used when accessing the distributed ledger. The registered blockchain distributed ledger can perform new transaction registration processing and registered transaction acquisition processing. In addition, the reference blockchain distributed ledger does not register new transactions, but performs registered transaction acquisition processing. In this embodiment, the hash value of the last block of the reference blockchain distributed ledger is registered as the first transaction of a blockchain distributed ledger different from the blockchain distributed ledger.
 図5は、ブロックチェーン装置111にアクセスするPC101の機能構成について示したブロック図である。特に断りのない限り、各処理部はPC101のROM204に記憶された制御プログラムである。トランザクションデータ保存部501は、ブロックチェーン装置111へのアクセスで得たトランザクションデータの格納領域である。これはHDD205にデータベースやファイルなどの形式で保存する。ブロックチェーンアクセス制御部502は、ブロックチェーン装置111へアクセスするための処理を行う。本実施形態ではブロックチェーン装置111はウェブブラウザを介してアクセスをする形式をとるため、ウェブブラウザの制御や表示、データ通信の機能を保持し、後述の通信制御部503を介してブロックチェーン装置111へ接続する。通信制御部503は、LAN100に接続してインターネット110を経由してブロックチェーン装置111との通信を制御する。 FIG. 5 is a block diagram showing the functional configuration of the PC 101 that accesses the blockchain device 111. Each processing unit is a control program stored in the ROM 204 of the PC 101 unless otherwise specified. The transaction data storage unit 501 is a storage area for transaction data obtained by accessing the blockchain device 111 . This is stored in the HDD 205 in the form of a database, file, or the like. The blockchain access control unit 502 performs processing for accessing the blockchain device 111 . In this embodiment, since the blockchain device 111 is accessed via a web browser, it retains the functions of web browser control, display, and data communication, and accesses the blockchain device 111 via a communication control unit 503, which will be described later. connect to. The communication control unit 503 connects to the LAN 100 and controls communication with the blockchain device 111 via the Internet 110 .
 図6のブロックチェーン管理画面600は、ブロックチェーン装置111の分散台帳グループ431や分散台帳421を管理するための画面例であり、ブロックチェーン装置111の各種作業を行うためのUIおよび機能を提供する。 A blockchain management screen 600 in FIG. 6 is an example of a screen for managing the distributed ledger group 431 and distributed ledger 421 of the blockchain device 111, and provides UI and functions for performing various operations of the blockchain device 111. .
 ブロックチェーン管理画面600は、ウェブブラウザとして構成されており、ウェブブラウザが持つメニューやURLの表示など標準で備わっているものに関しては説明を省略する。表示領域601は、管理画面の構成要素を表示する領域である。図示していないが、表示内容が多く領域に表示しきれない場合には上下左右のスクロールバーが表示され、すべてを表示することができるものとする。入力領域602は、ブロックチェーン装置111の設定情報を表示/入力する領域であり、本実施形態では分散台帳グループ名603、データ有効期間604、分散台帳保存期間605、利用開始日606で構成する。分散台帳グループ名603は、前述の表1の分散台帳グループ名の情報を指定、表示する領域である。データ有効期間604は、前述の表1のデータ有効期間の情報を指定、表示する領域である。本実施形態では設定できる期間の単位を年とする。分散台帳保存期間605は、前述の表1の分散台帳保存期限の情報を指定、表示する領域である。本実施形態では設定できる期間の単位を年とする。利用開始日606は、作成する分散台帳グループの利用開始日を指定、表示する領域である。本画面は、表示時にブロックチェーンアクセス制御部502から通信制御部503を介して、ブロックチェーン装置111の通信制御部305へ分散台帳グループ情報の取得を依頼する。依頼を受けた通信制御部305は分散台帳管理処理制御部304に対して分散台帳グループ情報の取得を指示する。分散台帳管理処理制御部304では分散台帳管理データ保存部303に保持する表1のデータを取得し、通信制御部305を経由して、提供する。情報を受け取った本画面はその内容を入力領域602の各要素に表示する。 The blockchain management screen 600 is configured as a web browser, and descriptions of the standard features of the web browser, such as the menus and URL display, will be omitted. A display area 601 is an area for displaying the components of the management screen. Although not shown, when there are too many display contents to be displayed in the area, vertical and horizontal scroll bars are displayed so that all can be displayed. The input area 602 is an area for displaying/inputting setting information of the blockchain device 111, and in this embodiment, it consists of a distributed ledger group name 603, a data validity period 604, a distributed ledger retention period 605, and a usage start date 606. The distributed ledger group name 603 is an area for designating and displaying information on the distributed ledger group name in Table 1 described above. A data validity period 604 is an area for designating and displaying information on the data validity period of Table 1 described above. In this embodiment, the unit of the period that can be set is assumed to be a year. The distributed ledger retention period 605 is an area for designating and displaying information on the distributed ledger retention period in Table 1 described above. In this embodiment, the unit of the period that can be set is assumed to be a year. The usage start date 606 is an area for specifying and displaying the usage start date of the distributed ledger group to be created. When this screen is displayed, the blockchain access control unit 502 requests the communication control unit 305 of the blockchain device 111 to acquire the distributed ledger group information via the communication control unit 503 . Upon receiving the request, the communication control unit 305 instructs the distributed ledger management processing control unit 304 to acquire the distributed ledger group information. The distributed ledger management processing control unit 304 acquires the data of Table 1 held in the distributed ledger management data storage unit 303 and provides the data via the communication control unit 305 . This screen that has received the information displays the content in each element of the input area 602 .
 グループ生成ボタン607は、分散台帳グループを新規に生成するための処理を行うためのボタンであり、押下することにより後述の図7のフローチャートを実行する。本ボタンは、前述の表示時にデータを受け取れなかった場合のみ押下可能な状態となる。 A group creation button 607 is a button for performing processing for creating a new distributed ledger group, and when pressed, the flowchart in FIG. 7 described later is executed. This button can be pressed only when data cannot be received at the time of the display described above.
 分散台帳切替ボタン608は、分散台帳の役割を切り替えるための処理を行うためのボタンであり、押下することにより後述の図8のフローチャートを実行する。分散台帳削除ボタン609は、保存期間を過ぎた分散台帳の削除処理を行うためのボタンであり、押下することにより後述の図9のフローチャートを実行する。 The distributed ledger switching button 608 is a button for performing processing for switching the role of the distributed ledger, and when pressed, the flowchart in FIG. 8 described later is executed. A distributed ledger delete button 609 is a button for performing a process of deleting a distributed ledger whose retention period has passed.
 図7は、ブロックチェーン装置111において分散台帳グループ431を生成する処理を示したフローチャートである。 FIG. 7 is a flowchart showing the process of generating the distributed ledger group 431 in the blockchain device 111.
 本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111の分散台帳グループ生成処理を利用する手順を説明する。しかし、本フローチャートの処理は、例えばブロックチェーン装置111でスケジュールして定期実行するなどを制限するものではない。本フローチャートは、ブロックチェーン管理画面600でグループ生成ボタン607が押下されたことにより、PC101の通信制御部503からブロックチェーン装置111の通信制御部305に向けて生成処理依頼を通知する。通信制御部305で受信した生成処理依頼は、分散台帳管理処理制御部304に渡され、CPU201で実行される。その際、ブロックチェーン管理画面600に入力された分散台帳グループ名603、データ有効期間604、分散台帳保存期間605、利用開始日606の値がPC101からブロックチェーン装置111へ渡される。 In this embodiment, a procedure for the user to use the distributed ledger group generation process of the blockchain device 111 via the web browser of the PC 101 will be described. However, the processing of this flowchart does not limit, for example, scheduling and periodic execution by the blockchain device 111 . In this flowchart, when the group generation button 607 is pressed on the blockchain management screen 600, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of a generation processing request. The generation processing request received by the communication control unit 305 is passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 . At that time, the values of the distributed ledger group name 603, the data valid period 604, the distributed ledger retention period 605, and the usage start date 606 input to the blockchain management screen 600 are passed from the PC 101 to the blockchain device 111.
 ステップS701では、PC101から受信した分散台帳グループ名603、データ有効期間604、分散台帳保存期間605を、表1の形式で分散台帳管理データ保存部303に格納し、分散台帳グループ431を生成する。ステップS702では、生成した分散台帳グループ431に登録する分散台帳421を生成し、表2の分散台帳情報として以下の情報を設定する。
 ・分散台帳ID:分散台帳421の生成時に設定された分散台帳ID412
 ・台帳タイプ:「準備」
 ・利用開始日:利用開始日606の値
 ・タイプ変更日:設定日
 ・URL:分散台帳へのアクセスURL
In step S701, the distributed ledger group name 603, the data validity period 604, and the distributed ledger retention period 605 received from the PC 101 are stored in the distributed ledger management data storage unit 303 in the format shown in Table 1, and the distributed ledger group 431 is generated. In step S702, the distributed ledger 421 to be registered in the generated distributed ledger group 431 is generated, and the following information is set as the distributed ledger information in Table 2.
・Distributed ledger ID: distributed ledger ID 412 set when generating distributed ledger 421
・Ledger type: “Preparation”
・Usage start date: Value of usage start date 606 ・Type change date: Setting date ・URL: Access URL to distributed ledger
 なお、ブロックチェーンにおける分散台帳そのものの生成については、利用するプラットフォームに依存するものであり、本実施形態としてはその生成手順については説明を省略する。 It should be noted that the generation of the distributed ledger itself in the blockchain depends on the platform used, and the description of the generation procedure is omitted in this embodiment.
 ステップS703では、生成した分散台帳421に対して、図4Cでも説明した、以下のトランザクションを登録する。
 ・キー402:RELATED_DATA(固定)
 ・データ403:NULL(値なし)
In step S703, the following transactions described in FIG. 4C are registered in the generated distributed ledger 421.
・Key 402: RELATED_DATA (fixed)
・Data 403: NULL (no value)
 ステップS704では、分散管理台帳を使える状態ができたため、分散台帳定義の以下の情報を変更する。
 ・台帳タイプ:「登録」
 ・タイプ変更日:設定日
In step S704, since the distributed management ledger can be used, the following information of the distributed ledger definition is changed.
・Ledger type: “Registration”
・Type change date: Set date
 このフローチャートの処理を終了後、処理依頼元であるPC101に対して結果を通知する。通知を受けたPC101では処理結果を画面上に表示することを行う。 After completing the processing of this flowchart, the result is notified to the PC 101 that requested the processing. The PC 101 that has received the notification displays the processing result on the screen.
 図8は、ブロックチェーン装置111において分散台帳421を新たに生成し、既存の登録分散台帳を参照分散台帳に切り替える処理を示したフローチャートである。 FIG. 8 is a flowchart showing the process of newly generating the distributed ledger 421 in the blockchain device 111 and switching the existing registered distributed ledger to the reference distributed ledger.
 本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111の分散台帳切替処理を利用するケースを説明する。本フローチャートの処理は、例えばブロックチェーン装置111で表1の分散台帳グループ定義情報のデータ有効期間情報に合わせて定期的に自動実行するといった形態でも実現可能である。この場合には、台帳タイプが「登録」となっている分散台帳情報の利用開始日に分散台帳グループ定義情報のデータ有効期間を加算した日付にスケジュールするなどが考えられる。本フローチャートは、ブロックチェーン管理画面600で分散台帳切替ボタン608が押下されたことにより、PC101の通信制御部503からブロックチェーン装置111の通信制御部305に向けて分散台帳切替処理依頼を通知する。通信制御部305で受信した分散台帳切替処理依頼は、分散台帳管理処理制御部304に渡され、CPU201で実行される。 In this embodiment, a case will be described in which the user uses the distributed ledger switching process of the blockchain device 111 via the web browser of the PC 101. The processing of this flowchart can also be implemented in a form in which, for example, the block chain device 111 automatically executes it periodically according to the data validity period information of the distributed ledger group definition information in Table 1. In this case, it is conceivable to schedule on a date obtained by adding the data effective period of the distributed ledger group definition information to the usage start date of the distributed ledger information whose ledger type is "registration". In this flowchart, when the distributed ledger switching button 608 is pressed on the blockchain management screen 600, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of a distributed ledger switching processing request. The distributed ledger switching processing request received by the communication control unit 305 is passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
 ステップS801では、表1の分散台帳グループ定義情報と表2の分散台帳情報を分散台帳管理データ保存部303から取得する。ステップS802では、ステップS801で取得した分散台帳グループ定義情報に記載された分散台帳グループ431に追加する分散台帳421を生成し、表2の分散台帳情報として以下の情報を設定する。
 ・分散台帳ID:分散台帳421の生成時に設定された分散台帳ID412(ここでは「DL-004」とする)
 ・台帳タイプ:「準備」
 ・利用開始日:設定日
 ・タイプ変更日:設定日
 ・URL:分散台帳へのアクセスURL
In step S<b>801 , the distributed ledger group definition information in Table 1 and the distributed ledger information in Table 2 are acquired from the distributed ledger management data storage unit 303 . In step S802, the distributed ledger 421 to be added to the distributed ledger group 431 described in the distributed ledger group definition information acquired in step S801 is generated, and the following information is set as the distributed ledger information in Table 2.
・ Distributed ledger ID: Distributed ledger ID 412 set when generating distributed ledger 421 (here, “DL-004”)
・Ledger type: “Preparation”
・Usage start date: Setting date ・Type change date: Setting date ・URL: Access URL to distributed ledger
 なお、ブロックチェーンにおける分散台帳そのものの生成は利用するプラットフォームに依存するものであり、本実施形態としてはその生成手順については説明を省略する。 It should be noted that the generation of the distributed ledger itself in the blockchain depends on the platform used, and the description of the generation procedure is omitted in this embodiment.
 ステップS803では、台帳タイプが「登録」となっている分散台帳情報を取得し、台帳タイプを「参照」に変更する。ステップS804では、ステップS803で取得した分散台帳情報の分散台帳IDが示す分散台帳421の最後のブロック411を確定させ、ブロックハッシュ値413を算出し設定する。これにより、本ステップで処理をした分散台帳421はこの後登録されない分散台帳となる。 In step S803, the distributed ledger information whose ledger type is "registration" is acquired, and the ledger type is changed to "reference". In step S804, the last block 411 of the distributed ledger 421 indicated by the distributed ledger ID of the distributed ledger information acquired in step S803 is determined, and the block hash value 413 is calculated and set. As a result, the distributed ledger 421 processed in this step becomes a distributed ledger that will not be registered thereafter.
 ステップS805では、ステップS804で算出されたブロックハッシュ値413を使用した管理用のトランザクション401を、ステップS802で生成した分散台帳IDがDL-004の分散台帳421に登録する。
 ・キー402:RELATED_DATA(固定)
 ・データ403:ステップS804で算出されたブロックハッシュ値413
In step S805, the management transaction 401 using the block hash value 413 calculated in step S804 is registered in the distributed ledger 421 with the distributed ledger ID DL-004 generated in step S802.
・Key 402: RELATED_DATA (fixed)
Data 403: block hash value 413 calculated in step S804
 ステップS806では、ステップS802で表2の分散台帳情報として登録した台帳タイプとタイプ変更日を以下の情報で更新する。
 ・台帳タイプ:「登録」
 ・利用開始日:変更日
 ・タイプ変更日:変更日
In step S806, the ledger type and type change date registered as distributed ledger information in Table 2 in step S802 are updated with the following information.
・Ledger type: “Registration”
・Use start date: Change date ・Type change date: Change date
 以上により、本フローチャートを終了する。本フローチャートの実行により、トランザクションの登録対象となる分散台帳が切り替わる。 This concludes this flow chart. By executing this flow chart, the distributed ledger to which the transaction is to be registered is switched.
 図9は、ブロックチェーン装置111において分散台帳421を削除する処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111の分散台帳削除処理を利用するケースを説明する。しかし、本フローチャートの処理は、例えば図8の分散台帳切替処理と併せて行う、もしくは定期的に自動実行するといった形態でも実現可能である。 FIG. 9 is a flowchart showing the process of deleting the distributed ledger 421 in the blockchain device 111. In this embodiment, a case will be described in which the user uses the distributed ledger deletion process of the blockchain device 111 via the web browser of the PC 101 . However, the processing of this flowchart can also be implemented in a form such that it is performed in conjunction with the distributed ledger switching processing of FIG. 8, or is automatically performed periodically.
 ブロックチェーン管理画面600で分散台帳削除ボタン609が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部305に向けて分散台帳削除処理依頼を通知する。通信制御部305で受信した分散台帳削除処理依頼は、分散台帳管理処理制御部304に渡され、CPU201で実行される。 The distributed ledger delete button 609 is pressed on the blockchain management screen 600. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the distributed ledger deletion processing request. The distributed ledger deletion processing request received by the communication control unit 305 is passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
 ステップS901では、表1の分散台帳グループ定義情報と表2の分散台帳情報を分散台帳管理データ保存部303から取得する。ステップS902では、ステップS901で取得した分散台帳情報の中から、まだ本ステップで選択されていない台帳タイプが「参照」を示すデータ1件を選択する。ステップS903では、ステップS902で分散台帳情報が取得できた場合には、次のステップS904へ進む。取得する対象情報が存在しない場合には本フローチャートを終了する。 In step S901, the distributed ledger group definition information in Table 1 and the distributed ledger information in Table 2 are obtained from the distributed ledger management data storage unit 303. In step S902, from the distributed ledger information acquired in step S901, one item of data indicating that the ledger type that has not been selected in this step is "reference" is selected. In step S903, when the distributed ledger information can be acquired in step S902, the process proceeds to the next step S904. If there is no target information to be acquired, this flow chart ends.
 ステップS904では、ステップS901で取得した分散台帳グループ定義情報と、ステップS902で選択した分散台帳情報を使用して対象の分散台帳421の保存期間の残り期間を以下の計算式で算出する。
 保存期間残り=利用開始日+分散台帳保存期間-本フローチャート実行日
In step S904, using the distributed ledger group definition information acquired in step S901 and the distributed ledger information selected in step S902, the remaining period of the retention period of the target distributed ledger 421 is calculated by the following formula.
Remaining retention period = usage start date + distributed ledger retention period - execution date of this flowchart
 ステップS905では、ステップS904で算出した保存期間残りがマイナスの値を示すかどうかによって保存期間を超過したかを判断する。マイナス値を示し保存期間を超過している場合にはステップS906に進み、超過していない場合には、ステップS902に戻る。 In step S905, it is determined whether the retention period has expired depending on whether the remaining retention period calculated in step S904 indicates a negative value. If a negative value is indicated and the retention period has expired, the process proceeds to step S906; otherwise, the process returns to step S902.
 ステップS906では、削除対象の分散台帳が含まれる分散台帳グループの修正を行う。具体的には、削除対象分散台帳を削除した旨のトランザクションを所属する分散台帳グループ431に登録する。この処理を表した分散台帳グループ431の模式図を図23に示す。この図23は、図4Cで表した分散台帳グループ431の分散台帳の構成から、分散台帳削除時の本ステップに関係するところを説明したものである。 In step S906, the distributed ledger group including the distributed ledger to be deleted is corrected. Specifically, a transaction indicating that the deletion target distributed ledger has been deleted is registered in the distributed ledger group 431 to which it belongs. FIG. 23 shows a schematic diagram of the distributed ledger group 431 representing this process. This FIG. 23 explains the part related to this step at the time of deleting the distributed ledger from the configuration of the distributed ledger of the distributed ledger group 431 shown in FIG. 4C.
 図23では、削除対象が参照分散台帳421(a)であり、この参照分散台帳421(a)の最後のブロックハッシュ値2301を同じ分散台帳グループ431の登録分散台帳421(c)へトランザクション2302として追加することを示している。 In FIG. 23, the target of deletion is the reference distributed ledger 421(a), and the last block hash value 2301 of this reference distributed ledger 421(a) is transferred to the registered distributed ledger 421(c) of the same distributed ledger group 431 as a transaction 2302. Indicates to add.
 本ステップで登録するトランザクション2301の情報は、以下のとおりとする。
 ・キー402:DELETED_DATA(固定)
 ・データ403:削除対象である参照分散台帳421(a)に記録された最後のブロック411が保持するブロックハッシュ値413
The information of the transaction 2301 registered in this step is as follows.
・Key 402: DELETED_DATA (fixed)
Data 403: Block hash value 413 held by the last block 411 recorded in the reference distributed ledger 421(a) to be deleted
 これにより、後述のステップS907で参照分散台帳を削除した後に先頭になる分散台帳421に登録された分散台帳の連結を示す先頭トランザクション411の値が削除された分散台帳のものであることを証明できる。その結果として、分散台帳グループ43にデータの不整合がないことを検証することができる。ステップS907では、ステップS902で選択した分散台帳情報の分散台帳IDが合致する分散台帳421を削除する。本ステップは、分散台帳管理処理制御部304から分散台帳処理制御部302に対して分散台帳IDを指定して分散台帳削除処理を依頼する。分散台帳処理制御部302は、利用するブロックチェーンプラットフォームの手順に則り、対象の分散台帳を削除する。ステップS908では、ステップS902で選択した分散台帳情報を分散台帳管理データ保存部303の表2から削除する。 As a result, it can be proved that the value of the leading transaction 411 indicating the connection of the distributed ledger registered in the leading distributed ledger 421 after deleting the reference distributed ledger in step S907 described later is that of the deleted distributed ledger. . As a result, it can be verified that there is no data inconsistency in the distributed ledger group 43 . In step S907, the distributed ledger 421 that matches the distributed ledger ID of the distributed ledger information selected in step S902 is deleted. In this step, the distributed ledger management processing control unit 304 requests the distributed ledger processing control unit 302 to perform the distributed ledger deletion processing by designating the distributed ledger ID. The distributed ledger processing control unit 302 deletes the target distributed ledger according to the procedure of the blockchain platform to be used. In step S<b>908 , the distributed ledger information selected in step S<b>902 is deleted from Table 2 of the distributed ledger management data storage unit 303 .
 以上により、本実施形態の特徴であるブロックチェーンを使用したデータ管理の中で不要になった保持データを安全に削除することができる。 As described above, it is possible to safely delete stored data that is no longer needed in data management using blockchain, which is a feature of this embodiment.
 図10は、トランザクション操作画面例である。ブロックチェーンアクセス画面1000は、トランザクション401の登録や取得を実行するためにブロックチェーン装置111がユーザーに提供する画面例である。ブロックチェーンアクセス画面1000は、ウェブブラウザとして構成されており、ウェブブラウザが持つメニューやURLの表示など標準で備わっているものに関しては説明を省略する。表示領域1001は、アクセス画面の構成要素を表示する領域である。図示していないが、表示内容が多く領域に表示しきれない場合には、上下左右のスクロールバーが表示され、すべてを表示することができるものとする。 Fig. 10 is an example of a transaction operation screen. A blockchain access screen 1000 is an example of a screen provided by the blockchain device 111 to the user in order to execute registration and acquisition of the transaction 401 . The blockchain access screen 1000 is configured as a web browser, and the description of the standard features of the web browser, such as menus and URL displays, will be omitted. A display area 1001 is an area for displaying the components of the access screen. Although not shown, when there are too many display contents to be displayed in the area, vertical and horizontal scroll bars are displayed so that all can be displayed.
 この表示領域1001の構成要素は、ブロックチェーン装置111が表1に保持しているURLにアクセスすることで得られるものである。 The components of this display area 1001 can be obtained by accessing the URL held in Table 1 by the blockchain device 111.
 キー情報1002は、トランザクションとして登録する情報を一意に表す情報を入力もしくは表示する場所である。本実施形態では、登録する文書ファイルから算出したハッシュ値を入力することを想定する。登録データ1003は、前述のキー情報1002で一意に表す情報に紐づけておく情報を入力もしくは表示する場所である。本実施形態では、文書ファイルが保持する書誌データ(例えば作成者、作成場所、文書ファイル名など)を入力することを想定する。有効期間1004は、この分散台帳グループ431で情報を保有する期間を示す値を表示する。本実施形態においては、分散台帳グループ431を作成する際に保存期間が決定されるため、設定値を表示するだけの機能として提供する。 The key information 1002 is a place to input or display information that uniquely represents information to be registered as a transaction. In this embodiment, it is assumed that a hash value calculated from a document file to be registered is input. The registration data 1003 is a place for inputting or displaying information linked to the information uniquely represented by the key information 1002 described above. In this embodiment, it is assumed that the bibliographic data held by the document file (for example, creator, place of creation, document file name, etc.) is input. Validity period 1004 displays a value that indicates the period in which information is held in this distributed ledger group 431 . In this embodiment, since the retention period is determined when creating the distributed ledger group 431, it is provided as a function that only displays the set values.
 登録ボタン1005は、図11で後述するトランザクション401の登録処理を実行するためのボタンであり、前述のキー情報1002と登録データ1003に値が入力されると有効化される。取得ボタン1006は、図12で後述するトランザクション401の取得処理を実行するためのボタンであり、前述のキー情報1002に値が入力されると有効化される。 A registration button 1005 is a button for executing the registration processing of the transaction 401 described later in FIG. Acquisition button 1006 is a button for executing acquisition processing of transaction 401 described later with reference to FIG.
 図11は、ブロックチェーン装置111において分散台帳421にトランザクション401を登録する処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111が管理する分散台帳にトランザクション401の登録を依頼する形態での説明を行う。しかし、本登録処理を他のシステムと連携して実行させる形態でも実現可能であり、処理形態を制限するものではない。ブロックチェーンアクセス画面1000でキー情報1002と登録データ1003が入力され、登録ボタン1005が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部305に向けてトランザクション登録処理依頼を通知する。この際、ブロックチェーンアクセス画面1000で入力されたキー情報1002と登録データ1003の値を共に送信する。通信制御部305で受信したトランザクション登録処理依頼とキー情報1002と登録データ1003の入力値は、分散台帳管理処理制御部304に渡され、CPU201で実行する。 FIG. 11 is a flowchart showing the process of registering the transaction 401 in the distributed ledger 421 in the blockchain device 111. In this embodiment, a description will be given in which the user requests registration of the transaction 401 in the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 . However, it is also possible to execute the main registration process in cooperation with another system, and the processing form is not limited. Key information 1002 and registration data 1003 are entered on the blockchain access screen 1000, and a registration button 1005 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the transaction registration processing request. At this time, both the key information 1002 and the value of the registration data 1003 input on the blockchain access screen 1000 are transmitted. The input values of the transaction registration processing request, the key information 1002 and the registration data 1003 received by the communication control unit 305 are passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
 ステップS1101では、PC101のウェブブラウザで入力されたキー情報1002と登録データ1003を取得する。ステップS1102では、表2の分散台帳情報から台帳タイプが「登録」を持つ分散台帳データを分散台帳管理データ保存部303から取得する。ステップS1103では、ステップS1102で取得した分散台帳管理データが存在するかどうかを判定する。存在する場合には、ステップS1104へ進み、存在しない場合にはステップS1106へ進む。 In step S1101, the key information 1002 and the registration data 1003 input by the web browser of the PC 101 are obtained. In step S1102, from the distributed ledger information in Table 2, the distributed ledger data having the "registered" ledger type is acquired from the distributed ledger management data storage unit 303. In step S1103, it is determined whether or not the distributed ledger management data acquired in step S1102 exists. If it exists, the process proceeds to step S1104; otherwise, the process proceeds to step S1106.
 ステップS1104では、ステップS1102で取得した分散台帳データの分散台帳IDと、ステップS1101で取得したキー情報1002と登録データ1003を分散台帳処理制御部302に渡して、トランザクション401の登録処理を依頼する。分散台帳処理制御部302では、当該の分断台帳IDを持つ分散台帳に、以下のトランザクション401を作成して登録する。
 ・キー402:キー情報1002
 ・データ403:登録データ1003
In step S1104, the distributed ledger ID of the distributed ledger data obtained in step S1102 and the key information 1002 and registration data 1003 obtained in step S1101 are passed to the distributed ledger processing control unit 302 to request registration processing of the transaction 401. The distributed ledger processing control unit 302 creates and registers the following transaction 401 in the distributed ledger having the relevant divided ledger ID.
・Key 402: Key information 1002
・Data 403: Registration data 1003
 なお、分散台帳におけるトランザクションそのものの登録処理は利用するプラットフォームに依存するものであり、本実施形態としてはその登録手順については説明を省略する。 It should be noted that the registration process of the transaction itself in the distributed ledger depends on the platform used, and the description of the registration procedure is omitted in this embodiment.
 ステップS1105では、ステップS1104でのトランザクション登録結果をPC101に対して通知する。ステップS1106では、登録する分散台帳が存在しない旨のエラーをPC101に対して通知する。 In step S1105, the PC 101 is notified of the transaction registration result in step S1104. In step S1106, the PC 101 is notified of an error that the distributed ledger to be registered does not exist.
 本フローチャートの終了後、PC101の画面上では登録結果やエラーを画面上に表示するが、これはOSやウェブブラウザが所持する標準ダイアログ(不図示)を用いて行うものとし、本実施形態では説明を省略する。 After the end of this flowchart, the registration result and error are displayed on the screen of the PC 101. This is done using a standard dialog (not shown) possessed by the OS or web browser, and is explained in this embodiment. omitted.
 図12は、ブロックチェーン装置111において所定の分散台帳421から登録データを取得する処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111が管理する分散台帳からトランザクション401の取得を依頼する形態での説明を行う。しかし、本登録処理を他のシステムと連携して実行させる形態でも実現可能であり、処理形態を制限するものではない。ブロックチェーンアクセス画面1000でキー情報1002が入力され、取得ボタン1006が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部305に向けてトランザクション取得処理依頼を通知する。この際、PC101は、ブロックチェーンアクセス画面1000で入力されたキー情報1002の値を共に送信する。通信制御部305で受信したトランザクション取得処理依頼とキー情報1002の入力値は、分散台帳管理処理制御部304に渡され、CPU201で実行する。 FIG. 12 is a flowchart showing the process of acquiring registration data from a predetermined distributed ledger 421 in the blockchain device 111. In this embodiment, the user requests acquisition of the transaction 401 from the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 . However, it is also possible to execute the main registration process in cooperation with another system, and the processing form is not limited. Key information 1002 is entered on the blockchain access screen 1000, and an acquisition button 1006 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the transaction acquisition processing request. At this time, the PC 101 also transmits the value of the key information 1002 input on the blockchain access screen 1000 . The transaction acquisition processing request received by the communication control unit 305 and the input value of the key information 1002 are passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
 ステップS1201では、PC101のウェブブラウザで入力されたキー情報1002を取得する。ステップS1202では、表1の分散台帳グループ定義情報と表2の分散台帳情報から台帳タイプが「登録」か「参照」であるすべての分散台帳データを、分散台帳管理データ保存部303から取得し、RAM203に保存しておく。 In step S1201, the key information 1002 input by the web browser of the PC 101 is obtained. In step S1202, from the distributed ledger group definition information in Table 1 and the distributed ledger information in Table 2, all distributed ledger data whose ledger type is "registration" or "reference" are obtained from the distributed ledger management data storage unit 303, It saves in RAM203.
 ステップS1203では、ステップS1202で取得してRAM203に保存した分散台帳情報の中からタイプ変更日が一番新しい分散台帳データを1件選択する。ステップS1204では、ステップS1203で選択する分散台帳データが存在するかどうかを判定し、存在する場合にはステップS1205に進み、存在しない場合にはステップS1208に進む。ステップS1205では、ステップS1203で選択した分散台帳データの分散台帳IDと、ステップS1201で取得したキー情報1002を分散台帳処理制御部302に渡して、トランザクション401の取得処理を依頼する。分散台帳処理制御部302では、当該の分断台帳IDを持つ分散台帳から、キー402にキー情報1002の値を持つトランザクション401検索し、合致したものがあれば分散台帳管理処理制御部304に渡す。 In step S1203, one piece of distributed ledger data with the latest type change date is selected from the distributed ledger information acquired in step S1202 and stored in the RAM 203. In step S1204, it is determined whether or not the distributed ledger data selected in step S1203 exists, and if it exists, the process proceeds to step S1205, and if it does not exist, the process proceeds to step S1208. In step S1205, the distributed ledger ID of the distributed ledger data selected in step S1203 and the key information 1002 obtained in step S1201 are passed to the distributed ledger processing control unit 302 to request acquisition processing of the transaction 401. The distributed ledger processing control unit 302 searches the transaction 401 having the value of the key information 1002 in the key 402 from the distributed ledger having the relevant divided ledger ID, and passes it to the distributed ledger management processing control unit 304 if there is a match.
 分散台帳処理制御部302におけるトランザクションの検索処理は利用するブロックチェーンプラットフォームに依存するものであり、本実施形態としてはその検索手順については説明を省略する。 The transaction search processing in the distributed ledger processing control unit 302 depends on the blockchain platform used, and the description of the search procedure is omitted in this embodiment.
 ステップS1206では、ステップS1205で取得したトランザクション401が存在するかどうかを判定し、存在する場合には次のステップS1207に進み、存在しない場合には次の分散台帳の検索を行うためステップS1203に戻る。このとき、S1203で選択した分散台帳データはRAM203から削除する。 In step S1206, it is determined whether or not the transaction 401 acquired in step S1205 exists, and if it exists, the process proceeds to the next step S1207, and if it does not exist, the process returns to step S1203 to search the next distributed ledger. . At this time, the distributed ledger data selected in S1203 is deleted from the RAM203.
 ステップS1207では、取得したトランザクション401のデータ403をPC101へ通知する。ステップS1208では、指定したキー情報1002に合致するトランザクションデータが存在しないエラーである旨をPC101に通知する。本フローチャートの終了後、PC101の画面上では、データ403を取得できた場合には登録データ1003へ表示する。エラーの旨の通知を受けた場合にはその旨の内容を図11のフローチャート同様、OSやウェブブラウザの標準ダイアログ(不図示)で表示する。 In step S1207, the data 403 of the acquired transaction 401 is notified to the PC 101. In step S1208, the PC 101 is notified that there is no transaction data that matches the designated key information 1002. After the end of this flowchart, on the screen of the PC 101, if the data 403 can be acquired, it is displayed as the registration data 1003. FIG. When an error notification is received, similar to the flow chart of FIG. 11, the content of the error is displayed in a standard dialog (not shown) of the OS or web browser.
 尚、ステップS1203からステップS1206では、タイプ変更日が一番新しい分散台帳から探索を行ったが、所定のルールに基づいて、順次、分散台帳を検索するのでも構わない。 In steps S1203 to S1206, the distributed ledger with the latest type change date is searched first, but the distributed ledger may be searched sequentially based on a predetermined rule.
 以上説明したように、実施形態1によれば、ブロックチェーンを用いて保存期限を持つデータを管理する際に、安全に分散台帳を運用しながら保存期限を切れたトランザクションデータを削除することができる。これによりブロックチェーンで保持するデータ量を抑制することができるため、運用にかかるコストの抑制が可能となる。 As described above, according to the first embodiment, when managing data with a retention period using a blockchain, transaction data whose retention period has expired can be deleted while safely operating a distributed ledger. . As a result, it is possible to reduce the amount of data stored in the blockchain, thereby reducing operational costs.
 <実施形態2>
 本実施形態においては、実施形態1とトランザクションの取得方法が異なる実施形態について説明する。本実施形態では、図1から図10までの分散台帳の管理部分に関しては同じ構成となるため説明を省略し、差分となるトランザクション登録処理、およびトランザクションの取得処理について、図13、図14を使用して説明する。
<Embodiment 2>
In this embodiment, an embodiment will be described in which a transaction acquisition method is different from that of the first embodiment. In this embodiment, the management part of the distributed ledger from FIGS. 1 to 10 has the same configuration, so the description is omitted, and FIGS. 13 and 14 are used for transaction registration processing and transaction acquisition processing, which are differences. and explain.
 図13は、ブロックチェーン装置111において分散台帳421にトランザクション401を登録する処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111が管理する分散台帳にトランザクション401の登録を依頼する形態での説明を行う。しかし、本登録処理を他のシステムと連携して実行させる形態でも実現可能であり、処理形態を制限するものではない。ブロックチェーンアクセス画面1000でキー情報1002と登録データ1003が入力され、登録ボタン1005が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部305に向けてトランザクション登録処理依頼を通知する。この際、ブロックチェーンアクセス画面1000で入力されたキー情報1002と登録データ1003の値を共に送信する。通信制御部305で受信したトランザクション登録処理依頼とキー情報1002と登録データ1003の入力値は、分散台帳管理処理制御部304に渡され、CPU201で実行する。 FIG. 13 is a flowchart showing the process of registering the transaction 401 in the distributed ledger 421 in the blockchain device 111. In this embodiment, a description will be given in which the user requests registration of the transaction 401 in the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 . However, it is also possible to execute the main registration process in cooperation with another system, and the processing form is not limited. Key information 1002 and registration data 1003 are entered on the blockchain access screen 1000, and a registration button 1005 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the transaction registration processing request. At this time, both the key information 1002 and the value of the registration data 1003 input on the blockchain access screen 1000 are transmitted. The input values of the transaction registration processing request, the key information 1002 and the registration data 1003 received by the communication control unit 305 are passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 .
 ステップS1301では、PC101のウェブブラウザで入力されたキー情報1002と登録データ1003を取得する。ステップS1302では、表2の分散台帳情報から台帳タイプが「登録」である分散台帳データを分散台帳管理データ保存部303から取得する。 In step S1301, the key information 1002 and registration data 1003 that have been input through the web browser of the PC 101 are obtained. In step S<b>1302 , the distributed ledger data whose ledger type is “registration” is acquired from the distributed ledger information of Table 2 from the distributed ledger management data storage unit 303 .
 ステップS1303では、ステップS1302で取得した分散台帳管理データが存在するかどうかを判定する。存在する場合には、ステップS1304へ進み、存在しない場合にはステップS1307へ進む。 In step S1303, it is determined whether or not the distributed ledger management data acquired in step S1302 exists. If it exists, the process proceeds to step S1304; otherwise, the process proceeds to step S1307.
 ステップS1304では、ステップS1302で取得した分散台帳データの分散台帳IDと、ステップS1301で取得したキー情報1002と登録データ1003を分散台帳処理制御部302に渡して、トランザクション401の登録処理を依頼する。分散台帳処理制御部302では、当該の分散台帳IDを持つ分散台帳421に、以下のトランザクション401を作成して登録する。
 ・キー402:キー情報1002
 ・データ403:登録データ1003
In step S1304, the distributed ledger ID of the distributed ledger data obtained in step S1302 and the key information 1002 and registration data 1003 obtained in step S1301 are passed to the distributed ledger processing control unit 302 to request registration processing of the transaction 401. The distributed ledger processing control unit 302 creates and registers the following transaction 401 in the distributed ledger 421 having the relevant distributed ledger ID.
・Key 402: Key information 1002
・Data 403: Registration data 1003
 なお、分散台帳におけるトランザクションそのものの登録処理は利用するプラットフォームに依存するものであり、本実施形態としてはその登録手順については説明を省略する。 It should be noted that the registration process of the transaction itself in the distributed ledger depends on the platform used, and the description of the registration procedure is omitted in this embodiment.
 ステップS1305では、トランザクション処理を効率化させるために、登録時に指定されたキー情報1002に対して、登録した分散台帳IDを付与した、アクセス情報キーを生成する。
 アクセス情報キー=分散台帳ID+キー情報1002
In step S1305, an access information key is generated by assigning the registered distributed ledger ID to the key information 1002 specified at the time of registration in order to improve the efficiency of transaction processing.
Access information key = distributed ledger ID + key information 1002
 本実施形態では、アクセス情報キーは2つのデータを連結することで説明しているが、復号化できる形式であれば情報加工を行ってアクセス情報キー情報を隠蔽化することができるように構成してもよい。 In this embodiment, the access information key is explained by concatenating two pieces of data, but it is configured so that the access information key information can be concealed by processing the information if it is in a format that can be decrypted. may
 ステップS1306では、ステップS1305で生成したアクセス情報キーをPC101に対して通知する。ステップS1307では、登録する分散台帳が存在しない旨のエラーをPC101に対して通知する。 In step S1306, the access information key generated in step S1305 is notified to the PC 101. In step S1307, the PC 101 is notified of an error that the distributed ledger to be registered does not exist.
 本フローチャートの終了後、PC101の画面上では登録結果やエラーを画面上に表示するが、これはOSやウェブブラウザが所持する標準ダイアログ(不図示)を用いて行うものとし、本実施形態では説明を省略する。 After the end of this flowchart, the registration result and error are displayed on the screen of the PC 101. This is done using a standard dialog (not shown) possessed by the OS or web browser, and is explained in this embodiment. omitted.
 図14は、ブロックチェーン装置111において所定の分散台帳421から登録データを取得する処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111が管理する分散台帳からトランザクション401の取得を依頼する形態での説明を行う。しかし、本登録処理を他のシステムと連携して実行させる形態でも実現可能であり、処理形態を制限するものではない。ブロックチェーンアクセス画面1000でキー情報1002が入力され、取得ボタン1006が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部305に向けてトランザクション取得処理依頼を通知する。この際、PC101は、ブロックチェーンアクセス画面1000で入力されたキー情報1002の値を共に送信する。通信制御部305で受信したトランザクション取得処理依頼とキー情報1002の入力値は、分散台帳管理処理制御部304に渡され、CPU201で実行する。本実施形態においては、キー情報1002には、前述の図13のステップS1301で登録時にユーザーが入力したキー情報1002、もしくはステップS1305で生成したアクセス情報キーの形式のデータがユーザーによって入力されることとなる。 FIG. 14 is a flowchart showing the process of acquiring registration data from a predetermined distributed ledger 421 in the blockchain device 111. In this embodiment, the user requests acquisition of the transaction 401 from the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 . However, it is also possible to execute the main registration process in cooperation with another system, and the processing form is not limited. Key information 1002 is entered on the blockchain access screen 1000, and an acquisition button 1006 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 305 of the blockchain device 111 of the transaction acquisition processing request. At this time, the PC 101 also transmits the value of the key information 1002 input on the blockchain access screen 1000 . The transaction acquisition processing request received by the communication control unit 305 and the input value of the key information 1002 are passed to the distributed ledger management processing control unit 304 and executed by the CPU 201 . In this embodiment, the key information 1002 is the key information 1002 input by the user at the time of registration in step S1301 of FIG. becomes.
 ステップS1401では、PC101のウェブブラウザで入力されたキー情報1002を取得する。ステップS1402では、取得したキー情報1002をアクセス情報キーの分散台帳IDとキー情報1002の形式に分割する。そして、次のステップS1403で、アクセス情報キーの形式として分割できたかどうかを判定する。分割できた場合には、ステップS1404に進み、分割できない場合にはステップS1406に進む。 In step S1401, the key information 1002 input by the web browser of the PC 101 is acquired. In step S1402, the acquired key information 1002 is divided into the form of the distributed ledger ID of the access information key and the key information 1002. FIG. Then, in the next step S1403, it is determined whether or not the format of the access information key can be divided. If it can be divided, the process proceeds to step S1404, and if it cannot be divided, the process proceeds to step S1406.
 ステップS1404では、表2の分散台帳情報から分割した分散台帳IDに合致する分散台帳データを取得しRAM203に保存する。そして次のステップS1405で、分散台帳データが取得できたかどうかを判定する。取得できた場合には、ステップS1407に進み、取得できない場合にはステップS1406に進む。 In step S1404, the distributed ledger data matching the divided distributed ledger ID is acquired from the distributed ledger information in Table 2 and stored in the RAM 203. Then, in the next step S1405, it is determined whether or not the distributed ledger data has been acquired. If it can be acquired, the process advances to step S1407, and if it cannot be acquired, the process advances to step S1406.
 ステップS1406では、表1の分散台帳グループ定義情報と表2の分散台帳情報から台帳タイプが「登録」か「参照」である分散台帳データを分散台帳管理データ保存部303から取得し、RAM203に保存する。ステップS1407では、ステップS1404もしくはステップS1406で取得してRAM203に保存した分散台帳データの中からタイプ変更日が一番新しい分散台帳データを1件選択する。 In step S1406, from the distributed ledger group definition information in Table 1 and the distributed ledger information in Table 2, the distributed ledger data whose ledger type is "registration" or "reference" is acquired from the distributed ledger management data storage unit 303 and stored in the RAM 203. do. In step S1407, one distributed ledger data with the latest type change date is selected from the distributed ledger data acquired in step S1404 or step S1406 and stored in the RAM 203.
 ステップS1408では、ステップS1407で選択した分散台帳データが存在するかどうかを判定し、存在する場合にはステップS1409に進み、存在しない場合にはステップS1412に進む。ステップS1409では、トランザクション401の取得処理を依頼する。ステップS1407で選択した分散台帳データの分散台帳IDと、ステップS1402でアクセス情報キーから抽出したキー情報、抽出できなかった場合にはステップS1401で取得したキー情報1002のいずれかを分散台帳処理制御部302に渡す。そして、トランザクション401の取得処理を依頼する。分散台帳処理制御部302では、当該の分断台帳IDを持つ分散台帳から、キー402にキー情報1002の値を持つトランザクション401検索し、合致したものがあれば分散台帳管理処理制御部304に渡す。 In step S1408, it is determined whether or not the distributed ledger data selected in step S1407 exists. In step S1409, a request is made to acquire the transaction 401. FIG. The distributed ledger ID of the distributed ledger data selected in step S1407, the key information extracted from the access information key in step S1402, or the key information 1002 obtained in step S1401 if it could not be extracted, distributed ledger processing control unit 302. Then, it requests acquisition processing of the transaction 401 . The distributed ledger processing control unit 302 searches the transaction 401 having the value of the key information 1002 in the key 402 from the distributed ledger having the relevant divided ledger ID, and passes it to the distributed ledger management processing control unit 304 if there is a match.
 分散台帳処理制御部302におけるトランザクションの検索処理は利用するブロックチェーンプラットフォームに依存するものであり、本実施形態としてはその検索手順については説明を省略する。 The transaction search processing in the distributed ledger processing control unit 302 depends on the blockchain platform used, and the description of the search procedure is omitted in this embodiment.
 ステップS1410では、ステップS1409で取得したトランザクション401が存在するかどうかを判定し、存在する場合には次のステップS1411に進む。存在しない場合には、次の分散台帳の検索を行うためステップS1407で選択した分散台帳データをRAM203から削除した後ステップS1407に戻る。 In step S1410, it is determined whether or not the transaction 401 acquired in step S1409 exists, and if so, the process proceeds to the next step S1411. If it does not exist, the distributed ledger data selected in step S1407 is deleted from the RAM 203 in order to search for the next distributed ledger, and then the process returns to step S1407.
 ステップS1411では、取得したトランザクション401のデータ403をPC101へ通知する。 In step S1411, the data 403 of the acquired transaction 401 is notified to the PC 101.
 ステップS1412では、指定したキー情報1002に合致するトランザクションデータが存在しないエラーである旨をPC101に通知する。 In step S1412, the PC 101 is notified that there is no transaction data that matches the specified key information 1002 and that there is an error.
 本フローチャートの終了後、PC101の画面上では、データ403を取得できた場合には登録データ1003へ表示する。エラーの旨の通知を受けた場合にはその旨の内容を図11のフローチャート同様、OSやウェブブラウザの標準ダイアログ(不図示)で表示する。 After the end of this flowchart, on the screen of the PC 101, if the data 403 can be acquired, it is displayed in the registered data 1003. When an error notification is received, similar to the flow chart of FIG. 11, the content of the error is displayed in a standard dialog (not shown) of the OS or web browser.
 以上説明したように、実施形態2によれば、実施形態1に加えて、登録した分散台帳を特定できる項目を付与してユーザーに提供する。そのため、トランザクションの検索を効率的に行うことができ、ユーザーの利用に際してのパフォーマンス向上が可能となる。 As described above, according to Embodiment 2, in addition to Embodiment 1, an item that can identify the registered distributed ledger is provided to the user. Therefore, transactions can be searched efficiently, and performance can be improved when users use the service.
 <実施形態3>
 本実施形態においては、前述の実施形態1と実施形態2に加え、複数の分散台帳グループ431を管理するための実施形態について説明する。本実施形態により、個々に異なる文書の保存期限に対応したデータ管理が可能となる。本実施形態では、実施形態1、実施形態2からの差分として説明を行い、ここで説明がない箇所は、実施形態1、あるいは、実施形態2と同様である。
<Embodiment 3>
In this embodiment, in addition to the above-described Embodiments 1 and 2, an embodiment for managing a plurality of distributed ledger groups 431 will be described. According to the present embodiment, it is possible to manage data corresponding to the retention periods of documents that differ from one another. This embodiment will be described as a difference from the first and second embodiments, and the portions not described here are the same as those in the first or second embodiment.
 図15は、本実施形態におけるブロックチェーン装置111のソフトウェア構成について示したブロック図である。特に断りのない限り各処理部はブロックチェーン装置111のROM204に記憶された制御プログラムである。分散台帳データ保存部1501、分散台帳処理制御部1502、通信制御部1505については、実施形態1の図3の分散台帳データ保存部301、分散台帳処理制御部302、通信制御部305と同じである。本実施形態の違いは、固定で分散台帳管理データ保存部303に保持していた分散台帳グループ情報の格納と制御を分けたところである。 FIG. 15 is a block diagram showing the software configuration of the blockchain device 111 in this embodiment. Unless otherwise specified, each processing unit is a control program stored in the ROM 204 of the blockchain device 111 . The distributed ledger data storage unit 1501, the distributed ledger processing control unit 1502, and the communication control unit 1505 are the same as the distributed ledger data storage unit 301, the distributed ledger processing control unit 302, and the communication control unit 305 in FIG. . The difference of this embodiment is that the storage and control of the distributed ledger group information held in the fixed distributed ledger management data storage unit 303 are separated.
 分散台帳管理データ保存部1503は、本実施形態で実現する分散台帳の管理のための情報を保持する記憶領域である。これも分散台帳データ保存部1501と同様にHDD205にデータベースやファイルなどの形式で保存する。分散台帳管理処理制御部1504は、前述の分散台帳管理データ保存部1503のデータを使用して分散台帳を管理するための処理を制御するためのものである。 The distributed ledger management data storage unit 1503 is a storage area that holds information for managing the distributed ledger realized in this embodiment. As with the distributed ledger data storage unit 1501, this is also stored in the HDD 205 in the form of a database, file, or the like. The distributed ledger management processing control unit 1504 is for controlling the processing for managing the distributed ledger using the data of the distributed ledger management data storage unit 1503 described above.
 グループ管理データ保存部1506は、分散台帳グループを管理のための情報を保持する記憶領域である。これも分散台帳データ保存部1501や分散台帳仮データ保存部1503と同様にHDD205にデータベースやファイルなどの形式で保存する。グループ管理処理制御部1507は、前述のグループ管理データ保存部1506のデータを使用して分散台帳グループを管理するための処理を制御するためのものである。 The group management data storage unit 1506 is a storage area that holds information for managing distributed ledger groups. This is also stored in the HDD 205 in the form of a database, file, or the like, like the distributed ledger data storage unit 1501 and the distributed ledger temporary data storage unit 1503 . The group management processing control unit 1507 is for controlling the processing for managing the distributed ledger group using the data in the group management data storage unit 1506 described above.
 図16は、ブロックチェーン装置111で保持する分散台帳グループ管理1601のデータ構造について示した図である。本実施形態では、分散台帳グループ管理1601は、内部に複数の分散台帳グループ431(a)、分散台帳グループ431(b)の2つを含んでいるものとして説明をする。 FIG. 16 is a diagram showing the data structure of the distributed ledger group management 1601 held by the blockchain device 111. In this embodiment, the distributed ledger group management 1601 will be described as including a plurality of distributed ledger groups 431(a) and 431(b) inside.
Figure JPOXMLDOC01-appb-T000003
Figure JPOXMLDOC01-appb-T000003
 表3は、分散台帳グループ管理1601を構成する情報を格納するテーブルであり、前述のグループ管理データ保存部1506に保持し、グループ管理処理制御部1507によりデータ操作を行う。分散台帳グループ管理IDは、分散台帳グループ管理1601を一意に表す情報である。分散台帳グループ管理名は、分散台帳グループ管理1601を利用者に提示するために使用する分散台帳グループの管理の名称である。URLは、分散台帳グループ管理の単位で利用者からアクセスするための一意な接続先情報である。 Table 3 is a table that stores information that constitutes the distributed ledger group management 1601, is held in the group management data storage unit 1506 described above, and is manipulated by the group management processing control unit 1507. The distributed ledger group management ID is information that uniquely represents the distributed ledger group management 1601 . The distributed ledger group management name is the name of the distributed ledger group management used to present the distributed ledger group management 1601 to the user. A URL is unique connection destination information for accessing from a user in units of distributed ledger group management.
 本実施形態では1つの分散台帳グループ管理を行うデータを提示しているが、分散台帳グループ管理IDが異なる複数を管理することも可能である。また、実施形態1で説明した、図4A、図4B、図4Cの表1および表2についても分散台帳グループ管理を行うために、情報を追加した表4、表5の形式で情報を保持する。 Although this embodiment presents data for managing one distributed ledger group, it is also possible to manage multiple data with different distributed ledger group management IDs. 4A, 4B, and 4C described in Embodiment 1 also hold information in the form of Tables 4 and 5, in which information is added, in order to perform distributed ledger group management. .
Figure JPOXMLDOC01-appb-T000004
Figure JPOXMLDOC01-appb-T000004
 表4は、分散台帳グループ431を表す定義情報を格納するテーブルであり、前述のグループ管理データ保存部1506に保持し、グループ管理処理制御部1507によりデータ操作を行う。本実施形態では実施形態1と異なり複数の分散台帳グループ431を管理するため、各分散台帳グループ431を識別するために分散台帳グループ管理IDと分散台帳グループIDを実施形態1の表1の構成に加えて持つ。それ以外は表1の項目とそれぞれ同じものであるため、説明を省略する。分散台帳グループ管理IDは、前述の表3の分散台帳グループ管理IDのいずれかを所持し、どの分散台帳グループ管理に所属しているかを表している。分散台帳グループIDは、分散台帳グループ431を一意に表す情報である。本実施形態ではこの分散台帳グループIDのみで分散台帳グループ431を識別できるように構成しているが、前述の分散台帳グループ管理IDとの組み合わせで一意を表してもよい。 Table 4 is a table that stores definition information representing the distributed ledger group 431, is held in the group management data storage unit 1506 described above, and performs data manipulation by the group management processing control unit 1507. In this embodiment, unlike the first embodiment, a plurality of distributed ledger groups 431 are managed. Therefore, in order to identify each distributed ledger group 431, the distributed ledger group management ID and the distributed ledger group ID are configured as shown in Table 1 of the first embodiment. have in addition. Since the other items are the same as those in Table 1, the description is omitted. The distributed ledger group management ID has one of the distributed ledger group management IDs in Table 3 described above, and indicates which distributed ledger group management it belongs to. The distributed ledger group ID is information that uniquely represents the distributed ledger group 431 . In this embodiment, the distributed ledger group 431 can be identified only by the distributed ledger group ID, but uniqueness may be represented by a combination with the above-described distributed ledger group management ID.
 本実施形態では、データ有効期間の異なるG-001とG-002の2つの分散台帳グループが存在していることを表している。G-001はデータ有効期間を1年と設定した分散台帳グループであり、G-002はデータ有効期間を3年と設定した分散台帳グループである。 In this embodiment, there are two distributed ledger groups G-001 and G-002 with different data validity periods. G-001 is a distributed ledger group whose data valid period is set to 1 year, and G-002 is a distributed ledger group whose data valid period is set to 3 years.
Figure JPOXMLDOC01-appb-T000005
Figure JPOXMLDOC01-appb-T000005
 表5は、分散台帳グループ431を構成する分散台帳421を表す情報を格納するテーブルであり、前述の分散台帳管理データ保存部1503に保持し、分散台帳管理処理制御部1504によりデータ操作を行う。本実施形態では、複数の分散台帳グループが存在しているため、所属する分散台帳部ループを識別するための分散台帳グループIDを実施形態1の表2の構成に加えて持つ。それ以外の項目は表2とそれぞれ同じ意味を持ったものであるため、説明を省略する。 Table 5 is a table that stores information representing the distributed ledger 421 that constitutes the distributed ledger group 431, which is held in the distributed ledger management data storage unit 1503 described above, and data is manipulated by the distributed ledger management processing control unit 1504. In this embodiment, since a plurality of distributed ledger groups exist, it has a distributed ledger group ID for identifying the distributed ledger section loop to which it belongs in addition to the configuration of Table 2 of the first embodiment. Since the other items have the same meanings as those in Table 2, their description is omitted.
 分散台帳グループIDは、各分散台帳421が所属する分散台帳グループ431を一意に表す情報である。本実施形態では4つの分散台帳421がG-001とG-002の2つの分散台帳グループのいずれかに所属していることがわかる。本実施形態ではG-001は、データ有効期間の1年ごとに分散台帳421を切り替えている。新規データの登録先である台帳タイプ「登録」のDL-003と、すでに利用開始から1年以上が過ぎた台帳タイプ「参照」のDL-002とDL-001が存在している。DL-001はデータ有効期間も過ぎているものであるが、分散台帳保存期間が2年となっているため保持された状態が維持されている。G-002は、データ有効期間が3年の分散台帳グループであるため、1つの分散台帳421に3年分のデータを格納するように構成している。2019年の利用開始から2021年では3年を経過していないため、まだ台帳タイプが「参照」に切り替わったものは存在していない状態である。本実施形態では、G-002をデータ有効期間ごとに分散台帳を切り替えるように説明を行っているが、G-001のように分散台帳を1年毎に切り替えて3年分のデータを保持することを制限するものではない。 The distributed ledger group ID is information that uniquely represents the distributed ledger group 431 to which each distributed ledger 421 belongs. In this embodiment, it can be seen that four distributed ledgers 421 belong to one of the two distributed ledger groups G-001 and G-002. In this embodiment, G-001 switches the distributed ledger 421 for each year of the data validity period. There are DL-003 of ledger type "registration", which is the registration destination of new data, and DL-002 and DL-001 of ledger type "reference", which have already been used for more than one year. DL-001 has passed its data validity period, but since the distributed ledger retention period is two years, it is maintained in a retained state. Since G-002 is a distributed ledger group with a data validity period of three years, one distributed ledger 421 is configured to store data for three years. Three years have not passed since the start of use in 2019 in 2021, so there is no ledger type that has been switched to "reference" yet. In this embodiment, G-002 is explained to switch the distributed ledger for each data validity period, but like G-001, the distributed ledger is switched every year and data for 3 years is held. It does not limit
 図17のブロックチェーン管理画面1700は、本実施形態におけるブロックチェーン装置111の分散台帳グループ管理1501、分散台帳グループ431、分散台帳421を管理するための画面例である。そして、ブロックチェーン装置111の各種作業を行うためのUIおよび機能を提供する。ブロックチェーン管理画面1700は、実施形態1同様にウェブブラウザとして構成されており、ウェブブラウザが持つメニューやURLの表示など標準で備わっているものに関しては説明を省略する。 A blockchain management screen 1700 in FIG. 17 is an example of a screen for managing the distributed ledger group management 1501, distributed ledger group 431, and distributed ledger 421 of the blockchain device 111 in this embodiment. It also provides a UI and functions for performing various operations of the blockchain device 111 . The blockchain management screen 1700 is configured as a web browser in the same manner as in the first embodiment, and the description of the standard features of the web browser, such as menus and URL displays, will be omitted.
 表示領域1701は、管理画面の構成要素を表示する領域である。図示していないが表示内容が多く領域に表示しきれない場合には上下左右のスクロールバーが表示され、すべてを表示することができるものとする。分散台帳グループ管理領域1702は、前述の表3および表4の分散台帳グループ管理と分散台帳グループのデータ構成をツリー構造で表示する領域である。本実施形態の分散台帳グループ管理はGM-001であるため、ツリーの第一階層は1つの分散台帳グループ管理名の表示となるが、複数の分散台帳グループ管理を持つ場合には第一階層に複数の分散台帳グループ管理名として表示する。また、第二階層としては、分散台帳グループ管理に属する分散台帳グループ名を表示する。表示されたツリー階層の名称は選択することが可能とする。入力領域1703、分散台帳グループ名1704、データ有効期間1705、分散台帳保存期間1706、利用開始日1707は、入力領域602、分散台帳グループ名603、データ有効期間604、分散台帳保存期間605、利用開始日606と同じである。そのため、説明を省略する。 A display area 1701 is an area for displaying the components of the management screen. Although not shown, when there are too many display contents to be displayed in the area, vertical and horizontal scroll bars are displayed so that all can be displayed. The distributed ledger group management area 1702 is an area for displaying the data configuration of the distributed ledger group management and the distributed ledger group in Tables 3 and 4 described above in a tree structure. Since the distributed ledger group management of this embodiment is GM-001, the first hierarchy of the tree displays one distributed ledger group management name. Display as multiple distributed ledger group management names. In addition, as the second layer, the name of the distributed ledger group belonging to the distributed ledger group management is displayed. The name of the displayed tree hierarchy can be selected. Input area 1703, distributed ledger group name 1704, data validity period 1705, distributed ledger retention period 1706, usage start date 1707 are input area 602, distributed ledger group name 603, data validity period 604, distributed ledger retention period 605, usage start Same as day 606 . Therefore, the description is omitted.
 グループ管理追加ボタン1708は、新規の分散台帳グループ管理データを作成するためのボタンである。任意のタイミングで押下することでテキスト入力エリアと確定ボタンを保持する標準的なダイアログを表示し、分散台帳グループ管理名を入力させる。OKボタン押下されることにより、表3に以下のデータを作成することでグループ管理情報を生成する。
 ・分散台帳グループ管理ID:表3の中で一意になるIDを自動発行
 ・分散台帳グループ管理名:テキスト入力エリアに入力された文字列
 ・URL:表3の中で一意となるURLを自動発行
A group management addition button 1708 is a button for creating new distributed ledger group management data. By pressing it at any time, a standard dialog with a text input area and a confirmation button is displayed, and the distributed ledger group management name is entered. By pressing the OK button, group management information is generated by creating the following data in Table 3.
・Distributed ledger group management ID: Automatically issues a unique ID in Table 3 ・Distributed ledger group management name: Character string entered in the text input area ・URL: Automatically issues a unique URL in Table 3
 生成後には、分散台帳グループ管理領域1702の第一階層に、分散台帳グループ管理名を表示する。 After generation, the distributed ledger group management name is displayed in the first layer of the distributed ledger group management area 1702.
 グループ追加ボタン1709は、新規の分散台帳グループデータを作成するためのボタンである。分散台帳グループ管理領域1702で第一階層の分散台帳管理グループを選択した際に、押下可能な状態となる。この状態では、入力領域1703の各入力エリアは未入力の状態として表示される。各入力エリアに所望の値を入力後に押下することで、後述の図18で説明する分散台帳グループ作成処理を開始する。分散台帳グループ作成処理が正常に終了したら、分散台帳グループ管理領域1702の第二階層に、登録した分散台帳グループ名を表示する。分散台帳切替ボタン1710は、分散台帳の役割を切り替える処理を行うためのボタンである。本ボタン押下時の処理は、実施形態1の図8で述べた分散台帳切替処理フローと同じである。分散台帳削除ボタン1711は、保存期間を過ぎた分散台帳の削除処理を行うためのボタンである。本ボタン押下時の処理は、実施形態1の図9で述べた分散台帳削除処理フローと同じである。 The add group button 1709 is a button for creating new distributed ledger group data. When the distributed ledger management group of the first layer is selected in the distributed ledger group management area 1702, it becomes a depressible state. In this state, each input area of the input area 1703 is displayed as a non-input state. By pressing after inputting a desired value in each input area, the distributed ledger group creation process described later with reference to FIG. 18 is started. When the distributed ledger group creation process ends normally, the registered distributed ledger group name is displayed in the second layer of the distributed ledger group management area 1702 . The distributed ledger switching button 1710 is a button for switching the role of the distributed ledger. The processing when this button is pressed is the same as the distributed ledger switching processing flow described in FIG. 8 of the first embodiment. The distributed ledger delete button 1711 is a button for performing a process of deleting a distributed ledger whose retention period has passed. The processing when this button is pressed is the same as the distributed ledger deletion processing flow described in FIG. 9 of the first embodiment.
 図18は本実施形態におけるブロックチェーン装置111の分散台帳グループ431を生成する処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111の分散台帳グループ生成処理を利用する手順を説明する。しかし、本フローチャートの処理は、例えばブロックチェーン装置111でスケジュールして定期実行するなどを制限するものではない。ブロックチェーン管理画面1700でグループ追加ボタン1709が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部1505に向けてグループ生成処理依頼を通知する。通信制御部1505で受信した生成処理依頼は、グループ管理処理制御部1507に渡されCPU201で実行される。その際、ブロックチェーン管理装置1700に入力された情報が、PC101からブロックチェーン装置111へ渡される。渡される情報は、分散台帳グループ名1704、データ有効期間1705、分散台帳保存期間1706、利用開始日1707と、分散台帳グループ管理領域1702で選択された分散台帳グループ管理IDである。 FIG. 18 is a flowchart showing the process of generating the distributed ledger group 431 of the blockchain device 111 in this embodiment. In this embodiment, a procedure for a user to use the distributed ledger group generation process of the blockchain device 111 via the web browser of the PC 101 will be described. However, the processing of this flowchart does not limit, for example, scheduling and periodic execution by the blockchain device 111 . An add group button 1709 is pressed on the blockchain management screen 1700 . Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 1505 of the blockchain device 111 of the group generation processing request. The generation processing request received by the communication control unit 1505 is passed to the group management processing control unit 1507 and executed by the CPU 201 . At that time, information input to the blockchain management device 1700 is passed from the PC 101 to the blockchain device 111 . The information to be passed is the distributed ledger group name 1704, the data validity period 1705, the distributed ledger retention period 1706, the usage start date 1707, and the distributed ledger group management ID selected in the distributed ledger group management area 1702.
 ステップS1801では、PC101から受け取った分散台帳グループ管理IDに合致する表4の分散台帳グループ情報をグループ管理データ保存部1506から取得する。ステップS1802では、ステップS1801で取得した分散台帳グループ情報の分散台帳グループ名の中に、PC101から受け取った分散台帳グループ名1704と同じ名称が存在しないかをチェックする。存在しない場合には次のステップS1803へ進み、存在する場合には、ステップS1806に進む。ステップS1803では、ステップS1801で取得した分散台帳グループ情報のデータ有効期間の中に、PC101から受け取ったデータ有効期間1705と同じ有効期間値が存在しないかをチェックする。存在しない場合には次のステップS1804へ進み、存在する場合には、ステップS1806に進む。 In step S1801, the distributed ledger group information in Table 4 that matches the distributed ledger group management ID received from the PC 101 is obtained from the group management data storage unit 1506. In step S1802, it is checked whether or not the same name as the distributed ledger group name 1704 received from the PC 101 exists in the distributed ledger group name of the distributed ledger group information acquired in step S1801. If it does not exist, the process proceeds to the next step S1803, and if it exists, the process proceeds to step S1806. In step S1803, it is checked whether or not the same validity period value as the data validity period 1705 received from the PC 101 exists in the data validity period of the distributed ledger group information acquired in step S1801. If it does not exist, the process proceeds to the next step S1804, and if it exists, the process proceeds to step S1806.
 ステップS1804では、PC101から受け取った分散台帳グループ名1704、データ有効期間1705、分散台帳保存期間1706、利用開始日1707、分散台帳グループ管理IDを用いて、分散台帳グループの生成処理を行う。本処理は、分散台帳グループ管理IDを表4に追加で設定する以外の処理は図7で説明した処理フローと同じであるため省略する。ステップS1805では、ステップS1804での分散台帳グループの生成処理の結果を処理依頼元であるPC101に対して結果を通知する。 In step S1804, the distributed ledger group generation process is performed using the distributed ledger group name 1704, data validity period 1705, distributed ledger retention period 1706, usage start date 1707, and distributed ledger group management ID received from the PC 101. This processing is the same as the processing flow described in FIG. In step S1805, the result of the distributed ledger group generation process in step S1804 is notified to the PC 101 which is the process request source.
 ステップS1806では、グループ生成処理に失敗した旨を処理依頼元であるPC101に対して結果を通知する。このフローチャートの処理を終了後、通知を受けたPC101では処理結果を画面上に表示することを行ってもよい。 In step S1806, the PC 101 that requested the processing is notified of the failure of the group generation processing. After completing the processing of this flowchart, the PC 101 that has received the notification may display the processing result on the screen.
 図19のブロックチェーンアクセス画面1900は、トランザクション401の登録や取得を実行するためにブロックチェーン装置111がユーザーに提供する画面例である。 A blockchain access screen 1900 in FIG. 19 is an example of a screen provided by the blockchain device 111 to the user in order to execute registration and acquisition of the transaction 401 .
 ブロックチェーンアクセス画面1900は、ウェブブラウザとして構成されており、ウェブブラウザが持つメニューやURLの表示など標準で備わっているものに関しては説明を省略する。本画面を表示するためには、表3に記載した分散台帳グループ管理情報のURLをウェブブラウザのアドレス欄に入力する。 The blockchain access screen 1900 is configured as a web browser, and descriptions of the standard features of the web browser, such as the menus and URL display, will be omitted. To display this screen, enter the URL of the distributed ledger group management information listed in Table 3 in the address field of the web browser.
 表示領域1901は、アクセス画面の構成要素を表示する領域である。図示していないが、表示内容が多く領域に表示しきれない場合には、上下左右のスクロールバーが表示され、すべてを表示することができるものとする。キー情報1902、登録データ1903については、図10のキー情報1002、登録データ1003と同じものであるため説明を省略する。 A display area 1901 is an area for displaying the components of the access screen. Although not shown, when there are too many display contents to be displayed in the area, vertical and horizontal scroll bars are displayed so that all can be displayed. Key information 1902 and registration data 1903 are the same as the key information 1002 and registration data 1003 in FIG.
 有効期間1904は、登録の際に指定するトランザクションの有効期間であり、この期間に合わせて保存する分散台帳グループを決定する。 The validity period 1904 is the transaction validity period specified at the time of registration, and the distributed ledger group to be stored is determined according to this period.
 登録ボタン1905は、前述のキー情報1902、登録データ1903、有効期間1904に値が入力されると有効化されるボタンであり、押下することにより図20で後述するトランザクション401の登録処理を実行する。取得ボタン1906は、前述のキー情報1902に値が入力されると有効化されるボタンであり図21で後述するトランザクション401の取得処理を実行する。この取得処理の際には、キー情報1902には、図21で後述するアクセス情報キーを指定してもよい。更新ボタン1907は、前述のキー情報1902、登録データ1903、有効期間1904に値が表示されると有効化されるボタンであり、押下することにより図22で後述するトランザクション401の更新処理を実行する。 A registration button 1905 is a button that is activated when values are entered in the key information 1902, the registration data 1903, and the validity period 1904. By pressing the registration button 1905, registration processing of the transaction 401, which will be described later with reference to FIG. 20, is executed. . An acquisition button 1906 is a button that is activated when a value is entered in the key information 1902 described above, and executes an acquisition process of a transaction 401, which will be described later with reference to FIG. During this acquisition process, an access information key, which will be described later with reference to FIG. An update button 1907 is a button that is activated when values are displayed in the key information 1902, the registration data 1903, and the validity period 1904. By pressing this button, update processing of the transaction 401, which will be described later with reference to FIG. 22, is executed. .
 図20は、本実施形態におけるブロックチェーン装置111での分散台帳421にトランザクション401を登録する処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111が管理する分散台帳にトランザクション401の登録を依頼する形式での説明を行う。しかし、本登録処理を他のシステムと連携して実行させる形式でも実現可能であり、処理形態を制限するものではない。ブロックチェーンアクセス画面1900でキー情報1902、登録データ1903、有効期間1904が入力され、登録ボタン1905が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部1505に向けてトランザクション登録処理依頼を通知する。通信制御部1505で受信したトランザクション登録処理依頼とキー情報1902、登録データ1903、有効期間1904の入力値はグループ管理処理制御部1507に渡され、CPU201で実行する。 FIG. 20 is a flowchart showing the process of registering the transaction 401 in the distributed ledger 421 in the blockchain device 111 of this embodiment. In this embodiment, a description will be given in which the user requests registration of the transaction 401 in the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 . However, it is also possible to execute the main registration process in cooperation with another system, and the processing form is not limited. Key information 1902, registration data 1903, and validity period 1904 are entered on the blockchain access screen 1900, and a registration button 1905 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 1505 of the blockchain device 111 of the transaction registration processing request. The transaction registration processing request received by the communication control unit 1505 and the input values of the key information 1902, registration data 1903, and validity period 1904 are passed to the group management processing control unit 1507 and executed by the CPU 201. FIG.
 ステップS2001では、PC101から受け取った有効期間1904を取得する。ステップS2002では、リクエストを受け取ったURLから対象となる表3の分散台帳グループ管理IDをグループ管理データ保存部1506から取得する。そして、取得した分散台帳グループ管理IDに合致する表4の分散台帳グループ情報をグループ管理データ保存部1506から取得する。ステップS2003では、ステップS2002で取得した分散台帳グループ情報のデータ有効期間とステップS2001で取得した有効期間1904の値を比較する。合致した値が存在する場合にはステップS2004に進み、合致した値が存在しなければステップS2008へ進む。 In step S2001, the validity period 1904 received from the PC 101 is acquired. In step S2002, the target distributed ledger group management ID in Table 3 is acquired from the group management data storage unit 1506 from the URL that received the request. Then, the distributed ledger group information of Table 4 that matches the obtained distributed ledger group management ID is obtained from the group management data storage unit 1506 . In step S2003, the data valid period of the distributed ledger group information acquired in step S2002 is compared with the value of the valid period 1904 acquired in step S2001. If there is a matching value, the process proceeds to step S2004, and if there is no matching value, the process proceeds to step S2008.
 ステップS2004では、ステップS2003で比較した際に合致した分散台帳グループ情報の分散台帳グループIDを取得する。ステップS2005では、ステップS2004で取得した分散台帳グループIDの分散台帳グループに対して、キー情報1902、登録データ1903を渡してトランザクション401の登録処理を行う。本処理は、グループ管理処理制御部1507から分散台帳管理処理制御部1504に依頼する形で実行するが、実施形態2の図13で説明したトランザクション登録処理フローと同じであるため、省略する。処理終了後、生成されたアクセス情報キーを受信する。 In step S2004, the distributed ledger group ID of the distributed ledger group information that matches when compared in step S2003 is acquired. In step S2005, the key information 1902 and the registration data 1903 are passed to the distributed ledger group of the distributed ledger group ID acquired in step S2004, and the transaction 401 is registered. This processing is executed by requesting the distributed ledger management processing control unit 1504 from the group management processing control unit 1507, but since it is the same as the transaction registration processing flow described in FIG. 13 of the second embodiment, it will be omitted. After the processing ends, the generated access information key is received.
 ステップS2006では、ステップS2005の処理結果として受け取ったアクセス情報キーに更にグループ情報を付与し、新たなアクセス情報キーを生成する。
 新アクセス情報キー=分散台帳グループID+ステップS2005で受信したアクセス情報キー
In step S2006, group information is added to the access information key received as the processing result of step S2005 to generate a new access information key.
New access information key = distributed ledger group ID + access information key received in step S2005
 これにより、本実施形態におけるアクセス情報キーは、以下の3つの要素を含むものとなる。
 ・分散台帳グループID
 ・分散台帳ID
 ・キー情報1902
As a result, the access information key in this embodiment includes the following three elements.
・Distributed ledger group ID
・Distributed ledger ID
Key information 1902
 このアクセス情報キーは、3つのデータを連結することで本実施形態の説明をしているが、実施形態2同様にこれを復号化できる形式であれば情報加工を行ってアクセス情報キー情報を隠蔽化するように構成してもよい。 This access information key is described in this embodiment by concatenating three pieces of data, but if it is in a format that can be decrypted as in the second embodiment, information processing is performed to hide the access information key information. It may be configured to be
 ステップS2007では、ステップS2006で生成したアクセス情報キーをPC101に対して通知する。ステップS2008では、登録する分散台帳が存在しない旨のエラーをPC101に対して通知する。本フローチャートの終了後、PC101の画面上では登録結果やエラーを画面上に表示するが、これはOSやウェブブラウザが所持する標準ダイアログ(不図示)を用いて行うものとし、本実施形態では説明を省略する。 In step S2007, the access information key generated in step S2006 is notified to the PC 101. In step S2008, the PC 101 is notified of an error that the distributed ledger to be registered does not exist. After the end of this flowchart, the registration result and error are displayed on the screen of the PC 101. This is done using a standard dialog (not shown) possessed by the OS or web browser, and is explained in this embodiment. omitted.
 図21は、ブロックチェーン装置111において所定の分散台帳421から登録データを取得する処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111が管理する分散台帳からトランザクション401の取得を依頼する形態での説明を行う。しかし、本登録処理を他のシステムと連携して実行させる形態でも実現可能であり、処理形態を制限するものではない。 FIG. 21 is a flowchart showing the process of acquiring registration data from a predetermined distributed ledger 421 in the blockchain device 111. In this embodiment, the user requests acquisition of the transaction 401 from the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 . However, it is also possible to execute the main registration process in cooperation with another system, and the processing form is not limited.
 ブロックチェーンアクセス画面1900でキー情報1902が入力され、取得ボタン1906が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部1505に向けてトランザクション取得処理依頼を通知する。この際、PC101はブロックチェーンアクセス画面1900で入力されたキー情報1902の値を共に送信する。通信制御部1505で受信したトランザクション取得処理依頼とキー情報1902の入力値は、グループ管理処理制御部1507に渡され、CPU201で実行する。本実施形態においては、キー情報1902には、前述の図20のステップS2001で登録時にユーザーが入力したキー情報1902、もしくはステップS2006で生成したアクセス情報キーの形式のデータがユーザーによって入力されることとなる。 The key information 1902 is entered on the blockchain access screen 1900, and the acquire button 1906 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 1505 of the blockchain device 111 of the transaction acquisition processing request. At this time, the PC 101 also transmits the value of the key information 1902 input on the blockchain access screen 1900 . The transaction acquisition processing request received by the communication control unit 1505 and the input value of the key information 1902 are passed to the group management processing control unit 1507 and executed by the CPU 201 . In this embodiment, the key information 1902 is the key information 1902 input by the user at the time of registration in step S2001 of FIG. becomes.
 ステップS2101では、PC101から受け取ったキー情報1902を取得する。ステップS2102では、取得したキー情報1902をアクセス情報キーの分散台帳グループIDと、分散台帳IDとキー情報1002を含んだアクセス情報キーの形式に分割する。そして、次のステップS2103で、アクセス情報キーの形式として分割できたかどうかを判定する。分割できた場合には、ステップS2104に進み、分割できない場合にはステップS2106に進む。 At step S2101, the key information 1902 received from the PC 101 is acquired. In step S<b>2102 , the acquired key information 1902 is divided into a distributed ledger group ID of the access information key and an access information key format including the distributed ledger ID and the key information 1002 . Then, in the next step S2103, it is determined whether or not the format of the access information key can be divided. If it can be divided, the process advances to step S2104, and if it cannot be divided, the process advances to step S2106.
 ステップS2104では、リクエストを受け取ったURLから対象となる表3の分散台帳グループ管理IDを、グループ管理データ保存部1506から取得する。そして、その分散台帳グループ管理IDとステップS2102で取得した分散台帳グループIDに合致する表4の分散台帳グループ情報をグループ管理データ保存部1506から取得し、RAM203に保存する。ステップS2105では、分散台帳グループ情報が取得できたかどうかを判定する。取得できた場合にはステップS2107に進み、取得できない場合にはRAM203に保存した分散台帳グループ情報を削除し、ステップS2106に進む。 In step S2104, the target distributed ledger group management ID in Table 3 is obtained from the group management data storage unit 1506 from the URL that received the request. Then, the distributed ledger group information of Table 4 that matches the distributed ledger group management ID and the distributed ledger group ID obtained in step S2102 is obtained from the group management data storage unit 1506 and saved in the RAM 203 . In step S2105, it is determined whether distributed ledger group information has been acquired. If it can be acquired, the process proceeds to step S2107, and if it cannot be acquired, the distributed ledger group information stored in the RAM 203 is deleted, and the process proceeds to step S2106.
 ステップS2106では、リクエストを受け取ったURLから対象となる表3の分散台帳グループ管理IDをグループ管理データ保存部1506から取得する。そして、その分散台帳グループ管理IDに合致する表4のすべての分散台帳グループ情報をグループ管理データ保存部1506から取得し、RAM203に保存する。 In step S2106, the target distributed ledger group management ID in Table 3 is obtained from the group management data storage unit 1506 from the URL that received the request. Then, all distributed ledger group information in Table 4 that matches the distributed ledger group management ID is acquired from the group management data storage unit 1506 and stored in the RAM 203 .
 ステップS2107では、ステップS2104もしくはステップS2106で取得した分散台帳グループ情報の中から1件を取得する。そして、ステップS2108で1件の分散台帳グループ情報が取得できたかを判定し、取得できればステップS2109に進み、取得できなければ指定されたキー情報の合致したトランザクション401は存在しなかったため、ステップS2112に進む。ステップS2109では、ステップS2107で取得した分散台帳グループ情報から分散台帳グループIDを取得する。そして、ステップS2102でアクセス情報キーが分割できた場合には、分割したのちのアクセス情報キーを用いてトランザクション検索処理を行う。分割できない場合にはステップS2101で受け取ったキー情報1902のいずれかと分散台帳グループIDとを用いてトランザクション検索処理を行う。この処理は、実施形態2の図14で説明したトランザクション検索処理と同じであるため、省略する。ここでは、処理終了後、検索結果のトランザクション401を受信する。 In step S2107, one item is acquired from the distributed ledger group information acquired in step S2104 or step S2106. Then, in step S2108, it is determined whether one distributed ledger group information has been acquired, and if it can be acquired, the process proceeds to step S2109. move on. In step S2109, a distributed ledger group ID is obtained from the distributed ledger group information obtained in step S2107. Then, when the access information key can be divided in step S2102, the transaction search processing is performed using the divided access information key. If it cannot be divided, transaction search processing is performed using one of the key information 1902 received in step S2101 and the distributed ledger group ID. Since this processing is the same as the transaction search processing described in FIG. 14 of the second embodiment, it will be omitted. Here, after the processing ends, the transaction 401 of the search result is received.
 ステップS2110では、ステップS2109で検索した結果所望のトランザクション401を取得できたかを判定する。取得できた場合には、ステップS2111に進み、トランザクション401が取得できなかった場合には次の分散台帳グループの検索を行うため、ステップS2107に進む。ステップS2111では、取得したトランザクション401のデータ403をPC101へ通知する。ステップS2112では、指定したキー情報1902に合致するトランザクションデータが存在しないエラーである旨をPC101に通知する。 In step S2110, it is determined whether the desired transaction 401 was obtained as a result of the search in step S2109. If the transaction 401 can be acquired, the process proceeds to step S2111, and if the transaction 401 cannot be acquired, the process proceeds to step S2107 to search for the next distributed ledger group. In step S2111, the data 403 of the acquired transaction 401 is notified to the PC 101. FIG. In step S2112, the PC 101 is notified that there is no transaction data that matches the designated key information 1902.
 図22は、ブロックチェーン装置111において有効期間の切れたトランザクションの有効期間更新処理を示したフローチャートである。本実施形態では、ユーザーがPC101のウェブブラウザを介してブロックチェーン装置111が管理する分散台帳からトランザクション401の有効期間更新を依頼する形態での説明を行う。しかし、本登録処理を他のシステムと連携して実行させる形態でも実現可能であり、処理形態を制限するものではない。 FIG. 22 is a flowchart showing validity period update processing for a transaction whose validity period has expired in the blockchain device 111 . In the present embodiment, a description will be given in which the user requests updating of the effective period of the transaction 401 from the distributed ledger managed by the blockchain device 111 via the web browser of the PC 101 . However, it is also possible to execute the main registration process in cooperation with another system, and the processing form is not limited.
 ブロックチェーンアクセス画面1900でキー情報1902が入力され、更新ボタン1907が押下される。これにより、本フローチャートは、PC101の通信制御部503からブロックチェーン装置111の通信制御部1505に向けてトランザクション有効期間更新処理依頼を通知する。この際、PC101はブロックチェーンアクセス画面1900で入力されたキー情報1902の値を共に送信する。通信制御部1505で受信したトランザクション有効期間更新処理依頼とキー情報1902の入力値は、グループ管理処理制御部1507に渡され、CPU201で実行する。本実施形態においては、キー情報1902には、前述の図20のステップS2001で登録時にユーザーが入力したキー情報1902、もしくはステップS2006で生成したアクセス情報キーの形式のデータがユーザーによって入力されることとなる。 The key information 1902 is entered on the blockchain access screen 1900, and the update button 1907 is pressed. Accordingly, in this flowchart, the communication control unit 503 of the PC 101 notifies the communication control unit 1505 of the blockchain device 111 of the transaction valid period update processing request. At this time, the PC 101 also transmits the value of the key information 1902 input on the blockchain access screen 1900 . The transaction valid period update processing request and the input value of the key information 1902 received by the communication control unit 1505 are passed to the group management processing control unit 1507 and executed by the CPU 201 . In this embodiment, the key information 1902 is the key information 1902 input by the user at the time of registration in step S2001 of FIG. becomes.
 ステップS2201からステップS2210までの処理は、前述の図21のステップS2101からステップS2110と同じ処理であるため、本フローチャートでは説明を省略する。 The processing from step S2201 to step S2210 is the same as the processing from step S2101 to step S2110 in FIG.
 ステップS2211では、トランザクション401の再登録を行う。ステップS2207で取得した分散台帳グループ情報の分散台帳グループIDを持つ分散台帳グループ431に対して、ステップS2209で取得したトランザクション401のキー情報402、登録データ403を渡す。そして、トランザクション401の再登録を行う。本処理は、グループ管理処理制御部1507から分散台帳管理処理制御部1504に依頼する形で実行するが、図20のステップS2005と同じであるため本フローチャートでは説明を省略する。本処理により、新しくトランザクションが台帳タイプ「登録」の分散台帳421に登録されることで、更新処理となる。 In step S2211, the transaction 401 is re-registered. The key information 402 and registration data 403 of the transaction 401 acquired in step S2209 are passed to the distributed ledger group 431 having the distributed ledger group ID of the distributed ledger group information acquired in step S2207. Then, the transaction 401 is re-registered. This processing is executed by requesting the distributed ledger management processing control unit 1504 from the group management processing control unit 1507, but since it is the same as step S2005 in FIG. 20, the description is omitted in this flowchart. By this process, a new transaction is registered in the distributed ledger 421 of the ledger type "registration", and the update process is performed.
 ステップS2212では、ステップS2211の処理結果として受け取ったアクセス情報キーに更にグループ情報を付与し、新たなアクセス情報キーを生成する。この処理もステップS2006と同じであるため、説明を省略する。 In step S2212, group information is added to the access information key received as the processing result of step S2211 to generate a new access information key. Since this process is also the same as step S2006, the description is omitted.
 ステップS2213では、ステップS2006で生成したアクセス情報キーをPC101に対して通知する。ステップS2214では、有効期間の更新処理のエラーをPC101に対して通知する。本フローチャートの終了後、PC101の画面上では更新処理結果やエラーを画面上に表示するが、これはOSやウェブブラウザが所持する標準ダイアログ(不図示)を用いて行うものとし、本実施形態では説明を省略する。 In step S2213, the access information key generated in step S2006 is notified to the PC 101. In step S2214, the PC 101 is notified of an error in the validity period updating process. After the end of this flowchart, the PC 101 displays the result of update processing and errors on the screen. Description is omitted.
 以上、説明したように、実施形態3によれば、実施形態1および実施形態2に加えて、複数の分散台帳グループを管理し、有効期間の異なる情報の管理を一元的に行えるように構成し、ユーザーに提供する。それにより、幅広いユーザーの業務に適用することが可能となる。 As described above, according to Embodiment 3, in addition to Embodiments 1 and 2, a plurality of distributed ledger groups are managed, and information with different validity periods is configured to be centrally managed. , provided to the user. As a result, it becomes possible to apply it to the work of a wide range of users.
 本発明は上記実施の形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために以下の請求項を添付する。 The present invention is not limited to the above embodiments, and various changes and modifications are possible without departing from the spirit and scope of the present invention. Accordingly, the following claims are included to publicize the scope of the invention.
 本願は、2021年7月28日提出の日本国特許出願特願2021-123271を基礎として優先権を主張するものであり、その記載内容の全てをここに援用する。 This application claims priority based on Japanese Patent Application No. 2021-123271 filed on July 28, 2021, and the entire contents thereof are incorporated herein.

Claims (12)

  1.  新規トランザクション登録処理と登録済みトランザクション取得処理を行う登録ブロックチェーン分散台帳と、新規トランザクション登録処理は行わず、登録済みトランザクション取得処理を行う参照ブロックチェーン分散台帳とを含む複数のブロックチェーン分散台帳を記憶する記憶手段と、
     参照ブロックチェーン分散台帳を削除する指示を受けて、前記参照ブロックチェーン分散台帳を削除する削除手段を有することを特徴とする情報処理装置。
    Stores multiple blockchain distributed ledgers, including a registered blockchain distributed ledger that performs new transaction registration processing and registered transaction acquisition processing, and a reference blockchain distributed ledger that performs registered transaction acquisition processing without performing new transaction registration processing a storage means for
    An information processing apparatus, comprising deletion means for deleting the reference blockchain distributed ledger in response to an instruction to delete the reference blockchain distributed ledger.
  2.  前記参照ブロックチェーン分散台帳の最終ブロックのハッシュ値が、前記ブロックチェーン分散台帳とは異なるブロックチェーン分散台帳の最初のトランザクションとして登録されていることを特徴とする請求項1に記載の情報処理装置。 The information processing device according to claim 1, wherein the hash value of the final block of the reference blockchain distributed ledger is registered as the first transaction of a blockchain distributed ledger different from the blockchain distributed ledger.
  3.  前記参照ブロックチェーン分散台帳を削除する際、前記参照ブロックチェーン分散台帳の最終ブロックのハッシュ値を、前記登録ブロックチェーン分散台帳のトランザクションとして登録する登録手段をさらに有することを特徴とする請求項2に記載の情報処理装置。 3. The method according to claim 2, further comprising registration means for registering a hash value of the final block of the reference blockchain distributed ledger as a transaction of the registered blockchain distributed ledger when deleting the reference blockchain distributed ledger. The information processing device described.
  4.  前記複数のブロックチェーン分散台帳は、それぞれ、前記ブロックチェーン分散台帳のトランザクションデータの有効期間情報と関連つけられて記憶されていることを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。 4. The plurality of blockchain distributed ledgers according to any one of claims 1 to 3, wherein each of said plurality of blockchain distributed ledgers is stored in association with valid period information of transaction data of said blockchain distributed ledger. Information processing equipment.
  5.  前記記憶手段は、複数の参照ブロックチェーン分散台帳を記憶し、
     前記複数の参照ブロックチェーン分散台帳は、トランザクションデータの有効期間が異なることを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。
    The storage means stores a plurality of reference blockchain distributed ledgers,
    5. The information processing apparatus according to any one of claims 1 to 4, wherein said plurality of reference blockchain distributed ledgers have different effective periods of transaction data.
  6.  前記記憶手段は、複数の登録ブロックチェーン分散台帳を記憶し、
     前記複数の登録ブロックチェーン分散台帳は、トランザクションデータの有効期間が異なることを特徴とする請求項1乃至5の何れか1項に記載の情報処理装置。
    The storage means stores a plurality of registered blockchain distributed ledgers,
    6. The information processing apparatus according to any one of claims 1 to 5, wherein the plurality of registered blockchain distributed ledgers have different effective periods of transaction data.
  7.  情報処理装置の制御方法であって、
     新規トランザクション登録処理と登録済みトランザクション取得処理を行う登録ブロックチェーン分散台帳と、新規トランザクション登録処理は行わず、登録済みトランザクション取得処理を行う参照ブロックチェーン分散台帳とを含む複数のブロックチェーン分散台帳を前記情報処理装置の記憶部にする記憶工程と、
     参照ブロックチェーン分散台帳を削除する指示を受けて、前記参照ブロックチェーン分散台帳を削除する削除工程を有することを特徴とする情報処理装置の制御方法。
    A control method for an information processing device,
    A plurality of blockchain distributed ledgers including a registered blockchain distributed ledger that performs new transaction registration processing and registered transaction acquisition processing, and a reference blockchain distributed ledger that does not perform new transaction registration processing but performs registered transaction acquisition processing A step of storing in a storage unit of an information processing device;
    A control method for an information processing device, comprising: receiving an instruction to delete a reference blockchain distributed ledger and deleting the reference blockchain distributed ledger.
  8.  前記参照ブロックチェーン分散台帳の最終ブロックのハッシュ値が、前記ブロックチェーン分散台帳とは異なるブロックチェーン分散台帳の最初のトランザクションとして登録されていることを特徴とする請求項7に記載の情報処理装置の制御方法。 8. The information processing apparatus according to claim 7, wherein a hash value of the last block of said reference blockchain distributed ledger is registered as a first transaction of a blockchain distributed ledger different from said blockchain distributed ledger. control method.
  9.  前記参照ブロックチェーン分散台帳を削除する際、前記参照ブロックチェーン分散台帳の最終ブロックのハッシュ値を、前記登録ブロックチェーン分散台帳のトランザクションとして登録する登録工程をさらに有することを特徴とする請求項8に記載の情報処理装置の制御方法。 9. The method according to claim 8, further comprising, when deleting the reference blockchain distributed ledger, registering a hash value of the last block of the reference blockchain distributed ledger as a transaction of the registered blockchain distributed ledger. A control method for the described information processing apparatus.
  10.  前記複数のブロックチェーン分散台帳は、それぞれ、前記ブロックチェーン分散台帳のトランザクションデータの有効期間情報と関連つけられて記憶されていることを特徴とする請求項7乃至9の何れか1項に記載の情報処理装置の制御方法。 10. The blockchain distributed ledger according to any one of claims 7 to 9, wherein each of said plurality of blockchain distributed ledgers is stored in association with validity period information of transaction data of said blockchain distributed ledger. A control method for an information processing device.
  11.  前記記憶手段は、複数の参照ブロックチェーン分散台帳を記憶し、
     前記複数の参照ブロックチェーン分散台帳は、トランザクションデータの有効期間が異なることを特徴とする請求項7乃至10の何れか1項に記載の情報処理装置の制御方法。
    The storage means stores a plurality of reference blockchain distributed ledgers,
    11. The method of controlling an information processing apparatus according to claim 7, wherein said plurality of reference blockchain distributed ledgers have different effective periods of transaction data.
  12.  前記記憶手段は、複数の登録ブロックチェーン分散台帳を記憶し、
     前記複数の登録ブロックチェーン分散台帳は、トランザクションデータの有効期間が異なることを特徴とする請求項7乃至11の何れか1項に記載の情報処理装置の制御方法
    The storage means stores a plurality of registered blockchain distributed ledgers,
    12. The control method for an information processing apparatus according to claim 7, wherein said plurality of registered blockchain distributed ledgers have different effective periods of transaction data.
PCT/JP2022/026361 2021-07-28 2022-06-30 Information processing device and method for controlling same WO2023008092A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021123271A JP2023018905A (en) 2021-07-28 2021-07-28 Information processing device and control method therefor
JP2021-123271 2021-07-28

Publications (1)

Publication Number Publication Date
WO2023008092A1 true WO2023008092A1 (en) 2023-02-02

Family

ID=85086756

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/026361 WO2023008092A1 (en) 2021-07-28 2022-06-30 Information processing device and method for controlling same

Country Status (2)

Country Link
JP (1) JP2023018905A (en)
WO (1) WO2023008092A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019207804A1 (en) * 2018-04-27 2019-10-31 株式会社東芝 Tampering detection system and tampering detection method
US20200213090A1 (en) * 2018-12-27 2020-07-02 Lendingclub Corporation Multi-layered blockchain for digital assets
JP6808109B1 (en) * 2020-03-04 2021-01-06 三菱電機株式会社 Management device, management method, and management program
JP6833132B1 (en) * 2020-04-27 2021-02-24 三菱電機株式会社 Management device, management method, and management program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019207804A1 (en) * 2018-04-27 2019-10-31 株式会社東芝 Tampering detection system and tampering detection method
US20200213090A1 (en) * 2018-12-27 2020-07-02 Lendingclub Corporation Multi-layered blockchain for digital assets
JP6808109B1 (en) * 2020-03-04 2021-01-06 三菱電機株式会社 Management device, management method, and management program
JP6833132B1 (en) * 2020-04-27 2021-02-24 三菱電機株式会社 Management device, management method, and management program

Also Published As

Publication number Publication date
JP2023018905A (en) 2023-02-09

Similar Documents

Publication Publication Date Title
JP5656563B2 (en) Document management system, document management system control method, and program
US8706779B2 (en) System and method for data storage
US9098538B2 (en) Master data management versioning
EP3519986B1 (en) Direct table association in in-memory databases
EP3864504B1 (en) Changeset conflict rebasing
CN105868228A (en) In-memory database system providing lockless read and write operations for OLAP and OLTP transactions
US8805924B2 (en) Optimistic concurrency utilizing distributed constraint enforcement
JP2008305094A (en) Documentation management method and its apparatus
CN109952564A (en) The formation and manipulation of test data in Database Systems
JP2011065546A (en) File search system and program
CN109564529A (en) Placeholder based on Symbolic Links
JP5357068B2 (en) Information processing apparatus, information processing system, data archive method, and data deletion method
US7685159B2 (en) Creating content associations through visual techniques in a content framework system
JP2006344171A (en) Information processing apparatus, control method thereof, computer program, and storage medium
WO2009147847A1 (en) Database parallel editing method
JP2016167160A (en) Document management client apparatus and document management method
JP2006031608A (en) Computer, storage system, file management method which computer performs, and program
WO2023008092A1 (en) Information processing device and method for controlling same
JP2009211403A (en) File search program
CN105378709A (en) Systems and methods for file management by mobile computing devices
CN109359100A (en) The visual modeling method of PB grades of historical datas and online data calculated in real time
JP4659537B2 (en) File providing method, storage device, and file providing program
JP4855537B2 (en) Database parallel editing method
Lorenz et al. Versionable, branchable, and mergeable application state
US20200167310A1 (en) Systems, methods, storage media, and computing platforms for managing data files

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22849159

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22849159

Country of ref document: EP

Kind code of ref document: A1