Database construction method and device based on tree structure and electronic equipment
The invention relates to a database construction method and device based on a tree structure and electronic equipment. The specific scheme is as follows: acquiring target input data; constructing a first tree structure table based on the hierarchical relationship information; constructing a second t...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a database construction method and device based on a tree structure and electronic equipment. The specific scheme is as follows: acquiring target input data; constructing a first tree structure table based on the hierarchical relationship information; constructing a second tree structure table corresponding to the first tree structure table based on the target data; and establishing association between the first tree structure table and the second tree structure table, so that a user looks up the target query data in the second tree structure table based on the first tree structure table. According to the method, the database structure is greatly simplified, and the query efficiency and maintenance efficiency of the database are improved.
本申请关于一种基于树形结构的数据库构建方法、装置及电子设备。具体方案为:获取目标录入数据;基于层级关系信息构建第一树形结构表;基于目标数据构建与第一树形结构表对应的第二树形结构表;构建第一树形结构表的第二树形结构表之间的关联,以使用户基于第一树形结构表查找第二树形结构表中的目标查询数据。本申请从而极大的简化了数据库结构,提高了数据库的查询效率和维护效率。 |
---|