Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for realizing stream filtration

A technology of purpose and identification value, applied in the field of data communication, which can solve the problems of wasting microcode space and occupying NP resources.

Inactive Publication Date: 2015-06-03
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This actually wastes NP microcode space and takes up valuable NP resources

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
  • Method and device for realizing stream filtration
  • Method and device for realizing stream filtration
  • Method and device for realizing stream filtration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The main technical solution of the present invention is to provide a method and device for realizing flow filtering. The method and device combine rate limiting and discarding into one, compress ACL entry space, and achieve the purpose of saving NP microcode space.

[0047] refer to figure 2, propose a method for implementing stream filtering according to an embodiment of the present invention, including:

[0048] Step 201, matching the packet received by the network device with the ACL, and obtaining the speed limit identification value of the matching ACE;

[0049] Step 202, choose to allow the packet to pass through, discard, or perform a rate-limiting operation according to the rate-limiting identifier value.

[0050] Wherein, step 202 adopts a double-rate three-color marking algorithm to allow passage, discard or speed-limit operations on the message according to the speed-limit identification value, including:

[0051] When the speed limit flag value is 0, PIR / ...

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 invention discloses a method and a device for realizing stream filtration. The method comprises the following steps of: matching a message received by network equipment with an access control list to acquire a speed limit identification value matched with rules of the access control list; and executing the operation of allowing the message to pass, discarding the message or limiting the speed of the message according to the speed limit identification value, wherein a dual-rate triple-color marker algorithm is adopted in the step of executing the operation of allowing the message to pass, discarding the message or limiting the speed of the message according to the speed limit identification value, and the step specifically comprises the following steps of: when the speed limit identification value is equal to 0, setting a peak information rate / committed information rate / committed burst size / peak burst size (PIR / CIR / CBS / PBS) to be maximum, and allowing the message to pass; when the speed limit identification value is equal to 1, setting the PIR / CIR / CBS / PBS to be 0, and discarding the message; and when the speed limit identification value is equal to any value excluding 0 and 1, setting the PIR / CIR / CBS / PBS according to speed-limited traffic, and limiting the speed of the message. The method and the device compress an item space of the access control list by combining the operation of speed limit and discarding into one to fulfill the aim of saving a microcode space of a network processor.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method and device for network processors to realize flow filtering. Background technique [0002] During the operation of network devices such as routers and switches, broadcast storms or network attacks will occur. If a large number of attack packets are sent to the CPU, the CPU will be too busy and the network devices will not work normally. Perform access flow control. [0003] Access Control List (ACL for short) is an access control technology provided by Cisco IOS. It is a list of rules applied to router interfaces. It consists of a series of Access Control Elements (ACE for short). An ACE is a single rule that is used to match specific types of packets. ACL tells routers which packets can be accepted and which packets need to be rejected. ACL uses packet filtering technology to read the third and fourth layers on the router. The information in the packet header, such a...

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/911H04L29/06
Inventor 姜海明孔玲丽李江卫
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products