Method for improving hardware message classification rule matching efficiency through software
A message classification and rule technology, applied in the direction of electrical components, special data processing applications, instruments, etc., can solve the problems of poor matching efficiency and achieve high matching efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] The present invention establishes a regular hash table in the system memory through the feature of quick hash table search, and realizes efficient matching of hardware message classification through the hash table.
[0016] The specific plan is as follows:
[0017] (1) Apply for a memory area in the host memory, wherein in this memory area, a part stores rules and a part stores hash tables.
[0018] (2) Generate a hash number for each rule through the interface library, and add the rule to the host rule table and hardware rule table according to the hash number.
[0019] (3) When a rule needs to be added or deleted, the interface function uses the hash function to find the location of the hash number corresponding to the rule, and finds whether there is a conflict. If there is no conflict, directly put the rule into the rule table and the rule conflict chain ; If there is a conflict, add this rule to the head of the linked list where the conflicting chain is located. ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
