CN114124982A - Manuscript file monitoring system and method based on block chain and IPFS - Google Patents

Manuscript file monitoring system and method based on block chain and IPFS Download PDF

Info

Publication number
CN114124982A
CN114124982A CN202111389892.5A CN202111389892A CN114124982A CN 114124982 A CN114124982 A CN 114124982A CN 202111389892 A CN202111389892 A CN 202111389892A CN 114124982 A CN114124982 A CN 114124982A
Authority
CN
China
Prior art keywords
file
manuscript
directory
unique address
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111389892.5A
Other languages
Chinese (zh)
Inventor
张宇聪
姚嘉华
蔡楚煌
魏胜男
刘俊明
高昀
张清
刘雪峰
唐麟雁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SSE INFONET Ltd
Original Assignee
SSE INFONET Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SSE INFONET Ltd filed Critical SSE INFONET Ltd
Priority to CN202111389892.5A priority Critical patent/CN114124982A/en
Publication of CN114124982A publication Critical patent/CN114124982A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to a manuscript file monitoring system and method based on a block chain and an IPFS (Internet protocol multimedia platform). A storage module is used for storing a plurality of projects, wherein the projects comprise a plurality of manuscript files, characteristic values are associated with the manuscript files, and a first directory is associated with the projects; the uploading module is used for the supervised party to upload the manuscript file to the interplanetary file system so as to generate a unique address value according to the manuscript file; the certificate storage module is used for enabling a supervisor to package the file basic information, the file characteristic value and the unique address value according to the first directory and then carry out private key signature to obtain signature data, the signature data are uploaded to the block chain, and the block chain is processed according to the signature data to obtain a certificate storage number; the supervision module is used for enabling a supervisor to select related items in the first directory, acquiring corresponding certificate storing numbers, processing to obtain unique address values related to the manuscript file, further acquiring the corresponding manuscript file in the interplanetary file system, completing authenticity verification of the manuscript file, and achieving on-line efficient supervision of the manuscript file.

Description

Manuscript file monitoring system and method based on block chain and IPFS
Technical Field
The invention relates to the technical field of data security and data sharing, in particular to a manuscript file monitoring system and method based on a block chain and an IPFS.
Background
Blockchains are a term of art in information technology. In essence, the system is a shared database, and the data or information stored in the shared database has the characteristics of 'unforgeability', 'whole-course trace', 'traceability', 'public transparency', 'collective maintenance', and the like. Based on the characteristics, the block chain technology lays a solid 'trust' foundation, creates a reliable 'cooperation' mechanism and has wide application prospect. Further, the blockchain is a combined innovative technology formed by a plurality of technologies such as distributed data storage, intelligent contracts, point-to-point transmission, consensus mechanisms and encryption algorithms, and the core mechanism is a novel computing paradigm and a cooperation mode for creating credit at low cost by using a mathematical principle rather than a third party in an untrusted competitive environment. As a distributed accounting technology commonly maintained by multiple parties, a block chain has the characteristics of openness, tamper resistance, anonymity, decentralization, traceability and the like, changes the trust mechanism of the current whole Internet and application scenes and operation rules of various industries, can greatly expand the breadth and depth of human cooperation, and is considered as a subversive technology capable of causing deep revolution of production relationship.
The chinese name of IPFS is the InterPlanetary File System (abbreviated IPFS), a network transport protocol aimed at creating persistent and distributed storage and shared files. It is a content addressable peer-to-peer hypermedia distribution protocol. IPFS is a distributed file system for storing and accessing files, websites, applications, and data. IPFS adopts a decentralized storage mode, files are automatically backed up and cannot be tampered or lost forever, and the safety and privacy of data are effectively guaranteed. The IPFS adopts distributed multipoint transmission, so that the transmission speed of the IPFS is greatly improved, file data stored on the IPFS can be quickly acquired at any place in the world, and the data can be accessed more quickly and safely. Meanwhile, the IPFS stores data in a hash duplicate removal mode, and under the situation of rapid increase of human data geometric progression, the IPFS greatly reduces the storage cost of the data.
With the continuous development of economy and the continuous progress of the network era, the information and automation of the existing office equipment are basically realized, and the document management mode is also changed greatly. Under the background of the new era, the arrival of the big data era greatly promotes the efficient development of the document management work. How to realize document safety, document sharing and efficient work by means of document information management, a great amount of manpower and material resources are reduced, the overall work efficiency is improved, and a series of challenges are still faced in the document information construction process. In the existing manuscript file supervision process, a supervisor needs to go to a computer where the supervisor stores the manuscript file to check the manuscript file, time and labor are wasted, and the supervision efficiency of the manuscript file is low.
Disclosure of Invention
The invention provides a manuscript file monitoring system and method based on a block chain and an IPFS (Internet protocol file system), which realize the online efficient monitoring of a manuscript file by using the block chain and the IPFS.
In order to achieve the above object, a manuscript file monitoring system based on a block chain and an IPFS is designed, which includes: the storage module is used for storing a plurality of projects, each project comprises a plurality of manuscript files with file basic information, each manuscript file is associated with a characteristic value obtained by processing according to the manuscript files, and a plurality of projects are associated with a first directory; the uploading module is connected with the storage module and used for a monitored party to upload the manuscript file to an interplanetary file system, the interplanetary file system generates a unique address value according to the manuscript file, and the manuscript file and the unique address value are associated one by one;
the certificate storage module is respectively connected with the storage module and the uploading module and is used for enabling the monitored party to carry out private key signature after packaging the file basic information, the characteristic value and the unique address value according to the first directory to obtain signature data and upload the signature data to a block chain, and the block chain is processed according to the signature data to obtain a certificate storage number and stores the certificate storage number; and the supervision module is respectively connected with the storage module, the block chain and the interplanetary file system and is used for the supervisor to select the associated item in the first directory, acquire the corresponding certificate storage number according to the item, acquire the unique address value associated with the manuscript file from the block chain according to the certificate storage number, further acquire the corresponding manuscript file in the interplanetary file system according to the unique address value, and compare the characteristic value obtained by processing the virtual file with the characteristic value obtained by processing the manuscript file to obtain a verification result.
The manuscript file monitoring system based on the block chain and the IPFS further has the following preferable technical scheme:
1. the supervision module comprises:
the acquisition unit is used for acquiring the basic information of the file and the first directory in the block chain according to the certificate storage number;
the construction unit is connected with the acquisition unit and used for constructing a second directory according to the file basic information and the first directory, the second directory comprises a plurality of virtual files, and the virtual files are associated with the manuscript files one by one;
the storage unit is connected with the construction unit and used for storing the association relation between the plurality of virtual files in the second directory and the corresponding manuscript files and the unique address values; the matching unit is connected with the storage unit and used for the supervisor to select a corresponding virtual file in the second directory, acquire a corresponding unique address value according to the virtual file and further acquire the corresponding manuscript file in the interplanetary file system according to the unique address value;
the verification unit is respectively connected with the construction unit and the matching unit and is used for comparing the characteristic value obtained by processing according to the virtual file with the characteristic value obtained by processing according to the manuscript file to obtain a verification result;
the supervision module further comprises:
the preview unit is connected with the verification unit and used for generating a file outer chain according to the unique address when the verification result shows that the characteristic value obtained by processing according to the virtual file is consistent with the characteristic value obtained by processing according to the manuscript file, and the file outer chain is used for obtaining the manuscript file to preview;
the downloading unit is connected with the previewing unit and is used for the supervisor to download the manuscript file from a preset file downloading port according to the file external chain;
and the annotating unit is connected with the previewing unit and is used for annotating the acquired manuscript file by the monitoring party.
2. The supervision system further comprises a network environment configuration module which is respectively connected with the interplanetary file system and the block chain and is used for respectively configuring the network environment of the interplanetary file system and the network environment of the block chain in advance.
Further, the method for supervising the manuscript file supervising system comprises the following steps:
step S1, executed to be, a plurality of items are saved, each of the items includes a plurality of manuscript files having file basic information, each of the manuscript files is associated with a feature value obtained by processing according to the manuscript file, a plurality of the items are associated with a first directory, and the process proceeds to step S2;
step S2, a supervised party uploads the manuscript file to an interplanetary file system, the interplanetary file system generates a unique address value according to the manuscript file, the manuscript file and the unique address value are associated one by one, and the step S3 is proceeded;
step S3, the monitored party packages the file basic information, the characteristic value and the unique address value according to the first directory and signs with a private key to obtain signature data, uploads the signature data to a block chain, the block chain processes the signature data to obtain a certificate storing number and stores the certificate storing number, and the step S4 is entered;
step S4, the administrator selects the associated item in the first directory, and obtains the corresponding certificate storage number according to the item, so as to obtain the unique address value associated with the manuscript file from the blockchain according to the certificate storage number, further obtain the corresponding manuscript file in the interplanetary file system according to the unique address value, and complete the authenticity check on the manuscript file.
The supervision method also has the following preferable technical scheme:
1. step S4 includes:
step S41, obtaining the file basic information and the first directory in the block chain according to the certificate storing number, and proceeding to step S42;
step S42, a second directory is constructed according to the basic file information and the first directory, the second directory comprises a plurality of virtual files, the virtual files are associated with the manuscript files one by one, and the step S43 is proceeded;
step S43, saving the association relationship between the plurality of virtual files in the second directory and the corresponding manuscript files and the unique address values, and proceeding to step S44;
step S44, the supervisor selects the corresponding virtual file in the second directory, and obtains the corresponding manuscript file in the interplanetary file system according to the association relationship between the virtual file, the unique address value and the manuscript file, and then step S45 is proceeded;
step S45, comparing the feature value obtained by processing the virtual file with the feature value obtained by processing the manuscript file to obtain a verification result.
2. Before step S1, the method further includes: and configuring the network environment of the interplanetary file system and the block chain in advance.
Compared with the prior art, the invention has the advantages that:
1. the technical scheme realizes the on-line efficient supervision of the manuscript file and reduces the pressure and workload of the off-line butt joint of the supervisor and the supervised party.
2. According to the technical scheme, the interstellar file system is used, the distributed technology based on the block chain is utilized, the multi-node distributed storage safety of the manuscript file is guaranteed, and the multi-party sharing of the manuscript file is realized.
3. According to the technical scheme, the risk that the supervisor, the supervised party and other third parties maliciously modify the manuscript file is avoided by using a storage mode that the file in the interplanetary file system can not be tampered and never lost, and the safety of the manuscript file is improved.
4. According to the technical scheme, the data certificate storing mode that data in the block chain can not be tampered and can be traced is utilized, the basic information, the characteristic value and the unique address value of the file are bound, the file is signed by a private key of a monitored party and then uploaded to the block chain for certificate storing, and the fact that each uploaded manuscript file can be inquired after the fact is achieved.
5. According to the technical scheme, the storage mode of file sharing in the interplanetary file system is utilized, so that a supervisor only needs to construct a second directory associated with the manuscript files stored in the interplanetary file system, and only reads the files through the file external chain and the file downloading port, and the supervision on the manuscript files is realized without storing any manuscript files locally.
6. According to the technical scheme, file supervision, file annotation, file preview, file downloading and other operations are used as the transaction chain link of the block chain and are disclosed to all supervisors, and meanwhile, the management trace leaving and the falsification prevention are realized by using a verification mode that data in the block chain cannot be falsified, so that the follow-up audit verification is facilitated.
Drawings
FIG. 1 is a schematic diagram of a manuscript document monitoring system according to the present invention;
FIG. 2 is a flowchart of the steps of a manuscript file supervision method according to the present invention;
fig. 3 is a sub-flowchart of the steps of the manuscript file supervision method according to the present invention.
Detailed Description
The present invention is further described below in conjunction with the following drawings, the structure and principle of which will be apparent to those skilled in the art. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention relates to a manuscript file monitoring system based on a block chain and an IPFS (internet protocol file system), as shown in figure 1, comprising:
the storage module 1 is configured to associate each item with a plurality of manuscript files having file basic information, associate each manuscript file with a feature value obtained by processing the manuscript file, and associate a plurality of items with a first directory.
The uploading module 2 is connected with the storage module 1 and is used for a monitored party to upload the manuscript file and the unique address value corresponding to the manuscript file to an interplanetary file system 6, the interplanetary file system 6 generates a unique address value according to the manuscript file, and the manuscript file and the unique address value are associated one by one.
And the certificate storage module 3 is respectively connected with the storage module 1 and the interplanetary file system 6 and is used for enabling a monitored party to carry out private key signature after packaging the basic information, the characteristic value and the unique address value of the file according to the first directory to obtain signature data, uploading the signature data to a block chain 7, and processing the block chain 7 according to the signature data to obtain a certificate storage number and storing the certificate storage number.
And the supervision module 4 is respectively connected with the storage module 1, the block chain 7 and the interplanetary file system 6, and is used for a supervisor to select a related item in the first directory, acquire a corresponding certificate storage number according to the item, acquire a unique address value related to the manuscript file from the block chain according to the certificate storage number, further acquire a corresponding manuscript file in the interplanetary file system 6 according to the unique address value, and complete the authenticity check of the manuscript file.
Specifically, in this embodiment, the storage module 1 may be a physical memory, and further, the physical memory may be a hard disk of a computer. First directories are stored in the storage module 1, each first directory has a plurality of items, and each item includes a plurality of manuscript files. Meanwhile, each of the manuscript files has file basic information. The file basic information includes a file name, a file size, a file attribute, and the like. Further, in this embodiment, MD5 calculation is performed on the manuscript file by using MD5 information digest algorithm to obtain a corresponding feature value.
The supervised party uploads the manuscript file to the interplanetary file system 6 through the uploading module 2, the interplanetary file system 6 generates unique address values which are associated with the manuscript file one by one according to the manuscript file, and the unique address values are used for representing the identity of the manuscript file and have uniqueness. And then the interplanetary file system 6 carries out multi-node distributed storage on the manuscript file and the corresponding unique address value, and the storage safety is effectively improved.
The supervised party stores the certificate through the certificate storage module 3: and the monitored party encapsulates the basic information, the characteristic value and the unique address value of the file according to the directory hierarchical structure of the first directory and stores the basic information, the characteristic value and the unique address value in a JSON format, and the encapsulated data is uploaded to a block chain 7 after being signed by a private key to realize uplink certificate storage. And the block chain 7 processes the signature data according to a Hash algorithm to obtain a certificate storage number and stores the certificate storage number in a database of the block chain 7. According to the technical scheme, the data evidence storing mode that the data cannot be tampered and the evidence can be traced in the block chain 7 is utilized, the basic information, the characteristic value and the unique address value of the file are bound, the file is signed by a private key of a monitored party and then uploaded to the block chain 7 for evidence storing, and the fact that each uploaded manuscript file can be inquired after the fact is achieved.
The supervisor realizes the supervision to the manuscript file through the supervision module 4: the supervisor selects a corresponding item in the first directory of the storage module 1, and then obtains a corresponding certificate storage number from the blockchain 7 according to the associated information (file basic information, feature value and unique address value) of the manuscript file in the item. And then obtaining the corresponding unique address value from the block chain 7 for the certificate-storing number, so as to obtain the corresponding manuscript file from the interplanetary file system 6 according to the incidence relation between the unique address value and the manuscript file, and completing the authenticity check on the manuscript file, thereby realizing the supervision on the manuscript file.
The technical scheme realizes the on-line efficient supervision of the manuscript file and reduces the pressure and workload of the off-line butt joint of the supervisor and the supervised party.
According to the technical scheme, the risk that the supervisor, the supervised party and other third parties maliciously modify the manuscript file is avoided by using the storage mode that the file in the interplanetary file system 6 can not be tampered and never lost, and the safety of the manuscript file is improved.
In a preferred embodiment of the present invention, the supervision module 4 comprises:
an obtaining unit 41, configured to obtain, in the block chain 7, file basic information and a first directory according to the certificate storing number;
the constructing unit 42 is connected to the acquiring unit 41, and is configured to construct a second directory according to the file basic information and the first directory, where the second directory includes a plurality of virtual files, and the virtual files are associated with the manuscript files one by one;
a storage unit 43 connected to the constructing unit 42, configured to store an association relationship between the plurality of virtual files in the second directory and the corresponding manuscript file and unique address value;
the matching unit 44 is connected with the storage unit 43, and is used for the supervisor to select a corresponding virtual file in the second directory, and obtain a corresponding manuscript file in the interplanetary file system 6 according to the association relationship between the virtual file, the unique address value and the manuscript file;
and the verification unit 45 is respectively connected with the construction unit 42 and the matching unit 44, and is used for comparing the characteristic value obtained according to the virtual file processing with the characteristic value obtained according to the manuscript file processing to obtain a verification result.
In this embodiment, the obtaining unit 41 obtains the corresponding basic file information and the first directory from the block chain 7 according to the certificate storing number, and the constructing unit 42 constructs the second directory according to the basic file information and the first directory. Wherein the second directory contains a plurality of virtual files. The supervisor selects the virtual file in the second directory, and obtains the corresponding manuscript file from the interplanetary file system 6 through the matching unit 44 according to the association relationship between the virtual file, the unique address value and the manuscript file, and completes the authenticity check of the manuscript file, thereby realizing the supervision of the manuscript file.
In a preferred embodiment of the present invention, the supervision module 4 further comprises:
and the preview unit 46 is connected to the verification unit 45, and is configured to generate a file outer chain according to the unique address when the verification result indicates that the feature value obtained according to the virtual file processing is consistent with the feature value obtained according to the manuscript file processing, where the file outer chain is used for a supervisor to obtain the manuscript file.
In this embodiment, by setting the verification unit 45, comparison and verification of the characteristic value obtained by processing the virtual file and the characteristic value obtained by processing the manuscript file are realized, and a corresponding verification result is obtained. When the feature value obtained by processing the virtual file is consistent with the feature value obtained by processing the manuscript file, the previewing unit 46 generates an external file link according to the unique address, and the supervisor can obtain the manuscript file through the external file link to preview the file.
Since there may be a deviation when the certification storing module 3 encapsulates the basic information, the characteristic value, and the unique address value of the file, the characteristic value of the certificate stored in the block chain 7 may be inconsistent with the characteristic value calculated from the manuscript file. When the feature value of the certificate stored in the block chain 7 may not be consistent with the feature value calculated from the manuscript file, it indicates that the manuscript file is tampered, and the manuscript file needs to be returned.
In a preferred embodiment of the present invention, the monitoring module 4 further includes a downloading unit 47, and the downloading unit 47 is connected to the previewing unit 46, for the monitoring party to download the manuscript file from a predetermined file downloading port according to the file external link.
In this embodiment, by using the storage mode of file sharing in the interplanetary file system 6, the supervisor can only establish the second directory associated with the manuscript file stored in the interplanetary file system 6, and perform read-only operation on the file through the file external link and the file download port, and locally does not need to store any manuscript file, thereby realizing supervision on the manuscript file.
In a preferred embodiment of the present invention, the monitoring module 4 further includes an annotating unit 48, and the annotating unit 48 is connected to the previewing unit 46, so that the monitoring party can annotate the acquired manuscript file.
In the embodiment, the technical scheme takes file supervision, file annotation, file preview, file downloading and other operations as the transaction uplink of the block chain 7 and discloses all supervisors, and meanwhile, the management trace-keeping and the tampering prevention are realized by utilizing the evidence-storing mode that data in the block chain 7 can not be tampered, so that the follow-up audit verification is facilitated.
In the preferred embodiment of the present invention, further, the present invention further includes a network environment configuration module 5, respectively connected to the interplanetary file system 6 and the blockchain 7, for respectively configuring the network environment of the interplanetary file system 6 and the network environment of the blockchain 7 in advance.
A manuscript file monitoring method based on block chain and IPFS is applied to the manuscript file monitoring system, as shown in fig. 2, and includes:
step S1, storing a plurality of items, each item including a plurality of manuscript files having file basic information, each manuscript file being associated with a feature value obtained according to the manuscript file processing, the plurality of items being associated with a first directory, and proceeding to step S2;
step S2, a supervised party uploads the manuscript file to an interplanetary file system, the interplanetary file system generates a unique address value according to the manuscript file, the manuscript file and the unique address value are associated one by one, and the step S3 is proceeded;
step S3, the monitored party packages the basic information, the characteristic value and the unique address value of the file according to the first directory and signs with a private key to obtain signature data, uploads the signature data to a block chain, the block chain processes the signature data to obtain a certificate-storing number and stores the certificate-storing number, and the step S4 is entered;
step S4, the administrator selects an associated item in the first directory, and obtains a corresponding certificate storage number according to the item, so as to obtain a unique address value associated with the manuscript file from the block chain according to the certificate storage number, further obtain a corresponding manuscript file in the interplanetary file system according to the unique address value, and complete the authenticity check on the manuscript file.
In a preferred embodiment of the present invention, as shown in fig. 3, step S4 includes:
step S41, obtaining the basic information of the file and the first directory in the block chain according to the certificate storing number, and entering step S42;
step S42, a second directory is constructed according to the basic information of the files and the first directory, the second directory comprises a plurality of virtual files, the virtual files are associated with the manuscript files one by one, and the process goes to step S43;
step S43, saving the association relationship between the plurality of virtual files in the second directory and the corresponding manuscript files and unique address values, and proceeding to step S44;
step S44, the supervisor selects the corresponding virtual file in the second directory, and obtains the corresponding manuscript file in the interplanetary file system according to the association relation of the virtual file, the unique address value and the manuscript file, and then step S45 is proceeded;
step S45, comparing the characteristic value obtained by the virtual file processing with the characteristic value obtained by the manuscript file processing to obtain a verification result;
in a preferred embodiment of the present invention, before the step S1, the method further includes:
the network environment of the interplanetary file system and the blockchain is configured in advance.
The above are merely examples of the present invention, and common general knowledge of known specific structures and characteristics in the schemes is not described herein. It should be noted that, for those skilled in the art, without departing from the structure of the present invention, several changes and modifications can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicability of the patent. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.

Claims (9)

1. A manuscript file supervision system based on a block chain and an IPFS (Internet protocol file system), comprising:
the storage module is used for storing a plurality of projects, each project comprises a plurality of manuscript files with file basic information, each manuscript file is associated with a characteristic value obtained by processing according to the manuscript files, and a plurality of projects are associated with a first directory;
the uploading module is connected with the storage module and used for a monitored party to upload the manuscript file to an interplanetary file system, the interplanetary file system generates a unique address value according to the manuscript file, and the manuscript file and the unique address value are associated one by one;
the certificate storage module is respectively connected with the storage module and the uploading module and is used for enabling the monitored party to carry out private key signature after packaging the file basic information, the characteristic value and the unique address value according to the first directory to obtain signature data and upload the signature data to a block chain, and the block chain is processed according to the signature data to obtain a certificate storage number and stores the certificate storage number;
and the supervision module is respectively connected with the storage module, the block chain and the interplanetary file system and is used for the supervisor to select the associated item in the first directory, acquire the corresponding certificate storage number according to the item, acquire the unique address value associated with the manuscript file from the block chain according to the certificate storage number, further acquire the corresponding manuscript file in the interplanetary file system according to the unique address value, and compare the characteristic value obtained by processing the virtual file with the characteristic value obtained by processing the manuscript file to obtain a verification result.
2. The system of claim 1, wherein the supervision module comprises:
the acquisition unit is used for acquiring the basic information of the file and the first directory in the block chain according to the certificate storage number;
the construction unit is connected with the acquisition unit and used for constructing a second directory according to the file basic information and the first directory, the second directory comprises a plurality of virtual files, and the virtual files are associated with the manuscript files one by one;
the storage unit is connected with the construction unit and used for storing the association relation between the plurality of virtual files in the second directory and the corresponding manuscript files and the unique address values;
the matching unit is connected with the storage unit and used for the supervisor to select a corresponding virtual file in the second directory, acquire a corresponding unique address value according to the virtual file and further acquire the corresponding manuscript file in the interplanetary file system according to the unique address value;
and the verification unit is respectively connected with the construction unit and the matching unit and is used for comparing the characteristic value obtained by processing according to the virtual file with the characteristic value obtained by processing according to the manuscript file to obtain a verification result.
3. The system of claim 2, wherein the supervision module further comprises:
and the previewing unit is connected with the verifying unit and used for generating a file outer chain according to the unique address when the verifying result shows that the characteristic value obtained by processing according to the virtual file is consistent with the characteristic value obtained by processing according to the manuscript file, and the file outer chain is used for obtaining the manuscript file to preview.
4. The system according to claim 2 or 3, wherein the monitoring module further comprises a downloading unit, and the downloading unit is connected to the previewing unit and is configured to enable the monitoring party to download the manuscript file from a preset file downloading port according to the out-of-file chain.
5. The system according to claim 2, 3 or 4, wherein the supervision module further includes an annotating unit, and the annotating unit is connected to the preview unit and is configured to allow the supervisor to annotate the acquired manuscript file.
6. The system of claim 1, further comprising a network environment configuration module, respectively connected to the interplanetary file system and the blockchain, for respectively configuring the network environment of the interplanetary file system and the network environment of the blockchain in advance.
7. A method of supervising a document supervision system according to any one of claims 1 to 6, the method comprising the steps of:
step S1, executed to be, a plurality of items are saved, each of the items includes a plurality of manuscript files having file basic information, each of the manuscript files is associated with a feature value obtained by processing according to the manuscript file, a plurality of the items are associated with a first directory, and the process proceeds to step S2;
step S2, a supervised party uploads the manuscript file to an interplanetary file system, the interplanetary file system generates a unique address value according to the manuscript file, the manuscript file and the unique address value are associated one by one, and the step S3 is proceeded;
step S3, the monitored party packages the file basic information, the characteristic value and the unique address value according to the first directory and signs with a private key to obtain signature data, uploads the signature data to a block chain, the block chain processes the signature data to obtain a certificate storing number and stores the certificate storing number, and the step S4 is entered;
step S4, the administrator selects the associated item in the first directory, and obtains the corresponding certificate storage number according to the item, so as to obtain the unique address value associated with the manuscript file from the blockchain according to the certificate storage number, further obtain the corresponding manuscript file in the interplanetary file system according to the unique address value, and complete the authenticity check on the manuscript file.
8. The method for supervising a manuscript file of claim 7, wherein said step S4 comprises:
step S41, obtaining the file basic information and the first directory in the block chain according to the certificate storing number, and proceeding to step S42;
step S42, a second directory is constructed according to the basic file information and the first directory, the second directory comprises a plurality of virtual files, the virtual files are associated with the manuscript files one by one, and the step S43 is proceeded;
step S43, saving the association relationship between the plurality of virtual files in the second directory and the corresponding manuscript files and the unique address values, and proceeding to step S44;
step S44, the supervisor selects the corresponding virtual file in the second directory, and obtains the corresponding manuscript file in the interplanetary file system according to the association relationship between the virtual file, the unique address value and the manuscript file, and then step S45 is proceeded;
step S45, comparing the feature value obtained by processing the virtual file with the feature value obtained by processing the manuscript file to obtain a verification result.
9. The method for supervising a manuscript file of claim 7, wherein said step S1 is preceded by: and configuring the network environment of the interplanetary file system and the block chain in advance.
CN202111389892.5A 2021-11-23 2021-11-23 Manuscript file monitoring system and method based on block chain and IPFS Pending CN114124982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111389892.5A CN114124982A (en) 2021-11-23 2021-11-23 Manuscript file monitoring system and method based on block chain and IPFS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111389892.5A CN114124982A (en) 2021-11-23 2021-11-23 Manuscript file monitoring system and method based on block chain and IPFS

Publications (1)

Publication Number Publication Date
CN114124982A true CN114124982A (en) 2022-03-01

Family

ID=80439684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111389892.5A Pending CN114124982A (en) 2021-11-23 2021-11-23 Manuscript file monitoring system and method based on block chain and IPFS

Country Status (1)

Country Link
CN (1) CN114124982A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468612A (en) * 2021-06-30 2021-10-01 上海特高信息技术有限公司 File auditing system and method based on block chain and IPFS
CN114925401A (en) * 2022-06-14 2022-08-19 北京师范大学 Learning condition recording system and method based on block chain and distributed storage

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102065315B1 (en) * 2019-10-04 2020-01-13 주식회사 도우테크 System and method for keeping and sharing a file based on block chain network
CN112084164A (en) * 2020-09-16 2020-12-15 厦门市美亚柏科信息安全研究所有限公司 Data evidence storing method and system based on block chain and interplanetary file system
KR20210041459A (en) * 2019-10-07 2021-04-15 주식회사 블록체인기술연구소 The encrypted data sharing system based on block chain and IPFS(InterPlanetary File System)
CN112988674A (en) * 2021-03-12 2021-06-18 平安国际智慧城市科技股份有限公司 Method and device for processing big data file, computer equipment and storage medium
CN113360953A (en) * 2021-06-03 2021-09-07 上海和数软件有限公司 File distributed storage management method and system based on IPFS and block chain
CN113468612A (en) * 2021-06-30 2021-10-01 上海特高信息技术有限公司 File auditing system and method based on block chain and IPFS

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102065315B1 (en) * 2019-10-04 2020-01-13 주식회사 도우테크 System and method for keeping and sharing a file based on block chain network
KR20210041459A (en) * 2019-10-07 2021-04-15 주식회사 블록체인기술연구소 The encrypted data sharing system based on block chain and IPFS(InterPlanetary File System)
CN112084164A (en) * 2020-09-16 2020-12-15 厦门市美亚柏科信息安全研究所有限公司 Data evidence storing method and system based on block chain and interplanetary file system
CN112988674A (en) * 2021-03-12 2021-06-18 平安国际智慧城市科技股份有限公司 Method and device for processing big data file, computer equipment and storage medium
CN113360953A (en) * 2021-06-03 2021-09-07 上海和数软件有限公司 File distributed storage management method and system based on IPFS and block chain
CN113468612A (en) * 2021-06-30 2021-10-01 上海特高信息技术有限公司 File auditing system and method based on block chain and IPFS

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468612A (en) * 2021-06-30 2021-10-01 上海特高信息技术有限公司 File auditing system and method based on block chain and IPFS
CN113468612B (en) * 2021-06-30 2023-08-22 上海特高信息技术有限公司 File auditing system and method based on block chain and IPFS
CN114925401A (en) * 2022-06-14 2022-08-19 北京师范大学 Learning condition recording system and method based on block chain and distributed storage

Similar Documents

Publication Publication Date Title
EP3673620B1 (en) Shared blockchain data storage
EP3669280B1 (en) Shared blockchain data storage
Wang et al. Chainsplitter: Towards blockchain-based industrial iot architecture for supporting hierarchical storage
KR102467596B1 (en) Blockchain implementation method and system
CN111801927B (en) Method associated with industrial data verification and system that facilitates industrial data verification
US20210014066A1 (en) Shared blockchain data storage
CN113468612B (en) File auditing system and method based on block chain and IPFS
CN114499895B (en) Data trusted processing method and system fusing trusted computing and block chain
JP2020511018A (en) System and method for generating digital marks
CN108985364B (en) Verification method and device for stamped file, computer equipment and storage medium
CN114124982A (en) Manuscript file monitoring system and method based on block chain and IPFS
CN109815748A (en) A kind of centre data source method for monitoring based on block chain
CN113468599B (en) File certification method, device, system, equipment and storage medium
CN112988674A (en) Method and device for processing big data file, computer equipment and storage medium
IL285588B1 (en) Systems and Methods for Blockchain-Based Secure Storage
CN114880697A (en) Block chain-based data fingerprint generation method and device and storage medium
CN112446046A (en) Data management method and device based on intelligent contract
Huang A blockchain-based framework for secure log storage
CN112347040A (en) File management method, device, storage medium and terminal
Li et al. A secure, reliable and low-cost distributed storage scheme based on blockchain and IPFS for firefighting IoT data
Li et al. Blockchain-based data integrity verification scheme in aiot cloud–edge computing environment
CN115085934A (en) Contract management method based on block chain and combined key and related equipment
Lai et al. A blockchain-based traceability system with efficient search and query
Saxena et al. Collaborative approach for data integrity verification in cloud computing
Gedara et al. Enhancing privacy protection in intelligent surveillance: Video blockchain solutions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220301

RJ01 Rejection of invention patent application after publication