TCAM (Ternary Content Addressable Memory) multi-mode character string matching method and device
The invention relates to a TCAM (Ternary Content Addressable Memory) multi-mode character string matching method and device. The method comprises the steps of: receiving a multi-mode character string and character string configuration information input by a user, and selecting a TCAM with qualified...
Saved in:
Main Authors | , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
23.11.2011
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a TCAM (Ternary Content Addressable Memory) multi-mode character string matching method and device. The method comprises the steps of: receiving a multi-mode character string and character string configuration information input by a user, and selecting a TCAM with qualified TCAM list item width, TCAM capacity and TCAM working frequency according to the multi-mode character string and the character string configuration information; storing the multi-mode character string in the TCAM according to the fact that the value of a position domain and a front mask domain are used for characterizing character string offset and a character ring domain contains mode character ring contents; receiving a to-be-matched character string input by the user, and dividing the to-be-matched character string into a plurality of character fields according to the byte number repeatedly sent each time the matching is performed and the TCAM list item width; sending the character fieldsand the corresponding mat |
---|---|
Bibliography: | Application Number: CN2011192439 |