Unified storage method for key value model, document model and graph model data

A document model and graph model technology, applied in the field of big data, can solve the problems of low query access efficiency, high consistency management cost, complicated secondary development, etc.

Active Publication Date: 2020-11-27
BEIJING INST OF COMP TECH & APPL +2
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The data of each model is stored in a physically independent database system. When it comes to big data applications involving multiple models, there are high cos

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
  • Unified storage method for key value model, document model and graph model data
  • Unified storage method for key value model, document model and graph model data
  • Unified storage method for key value model, document model and graph model data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0027] figure 1 Shown is a schematic diagram of the unified storage architecture, such as figure 1 As shown, in order to support the unified storage of multiple models, the present invention designs a data organization structure to realize a unified data model and support the model expression of key-value model, document model and graph model data. The logical structure of unified data expression is a hierarchical structure including Database, Class, Cluster and Record. Among them, the database is the interface for accessing the actual storage, which supports the unified management of multiple data models; the class is equivalent to the collection of tables or document data models in the relational model, and can be u...

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 relates to a unified storage method for key value model, document model and graph model data, which comprises the following steps of: establishing mapping from a key value model to a document model and mapping from a graph model to a document model by utilizing the description capability of the document model to the data. Unified storage of the key value model and the document modelcomprises the steps that Class is designed, and records of the document model are stored in a common table after the Class is instantiated; the unified storage method of the graph model and the document model comprises the steps that a Vector class and an Edge class are designed, records of the document model are stored in a vertex table obtained after instantiation of the Vector class, and records of the document model are stored in a side table obtained after instantiation of the Edge class. Unified storage of a key value model, a graph model and a document model includes: storing key valuemodels, graph models and document models in a unified manner; wherein the Vector subclass and the Edge subclass are inheritance relationships with the parent Class; wherein the Class supports a key value model and a document model, the Vector class and the Edge class support vertexes and edges, and the vertexes and the edges instantiated by the Vector class and the Edge class can be used for storing data of the key value model, the document model and the graph model at the same time.

Description

technical field [0001] The invention relates to big data technology, in particular to a unified storage method for key-value model, document model and graph model data. Background technique [0002] With the continuous development of big data applications, databases have evolved from traditional relational databases (RDMS) to non-relational databases (NoSQL databases). NoSQL databases can be divided into various types according to different data models, including column (Column) database, key-value (Key-Value) database, document (Document) database and graph (Graph) database, etc. Different data models adopt different storage methods, and are suitable for different application scenarios. For example, a relational model is a data model that expresses entities and relationships between entities in the form of a fixed two-dimensional table, and all information is expressed as data values ​​in the relationship. Relational models generally use row-based storage. Relational dat...

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/901
CPCG06F16/901Y02D10/00
Inventor 胡琦王冲滕海周可牛中盈李春花胡占尧赵子路陈树峰洪冯
Owner BEIJING INST OF COMP TECH & APPL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products