Unlock instant, AI-driven research and patent intelligence for your innovation.

Tcam-based policy configuration method, message processing method and corresponding device

A technology for policy configuration and packet processing, applied in the communication field, can solve problems such as increased cost and waste of TCAM resources, and achieve the effects of improving ACL specifications, saving TCAM resources, and reducing usage costs

Inactive Publication Date: 2017-12-15
平湖新纳通信技术股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the embodiments of the present invention is to provide a TCAM-based policy configuration method, message processing method and corresponding device, which are used to solve the waste of TCAM resources and cost increase caused by repeated delivery of the same policy in the prior art The problem

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
  • Tcam-based policy configuration method, message processing method and corresponding device
  • Tcam-based policy configuration method, message processing method and corresponding device
  • Tcam-based policy configuration method, message processing method and corresponding device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0036] figure 1 is a schematic flowchart of a TCAM-based policy configuration method according to an embodiment of the present invention, refer to figure 1 , the method includes:

[0037] 100: Analyze the policy delivered in the current direction of the first interface to generate an action table, and determine that the policy has been delivered in the second interface or in other directions of the first interface.

[0038] Optionally, in an implementation manner...

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 embodiment of the invention discloses a policy configuration method based on the tri-state content addressable memory TCAM, and the embodiment of the invention also discloses a policy configuration device based on the TCAM. The method includes: parsing the policy sent in the current direction of the first interface to generate an action table, determining that the policy has been sent in the second interface or other directions of the first interface; The rule group index corresponding to the policy delivered in the other direction of the interface, and save the rule group index in the interface entry of the first interface, wherein the rule group associated with the rule group index is stored in the TCAM ; Save the action table index in the interface entry of the first interface, the action table index is associated with the action table, so that when the data flow in the current direction of the first interface hits the rule under the policy, according to the The action table index identifies the action table to be queried. By adopting the invention, TCAM resources can be saved and TCAM costs can be reduced.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a policy configuration method based on a tri-state content addressable memory TCAM, a message processing method and a corresponding device. Background technique [0002] Tri-state content addressable memory (ternary content addressable memory, TCAM) is mainly used to quickly look up access control list (access control list, ACL), routing and other entries. TCAM can perform both exact matching search and fuzzy matching search. It has the advantages of fast search speed and simple operation, but it also has obvious disadvantages: high cost. [0003] Take the use of TCAM technology to search for ACLs as an example. The current ACL policy is implemented based on interfaces. Users use modular QoS commands (modular QoS command, MQC) to configure policies according to requirements and send them to the specified interface to process packets passing through the interface. deal wit...

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): H04L12/741H04L45/74
Inventor 顾振林
Owner 平湖新纳通信技术股份有限公司