Information processing apparatus, block chain registration method and block chain registration program
The information processing device addresses the challenges of tampering detection and system load by storing multimedia data hash values on the blockchain, reducing the need for additional databases and maintaining data integrity.
Patent Information
- Application Number
- JP2023114111
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-01-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing systems that combine blockchain and databases for data storage face issues with decreased robustness in detecting tampering, increased processing time, and high system load and costs due to the need for powerful servers to handle large data volumes.
An information processing device that determines multimedia data with large sizes, calculates a hash value, stores the multimedia data separately, and registers the hash value and storage location information on the blockchain, allowing detection of tampering without increasing system load.
This approach enables large data storage with tampering detection capabilities while reducing system load and costs by registering multimedia data information on the blockchain, eliminating the need for additional databases and verifying data integrity through hash values.
Smart Images

Figure 2025011786000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, a blockchain registration method, and a blockchain registration program. [Background technology]
[0002] In recent years, systems have been developed that transmit various data to a shared server and register it in a blockchain. Data to be registered in a blockchain includes, for example, data generated or acquired by a vehicle.
[0003] Taking a system in which used car data can be registered in a blockchain and shared as an example, the used car data has a large variety of data formats and a large amount of data. The types of data formats include, for example, CAN analysis results, images, PDF, text, etc. In terms of the amount of data, for example, data for more than 10,000 cars is considered to be registered every day. Furthermore, the frequency of data updates varies from every few seconds to every few years, depending on the vehicle or type of data.
[0004] In order to share such a large amount of various types of data, it is conceivable to store large data sizes in a database in addition to the blockchain. Also, as described in Patent Document 1, transactions are processed using side chains for the blockchain according to the purpose. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent Publication No. 2021-177267 Summary of the Invention [Problem to be solved by the invention]
[0006] However, in a system that uses both a blockchain and a database, the robustness of detecting falsification of the managed data decreases. In addition, using both a blockchain and a database increases the time required to register data and the time required to process data. Furthermore, storing large amounts of data in a database or side chain requires a server with high processing power, which increases the operating costs of the system.
[0007] In this way, storing large amounts of data by combining a blockchain and a database, or registering it on the blockchain using a side chain, will increase the load on the system, including processing power and costs.
[0008] In view of the above background, the present invention aims to provide an information processing device, a blockchain registration method, and a blockchain registration program that can store large data sizes in a manner that enables tampering to be detected without increasing the load on the system. [Means for solving the problem]
[0009] The present invention employs the following technical means to solve the above problems. The reference characters in the claims and in this section are merely examples showing the corresponding relationship with the specific means described in the embodiments below as one aspect, and do not limit the technical scope of the present invention.
[0010] An information processing device (14) of one embodiment of the present invention includes a determination unit (24) that determines multimedia data with a relatively large data size from the data to be registered in a blockchain based on preset conditions, a first hash value calculation unit (26) that calculates a hash value of the multimedia data, a storage control unit (28) that stores the multimedia data in a specified storage unit, and a registration unit (30) that registers the hash value calculated by the first hash value calculation unit and storage destination information indicating the storage destination of the multimedia data in the blockchain as multimedia data information.
[0011] According to this configuration, multimedia data information including a hash value and storage destination information of the multimedia data is registered in the blockchain, and the multimedia data itself is stored in the storage unit without being registered in the blockchain. Note that multimedia data refers to data with a specific extension or data whose data size is equal to or larger than a predetermined value.
[0012] As a result, multimedia data information with a small data size is registered in the blockchain instead of multimedia data with a large data size. By registering the multimedia data information associated with the multimedia data in the blockchain, a database for managing the multimedia data is not required. Furthermore, since the hash value of the multimedia data is registered in the blockchain, it is possible to verify whether the stored multimedia data has been tampered with by using this hash value.
[0013] Therefore, this configuration can store large data in a manner that enables tamper detection without increasing the load on the system.
[0014] The information processing device may further include a second hash value calculation unit (32) that calculates a hash value of the multimedia data stored in the storage unit indicated by the storage destination information registered in the blockchain, a comparison unit (34) that compares the hash value registered in the blockchain with the hash value calculated by the second hash value calculation unit, and a data output control unit (36) that outputs the multimedia data stored in the storage unit when the comparison result by the comparison unit indicates a match in hash value. With this configuration, tampering with multimedia data of a large data size can be easily detected.
[0015] In the information processing device, the registration unit may register data other than the multimedia data together with the multimedia data information in the blockchain. According to this configuration, multimedia data having a relatively large data size and data having a relatively small data size can be managed in the same blockchain.
[0016] In the information processing device, the hash value may be calculated based on binary data of the multimedia data. With this configuration, the hash value of the multimedia data can be easily calculated.
[0017] In the information processing device, the multimedia data may be data of a moving body. According to this configuration, the multimedia data transmitted from a moving body such as a vehicle can be stored in a manner that enables tamper detection without increasing the load on the system.
[0018] A blockchain registration method of one embodiment of the present invention includes a first step in which a determination unit determines multimedia data having a relatively large data size from the data to be registered in the blockchain based on preset conditions, a second step in which a first hash value calculation unit calculates a hash value of the multimedia data, a third step in which a storage control unit stores the multimedia data in a specified storage unit, and a fourth step in which a registration unit registers the hash value calculated by the first hash value calculation unit and storage destination information indicating the storage destination of the multimedia data in the blockchain as multimedia data information.
[0019] A blockchain registration program of one embodiment of the present invention causes a computer to function as a determination unit that determines multimedia data with a relatively large data size based on preset conditions from the data to be registered in the blockchain, a first hash value calculation unit that calculates a hash value of the multimedia data, a storage control unit that stores the multimedia data in a specified storage unit, and a registration unit that registers the hash value calculated by the first hash value calculation unit and storage destination information indicating the storage destination of the multimedia data in the blockchain as multimedia data information. Effect of the Invention
[0020] According to the present invention, large data size can be stored in a manner that enables tamper detection without increasing the load on the system. [Brief description of the drawings]
[0021] [Figure 1] 1 is a schematic configuration diagram of a storage system according to an embodiment. [Diagram 2] 1 is a flowchart illustrating the flow of a blockchain registration process according to an embodiment. [Diagram 3] 1 is a flowchart showing the flow of a blockchain search process according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0022] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the embodiment described below shows an example of a case where the present invention is implemented, and the present invention is not limited to the specific configuration described below. In implementing the present invention, a specific configuration according to the embodiment may be appropriately adopted.
[0023] 1 is a schematic diagram of a storage system 10 according to the present embodiment. The storage system 10 according to the present embodiment includes a data storage server 12, a BC registration server 14, an intermediate communication device 18, and a viewing terminal 16, and as an example, stores (stores) and shares vehicle data transmitted from a vehicle, which is a moving body, so that tampering can be detected by the blockchain. The vehicle data transmitted from the vehicle according to the present embodiment includes multimedia data, as will be described in detail later. Note that the moving body may be, in addition to a vehicle, for example, a motorcycle, heavy machinery operated at a work site, an aircraft, etc.
[0024] As an example, the data preservation server 12 and the BC registration server 14 are provided on a company basis. For example, the data preservation server 12 may be one of the company's facilities, and the BC registration server 14 may be a cloud server. Fig. 1 is an example, and there may be multiple combinations of data preservation servers 12 and BC registration servers 14 (for example, three or more).
[0025] The data storage server 12 stores vehicle data collected by companies and transmits the vehicle data to be registered in the blockchain to the BC registration server 14.
[0026] The BC registration server 14 is a node that receives the vehicle data transmitted from the data storage server 12 and stores the vehicle data for each vehicle using a blockchain. Note that the vehicle data transmitted from the data storage server 12 is assigned an identification ID for identifying the vehicle.
[0027] The viewing terminal 16 is an information processing device for searching and viewing vehicle data registered in the blockchain by the storage system 10, and is an information processing device owned by a user of the storage system 10. Specifically, the user uses his / her own viewing terminal 16 to select a blockchain for a desired vehicle from the blockchains for each vehicle stored in the storage system 10, and reads out the vehicle data for that vehicle.
[0028] The intermediate communication device 18 enables the viewing terminal 16 to view vehicle data without directly accessing the BC registration server 14. That is, search conditions are input from the viewing terminal 16 to the intermediate communication device 18, and the intermediate communication device 18 reads vehicle data that matches the search conditions from the BC registration server 14 and transmits it to the viewing terminal 16. Note that the viewing terminal 16 may also be able to view vehicle data by directly accessing the BC registration server 14, which is a node, without going through the intermediate communication device 18.
[0029] Next, we will explain the specific configuration of the BC registration server 14. The BC registration server 14 includes a communication unit 20, a BC database 22A, an MM database 22B, a data determination unit 24, a first hash value calculation unit 26, a storage control unit 28, a registration unit 30, a second hash value calculation unit 32, a hash value comparison unit 34, and a data output control unit 36.
[0030] The data determination unit 24, the first hash value calculation unit 26, the storage control unit 28, the registration unit 30, the second hash value calculation unit 32, the hash value comparison unit 34, and the data output control unit 36 are executed by a calculation device (CPU) included in the BC registration server 14. The calculation device realizes the functions of each of the above-mentioned units by executing a program stored in a non-transitive physical recording medium. Furthermore, by executing this program, a method corresponding to the program is executed.
[0031] The communication unit 20 transmits and receives data to and from the data storage server 12, the intermediate communication device 18, other information processing devices, etc. Specifically, the communication unit 20 receives vehicle data from the data storage server 12. In addition, the communication unit 20 receives a search instruction from the viewing terminal 16 via the intermediate communication device 18, and transmits the search results to the intermediate communication device 19.
[0032] The BC database 22A is a storage device that stores a blockchain for each vehicle.
[0033] The MM database 22B is a storage device, and stores the multimedia data among the vehicle data transmitted from the data storage server 12. Note that the multimedia data referred to here is data with a relatively large data size among the vehicle data, such as data with a specific extension or data with a data size equal to or larger than a predetermined value. Examples of the specific extension include an extension indicating image data such as a moving image or still image, an extension indicating audio, an extension indicating an electronic document such as text or PDF, or an extension indicating a CAN analysis result, etc.
[0034] The data determination unit 24 determines multimedia data with a relatively large data size based on preset conditions from the vehicle data transmitted from the data storage server 12 and registered in the blockchain. Note that the above conditions are, for example, whether or not the data has a predetermined extension and whether or not the data size is equal to or larger than a predetermined size, as described above.
[0035] The first hash value calculation unit 26 calculates a hash value (hereinafter referred to as the "first hash value") of the multimedia data determined by the data determination unit 24. Note that the first hash in this embodiment is calculated based on the binary data of the multimedia data, as an example.
[0036] The storage control unit 28 stores the multimedia data in the MM database 22B. When the MM database 22B stores the multimedia data, the storage control unit 28 receives storage destination information (hereinafter referred to as "storage address information") indicating the storage destination of the multimedia data from the MM database 22B.
[0037] The registration unit 30 registers the vehicle data received by the BC registration server 14 in the blockchain for each vehicle. The registration unit 30 of this embodiment registers the first hash value calculated by the first hash value calculation unit 26 and storage address information of the multimedia data as multimedia data information in the blockchain. That is, the BC registration server 14 of this embodiment registers multimedia data information associated with the multimedia data in the blockchain instead of the multimedia data itself.
[0038] The second hash value calculation unit 32, the hash value comparison unit 34, and the data output control unit 36 function when searching for vehicle data registered in the blockchain. The search for vehicle data is performed based on a search instruction from the viewing terminal 16.
[0039] The second hash value calculation unit 32 calculates a hash value (hereinafter referred to as the "second hash value") of the multimedia data stored in the MM database 22B indicated by the storage address information registered in the blockchain. Note that the second hash value in this embodiment is calculated based on the binary data of the multimedia data, as an example.
[0040] The hash value comparison unit 34 compares the first hash value registered in the blockchain with the second hash value calculated by the second hash value calculation unit 32.
[0041] The data output control unit 36 outputs the multimedia data stored in the MM database 22B when the comparison result by the hash value comparison unit 34 indicates a match between the hash values. The output here means transmitting the vehicle data registered in the blockchain to the viewing terminal 16 via the communication unit 20.
[0042] FIG. 2 is a flowchart showing the flow of the blockchain registration process of vehicle data in this embodiment.
[0043] In step 100, vehicle data is received from the vehicle.
[0044] In the next step 102, the data determination unit 24 determines whether the received vehicle data is multimedia data or not. If the determination is affirmative, the process proceeds to step 104, and if the determination is negative, the process proceeds to step 112.
[0045] In the case where the process proceeds from step 102 to step 112, since the vehicle data is not multimedia data, the registration unit 30 registers the vehicle data itself in the blockchain in step 112. When registering the vehicle data in the blockchain, a hash value is calculated for each block. The hash value for each block is different from the first hash value and the second hash value described above.
[0046] In step 104, the data determination unit 24 stores the vehicle data, which is multimedia data, in the registration list.
[0047] In the next step 106, the first hash value calculation unit 26 calculates a first hash value of the multimedia data stored in the registration list. As an example, the first hash value calculation unit 26 of this embodiment calculates the hash value of binary data obtained by binarizing the multimedia data as the first hash value.
[0048] In the next step 108, the storage control unit 28 stores the multimedia data in the MM database 22B. In this embodiment, binary data of the multimedia data is stored in the MM database 22B. When storing the multimedia data in the MM database 22B, the storage control unit 28 outputs the binary data and a registration key to the MM database 22B. When the MM database 22B stores the binary data, it returns storage address information of the binary data to the storage control unit 28. The storage control unit 28 outputs the registration key and the returned storage address information to the registration unit 30.
[0049] In the next step 110, the registration unit 30 sets multimedia data information including the first hash value and the storage address information. Note that the multimedia information in this embodiment includes the first hash value, the storage address information, and also includes a registration key and metadata of the multimedia data.
[0050] In step 112, which follows step 110, the registration unit 30 registers the multimedia data information in the block chain. When the multimedia data information is registered in the block chain, a hash value is calculated for each block including the multimedia data information. This block chain is stored in the BC database 22A.
[0051] In step 112, which follows step 102, the registration unit 30 registers the vehicle data itself in the blockchain as described above. That is, the registration unit 30 of this embodiment registers data other than multimedia data in the blockchain together with the multimedia data information. This allows the storage system 10 of this embodiment to manage multimedia data with a relatively large data size and data with a relatively small data size in the same blockchain.
[0052] In the next step, step 114, it is determined whether or not registration of all received vehicle data in the blockchain has been completed, and if the determination is affirmative, the blockchain registration process ends, and if the determination is negative, the process returns to step 102. When registration of the vehicle data in the blockchain has been completed, the registration unit 30 returns information indicating completion of registration to the vehicle that transmitted the vehicle data.
[0053] FIG. 3 is a flowchart showing the flow of the blockchain search process for vehicle data in this embodiment.
[0054] First, in step 200, information (search conditions) on vehicles to be searched for in vehicle data and a search period (period for acquiring vehicle data) is received from viewing terminal 16 via intermediate communication device 18.
[0055] In the next step 202, the blockchain to be searched is read from the BC database 22A.
[0056] In the next step 204, the search target blockchain is analyzed to determine whether or not multimedia data exists in the blockchain. If the determination is positive, the process proceeds to step 206, and if the determination is negative, the process proceeds to step 214. The presence or absence of multimedia data is determined by whether or not the block contains multimedia data information. The case where the process proceeds from step 204 to step 214 occurs when the vehicle data registered in the blockchain is not multimedia data.
[0057] In step 206, the multimedia data (binary data) is obtained from the MM database 22B using the storage address information and the registration key included in the multimedia data information.
[0058] In the next step 208 , the second hash value calculation unit 32 calculates a hash value (second hash value) of the binary data of the multimedia data acquired in step 206 .
[0059] In the next step 210, the hash value comparison unit 34 compares whether the first hash value included in the multimedia data information and the second hash value calculated in step 206 match, and if they match, the process proceeds to step 212.
[0060] On the other hand, if the first hash value and the second hash value do not match, it is determined that the multimedia data stored in the MM database 22B has been tampered with, and the block chain search process is terminated. In this case, information indicating that the multimedia data has been tampered with is transmitted to the viewing terminal 16 or other management terminals.
[0061] Step 212 encodes the multimedia data, which is represented as binary data.
[0062] In the next step 214, it is determined whether or not all processing for the blockchain to be searched has been completed. If the determination is affirmative, the process proceeds to step 216; if the determination is negative, the process returns to step 204.
[0063] In step 216, the vehicle data including the multimedia data read from the blockchain is transmitted to the viewing terminal 16 via the intermediate communication device 18, and the blockchain search process is terminated.
[0064] As described above, in the storage system 10 of this embodiment, multimedia data information including a hash value and storage address information of the multimedia data is registered in the blockchain, and the multimedia data itself is stored in the MM database 22B without being registered in the blockchain.
[0065] As a result, multimedia data information with a small data size is registered in the blockchain instead of multimedia data with a large data size. By registering the multimedia data information associated with the multimedia data in the blockchain, a database for managing the multimedia data is not required. In addition, the hash value of the multimedia data is registered in the blockchain, so that it is possible to verify whether the stored multimedia data has been tampered with by using this hash value.
[0066] Therefore, the storage system 10 of this embodiment can store large-sized multimedia data in a manner that enables tamper detection, without increasing the load on the system.
[0067] Although the present invention has been described above using the above embodiment, the technical scope of the present invention is not limited to the scope described in the above embodiment. Various modifications or improvements can be made to the above embodiment without departing from the gist of the invention, and the forms with such modifications or improvements are also included in the technical scope of the present invention.
[0068] In the above embodiment, a form in which the BC registration server 14 stores multimedia data in the MM database 22B has been described, but this is not limited thereto, and the multimedia data may be registered in the blockchain while remaining stored in the data storage server 12.
[0069] In the above embodiment, the multimedia data is stored as binary data in the MM database 22B, but the present invention is not limited to this, and the multimedia data may be stored in the MM database 22B without being binarized. In this case, the multimedia data is binarized every time a hash value is calculated.
[0070] In the above embodiment, a form has been described in which the data determination unit 24 automatically determines whether the vehicle data to be registered in the blockchain is multimedia data or not, but this is not limited to the above, and a data administrator or the like may manually determine whether the vehicle data is multimedia data or not.
[0071] In the above embodiment, a form in which the data to be registered in the blockchain is vehicle data, which is a moving body, was described. However, this is not limited to this, and data including multimedia data, such as data of other moving bodies or data transmitted from other information processing devices, may also be registered in the blockchain.
[0072] In the above embodiment, a configuration has been described in which the BC registration server 14 or the BC database 22A is provided for each company, but the present invention is not limited to this, and the BC registration server 14 or the BC database 22A may be shared by a plurality of companies.
[0073] In the above embodiment, the BC registration server 14 receives the vehicle data from the data storage server 12. However, the present invention is not limited to this, and the BC registration server 14 may receive the vehicle data directly from the vehicle.
[0074] The control unit and the method of the present embodiment may be realized by a special-purpose computer having a processor programmed to execute one or more functions embodied in a computer program. Alternatively, the device and the method described in the present embodiment may be realized by a special-purpose hardware logic circuit. Alternatively, the device and the method described in the present embodiment may be realized by one or more special-purpose computers configured by a combination of a processor that executes a computer program and one or more hardware logic circuits. Furthermore, the computer program may be stored in a computer-readable non-transitory tangible recording medium as instructions to be executed by the computer.
[0075] Furthermore, the processing flow described in the above embodiment is merely an example, and unnecessary steps may be deleted, new steps may be added, or the processing order may be rearranged, without departing from the spirit of the present invention. [Explanation of symbols]
[0076] 10 storage system, 14 BC registration server, 22B MM database, 24 Data judgment unit, 26 first hash value calculation unit, 28 storage control unit, 30 registration unit, 32: second hash value calculation unit; 34: hash value comparison unit; 36 Data output control section
Claims
1. a determination unit (24) that determines, from among data to be registered in the blockchain, multimedia data having a relatively large data size based on a preset condition; a first hash value calculation unit (26) that calculates a hash value of the multimedia data; a storage control unit (28) for storing the multimedia data in a predetermined storage unit; A registration unit (30) that registers the hash value calculated by the first hash value calculation unit and storage destination information indicating a storage destination of the multimedia data in a block chain as multimedia data information; An information processing device (14) comprising:
2. a second hash value calculation unit (32) that calculates a hash value of the multimedia data stored in the storage unit indicated by the storage destination information registered in a block chain; A comparison unit (34) that compares a hash value registered in the blockchain with a hash value calculated by the second hash value calculation unit; a data output control unit (36) for outputting the multimedia data stored in the storage unit when a comparison result by the comparison unit indicates a match between the hash values; The information processing device according to claim 1 .
3. The registration unit registers data other than the multimedia data in a blockchain together with the multimedia data information.
3. The information processing device according to claim 1 or 2.
4. The information processing device according to claim 1 , wherein the hash value is calculated based on binary data of the multimedia data.
5. The information processing device according to claim 1 or 2, wherein the multimedia data is data of a moving object (12).
6. A first step in which a determination unit determines, from among data to be registered in a blockchain, multimedia data having a relatively large data size based on a preset condition; a second step of calculating a hash value of the multimedia data by a first hash value calculation unit; a third step of causing a storage control unit to store the multimedia data in a predetermined storage unit; a fourth step in which a registration unit registers the hash value calculated by the first hash value calculation unit and storage destination information indicating a storage destination of the multimedia data in a block chain as multimedia data information; A blockchain registration method having the following:
7. Computer, A determination unit that determines, from among the data to be registered in the blockchain, multimedia data having a relatively large data size based on a preset condition; a first hash value calculation unit for calculating a hash value of the multimedia data; a storage control unit that stores the multimedia data in a predetermined storage unit; a registration unit that registers the hash value calculated by the first hash value calculation unit and storage destination information indicating a storage destination of the multimedia data in a block chain as multimedia data information; Blockchain registration program to function as a blockchain.
Citation Information
Patent Citations
Information processing apparatus, information processing method, and program
JP2017195627A
System for performing verification in block chain
JP2020017256A
Data storage system and data storing method
WO2022185755A1
Transaction system, control method of transaction system, and control program of transaction system
JP2021177267A