Data storing method and device, and data seeking, adding and deleting method

A data storage device and data search technology, applied in the field of data processing, can solve problems such as affecting data storage and difficulty in TCAM, and achieve the effect of improving data storage efficiency

Inactive Publication Date: 2007-08-22
HUAWEI TECH CO LTD
View PDF0 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in this construction method, the length of the key will be clearly limited, for example, it cannot exceed 288bit, and for example, the length of the key (SIP+DIP+SPORT+DPORT+protocol) of the IPv6 quintuple reaches 296bit, when TCAM is applied Generally, it is necessary to add some bits before the KEY (4 bits are used to identify the table type in Figure 1) to distinguish different types of entries, so it is difficult for general TCAM to meet this length requirement, which affects the storage of data

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
  • Data storing method and device, and data seeking, adding and deleting method
  • Data storing method and device, and data seeking, adding and deleting method
  • Data storing method and device, and data seeking, adding and deleting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The invention provides a data storage method and device as well as a data search, addition and deletion method, which are used to improve the data storage efficiency of a TCAM table.

[0022] In the following embodiments, the TCAM table entries are used as examples of TCAM table data. It can be understood that other data in the TCAM table can also be used, and the processing flow is similar.

[0023] Wherein, the process of data storage is explained by taking the process of constructing a TCAM table as an example, please refer to Fig. 2, the embodiment process flow of the TCAM table construction method of the present invention comprises:

[0024] 201. Split the entry into several sub-entries;

[0025] The specific splitting steps include:

[0026] Obtain the key length of the current table entry and the entry key length threshold value of the tri-state content addressable memory table;

[0027] Split the current entry and record the key length of each sub-entry;

[0...

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

This invention discloses a data storage method, a device and a data looking up, adding and deleting method to increase the data storage efficiency of TCAM list, in which, the data storage method includes: dividing data into several stages of sub-data according to the length of the data, setting up the corresponding relations among the sub-data, storing the sub-data and the corresponding relations in a three state content addressing storage list. This invented device includes: a splitting unit, a set up unit and a storage and control unit, said splitting unit is used in splitting data into several stages of sub-data based on the length of the data then sending them to the set up unit to set up the corresponding relations among the sub-data, said storage and control unit is used in storing the sub-data and the corresponding relations in a three-state content addressing storage list. This invention also provides an operation method for related TCAM list.

Description

technical field [0001] The present invention relates to the field of data processing, in particular to a data storage method and device in a ternary content addressable memory (TCAM, Ternary Content Addressable Memory) table, and a method for searching, adding and deleting data. Background technique [0002] In communication equipment or security equipment, TCAM is widely used in fast route lookup, access control list (ACL, Access Control List) lookup, flow lookup. TCAM can search according to the input key. If there is a match, TCAM will return the index of the storage location of the key in TCAM, or the content of the entry corresponding to the key. The content of the entry can be freely defined by the user. [0003] The search key length of commercial TCAM is generally limited. For example, the key length is divided into 288bits, 144bits, 72bits, and 36bits. Keys exceeding 288bits cannot be stored in TCAM. [0004] A method for constructing a TCAM table in the prior art ...

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/30H04L12/56
CPCG11C15/00
Inventor 唐锋
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products