Data access method, device, computer equipment and storage medium
Through blockchain technology and distributed storage systems, hash values are used for decentralized management of engineering survey data, which solves the problems of cumbersome and inefficient survey data review process and achieves fast, convenient data review and efficient data processing. Get.
Patent Information
- Application Number
- CN202110295713.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-03-19
AI Technical Summary
In the existing technology, the storage and retrieval process of engineering survey data is cumbersome, resulting in low convenience and long data search time, especially the low efficiency of data search due to centralized data storage.
Decentralized data management is achieved through blockchain technology, and distributed storage systems and hash values are used for data storage and review. External devices can quickly and conveniently read hash addresses in the blockchain to achieve survey data Quick access and simplified access process.
It improves the convenience and speed of data review, simplifies the survey data review process, greatly improves the speed of data acquisition, and ensures fast access to data through a distributed storage system.
Smart Images

Figure CN113094394B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data storage, and in particular to a data access method, apparatus, computer equipment and storage medium. Background Art
[0002] Engineering survey data are often scattered and diverse, and timely and comprehensive records are needed to grasp the details of project implementation. At present, survey data are mainly stored in traditional paper archives, which require multiple screening and searching, and consume a lot of manpower and material resources to view the data. Alternatively, survey data can be stored in a database center, but due to centralized data storage and other reasons, data search will take a long time.
[0003] It can be seen that the current storage method of survey data makes the data retrieval process more complicated and less convenient. Summary of the invention
[0004] The embodiments of the present application provide a data access method, apparatus, computer device and storage medium, which can simplify the survey data review process and improve the convenience of data review.
[0005] In a first aspect, a data access method is provided, comprising:
[0006] The data management device receives a data access request from the data access device; the data access request includes an identification of the target survey data;
[0007] The data management device determines the information of the target block according to the identification of the target survey data; the target block is a block in the blockchain that stores the hash value corresponding to the target survey data, and the hash value is used to indicate the storage address of the target survey data;
[0008] The data management device sends a data access response to the data access device, where the data access response includes information of the target block.
[0009] In a second aspect, a data access method is provided, comprising:
[0010] The data access device sends a data access request to the data management device; the data access request includes an identifier of the target survey data;
[0011] The data access device receives a data access response from the data management device, the data access response including information of the target block; the target block is a block in the blockchain storing a hash value corresponding to the target survey data, the hash value being used to indicate a storage address of the target survey data;
[0012] The data access device obtains target survey data according to the information of the target block.
[0013] In a third aspect, a data source device is provided, including:
[0014] A communication unit, configured to receive a data access request from a data access device; the data access request includes an identification of target survey data;
[0015] A processing unit, configured to determine information of a target block according to an identifier of the target survey data; the target block is a block in the blockchain storing a hash value corresponding to the target survey data, and the hash value is used to indicate a storage address of the target survey data;
[0016] The communication unit is further used to send a data access response to the data access device, where the data access response includes information of the target block.
[0017] In a fourth aspect, a data access device is provided, comprising:
[0018] A communication unit, used to send a data access request to a data management device; the data access request includes an identifier of the target survey data;
[0019] The communication unit is further used to receive a data access response from the data management device, the data access response including information of the target block; the target block is a block in the blockchain storing a hash value corresponding to the target survey data, the hash value being used to indicate a storage address of the target survey data;
[0020] The processing unit is used to obtain target exploration data according to the information of the target block.
[0021] In a fifth aspect, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method described in the first aspect when executing the computer program.
[0022] In a sixth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0023] In a seventh aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0024] The above-mentioned data access method, device, computer equipment and storage medium realize decentralized data management through blockchain, and the blockchain records the hash address in the distributed storage system. Due to the traceability and openness and transparency of blockchain, external devices can quickly and conveniently read the hash address in the block after obtaining permission, thereby realizing rapid access to survey data, simplifying the access process of survey data, and improving the convenience of data access. In addition, by using a distributed storage system to store survey data in a distributed manner, data access devices can obtain survey data from nearby storage nodes, greatly improving the speed of data acquisition. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A schematic diagram of a system provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of data storage provided in an embodiment of the present application;
[0027] Figure 3 A schematic diagram of a block data structure provided in an embodiment of the present application;
[0028] Figure 4 A flowchart of a data access method provided in an embodiment of the present application;
[0029] Figure 5 A schematic diagram of data encryption provided in an embodiment of the present application;
[0030] Figure 6-7 Another schematic diagram of the data access method according to the embodiment of the present application;
[0031] Figure 8 A result block diagram of a data management device provided in an embodiment of the present application;
[0032] Fig. 9 A result block diagram of a data management device provided in an embodiment of the present application;
[0033] Fig.10 This is a diagram of the internal structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0035] The method provided in the embodiment of the present application is applied to Figure 1 The system shown, reference Figure 1The system includes: a data management device 10, a data access device 20, and a data storage system 30. The data management device 10 is used to obtain survey data from the survey data collection party. For example, the survey data can be received from relevant equipment of the engineering survey department. The data management device can also store the collected data in the data storage system 30. The data access device 20 can obtain the survey data from the data storage system 30.
[0036] In the embodiment of the present application, the data storage system 30 may be a distributed storage system. For example, the distributed storage system IPFS may be an interplanetary file system (IPFS). The data storage system 30 may add the storage information of the survey data to the blockchain, and the data access device 20 may obtain the storage information of the survey data from the blockchain, and obtain the survey data from the data storage system 30 according to the storage information of the survey data.
[0037] Exemplary, reference Figure 2 The data management device 10 obtains survey data from data sources such as survey units, government agencies, and labor subcontractors, and stores the survey data in the IPFS system. Each file stored in the IPFS network has a unique hash address, which is a hash value obtained after the hash algorithm. After the survey data is stored in the IPFS system, a hash address corresponding to the data can also be generated. The IPFS system can add a new block in the blockchain to store the hash address.
[0038] In a possible implementation, refer to Figure 3 , the hash address (also known as the hash value) can be stored in the data block of the blockchain data layer.
[0039] The present application provides a data access method suitable for Figure 1 The data management device 10 shown. Figure 4 As shown, the method comprises the following steps:
[0040] 401. A data management device receives a data access request from a data access device; the data access request includes an identifier of target survey data.
[0041] The data management device has the authority to manage data. When an external device needs to access survey data, it can send a data access request to the data management device. The data access request can represent the needs of the data access device, for example, the data access request is used to access target survey data.
[0042] Exemplarily, the data access request may include an identifier of the target survey data. In a possible implementation, the identifier of the target survey data may be the acquisition time of the survey data, or information of a data source of the survey data, which is not limited in the present embodiment.
[0043] 402. The data management device determines information of a target block according to the target survey data; the target block is a block in the blockchain that stores a hash value corresponding to the target survey data, and the hash value is used to indicate a storage address of the target survey data.
[0044] Specifically, the data management device sends the target survey data to the target storage node in the distributed storage system. The target storage node can store the target survey data in a distributed storage system, that is, multiple storage nodes in the distributed storage system store the target survey data. The data management device can also determine a hash value according to the storage address of the target survey data. Exemplarily, the target storage node can perform a hash operation on the storage address of the target survey data to obtain a hash value, which can also be called a hash address.
[0045] The target storage node may also store the hash value in a target block, where the target block may be a newly added block of the target storage node in the blockchain.
[0046] The data management device can receive the target block information from the target storage node and generate a correspondence between the target survey data and the target block. When the data management device receives a data access request sent by the data access device, it can determine the target block information corresponding to the target survey data to be accessed by the data access device according to the correspondence.
[0047] Referring to Table 1, the data management device may store the identification of the target survey data and the information (identification) of the target block accordingly.
[0048] Table 1
[0049] Identification of survey data Block information 2020.11.01 X 2020.12.01 y …… ……
[0050] It should be noted that the identification of the survey data in Table 1 takes the acquisition time as an example, and the information of the block takes the block number as an example. When the data management device receives the data access request sent by the data access device, it can look up Table 1 according to the acquisition date of the target survey data carried in the data access request to determine the number of the target block corresponding to the target survey data.
[0051] 403. The data management device sends a data access response to the data access device, where the data access response includes information of the target block.
[0052] After the data management device determines the information of the target block based on the target survey data, it can send the information of the target block to the data access device, so that the data access device can obtain the hash value of the target survey data from the target block, and then determine the storage address of the target survey data based on the hash value to obtain the target survey data from the storage address.
[0053] In a possible implementation, the data management device may also send authentication information of the target block to the data access device to grant the data access device permission to access the target block.
[0054] Figure 4 In the method shown, decentralized data management is achieved through blockchain, and the blockchain records the hash address in the distributed storage system. Due to the traceability and openness and transparency of the blockchain, external devices can quickly and conveniently read the hash address in the block after obtaining permission, thereby realizing rapid access to survey data, simplifying the survey data access process, and improving the convenience of data access. In addition, by using a distributed storage system to store survey data in a distributed manner, data access devices can obtain survey data from nearby storage nodes, greatly improving the speed of data acquisition.
[0055] Figure 4 In the method shown, the data management device may encrypt the survey data before uploading it to the distributed storage system to improve the security of the data. Exemplarily, before the data management device sends the target survey data to the target storage node, the data management device may encrypt the original data according to the public key of the data management device to obtain the target survey data. The original data may be the data obtained by the data management device from the data source.
[0056] In a possible implementation, the data access response also includes a private key of the data management device, and the private key is used to decrypt the target survey data.
[0057] Exemplary, reference Figure 5 The data management device uses the public key to encrypt the original data to obtain the encrypted data. The data management device can also pass the private key to the data access device. When the data access device obtains the target survey data (i.e., encrypted data) from the distributed storage system, it can use the private key to decrypt the encrypted data to obtain the original data.
[0058] The present application provides a data access method suitable for Figure 1 The data access device 20 shown. Figure 6 As shown, the method comprises the following steps:
[0059] 601. A data access device sends a data access request to a data management device; the data access request includes an identifier of target survey data.
[0060] The data management device has the authority to manage data. When an external device needs to access survey data, it can send a data access request to the data management device. The data access request can represent the needs of the data access device, for example, the data access request is used to access target survey data.
[0061] Exemplarily, the data access request may include an identifier of the target survey data. In a possible implementation, the identifier of the target survey data may be the acquisition time of the survey data, or information of a data source of the survey data, which is not limited in the present embodiment.
[0062] 602. The data access device receives a data access response from the data management device, where the data access response includes information of a target block.
[0063] Among them, the target block is a block in the blockchain that stores the hash value corresponding to the target exploration data, and the hash value is used to indicate the storage address of the target exploration data.
[0064] 603. The data access device obtains target survey data according to the information of the target block.
[0065] In a specific implementation, the data access device can obtain the hash value corresponding to the target survey data from the target block, and can also determine the storage location of the target survey data in the distributed storage system according to the hash value, and select a nearby storage node to obtain the target survey data.
[0066] Figure 6 In the method shown, decentralized data management is achieved through blockchain, and the blockchain records the hash address in the distributed storage system. Due to the traceability and openness and transparency of the blockchain, external devices can quickly and conveniently read the hash address in the block after obtaining permission, thereby realizing rapid access to survey data, simplifying the survey data access process, and improving the convenience of data access. In addition, by using a distributed storage system to store survey data in a distributed manner, data access devices can obtain survey data from nearby storage nodes, greatly improving the speed of data acquisition.
[0067] In a possible implementation, the data management device may encrypt the survey data before uploading it to the distributed storage system to improve the security of the data. Exemplarily, before the data management device sends the target survey data to the target storage node, it may encrypt the original data according to the public key of the data management device to obtain the target survey data. The original data may be the data obtained by the data management device from the data source.
[0068] Based on this, the data access device can also obtain a private key from the data management device to decrypt the obtained target survey data. Exemplarily, the data access response also includes the private key of the data management device.
[0069] Exemplarily, after the data access device obtains the target survey data according to the information of the target block, it decrypts the target survey data according to the private key to obtain the original data.
[0070] The present application provides a data access method suitable for Figure 1 The data access device 20 shown. Figure 7 As shown, the method comprises the following steps:
[0071] 701. The data management device obtains original data from a data source.
[0072] 702. The data management device encrypts the original data using the public key to obtain encrypted data.
[0073] 703. The data management device sends the encrypted data to the data storage system.
[0074] 704. The data storage system stores the encrypted data in a distributed storage manner, and generates a corresponding hash value according to the storage address of the encrypted data.
[0075] 705. The data storage system stores the above hash value in a newly added block of the blockchain.
[0076] 706. The data management device receives a data access request from the data access device; the data access request is used to access target survey data.
[0077] 707. The data management device determines information of the target block according to the target survey data.
[0078] Among them, the target block is a block in the blockchain that stores the hash value corresponding to the target exploration data, and the hash value is used to indicate the storage address of the target exploration data.
[0079] 708. The data management device sends a data access response to the data access device, where the data access response includes information of the target block and a private key of the data management device.
[0080] 709. The data access device receives the data access response and obtains the above hash value from the target block according to the information of the target block.
[0081] 710. The data access device obtains the target survey data from the data storage system according to the hash value.
[0082] 711. The data access device decrypts the target survey data according to the private key of the data management device to obtain the original data.
[0083] It should be understood that although Figure 4 , Figure 6 as well as Figure 7 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 4 , Figure 6 as well as Figure 7 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0084] The present application also provides a data management device, which may be the data management device described above. Figure 8 As shown, the device includes a communication unit 801 and a processing unit 802 .
[0085] The communication unit 801 is used to receive a data access request from a data access device; the data access request includes an identifier of the target survey data;
[0086] The processing unit 802 is used to determine the information of the target block according to the identification of the target exploration data; the target block is a block in the blockchain that stores the hash value corresponding to the target exploration data, and the hash value is used to indicate the storage address of the target exploration data;
[0087] The communication unit 801 is further configured to send a data access response to the data access device, where the data access response includes information of the target block.
[0088] In a possible implementation, the communication unit 801 is further configured to enable the data management device to send the target survey data to the target storage node, so that the target storage node determines a hash value according to a storage address of the target survey data and stores the hash value in the target block;
[0089] The communication unit 801 is also used to receive information of the target block from the target storage node;
[0090] The processing unit 802 is further configured to generate a correspondence between the identifier of the target survey data and the information of the target block.
[0091] In a possible implementation, the processing unit 802 is specifically configured to determine the information of the target block according to a correspondence between an identifier of the target survey data and the information of the target block.
[0092] In a possible implementation, the processing unit 802 is further configured to, before the communication unit sends the target survey data to the target storage node, encrypt the original data according to the public key of the data management device to obtain the target survey data.
[0093] In a possible implementation, the data access response also includes a private key of the data management device, and the private key is used to decrypt the target survey data.
[0094] The present application also provides a data access device, which may be the data access device described above. Fig. 9 As shown, the device includes: a communication unit 901 and a processing unit 902.
[0095] The communication unit 901 is used to send a data access request to the data management device; the data access request includes an identifier of the target survey data;
[0096] The communication unit 901 is also used to receive a data access response from the data management device, where the data access response includes information of a target block; the target block is a block in the blockchain that stores a hash value corresponding to the target survey data, where the hash value is used to indicate a storage address of the target survey data;
[0097] The processing unit 902 is used to obtain target survey data according to the information of the target block.
[0098] In a possible implementation, the processing unit 902 is specifically configured to enable a data access device to obtain a hash value corresponding to the target survey data from the target block; and the data access device to obtain the target survey data from a storage address of the target survey data according to the hash value.
[0099] In a possible implementation, the data access response also includes a private key of the data management device.
[0100] The processing unit 902 is specifically configured to, after acquiring the target survey data according to the information of the target block, decrypt the target survey data according to the private key of the data management device to obtain the original data.
[0101] The specific definition of the data management device and the data access device can be found in the definition of the data access method above, which will not be repeated here. The various modules in the above-mentioned data management device and the data access device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0102] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data, such as program code. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data access method is implemented.
[0103] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0104] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the data access method of the embodiment of the present application is implemented.
[0105] Exemplarily, when the processor executes the computer program, it supports the data management device to receive a data access request from the data access device; the data access request includes an identification of the target survey data;
[0106] The data management device is supported to determine the information of the target block according to the identification of the target survey data; the target block is a block in the blockchain that stores the hash value corresponding to the target survey data, and the hash value is used to indicate the storage address of the target survey data;
[0107] The data management device is supported to send a data access response to the data access device, where the data access response includes information of the target block.
[0108] Optionally, the data management device is further supported to send the target survey data to the target storage node, so that the target storage node determines the hash value according to the storage address of the target survey data and stores the hash value in the target block;
[0109] The data management device receives the information of the target block from the target storage node, and generates a corresponding relationship between the identifier of the target survey data and the information of the target block.
[0110] Optionally, the data management device is also supported to determine the information of the target block according to the corresponding relationship between the identifier of the target survey data and the information of the target block.
[0111] Optionally, the data management device is also supported to encrypt the original data according to the public key of the data management device to obtain the target survey data.
[0112] Exemplarily, the data access response also includes a private key of the data management device, where the private key is used to decrypt the target survey data.
[0113] Exemplarily, when the processor executes the computer program, the data access device is supported to send a data access request to the data management device; the data access request includes an identifier of the survey data;
[0114] The data access device is supported to receive a data access response from the data management device, where the data access response includes information of a target block; the target block is a block in the blockchain that stores a hash value corresponding to the target survey data, where the hash value is used to indicate a storage address of the target survey data;
[0115] Support data access equipment to obtain target survey data based on the information of the target block.
[0116] Exemplarily, it is also supported that the data access device obtains a hash value corresponding to the target survey data from the target block, and obtains the target survey data from a storage address of the target survey data according to the hash value.
[0117] Exemplarily, the data access response also includes a private key of the data management device.
[0118] Exemplarily, the data access device is supported to decrypt the target survey data according to the private key of the data management device to obtain the original data.
[0119] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the data access method described in the embodiment of the present application is implemented.
[0120] Exemplarily, when the processor executes the computer program, it supports the data management device to receive a data access request from the data access device; the data access request includes an identification of the target survey data;
[0121] The data management device is supported to determine the information of the target block according to the identification of the target survey data; the target block is a block in the blockchain that stores the hash value corresponding to the target survey data, and the hash value is used to indicate the storage address of the target survey data;
[0122] The data management device is supported to send a data access response to the data access device, where the data access response includes information of the target block.
[0123] Exemplarily, when the processor executes the computer program, the data access device is supported to send a data access request to the data management device; the data access request includes an identifier of the survey data;
[0124] The data access device is supported to receive a data access response from the data management device, where the data access response includes information of a target block; the target block is a block in the blockchain that stores a hash value corresponding to the target survey data, where the hash value is used to indicate a storage address of the target survey data;
[0125] Support data access equipment to obtain target survey data based on the information of the target block.
[0126] The embodiment of the present application also provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, the data access method described in the embodiment of the present application is implemented.
[0127] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0128] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0129] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A data access method, characterized in that: include: The data management device receives a data access request from the data access device; The data access request includes an identification of the target survey data; The data management device determines information of the target block according to the identifier of the target survey data; The target block is a block in the blockchain that stores a hash value corresponding to the target exploration data, and the hash value is used to indicate the storage address of the target exploration data; The data management device sends a data access response and authentication information of the target block to the data access device to grant the data access device access to the target block, wherein the data access response includes information of the target block; The method further includes: the data management device sending the target survey data to a target storage node, so that the target storage node determines the hash value according to the storage address of the target survey data and stores the hash value in the target block; The data management device receives the information of the target block from the target storage node, and generates a corresponding relationship between the identifier of the target survey data and the information of the target block; The data management device determines the information of the target block according to the target survey data, including: The information of the target block is determined according to the corresponding relationship between the identifier of the target survey data and the information of the target block.
2. The method according to claim 1, characterized in that Before the data management device sends the target survey data to the target storage node, the method further includes: The data management device encrypts the original data according to the public key of the data management device to obtain the target survey data.
3. The method according to claim 2, characterized in that The data access response also includes a private key of the data management device, where the private key is used to decrypt the target survey data.
4. A data access method, characterized in that: include: The data access device sends a data access request to the data management device; The data access request includes an identification of the target survey data; The data access device receives a data access response and authentication information of a target block from the data management device, wherein the data access response includes information of the target block; The target block is a block in the blockchain that stores a hash value corresponding to the target exploration data, and the hash value is used to indicate the storage address of the target exploration data; The data access device acquires the target survey data according to the information of the target block; The information of the target block is information determined by the data management device according to the corresponding relationship between the identifier of the target survey data and the information of the target block; The corresponding relationship is a corresponding relationship generated by the data management device after sending the target survey data to the target storage node and receiving the information of the target block from the target storage node.
5. The method according to claim 4, characterized in that The data access device acquires the target survey data according to the information of the target block, including: The data access device obtains a hash value corresponding to the target survey data from the target block; The data access device acquires the target survey data from a storage address of the target survey data according to the hash value.
6. The method according to claim 4 or 5, characterized in that: The data access response also includes a private key of the data management device.
7. The method according to claim 6, characterized in that After the data access device acquires the target survey data according to the information of the target block, the method further includes: The data access device decrypts the target survey data according to the private key of the data management device to obtain original data.
8. A data management device, characterized in that: include: A communication unit, configured to receive a data access request from a data access device; The data access request includes an identification of the target survey data; A processing unit, configured to determine information of a target block according to an identifier of the target survey data; The target block is a block in the blockchain that stores a hash value corresponding to the target exploration data, and the hash value is used to indicate the storage address of the target exploration data; The communication unit is further used to send a data access response and authentication information of the target block to the data access device to grant the data access device access to the target block, wherein the data access response includes information of the target block; The communication unit is further used to send the target survey data to a target storage node, so that the target storage node determines the hash value according to the storage address of the target survey data and stores the hash value in the target block; The communication unit is further used to receive information of the target block from the target storage node; The processing unit is further used to generate a corresponding relationship between the identifier of the target survey data and the information of the target block; The processing unit is specifically configured to determine the information of the target block according to a corresponding relationship between the identifier of the target survey data and the information of the target block.
9. A data access device, characterized in that: include: A communication unit, used to send a data access request to a data management device; the data access request is used to access target survey data; The communication unit is further used to receive a data access response and authentication information of a target block from the data management device, wherein the data access response includes information of the target block; The target block is a block in the blockchain that stores a hash value corresponding to the target exploration data, and the hash value is used to indicate the storage address of the target exploration data; A processing unit, configured to obtain the target survey data according to the information of the target block; The information of the target block is information determined by the data management device according to the corresponding relationship between the identifier of the target survey data and the information of the target block; The corresponding relationship is a corresponding relationship generated by the data management device after sending the target survey data to the target storage node and receiving the information of the target block from the target storage node.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
