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

Patricia tree rapid lookup method

A query method and fast technology, applied in special data processing applications, instruments, electrical and digital data processing, etc., can solve problems such as waste, and achieve the effects of improving effective utilization, reducing the number of memory accesses, and improving memory space utilization.

Active Publication Date: 2008-08-13
ZTE CORP
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] It can be seen that 256-51=205 bits are wasted in a memory access, and the effective utilization rate of the corresponding memory access content is 20%.

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
  • Patricia tree rapid lookup method
  • Patricia tree rapid lookup method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Patricia tree fast search method of the present invention as shown in Figure 2, comprises the following steps:

[0040] Step 201: Divide the Patricia tree into one or more subtrees according to the depth of the tree;

[0041] If the subtree is divided with a depth of 3, when the depth of the Patricia tree is 3, there is only one subtree according to the method of the present invention, and when the depth of the Patricia tree is greater than 3, multiple subtrees can be divided.

[0042] Step 202: Compress all node information of each subtree into a compressed tree structure;

[0043] In order to obtain node information faster, the above compressed tree structure is stored in a continuous memory block; the specific compressed tree structure will be described in detail below.

[0044]Step 203: Obtain all the information of a certain subtree in one memory read through the high-bandwidth access of the processor and the memory, thereby improving the search performance of the...

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 present invention provides a method of Patricia tree rapid inquiry, including following steps: (a) dividing Patricia tree into one or more subtrees according to depth of tree; (b) compressing all node information of each subtree to a compressing tree structure; (c) accessing high bandwidth of the EMS memory via the processor, acquiring all information of a subtree by reading once memory, the method of Patricia tree rapid inquiry can reduce times of smart memory access of Patricia inquiry tree computing and improve finding efficiency.

Description

technical field [0001] The invention relates to the field of embedded systems, in particular to a Patricia tree fast search method. Background technique [0002] In the method of tree search, binary search tree is a frequently used data structure and algorithm. With the appropriate data structure, the binary search tree can provide fast operation performance on average for various symbol table operations such as search, insertion, selection and sorting. Binary search trees are also suitable for masked entries, variable-length entries, and longest matches, especially for literal entries or entries containing literals. From the search process of the binary search tree, it can be seen that the search performance of the binary search tree depends on its depth. However, since the binary search tree is formed by inserting one by one during the search process, its depth depends on the order in which the keywords are inserted. , the running time of the binary search tree algorithm...

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): G06F17/30
Inventor 尹旺中
Owner ZTE CORP
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