Data management device and data management method
The data management system uses distributed ledger technology to manage timestamp tokens through two ledgers, addressing tampering resistance and extending token validity by requiring simultaneous alteration of subsequent records, thus ensuring data integrity.
Patent Information
- Application Number
- JP2021154131
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-09-22
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-09-22
AI Technical Summary
Existing data certification systems using timestamp tokens do not adequately address the issue of tampering resistance and the validity of tokens beyond their expiration date, despite efforts to reduce processing load.
A data management system utilizing distributed ledger technology with two interconnected ledgers: one for storing hash values of data records and another for timestamp tokens, ensuring that tampering with timestamp tokens requires altering all subsequent records, thereby maintaining their validity even after expiration.
The system effectively proves the validity of expired timestamp tokens and enhances tampering resistance by requiring simultaneous alteration of all subsequent records, effectively extending the timestamp token's validity and ensuring data integrity.
Smart Images

Figure 0007564071000001 
Figure 0007564071000002 
Figure 0007564071000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a data management device and a data management method that manage data using distributed ledger technology. [Background technology]
[0002] Conventionally, by obtaining a timestamp token for electronic data, it is possible to prove that the electronic data existed at the time recorded in the timestamp token (proof of existence) and to prove that the electronic data has not been tampered with after that time (proof of integrity).
[0003] Here, time stamp tokens have an expiration date, so methods are being considered for performing existence proofs and integrity proofs beyond the expiration date of time stamp tokens.
[0004] For example, Japanese Patent Application Laid-Open Publication No. 2014-42214 discloses a data certification system that uses time stamp technology to execute a process to extend the validity period of a long-term signature. This data certification system creates an ESR table that compiles original certification information (ES-A) that certifies the non-tampering of multiple original files, and executes a process to extend the validity period of the ESR table. This reduces the processing load compared to the case where a process to extend the validity period is executed for each ES-A (see Patent Document 1). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2014-42214 A Summary of the Invention [Problem to be solved by the invention]
[0006] The data certification system disclosed in Patent Document 1 takes measures to reduce the processing load of the system, but does not consider improving the tamper resistance of the time stamp token.
[0007] The present disclosure has been made to solve the above-mentioned problems, and the purpose of the present disclosure is to make it possible to prove the validity of a timestamp token that has exceeded its expiration date, while improving the tamper-resistance of the timestamp token. [Means for solving the problem]
[0008] (1) A data management device according to an aspect of the present disclosure is a data management device that manages data using distributed ledger technology. The data management device includes a storage device that stores a distributed ledger, a control device that updates the distributed ledger, and a communication device configured to be able to communicate with a time stamp authority that grants a time stamp token. The distributed ledger includes a first distributed ledger that chronologically stores records including information about data, and a second distributed ledger that chronologically stores records including time stamp tokens obtained from the time stamp authority. The control device obtains, via the communication device, a first time stamp token from the time stamp authority, which is a time stamp token for information about an end record of the first distributed ledger, and stores a record including the first time stamp token in the second distributed ledger.
[0009] According to the above configuration, the first time stamp token obtained for information on the terminal record of the first distributed ledger is managed in the second distributed ledger. In order to tamper with the first time stamp token stored in the second distributed ledger, all subsequent records of the record including the time stamp token must be tampered with, making it difficult to tamper with the first time stamp token. Even if a first time stamp token stored in the second distributed ledger expires, it is possible to prove that the expired first time stamp token has not been tampered with by the subsequent records of the record including the first time stamp token. Therefore, even if the first time stamp token expires, its validity can be proven.
[0010] (2) In one embodiment, the information about the terminal record in the first distributed ledger is a hash value of the terminal record.
[0011] According to the above configuration, a time stamp token is obtained for a hash value of a terminal record stored in the first distributed ledger. In other words, since the record itself stored in the first distributed ledger is not sent to the time stamp authority, the record itself can be kept secret when obtaining the time stamp token.
[0012] (3) In one embodiment, a first time stamp token is obtained in response to a user operation on the data management device.
[0013] According to the above configuration, a user can obtain a first time stamp token at any timing and store the first time stamp token in the two distributed ledgers.
[0014] (4) In one embodiment, when a record is added to the first distributed ledger, the control device obtains a first timestamp token for the record.
[0015] According to the above configuration, each time a record is added to the first distributed ledger, a first timestamp token can be automatically obtained and the first timestamp token can be stored in the second distributed ledger.
[0016] (5) In one embodiment, the control device obtains a second timestamp token, which is a timestamp token for information about the terminal record of the second distributed ledger, from the time-stamp authority via the communication device, and stores a record including the second timestamp token in the second distributed ledger.
[0017] According to the above configuration, by acquiring the second timestamp token for information about a terminal record in the second distributed ledger, it is possible to prove the existence and completeness of information about the terminal record. If it is possible to prove the existence and completeness of information about the terminal record, it is possible to prove that records (i.e., timestamp tokens) stored in the second distributed ledger before the terminal record have not been tampered with.
[0018] (6) In one embodiment, the control device obtains a second time stamp token in response to a user operation on the data management device.
[0019] According to the above configuration, a user can obtain a second time stamp token at any timing and store the second time stamp token in the two distributed ledgers.
[0020] (7) In one embodiment, the control device acquires the second timestamp token when a predetermined time has elapsed since the previous acquisition of the second timestamp token.
[0021] According to the above configuration, the second time stamp token can be automatically obtained every time a predetermined time elapses, and the second time stamp token can be stored in the two distributed ledgers.
[0022] (8) In an embodiment, the communication device is further configured to be able to communicate with an external server different from the data management device. The control device transmits information regarding a terminal record of the second distributed ledger at a given point in time to the external server via the communication device.
[0023] According to the above configuration, information about the end record of the second distributed ledger is separated from the data management device and is also managed in the external server. In order to tamper with the timestamp token (the first timestamp token and / or the second timestamp token) managed in the second distributed ledger, both the timestamp token managed in the data management device and the information about the end record managed in the external server must be tampered with. This can improve the tamper resistance of the timestamp token.
[0024] (9) In one embodiment, the information about the terminal record in the second distributed ledger is a hash value of the terminal record.
[0025] According to the above configuration, a time stamp token is obtained for a hash value of a terminal record stored in the second distributed ledger. In other words, since the record itself stored in the second distributed ledger is not sent to the time stamp authority, the record itself can be kept secret when obtaining the time stamp token.
[0026] (10) A data management method according to another aspect of the present disclosure is a data management method using a data management device that manages data using distributed ledger technology. The data management device includes a storage device that stores a distributed ledger, a control device that updates the distributed ledger, and a communication device configured to be able to communicate with a time stamp authority that grants a time stamp token. The distributed ledger includes a first distributed ledger that chronologically stores records including information about data, and a second distributed ledger that chronologically stores records including a time stamp token obtained from the time stamp authority. The data management method includes the steps of obtaining, via the communication device, a first time stamp token from the time stamp authority, the first time stamp token being a time stamp token for information about an end record of the first distributed ledger, and storing the record including the first time stamp token in the second distributed ledger.
[0027] (11) In one embodiment, the method further includes the steps of obtaining, via a communication device, a second time stamp token from a time stamp authority, the second time stamp token being a time stamp token for information about the terminal record in the second distributed ledger, and storing a record including the second time stamp token in the second distributed ledger. Effect of the Invention
[0028] According to the present disclosure, it is possible to prove the validity of a time stamp token that has passed its expiration date, and to improve the tamper-resistance of the time stamp token. [Brief description of the drawings]
[0029] [Figure 1] FIG. 1 is a diagram showing a schematic configuration of a data management system according to a first embodiment. [Diagram 2] FIG. 1 is a diagram illustrating an example of the configuration of a distributed ledger set. [Diagram 3] FIG. 1 is a diagram illustrating an update to a distributed ledger set. [Figure 4] FIG. 4 is a functional block diagram of a control device for executing a process responsive to a first operation. [Diagram 5]FIG. 11 is a functional block diagram of a control device for executing a process responsive to a second operation. [Figure 6] FIG. 11 is a functional block diagram of a control device for executing a process in response to a third operation. [Figure 7] FIG. 4 is a functional block diagram of a control device for executing a process in response to a fourth operation. [Figure 8] FIG. 4 is a functional block diagram of a control device for executing received transaction data. [Figure 9] 13 is a flowchart showing a procedure for generating transaction data when a first request is received. [Figure 10] 13 is a flowchart showing a procedure for generating transaction data when a second request is received. [Figure 11] 13 is a flowchart showing a procedure for generating transaction data when a third request is received. [Figure 12] 13 is a flowchart showing a procedure of a process performed when a fourth request is received. [Figure 13] 11 is a flowchart showing a procedure of a process executed when transaction data is received. [Figure 14] FIG. 11 is a diagram showing a schematic configuration of a data management system according to a second embodiment. [Figure 15] A diagram showing an example of the configuration of a ledger set. [Figure 16] 4A and 4B are diagrams illustrating an example of a configuration of a suspension table. [Figure 17] FIG. 13 is a diagram illustrating an example of the configuration of a commit table. [Figure 18] 13 is a flowchart showing a procedure of a process executed in the data management system when an update request is received. [Figure 19] 13 is a flowchart showing a process procedure when a fourth request is received in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0030] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference characters, and the description thereof will not be repeated.
[0031] [Embodiment 1] <Overall configuration of the data management system> FIG. 1 is a diagram showing a schematic configuration of a data management system 1 according to the first embodiment. The data management system 1 according to the first embodiment is a system for forming a consortium network (hereinafter also simply referred to as "network") NW among a plurality of companies and managing data using distributed ledger technology. The data management system 1 according to the first embodiment manages data of parts that constitute a vehicle (hereinafter also simply referred to as "parts data"). The parts data may be, for example, a specification sheet of the parts. Note that the data managed by the data management system 1 is not limited to data of parts that constitute a vehicle, and may be various types of data.
[0032] 1, the data management system 1 includes four client servers 2, a platform server 5, a Time Stamp Authority (TSA) 8, and an external server 9. Each of the four client servers 2 belongs to a different company (for example, company A, company B, company C, and company D).
[0033] The platform server 5 manages the network NW. The platform server 5 accepts applications for participation in the network NW from each client server 2. The platform server 5 permits the client server 2 to participate in the network NW based on an operation by an administrator of the platform server 5 to permit participation or based on the result of judging a predetermined condition. In the first embodiment, four client servers 2 belonging to each of companies A, B, C, and D are permitted to participate in the network NW.
[0034] The four client servers 2 form a network NW, and store hash values of part data in each distributed ledger. Distributed ledger platform software is installed in each of the client servers 2, and each of the client servers 2 functions as a node by the function of the installed distributed ledger platform software. In the following, the client server 2 of company A will be described as a representative, but the client servers 2 of companies B, C, and D have the same configuration and function. The client server 2 corresponds to an example of a "data management device" according to the present disclosure. In the data management system 1 according to the first embodiment, an example in which the network NW includes four client servers will be described, but the number of client servers 2 included in the network NW is arbitrary, and may be, for example, less than four or five or more.
[0035] The client server 2 is configured to be able to communicate with a user terminal device 7. The user terminal device 7 is, for example, a desktop PC (Personal Computer), a notebook PC, a tablet terminal, a smartphone, or any other information processing terminal having a communication function, loaned to an employee of the A company.
[0036] A database 4 is also connected to the client server 2. The database 4 stores part data. The database 4 registers and updates the part data in accordance with a control signal from the client server 2. For example, a user of the client server 2 (e.g., an employee of Company A) can request an update of the part data by operating an input device 25 (described later) of the client server 2, or by operating a user terminal device 7. The client server 2 (control device 21) generates a control signal for storing (registering / updating) the part data in accordance with an input to the input device 25 or a request from the user terminal device 7, and outputs the control signal to the database 4.
[0037] When the client server 2 stores (registers / updates) part data in the database 4, it generates a hash value of the part data and generates transaction data for storing the hash value in the distributed ledger. The client server 2 then transmits the generated transaction data to other client servers 2 forming the network NW, i.e., the client servers 2 of companies B, C, and D. The distributed ledger stores the hash values of the part data in chronological order and forms an evidence chain to prove the existence of the part data.
[0038] The time-stamp authority 8 includes a server belonging to a certification authority that issues time-stamp tokens. The time-stamp authority issues a time-stamp token in response to a time-stamp issuance request from an applicant (client server 2 in the first embodiment). More specifically, the time-stamp authority transmits to the applicant a time-stamp token that combines data received from the applicant (a record hash value, described below, in the first embodiment) with time information based on a time source that is traceable to international standard time.
[0039] The external server 9 is a server managed by a management entity that is not any of Company A, Company B, Company C, or Company D. The external server 9 is configured to be capable of communicating with the client server 2. The external server 9 receives a client certificate, which will be described later, from the client server 2, and manages the received client certificate.
[0040] The client server 2 includes a control device 21, a ROM (Read Only Memory) 22, a RAM (Random Access Memory) 23, a communication device 24, an input device 25, a display device 26, and a storage device 27. The control device 21, the ROM 22, the RAM 23, the communication device 24, the input device 25, the display device 26, and the storage device 27 are connected to a bus 29.
[0041] The control device 21 is configured, for example, by an integrated circuit including a CPU (Central Processing Unit). The control device 21 loads various programs stored in the ROM 22 into the RAM 23 and executes them. The various programs include an operating system and the like. The RAM 23 functions as a working memory and temporarily stores various data required for executing the various programs. The control device 21 has functions to update the part data recorded in the database 4, generate transaction data for updating the distributed ledger, and acquire timestamp tokens, which will be described in detail later.
[0042] The communication device 24 is configured to be capable of communicating with external devices. The external devices include, for example, other client servers 2, user terminal devices 7, time stamping authorities 8, and external servers 9. The communication between the communication device 24 and the external devices is performed using the Internet, a wide area network (WAN), a local area network (LAN), an Ethernet (registered trademark) network, a public network, a private network, a wired network, a wireless network, or the like, or a combination of these.
[0043] The input device 25 includes an input device, such as a mouse, a keyboard, a touch panel, and / or other device capable of receiving a user's operation.
[0044] The display device 26 includes a display. The display device 26 displays various images on the display according to a control signal from the control device 21. The display is, for example, a liquid crystal display, an organic EL (Electro Luminescence) display, or other display device.
[0045] The storage device 27 includes a storage medium such as a hard disk or a flash memory. The storage device 27 stores a private key 271, a plurality of public keys 272, and a distributed ledger set 50.
[0046] The private key 271 is the private key of company A. For example, when the client server 2 first joins the network NW, the control device 21 generates a private key and a public key. Then, the control device 21 transmits the generated public key to a certification authority (not shown) for authentication. The certification authority is a certification organization that issues electronic certificates. The certification authority issues an electronic certificate including information on the public key. The control device 21 stores the private key 271 corresponding to the authenticated public key in the storage device 27. The control device 21 also transmits the authenticated public keys (electronic certificates) 272 to the client servers 2 of companies B, C and D.
[0047] The multiple public keys 272 include a public key of company B, a public key of company C, and a public key of company D. The control device 21 stores public keys received from other client servers 2 in the storage device 27. The storage device 27 may also store its own (company A's) public key.
[0048] The distributed ledger set 50 includes multiple distributed ledgers. FIG. 2 is a diagram showing an example of the configuration of the distributed ledger set 50. In the first embodiment, an example is described in which one part constituting a vehicle is managed by the data management system 1. Hereinafter, the part whose data is managed in the distributed ledger is also referred to as the "target part." Furthermore, the part data of the target part is also referred to as the "target data."
[0049] The distributed ledger set 50 includes two distributed ledgers 51 and 52. The distributed ledger 51 stores the update state of the target data in chronological order and functions as an evidence chain for the target data (hereinafter also referred to as the "first evidence chain"). The distributed ledger 52 stores the timestamp tokens in chronological order and functions as an evidence chain for the timestamp tokens (hereinafter also referred to as the "second evidence chain").
[0050] The distributed ledger 51 stores records including hash values of target data in chronological order. The records include the following information: "Key", "Age", "Obj-HV", "Nonce", "Sig", "Prev-HV", and "HV".
[0051] The key is information indicating the ID of the target part. The target part is assigned an ID of k1. The key can also be said to be an ID for identifying the distributed ledgers 51 and 52. The distributed ledger 51 stores records including a key of k1 in chronological order, and the distributed ledger 52 stores records including a key of k2 in chronological order.
[0052] Age is information indicating the generation of a record. In the first record of a target part stored in the distributed ledger 51, Age is 0. When the target part is updated and a record is added, Age is incremented.
[0053] Obj-HV is a hash value of the target data. For example, when the target data stored in the database 4 is updated, a hash value of the updated target data is generated and designated as Obj-HV. The hash value is a numerical value obtained as a result of hashing the target data using a hash function.
[0054] Nonce is a nonce value indicating the number of transaction data. That is, for example, when target data stored in the database 4 is updated, the nonce value is generated by the client server 2 (control device 21) as a processing number for storing the hash value of the updated target data in the distributed ledger 51. The nonce value is a hash value that is cryptographically difficult to collide with.
[0055] Sig is an electronic signature created using the private key 271 of the client server 2 that issued the transaction data. The electronic signature is created, for example, by encrypting Obj-HV (i.e., the hash value of the target data) with the private key 271. Alternatively, the electronic signature may be created, for example, by encrypting a nonce (nonce value) with the private key 271.
[0056] Prev-HV is the hash value of the record (parent record) of the generation immediately before the latest (end) record. In other words, Prev-HV is the HV of the parent record.
[0057] The HV is a hash value of a record. Specifically, the HV is a hash value of the information of the record excluding the HV (Key, Age, Obj-HV, Nonce, Sig, and Prev-HV) (hereinafter also referred to as a "record hash value").
[0058] For example, as shown in FIG. 2, when the latest (terminal) record (record with Age "2") of the distributed ledger 51 is focused on, the Prev-HV of the terminal record is "H2", which is the HV of the parent record (Age "1"). Next, when the part data of the first part is updated and a record with Age "3" is added, the Prev-HV of the record with Age "3" becomes "H3", which is the HV of the record with Age "2". In this way, the terminal record has a structure including the record hash value of the parent record. In other words, a record chain is realized between the Prev-HV of the terminal record and the HV of the parent record. In this way, the distributed ledger 51 has a DAG (Directed Acyclic Graph) structure.
[0059] Distributed ledger 52 stores records including timestamp tokens in chronological order. The records include the information "Key", "Age", "Obj-HV", "Nonce", "Sig", "Prev-HV", and "HV". The details of the information "Age", "Nonce", "Sig", "Prev-HV", and "HV" are similar to those of the records in distributed ledger 51, and therefore will not be described repeatedly.
[0060] The Key is information indicating the ID of the time stamp token obtained from the time stamp authority 8. The time stamp token is assigned an ID of k2.
[0061] Obj-HV is the value of the timestamp token. As described later, Obj-HV stores a timestamp token obtained for the record hash value of the distributed ledger 51 or a timestamp token obtained for the record hash value of the distributed ledger 52.
[0062] The control device 21 of the client server 2 has a function of responding to first to fourth operations which will be explained below.
[0063] <1st operation> 1 and 2, for example, a user of client server 2 can perform an operation on input device 25 or user terminal device 7 to register target data in database 4, or an operation to update target data registered in database 4. In the following, the above-mentioned operations for registering and updating are collectively referred to as a "first operation."
[0064] When the first operation is performed, the input device 25 or the user terminal device 7 outputs a first request indicating that the first operation has been performed in response to the first operation. In response to the first request, the client server 2 (control device 21) registers the target data in the database 4 or updates the target data stored in the database 4. Then, the client server 2 (control device 21) generates transaction data for adding a record including a hash value of the registered or updated target data to the distributed ledger 51. This transaction data includes information on "Key", "Age", "Obj-HV", "Nonce", "Sig", "Prev-HV", and "HV".
[0065] The transaction data may further include time information at which the transaction data is broadcast (sent to the network NW) to the network NW, and sender information of the transaction data. The time information may be, for example, information indicating the time at which the target data was recorded in the database 4. The sender information is, for example, information indicating Company A. In addition, the sender information of the transaction data may be, in more detail, information indicating the department (a division of Company A) that performed the operation of sending the transaction data to the network NW, or information indicating an individual (an employee of Company A) that performed the operation of sending the transaction data to the network NW.
[0066] As this transaction data is processed, a record including a hash value of the registered or updated target data is added to the distributed ledger 51.
[0067] <Second operation> In addition, the user of the client server 2 can perform an operation (hereinafter also referred to as a “second operation”) on the input device 25 or the user terminal device 7 to obtain a timestamp token for a terminal record in the distributed ledger 51.
[0068] When the second operation is performed, the input device 25 or the user terminal device 7 outputs a second request indicating that the second operation has been performed in response to the second operation. In response to the second request, the client server 2 (control device 21) generates a record hash value of the terminal record of the distributed ledger 51 and obtains a timestamp token for the record hash value. Then, the client server 2 (control device 21) generates transaction data for adding a record including the timestamp token to the distributed ledger 52. This transaction data includes information on "Key", "Age", "Obj-HV", "Nonce", "Sig", "Prev-HV", and "HV". The transaction data may also include time information and sender information. By processing this transaction data, a record including the timestamp token obtained for the record hash value of the terminal record of the distributed ledger 51 is added to the distributed ledger 52.
[0069] The client server 2 (control device 21) may be configured to automatically execute a process to respond to the second request when it detects that a new record has been added to the distributed ledger 51. That is, when the client server 2 (control device 21) detects that a new record has been added to the distributed ledger 51, it generates a record hash value of the record and obtains a timestamp token for the record hash value. Then, the client server 2 (control device 21) generates transaction data for adding a record including the timestamp token to the distributed ledger 52.
[0070] <3rd operation> Furthermore, the user of the client server 2 can perform an operation (hereinafter also referred to as the “third operation”) on the input device 25 or the user terminal device 7 to obtain a timestamp token for a terminal record in the distributed ledger 52.
[0071] When the third operation is performed, the input device 25 or the user terminal device 7 outputs a third request indicating that the third operation has been performed in response to the third operation. In response to the third request, the client server 2 (control device 21) generates a record hash value of the end record of the distributed ledger 52 and obtains a timestamp token for the record hash value. Then, the client server 2 (control device 21) generates transaction data for adding a record including the timestamp token to the distributed ledger 52. This transaction data includes information on "Key", "Age", "Obj-HV", "Nonce", "Sig", "Prev-HV", and "HV". The transaction data may also include time information and sender information.
[0072] <4th operation> Furthermore, the user of the client server 2 can perform an operation for generating a client certificate (hereinafter also referred to as the “fourth operation”) on the input device 25 or the user terminal device 7. The client certificate is data including the record hash value of the terminal record in the distributed ledger 52 at the time the fourth operation is performed.
[0073] When the fourth operation is performed, in response to the fourth operation, the input device 25 or the user terminal device 7 outputs a fourth request indicating that the fourth operation has been performed. In response to the fourth request, the client server 2 (control device 21) generates a record hash value of the terminal record in the distributed ledger 52 and creates a client certificate including the record hash value. Then, the client server 2 (control device 21) transmits the client certificate to the external server 9 via the communication device 24.
[0074] <Updates to the distributed ledger set> Fig. 3 is a diagram for explaining an update of a distributed ledger set 50. The upper part of Fig. 3 shows a schematic diagram of a distributed ledger 51, which is a first evidence chain, and the lower part of Fig. 3 shows a schematic diagram of a distributed ledger 52, which is a second evidence chain.
[0075] The first evidence chain (distributed ledger 51) stores hash values of part data (target data) of target parts in chronological order. When the target data D0 is first registered in the database 4 by an operation (first operation) for registering the target data, a record RA0 with an age of "0" containing the hash value of the target data D0 is stored in the distributed ledger 51. Next, when the target data is updated by an operation (first operation) for updating the target data and the updated target data D1 is registered in the database 4, a record RA1 with an age of "1" containing the hash value of the updated target data D1 and the record hash value of the parent record RA0 with an age of "0" is stored in the distributed ledger 51. Furthermore, when the target data is updated by an operation (first operation) for updating the target data and the updated target data D2 is registered in the database 4, a record RA2 with an age of "2" containing the hash value of the updated target data D2 and the record hash value of the parent record RA1 with an age of "1" is stored in the distributed ledger 51. Similarly, each time the target data is updated to D3 and D4, records RA3 and RA4 containing the hash values of the target data D3 and D4 are stored in the distributed ledger 51.
[0076] The second evidence chain (distributed ledger 52) stores time-series ... As described above, when a record is added to the distributed ledger 51, a timestamp token for the record hash value of the record may be automatically obtained.
[0077] Furthermore, the second operation can be performed at any timing by the user. That is, although the above shows an example in which the second operation is performed every time a record is added to the distributed ledger 51, the second operation does not have to be performed every time a record is added to the distributed ledger 51. For example, the second operation may be performed every predetermined number of times a record is added to the distributed ledger 51, or may be performed when a first predetermined time has elapsed since the last time the second operation was performed. The first predetermined time may be set, for example, taking into consideration the expiration date of the timestamp token.
[0078] Assume that the terminal record of the distributed ledger 52 is record RB1. In this case, when a third operation (an operation for acquiring a timestamp token for the terminal record of the distributed ledger 52) is performed on the input device 25 or the user terminal device 7, a record hash value RH3 of the terminal record RB1 of the distributed ledger 52 is generated. Then, a timestamp token T2 for the record hash value RH3 is acquired, and a record RB2 with an Age of "2" including the timestamp token T2 and the record hash value of the parent record RB1 is stored in the distributed ledger 52. The third operation can be performed at any timing of the user. It should be noted that, regardless of the third operation, a timestamp token may be acquired for the record hash value of the terminal record of the distributed ledger 52 when a second predetermined time has elapsed since the record was last added to the distributed ledger 52. The second predetermined time may be set, for example, taking into consideration the expiration time of the timestamp token. The second predetermined time may be set to the same time as the above-mentioned first predetermined time, or may be set to a different time.
[0079] Next, assume that the terminal record of distributed ledger 52 is record RB2. In this situation, when a fourth operation (an operation for creating a client certificate) is performed on input device 25 or user terminal device 7, a record hash value RH4 of the terminal record RB2 of distributed ledger 52 is generated. Then, a client certificate CP including the record hash value RH4 is created. This client certificate CP is managed separately from the client server 2. For example, the client certificate CP is sent to external server 9 via communication device 24.
[0080] The fourth operation can be performed at any timing. For example, when the terminal record of the distributed ledger 52 is the record RB1, when the fourth operation is performed, a client certificate including the record hash value of the terminal record RB1 of the distributed ledger 52 is created. This client certificate may be sent to the external server 9 via the communication device 24.
[0081] In this manner, each time the target data is updated, a record including the hash value is stored in the distributed ledger 51. By managing the hash value of the target data in the distributed ledger 51, it is possible to improve the tamper resistance of the target data.
[0082] In addition, a time stamp token generally has a set expiration date. With an expired time stamp token, it is not possible to prove the existence and integrity of the target data (hash value). Therefore, as described above, the time stamp token acquired for the terminal record of the distributed ledger 51 is stored in the distributed ledger 52. In the distributed ledger 52, a chain of records is realized including the record hash value of the parent record, so in order to tamper with an expired time stamp token, all time stamp tokens added to the distributed ledger 52 after the expired time stamp token was stored must be tampered with. In this way, by storing the time stamp token in the distributed ledger 52, the tamper resistance of the time stamp token can be improved. For example, even if the time stamp token T0 stored in the record RB0 expires, it can be proven that the time stamp token T0 has not been tampered with by the subsequent records RB1 and RB2. In this way, since the validity of the time stamp token T0 can be proven, the expiration date of the time stamp token T0 can be substantially extended. In other words, the timestamp token T0 can be used to prove the existence and integrity of the target data D1.
[0083] Furthermore, at any timing, a timestamp token T2 is obtained for the record hash value RH3 of the terminal record RB1 in the distributed ledger 52. By obtaining the timestamp token T2 for the record hash value RH3 in the distributed ledger 52, it becomes possible to prove that the record RB1 existed at the time attested by the timestamp token T2, and that the record RB1 has not been tampered with after the time attested by the timestamp token T2. This makes it possible to prove that the record RB1 existed at the time attested by the timestamp token T2, and that the series of timestamp tokens stored in the distributed ledger 52 have not been tampered with.
[0084] Furthermore, by storing a record RB2 containing a timestamp token T2 obtained for the record hash value RH3 and the record hash value of the parent record RB1 in the distributed ledger 52, the tamper-resistance of the timestamp token T3 can be improved.
[0085] In addition, the client certificate CP is separated from the client server 2 and managed by the external server 9. As a result, even if all records in the distributed ledger set 50 are tampered with, it is possible to prove that the distributed ledger set 50 has been tampered with by using the client certificate CP managed by the external server 9.
[0086] The first operation, the second operation, the third operation and the fourth operation may be, for example, operations in which the user selects each request button (the first button, the second button, the third button and the fourth button) displayed on the display screen of the display device 26 or the user terminal device 7.
[0087] <Function block> Fig. 4 is a functional block diagram of control device 21 for executing a process in response to a first operation. Referring to Fig. 4, control device 21 includes information acquisition unit 2101, hash generation unit 2102, nonce generation unit 2103, digital signature unit 2104, transaction data generation unit 2105, and transaction data transmission unit 2106. Control device 21 functions as information acquisition unit 2101, hash generation unit 2102, nonce generation unit 2103, digital signature unit 2104, transaction data generation unit 2105, and transaction data transmission unit 2106, for example, by executing a program stored in ROM 22. Note that information acquisition unit 2101, hash generation unit 2102, nonce generation unit 2103, digital signature unit 2104, transaction data generation unit 2105, and transaction data transmission unit 2106 may be realized by, for example, dedicated hardware (electronic circuit).
[0088] When a first operation for registering or updating target data is performed on the input device 25 or the user terminal device 7, the input device 25 or the user terminal device 7 outputs a first request indicating that the first operation has been performed.
[0089] The information acquisition unit 2101 acquires a first request from the input device 25 or the user terminal device 7. For example, when a user of the client server 2 performs a first operation on the input device 25, the first request is input to the information acquisition unit 2101. The first request includes ID (Key) information M1 for identifying the distributed ledger 51 to which the record is to be added. Upon acquiring the first request, the information acquisition unit 2101 outputs the first request to the hash generation unit 2102 and the nonce generation unit 2103.
[0090] When the hash generation unit 2102 receives the first request, it reads the target data from, for example, the database 4 and generates a hash value of the target data. The hash generation unit 2102 outputs the generated hash value and ID information M1 to the digital signature unit 2104 and the transaction data generation unit 2105.
[0091] Upon receiving the first request, the nonce generation unit 2103 generates a nonce value. The nonce value is a hash value that is cryptographically unlikely to collide. The nonce generation unit 2103 outputs the generated nonce value and ID information M1 to the transaction data generation unit 2105. Note that when a nonce value is used to create a digital signature, the nonce generation unit 2103 may output the nonce value and ID information M1 to the digital signature unit 2104.
[0092] The electronic signature unit 2104 reads out the private key 271 from the storage device 27. The electronic signature unit 2104 creates an electronic signature by encrypting the hash value received from the hash generation unit 2102 with the private key 271. The electronic signature unit 2104 outputs the created electronic signature and ID information M1 to the transaction data generation unit 2105. The electronic signature unit 2104 may also create an electronic signature by encrypting the nonce value received from the nonce generation unit 2103 with the private key 271. The electronic signature unit 2104 may also create an electronic signature by encrypting the hash value and the nonce value with the private key 271.
[0093] The transaction data generating unit 2105 generates transaction data to be sent to the network NW. For example, the transaction data generating unit 2105 generates transaction data including information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV. For example, the transaction data generating unit 2105 recognizes the Age of the parent record by querying the distributed ledger set 50 for ID information M1 (Key), and increments the Age of the parent record to set it as the Age of the record to be added. The transaction data generating unit 2105 sets the hash value generated by the hash generating unit 2102 as Obj-HV, the nonce value generated by the nonce generating unit 2103 as Nonce, and the electronic signature created by the electronic signature unit 2104 as Sig. In addition, the transaction data generating unit 2105 sets the record hash value of the parent record as Prev-HV. The transaction data generation unit 2105 hashes the information of Key, Age, Obj-HV, Nonce, Sig, and Prev-HV to generate HV. The transaction data may further include time information when the transaction data is broadcast (sent to the network NW) to the network NW, and sender information of the transaction data. The transaction data generation unit 2105 outputs the generated transaction data to the transaction data transmission unit 2106.
[0094] The transaction data transmission unit 2106 outputs a control signal for transmitting the transaction data to the network NW to the communication device 24. As a result, the transaction data is transmitted to the network NW via the communication device 24.
[0095] Fig. 5 is a functional block diagram of the control device 21 for executing a process in response to a second operation. With reference to Fig. 5, the control device 21 includes an information acquisition unit 2111, a record hash generation unit 2112, a nonce generation unit 2113, a time stamp token acquisition unit 2114, a digital signature unit 2115, a transaction data generation unit 2116, and a transaction data transmission unit 2117. The control device 21 functions as the information acquisition unit 2111, the record hash generation unit 2112, the nonce generation unit 2113, the time stamp token acquisition unit 2114, the digital signature unit 2115, the transaction data generation unit 2116, and the transaction data transmission unit 2117 by executing a program stored in the ROM 22, for example. In addition, the information acquisition unit 2111, record hash generation unit 2112, nonce generation unit 2113, timestamp token acquisition unit 2114, electronic signature unit 2115, transaction data generation unit 2116, and transaction data transmission unit 2117 may be realized, for example, by dedicated hardware (electronic circuitry).
[0096] When a second operation is performed on the input device 25 or the user terminal device 7 to obtain a timestamp token for a terminal record in the distributed ledger 51, the input device 25 or the user terminal device 7 outputs a second request indicating that the second operation has been performed.
[0097] The information acquisition unit 2111 acquires the second request from the input device 25 or the user terminal device 7. For example, when a user of the client server 2 performs a second operation on the input device 25, the second request is input to the information acquisition unit 2111. The second request includes ID information M2 for identifying the distributed ledger 51 from which the time stamp token is to be acquired, and ID information M3 for identifying the distributed ledger 52 to which the record is to be added. Upon acquiring the second request, the information acquisition unit 2111 outputs the second request to the record hash generation unit 2112 and the nonce generation unit 2113.
[0098] In addition, the information acquisition unit 2111 may monitor the update status of the distributed ledger 51 and determine that the second request has been acquired when a record has been added to the distributed ledger 51 in response to the first operation.
[0099] Upon receiving the second request, the record hash generation unit 2112 generates a record hash value of the latest (end) record of the distributed ledger 51 identified by the ID information M2. The record hash generation unit 2112 outputs the generated record hash value and the ID information M3 to the timestamp token acquisition unit 2114.
[0100] Upon receiving the second request, the nonce generation unit 2113 generates a nonce value. The nonce generation unit 2113 outputs the generated nonce value and ID information M3 to the transaction data generation unit 2116. When a nonce value is used to create a digital signature, the nonce generation unit 2113 may output the nonce value and ID information M3 to the digital signature unit 2115.
[0101] The timestamp token acquisition unit 2114 acquires a timestamp token for the record hash value received from the record hash generation unit 2112. Specifically, the timestamp token acquisition unit 2114 outputs a control signal for transmitting the record hash value to the timestamp authority 8 to the communication device 24. As a result, the record hash value is transmitted to the timestamp authority 8 via the communication device 24. The timestamp authority 8 that has received the record hash value returns the timestamp token to the client server 2 that transmitted the record hash value. The timestamp token acquisition unit 2114 acquires the timestamp token from the timestamp authority 8 via the communication device 24. The timestamp token acquisition unit 2114 outputs the timestamp token and ID information M3 for identifying the distributed ledger 52 that stores the timestamp token to the digital signature unit 2115 and the transaction data generation unit 2116.
[0102] The electronic signature unit 2115 reads out the private key 271 from the storage device 27. The electronic signature unit 2115 creates an electronic signature by encrypting the time stamp token received from the time stamp token acquisition unit 2114 with the private key 271. The electronic signature unit 2115 outputs the created electronic signature and ID information M3 to the transaction data generation unit 2116. The electronic signature unit 2115 may also create an electronic signature by encrypting the nonce value received from the nonce generation unit 2113 with the private key 271. The electronic signature unit 2115 may also create an electronic signature by encrypting the time stamp token and the nonce value with the private key 271.
[0103] The transaction data generation unit 2116 generates transaction data to be transmitted to the network NW. For example, the transaction data generation unit 2116 generates transaction data including information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV. The transaction data generation unit 2116 sets ID information M3(k2) as Key. In addition, the transaction data generation unit 2116 sets a time stamp token as Obj-HV. Other functions of the transaction data generation unit 2116 are basically similar to those of the transaction data generation unit 2105 described in FIG. 4.
[0104] The transaction data transmission unit 2117 outputs a control signal for transmitting the transaction data to the network NW to the communication device 24. As a result, the transaction data is transmitted to the network NW via the communication device 24.
[0105] Fig. 6 is a functional block diagram of the control device 21 for executing a process in response to a third operation. With reference to Fig. 6, the control device 21 includes an information acquisition unit 2121, a record hash generation unit 2122, a nonce generation unit 2123, a time stamp token acquisition unit 2124, a digital signature unit 2125, a transaction data generation unit 2126, and a transaction data transmission unit 2127. The control device 21 functions as the information acquisition unit 2121, the record hash generation unit 2122, the nonce generation unit 2123, the time stamp token acquisition unit 2124, the digital signature unit 2125, the transaction data generation unit 2126, and the transaction data transmission unit 2127 by executing a program stored in the ROM 22, for example. In addition, the information acquisition unit 2121, record hash generation unit 2122, nonce generation unit 2123, timestamp token acquisition unit 2124, electronic signature unit 2125, transaction data generation unit 2126, and transaction data transmission unit 2127 may be realized, for example, by dedicated hardware (electronic circuit).
[0106] When a third operation is performed on the input device 25 or the user terminal device 7 to obtain a timestamp token for a terminal record in the distributed ledger 52, the input device 25 or the user terminal device 7 outputs a third request indicating that the third operation has been performed.
[0107] The information acquisition unit 2121 acquires the third request from the input device 25 or the user terminal device 7. For example, when a user of the client server 2 performs a third operation on the input device 25, the third request is input to the information acquisition unit 2121. The third request includes ID information M4 for identifying the distributed ledger 52 from which the time stamp token is to be acquired, and ID information M5 for identifying the distributed ledger 52 that stores the time stamp token. Upon acquiring the third request, the information acquisition unit 2121 outputs the third request to the record hash generation unit 2122 and the nonce generation unit 2123.
[0108] When the record hash generation unit 2122 receives the third request, it generates a record hash value of the latest (end) record of the distributed ledger 52 identified by the ID information M4. The record hash generation unit 2122 outputs the generated record hash value and the ID information N5 to the timestamp token acquisition unit 2124.
[0109] Upon receiving the third request, the nonce generation unit 2123 generates a nonce value. The nonce generation unit 2123 outputs the generated nonce value and ID information M5 to the transaction data generation unit 2126. When a nonce value is used to create a digital signature, the nonce generation unit 2123 may output the nonce value and ID information M5 to the digital signature unit 2125.
[0110] The timestamp token acquisition unit 2124 acquires a timestamp token for the record hash value received from the record hash generation unit 2122. Specifically, the timestamp token acquisition unit 2124 outputs a control signal for transmitting the record hash value to the timestamp authority 8 to the communication device 24. As a result, the record hash value is transmitted to the timestamp authority 8 via the communication device 24. The timestamp authority 8 that has received the record hash value returns the timestamp token to the client server 2 that transmitted the record hash value. The timestamp token acquisition unit 2124 acquires the timestamp token from the timestamp authority 8 via the communication device 24. The timestamp token acquisition unit 2124 outputs the timestamp token and ID information M5 for identifying the distributed ledger 52 that stores the timestamp token to the digital signature unit 2125 and the transaction data generation unit 2126.
[0111] The electronic signature unit 2125 reads out the private key 271 from the storage device 27. The electronic signature unit 2125 creates an electronic signature by encrypting the time stamp token received from the time stamp token acquisition unit 2124 with the private key 271. The electronic signature unit 2125 outputs the created electronic signature and ID information M5 to the transaction data generation unit 2126. The electronic signature unit 2125 may also create an electronic signature by encrypting the nonce value received from the nonce generation unit 2123 with the private key 271. The electronic signature unit 2125 may also create an electronic signature by encrypting the time stamp token and the nonce value with the private key 271.
[0112] The transaction data generation unit 2126 generates transaction data to be transmitted to the network NW. For example, the transaction data generation unit 2126 generates transaction data including information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV. The transaction data generation unit 2126 sets ID information M5(k2) as Key. In addition, the transaction data generation unit 2126 sets a time stamp token as Obj-HV. Other functions of the transaction data generation unit 2126 are basically similar to those of the transaction data generation unit 2105 described in FIG. 4.
[0113] The transaction data transmission unit 2127 outputs a control signal for transmitting the transaction data to the network NW to the communication device 24. As a result, the transaction data is transmitted to the network NW via the communication device 24.
[0114] Fig. 7 is a functional block diagram of control device 21 for executing a process responding to a fourth operation. With reference to Fig. 7, control device 21 includes information acquisition unit 2131, record hash generation unit 2132, client certificate creation unit 2133, and transmission unit 2134. Control device 21 functions as information acquisition unit 2131, record hash generation unit 2132, client certificate creation unit 2133, and transmission unit 2134, for example, by executing a program stored in ROM 22. Note that information acquisition unit 2131, record hash generation unit 2132, client certificate creation unit 2133, and transmission unit 2134 may be realized by, for example, dedicated hardware (electronic circuit).
[0115] When a fourth operation for generating a client certificate is performed on the input device 25 or the user terminal device 7, the input device 25 or the user terminal device 7 outputs a fourth request indicating that the fourth operation has been performed.
[0116] The information acquisition unit 2131 acquires the fourth request from the input device 25 or the user terminal device 7. For example, when a user of the client server 2 performs a fourth operation on the input device 25, the fourth request is input to the information acquisition unit 2131. The fourth request includes ID information M6(k2) for identifying the distributed ledger 52 for which a record hash value is to be generated. Upon acquiring the fourth request, the information acquisition unit 2121 outputs the fourth request to the record hash generation unit 2132.
[0117] The record hash generation unit 2132 generates a record hash value of the latest (terminal) record of the distributed ledger 52 for which a record hash value is to be generated. The record hash generation unit 2132 outputs the generated record hash value to the client certificate creation unit 2133.
[0118] The client certificate creation unit 2133 creates a client certificate including the record hash value received from the record hash generation unit 2132. The client certificate may include, for example, information for identifying the client server 2 that created the client certificate. The client certificate creation unit 2133 outputs the created client certificate to the transmission unit 2134.
[0119] The transmitting unit 2134 outputs a control signal for transmitting the client certificate to the external server 9 to the communication device 24. As a result, the client certificate is transmitted to the external server 9 via the communication device 24.
[0120] Fig. 8 is a functional block diagram of the control device 21 for executing received transaction data. Referring to Fig. 8, the control device 21 includes a transaction data acquisition unit 2141, a signature verification unit 2142, a record creation unit 2143, a ledger update unit 2144, and an output unit 2145. The control device 21 functions as the transaction data acquisition unit 2141, the signature verification unit 2142, the record creation unit 2143, the ledger update unit 2144, and the output unit 2145, for example, by executing a program stored in the ROM 22. Note that the transaction data acquisition unit 2141, the signature verification unit 2142, the record creation unit 2143, the ledger update unit 2144, and the output unit 2145 may be realized by, for example, dedicated hardware (electronic circuitry).
[0121] The transaction data acquisition unit 2141 acquires transaction data transmitted from other client servers 2. The transaction data acquisition unit 2141 outputs the acquired transaction data to the signature verification unit 2142.
[0122] The signature verification unit 2142 verifies the validity of the electronic signature (Sig) included in the transaction data. First, the signature verification unit 2142 identifies the client server 2 that is the sender of the transaction data based on the sender information included in the transaction data. Then, the signature verification unit 2142 reads out the public key (one of the multiple public keys 272) of the identified client server 2 from the storage device 27. The signature verification unit 2142 decrypts the electronic signature included in the transaction data using the read public key. As described above, the electronic signature is obtained by encrypting the hash value or timestamp token of the target data using the private key of the sender client server 2. The signature verification unit 2142 compares the decrypted value with Obj-HV (hash value or timestamp token) included in the transaction data. By confirming that the two match, the signature verification unit 2142 recognizes the validity of the electronic signature.
[0123] If the validity of the electronic signature is recognized, the record creation unit 2143 creates a record to be added to the distributed ledger set 50 based on the transaction data. The record creation unit 2143 reads the information of Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV from the transaction data, and creates a record including this information.
[0124] The ledger update unit 2144 adds the record created by the record creation unit 2143 to the distributed ledger set 50, and updates the distributed ledger set 50. Specifically, the ledger update unit 2144 refers to the key of the created record and identifies the distributed ledger to which the record is to be added. For example, the transaction data generated in response to the first operation of registering / updating the target data described above has "k1" as a key. Therefore, the ledger update unit 2144 adds the record to the distributed ledger 51, which is the evidence chain of the target data. In addition, the transaction data generated in response to the second operation for acquiring a timestamp token for the terminal record of the distributed ledger 51 and the third operation for acquiring a timestamp token for the terminal record of the distributed ledger 52 has "k2" as a key. Therefore, the ledger update unit 2144 adds the record to the distributed ledger 52, which is the evidence chain of the timestamp token.
[0125] When the ledger update unit 2144 completes the update of the distributed ledger set 50, it outputs a message to that effect to the output unit 2145.
[0126] The output unit 2145 outputs a control signal to the communication device 24 to notify the client server 2 that is the sender of the transaction data that the process of executing the transaction data (transaction process) has been completed. As a result, a report of the completion of the transaction process is sent via the communication device 24 to the client server 2 that is the sender of the transaction data.
[0127] <Flowchart> Fig. 9 is a flowchart showing the procedure of a process for generating transaction data when a first request is received. The process of the flowchart shown in Fig. 9 is executed by the control device 21 when a first request is received from the input device 25 or the user terminal device 7. Note that each step (hereinafter, steps are abbreviated as "S") of the flowcharts shown in Fig. 9 and Figs. 10, 11, 12, and 13 described below will be described as being realized by software processing by the control device 21, but a part or all of the steps may be realized by hardware (electronic circuits) created within the control device 21.
[0128] In S1, the control device 21 generates a nonce value. This nonce value is used as a number for the transaction data.
[0129] In S2, the control device 21 reads the target data from the database 4 and generates a hash value of the target data.
[0130] In S3, the control device 21 reads the private key 271 from the storage device 27, and uses the private key 271 to encrypt the hash value generated in S2 to create an electronic signature. The control device 21 may also use the private key 271 to encrypt the nonce value generated in S1 to create an electronic signature. The control device 21 may also use the private key 271 to encrypt the hash value generated in S2 and the nonce value generated in S1 to create an electronic signature.
[0131] In S4, the control device 21 generates transaction data including information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV. Specifically, the control device 21 sets ID information M1 included in the first request as Key. The control device 21 sets the nonce value generated in S1 as Nonce, the hash value generated in S2 as Obj-HV, and the electronic signature created in S3 as Sig. The control device 21 also queries the distributed ledger set 50 for the Key to recognize the Age of the parent record, and sets the Age to the incremented Age of the parent record. The control device 21 also sets the record hash of the parent record as Prev-HV. The control device 21 also hashes the information on Key, Age, Obj-HV, Nonce, Sig, and Prev-HV to HV. Furthermore, the control device 21 may include, in the transaction data, time information for broadcasting the transaction data onto the network NW and / or sender information of the transaction data.
[0132] In S5, the control device 21 outputs a control signal for transmitting the transaction data generated in S4 to the network NW to the communication device 24. As a result, the transaction data is transmitted to the network NW via the communication device 24.
[0133] Fig. 10 is a flowchart showing the procedure of a process for generating transaction data when a second request is received. The process of the flowchart shown in Fig. 10 is executed by the control device 21 when a second request is received from the input device 25 or the user terminal device 7. Note that the control device 21 may execute the process of the flowchart shown in Fig. 10 when it detects that a record has been added to the distributed ledger 51.
[0134] In S11, the control device 21 generates a nonce value. This nonce value is used as a number for the transaction data.
[0135] In S12, the control device 21 generates a record hash value of the terminal record of the distributed ledger 51.
[0136] In S13, the control device 21 outputs a control signal to the communication device 24 for transmitting the record hash value generated in S12 to the time-stamp authority 8. As a result, the record hash value is transmitted to the time-stamp authority 8 via the communication device 24. The time-stamp authority 8 that has received the record hash value returns a time-stamp token to the client server 2 that transmitted the record hash value. The control device 21 obtains the time-stamp token from the time-stamp authority 8 via the communication device 24.
[0137] In S14, the control device 21 reads the private key 271 from the storage device 27, and uses the private key 271 to encrypt the timestamp token acquired in S13 to create an electronic signature. The control device 21 may also use the private key 271 to encrypt the nonce value generated in S11 to create an electronic signature. The control device 21 may also use the private key 271 to encrypt the timestamp token acquired in S13 and the nonce value generated in S11 to create an electronic signature.
[0138] In S15, the control device 21 generates transaction data including information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV. The control device 21 sets the ID information M3(k2) included in the second request as Key. The control device 21 also sets the timestamp token acquired in S13 as Obj-HV. Other processes in S15 are basically similar to those in S4 of Fig. 9, and therefore will not be described repeatedly.
[0139] In S16, the control device 21 outputs a control signal for transmitting the transaction data generated in S15 to the network NW to the communication device 24. As a result, the transaction data is transmitted to the network NW via the communication device 24.
[0140] 11 is a flowchart showing a process for generating transaction data when a third request is received. The process of the flowchart shown in FIG. 11 is executed by the control device 21 when a third request is received from the input device 25 or the user terminal device 7.
[0141] In S21, the control device 21 generates a nonce value. This nonce value is used as a number for the transaction data.
[0142] In S22, the control device 21 generates a record hash value of the terminal record of the distributed ledger 52.
[0143] In S23, the control device 21 outputs a control signal to the communication device 24 for transmitting the record hash value generated in S22 to the TSA 8. As a result, the record hash value is transmitted to the TSA 8 via the communication device 24. The TSA 8 that has received the record hash value returns a time stamp token to the client server 2 that transmitted the record hash value. The control device 21 obtains the time stamp token from the TSA 8 via the communication device 24.
[0144] In S24, the control device 21 reads the private key 271 from the storage device 27, and uses the private key 271 to encrypt the timestamp token acquired in S23 to create an electronic signature. The control device 21 may also use the private key 271 to encrypt the nonce value generated in S21 to create an electronic signature. The control device 21 may also use the private key 271 to encrypt the timestamp token acquired in S23 and the nonce value generated in S21 to create an electronic signature.
[0145] In S25, the control device 21 generates transaction data including information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV. The control device 21 sets ID information M5(k2) included in the third request as Key. The control device 21 also sets the timestamp token acquired in S23 as Obj-HV. Other processes in S25 are basically similar to those in S4 of Fig. 9, and therefore will not be described repeatedly.
[0146] In S26, the control device 21 outputs a control signal for transmitting the transaction data generated in S25 to the network NW to the communication device 24. As a result, the transaction data is transmitted to the network NW via the communication device 24.
[0147] 12 is a flowchart showing the procedure of the process when a fourth request is received. The process of the flowchart shown in FIG. 12 is executed by the control device 21 when a fourth request is received from the input device 25 or the user terminal device 7.
[0148] In S31, the control device 21 generates a record hash value of a terminal record in the distributed ledger 52.
[0149] In S32, the control device 21 creates a client certificate including the record hash value generated in S31. The control device 21 may include information for identifying itself (company A) in the client certificate.
[0150] In S33, the control device 21 outputs to the communication device 24 a control signal for transmitting the client certificate created in S32 to the external server 9. As a result, the client certificate is transmitted to the external server 9 via the communication device 24.
[0151] Fig. 13 is a flowchart showing the procedure of the process executed when transaction data is received. The process of the flowchart shown in Fig. 13 is executed by the control device 21 when transaction data is received.
[0152] In S41, the control device 21 identifies the client server 2 that is the sender of the received transaction data, based on sender information included in the transaction data.
[0153] In S42, the control device 21 reads from the storage device 27 the public key of the client server 2 identified in S41.
[0154] In S43, the control device 21 decrypts the electronic signature included in the transaction data using the public key read in S42.
[0155] In S44, the control device 21 verifies the validity of the electronic signature decrypted in S43. Specifically, the control device 21 compares the decrypted value of the electronic signature with Obj-HV (hash value or timestamp token) included in the transaction data. If the two do not match, the control device 21 does not recognize the validity of the electronic signature (NO in S44) and proceeds to S45. If the two match, the control device 21 recognizes the validity of the electronic signature (YES in S44) and proceeds to S46.
[0156] In S45, since the electronic signature is not valid, the control device 21 discards the currently received transaction data and ends the process. The control device 21 may cause the display device 26 to display a message indicating that the transaction data may have been tampered with. The control device 21 may also transmit a message indicating that the transaction data may have been tampered with to the client server 2 that is the source of the transaction data.
[0157] In S46, the control device 21 reads out the information of Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV from the received transaction data, and creates a record including this information.
[0158] In S47, the control device 21 identifies the distributed ledger to which the record is to be added based on the key of the record created in S46. The control device 21 then adds the record to the identified distributed ledger. This updates the distributed ledger set 50.
[0159] In S48, the control device 21 transmits a notification (completion report) indicating that the transaction processing has been completed to the client server 2 that is the transmission source of the transaction data.
[0160] As described above, in the data management system 1 according to the first embodiment, the client server 2 holds a distributed ledger set 50 including two distributed ledgers 51 and 52. The distributed ledger 51 is an evidence chain for proving the existence of target data, and the distributed ledger 52 is an evidence chain for proving the existence of a timestamp token.
[0161] Each time the target data is updated, a record including the hash value of the target data is stored in the distributed ledger 51. Since the record including the hash value of the target data is managed in the distributed ledger 51, it is possible to improve the tamper resistance of the target data. Furthermore, the record stored in the distributed ledger 51 includes the hash value of the target data, rather than the target data itself. This makes it possible to keep the target data itself secret from other client servers 2 forming the network NW.
[0162] Furthermore, when a record is added to the distributed ledger 51 and a second operation is performed, a timestamp token is obtained for the record hash value of the added record (the terminal record of the distributed ledger 51), and a record including the timestamp token is stored in the distributed ledger 52. By storing the timestamp token in the distributed ledger 52, it is possible to improve the tamper resistance of the timestamp token. Furthermore, by storing the timestamp token in the distributed ledger 52, even if there is an expired timestamp token, it is possible to prove that the expired timestamp token has not been tampered with by a record subsequent to the record including the expired timestamp token. In this way, since the validity of the expired timestamp token can be proven, the expiration date of the timestamp token can be substantially extended.
[0163] Furthermore, a timestamp token is obtained for the record hash value of the terminal record in the distributed ledger 52. This makes it possible to prove the integrity of the record hash value, and therefore by proving that the record hash value has not been tampered with, it is possible to prove that the series of timestamp tokens stored in the distributed ledger 52 have not been tampered with.
[0164] Furthermore, by storing the timestamp token obtained for the record hash value of the terminal record in the distributed ledger 52 in the distributed ledger 52, the tamper-resistance of the timestamp token can be improved.
[0165] In addition, a client certificate including a record hash value of the terminal record in the distributed ledger 52 is created, and the client certificate is separated from the client server 2 and managed by the external server 9. As a result, even if all records in the distributed ledger set 50 are tampered with, it is possible to prove that the distributed ledger set 50 has been tampered with using the client certificate managed by the external server 9.
[0166] [Variation 1] In the first embodiment, an example in which the data management system 1 manages one part (part that constitutes a vehicle) has been described. However, a plurality of parts may be managed by the data management system 1. For example, N (a natural number equal to or greater than 2) parts may be managed by the data management system 1. In this case, the distributed ledger set 50 includes N distributed ledgers that are the evidence chains of the N parts, and a distributed ledger that is the evidence chain of the timestamp token. In the first modification, when any of the N distributed ledgers is updated and a second operation is performed, a timestamp token is obtained for the record hash value of the terminal record of the distributed ledger, and a record including the timestamp token is stored in the distributed ledger that is the evidence chain of the timestamp token. Then, similar to the first embodiment, by responding to the third operation and the fourth operation, the same effect as the first embodiment can be achieved.
[0167] [Embodiment 2] In the first embodiment, an example has been described in which the platform server 5 has a function of permitting participation in the network NW. The finality of the transaction data is given by confirming the validity of the electronic signature between the client servers 2 permitted to participate in the network NW. In the second embodiment, an example will be described in which the platform server 6 has a function of granting finality to the transaction data in addition to the function of permitting participation in the network NW.
[0168] 14 is a diagram showing a schematic configuration of a data management system 1A according to the second embodiment. The data management system 1A includes four client servers 3, a platform server 6, a time stamping authority 8, and an external server 9. As in the first embodiment, each of the four client servers 3 is a server belonging to a different company (for example, company A, company B, company C, and company D). In the following, the client server 3 of company A will be described as a representative example, but the client servers 3 of companies B, C, and D also have similar functions.
[0169] Like the platform server 5 according to the first embodiment, the platform server 6 manages the network NW and accepts applications for participation in the network NW from each client server 3. The platform server 6 permits the client server 3 to participate in the network NW based on an operation by the administrator of the platform server 6 to permit participation or based on the result of judging a predetermined condition. In the second embodiment as well, four client servers 3 belonging to each of companies A, B, C, and D are permitted to participate in the network NW.
[0170] The four client servers 3 and the platform server 6 form a network NW. Distributed ledger infrastructure software is installed in each of the client servers 3, and each of the client servers 3 functions as a node by the operation of the installed distributed ledger infrastructure software. The client servers 3 are configured to be able to communicate with a user terminal device 7, similar to the client server 2 according to the first embodiment.
[0171] Similarly to the client server 2 according to the first embodiment, the client server 3 is connected to a database 4. The client server 3 (control device 31) generates a control signal for registering / updating target data in response to an input to an input device 35 or a request from a user terminal device 7, and outputs the control signal to the database 4.
[0172] When the client server 3 registers / updates part data in the database 4, it creates a hash value of the part data, and generates transaction data for storing the hash value in a ledger held by the platform server 6 and in a distributed ledger (a commit table described later) held by each client server 3. Then, the client server 3 transmits the generated transaction data to the platform server 6.
[0173] The platform server 6 has a function of providing finality to transaction data. The platform server 6 holds a ledger set 60, processes transaction data received from the client server 3, and updates the ledger set 60. When the platform server 6 updates the ledger set 60, it transmits records (proof records described below) added to the ledger by the update to all client servers 3 participating in the network NW. The client server 3 stores a commit table 374 that stores commit records. The commit table 374 corresponds to an example of a "distributed ledger" according to the present disclosure.
[0174] FIG. 15 is a diagram showing an example of the configuration of the ledger set 60. The ledger set 60 includes a ledger 67 and a ledger 68. The ledger 67, like the distributed ledger 51 according to the first embodiment, stores the update state of the target data in chronological order, forming an evidence chain of the target data. The ledger 68, like the distributed ledger 52 according to the first embodiment, stores the timestamp tokens in chronological order, forming an evidence chain of the timestamp tokens. The ledger set 60, the ledger 67, and the ledger 68 have the same configuration as the distributed ledger set 50, the distributed ledger 51, and the distributed ledger 52 according to the first embodiment, respectively. Therefore, detailed description of these will not be repeated. Note that FIG. 15 shows the data structures of the ledgers 67 and 68 corresponding to the example shown in FIG. 3. That is, the ledgers 67 and 68 each store a record of Age "2" as the latest (terminal) record.
[0175] 14 again, the client server 3 includes a control device 31, a ROM 32, a RAM 33, a communication device 34, an input device 35, a display device 36, and a storage device 37. The control device 31, the ROM 32, the RAM 33, the communication device 34, the input device 35, the display device 36, and the storage device 37 are connected to a bus 39. The ROM 32, the RAM 33, the communication device 34, the input device 35, and the display device 36 are basically similar in configuration to the ROM 22, the RAM 23, the communication device 24, the input device 25, and the display device 26 of the client server 2 according to the first embodiment, respectively, and therefore the description thereof will not be repeated.
[0176] The storage device 37 stores a private key 371 and proof data 372. The private key 371 is the private key of company A. For example, when the client server 3 first joins the network NW, the control device 31 generates a private key and a public key. Then, the control device 31 transmits the generated public key to a certification authority (not shown) and receives authentication. The certification authority issues an electronic certificate including information on the public key. The control device 31 stores the private key 371 corresponding to the authenticated public key in the storage device 37. The control device 31 also transmits the authenticated public key (electronic certificate) 651 to the platform server 6.
[0177] The proof data 372 includes a suspension table 373 and a commit table 374. Fig. 16 is a diagram for explaining an example of the configuration of the suspension table 373. Fig. 17 is a diagram for explaining an example of the configuration of the commit table 374. The suspension table 373 and the commit table 374 have a configuration corresponding to the ledger set 60.
[0178] 16, the suspension table 373 includes a predetermined type of information included in unused transaction data. Specifically, the suspension table 373 stores a suspension record including, for example, key and nonce information. The control device 31 stores, as a suspension record, the key and nonce information included in the transaction data generated in response to various requests (first to third requests) in the suspension table 373. In the following, when the first to third requests are not particularly distinguished from each other, the first to third requests are also collectively referred to as "update requests."
[0179] The update request received by the client server 3 from the input device 35 or the user terminal device 7 includes ID information for identifying the distributed ledger to which the record is to be added. For example, the first request includes ID information M1 indicating "k1". The second request includes ID information M3 indicating "k2". The third request includes ID information M5 indicating "k2". That is, the ID included in the update request for identifying the distributed ledger to which the record is to be added becomes the Key. In addition, upon receiving the update request, the control device 31 generates a nonce value. The nonce value represents the number of the update request (i.e., the number of the transaction data). The control device 31 creates a suspension record including the Key and Nonce information, and registers the suspension record in the suspension table 373. FIG. 16 shows an example in which a suspension record including the Key of k1 is registered in the suspension table 373.
[0180] When processing responding to the update request is executed (i.e., when the transaction data is used), the control device 31 deletes from the suspension table 373 the suspension record that contains information about a key that is similar to the key contained in the transaction data used to execute the transaction processing.
[0181] In the suspension table 373, duplicate suspension records including information of the same key are not registered. When registering a suspension record in the suspension table 373, the control device 31 judges whether or not a suspension record including a key matching the key included in the suspension record to be registered has already been registered in the suspension table 373. If a suspension record including a key matching the key included in the suspension record to be registered has not been registered in the suspension table 373, the control device 31 registers the suspension record in the suspension table 373. If a suspension record including a key matching the key included in the suspension record to be registered has been registered in the suspension table 373, the control device 31 waits for the suspension record including the matching key to be deleted from the suspension table 373. That is, in the example shown in FIG. 16, a suspension record including a key of k2 can be registered in the suspension table 373, but a suspension record including a key of k1 cannot be registered.
[0182] 17, the commit table 374 includes a predetermined type of information included in used transaction data. Specifically, the commit table 374 stores a commit record including information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV. In the second embodiment, the commit record has the same information as the records in the ledger set 60. The commit table 374 includes commit data 375 that stores a commit record having a key of k1, and commit data 376 that stores a commit record having a key of k2.
[0183] When the platform server 6 executes a transaction process and updates the ledgers in the ledger set 60, it creates a proof record and transmits the proof record to all client servers 3 participating in the network NW. The proof record is a record that includes, for example, information on the Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV of a record that has been added to the ledger by a transaction process executed using the transaction data.
[0184] Upon receiving the proof record, the control device 31 adds the proof record as a commit record to the commit table 374 (commit data 375 or commit data 376). Then, the control device 31 deletes from the suspension table 373 any suspension records that include the same key as the key included in the added commit record.
[0185] 14 again, the platform server 6 includes a control device 61, a ROM 62, a RAM 63, a communication device 64, and a storage device 65. The control device 61, the ROM 62, the RAM 63, the communication device 64, and the storage device 65 are connected to a bus 69.
[0186] The control device 61 is configured by an integrated circuit including a CPU. The control device 61 loads various programs stored in the ROM 62 into the RAM 63 and executes them. The various programs include an operating system and the like. The RAM 63 functions as a working memory and temporarily stores various data required for executing the various programs. The control device 61 receives transaction data from the client server 3 and executes transaction processing.
[0187] The communication device 64 is configured to be capable of communicating with the client server 3 participating in the network NW.
[0188] The storage device 65 stores a plurality of public keys 651 and a ledger set 60. The plurality of public keys 651 include public keys of companies that manage client servers 3 participating in the network NW. Specifically, the plurality of public keys 651 include a public key of company A, a public key of company B, a public key of company C, and a public key of company D.
[0189] As described above, the ledger set 60 has a similar configuration to the distributed ledger set 50 according to embodiment 1, and therefore will not be described repeatedly.
[0190] The process of responding to an update request in the second embodiment will be described below with reference to a flowchart.
[0191] 18 is a flowchart showing the procedure of the process executed by the data management system 1A when an update request is received. The process of the flowchart shown in FIG. 18 is started by the control device 31 of the client server 3 when an update request is received from the input device 25 or the user terminal device 7.
[0192] In S50, the control device 31 of the client server 3 generates a nonce value. This nonce value is used as the number of transaction data generated in response to an update request.
[0193] In S51, the control device 31 of the client server 3 generates a suspension record. Specifically, the control device 31 of the client server 3 reads out the ID of the distributed ledger to which the record is to be added, which is included in the update request, and sets it as Key information, and generates a suspension record using the nonce value generated in S50 as Nonce information.
[0194] In S52, the control device 31 of the client server 3 judges whether or not the suspension record generated in S51 can be registered in the suspension table 373. If a suspension record having the same key information as the suspension record generated in S51 is registered in the suspension table 373, the control device 31 of the client server 3 makes a negative judgment (NO in S52) and waits for the suspension record having the same key information to be deleted from the suspension table 373. On the other hand, if a suspension record having the same key information as the suspension record generated in S51 is not registered in the suspension table 373, the control device 31 of the client server 3 makes an affirmative judgment (YES in S52) and proceeds to the process at S53.
[0195] In S 53 , the control device 31 of the client server 3 registers a suspension record in the suspension table 373 .
[0196] In S54, the control device 31 of the client server 3 generates transaction data to respond to the update request. Specifically, if the update request is a first request, the control device 31 of the client server 3 executes processes similar to the processes of S2 to S4 described in Fig. 9 to generate transaction data, if the update request is a second request, the control device 31 of the client server 3 executes processes similar to the processes of S12 to S15 described in Fig. 10 to generate transaction data, and if the update request is a third request, the control device 31 executes processes similar to the processes of S22 to S25 described in Fig. 11 to generate transaction data. Details of each process are as described in Figs. 9, 10, and 11, and will not be described repeatedly.
[0197] In S55, the control device 31 of the client server 3 outputs a control signal to the communication device 34 for transmitting the transaction data generated in S54 to the platform server 6. As a result, the transaction data is transmitted to the platform server 6 via the communication device 34.
[0198] In S60, the control device 61 of the platform server 6 decrypts the electronic signature included in the received transaction data to verify its validity. Specifically, the control device 61 of the platform server 6 executes the same processes as those of S41 to S43 described in Fig. 13 to decrypt the electronic signature. Details of each process are as described in Fig. 13 and will not be described repeatedly.
[0199] In S61, the control device 61 of the platform server 6 verifies the validity of the electronic signature decrypted in S60. Specifically, the control device 61 of the platform server 6 compares the decrypted value of the electronic signature with a hash value included in the transaction data (the hash value of the target data in the transaction data generated in response to the first request, and the time stamp token in the transaction data generated in response to the second and third requests). If the two do not match, the control device 61 of the platform server 6 does not recognize the validity of the electronic signature (NO in S61) and proceeds to S62. If the two match, the control device 61 of the platform server 6 recognizes the validity of the electronic signature (YES in S61) and proceeds to S63.
[0200] In S62, the control device 61 of the platform server 6 determines that the transaction data received from the client server 3 may have been tampered with, discards the transaction data, and creates an abnormality report indicating the possibility of tampering. Then, the control device 61 of the platform server 6 advances the process to S66.
[0201] In S63, the control device 61 of the platform server 6 executes transaction processing. Specifically, the control device 61 of the platform server 6 executes processing similar to the processing of S46 and S47 described in Fig. 13, generates a ledger record specified by the information of the key included in the transaction data, adds the generated record to the ledger, and updates the ledger set 60.
[0202] In S64, the control device 61 of the platform server 6 generates a proof record. The proof record includes the information of Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV included in the record added to the ledger.
[0203] In S65, the control device 61 of the platform server 6 creates a success report indicating that the update of the ledger set 60 has been completed (i.e., the transaction data has been processed). The control device 61 of the platform server 6 includes a proof record in the success report.
[0204] In S66, the control device 61 of the platform server 6 outputs a control signal to the communication device 64 for transmitting the abnormality report created in S62 or the normality report created in S65 to the client server 3. As a result, the abnormality report or normality report is transmitted to the client server 3 via the communication device 64.
[0205] Furthermore, in S66, the control device 61 of the platform server 6 outputs a control signal to the communication device 64 for transmitting the proof record to other client servers 3 other than the sender of the transaction data (for example, the client servers 3 of companies B, C, and D). As a result, the proof record is transmitted to the other client servers 3 via the communication device 64.
[0206] In S56, the control device 31 of the client server 3 judges whether or not a normal report has been received from the platform server 6. If it judges that a normal report has been received (YES in S56), the control device 31 of the client server 3 advances the process to S57. On the other hand, if it judges that a normal report has not been received, that is, that an abnormality report has been received (NO in S56), the control device 31 of the client server 3 advances the process to S59.
[0207] In S57, the control device 31 of the client server 3 adds the proof record included in the normal report as a commit record to the commit table 374. Specifically, the control device 31 of the client server 3 determines whether the target to which the commit record is to be added is commit data 375 or commit data 376, based on the key information of the proof record. Then, the control device 31 of the client server 3 adds the commit record to the target commit data.
[0208] In S58, the control device 31 of the client server 3 deletes from the suspension table 373 the suspension record that has the same key information as the added commit record.
[0209] In S59, the control device 31 of the client server 3 causes the display device 36 to display the results of the processing for the update request, or transmits the results to the user terminal device 7, for example.
[0210] In addition, the other client servers 3 (client servers 3 of companies B, C, and D) that received the proof record sent in S66 also add the proof record to their commit tables 374, thereby updating their commit tables 374.
[0211] Fig. 19 is a flowchart showing a procedure of processing when a fourth request is received in embodiment 2. The processing of the flowchart shown in Fig. 19 is executed by control device 31 when a fourth request is received from input device 35 or user terminal device 7.
[0212] In S 71 , the control device 31 generates a record hash value of the end record of the commit data 376 .
[0213] In S72, the control device 31 creates a client certificate including the record hash value generated in S71. The control device 31 may include information for identifying itself (company A) in the client certificate.
[0214] In S73, the control device 31 outputs a control signal to the communication device 24 for transmitting the client certificate created in S72 to the external server 9. As a result, the client certificate is transmitted to the external server 9 via the communication device 24.
[0215] As described above, in the data management system 1A according to the second embodiment, the platform server 6 provides finality to transaction data. The platform server 6 holds a ledger set 60 including two ledgers 67 and 68. The ledger 67 stores update states of target data in chronological order, and the ledger 68 stores timestamp tokens in chronological order. When the ledger set 60 is updated, a proof record having information of a record added to the ledger set 60 is sent from the platform server 6 to each client server 3. Each client server 3 adds the proof record to a commit table 374 as a commit record. The commit table 374 corresponds to the distributed ledger set 50 according to the first embodiment. Each client server 3 holds the commit table 374, thereby improving the tamper resistance of the commit table 374.
[0216] Furthermore, in the configuration of the data management system 1A of embodiment 2, in response to the second request, a timestamp token is obtained for the record hash value of the terminal record of the commit data 375 (ledger 67), and the record including the timestamp token is stored in the commit data 376 (ledger 68), thereby making it possible to prove the validity of the expired timestamp token, as in embodiment 1.
[0217] Furthermore, by obtaining a time stamp token for the record hash value of the terminal record of the commit data 376 (ledger 68), it is possible to prove the integrity of the record hash value. Therefore, by proving that the record hash value has not been tampered with, it is possible to prove that the series of time stamp tokens stored in the commit data 376 (ledger 68) have not been tampered with.
[0218] Furthermore, by storing the timestamp token obtained for the record hash value of the terminal record of the commit data 376 (ledger 68) in the commit data 376 (ledger 68), the tamper resistance of the timestamp token can be improved.
[0219] Also, a client certificate including the record hash value of the terminal record of the commit data 376 is created, and the client certificate is separated from the client server 3 and managed by the external server 9. As a result, even if all the records in the commit table 374 and ledger set 60 are tampered with, the client certificate managed by the external server 9 can prove that the commit table 374 and ledger set 60 have been tampered with.
[0220] [Variation 2] In the second embodiment, an example has been described in which the commit table 374 has information similar to that contained in the ledger set 60. Specifically, each of the commit data 375, 376 in the commit table 374 has information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV. The commit table 374 may have a part of the information contained in the ledger set 60. For example, each of the commit data 375, 376 in the commit table 374 may be configured to include information on Key, Age, Obj-HV, HV, and Nonce from the information on Key, Age, Obj-HV, Nonce, Sig, Prev-HV, and HV that each of the ledgers 67, 68 in the ledger set 60 has. In this case, the proof record is also generated to include information on Key, Age, Obj-HV, HV, and Nonce. That is, the commit data 375, 376 are summaries of the ledgers 67, 68. By making the commit data 375, 376 a summary of the ledgers 67, 68, the amount of data stored in the storage device 37 of the client server 3 can be reduced compared to a case in which the commit data 375, 376 and the ledgers 67, 68 have similar information.
[0221] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present disclosure is defined by the claims, not by the description of the embodiments described above, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]
[0222] 1,1A data management system, 2,3 client server, 4 database, 5,6 platform server, 7 user terminal device, 8 time stamping authority, 9 external server, 21 control device, 22 ROM, 23 RAM, 24 communication device, 25 input device, 26 display device, 27 storage device, 29 bus, 31 control device, 32 ROM, 33 RAM, 34 communication device, 35 input device, 36 display device, 37 storage device, 39 bus, 50 distributed ledger set, 51,52 distributed ledger, 60 ledger set, 61 control device, 62 ROM, 63 RAM, 64 communication device, 65 storage device, 67,68 ledger, 69 bus, 271 private key, 272 multiple public keys, 371 private key, 372 proof data, 373 suspension table, 374 commit table, 375,376 commit data, 651 A plurality of public keys, 2101 information acquisition unit, 2102 hash generation unit, 2103 nonce generation unit, 2104 electronic signature unit, 2105 transaction data generation unit, 2106 transaction data transmission unit, 2111 information acquisition unit, 2112 record hash generation unit, 2113 nonce generation unit, 2114 time stamp token acquisition unit, 2115 electronic signature unit, 2116 transaction data generation unit, 2117 transaction data transmission unit, 2121 information acquisition unit, 2122 record hash generation unit, 2123 nonce generation unit, 2124 time stamp token acquisition unit, 2125 electronic signature unit, 2126 transaction data generation unit, 2127 transaction data transmission unit, 2131 information acquisition unit, 2132 record hash generation unit, 2133 client certificate creation unit, 2134 transmission unit, 2141 A transaction data acquisition unit, a signature verification unit, a record creation unit, a ledger update unit, an output unit, and a network.
Claims
1. A data management device that manages data using distributed ledger technology, A storage device that stores the distributed ledger; A control device for updating the distributed ledger; A communication device configured to be able to communicate with a time stamp authority that grants a time stamp token, The distributed ledger comprises: a first distributed ledger that chronologically stores records including information about the data; a second distributed ledger that chronologically stores records including the time stamp tokens obtained from the time stamp authority; The control device includes: obtaining, via the communication device, from the time stamp authority, a first time stamp token that is a time stamp token for information about a terminal record of the first distributed ledger; obtaining, via the communication device, from the time stamp authority, a second time stamp token that is a time stamp token for information about a terminal record of the second distributed ledger; A data management device that stores a record in the second distributed ledger that includes the first timestamp token and the second timestamp token.
2. The data management device according to claim 1 , wherein the information regarding the terminal record of the first distributed ledger is a hash value of the terminal record.
3. The data management device according to claim 1 , wherein the control device acquires the first time stamp token in response to a user operation on the data management device.
4. The data management device according to claim 1 or claim 2, wherein the control device acquires the first timestamp token for a record when the record is added to the first distributed ledger.
5. The data management device according to claim 1 , wherein the control device acquires the second time stamp token in response to a user operation on the data management device.
6. The data management device according to claim 1 , wherein the control device acquires the second time stamp token when a predetermined time has elapsed since the second time stamp token was previously acquired.
7. The communication device is further configured to be able to communicate with an external server different from the data management device, 7. The data management device according to claim 1, wherein the control device transmits information regarding a terminal record of the second distributed ledger at a predetermined point in time to the external server via the communication device.
8. The data management device according to claim 1 , wherein the information about the terminal record of the second distributed ledger is a hash value of the terminal record.
9. A data management method using a data management device that manages data using distributed ledger technology, comprising: The data management device includes: A storage device that stores the distributed ledger; A control device for updating the distributed ledger; A communication device configured to be able to communicate with a time stamp authority that grants a time stamp token, The distributed ledger comprises: a first distributed ledger that chronologically stores records including information about the data; a second distributed ledger that chronologically stores records including the time stamp tokens obtained from the time stamp authority; The data management method includes: obtaining, via the communication device, from the time stamp authority, a first time stamp token that is a time stamp token for information about a terminal record of the first distributed ledger; obtaining, via the communication device, from the time stamp authority, a second time stamp token that is a time stamp token for information about a terminal record of the second distributed ledger; and storing a record in the second distributed ledger that includes the first timestamp token and the second timestamp token.
Citation Information
Patent Citations
Data certification system and data certification server
JP2014042214A
Information processing unit and program
JP2017157926A
Guarantee of ledger immutability
US20200076572A1
Managing blockchain-based centralized ledger systems
WO2019228560A2
