Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Knowledge graph storage and verification method based on blockchain and IPFS

A technology of knowledge graph and verification method, which is applied in the field of file encryption and storage, and can solve the problems of incorrect information extraction, unguaranteed file security, and errors in entity linking and knowledge merging process.

Active Publication Date: 2020-05-19
XIAN UNIV OF TECH
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

(4) Cannot be tampered with
For example, the source data of information collection is incorrect; the information extraction is incorrect due to unclear entities and relationships; errors occur in the process of entity linking and knowledge merging, etc.
Moreover, the knowledge graph is generally large in magnitude, and it is difficult to simply trace the data location of the error in the modeling stage.
At the same time, there are also security issues in the process of building knowledge graphs
For example, before the knowledge is updated, the process files of constructing the map are illegally tampered with or lost, so that the security of the files cannot be guaranteed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Knowledge graph storage and verification method based on blockchain and IPFS
  • Knowledge graph storage and verification method based on blockchain and IPFS
  • Knowledge graph storage and verification method based on blockchain and IPFS

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0043] Following the research method of this patent, taking the knowledge map of movie actor information stored in the blockchain as an example, the application process is described in detail as follows: import the data of movies, actors and the relationship between the two into the graph database, and make a movie Knowledge graph of information. Export the knowledge map in the graph database and save it in csv file format. Save the exported csv file to the IPFS node, and obtain the unique file index hash value returned by IPFS: QmeEUSH2K4jeDHQCkDeGH7D2uUxz6HCNE4WTpcLg4iU26Y. At the same time, the obtained csv file is encapsulated into a multi-hash value through hash encryption and converted through Base58 encoding to form a file hash value and keep it in the local database. Compare the file hash value with the file index hash value, and if they are equal, store the file index hash value in the blockchain. Taking the consortium blockchain Hyperledger Fabric as an example, wr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a knowledge graph storage and verification method based on a blockchain and an IPFS. The method specifically comprises the steps that firstly, a process file of the knowledge graph is exported from a graph database, a file hash value is calculated, the process file is stored in an IPFS inter-satellite file system, a file index hash value returned by the IPFS is compared with the previously calculated hash value, and if the file index hash value is equal to the previously calculated hash value, the file index hash value is stored in a block chain, and safety of the process file is guaranteed. The file index hash value is stored into the blockchain through processes of data packaging, signing, block packaging, block broadcasting and the like, querying the file index hash value in the blockchain, comparing the file index hash value with a file index hash value obtained from an IPFS before, if the file index hash value is the same as the file index hash value, entering a file processing module, and otherwise, entering a file warning module. Through combination of the blockchain and the IPFS, reliable and rapid storage of the knowledge graph can be realized, andthe security and traceability of knowledge graph process files are ensured.

Description

technical field [0001] The invention belongs to the technical field of file encryption storage, and in particular relates to a knowledge map storage and verification method based on blockchain and IPFS. Background technique [0002] With the development and application of artificial intelligence technology, knowledge graph has become an important branch of artificial intelligence, and the successful application of knowledge engineering in big data environment. Knowledge graph is a knowledge base that represents concepts and entities in the objective world and the relationship between them in the form of graphs. It is one of the basic technologies for intelligent services such as semantic search, intelligent question answering, and decision support. The knowledge graph aims to identify, discover and infer the complex relationship between things and concepts from data, and is a computable model of the relationship between things. The construction of knowledge graph involves k...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/13G06F16/182G06F16/27G06F21/60G06F21/62
CPCG06F16/137G06F16/182G06F16/27G06F21/602G06F21/6218G06F2221/2107Y02D10/00
Inventor 黑新宏尹欣悦王一川谢国朱赫田钰滢马冰朱磊杜延宁姬文江宋昕
Owner XIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products