Dynamic database design method and system of tree structure

A tree structure and design method technology, applied in the database field, can solve the problems of increasing the workload of upper-level application development, relational databases can't meet the needs of recording and processing tree structure data, and occupying database resources, etc., so as to reduce secondary Calculation amount, reduce development cost and complexity, and improve storage efficiency

Pending Publication Date: 2020-08-07
NINGBO BINCUBE TECH
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At the same time, as the functions of upper-layer applications continue to expand, the number of read and write operations on the database is also increasing. While implementing functions, the upper-layer applications also need to calculate the data in the database, which not only increases the work of upper-layer application development Frequent data read and write operations also take up a lot of resources in the database
[0005] In view of the fact that relational databases cannot well meet the needs of recording and processing tree-structured data, there is an urgent need for a system that can not only record tree-structured data well, but also meet the characteristics of wide application range, fast design and implementation, and low development cost. dynamic 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
  • Dynamic database design method and system of tree structure
  • Dynamic database design method and system of tree structure
  • Dynamic database design method and system of tree structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0037] Embodiments of the present invention provide a tree-structured dynamic database design method and system, which inherently supports direct storage and processing of tree-shaped data, and tree-shaped dynamic changes between tree-shaped nodes, ensuring data consistency, relevance and Correctness, there is no need to write a large amount of logic codes through the upper-level software to ensure data consistency and correctness, which greatly reduces ...

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 the field of databases, and discloses a dynamic database design method and system of a tree structure. The design method comprises the steps of establishing data nodes and setting a data structure; establishing an inspection node, and setting a logic rule; establishing tree-shaped association between the data nodes and the inspection nodes, and constructing a tree-shaped structure; and when the data of the data nodes changes, performing data processing by the associated check nodes, and dynamically updating the data by the associated data nodes. Data consistency and correctness are guaranteed through data dynamic updating, secondary calculation and redundant data reading and writing of upper-layer applications are greatly reduced, and the system development amount,complexity and database reading and writing loads are greatly reduced. The system comprises a data node, a check node, a transmission channel and a configuration module. The database system can directly store and process the data of the tree structure, does not need to establish a plurality of tables and a mutual tree structure relation table by using a general database, and has the characteristics of wide application range, quick design implementation, low development cost and the like.

Description

technical field [0001] The invention relates to the field of databases, in particular to a tree-structured dynamic database design method and system. Background technique [0002] In daily life and work, tree-like data with hierarchical relationships has been widely used, such as structured data for library management, structured data for organizational management, etc. The hierarchical relationship is usually represented by a tree structure, where each node represents a piece of data, and the lines represent the relationship between data. In database system design, tree structure is an important form of information, and all prototypes with hierarchical relationships can be described by trees. [0003] At present, the databases that provide data storage services for companies are usually relational databases, and the way of storing data is tables. In order to record tree-structured data in relational databases, foreign key fields are usually added to tables. However, this...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/21G06F16/22G06F16/23
CPCY02D10/00
Inventor 沃天斌彭书浙王旭卫鸿涛
Owner NINGBO BINCUBE TECH
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