Data management system, data management method, data management program

The data management system addresses the inefficiency in verifying data tampering by associating data with hash values and functions on a blockchain, ensuring data integrity and rapid retrieval.

JP7586297B2Active Publication Date: 2024-11-19DENSO CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023512917
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-04-06
Filing Date
2022-03-23
Publication Date
2024-11-19
Estimated Expiration
2042-03-23

AI Technical Summary

Technical Problem

Existing data management systems fail to efficiently verify whether stored data has been tampered with, particularly in systems like the Multimedia Blockchain where tampering verification is not adequately addressed.

Method used

A data management system that utilizes a storage device and a blockchain to store original data associated with a hash value and hash function identification information, allowing verification of data integrity by comparing original and verification hash values.

Benefits of technology

Enables efficient verification of data tampering by using optimized hash functions, ensuring data integrity and reducing the risk of tampering, while facilitating quick data retrieval and provision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007586297000001
    Figure 0007586297000001
  • Figure 0007586297000002
    Figure 0007586297000002
  • Figure 0007586297000003
    Figure 0007586297000003
Patent Text Reader

Abstract

This data management system (1) comprises a storage device (3) for preserving data relating to an object as original data, and at least one node (2) for preserving a blockchain (591) that records information relating to the original data. The at least one node is provided with a processor (21) and a memory (22). The memory stores a computer-readable command, the command causing the processor to select a hash function that corresponds to an attribute of the original data from a hash function list (7) in which various attributes of data and a plurality of hash functions corresponding to the various attributes of data are associated. The command causes the hash value of the original data to be acquired, as an original hash value (822), using the selected hash function. The command causes the original hash value and hash function identification information (821) for identifying the selected hash function to be preserved in the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is based on U.S. Provisional Application No. 63 / 171,328, filed on April 6, 2021, the contents of which are incorporated herein by reference. [Technical field]

[0002] The present disclosure relates to a technology for managing data using a blockchain. [Background technology]

[0003] Non-Patent Document 1 discloses a management system for multimedia data. In the management system of Non-Patent Document 1, editing history information of stored data is stored on a blockchain, making it possible to detect tampering with the stored data. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] The Multimedia Blockchain: A Distributed and Tamper-Proof Media Transaction Framework Summary of the Invention

[0005] Although Non-Patent Document 1 refers to the verification of tampering performed when providing stored data, there is a problem in that it is not possible to efficiently verify whether or not tampering has occurred.

[0006] A data management system according to a first aspect of the present disclosure is a data management system capable of verifying whether stored data has been tampered with, and includes a storage device that stores data related to an object as original data, and at least one node that stores a blockchain that records information about the original data. The at least one node includes a processor and a memory. The memory stores computer-readable instructions, which, when executed by the processor, include causing the processor to select a hash function corresponding to an attribute of the original data from a hash function list that associates various attributes of the data with a plurality of hash functions associated with the various attributes of the data when storing the original data. The instructions include causing the processor to obtain a hash value of the original data as an original hash value using the selected hash function. The instructions include causing the processor to store the original hash value and hash function identification information that identifies the selected hash function on the blockchain.

[0007] A data management system according to a first aspect of the present disclosure is a data management system capable of verifying whether stored data has been tampered with, and includes a storage device that stores data related to an object as original data, and at least one node that stores a blockchain that records information related to the original data. The at least one node includes a processor and a memory. The memory stores computer-readable instructions, which, when executed by the processor, include causing the processor to select a hash function corresponding to an attribute of the original data from a hash function list that associates various attributes of the data with a plurality of hash functions corresponding to the various attributes of the data when storing the original data. The instructions include causing the processor to obtain a hash value of the original data as an original hash value using the selected hash function. The instructions include causing the processor to store the original hash value and hash function identification information that identifies the selected hash function on the blockchain. and storing original data in a storage device in association with an original hash value; when requested data is requested, acquiring original data corresponding to the requested data from the storage device using the original hash value acquired from the blockchain; acquiring from the blockchain the original hash value of the original data corresponding to the requested data and hash function identifying information; acquiring the hash value of the original data acquired from the storage device as a verification hash value using the hash function identified by the hash function identifying information; verifying whether or not the original data acquired from the storage device has been tampered with by comparing the original hash value acquired from the blockchain with the verification hash value; and providing the original data when it is determined that the original data acquired from the storage device has not been tampered with. This includes: A data management system according to a second aspect of the present disclosure is a data management system (1) capable of verifying whether stored data has been tampered with, comprising: a storage device (3) that stores data relating to an object as original data; and at least one node (2) that stores a blockchain (591) that records information relating to the original data, wherein the at least one node comprises a processor (21) and a memory (22), the memory stores computer-readable instructions, the original data includes private data, and the instructions, when executed by the processor, cause the processor to, when storing the original data, select a hash function corresponding to an attribute of the original data from a hash function list (7) that associates various attributes of the data with a plurality of hash functions corresponding to the various attributes of the data, and obtain a hash value of the original data as an original hash value (822) using the selected hash function, and The system causes the device to obtain an original hash value based on public data obtained by excluding private data from the directory data, and to store the original hash value and hash function identification information (821) that identifies the selected hash function on the blockchain. When data is requested, original data corresponding to requested data, which is the requested data, is obtained from the storage device, and the original hash value and hash function identification information for the original data corresponding to the requested data are obtained from the blockchain. The system causes the device to obtain a hash value of the original data obtained from the storage device as a verification hash value using the hash function identified by the hash function identification information, and verifies whether the original data obtained from the storage device has been tampered with by comparing the original hash value obtained from the blockchain with the verification hash value. If it is determined that the original data obtained from the storage device has not been tampered with, the original data is provided.

[0008] The present disclosure 3 A data management method according to an embodiment is a data management method capable of verifying whether stored data has been tampered with, and includes storing data related to an object as original data in a storage device. The data management method includes selecting a hash function corresponding to an attribute of the original data from a hash function list that associates various attributes of the data with a plurality of hash functions corresponding to the various attributes of the data. The data management method includes obtaining a hash value of the original data as an original hash value using the selected hash function. The data management method stores the original hash value and hash function identification information that identifies the selected hash function on a blockchain. and storing the original data in a storage device in association with the original hash value; when requested data is requested, acquiring original data corresponding to the requested data from the storage device using the original hash value acquired from the blockchain; acquiring the original hash value of the original data corresponding to the requested data and hash function identifying information from the blockchain; acquiring the hash value of the original data acquired from the storage device as a verification hash value using the hash function identified by the hash function identifying information; verifying whether the acquired original data has been tampered with by comparing the original hash value acquired from the blockchain with the verification hash value; and providing the original data if it is determined that the original data acquired from the storage device has not been tampered with. This includes: A data management method according to a fourth aspect of the present disclosure is a data management method capable of verifying whether stored data has been tampered with, which includes the steps of: storing data relating to an object as original data in a storage device (3); selecting a hash function corresponding to an attribute of the original data from a hash function list (7) in which various attributes of the data are associated with a plurality of hash functions associated with the various attributes of the data; acquiring a hash value of the original data as an original hash value (822) using the selected hash function; acquiring the original hash value based on public data obtained by excluding the private data from the original data including the private data; and storing the original hash value and hash function identification information (821) that identifies the selected hash function. ) is stored on the blockchain (591), and when data is requested, original data corresponding to the requested data is obtained from the storage device, an original hash value of the original data corresponding to the requested data and hash function identification information are obtained from the blockchain, and the hash value of the original data obtained from the storage device is obtained as a verification hash value using the hash function identified by the hash function identification information. By comparing the original hash value obtained from the blockchain with the verification hash value, it is verified whether the obtained original data has been tampered with, and if it is determined that the original data obtained from the storage device has not been tampered with, the original data is provided. [Brief description of the drawings]

[0009] The present disclosure 5 A data management program according to an embodiment is a program stored in at least one computer-readable non-transient storage medium and includes instructions, which when executed by at least one processor, include causing the at least one processor to store data related to an object as original data in a storage device when saving original data. The instructions include causing the at least one processor to select a hash function corresponding to an attribute of the original data from a hash function list that associates various attributes of the data with a plurality of hash functions corresponding to each attribute of the data. The instructions include causing the at least one processor to obtain a hash value of the original data as an original hash value using the selected hash function. The instructions include causing the at least one processor to store the original hash value and hash function identification information that identifies the selected hash function on a blockchain. and storing the original data in a storage device in association with the original hash value; when requested data is requested, acquiring original data corresponding to the requested data from the storage device using the original hash value acquired from the blockchain; acquiring from the blockchain the original hash value of the original data corresponding to the requested data and hash function identifying information; acquiring the hash value of the original data acquired from the storage device as a verification hash value using the hash function identified by the hash function identifying information; verifying whether the original data acquired from the storage device has been tampered with by comparing the original hash value acquired from the blockchain with the verification hash value; and providing the original data when it is determined that the original data acquired from the storage device has not been tampered with. do. A data management program according to a sixth aspect of the present disclosure is a program stored in at least one computer-readable non-transient storage medium and includes instructions, which, when executed by at least one processor (21), cause the at least one processor to, when saving data, store data relating to an object in a storage device (3) as original data, select a hash function corresponding to an attribute of the original data from a hash function list (7) that associates various attributes of the data with a plurality of hash functions corresponding to each attribute of the data, obtain a hash value of the original data as an original hash value (822) using the selected hash function, obtain the original hash value based on public data obtained by excluding the private data from the original data including the private data, and The hash value and hash function identification information (821) that identifies the selected hash function are stored on the blockchain (591), and when data is requested, original data corresponding to the requested data is obtained from the storage device, the original hash value of the original data corresponding to the requested data and the hash function identification information are obtained from the blockchain, the hash value of the original data obtained from the storage device is obtained as a verification hash value using the hash function identified by the hash function identification information, and the original hash value obtained from the blockchain is compared with the verification hash value to verify whether the original data obtained from the storage device has been tampered with, and if it is determined that the original data obtained from the storage device has not been tampered with, the original data is provided. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings.

[0011] The data management system 1 of the present disclosure shown in FIG. 1 is a system that manages various data related to objects held by a plurality of business entities 10 participating in the network NW while making the data mutually available between the business entities 10. As an example, when the object is a vehicle, business entities 10 such as vehicle maintenance businesses, automobile insurance companies, vehicle manufacturers, and used car dealers participate in the network NW. In this case, each business entity 10 stores data related to the vehicle in a storage device 3 that it manages. More specifically, for example, a maintenance business stores data related to vehicle maintenance such as the maintenance history, exterior photos, and vehicle inspection data of the vehicle that it has performed for each vehicle. In addition, an automobile insurance company stores insurance information such as the vehicle accident situation, the amount of insurance payment, and the contents of the insurance contract. Furthermore, a vehicle manufacturer stores information related to the vehicle, such as the vehicle's driving history and the operating state of the engine, motor, etc., in its own storage device 3.

[0012] As another example, when the target object is food, farmers, logistics companies, food sales companies, etc. participate in the network NW as business entities 10. In this case, each business entity 10 stores data related to food in a storage device 3 managed by the business entity 10. More specifically, for example, a farmer stores photos of the produced food and information on the production area, and a logistics company stores transportation data in the storage device 3 managed by the business entity 10. In this disclosure, a user who provides data to each business entity 10 is referred to as a data provider. Also, a user who uses the data stored in the storage device 3 is referred to as a data user. The data provider and the data user are, for example, members (employees) of each business entity 10. However, the data provider and the data user may be individuals or organizations other than the members of the business entity 10, such as vehicle owners and consumers of agricultural products, who are not participants of the system 1. The data stored in the storage device 3 of each business entity 10 is acquired via the network NW in response to a request from the data user, and provided to the data user.

[0013] As shown in Fig. 1, each business entity 10 is connected to a network NW and includes a node 2 constituting a blockchain system, and a storage device 3 independent of the blockchain system. The node 2 of each business entity 10 is connected to the node 2 of the other business entities 10 via the network NW so that they can communicate with each other. Although four business entities 10 are illustrated in Fig. 1 as an example, the number of business entities 10 that construct the data management system 1 may be two or more.

[0014] The data management system 1 manages data relating to objects stored in the respective storage devices 3 of multiple business entities 10. The data relating to objects is data having various data attributes, such as image data and text data, that is exchanged between multiple business entities 10. The data attributes include the data format and the data compression format.

[0015] As shown in FIG. 2, the node 2 is mainly composed of a control circuit including a processor 21, a RAM 22, a storage 23, and an input / output interface 24. The processor 21 is hardware for arithmetic processing connected to the RAM 22, and can execute various programs by accessing the RAM 22. The input / output interface 24 is a circuit module for the node 2 to communicate with other nodes 2, a business terminal 4, and an external hash value calculation device 9 described later. The storage 23 stores, as data management programs executed by the processor 21, a data storage program for storing provided data, and a data provision program for providing stored data in response to a data provision request from a data user. The storage 23 also stores authentication information that is given when the node 2 participates in the network NW and indicates that the node 2 has the right to access data. The storage 23 also stores a hash function list 7 shown in FIG. 3.

[0016] In this hash function list 7, information indicating various attributes of data and a plurality of hash functions corresponding to the various attributes of data is stored in advance. In general, the efficiency of calculating a hash value of data using a hash function varies depending on the attribute of the data. Therefore, in the hash function list 7, a hash function that is efficient in calculating a hash value is associated with each of various attributes of data. This makes it possible to select an efficient hash function according to the attribute of data by referring to the hash function list 7. That is, in the data management system 1 according to the present disclosure, it is possible to select an optimal hash function according to the attribute of data by using the hash function list 7. As will be described later, when a hash function is selected from the hash function list 7, hash function specification information 821 that specifies the selected hash function is generated. The contents of the hash function list 7 are updated whenever a hash function is updated or a new hash function is developed.

[0017] As shown in FIG. 3, the hash function list 7 of this embodiment has a perceptual hash set as a hash function corresponding to data compressed by discrete cosine transform (DCT) or discrete wavelet transform (DWT). More specifically, examples of perceptual hashes include pHash and dHash. The compressed data can be said to be data consisting of features extracted from the original data. In addition, the hash function list 7 specifies MD5 as a hash function for PNG and JPEG, which are data formats of image data, MP4, AVI, and FLV, which are data formats of video data, and MP3, WAVE, and AAC, which are data formats of audio data. Furthermore, the hash function list 7 specifies SHA-1 as a hash function corresponding to PDF, WORD, and PPT, which are data formats of special document data, and text data (TEXT). The correspondence between data attributes and hash functions shown in FIG. 3 is merely an example, and the contents of the hash function list 7 are not limited to this.

[0018] The storage device 3 stores data relating to the object provided to the corresponding node 2 in association with the hash value of the data. This allows the storage device 3 to search for stored data corresponding to an original hash value 822 by using an original hash value 822, which will be described later, as a search key.

[0019] The business terminal 4 is owned by each business entity 10 and is used when saving or requesting data. The business terminal 4 is an electronic device such as a computer, for example, a smartphone, a tablet terminal, or a dedicated terminal. The business terminal 4 is connected to the node 2 of the business entity 10, and transmits data, etc. to the node 2 in response to an operation by a data provider. In addition, the business terminal 4 transmits a data request query requesting the provision of data to the node 2 of the business entity 10 in response to an operation by a data user. The data request query includes information for extracting block information from the blockchain 591, etc.

[0020] 1 includes a processor and memory (not shown), and stores various hash functions. The external hash value calculation device 9 receives data and information (hash function specification information 821) specifying a selected hash function from the node 2. The external hash value calculation device 9 then calculates a hash value of the received data using the specified hash function. The external hash value calculation device 9 then transmits the calculated hash value to the node 2.

[0021] By executing the data storage program, the node 2 functions as functional units such as an original data processing unit 51, an original data storage unit 52, and a chain generation unit 53. In addition, by executing the data provision program, the node 2 functions as functional units such as a block extraction unit 61, a stored data acquisition unit 62, an acquired data processing unit 63, and a data verification unit 64. The functions of these functional units will be explained in conjunction with the explanation of the data storage process and the data provision process below.

[0022] (Data storage processing) In the data storage process, as shown in Fig. 4, a process is carried out to store the provided data in the storage device 3. This data storage process is triggered by the data provider providing data to the node 2 using the business terminal 4. In the following description, the provided data is called original data.

[0023] In the data storage process shown in Fig. 4, for example, it is assumed that a vehicle maintenance company, which is the business entity 10, stores a photo of the vehicle's exterior as a maintenance record in its own storage device 3. In this case, the data provider is an employee of the maintenance company, which is the business entity 10. Alternatively, it is conceivable that a farmer, which is the business entity 10, stores a photo of the food products he or she produces in the storage device 3. In this case, the data provider is the farmer.

[0024] In S501, when the original data processing unit 51 receives data from a data provider via the business terminal 4, it selects a hash function from the hash function list 7 based on the attributes of the provided original data. For example, if the original data is image data in JPEG format, "MD5" is selected as the hash function. In S502, the original data processing unit 51 generates hash function specification information 821 that specifies the selected hash function. In S503, the original data processing unit 51 removes information related to privacy (hereinafter referred to as private data), such as personal information that can identify an individual and financial information such as a credit card number, from the original data, and acquires the data as public data. The process of S503 for acquiring the public data may be performed before the process of S501. Furthermore, in S504, the original data processing unit 51 acquires a hash value of the public data as an original hash value 822 using the hash function specification information 821 generated in S502. Specifically, the original data processing unit 51 transmits the public data and the hash function specification information 821 generated in S502 to the external hash value calculation device 9. The external hash value calculation device 9 uses a hash function specified by the received hash function specification information 821 to calculate a hash value of the public data as an original hash value 822. For example, if the original data is image data in JPEG format, the external hash value calculation device 9 calculates a hash value of the public data using the hash function MD5. Then, the external hash value calculation device 9 transmits the calculated original hash value 822 to the node 2, whereby the original data processing unit 51 acquires the original hash value 822.

[0025] In S505, the original data storage unit 52 stores the original data including the private data in the storage device 3 corresponding to the node 2 in association with the original hash value 822 acquired in S504. In S506, the chain generation unit 53 generates a block 8 (see FIG. 5) in which the transaction information 82 includes the hash function identification information 821 generated in S502, the original hash value 822 acquired in S504, and metadata such as the storage node identification information 823, as shown in FIG. 5. The storage node identification information 823 is used to identify the business entity 10 (more specifically, the node 2) in which the original data is stored when another business entity 10 uses the data. The generated block 8 is then stored in the block chain 591 in the block chain database 59. The block 8 also has data related to the block 8 itself as a block header 81. Here, the generated block 8 is provided to each node 2 after undergoing a known authentication process by each node 2 connected to the network NW. Each node 2 to which the authenticated block 8 has been provided stores the block 8 in a blockchain 591 stored in a blockchain database 59. The blockchain database 59 is a storage area provided in the storage 23. In this way, the common blockchain 591 is shared among the nodes 2.

[0026] According to the above process, an optimal hash function according to the attribute of the original data is selected using the hash function list 7. Then, the selected hash function is used to calculate a hash value of the original data. This enables efficient hash value calculation for a variety of original data having different data attributes. Furthermore, when saving data, it becomes possible to save the original data in the storage device 3 in a short time.

[0027] Furthermore, the original data is stored in the storage device 3 in a state where it is associated with the original hash value 822. This makes it possible to efficiently search for and obtain the original data stored in the storage device 3 by using the original hash value 822 as a search key.

[0028] Furthermore, the original hash value 822 and hash function identification information 821 that identifies the hash function used to calculate the hash value 822 are stored on the blockchain 591 shared by multiple nodes. This makes it possible to store the original hash value 822 and the hash function identification information 821 in a state that makes it difficult to tamper with them. When providing data, tampering verification can be performed using the same hash function as the hash function used to calculate the original hash value 822.

[0029] (Data provision processing) Next, the data provision process will be described with reference to Fig. 6. In the data provision process, when a data user requests the provision of data related to a specific object, the data is retrieved from the storage device 3 that stores the requested data and provided to the data user. Here, in the data provision process, a plurality of nodes 2 work together to identify the storage device 3 in which the requested data is saved, and to extract and provide the data. This data provision process is triggered by the data user sending a data request query to the node 2 using a business terminal 4. In the following description, data corresponding to information requested by the data user is referred to as requested data.

[0030] In the data providing process shown in FIG. 6, as an example, a case will be described in which a specific business entity 10 (hereinafter, referred to as a first business entity 10a) requests data stored in another business entity 10 (hereinafter, referred to as a second business entity 10b). More specifically, a case is assumed in which a used car dealer, which is the first business entity 10a managing the first node 2a, requests acquisition of vehicle exterior photo data, vehicle inspection information, and the like stored in the storage device 3 of a vehicle maintenance company, which is the second business entity 10b. In this case, the data user corresponds to, for example, an employee of the used car dealer. Alternatively, a food retailer, such as a supermarket, as the first business entity 10a may request acquisition of food photos, photos of food production areas, and the like stored in the storage device 3 managed by a food producer, such as a farmer, as the second business entity 10b. In this case, the data user corresponds to, for example, an employee of the food retailer. In the following description, the node 2 of the first business entity 10a will be referred to as the first node 2a, and the node 2 of the second business entity 10b will be referred to as the second node 2b.

[0031] In S601, the block extraction unit 61 of the first node 2a uses the data request query to extract transaction information 82 of original data corresponding to the requested data from the blockchain 591. As shown in FIG. 5, the transaction information 82 includes hash function identification information 821, original hash value 822, and storage node identification information 823. In S602, the block extraction unit 61 of the first node 2a transmits the original hash value 822 acquired in S601 to the second node 2b identified from the storage node identification information 823 together with authentication information indicating that the node 2 has the right to access the data. In S603, the stored data acquisition unit 62 of the second node 2b acquires original data corresponding to the requested data from the storage device 3 by using the received original hash value 822 as a search key. In S604, the acquired data processing unit 63 of the second node 2b acquires public data by deleting private data from the original data acquired in S603. In S605, the acquired data processing unit 63 of the second node 2b transmits the public data acquired in S604 to the first node 2a. In S606, the data verification unit 64 of the first node 2a acquires a hash value of the public data as a verification hash value, using a hash function specified by the hash function specification information 821 acquired in S601. Specifically, the data verification unit 64 of the first node 2a transmits the public data and the hash function specification information 821 acquired in S601 to the external hash value calculation device 9. The external hash value calculation device 9 calculates a hash value of the public data as a verification hash value, using a hash function specified by the received hash function specification information 821. Then, the external hash value calculation device 9 transmits the verification hash value calculated to the first node 2a, whereby the data verification unit 64 acquires the verification hash value. In S607, the data verification unit 64 of the first node 2a determines whether the public data has been tampered with by comparing the original hash value 822 obtained from the blockchain in S601 with the verification hash value obtained in S606. If the original hash value 822 and the verification hash value match, the data verification unit 64 determines that the public data has not been tampered with.On the other hand, if the original hash value 822 and the verification hash value are different, it is determined that the public data has been tampered with.

[0032] If it is determined that the public data has not been tampered with, then in S608 the data verification unit 64 of the first node 2a transmits the public data to the business terminal 4 of the first entity 10a. On the other hand, if it is determined that the public data has been tampered with, then in S609 the data verification unit 64 of the first node 2a transmits a data acquisition failure notification to the business terminal 4 of the first entity 10a.

[0033] According to the above process, data stored in the storage device 3 corresponding to the second node 2b can be provided to the first node 2a, which is a node 2 different from the second node 2b. In addition, since the blockchain 591 is stored in a state that can be referenced by each node 2, the first node 2a can verify whether the acquired public data has been tampered with by using the original hash value 822 and hash function identification information 821 on the blockchain 591, which have a low risk of tampering.

[0034] According to the data management system 1 of this embodiment, the hash function specified by the hash function specification information 821 stored on the block chain 591 is used to verify whether the acquired public data has been tampered with. This allows the verification hash value to be calculated using the same efficient hash function as when the data was stored. As a result, it becomes possible to efficiently verify whether the public data has been tampered with when the data is provided, and the data can be provided to the data user in a short time.

[0035] According to the data management system 1 of this embodiment, the external hash value calculation device 9 calculates a hash value of data. This can reduce the processing load on the node 2. Furthermore, even if the hash function is updated, it is possible to perform hash value calculation using a common hash function by updating the hash function stored in the external hash value calculation device 9. Therefore, even if the hash function lists 7 stored in the nodes 2 are not synchronized, it is possible to use a common hash function when calculating the original hash value 822 and the verification hash value.

[0036] Although the embodiments of the present disclosure have been described above, the present disclosure should not be construed as being limited to the above-described embodiments, and may be applied to various embodiments and combinations within the scope not departing from the gist of the present disclosure.

[0037] In the data providing process according to the above embodiment, an example has been described in which the first node 2a and the second node 2b are different nodes 2. However, in the data providing process of the present disclosure, the first node 2a and the second node 2b may be the same node 2.

[0038] The hash function list 7 in the above embodiment stores information indicating a hash function for each data attribute. However, the hash function list 7 in the present disclosure may store hash function specification information 821.

[0039] In the above embodiment, each node 2 stores the hash function list 7. However, in the present disclosure, instead of each node 2 storing the hash function list 7, the external hash value calculation device 9 may store the hash function list 7. In this case, each node 2 transmits only public data to the external hash value calculation device 9. Also in this case, the external hash value calculation device 9 selects a hash function corresponding to the attribute of the public data transmitted from each node 2 from the hash function list 7, and calculates a hash value of the public data.

[0040] In the hash function list 7 shown in the above-mentioned embodiment (FIG. 3), a combination of data attributes and hash functions is set so that hash value calculation is most efficient. However, the contents of the hash function list 7 are not limited to this. For example, the hash function in the hash function list 7 can be changed from the viewpoint of emphasizing robustness. Specifically, as shown in FIG. 7, SHA-1 may be specified as a hash function corresponding to data compressed by discrete cosine transform (DCT) or discrete wavelet transform (DWT), etc. Also, in the hash function list 7, SHA-256 may be specified as a hash function corresponding to PNG and JPEG, which are data formats of image data, MP4, AVI, and FLV, which are data formats of video data, and MP3, WAVE, and AAC, which are data formats of audio data. Furthermore, in the hash function list 7, SHA-512 may be specified as a hash function corresponding to PDF, WORD, and PPT, which are data formats of special document data, and text data.

[0041] In the data management system 1 according to the above embodiment, the original hash value 822 and the verification hash value are calculated by the external hash value calculation device 9 arranged outside the node 2. However, it is not necessary to calculate the hash value outside the node 2. For example, as shown in FIG. 8, a hash value calculation unit 54 may be provided inside each node 2 as a functional unit that calculates the hash value without using the external hash value calculation device 9. In this case, a plurality of hash functions associated with various data attributes in the hash function list 7 are stored in the storage 23, and the hash value calculation unit 54 is configured to calculate the original hash value 822 and the verification hash value using the hash functions stored in the storage 23. This configuration can avoid a situation in which the hash value cannot be calculated due to a malfunction of the external hash value calculation device 9 or a problem occurring in the connection between the node 2 and the external hash value calculation device 9.

Claims

1. A data management system (1) capable of verifying whether stored data has been tampered with, A storage device (3) for storing data relating to an object as original data; At least one node (2) that stores a blockchain (591) that records information about the original data; The at least one node comprises a processor (21) and a memory (22); The memory stores computer readable instructions; The instructions, when executed by the processor, cause the processor to: When storing the original data, selecting a hash function corresponding to an attribute of the original data from a hash function list (7) in which various attributes of the data are associated with a plurality of hash functions corresponding to the various attributes of the data; obtaining a hash value of the original data as an original hash value (822) using the selected hash function; storing the original hash value and hash function identification information (821) that identifies the selected hash function on the blockchain; storing the original data in the storage device in association with the original hash value; When the requested data is requested, The original data corresponding to the requested data is obtained from the storage device by using the original hash value obtained from the block chain; obtaining, from the blockchain, the original hash value and the hash function identification information of the original data corresponding to the requested data; obtaining a hash value of the original data obtained from the storage device as a verification hash value by using a hash function specified by the hash function specifying information; verifying whether the original data obtained from the storage device has been tampered with by comparing the original hash value obtained from the block chain with the verification hash value; a data management system that provides the original data when it is determined that the original data obtained from the storage device has not been tampered with.

2. the original data includes non-public data; The instructions, when executed by the processor, further cause the processor to: When storing the original data, the original hash value is obtained based on public data obtained by excluding the private data from the original data. The data management system according to claim 1 .

3. A data management system (1) capable of verifying whether stored data has been tampered with, A storage device (3) for storing data relating to an object as original data; At least one node (2) that stores a blockchain (591) that records information about the original data; The at least one node comprises a processor (21) and a memory (22); The memory stores computer readable instructions; The original data includes non-public data; The instructions, when executed by the processor, cause the processor to: When storing the original data, selecting a hash function corresponding to an attribute of the original data from a hash function list (7) in which various attributes of the data are associated with a plurality of hash functions corresponding to the various attributes of the data; obtaining a hash value of the original data as an original hash value (822) using the selected hash function; obtaining the original hash value based on public data obtained by removing the private data from the original data; storing the original hash value and hash function identification information (821) that identifies the selected hash function on the blockchain; When requesting data, Retrieving the original data corresponding to the requested data from the storage device; obtaining, from the blockchain, the original hash value and the hash function identification information of the original data corresponding to the requested data; obtaining a hash value of the original data obtained from the storage device as a verification hash value by using a hash function specified by the hash function specifying information; verifying whether the original data obtained from the storage device has been tampered with by comparing the original hash value obtained from the block chain with the verification hash value; a data management system that provides the original data when it is determined that the original data obtained from the storage device has not been tampered with.

4. The instructions, when executed by the processor, further cause the processor to, when the requested data is requested: acquiring public data obtained by removing the private data from the original data corresponding to the requested data acquired from the storage device; obtaining the verification hash value based on the obtained public data; verifying whether the acquired public data has been tampered with by comparing the original hash value acquired from the blockchain with the verification hash value; If it is determined that the acquired public data has not been tampered with, the acquired public data is provided.

4. The data management system according to claim 2 or 3.

5. The apparatus further includes an external hash value calculation device (9) for calculating a hash value of the original data using the selected hash function, The instructions, when executed by the processor, further cause the processor, when storing the original data, to: acquiring the hash value calculated by the external hash value calculation device as the original hash value; The data management system according to any one of claims 1 to 4.

6. An external hash value calculation device (9) for calculating a hash value of the original data acquired from the storage device using the specified hash function, The instructions, when executed by the processor, further cause the processor to, when the requested data is requested: acquiring the hash value calculated by the external hash value calculation device as the verification hash value; The data management system according to claim 1 .

7. A data management method capable of verifying whether stored data has been tampered with, comprising: storing data relating to the object as original data in a storage device (3); Selecting a hash function corresponding to an attribute of the original data from a hash function list (7) that associates various attributes of the data with a plurality of hash functions corresponding to the various attributes of the data; Using the selected hash function, obtain a hash value of the original data as an original hash value (822); The original hash value and hash function identification information (821) that identifies the selected hash function are stored on a blockchain (591); storing the original data in the storage device in association with the original hash value; When requested data is requested, the original data corresponding to the requested data is obtained from the storage device using the original hash value obtained from the blockchain; Obtaining the original hash value and the hash function identification information of the original data corresponding to the requested data from the blockchain; obtaining a hash value of the original data obtained from the storage device as a verification hash value by using a hash function specified by the hash function specifying information; Verifying whether the original data obtained from the blockchain has been tampered with by comparing the original hash value and the verification hash value; The data management method further comprises providing the original data when it is determined that the original data obtained from the storage device has not been tampered with.

8. A data management method capable of verifying whether stored data has been tampered with, comprising: storing data relating to the object as original data in a storage device (3); Selecting a hash function corresponding to an attribute of the original data from a hash function list (7) that associates various attributes of the data with a plurality of hash functions corresponding to the various attributes of the data; Using the selected hash function, obtain a hash value of the original data as an original hash value (822); obtaining the original hash value based on public data obtained by removing the private data from the original data including the private data; The original hash value and hash function identification information (821) that identifies the selected hash function are stored on the blockchain (591). When a data request is made, the original data corresponding to the requested data is obtained from the storage device; Obtaining the original hash value and the hash function identification information of the original data corresponding to the requested data from the blockchain; obtaining a hash value of the original data obtained from the storage device as a verification hash value by using a hash function specified by the hash function specifying information; Verifying whether the original data obtained from the blockchain has been tampered with by comparing the original hash value and the verification hash value; The data management method further comprises providing the original data when it is determined that the original data obtained from the storage device has not been tampered with.

9. a program stored on at least one computer-readable non-transitory storage medium and including instructions; The instructions, when executed by at least one processor (21), cause the at least one processor to: When saving data, storing said data relating to the object as original data in a storage device (3); selecting a hash function corresponding to an attribute of the original data from a hash function list (7) in which various attributes of the data are associated with a plurality of hash functions each associated with each attribute of the data; obtaining a hash value of the original data as an original hash value (822) using the selected hash function; The original hash value and hash function identification information (821) that identifies the selected hash function are stored on a blockchain (591); storing the original data in the storage device in association with the original hash value; When the requested data is requested, The original data corresponding to the requested data is obtained from the storage device by using the original hash value obtained from the block chain; obtaining, from the blockchain, the original hash value and the hash function identification information of the original data corresponding to the requested data; obtaining a hash value of the original data obtained from the storage device as a verification hash value by using a hash function specified by the hash function specifying information; verifying whether the original data obtained from the storage device has been tampered with by comparing the original hash value obtained from the block chain with the verification hash value; a data management program that, when it is determined that the original data acquired from the storage device has not been tampered with, causes the original data to be provided.

10. a program stored on at least one computer-readable non-transitory storage medium and including instructions; The instructions, when executed by at least one processor (21), cause the at least one processor to: When saving data, storing said data relating to the object as original data in a storage device (3); selecting a hash function corresponding to an attribute of the original data from a hash function list (7) in which various attributes of the data are associated with a plurality of hash functions each associated with each attribute of the data; obtaining a hash value of the original data as an original hash value (822) using the selected hash function; obtaining the original hash value based on public data obtained by removing the private data from the original data including the private data; Storing the original hash value and hash function identification information (821) that identifies the selected hash function on a blockchain (591); When requesting data, Retrieving the original data corresponding to the requested data from the storage device; obtaining, from the blockchain, the original hash value and the hash function identification information of the original data corresponding to the requested data; obtaining a hash value of the original data obtained from the storage device as a verification hash value by using a hash function specified by the hash function specifying information; verifying whether the original data obtained from the storage device has been tampered with by comparing the original hash value obtained from the block chain with the verification hash value; When it is determined that the original data obtained from the storage device has not been tampered with, the data management system causes the original data to be provided.

Citation Information

Patent Citations

  • Programmable authentication service method and system based on block chain technology

    CN111914270A

  • Medical image information processor, medical image information processing system, data structure, medical image information processing program, data memory program and medical image information processing method

    JP2007275276A

  • Hash function generation method, hash value generation method, device and program

    JP2016066012A

  • Ledger-based confidence model for content transfers across a communication network

    US20200295947A1

  • Method, apparatus, and electronic device for executing transactions based on blockchain

    WO2019168871A1