Data management device and data management method

Through the hash value and timestamp token verification processing of distributed ledger technology, the problem of file and definite time verification under multi-user management is solved, and efficient file and definite time management is achieved.

CN118779928APending Publication Date: 2024-10-15TOYOTA JIDOSHA KK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410368516.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-03
Filing Date
2024-03-28
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the case where multiple users jointly manage files and determine time, it is difficult with the existing technology to effectively verify whether files and time are properly managed, and to prevent or resolve failures between users.

Method used

Using distributed ledger technology, by storing the hash value generated by the file and the timestamp token used to prove the determined moment, multiple verification processes are performed to verify the integrity and sequence of the file and determined moment, reducing verification costs and system load. .

Benefits of technology

It realizes efficient verification of files and appropriate management of determination times at the timing expected by users, reduces verification costs and system loads, and ensures the integrity and sequence of files and determination times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779928A_ABST
    Figure CN118779928A_ABST
Patent Text Reader

Abstract

The invention provides a data management device and a data management method. Wherein the client server is provided with a storage device for storing a distributed account book; and a processor configured to execute a plurality of verification processes relating to the file and the determination time. In a distributed ledger, at least one file hash value generated from a file and at least one timestamp token for proving a specific time are stored in a time sequence. The plurality of verification processes includes a file verification process, a determination time verification process, and a sequential verification process. The file verification process is a process for verifying whether or not the at least one file is tampered with. The determination time verification process is a process that verifies whether the at least one determination time is tampered with. The sequential verification process is a process that verifies the sequence of the at least one file and the at least one determined time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a data management device and a data management method, and more specifically, to a data management device and a data management method to which distributed ledger technology (DLT) is applied. Background Art

[0002] Japanese Patent No. 6694204 discloses a data management system using distributed ledger technology. Summary of the invention

[0003] A data management device or method for managing files and determining time using distributed ledger technology is proposed. With such a system or method, for example, when multiple users jointly manage files and determine time, there is a requirement to properly verify whether the files and the determination time are properly managed in order to prevent or resolve problems between users.

[0004] The present disclosure is made to solve the above-mentioned problems, and one of the purposes of the present disclosure is to verify whether files and specific times are properly managed in a data management device or a data management method to which a distributed ledger technology is applied.

[0005] (1) The data management device of the first aspect of the present disclosure comprises: a storage device for storing a distributed ledger; and a processor configured to execute multiple verification processes related to files and determined moments. In the distributed ledger, at least one hash value generated from each file and at least one timestamp token used to prove the determined moment are stored in time series. The multiple verification processes include a first verification process to a third verification process. The first verification process is a process for verifying whether at least one file used to generate the at least one hash value has been tampered with. The second verification process is a process for verifying whether at least one determined moment proved by the at least one timestamp token has been tampered with. The third verification process is a process for verifying the sequentiality of the at least one file and the at least one determined moment.

[0006] In the structure of (1) above, the integrity of the file (whether the file has been tampered with) can be verified by the first verification process. The integrity of the determination time (whether the determination time has been tampered with) can be verified by the second verification process. The order of the file and the determination time in the distributed ledger can be verified by the third verification process. Therefore, according to the structure of (1) above, it is possible to verify whether the file and the determination time are properly managed.

[0007] (2) The processor executes at least one of the first to third authentication processes according to the user's operation of the input device.

[0008] In the configuration of (2) above, at least one of the first to third authentication processes is executed in accordance with a user operation. Therefore, according to the configuration of (2) above, authentication requested by the user can be performed at a timing desired by the user.

[0009] (3) When a first user operation is performed on the input device, the processor performs first to third verification processes on a portion of the at least one file and the at least one specific time selected by the user.

[0010] In the structure of (3) above, when the first user operation is performed, the verification object is limited to a part of the files and / or a part of the determined time selected by the user. As a result, compared with the case where all files and all determined times are used as verification objects, the verification cost (man-hours, time, system load, etc.) is reduced. Therefore, according to the structure of (3) above, it is possible to efficiently verify whether the files and determined times are properly managed.

[0011] (4) When the user selects two or more files, the processor verifies at least the earliest file among the two or more files, the determined time immediately before the earliest file, the latest file among the two or more files, and the determined time immediately after the latest file.

[0012] In the structure of (4) above, the determined time immediately before the earliest file and the determined time immediately after the latest file are taken as the objects of verification. Thus, it is possible to prove which of the two or more files selected by the user exists and which does not exist at the determined time immediately before and the determined time immediately after. In other words, it is possible to prove that the two or more files selected by the user are files stored in the distributed ledger between the determined time immediately before and the determined time immediately after. Therefore, according to the structure of (4) above, the order of files and determined times can be effectively verified through simple user operations.

[0013] (5) When there is another specific time between two or more files, the processor also verifies the other specific time.

[0014] In the structure of (5) above, other fixed moments between two or more files are also verified. Thus, it is also possible to prove which file exists and which file does not exist at the other fixed moments. Therefore, according to the structure of (5) above, the order of files and fixed moments can be verified in more detail.

[0015] (6) When the second user operation is performed on the input device, the processor performs the first to third verification processes on all of the at least one file and the at least one specific time.

[0016] In the structure of (6) above, when the second user operation is performed, the integrity of all files and the integrity of all fixed times are verified. Therefore, according to the structure of (6) above, the integrity of files and fixed times can be thoroughly verified.

[0017] (7) When the third user operation is performed on the input device, the processor executes the third authentication process instead of executing the first authentication process and the second authentication process.

[0018] In the structure of (7) above, when a third user operation is performed, the order of files and the time of determination is selectively verified. Therefore, according to the structure of (7) above, the order of files and the time of determination can be efficiently verified without requiring verification of the integrity of the files and the time of determination.

[0019] (8) When causing the output device to display verification results associated with more than three files or determined moments, the processor causes the output device to display the verification result associated with the earliest file or determined moment and the verification result associated with the latest file or determined moment, and omits displaying the verification result associated with at least one file or determined moment between the earliest file or determined moment and the latest file or determined moment to the output device before accepting the user's operation on the input device.

[0020] According to the configuration of (8) above, at least one file or determined time between the earliest file or determined time and the latest file or determined time is omitted from display, making the entire display simple, thereby making it easy for the user to confirm the summary of the verification result.

[0021] (9) When causing the output device to display verification results related to two or more files or specific times, the processor causes the output device to display the verification result related to the specific time more emphatically than the verification result related to the file.

[0022] According to the configuration of (9) above, the user can easily distinguish and confirm the verification result related to the specific time from the verification result related to the file.

[0023] (10) The data management method involved in the second aspect of the present disclosure includes a first step and a second step. The first step is a step in which the processor saves at least one hash value generated from each file and at least one timestamp token used to prove a certain moment in a time series to a distributed ledger. The second step is a step in which the processor performs multiple verification processes related to the file and the certain moment. The multiple verification processes include a first verification process to a third verification process. The first verification process is a process for verifying whether at least one file used to generate the above-mentioned at least one hash value has been tampered with. The second verification process is a process for verifying whether at least one certain moment used to prove the above-mentioned at least one timestamp token has been tampered with. The third verification process is a process for verifying the sequentiality of the above-mentioned at least one file and the above-mentioned at least one certain moment.

[0024] According to the method of (10) above, similarly to the structure of (1) above, it is possible to verify whether the file and the confirmed time are properly managed.

[0025] The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a diagram showing an example of the overall configuration of the data management system according to the first embodiment of the present disclosure.

[0027] Figure 2 This is a diagram showing an example of the configuration of a client server.

[0028] Figure 3 is a diagram representing an example of a data structure of a distributed ledger.

[0029] Figure 4 A conceptual diagram used to illustrate the relationship between records in the evidence chain and the timestamp chain.

[0030] Figure 5 This is a functional block diagram related to the main functions of the processor of the client server.

[0031] Figure 6 This is a functional block diagram of the file registration unit.

[0032] Figure 7 This is a functional block diagram of a fixed time providing unit.

[0033] Figure 8 This is a functional block diagram of the chain update unit.

[0034] Fig. 9 This is a functional block diagram of the document verification unit.

[0035] Fig.10This is a functional block diagram of the time verification unit.

[0036] Fig.11 This is a functional block diagram of the sequential verification unit.

[0037] Fig.12 This is a flowchart showing the overall processing procedure of the verification process in the first embodiment.

[0038] Fig.13 This is a diagram showing an example of a user interface for a user to select an authentication function.

[0039] Fig.14 This is a diagram showing an example of a user interface that displays verification results when "Verify all files" is selected.

[0040] Fig.15 This is a diagram showing an example of the display of the verification result in the third frame when “Verify all files” is selected.

[0041] Fig.16 This is a diagram showing an example of a UI displayed before starting the verification process when “Verify selected file” is selected.

[0042] Fig.17 This is a diagram showing an example of a display in a file selection box.

[0043] Fig.18 This is a diagram showing an example of a UI that displays a verification result when “Verify selected file” is selected.

[0044] Fig.19 This is a diagram showing an example of detailed display of the verification result in the third frame when “Verify selected file” is selected.

[0045] Fig. 20 This is a diagram showing another example of the display in the file selection box.

[0046] Fig.21 This is a diagram showing another example of display of details of the verification result in the third frame when “Verify selected file” is selected.

[0047] Fig. 22 This is a diagram showing an example of a user interface displayed before starting the verification process when "Verify only the order" is selected.

[0048] Fig.23 This is a diagram showing an example of a user interface that displays the verification result when “Verify only the order” is selected.

[0049] Fig.24This is a diagram showing an example of detailed display of the verification result in the third frame when “Verify only the order” is selected.

[0050] Fig.25 This is a diagram showing an example of the data structure of a distributed ledger in Implementation Example 2.

[0051] Fig.26 This is a conceptual diagram used to illustrate the relationship between records stored in the evidence chain and the timestamp chain in Implementation Method 2.

[0052] Fig. 27 This is a functional block diagram of the record production unit in Implementation Example 2.

[0053] Fig.28 This is a flowchart showing an example of the processing steps of the time stamp chain update process in Implementation Example 2. DETAILED DESCRIPTION

[0054] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. The same reference numerals are given to the same or corresponding parts in the drawings, and their description will not be repeated.

[0055] [Implementation Method 1]

[0056] <System Structure>

[0057] Figure 1 It is a diagram showing an example of the overall structure of the data management system involved in embodiment 1 of the present disclosure. The data management system 1 is a system that uses distributed ledger technology to manage data. The data managed by the data management system 1 are files and fixed times. The type of file and the data format are not particularly limited. The file can be the design data of the vehicle (or the components of the vehicle), or it can be the control program of the vehicle, or it can be a document file that records the specifications or development skills (know-how) of the vehicle. The fixed time refers to the time (typically a time including year, month, day, hour, minute, and second) certified by a timestamp token obtained from a time certification agency (TSA: Time Stamp Authority). The fixed time can also be referred to as a fixed date.

[0058] The data management system 1 includes, for example, a platform server 2 and a plurality of client servers 3A to 3D. In this example, an example in which four client servers are included in the data management system 1 will be described. However, the number of client servers may be two or more.

[0059] The platform server 2 manages the network NW. The network NW is, for example, an alliance network formed between multiple companies. The platform server 2 accepts applications for joining the network NW from client servers. The platform server 2 permits the client server to join the network NW based on an operation by an administrator of the platform server 2 or a determination result based on predetermined conditions.

[0060] The four client servers 3A to 3D are servers belonging to enterprises A to D, respectively. Distributed ledger-based software is imported into the client servers 3A to 3D. The distributed ledger-based software functions, and the client servers 3A to 3D function as nodes, respectively. The following representatively describes the client server 3A belonging to enterprise A, but the client servers 3B to 3D belonging to other enterprises B to D also have the same structure and function. In addition, the client servers 3A to 3D are respectively equivalent to the "data management device" of the present disclosure.

[0061] The client server 3A is communicatively connected to the time authentication authority 41A, the user terminal 42A, and the database 43A.

[0062] The time authentication authority 41A issues a time stamp token in response to a time stamp issuance request from the client server 3A as an applicant. The time stamp token is a token that combines time information based on a time source that has traceability in international standards with a file received from the applicant (in the first embodiment, a record hash value described later). The time authentication authority 41A is preferably a public authentication authority that can issue a public certificate. The time authentication authority may also be shared among some or all of the client servers 3A to 3D.

[0063] The user terminal 42A is an information processing terminal lent to a user (e.g., an employee of company A), and is a PC (Personal Computer), a smartphone, a tablet computer, etc. The user terminal 42A is an input device 34 and / or an output device 35 (see Figure 2 ) to perform its function.

[0064] The database 43A is a rewritable storage device, such as a HDD (Hard Disk Drive), an SSD (Solid State Drive), a flash memory, etc. When the user inputs the input device 34 (see Figure 2) or user terminal 42A performs an operation requesting registration and / or update of a file or a fixed time, the client server 3A responds to the operation and outputs a control signal to the database 43A. The database 43A stores (registers and / or updates) the file or the fixed time according to the control signal from the client server 3A. The database may also be shared among some or all of the client servers 3A to 3D.

[0065] Figure 2 3A is a diagram showing an example of the configuration of the client server 3A. Figure 1 as well as Figure 2 The client server 3A includes a processor 31, a memory 32, a communication device 33, an input device 34, an output device 35, and a storage 36. The components of the client server 3A are connected via a bus 37 so as to be communicable with each other.

[0066] The processor 31 is a calculation processing device such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit). The memory 32 includes a read-only memory (ROM) and a random access memory (RAM). The memory 32 stores a system program including an OS (Operating System) and a control program of a computer-readable code required for controlling calculations. The processor 31 implements various processes by reading out the system program and the control program and executing them in the memory 32. The processor 31 stores a file or a determined time in the database 43, or obtains a timestamp token from the time authentication authority 41A, or generates transaction data for updating a distributed ledger, which will be described in detail later.

[0067] in addition, Figure 2The example in which the client server 3A includes only one processor is shown, but the client server 3A may also include multiple processors. That is, the client server 3A includes more than one processor. The same applies to the memory 32 and the storage 36. In this specification, the "processor" is not limited to a processor in a narrow sense that performs processing in a stored-program manner, and may include hard-wired circuits such as ASIC (Application Specific Integrated Circuit) and FPGA (Field-Programmable Gate Array). Therefore, the term "processor" may also be replaced by a processing circuit (processing circuitry) in which processing is predefined by computer-readable code and / or hard-wired circuits.

[0068] The communication device 33 communicates with external devices of the client server 3A, including the platform server 2, other client servers 3B to 3D, the time authentication authority 41A, the user terminal 42A, the database 43A, and the like.

[0069] The input device 34 is a device capable of accepting user operations, and is a mouse, a keyboard, a touch panel, etc. The output device 35 is a device capable of providing information to the user, and is typically a display.

[0070] The storage 36 is a rewritable storage device, such as a HDD, an SSD, a flash memory, etc. The storage 36 stores a private key 51 , a plurality of public keys 52 , and a distributed ledger 6 .

[0071] The private key 51 is a private key managed by enterprise A. The multiple public keys 52 include the public keys of enterprises B to D. The multiple public keys 52 may also include the public key of enterprise A itself. For example, when the client server 3A initially joins the network NW, the processor 31 generates a private key and a public key. Then, the processor 31 sends the generated public key to the certification authority (not shown) and receives certification. The certification authority issues an electronic certificate containing information about the public key. The processor 31 stores the private key 51 corresponding to the certified public key in the storage 36. In addition, the processor 31 sends the certified public key (electronic certificate) 62 to the client servers 3B to 3D of other enterprises B to D. The client servers 3B to 3D each similarly send their own public keys to client servers other than themselves.

[0072] The distributed ledger 6 includes a plurality of ledgers. Each ledger has a chain structure (more specifically, a directed acyclic graph (DAG) structure), so the ledger is also referred to as a "chain" below. In the first embodiment, two chains described below are prepared for each predetermined object (e.g., each vehicle, each component, each control program, each specification). As the file and / or the determined time are stored in the database 43, the client server 3 stores information related to the file and / or the determined time in the above two chains.

[0073] Hereinafter, when the client servers 3A to 3D are not particularly distinguished, they are referred to as “client servers 3 ” without being given reference numerals A to D. The same applies to the time authentication mechanism, the user terminal, and the database.

[0074] <Distributed Ledger>

[0075] Figure 3 6 is a diagram showing an example of the data structure of a distributed ledger 6. The distributed ledger 6 includes, for example, a plurality of evidence chains 61 and a plurality of time stamp chains 62. Figure 3 In the embodiment 1, one evidence chain 61 and one time stamp chain 62 are associated with each other. However, as will be described later in the embodiment 2, multiple evidence chains 61 may also be associated with one time stamp chain 62.

[0076] The evidence chain 61 is a ledger that stores records related to documents in chronological order. Figure 3 In the example shown, the evidence chain 61 includes five records R11 to R15. Each record includes a key (Key), an age (Age), data (Data), a random value (Nonce: a one-time random number), an electronic signature (Sig), a previous record hash value (Prev-RH) and a record hash value (RH).

[0077] The key is identification information (ID) for identifying the evidence chain 61. The identification information of the object (vehicle, component, control program, specification, etc.) can also be used as the key. In this example, Key=k1 is assigned to the evidence chain 61. As a result, the record of Key=k1 is stored in the evidence chain 61.

[0078] Generation is information indicating the order of records. The generation of the first record is 1. And, every time a file and / or a certain time is updated and a record is added, the generation increases. Hereinafter, the first (earliest) record is also referred to as the "starting record". The last (newest) record is also referred to as the "ending record".

[0079] The data in the evidence chain 61 is a hash value generated from a file (hereinafter also referred to as a "file hash value"). When a file is updated, a hash value is generated by hashing the updated file using a hash function. The generated hash value is stored as a file hash value. In this example, file hash values ​​FH1 to FH5 are stored in five records R11 to R15, respectively. In addition, a file hash value is equivalent to a "hash value" of the present disclosure.

[0080] The random value is a value indicating the number of transaction data. For example, when a file is updated, the random value is used as the number of the process of storing the file hash value in the evidence chain 61.

[0081] The electronic signature is information for confirming the identity of the client server 3 that issued the transaction data. The electronic signature is created by encrypting a file hash value using the private key 51 of the client server 3 that issued the transaction data, for example.

[0082] The previous record hash value is the record hash value of the previous generation record of the record (in other words, the parent record).

[0083] The record hash value is the hash value of the record. The record hash value is generated by hashing the information of the record other than the record hash value (Key, Age, Data, Nonce, Sig, Prev-RH, etc.) using a hash function.

[0084] The record hash value of the end record R15 (record with Age=5) of the evidence chain 61 is "h5". The previous record hash value of the end record R15 is "h4", the record hash value of the parent record (record with Age=4) R14. The previous record hash value of record R14 is "h3", the record hash value of the parent record (record with Age=3) R13. In this way, in the evidence chain 61, multiple records respectively contain the record hash value (previous record hash value) of the parent record of the record, thereby multiple records are linked.

[0085] The timestamp chain 62 is a ledger that stores records related to specific moments in time series. Figure 3 In the example shown, the timestamp chain 62 includes four records R21 to R24. Each record includes a key, a generation, data, a random value, an electronic signature, a previous record hash value, and a record hash value, similarly to the records in the evidence chain.

[0086] Compared to the data in the evidence chain 61 being the file hash value, the data in the timestamp chain 62 is the timestamp token or the end hash value (End-RH). In response to the user operation requesting to obtain the timestamp token, the timestamp token for the end hash value of the evidence chain 61 is obtained from the moment authentication authority 41, which will be described in detail later. In this example, the timestamp tokens TS1 and TS2 are respectively stored in the two records R22 and R24.

[0087] The end hash value is the record hash value of the end record of the evidence chain 61 when the user operation requesting the acquisition of the timestamp token is performed. In this example, the record hash value of the record R13 of the evidence chain 61, i.e., "h3", is stored as the end hash value in the record R21. In the record R23, the record hash value of the record R15 of the evidence chain 61, i.e., "h5", is stored as the end hash value.

[0088] The information other than the above contained in the timestamp chain 62 is the same as the corresponding information in the evidence chain 61, so the detailed description will not be repeated.

[0089] Figure 4 This is a conceptual diagram for explaining the relationship between the records stored in the evidence chain 61 and the timestamp chain 62. Figure 3 and Figure 4 Both parties are explained in chronological order.

[0090] Age = 1 of the chain of evidence

[0091] First, according to a user operation, the file P is registered in the database 43. The client server 3A generates transaction data for adding a record R11 of the first generation (Age=1) to the evidence chain 61. The record R11 includes a file hash value FH1 generated by hashing the file P and a record hash value h1.

[0092] The client server 3A sends the generated transaction data to the network NW. By executing processing (transaction processing) on ​​the transaction data in the client servers 3A to 3D, record R11 is added to the evidence chain 61 of each of the client servers 3A to 3D. These processes are the same in subsequent generations, so they will not be repeated.

[0093] Age of Evidence Chain = 2

[0094] When file Q is registered in database 43 according to user operation, client server 3A generates transaction data for adding second generation (Age=2) record R12 to evidence chain 61. Record R12 includes file hash value FH2 related to file Q, previous record hash value h1, and record hash value h2.

[0095] Age of Evidence Chain = 3

[0096] When file R is registered in database 43 according to user operation, client server 3A generates transaction data for adding record R13 of the third generation (Age=3) to evidence chain 61. Record R13 includes file hash value FH3 related to file R, previous record hash value h2, and record hash value h3.

[0097] 《Age=1 of the timestamp chain》

[0098] Assume that at the time point when record R13 is the end record of the evidence chain 61, the user performs an operation on the input device 34 (or the user terminal 42A) to assign a certain time to record R13. In response to the user operation, the client server 3A generates transaction data for appending the first generation (Age=1) record R21 to the timestamp chain 62. Record R21 includes the end hash value (the record hash value of the end record of the evidence chain 61, i.e., record R13) h3 and the record hash value H1.

[0099] 《Age=2 of Timestamp Chain》

[0100] The client server 3A obtains the time stamp token TS1 for the record hash value (previous record hash value) H1 of the parent record R21 from the time authentication authority 41A. The client server 3A generates transaction data for appending the second generation (Age=2) record R22 to the time stamp chain 62. The record R22 includes the time stamp token TS1, the previous record hash value H1, and the record hash value H2.

[0101] Age of Evidence Chain = 4

[0102] When file P is updated to file P' according to user operation, client server 3A generates transaction data for adding record R14 of the fourth generation (Age=4) to evidence chain 61. Record R14 includes file hash value FH4 related to updated file P', previous record hash value h3 and record hash value h4.

[0103] Age of Evidence Chain = 5

[0104] When the file S is registered in the database 43 according to the user operation, the client server 3A generates transaction data for adding the fifth generation (Age=5) record R15 to the evidence chain 61. The record R15 includes the file hash value FH5 related to the file S, the previous record hash value h4, and the record hash value h5.

[0105] 《Age=3 of Timestamp Chain》

[0106] Assume that at the time point when record R15 is the end record of the evidence chain 61, the user performs an operation on the input device 34 for assigning a certain time to record R15. In response to the user operation, the client server 3A generates transaction data for appending the third generation (Age=3) record R23 to the timestamp chain 62. Record R23 includes the end hash value (the record hash value of the end record of the evidence chain 61, i.e., record R15) h5, the previous record hash value H2, and the record hash value H3.

[0107] 《Age=4 of Timestamp Chain》

[0108] The client server 3A obtains the time stamp token TS2 for the previous record hash value H3 from the time authentication authority 41A. The client server 3A generates transaction data for adding a record R24 of the fourth generation (Age=4) to the time stamp chain 62. The record R24 includes the time stamp token TS2, the previous record hash value H3, and the record hash value H4.

[0109] In this embodiment, in any of the evidence chain 61 and the timestamp chain 62, all records are linked by including the hash value of the previous record in each of the multiple records (except the starting record). Therefore, in order to tamper with any record (especially the file hash value or timestamp token in the record), all records appended after the record must be tampered with. However, such tampering is difficult in reality. Therefore, according to this embodiment, it can be proved that the file has not been tampered with (the integrity of the file), and it can be proved that the determined time has not been tampered with (the integrity of the determined time). In addition, the term "tampering" in this specification includes "damage" or "deletion" of the file and the determined time (timestamp token).

[0110] Furthermore, by chaining all the records in the evidence chain 61, the order of all the records stored in the evidence chain 61 is uniquely determined. Therefore, according to this embodiment, the temporal arrangement of a plurality of files (the order of files) can be proved.

[0111] In addition, in this embodiment, the timestamp token is obtained for the record hash value of the record of the timestamp chain 62 including the terminal hash value of the evidence chain 61. In this way, it is possible to prove which file exists and which file does not exist at a certain time proved by the timestamp token. Figure 3 and Figure 4In the example shown, by acquiring the time stamp token TS1 for the record hash value H1 of the record R21 including the terminal hash value h3 of the record R13, it is possible to prove that the file R (and the preceding files P, Q) existed at the determined time proved by the time stamp token TS1, and it is possible to prove that the subsequent file P'S did not exist at the determined time proved by the time stamp token TS1 (in other words, the file PS was registered or updated after the time proved by the time stamp token TS1). In addition, by acquiring the time stamp token TS2 for the record hash value H3 of the record R23 including the terminal hash value h5 of the record R15, it is possible to prove that the file S (and the preceding files P, Q, R, P') existed at the determined time proved by the time stamp token TS2.

[0112] <Function Block>

[0113] Figure 5 This is a functional block diagram related to the main functions of the processor 31 of the client server 3. The processor 31 includes a file registration unit 71, a fixed time assignment unit 72, a chain update unit 73, a file verification unit 74, a fixed time verification unit 75, and a sequential verification unit 76. Each functional block is implemented by the processor 31 executing a program stored in the memory 32. Each functional block can also be implemented by dedicated hardware (electronic circuit). Below, these functional blocks are described in sequence.

[0114] 《Registration of Documents》

[0115] Figure 6 4 is a functional block diagram of the file registration unit 71. The file registration unit 71 generates transaction data for appending a record containing a file hash value to the evidence chain 61 according to a user operation of registering (or updating) a file to the database 43. The file registration unit 71 includes a file hash generation unit 711, a random number generation unit 712, an electronic signature unit 713, a transaction data generation unit 714, and a transaction data transmission unit 715.

[0116] In addition, a request is generated in conjunction with a user operation on the input device 34 or the user terminal 42. The request includes an ID, i.e., a key, for determining the evidence chain 61 to be recorded additionally. Although not shown, each functional block receives the key from the preceding block and outputs the key to the subsequent block. Thus, processing is performed on the evidence chain 61 determined by the key.

[0117] When receiving the request, the file hash generation unit 711 reads the file from the database 43. The file hash generation unit 711 generates a file hash value (FH) by hashing the file using a hash function. The file hash generation unit 711 outputs the file hash value to the electronic signature unit 713 and the transaction data generation unit 714.

[0118] When receiving the request, the random number generator 712 generates a random value (Nonce) and outputs the random value to the transaction data generator 714. Although not shown, when the random value is used in the creation of an electronic signature, the random number generator 712 may also output the random value to the electronic signature unit 713.

[0119] The electronic signature unit 713 reads the private key 51 from the storage 36. The electronic signature unit 713 generates an electronic signature (Sig) by encrypting the file hash value from the file hash generation unit 711 using the private key 51. The electronic signature unit 713 may also generate an electronic signature by encrypting the random value from the random number generation unit 712 using the private key 51. The electronic signature unit 713 may also generate an electronic signature by encrypting the file hash value and the random value using the private key 51. The electronic signature unit 713 outputs the electronic signature to the transaction data generation unit 714.

[0120] The transaction data generation unit 714 calculates the generation of the record newly added to the evidence chain 61. In this example, the transaction data generation unit 714 obtains the generation of the end record (i.e., the parent record) of the evidence chain 61 by querying the key from the evidence chain 61. Alternatively, the transaction data generation unit 714 obtains the generation of the end record of the timestamp chain 62 associated with the evidence chain 61. Then, the transaction data generation unit 714 calculates the generation of the newly added record by increasing the generation of the acquired end record by 1.

[0121] The transaction data generation unit 714 obtains the record hash value of the parent record of the evidence chain 61 as the previous record hash value (Prev-RH) (not shown). The transaction data generation unit 714 calculates the record hash value (RH) by hashing the key, generation, file hash value, random value, electronic signature and previous record hash value. Then, the transaction data generation unit 714 generates transaction data (tx) containing the key, generation, file hash value, random value, electronic signature, previous record hash value and record hash value. Preferably, the transaction data also includes sender information of the client server 3 for determining the sending source of the transaction data. The transaction data generation unit 714 may also include the time information of broadcasting the transaction data to the network NW in the transaction data. The transaction data generation unit 714 outputs the transaction data to the transaction data sending unit 715.

[0122] The transaction data transmission unit 715 outputs a control signal for transmitting the transaction data to the communication device 33. As a result, the transaction data is broadcast to the network NW via the communication device 33.

[0123] 《Obtaining a Certain Moment》

[0124] Figure 74 is a functional block diagram of the definite time assigning unit 72. The definite time assigning unit 72 stores the definite time in the database 43 according to the user operation. In addition, the definite time assigning unit 72 generates transaction data for appending a record including a timestamp token to the timestamp chain 62 according to the above-mentioned user operation. The definite time assigning unit 72 includes an end hash obtaining unit 721, a random number generating unit 722, a timestamp token obtaining unit 723, an electronic signature unit 724, a transaction data generating unit 725, and a transaction data transmitting unit 726.

[0125] In addition, a request is generated in accordance with a user operation on the input device 34 or the user terminal 42. The request includes a first key, which is an ID for identifying the evidence chain 61 to which the specified time is assigned, and a second key, which is an ID for identifying the time stamp chain 62 to which the additional record is to be added. Each functional block performs processing on the evidence chain 61 specified by the first key and the time stamp chain 62 specified by the second key.

[0126] When receiving the request, the end hash acquisition unit 721 extracts the transaction data corresponding to the end record of the evidence chain 61. The end hash acquisition unit 721 obtains the end hash value (record hash value of the end record) (End-RH) of the evidence chain 61 from the extracted transaction data. The end hash acquisition unit 721 outputs the end hash value to the timestamp token acquisition unit 723 and the transaction data generation unit 725.

[0127] When receiving the request, the random number generator 722 generates a random value (Nonce) and outputs the random value to the transaction data generator 725. Although not shown, the random number generator 722 may also output the random value to the electronic signature unit 724 when the random value is used in the creation of the electronic signature.

[0128] The time stamp token acquisition unit 723 acquires a time stamp token (TS) for the terminal hash value from the terminal hash acquisition unit 721. More specifically, the time stamp token acquisition unit 723 sends the terminal hash value to the time authentication unit 41 through the communication device 33. The time authentication unit 41 returns the time stamp token to the client server 3 that is the source of the terminal hash value. Thus, the time stamp token is acquired. The time stamp token acquisition unit 723 stores the time stamp token in the database 43 (or the storage 36) as a certain time. In addition, the time stamp token acquisition unit 723 outputs the time stamp token to the electronic signature unit 724 and the transaction data generation unit 725.

[0129] The electronic signature unit 724 reads the private key 51 from the storage 36. The electronic signature unit 724 encrypts the time stamp token from the time stamp token acquisition unit 723 using the private key 51 to create an electronic signature (Sig). The electronic signature unit 724 can create an electronic signature by encrypting the random value from the random number generation unit 722 using the private key 51. The electronic signature unit 724 can also create an electronic signature by encrypting the time stamp token and the random value using the private key 51. The electronic signature unit 724 outputs the electronic signature to the transaction data generation unit 725.

[0130] The transaction data generation unit 725 calculates the generation of the record newly added to the timestamp chain 62. This calculation method is similar to that of the transaction data generation unit 714 (see Figure 6 ) is calculated in the same way, so it will not be repeated.

[0131] The transaction data generation unit 725 obtains the record hash value of the parent record of the timestamp chain 62 as the previous record hash value (Prev-RH) (not shown). The transaction data generation unit 725 calculates the record hash value (RH) by hashing the key, generation, data (end hash value or timestamp token), random value, electronic signature and previous record hash value. Then, the transaction data generation unit 725 generates transaction data (TX) including the key, generation, timestamp token, random value, electronic signature, end hash value, previous record hash value and record hash value. Preferably, the transaction data also includes sender information. The transaction data generation unit 725 outputs the transaction data to the transaction data sending unit 726.

[0132] The transaction data transmission unit 726 outputs a control signal for transmitting the transaction data to the communication device 33. As a result, the transaction data is broadcast to the network NW via the communication device 33.

[0133] Chain Update

[0134] Figure 8 7 is a functional block diagram of the chain update unit 73. The chain update unit 73 adds a new record to the evidence chain 61 or the timestamp chain 62 through transaction processing, thereby updating the evidence chain 61 or the timestamp chain 62. Here, the evidence chain 61 is used as an example for explanation, but in Implementation 1, the same is true for the timestamp chain 62. The chain update unit 73 includes a transaction data acquisition unit 731, a signature verification unit 732, a record creation unit 733, an update unit 734, and a notification unit 735.

[0135] The transaction data acquisition unit 731 acquires transaction data (tx) from the network NW and outputs the transaction data to the signature verification unit 732 .

[0136] The signature verification unit 732 verifies the validity of the electronic signature contained in the transaction data. As described above, the electronic signature is obtained by encrypting the file hash value using the private key 51 of the client server 3 of the sending source. First, the signature verification unit 732 determines the client server 3 of the sending source of the transaction data based on the sender information contained in the transaction data. Then, the signature verification unit 732 reads the public key of the determined client server 3 from the storage 36 among the multiple public keys 52. The signature verification unit 732 uses the public key to decrypt the electronic signature contained in the transaction data. The signature verification unit 732 compares the decrypted value with the file hash value contained in the transaction data. When the two are consistent, the signature verification unit 732 recognizes the validity of the electronic signature and outputs its result to the record creation unit 733.

[0137] When the validity of the electronic signature is recognized, the record creation unit 733 creates a record to be added to the evidence chain 61 based on the transaction data. More specifically, the record creation unit 733 obtains the key, generation, file hash value, random value, electronic signature, previous record hash value, and record hash value from the transaction data, and creates a record containing this information. The record creation unit 733 outputs the record to the update unit 734.

[0138] The updating unit 734 updates the evidence chain 61. More specifically, the updating unit 734 refers to the key of the record from the record creation unit 733 and determines the evidence chain 61 to which the record should be added. Then, the updating unit 734 adds the record to the designated evidence chain 61. When the updating of the evidence chain 61 is completed, the updating unit 734 outputs the fact to the notification unit 735.

[0139] The notification unit 735 outputs a control signal for notifying the completion of the transaction process to the communication device 33. Thus, the completion of the transaction process is notified to the client server 3 which is the transmission source of the transaction data.

[0140] Verification of the integrity of the document

[0141] Fig. 9 74. The file verification unit 74 verifies the integrity of the file recorded and stored in the evidence chain 61 (the file has not been tampered with). The verification object can be all files in the evidence chain 61 or a part of the files selected by the user. The file verification unit 74 includes a file acquisition unit 741, a file hash acquisition unit 742, a verification processing unit 743 and an output unit 744.

[0142] The file acquisition unit 741 receives a user operation for selecting a file to be verified from the input device 34 (which may also be the user terminal 42). For example, the user first determines the chain of evidence 61. On this basis, the user may also determine all of the multiple files recorded and stored in the chain of evidence as verification objects. Alternatively, the user may also determine a portion of the multiple files as verification objects. Thus, the file to be verified is selected. The file acquisition unit 741 obtains the selected file from the database 43 and outputs the obtained file to the verification processing unit 743.

[0143] The file hash acquisition unit 742 acquires, for the file selected by the user, a corresponding file hash value (FH) in the evidence chain 61 stored in the storage 36 . The file hash acquisition unit 742 outputs the file hash value to the verification processing unit 743 .

[0144] The verification processing unit 743 determines whether the file from the file acquisition unit 741 is tampered with based on whether the file hash value from the file hash acquisition unit 742 matches. More specifically, the verification processing unit 743 hashes the file from the file acquisition unit 741 using a hash function. Then, for each file, the verification processing unit 743 compares the file hash value obtained by hashing with the file hash value from the file hash acquisition unit 742. For a certain file, when the two file hash values ​​are consistent with each other, the verification processing unit 743 determines that the file has not been tampered with (no tampering is detected). On the other hand, for other files, when the two file hash values ​​are inconsistent, the verification processing unit 743 determines that the file is likely to be tampered with (tampering is detected). The verification processing unit 743 outputs the verification results (tampering detection / no tampering detection for each file, which file has been tampered with, etc.) to the output unit 744.

[0145] The output unit 744 outputs the verification result of the verification processing unit 743 to the output device 35 (which may be the user terminal 42). Thus, the user can confirm the verification result of one or more files selected by the user.

[0146] Verification of the integrity of a given moment

[0147] Fig.10 7 is a functional block diagram of the determined time verification unit 75. The determined time verification unit 75 verifies the integrity of the determined time certified by the timestamp token (the determined time has not been tampered with). The verification object can be all the determined times in the timestamp chain 62, or a part of the determined times selected by the user. The determined time verification unit 75 includes a determined time acquisition unit 751, a timestamp token acquisition unit 752, a verification processing unit 753, and an output unit 754.

[0148] The determination time acquisition unit 751 receives a user operation of selecting a determination time of a verification object from the input device 34 (which may also be the user terminal 42). For example, the user first determines the timestamp chain 62. On this basis, the user may also determine all of the multiple determination times contained in the timestamp chain as verification objects. Alternatively, the user may also determine a part of the multiple determination times as verification objects. Thus, the determination time of the verification object is selected. As described later, the determination time of the verification object may also be automatically selected according to the user operation of selecting a file. The determination time acquisition unit 751 obtains the selected determination time from the database 43 and outputs the obtained determination time to the verification processing unit 753.

[0149] The time stamp token acquisition unit 752 acquires the corresponding time stamp token (TS) from the time stamp chain 62 stored in the storage 36 for the specific time selected by the user. The time stamp token acquisition unit 752 outputs the time stamp token to the verification processing unit 753.

[0150] The verification processing unit 753 determines whether the determined time has been tampered with based on whether the determined time from the determined time acquisition unit 751 (database 43) matches the timestamp token from the timestamp token acquisition unit 752 (timestamp chain 62). More specifically, the verification processing unit 753 compares the determined time from the determined time acquisition unit 751 and the timestamp token from the timestamp token acquisition unit 752. When a certain determined time and the timestamp token corresponding to the determined time are consistent with each other, the verification processing unit 753 determines that the determined time has not been tampered with (no tampering is detected). On the other hand, when other determined times are inconsistent with the timestamp token corresponding to the determined time, the verification processing unit 753 determines that the determined time may have been tampered with (tampering is detected). The verification processing unit 753 outputs the verification results (tampering detected / not detected for each determined time, which determined time has been tampered with, etc.) to the output unit 754.

[0151] The output unit 754 outputs the verification result of the verification processing unit 753 to the output device 35 (or the user terminal 42). Thus, the user can confirm the verification result for one or more specific times selected by the user.

[0152] Sequential Verification

[0153] Fig.11 7 is a functional block diagram of the sequential verification unit 76. The sequential verification unit 76 verifies the sequentiality (how the files and / or the determined moments are arranged in time) of the files recorded and stored in the evidence chain 61 and / or the determined moments proved by the timestamp chain 62. The sequential verification unit 76 includes an end hash acquisition unit 761, a previous record hash acquisition unit 762, a record hash acquisition unit 763, a verification processing unit 764, and an output unit 765.

[0154] First, the user selects a file to be verified and / or determines a time using the input device 34 (or the user terminal 42). Fig. 9 and Fig.10 The method described in is the same as that described in . The following description takes the case where multiple files and multiple fixed times are selected as an example. The end hash acquisition unit 761, the previous record hash acquisition unit 762, and the record hash acquisition unit 763 receive which file and which fixed time the user has selected, respectively.

[0155] The end hash acquisition unit 761 acquires the end hash value (End-RH) of the record corresponding to each of the selected multiple specific times from the time stamp chain 62. The specific time acquisition unit 751 outputs the end hash value to the verification processing unit 764.

[0156] The previous record hash acquisition unit 762 acquires the previous record hash values ​​(Prev-RH) of the records corresponding to the selected multiple files from the evidence chain 61, and acquires the previous record hash values ​​of the records corresponding to the selected multiple specific moments from the time stamp chain 62. The previous record hash acquisition unit 762 outputs the previous record hash values ​​to the verification processing unit 764.

[0157] The record hash acquisition unit 763 acquires the record hash values ​​(RH) of the records corresponding to the selected multiple files from the evidence chain 61, and acquires the record hash values ​​of the records corresponding to the selected multiple specific times from the time stamp chain 62. The record hash acquisition unit 763 outputs the record hash values ​​to the verification processing unit 764.

[0158] The verification processing unit 764 verifies the temporal arrangement (pre-post relationship) of the selected multiple files and multiple specific times based on the terminal hash value from the terminal hash acquisition unit 761, the previous record hash value from the previous record hash acquisition unit 762, and the record hash value from the record hash acquisition unit 763. Figure 3 and Figure 4 As described above, the arrangement of records in the same chain (parent-child relationship) can be determined based on the previous record hash value and the record hash value. In addition, the arrangement of records between different chains can be determined based on the end hash value and the record hash value. Therefore, the verification processing unit 764 can determine the order of multiple files and multiple determined times. The verification processing unit 764 outputs the verification result (the temporal arrangement of multiple files and multiple determined times) to the output unit 765.

[0159] The output unit 765 outputs the verification result of the verification processing unit 764 to the output device 35 (which may be the user terminal 42). Thus, the user can confirm the verification result of one or more files and / or one or more specific times selected by the user.

[0160] In addition, here, the situation where multiple files and multiple determined times are selected is described as an example. It is also possible to select multiple files without selecting determined times. Alternatively, it is also possible to select multiple determined times without selecting files. Those skilled in the art can easily understand from the above description that the order of all records can be determined in these cases.

[0161] <Processing Flow>

[0162] Fig.12 1 is a flowchart showing an example of the processing steps of the entire verification process in Implementation 1. The processing shown in the flowchart is called out from the main routine and executed when a predetermined condition is met (for example, every predetermined cycle). Each step is implemented by software processing based on the client server 3 (processor 31), but can also be implemented by hardware (electrical circuit) configured in the client server 3. Hereinafter, the step is referred to as S. The same is true for the flowchart in Implementation 2 described later.

[0163] In S11 , the client server 3 determines whether the input device 34 or the user terminal 42 has accepted a user operation for selecting the authentication function.

[0164] Fig.13 1 is a diagram showing an example of a user interface (UI) for a user to select an authentication function. This UI is displayed on the output device 35 or the user terminal 42.

[0165] The UI, for example, has a navigation list 81 indicating selectable evidence chains and an information bar 82 indicating the evidence chain selected by the user. In this example, "Evidence Chain X" is selected. The UI, for example, also has three tabs 831 to 833. Tab 831 is a tab for displaying a file list. Tab 832 is a tab for displaying a history. Tab 833 is a tab for file sharing.

[0166] When the tab 832 for displaying the history is selected, three buttons 841 to 843 are displayed for selecting any one of the three verification functions. Button 841 is a "Verify all files" button. Button 842 is a "Verify selected files" button. Button 843 is a "Verify only sequence" button. Fig.13 , select "Verify all files" by operating button 841.

[0167] Reference Fig.12 and Fig.13When the input device 34 or the user terminal 42 does not accept the user operation (more specifically, the operation on any one of the buttons 841 to 843) (No in S11), the client server 3 does not execute the subsequent processing and returns the processing to the main routine.

[0168] When the input device 34 or the user terminal 42 accepts the above-mentioned user operation (YES in S11 ), the client server 3 advances the process to S12 to determine which button among buttons 841 to 843 the button operated by the user is.

[0169] When the button 841 indicating verification of all files is operated ("Verify all files" in S12), the client server 3 performs file verification processing for all files (S131), fixed time verification processing for all fixed times (S132), and sequential verification processing (S133). The execution order of these processes is arbitrary. The file verification processing, fixed time verification processing, and sequential verification processing are respectively performed by the file verification unit 74 (see Fig. 9 ), determine the time verification unit 75 (refer to Fig.10 ) and sequential verification unit 76 (refer to Fig.11 ) to achieve it.

[0170] After executing the three verification processes, the client server 3 notifies the user that the verification process is completed (S16). The client server 3 may display a message indicating that the verification process is completed on the output device 35 (which may also be the user terminal 42), or may send an email indicating that the verification process is completed to the user terminal 42. Then, the client server 3 displays the verification result on the output device 35 (which may also be the user terminal 42) (S17).

[0171] Returning to S12, when the button 842 for instructing verification of the selected file is operated ("Verify selected file" in S12), the client server 3 performs file verification processing for the selected file (S141) and fixed time verification processing for the selected fixed time (S142). Thereafter, the client server 3 notifies the user of the completion of verification (S16), and displays the verification result on the output device 35 (which may also be the user terminal 42) (S17).

[0172] When the button 843 for instructing to verify only the sequence is operated ("Verify only the sequence" in S12), the client server 3 performs the sequential verification process (S151). Thereafter, the client server 3 notifies the user of the completion of the verification (S16), and displays the verification result on the output device 35 or the user terminal 42 (S17).

[0173] In addition, the file verification process, the fixed time verification process, and the sequential verification process are respectively equivalent to the "first verification process" to the "third verification process" of the present disclosure. The operation of the button 842 indicating the verification of the selected file is equivalent to the "first user operation" of the present disclosure. The operation of the button 841 indicating the verification of all files is equivalent to the "second user operation" of the present disclosure. The operation of the button 843 indicating the verification of only the sequentiality is equivalent to the "third user operation" of the present disclosure.

[0174] <Display of verification results>

[0175] Hereinafter, how the UI displaying the verification result differs depending on whether "verify all files", "verify selected files", or "verify only the order" is selected will be described.

[0176] Verify all documents

[0177] Fig.14 1 is a diagram showing an example of a UI that displays the verification result when "Verify all files" is selected. When the verification process is completed, a first frame 861, a second frame 862, and a third frame 863 are displayed together with a notification 85 that "Verification completed".

[0178] The first frame 861 indicates a summary (conclusion) of the verification result. For example, if tampering is found in any record (file or certain time), a message "tampering is found" is displayed in the first frame 861. On the other hand, if tampering is not found in any record, such as Fig.14 As shown, a message “No tampering found” is displayed in the first frame 861 .

[0179] The second frame 862 represents the chain of evidence that is the subject of the verification process. Fig.14 In the example shown, “Chain of Evidence X” is displayed in the second frame 862 .

[0180] The third block 863 illustrates the details of the verification result. Figure 3 as well as Figure 4 As explained above, the file generation and the generation at the time of determination are managed independently by different chains. In the following explanation of the verification results, the generation of the file is distinguished by adding A and the generation at the time of determination is distinguished by adding B. However, this distinction is for the purpose of avoiding confusion and making it easier to understand, and is not necessary.

[0181] Fig.15 This is a diagram showing an example of the display of the verification results in the third frame 863 when "Verify all files" is selected. Here, it is assumed that three or more files are selected. In this case, for example, a section 911 showing the verification results of the beginning record and a section 913 showing the verification results of the end record are displayed. Fig.15 In the example shown, segment 911 shows the verification result of whether the fixed time of Age=1B is tampered by the fixed time verification process, and segment 913 shows the verification result of whether the file of Age=8A is tampered by the file verification process.

[0182] On the other hand, regarding the records between the start record and the end record, a blank section 912 that does not include the verification results (the presence or absence of tampering of the files with Age=1A to 2B or the determined time) is displayed. That is, the display of the records between the start record and the end record is omitted. When the user selects the detailed display button 914 in the section 912, sections 912A to 912H showing the verification results of the intermediate records are displayed. The arrangement of the files and the determined time in sections 911, 912A to 912H, and 913 is a time series based on the results of the sequential verification process. In this way, regarding the records between the start record and the end record, the display is omitted and the entire display is simplified, so that the user can easily grasp the summary of the verification results. In addition, when only one or two files are selected, the intermediate section 912 is not displayed.

[0183] In "Verify All Files", verification results for all files and all confirmed times are displayed. Therefore, "Verify All Files" is particularly effective when a problem occurs between users (suspected tampering). This is because a user can make other users recognize it by showing all verification results to other users.

[0184] exist Fig.15 In the example shown, the sizes of the segments 911 and 913 at the ends are larger than the sizes of the segments 912A to 912H in the middle. In this way, it is preferable to display the segment indicating the verification result of the start record and the segment indicating the verification result of the end record larger than the segment indicating the verification result of the records between the start record and the end record. In this way, the user can easily confirm the verification results related to the start record and the end record.

[0185] In addition, it is preferable to make the display method different between the segment showing the verification result of whether the file has been tampered with and the segment showing the verification result of whether the file has been tampered with at a certain time. Fig.15 In the example, the difference in display method is expressed by the presence or absence of shadows. Thus, the user can easily distinguish between the verification result of whether the file has been tampered with and the verification result of whether the time has been tampered with.

[0186] It is particularly preferable that the segment indicating the verification result of whether or not the file has been tampered with is highlighted compared to the segment indicating the verification result of whether or not the file has been tampered with. Thus, the user can easily distinguish the verification result related to the fixed time from the verification result related to the file and confirm it. This is because, although the number of assigned fixed times is usually less than the number of registered files, the fixed time is often helpful in solving the problem.

[0187] As a method of emphasizing display, various well-known methods can be used. For example, different colors can be used between two segments. The verification result of whether or not there has been tampering at a certain moment can be emphasized by using the characteristics based on the combination of colors (warm color / cold color, advancing color / receding color, expanding color / contracting color, etc.). In addition, the segment indicating the verification result of whether or not there has been tampering at a certain moment can be displayed in a dark color, and on the other hand, the segment indicating the verification result of whether or not there has been tampering at a certain moment can be displayed in a light color. Even if the colors of the same system, the emphasis of the dark color is strong, and the emphasis of the light color is weak. Alternatively, the segment indicating the verification result of whether or not there has been tampering at a certain moment can be displayed larger than the segment indicating the verification result of whether or not there has been tampering at a certain moment. It is also possible to add a frame only to the segment indicating the verification result of whether or not there has been tampering at a certain moment. It is also possible to make only the segment indicating the verification result of whether or not there has been tampering at a certain moment flash.

[0188] In addition, Fig.15 In the example shown, the year, month, day, hour, minute, and second are displayed as the determined time. However, the user can also choose to display only part of them. According to the user operation, for example, only the year can be displayed, only the year and month can be displayed, or only the year, month, and day can be displayed. By allowing the user to appropriately select the time granularity, the user can easily confirm the determined time of the desired granularity.

[0189] 《Verify the selected files》

[0190] Fig.16 8 is a diagram showing an example of a UI displayed before the start of verification processing when "verify selected file" is selected. When a button 842 indicating "verify selected file" is operated, a file selection box 844 for the user to select a file to be verified is displayed.

[0191] Fig.17 844. Fig.17 The file name and the associated determination time of the file hash value stored in the selected evidence chain 61 are displayed in descending order. The user selects the file by checking the selection box next to the file name. In this embodiment, the determination time is automatically selected according to the selected file.

[0192] exist Fig.17In the example shown, the user selects a file with Age=17A and a file with Age=16A. In this case, among the multiple files selected by the user, the determination time of Age=4B immediately after the latest file with Age=17A and the determination time of Age=3B immediately before the earliest file with Age=16A are automatically selected. In addition, the determination time "immediately after" the latest file refers to the determination time after the latest file and closest to the latest file in the temporal arrangement of files and determination times. The determination time "immediately before" the earliest file refers to the determination time before the earliest file and closest to the latest file in the temporal arrangement of files and determination times.

[0193] Fig.18 2 is a diagram showing an example of a UI displaying verification results when "Verify selected files" is selected. Fig.14 )Similarly, a detailed diagram of the verification results is shown in the third box 863.

[0194] Fig.19 FIG. 8 is a diagram showing an example of detailed display of the verification result in the third frame 863 when “Verify selected file” is selected. Fig.17 When you select a file as described in Fig.19 As shown, at least four segments 921-924 are displayed.

[0195] Section 921 shows the verification result of the determination time verification process for the determination time of Age=4B selected automatically. Section 922 shows the verification result of the file verification process for the file of Age=17A selected by the user. Section 923 shows the verification result of the file verification process for the file of Age=16A selected by the user. Section 924 shows the verification result of the determination time verification process for the determination time of Age=3B selected automatically.

[0196] As mentioned above, in Fig.17 In the example shown, the file of Age=16A selected by the user, the file of Age=17A also selected by the user, the determined time of Age=3B immediately before the oldest file, and the determined time of Age=4B immediately after the latest file are used as verification targets (see Fig.19 ). Therefore, it can be proved that the file of Age=16A and the file of Age=17A are stored in the distributed ledger 6 (evidence chain 61) between the determination time of Age=3B and the determination time of Age=4B. Therefore, according to this embodiment, the order of files and determination time can be effectively verified by simple user operation. In addition, Fig.17The example in which two files are selected is described, but three or more files can be selected.

[0197] Fig. 20 844 is a diagram showing another example (second example) of the display in the file selection frame 844. Fig. 20 In the example shown, the user selects a file of Age = 16A and a file of Age = 15A. In this case, the determination time of Age = 2B immediately before the oldest file and the determination time of Age = 4B immediately after the latest file are automatically selected. In addition, the determination time of Age = 3B sandwiched between the latest file and the oldest file is also automatically selected.

[0198] Fig.21 8 is a diagram showing another example of the detailed display of the verification result in the third frame 863 when "Verify selected file" is selected. Fig. 20 When you select a file as described in Fig.21 As shown, at least five segments 931-935 are displayed.

[0199] Section 931 shows the verification result of the determination time verification process for the determination time of Age=4B selected automatically. Section 932 shows the verification result of the file verification process for the file of Age=16A selected by the user. Section 933 shows the verification result of the determination time verification process for the determination time of Age=3B selected automatically. Section 934 shows the verification result of the file verification process for the file of Age=15A selected by the user. Section 935 shows the verification result of the determination time verification process for the determination time of Age=2B selected automatically.

[0200] In "Verify selected files", verification results for files selected by the user (and the determined time automatically selected based on them) are displayed. In other words, in "Verify selected files", verification for unselected files (and the determined time automatically selected based on them) is not performed. Therefore, the time required for "Verify selected files" is shorter than the time required for "Verify all files". Therefore, "Verify selected files" is particularly effective in the case where the range of files or determined times that may be the object of a failure (suspected tampering) is narrowed in advance.

[0201] exist Fig. 20 In the example shown, there is a certain time of Age=3B between the file of Age=15A and the file of Age=16A. Fig.21As shown, the temporal arrangement of the file of Age=15A and the determined time of Age=3B is verified, and the temporal arrangement of the file of Age=16A and the determined time of Age=3B is verified. Therefore, according to this embodiment, the order of files and determined time can be verified in more detail.

[0202] 《Verify Sequentiality Only》

[0203] Fig. 22 8 is a diagram showing an example of a UI displayed before the start of the verification process when "Verify Sequentiality Only" is selected. When the button 843 indicating "Verify Sequentiality Only" is operated, the sequence of all files (and all the determined times associated therewith) recorded to be saved in the corresponding chain of evidence is verified. On the other hand, the integrity of the files and the determined times is not verified.

[0204] Fig.23 This is a diagram showing an example of a UI that displays the verification results when "Verify only the order" is selected. Fig.14 and Fig.18 )Similarly, the detailed diagram of the verification result is displayed in the third frame 863.

[0205] Fig.24 863 is a diagram showing an example of detailed display of the verification result in the third frame 863 when "Verify only the order" is selected. Fig.15 In the same example, the segment 941 showing the verification result of the beginning record, the segments 942A to 942H showing the verification result of the middle record, and the segment 943 showing the verification result of the end record are displayed as a time series based on the result of the sequential verification process. On the other hand, the message "tampering was found" or "tampering was not found" is not displayed in each segment.

[0206] As described above, in Embodiment 1, the client server 3 is configured to perform file verification processing, determination time verification processing, and sequential verification processing. The integrity of the file (whether the file has been tampered with) can be verified through the file verification processing. The integrity of the determination time (whether the determination time has been tampered with) can be verified through the determination time verification processing. Through the sequential verification processing, the sequentiality of the files and determination time in the distributed ledger 6 can be verified. Therefore, according to Embodiment 1, it is possible to verify whether the files and determination time are properly managed.

[0207] The client server 3 is configured so that the user can select any one of "verify all files", "verify selected files" and "verify only the order". Thus, the verification requested by the user can be performed at the timing desired by the user.

[0208] When "Verify all files" is selected, the integrity of all files and the integrity of all determined moments are verified. In this way, the integrity of files and determined moments can be thoroughly verified. When "Verify selected files" is selected, the verification object is limited to a portion of files and / or a portion of determined moments selected by the user. In this way, the verification cost (man-hours, time, system load, etc.) can be appropriately reduced. When "Verify only sequentiality" is selected, the sequentiality of files and determined moments is selectively verified. In this way, sequentiality can be efficiently verified without requiring integrity verification.

[0209] [Implementation Method 2]

[0210] In the first embodiment, an example is described in which one evidence chain 61 is associated with one timestamp chain 62 (see Figure 4 ). In the second embodiment, an example of associating a timestamp chain with multiple evidence chains will be described. The structure of the data management system and the client server of the second embodiment is similar to the structure of the data management system 1 and the client server 3 of the first embodiment (refer to Figure 1 and Figure 2 )same.

[0211] <Distributed Ledger>

[0212] Fig.25 6 is a diagram showing an example of the data structure of the distributed ledger 6 of the second embodiment. In this example, three evidence chains 63X, 63Y, and 63Z are associated with one timestamp chain 64. The evidence chains 63X, 63Y, and 63Z are respectively associated with the evidence chain 61 (see FIG. 1 ) described in the first embodiment. Figure 3 ) are the same. For simplicity, the chains of evidence 63X, 63Y, and 63Z are also recorded as chains of evidence X, Y, and Z, respectively.

[0213] In this example, the time stamp chain 64 includes eight records R41 to R48. Each record is similar to the time stamp chain 62 in the first embodiment (see Figure 3 ) similarly includes a key (Key), an age (Age), data (Data), a random value (Nonce: random number), an electronic signature (Sig), a previous record hash value (Prev-RH) and a record hash value (RH). The difference between timestamp chain 64 and timestamp chain 62 is that the end hash values ​​of one, two or three of the three evidence chains X, Y and Z are stored as the end hash values ​​(records R41, R43, R45 and R47). The information other than the above contained in timestamp chain 64 is the same as the corresponding information of timestamp chain 62.

[0214] Fig.26This is a conceptual diagram for explaining the relationship between the records stored in the evidence chain X, Y, Z and the timestamp chain 64 in Implementation 2. In Implementation 2, the update process of updating the timestamp chain 64 is repeatedly performed. The update process can be performed every time a predetermined period has passed. In this example, the update process is performed once a day.

[0215] On the other hand, it is not necessary to update the evidence chains X, Y, and Z every day. Therefore, in the second embodiment, in the evidence chains X, Y, and Z, only the information related to the evidence chains updated since the last execution of the update process (i.e., the previous day) is stored in the timestamp chain 64. Fig.25 as well as Fig.26 How to update the timestamp chain 64 every day is described. Fig.26 In the figure, the file hash value (FH), the end hash value (h), and the time stamp token (TS) stored as data (Data) in the record are illustrated. On the other hand, in order to avoid complicating the paper, the illustration of the previous record hash value and the record hash value is omitted.

[0216] The Nth Day

[0217] Assume that only evidence chains X and Z are updated on day N. Evidence chain X stores a new file hash value FHx(N) and the terminal hash value hx(N) of evidence chain X generated based on file hash value FHx(N). Similarly, evidence chain Z stores a new file hash value FHz(N) and the terminal hash value hz(N) of evidence chain Z generated based on file hash value FHz(N).

[0218] The client server 3 saves the terminal hash value hx(N) of the evidence chain X on the Nth day and the terminal hash value hz(N) of the evidence chain Z on the Nth day to the terminal record R41 of the timestamp chain 64 at that time point. Furthermore, the client server 3 generates a terminal hash value H(N) based on the terminal hash value hx(N) and the terminal hash value hz(N) (as well as other information (generation, random value, electronic signature, etc.) saved in the terminal record R41), and saves the generated terminal hash value H(N) as a record hash value in the record R41. In addition, the terminal hash value H(N) is an example of the "terminal value" of the present disclosure.

[0219] Furthermore, the client server 3 obtains the time stamp token TS(N) for the final hash value H(N) from the time authentication authority 41. The client server 3 stores the time stamp token TS(N), the previous record hash value H(N), and the record hash value H(N+1) in the record R42.

[0220] Day (N+1)

[0221] Assume that only evidence chains Y and Z are updated on the (N+1)th day. The new file hash value FHy(N+1) and the terminal hash value hy(N+1) of evidence chain Y generated based on the file hash value FHy(N+1) are stored in evidence chain Y. The new file hash value FHz(N+1) and the terminal hash value hz(N+1) of evidence chain Z generated based on the file hash value FHz(N+1) are stored in evidence chain Z.

[0222] The client server 3 saves the terminal hash value hy(N+1) of the evidence chain Y on the (N+1)th day and the terminal hash value hz(N+1) of the evidence chain Z on the (N+1)th day to the terminal record R43 of the timestamp chain 64 at that time point. Furthermore, the client server 3 generates the terminal hash value H(N+2) of the timestamp chain 64 based on the terminal hash value hy(N+1) and the terminal hash value hz(N+1) (as well as other information saved in the terminal record R43), and saves the generated terminal hash value H(N+2) as the record hash value in the record R43.

[0223] In addition, the client server 3 obtains the time stamp token TS(N+1) for the terminal hash value H(N+2) from the time authentication authority 41. The client server 3 stores the time stamp token TS(N+1), the previous record hash value H(N+2), and the record hash value H(N+3) in the record R44.

[0224] 《Day (N+2) and Day (N+3)》

[0225] Day (N+2) and day (N+3) are the same as day (N+1), so the detailed description will not be repeated.

[0226] <Function Block>

[0227] The client server 3 (processor 31) in the second embodiment has a chain update unit similar to the first embodiment, and the chain update unit updates the timestamp chain 64 by adding a new record to the timestamp chain 64 through transaction processing. The chain update unit in the second embodiment includes the same chain update unit 73 in the first embodiment (see Figure 8 )Different record production departments.

[0228] Fig. 27 This is a functional block diagram of the record creation unit 733A in Embodiment 2. The record creation unit 733A creates a record to be added to the time stamp chain 64 at predetermined intervals (one day in this example). The record creation unit 733A includes a list management unit 771, an end hash acquisition unit 772, an end hash generation unit 773, a time stamp token acquisition unit 774, and an integration unit 775.

[0229] The list management unit 771 manages a list that records which evidence chain has been updated from the last time the update process was executed to the current time the update process is executed. Whenever any evidence chain is updated, the list management unit 771 adds the updated evidence chain to the list. The list management unit 771 outputs the management information based on the list to the terminal hash acquisition unit 772.

[0230] The end hash acquisition unit 772 acquires the end hash value (at least one of hx, hy and hz) of the evidence chain updated from the last execution of the update process to the current execution as End-RH according to the list-based management information. The end hash acquisition unit 772 outputs the end hash value of the evidence chain to the end hash generation unit 773.

[0231] The end hash generation unit 773 generates the end hash value (RH) of the timestamp chain 64 based on the end hash value (End-RH) of the evidence chain. The end hash generation unit 773 may also generate the end hash value of the timestamp chain 64 by hashing the end hash value from the end hash acquisition unit 772. The end hash generation unit 773 outputs the end hash value of the timestamp chain 64 to the timestamp token acquisition unit 774 and the integration unit 775.

[0232] The time stamp token acquisition unit 774 acquires the time stamp token (TS) of the record hash value for the record of the time stamp chain 64 from the time authentication authority 41, and the record includes the end hash value from the end hash generation unit 773. The time stamp token acquisition unit 723 stores the time stamp token as a specific time in the database 43 (or the storage 36) (not shown). In addition, the time stamp token acquisition unit 723 outputs the time stamp token to the integration unit 775.

[0233] The integration unit 775 creates a record by integrating various information. Specifically, the integration unit 775 creates a record by integrating the end hash value of the timestamp chain 64 or the timestamp token and other information (generation (Age), random value (Nonce: random number), electronic signature (Sig), previous record hash value (Prev-RH)). The integration unit 775 outputs the record to the update unit 734 (refer to Figure 8 ).

[0234] <Processing Flow>

[0235] Fig.28This is a flowchart showing an example of the processing steps of the update processing of the timestamp chain 64 in Implementation Method 2. In S21, the client server 3 determines whether a predetermined period has passed since the last execution of the update processing. If the predetermined period has not passed ("No" in S21), the client server 3 returns the processing to the main routine. If the predetermined period has passed ("Yes" in S21), the client server 3 enters the processing into S22.

[0236] In S22, the client server 3 determines whether there is an updated chain of evidence from the last execution of the update process to the current execution, for example, by referring to the aforementioned list. If there is no updated chain of evidence ("No" in S22), the client server 3 returns the process to the main routine. If there is an updated chain of evidence ("Yes" in S22), the client server 3 enters the process into S23.

[0237] In S23, the client server 3 obtains the terminal hash value of the evidence chain updated during the period from the last execution of the update process to the current execution.

[0238] In S24, the client server 3 generates a record hash value of the timestamp chain 64 (the end hash value at that time point) based on the end hash value of the evidence chain. Then, the client server 3 creates a first record (in Fig.25 as well as Fig.26 In the example, they are R41, R43, R45, R47).

[0239] In S25 , the client server 3 obtains the time stamp token for the end hash value (the record hash value of the first record) of the time stamp chain 64 from the time authentication authority 41 .

[0240] In S26, the client server 3 generates a record hash value based on the timestamp token and other information. Then, the client server 3 creates a second record (in Fig.25 as well as Fig.26 In the example, they are R42, R44, R46, and R48).

[0241] In S27, the client server 3 updates the time stamp chain 64 by adding the two newly created records.

[0242] In the second embodiment, the client server 3 is configured to perform file verification processing, determination time verification processing and sequential verification processing as in the first embodiment. These verification processes are the same as in the first embodiment, so detailed descriptions are not repeated. According to the second embodiment, it is also possible to verify whether the files and the determination time are properly managed.

[0243] In addition, in Embodiment 2, a timestamp token is obtained for the evidence chain in which the file (file hash value) has been changed since the last update process was performed, and a timestamp token is not obtained for the evidence chain in which the file has not been changed. Thus, compared with the case in which the timestamp token is obtained for all evidence chains, or compared with the case in which the timestamp token is obtained each time a file is changed, the acquisition cost of the timestamp token (man-hours, time, system load, etc.) can be reduced. Therefore, according to Embodiment 2, it is possible to efficiently verify whether the file and the time are properly managed.

[0244] In addition, in Embodiment 2, periodically (at Fig.26 In the example shown, the update process is performed once a day. Thus, the verification cost can be reduced compared to the case where the update process is performed every time the file is changed. In addition, reliable verification can be performed for a long time compared to the case where the update process is performed irregularly.

[0245] The embodiments of the present invention have been described above, but the embodiments disclosed this time should be considered to be illustrative in all aspects and not restrictive. The scope of the present invention is indicated by the scope of claims, and is intended to include all changes within the meaning and scope equivalent to the scope of claims.

Claims

1. A data management device, comprising: A storage device storing a distributed ledger, wherein the distributed ledger stores at least one hash value generated from a file and at least one timestamp token used to prove a certain moment in time in a time series; and a processor configured to perform a plurality of verification processes related to the file and the determined time, The plurality of verification processes include a first verification process to a third verification process, The first verification process is a process of verifying whether at least one file used to generate the at least one hash value has been tampered with. The second verification process is a process of verifying whether at least one specific time instant certified by the at least one time stamp token has been tampered with. The third verification process is a process of verifying the sequentiality of the at least one file and the at least one determination time.

2. The data management device according to claim 1, wherein: The processor performs at least one of the first to third authentication processes according to a user operation on an input device.

3. The data management device according to claim 2, wherein: When a first user operation is performed on the input device, the processor performs the first to third verification processes on a portion of the at least one file and the at least one specific time selected by the user.

4. The data management device according to claim 3, wherein: When the user selects two or more files, the processor verifies at least the oldest file, the determined time immediately before the oldest file, the newest file, and the determined time immediately after the newest file.

5. The data management device according to claim 4, wherein: In a case where another specific time exists between the two or more files, the processor further takes the another specific time as an object of verification.

6. The data management device according to any one of claims 2 to 5, wherein: When a second user operation is performed on the input device, the processor performs the first to third verification processes on all of the at least one file and the at least one specific time.

7. The data management device according to any one of claims 2 to 5, wherein: When a third user operation is performed on the input device, the processor executes the third authentication process without executing the first authentication process and the second authentication process.

8. The data management device according to claim 1, wherein: When the verification results related to three or more files or a specific time are displayed on the output device, The processor causes the verification result associated with the oldest file or the determined time and the verification result associated with the latest file or the determined time to be displayed on the output device, As for the verification result related to at least one file or determined time between the earliest file or determined time and the latest file or determined time, display on the output device is omitted before accepting the user's operation on the input device.

9. The data management device according to claim 1, wherein: When the verification results related to two or more files or specific times are displayed on the output device, the processor displays the verification result related to the specific time more emphatically on the output device than the verification result related to the file.

10. A data management method comprising the following steps: The processor stores at least one hash value generated from the file and at least one timestamp token used to prove a certain moment in a distributed ledger in a time series; and The processor performs a plurality of verification processes related to the file and the determined time, The plurality of verification processes include a first verification process to a third verification process, The first verification process is a process of verifying whether at least one file used to generate the at least one hash value has been tampered with. The second verification process is a process of verifying whether at least one specific time instant certified by the at least one time stamp token has been tampered with. The third verification process is a process of verifying the sequentiality of the at least one file and the at least one determination time.