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

Quick sorting and searching device for high-capacity lookup table and method for implementing quick sorting and searching device

A technology of quick sorting and lookup table, applied in the field of keyword search, can solve the problem of taking too much time and wasting beats, and achieve the effect of high search efficiency, reduced sorting time and fast speed

Active Publication Date: 2012-09-12
UTSTARCOM TELECOM CO LTD
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The binary search method, because it takes time to compare data and calculate addresses, there is a waste of beats in the search process
[0006] The commonly used method for label search is to store the label in multiple RAMs for parallel search, and search for each table entry in increments of addresses, but for the case of a large number of labels, this search method consumes too much time

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
  • Quick sorting and searching device for high-capacity lookup table and method for implementing quick sorting and searching device
  • Quick sorting and searching device for high-capacity lookup table and method for implementing quick sorting and searching device
  • Quick sorting and searching device for high-capacity lookup table and method for implementing quick sorting and searching device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described below with reference to the accompanying drawings.

[0043] like figure 1 As shown, the four-stage partition search device of the present invention includes a label search module, a sorting module, a pre-sorting module, a control module, a look-up table, and a redundancy check module. The sorting module is respectively connected with the pre-sorting module, the control module and the look-up table, and the label search module is connected with the sorting module and the look-up table.

[0044] The pre-sorting module receives the CPU configuration data, pre-sorts the CPU configuration data, sorts it in ascending order of tags, and maintains a pre-sort table;

[0045] The control module controls the sorting module to perform sorting operations according to the received CPU instructions;

[0046] The sorting module includes an adding sorting module and a deleting sorting module, wherein the adding sorting module performs in...

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 discloses a quick sorting and searching device for a high-capacity lookup table and a method for implementing the quick sorting and searching device. The quick sorting and searching device is provided with a pre-sorting module, a control module, a tag searching module and a sorting module. Searching matches with sorting, the priority of searching is higher than that of sorting, sorting can be interrupted to start searching while sorting is carried out when searching is not required, and a searching result cannot be affected by interrupted sorting operation. Besides, addition sorting operation and deletion sorting operation are carried out by a method based on pre-sorting, a streamline four-section partitioned searching method is used for searching tags, utilization efficiency of a cycle is improved, and searching efficiency and speed are high. In addition, the quick sorting and searching device and the method not only can be used for searching the tags, but also can be used for searching other optional keywords.

Description

technical field [0001] The invention relates to the technical field of keyword search, in particular to a quick sorting and searching device for a large-capacity look-up table and an implementation method thereof. Background technique [0002] PW (Pseudo-Wire) labels are used for point-to-point connections between edge router pairs. In the design of an FPGA (Field Programmable Gate Array), the PW label configured by the CPU and the channel ID corresponding to the label are stored in a lookup table. [0003] Traditional one-to-one search method: For a given value x, start the comparison from the first address of the lookup table, if they are equal, the match is successful and the search ends. If they are not equal, continue to compare with the next address data until the match is successful. This method is simple to implement and consumes less logic resources, but although the one-to-one search method is simple to implement, for a depth of 2 n lookup table for up to 2 n t...

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 UTSTARCOM TELECOM 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