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

A method for quickly carrying out equivalence partition in packet classification

An equivalence class and flow classification technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as inefficiency and enlargement

Active Publication Date: 2007-05-16
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Using this method is more efficient for the process of searching and positioning, but there is a problem of low efficiency when dividing equivalence classes. All rules must be collected together, and CLASS BITMAP (CBM) (equivalence class bit Figure) to divide the equivalence classes
If the number of rules is huge, the number of BITMAP (bitmap) digits required will also increase accordingly, and a large number of logical "and" and "comparison" work will be required, and the memory will be read and written multiple times, and each time an ACL rule is added / deleted, Both need to be recalculated, which is not suitable for practical applications, which require the rapid generation of equivalence classes to make the rules take effect quickly

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
  • A method for quickly carrying out equivalence partition in packet classification
  • A method for quickly carrying out equivalence partition in packet classification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0031] As shown in Figure 2, the realization flow of generating an equivalence class in the present invention includes the following steps:

[0032] (201) Initialize the chunk domain involved in flow classification, map the range corresponding to the domain to be matched into a set of line segments, the range of the set of line segments is determined by the width of the domain where it is located, and the domain range involved in ACL rule matching All corresponding structures are initialized to LINE[0];

[0033] (202) inputting rules, dividing the rules into multiple domains, and calculating the scope of each domain;

[0034] (203) Starting from the starting line segment of the line segment set corresponding to each domain, compare the line segment range and the rule coverage range, and set the range of the rule to be (Rule_begin, R...

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 disclosed fast equipotent division method in ACL comprises: initiating all structures in matching range as a set with only one line segment, and setting the equivalent ID value of the line segment as the initial value; when adding rule, from the initial line segment of every set, comparing in turn the cover range and line range, and recording or re-allocating equivalent ID value according to comparison result; then, re-allocating the initial values or equivalent ID value with line segment not complete recorded, storing ID values covered by rule, and setting into one on relative position of equivalent bit image. This invention can increase in-effect speed for rule.

Description

technical field [0001] The invention relates to a method for dividing flow classification of packets by a router, in particular to a method for quickly dividing equivalence classes in flow classification. Background technique [0002] In ordinary routers, traffic classification is an important basic function. The setting of traffic classification can be done through ACL (Access Control List). ACLs provide network managers with updated and flexible management methods. ACLs are widely used in packet filtering, NAT (Network Address Translation), QoS (Quality of Service), Policy Routing, uRPF (Unicast Reverse Path Forwarding) and other applications. [0003] Among the ACL matching algorithms implemented by software, the RFC (Recursive Flow Classification) algorithm is widely used and has better performance. As shown in Figure 1, the RFC algorithm constructs multiple equivalent ACL rules by recursively classifying the ACL rule set. Class and multi-level index table, through th...

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
IPC IPC(8): H04L12/56H04L45/02
Inventor 潘建农
Owner ZTE CORP