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

Sort data storage and split catalog inquiry method based on catalog tree

A technology for classifying catalogs and classifying data, which is applied in the direction of electronic digital data processing, special data processing applications, instruments, etc., can solve the problems of huge information, waste of storage space resources, and uncertain numbers, so as to improve storage efficiency and make management simple and easy line, saving memory resources

Active Publication Date: 2007-05-02
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
View PDF0 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the above-mentioned directory tree actually adopts the data structure of a multi-fork tree, the number of sub-nodes contained in each node in the multi-fork tree will correspond to the number of sub-directories divided by the directory corresponding to the node. Therefore, each The number of sub-nodes contained in a node is uncertain, or unpredictable, which will cause the size of the storage space required by each node on the directory tree to be uncertain, resulting in the allocation of storage space during the data storage process too complicated
Especially when the above storage method is applied to the management of massive data, such as catalog management in e-commerce, and library information management, etc., due to the huge amount of information contained in massive data, each node The number of sub-nodes contained is too large, which will cause the information stored in each node to be too large, which will not only further increase the complexity of the storage space allocation operation, but also cause a waste of storage space resources
[0006] In addition, when the classification relationship of the classification data stored by the multi-fork tree structure directory tree changes, for example, when adding, moving or deleting a certain classification directory, it is also necessary to consider the allocation and recovery of the storage space of the parent node of the classification directory, etc. Problems, making the addition, deletion and movement of categories very complicated

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
  • Sort data storage and split catalog inquiry method based on catalog tree
  • Sort data storage and split catalog inquiry method based on catalog tree
  • Sort data storage and split catalog inquiry method based on catalog tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0042] Considering that the binary tree is a data structure widely used for data search, its generation and node search algorithms are relatively mature, and the convergence speed is fast, so the core idea of ​​the present invention is to use the binary tree structure to store classified data.

[0043] A preferred embodiment of the present invention provides the structure of each node in the binary tree structure directory tree (binary directory tree for short) that is used to store classification data, as shown in Figure 2, each node contains the information used to identify the node The node identifier (ID) corresponding to the classification directory, a child node pointer pointing to the next-level child node of the node, a sibling node pointer point...

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

A method for storing classified data based on catalogue tree includes setting up root node of catalogue tree, making brother node pointer of root node be idle and making data pointer be idle then setting up a new node to let sun node pointer of root node point to set up new node being used to correspond to one grade classification catalogue of classified data, utilizing recursive algorithm to separately set up mapping node to correspond to each grade classification catalogue of classified data. The catalogue querying method based on said catalogue tree is also disclosed.

Description

technical field [0001] The invention relates to the management technology of classified data, in particular to a classification data storage and classification catalog query method based on a directory tree. Background technique [0002] With the explosive growth of current data information and the continuous expansion of computer applications, computers have become an indispensable data management tool in people's lives. No matter data collection, processing, storage, retrieval, etc., operations are inseparable from computers. Therefore, How to store data effectively and quickly and how to quickly retrieve the required data has become the main problem to be solved in current data management. [0003] At present, classification data can usually be stored in a tree structure, and the tree structure storing these classification directories is also called a directory tree. The method for storing classified data using a directory tree includes: first establishing a root node, w...

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): G06F17/30
Inventor 马超
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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