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

A datalog parallel increment maintaining method based on hierarchical counting

An incremental and data technology, applied in the knowledge base field, can solve problems such as inability to parallelize, achieve the effects of reducing storage costs, improving update efficiency, and reducing impact

Active Publication Date: 2019-06-14
NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to overcome the shortcomings of the traditional incremental maintenance method that cannot be parallelized when dealing with frequent update operations, the present invention provides a datalog parallel incremental maintenance method based on hierarchical counting, which can be based on the incomplete internal extension database. The update information of the extension database can be updated correctly in the extension database, so that the update operation can be processed in parallel, thereby improving the efficiency of incremental maintenance of the extension database

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
  • A datalog parallel increment maintaining method based on hierarchical counting
  • A datalog parallel increment maintaining method based on hierarchical counting
  • A datalog parallel increment maintaining method based on hierarchical counting

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The invention will be described in further detail below in conjunction with the accompanying drawings.

[0031] In order to solve the efficiency problem of the incremental maintenance of the inner extension database in the case of multiple updates, the present invention provides a parallel incremental maintenance algorithm, which processes multiple update operations at the same time. The overall process is as follows figure 1 shown.

[0032] Below in conjunction with accompanying drawing, the patent of the present invention is described in further detail.

[0033] Implementation one

[0034] Such as figure 1 As shown, the hierarchical counting structure is built in the process of instantiating the extended database depending on the datalog rule, and its number of levels is equal to the number of iterations in the instantiation process of the extended database. In the initial state, the amount of data in the extension database is 0, and the number of layers of the cor...

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 provides a datalog parallel increment maintaining method based on hierarchical counting, and belongs to the field of knowledge bases. The method comprises the following steps of firstly,layering an instantiation process of datalog, mapping an iterative datalog calculation process into a designed hierarchical structure, and counting each deduced fact in the hierarchical structure incombination with a counting method. In this way, the recursive datalog calculation is converted into a plurality of non-recursive calculations which are connected in series, the defect that a countingmethod cannot be applied to a recursive program is overcome, and the efficient characteristic of the counting method is reserved. The increment triggered by the updating of the epitaxial database ismaintained, and sequentially each level in the process of a counting method is updated. On the basis, an epitaxial data state sequence is further introduced, a small amount of space is utilized, and the different versions of access to an epitaxial database are provided for parallel operation. The method can process a plurality of updating operations at the same time, and greatly improves the instantiation efficiency of the epitaxial database with frequent dynamic changes.

Description

technical field [0001] The invention discloses a datalog (declarative logic programming language) parallel incremental maintenance method based on hierarchical counting, which belongs to the technical field of knowledge bases. Background technique [0002] Datalog is a declarative language similar to SQL (Structured Query Language) language. Developers only need to care about "what to do" and not "how to do it". This language allows developers to focus more on the task itself without having to consider how to achieve it. And because Datalog has more recursive semantics than SQL and has stronger expressive power, this type of language is widely used in data analysis applications, such as web page ranking, social network computing, and semantic web analysis. In order to improve the query efficiency of datalog, based on the given extension database and datalog rule program, pre-instantiation of the extension database is a common technique. At the same time, the update of the ...

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/23
CPCY02D10/00
Inventor 秦小麟项哲慧高雅
Owner NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
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