Underground pipeline data sharing method and system based on block chain, and processor

CN119106087APending Publication Date: 2024-12-10XIAMEN HYMAKE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411099066.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The management of urban underground pipeline ownership is complex and lacks a unified management and data sharing mechanism, resulting in poor information circulation and unclear division of responsibilities, resulting in information asymmetry and shirking responsibility.

Method used

Adopt blockchain-based data sharing method, by creating resource file directories, uploading different types of underground pipeline data to the pipeline management platform, and sharing and querying data through blockchain, realizing decentralized storage and sharing of data to ensure Transparency and immutability of information.

Benefits of technology

It realizes unified management of underground pipeline data, reduces information asymmetry, improves management efficiency and coordination capabilities, and solves the problem of underground pipeline sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119106087A_ABST
    Figure CN119106087A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data sharing, in particular to an underground pipeline data sharing method and system based on a block chain and a processor, and the method comprises the steps: firstly constructing a resource file directory based on directory creation information, and sending the resource file directory to a pipeline management platform for storage; secondly, uploading different types of underground pipeline data to a resource file directory of a pipeline management platform to realize uniform directory management; acquiring underground pipeline data to be uploaded from the resource file directory of the pipeline management platform; then, sharing and uploading underground pipeline data to be uploaded to a block chain by calling a block chain interface, and returning block information; and finally, querying underground pipeline data on the block chain by using a to-be-queried instruction and the block information. According to the method, the underground pipeline data are uploaded to the block chain, decentralized storage and sharing of the data are realized, and transparency and non-tampering of the information are ensured. In addition, all cooperative departments jointly participate in data maintenance, and the problem of underground pipeline sharing is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data sharing technology, and in particular to a blockchain-based underground pipeline data sharing method, system and processor. Background Art

[0002] Due to the rapid development of the times, the layout of urban underground pipelines will become more and more complicated, so the ownership management of urban underground pipelines presents a complicated situation. The existing underground pipeline sharing problem has the following defects. First, there are many types of existing underground pipelines, and data information is stored in different departments. The management functions of various departments are intertwined and dispersed, resulting in poor information flow, significant information asymmetry, and lack of unified management and data sharing mechanisms. Second, in the process of data sharing and maintenance, the division of responsibilities between departments is unclear, which is prone to buck-passing. Summary of the invention

[0003] The purpose of the present invention is to provide a blockchain-based underground pipeline data sharing method, system and processor to achieve unified management and data sharing of underground pipelines.

[0004] To achieve the above object, the present invention provides a method for sharing underground pipeline data based on blockchain, the method comprising:

[0005] Build a resource file directory based on the directory creation information and send it to the pipeline management platform for storage;

[0006] Upload different types of underground pipeline data to the resource file directory of the pipeline management platform to achieve unified directory management;

[0007] Acquire the underground pipeline data to be uploaded from the resource file directory of the pipeline management platform;

[0008] By calling the blockchain interface, the underground pipeline data to be uploaded is shared and uploaded to the blockchain, and the block information is returned;

[0009] The underground pipeline data on the blockchain is queried using the instruction to be queried and the block information.

[0010] Optionally, the underground pipeline data to be uploaded is shared and uploaded to the blockchain by calling the blockchain interface, and the block information is returned, specifically including:

[0011] Calling the blockchain interface corresponding to the blockchain;

[0012] Determine the data type of the underground pipeline data to be uploaded; if the underground pipeline data to be uploaded is underground pipeline data in shp format and / or underground pipeline data in geojson format, encrypt the underground pipeline data to be uploaded to obtain an encrypted file; if the underground pipeline data to be uploaded is underground pipeline data in osgb format, perform hash calculation on the underground pipeline data to be uploaded to obtain a hash value;

[0013] The encrypted file or the hash value is uploaded to the blockchain corresponding to the blockchain interface through the blockchain interface, and block information is returned.

[0014] Optionally, the querying of underground pipeline data on the blockchain using the instruction to be queried and the block information specifically includes:

[0015] Inputting the instruction to be queried and the block information into the blockchain;

[0016] Performing data query on the blockchain according to the instruction to be queried and the block information, and returning the on-chain data;

[0017] Determine whether there is underground pipeline data to be queried in the chain data; if there is the underground pipeline data to be queried, display the underground pipeline data to be queried; if there is no underground pipeline data to be queried, end.

[0018] Optionally, the directory creation information includes: resource directory name, resource target code, resource directory and resource directory description.

[0019] Optionally, the blockchain includes at least one of Ant Chain, JD Zhizhen Chain and Jingtong Blockchain.

[0020] The present invention also provides an underground pipeline data sharing system based on blockchain, the system comprising:

[0021] The directory creation module is used to build a resource file directory based on the directory creation information and send it to the pipeline management platform for storage;

[0022] A directory unified management module is used to upload different types of underground pipeline data to the resource file directory of the pipeline management platform to achieve unified directory management;

[0023] A data acquisition module, used to acquire underground pipeline data to be uploaded from the resource file directory of the pipeline management platform;

[0024] The data sharing upload module is used to upload the underground pipeline data to be uploaded to the blockchain by calling the blockchain interface and return the block information;

[0025] A data query module is used to query the underground pipeline data on the blockchain using the instruction to be queried and the block information.

[0026] Optionally, the data sharing upload module specifically includes:

[0027] A blockchain interface calling unit, used to call the blockchain interface corresponding to the blockchain;

[0028] The first judgment unit is used to judge the data type of the underground pipeline data to be uploaded; if the underground pipeline data to be uploaded is underground pipeline data in shp format and / or underground pipeline data in geojson format, the underground pipeline data to be uploaded is encrypted to obtain an encrypted file; if the underground pipeline data to be uploaded is underground pipeline data in osgb format, hash calculation is performed on the underground pipeline data to be uploaded to obtain a hash value;

[0029] A data uploading unit is used to upload the encrypted file or the hash value to the blockchain corresponding to the blockchain interface through the blockchain interface, and return block information.

[0030] Optionally, the data query module specifically includes:

[0031] A data input unit, used to input the instruction to be queried and the block information into the blockchain;

[0032] A data query unit, configured to perform data query on the blockchain according to the instruction to be queried and the block information, and return the on-chain data;

[0033] The second judgment unit is used to judge whether there is underground pipeline data to be queried in the chain data; if there is the underground pipeline data to be queried, the underground pipeline data to be queried is displayed; if there is no underground pipeline data to be queried, the process ends.

[0034] Optionally, the directory creation information includes: resource directory name, resource target code, resource directory and resource directory description.

[0035] The present invention also provides a processor, which is used to run a computer program, wherein the computer program executes the above-mentioned blockchain-based underground pipeline data sharing method when running.

[0036] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0037] The present invention discloses a method, system and processor for sharing underground pipeline data based on blockchain. First, a resource file directory is constructed based on directory creation information, and sent to a pipeline management platform for storage; secondly, different types of underground pipeline data are uploaded to the resource file directory of the pipeline management platform to realize unified directory management; the underground pipeline data to be uploaded is obtained from the resource file directory of the pipeline management platform again; then, by calling the blockchain interface, the underground pipeline data to be uploaded is shared and uploaded to the blockchain, and block information is returned; finally, the underground pipeline data on the blockchain is queried using the instructions to be queried and the block information. The present invention uploads underground pipeline data to the blockchain to realize decentralized storage and sharing of data, and ensure the transparency and non-tamperability of information. In addition, each collaborative department jointly participates in maintaining data, reduces information asymmetry, improves management efficiency and collaborative capabilities, and effectively solves the problem of underground pipeline sharing. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0039] Figure 1 This is a flow chart of an underground pipeline data sharing method based on blockchain according to an embodiment of the present invention;

[0040] Figure 2 A schematic diagram of a resource file directory constructed for an embodiment of the present invention;

[0041] Figure 3 This is a schematic diagram of sharing and uploading underground pipeline data to be uploaded to a blockchain according to an embodiment of the present invention;

[0042] Figure 4 This is a schematic diagram of the small text evidence storage interface of an embodiment of the present invention;

[0043] Figure 5 This is a schematic diagram of a large text evidence storage interface according to an embodiment of the present invention;

[0044] Figure 6 This is a diagram showing the effect of querying pipeline data according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] The purpose of the present invention is to provide a blockchain-based underground pipeline data sharing method, system and processor to achieve unified management and data sharing of underground pipelines.

[0047] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0048] Example 1

[0049] like Figure 1 As shown, the present invention discloses a method for sharing underground pipeline data based on blockchain, the method comprising:

[0050] Step S1: construct a resource file directory based on the directory creation information and send it to the pipeline management platform for storage.

[0051] Step S2: Upload different types of underground pipeline data to the resource file directory of the pipeline management platform to achieve unified directory management.

[0052] Step S3: Obtain the underground pipeline data to be uploaded from the resource file directory of the pipeline management platform.

[0053] Step S4: By calling the blockchain interface, the underground pipeline data to be uploaded is shared and uploaded to the blockchain, and the block information is returned.

[0054] Step S5: Query the underground pipeline data on the blockchain using the query instruction and block information.

[0055] The following is a detailed discussion of each step:

[0056] Step S1: construct a resource file directory based on the directory creation information and send it to the pipeline management platform for storage; the directory creation information includes: resource directory name, resource target code, resource directory and resource directory description, among which the resource directory name and resource target code are the information that must be entered, and the resource directory and resource directory description are additional entry information. The additional directory information is filled in according to the specific actual situation, and it can also be left blank. Figure 2As shown, on the page for adding a resource directory, first add the resource directory name and resource target code, then select the resource directory and resource directory description, and finally click Submit to complete the construction of the resource file directory. If you make a mistake in filling in the information, you can click Reset to fill it in again.

[0057] The pipeline management platform in this embodiment is locally stored. The pipeline management platform may be a pipeline management module stored on a conventional server, or may be a specially set pipeline management platform. The specific configuration may be based on actual needs.

[0058] Step S2: Upload different types of underground pipeline data to the resource file directory of the pipeline management platform to achieve unified directory management; in this embodiment, the underground pipeline data stored in the pipeline management platform includes multiple types, specifically including at least one of underground pipeline data in shp format, underground pipeline data in geojson format and underground pipeline data in osgb format.

[0059] Step S3: Obtain the underground pipeline data to be uploaded from the resource file directory of the pipeline management platform; the underground pipeline data to be uploaded mentioned in this embodiment can be any underground pipeline data that you want to upload and share, and the specific selection can be based on actual needs, and will not be repeated here.

[0060] like Figure 3 As shown, by calling the blockchain interface, the underground pipeline data to be uploaded is shared and uploaded to the blockchain, and the block information is returned, including:

[0061] Step S41: Call the blockchain interface corresponding to the blockchain; the blockchain is not limited to a specific blockchain, and can optionally support at least one of Alibaba's Ant Chain, JD Zhizhen Chain and Jingtong Blockchain.

[0062] Step S42: Determine the data type of the underground pipeline data to be uploaded; if the underground pipeline data to be uploaded is underground pipeline data in shp format and / or underground pipeline data in geojson format, encrypt the underground pipeline data to be uploaded to obtain an encrypted file; if the underground pipeline data to be uploaded is underground pipeline data in osgb format, perform hash calculation on the underground pipeline data to be uploaded to obtain a hash value. In this embodiment, the underground pipeline data in shp format is encrypted by the "type judgment tool"; the underground pipeline data in geojson format is encrypted by the "type judgment tool"; the underground pipeline data in osgb format generates a hash value by the "type judgment tool".

[0063] Step S43: Upload the encrypted file or hash value to the blockchain corresponding to the blockchain interface through the blockchain interface, and return the block information. The block information in this embodiment includes at least one of the data evidence corresponding to the shp format, the data evidence corresponding to the geojson format, and the data evidence corresponding to the osgb format; the block information also includes the public key. In this embodiment, the data evidence corresponding to the shp format and the data evidence corresponding to the geojson format are stored in the form of small text evidence, such as Figure 4 As shown, the data evidence corresponding to the osgb format is stored in large text evidence mode, such as Figure 5 As shown. Figure 4 As shown, the small text evidence interface includes but is not limited to the evidence transaction time, transaction hash, status, encryption, operation, experience of non-encrypted evidence and experience of encrypted evidence, etc.; small text evidence is used for users to freely configure data structure to quickly upload to the chain, text evidence is open and transparent, and supports content encryption. Figure 5 As shown, the interface of large text evidence storage includes but is not limited to evidence storage transaction time, transaction hash, status and operation, etc. Large text evidence storage is used to store evidence in various formats such as txt, zip, rar, jpg, doc, docX, pdf, etc. The file itself is not on the chain, and the file content hash value and related information are on the chain to ensure that large file evidence cannot be tampered with, and support file download and file verification. Whether it is small text evidence storage or large text evidence storage, the interface also includes zero-code interactive experience and code development experience. Among them, the zero-code interactive experience can quickly experience the blockchain service capabilities, and the code development experience uses step-by-step guidance to quickly experience blockchain development.

[0064] In this embodiment, the block information is automatically generated after calling the blockchain interface corresponding to the blockchain. The generated block information is equivalent to giving the data an identification code, and the data can be found through this identification code when querying shared data.

[0065] Step S5: Query the underground pipeline data on the blockchain using the query instruction and block information, specifically including:

[0066] Step S51: input the query instruction and block information into the blockchain; the query instruction is input by the user through various interfaces, and can be input through a mobile phone or keyboard, etc. The query instruction includes the query requirements.

[0067] Step S52: perform data query on the blockchain according to the query instruction and block information, and return the on-chain data.

[0068] Step S53: Determine whether there is underground pipeline data to be queried in the chain data; if there is underground pipeline data to be queried, display the underground pipeline data to be queried, such as Figure 6As shown ( Figure 6 Just a schematic diagram, Figure 6 The text in has no special meaning); if there is no underground pipeline data to be queried, the process ends.

[0069] The present invention adopts blockchain technology to provide a new idea for solving the complex management of urban underground pipeline ownership and information sharing problems. The advantages of using blockchain sharing are:

[0070] Data security: By uploading underground pipeline data to the blockchain, which uses distributed ledger technology, data is stored on multiple nodes rather than concentrated on a centralized server. This decentralized structure reduces the risk of single point failure and improves the overall security of the system. By uploading underground pipeline data to the chain, decentralized storage and sharing of data is achieved, ensuring the transparency and immutability of information.

[0071] Data maintenance: All collaborative departments jointly participate in maintaining data to reduce information asymmetry, improve management efficiency and collaborative capabilities, and effectively solve the problem of underground pipeline sharing.

[0072] Data protection: Blockchain uses asymmetric encryption technology to protect the confidentiality and integrity of data. Each user has a pair of public and private keys, the public key is used to encrypt data, and the private key is used to decrypt data. This encryption method ensures that only authorized users can access and decrypt data.

[0073] Example 2

[0074] The embodiment of the present application also provides a blockchain-based underground pipeline data sharing system, the system comprising:

[0075] The directory creation module is used to build a resource file directory based on the directory creation information and send it to the pipeline management platform for storage.

[0076] The directory unified management module is used to upload different types of underground pipeline data to the resource file directory of the pipeline management platform to achieve unified directory management.

[0077] The data acquisition module is used to acquire the underground pipeline data to be uploaded from the resource file directory of the pipeline management platform.

[0078] The data sharing upload module is used to upload the underground pipeline data to be uploaded to the blockchain by calling the blockchain interface and return the block information.

[0079] A data query module is used to query the underground pipeline data on the blockchain using the instruction to be queried and the block information.

[0080] As an optional implementation mode, the data sharing upload module of the present invention specifically includes:

[0081] The blockchain interface calling unit is used to call the blockchain interface corresponding to the blockchain.

[0082] The first judgment unit is used to judge the data type of the underground pipeline data to be uploaded; if the underground pipeline data to be uploaded is underground pipeline data in shp format and / or underground pipeline data in geojson format, the underground pipeline data to be uploaded is encrypted to obtain an encrypted file; if the underground pipeline data to be uploaded is underground pipeline data in osgb format, hash calculation is performed on the underground pipeline data to be uploaded to obtain a hash value.

[0083] A data uploading unit is used to upload the encrypted file or the hash value to the blockchain corresponding to the blockchain interface through the blockchain interface, and return block information.

[0084] As an optional implementation mode, the data query module of the present invention specifically includes:

[0085] A data input unit is used to input the instruction to be queried and the block information into the blockchain.

[0086] A data query unit is used to perform data query on the blockchain according to the instruction to be queried and the block information, and return the on-chain data.

[0087] The second judgment unit is used to judge whether there is underground pipeline data to be queried in the chain data; if there is the underground pipeline data to be queried, the underground pipeline data to be queried is displayed; if there is no underground pipeline data to be queried, the process ends.

[0088] For the parts that are the same as those in Example 1, please refer to Example 1 and will not be discussed again here.

[0089] Example 3

[0090] An embodiment of the present application also provides a processor, which is used to run a computer program, wherein the computer program executes the blockchain-based underground pipeline data sharing method described in Example 1 when running.

[0091] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0092] These computer program instructions may also be loaded onto a computing device or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0093] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0094] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0095] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transit ry media), such as modulated data signals and carrier waves.

[0096] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0097] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0098] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0099] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for sharing underground pipeline data based on blockchain, characterized in that: The method comprises: Build a resource file directory based on the directory creation information and send it to the pipeline management platform for storage; Upload different types of underground pipeline data to the resource file directory of the pipeline management platform to achieve unified directory management; Acquire the underground pipeline data to be uploaded from the resource file directory of the pipeline management platform; By calling the blockchain interface, the underground pipeline data to be uploaded is shared and uploaded to the blockchain, and the block information is returned; The underground pipeline data on the blockchain is queried using the instruction to be queried and the block information.

2. The underground pipeline data sharing method based on blockchain according to claim 1 is characterized in that: By calling the blockchain interface, the underground pipeline data to be uploaded is shared and uploaded to the blockchain, and block information is returned, specifically including: Calling the blockchain interface corresponding to the blockchain; Determine the data type of the underground pipeline data to be uploaded; if the underground pipeline data to be uploaded is underground pipeline data in shp format and / or underground pipeline data in geojson format, encrypt the underground pipeline data to be uploaded to obtain an encrypted file; if the underground pipeline data to be uploaded is underground pipeline data in osgb format, perform hash calculation on the underground pipeline data to be uploaded to obtain a hash value; The encrypted file or the hash value is uploaded to the blockchain corresponding to the blockchain interface through the blockchain interface, and block information is returned.

3. The underground pipeline data sharing method based on blockchain according to claim 1 is characterized in that: The method of querying underground pipeline data on the blockchain using the query instruction and block information specifically includes: Inputting the instruction to be queried and the block information into the blockchain; Performing data query on the blockchain according to the instruction to be queried and the block information, and returning the on-chain data; Determine whether there is underground pipeline data to be queried in the chain data; if there is the underground pipeline data to be queried, display the underground pipeline data to be queried; if there is no underground pipeline data to be queried, end.

4. The underground pipeline data sharing method based on blockchain according to claim 1 is characterized in that: The directory creation information includes: resource directory name, resource target code, resource directory and resource directory description.

5. The underground pipeline data sharing method based on blockchain according to claim 1 is characterized in that: The blockchain includes at least one of Ant Chain, JD Zhizhen Chain and Jingtong Blockchain.

6. A blockchain-based underground pipeline data sharing system, characterized in that: The system comprises: The directory creation module is used to build a resource file directory based on the directory creation information and send it to the pipeline management platform for storage; A directory unified management module is used to upload different types of underground pipeline data to the resource file directory of the pipeline management platform to achieve unified directory management; A data acquisition module, used to acquire underground pipeline data to be uploaded from the resource file directory of the pipeline management platform; The data sharing upload module is used to upload the underground pipeline data to be uploaded to the blockchain by calling the blockchain interface and return the block information; A data query module is used to query the underground pipeline data on the blockchain using the instruction to be queried and the block information.

7. The underground pipeline data sharing system based on blockchain according to claim 6 is characterized in that: The data sharing upload module specifically includes: A blockchain interface calling unit, used to call the blockchain interface corresponding to the blockchain; The first judgment unit is used to judge the data type of the underground pipeline data to be uploaded; if the underground pipeline data to be uploaded is underground pipeline data in shp format and / or underground pipeline data in geojson format, the underground pipeline data to be uploaded is encrypted to obtain an encrypted file; if the underground pipeline data to be uploaded is underground pipeline data in osgb format, hash calculation is performed on the underground pipeline data to be uploaded to obtain a hash value; A data uploading unit is used to upload the encrypted file or the hash value to the blockchain corresponding to the blockchain interface through the blockchain interface, and return block information.

8. The underground pipeline data sharing system based on blockchain according to claim 6 is characterized in that: The data query module specifically includes: A data input unit, used to input the instruction to be queried and the block information into the blockchain; A data query unit, configured to perform data query on the blockchain according to the instruction to be queried and the block information, and return the on-chain data; The second judgment unit is used to judge whether there is underground pipeline data to be queried in the chain data; if there is the underground pipeline data to be queried, the underground pipeline data to be queried is displayed; if there is no underground pipeline data to be queried, the process ends.

9. The underground pipeline data sharing system based on blockchain according to claim 6 is characterized in that: The directory creation information includes: resource directory name, resource target code, resource directory and resource directory description.

10. A processor for running a computer program, wherein: When the computer program is running, the blockchain-based underground pipeline data sharing method described in any one of claims 1 to 5 is executed.