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

Method and device for table entry lookup

A table item and device technology, applied in the field of search algorithm, can solve the problems of large area and slow speed of binary search method, and achieve the effect of reducing storage resources, reducing the number of searches, and improving the search speed

Active Publication Date: 2022-07-01
杭州迪普信息技术有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiments of the present disclosure provide a method and device for table item search, to solve the problem that the direct search method has a large area and the binary search method is slow when searching in an FPGA chip

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
  • Method and device for table entry lookup
  • Method and device for table entry lookup
  • Method and device for table entry lookup

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numerals in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this specification. Rather, they are merely examples of apparatus and methods consistent with some aspects of this specification as recited in the appended claims.

[0027] The terms used in this specification are for the purpose of describing particular embodiments only and are not intended to limit the specification. As used in this specification and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and / or" as ...

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 disclosure provides a method and device for table entry search, wherein the method is applied to search for a target value corresponding to a keyword in an FPGA chip, including: acquiring a keyword; searching a first table stored in the FPGA chip corresponding to a first index The first group number and the first group validity identifier, the first table is used to store the group number of the large group to which the value corresponding to each keyword belongs and the group validity identifier of the large group, and the first index is determined by the first part of the keyword. Obtain; if the first identification is effective, then look up the table entry corresponding to the second index in the second table stored in the FPGA chip, each table entry is used to store the numerical value, and each group validity is marked as an effective large group including multiple A table entry, the second index is obtained from the second part of the keyword and the first group number; the target value is determined according to the value in the table entry. The technical solution provided by the present disclosure reduces the number of searches, improves the search speed, and achieves balanced optimization of area and speed.

Description

technical field [0001] The present disclosure relates to the technical field of search algorithms, and in particular, to a method and device for table entry search. Background technique [0002] Area and speed are eternal topics in FPGA (Field Programmable Gate Array, Field Programmable Gate Array) design. How to deal with the balance between area and speed is very important in FPGA design. On the one hand, to increase the processing speed, more resources need to be consumed, that is, a larger area is required; on the other hand, in order to reduce the area, the processing speed needs to be reduced. When designing a search algorithm based on an FPGA, saving resources as much as possible and increasing processing speed have become the top priorities. [0003] In practical applications, when transmitting packets, the number of packets of a certain type in each flow will be processed after reaching the threshold N. The corresponding threshold N needs to be configured according...

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 Patents(China)
IPC IPC(8): H04L45/745
CPCH04L45/745
Inventor 闫伟
Owner 杭州迪普信息技术有限公司
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