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

Filtering matching preprocessing method supporting dynamic extended frame head and device

A frame header extension and dynamic extension technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as the impossibility to correctly filter the content of the TCP frame header, and the uncertainty of the offset position.

Active Publication Date: 2013-11-20
FENGHUO COMM SCI & TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Obviously, in the above cases, the offset position of the TCP frame header relative to the first byte of the IPv6 frame header or the first byte of the Ethernet frame header is uncertain. If the traditional fixed offset is used to locate keywords, it is obviously impossible to correctly filter the content of the TCP frame header

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
  • Filtering matching preprocessing method supporting dynamic extended frame head and device
  • Filtering matching preprocessing method supporting dynamic extended frame head and device
  • Filtering matching preprocessing method supporting dynamic extended frame head and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0031] For the convenience of description and operation, first establish the mask rules required for preprocessing, including:

[0032] The network protocol layer (Layer) where the offset starting point is located, integer type, occupying 2 bits;

[0033] Relative offset starting point type (Type), integer type, occupying 8 bits;

[0034] Relative offset (Offset), integer type, occupying 8 bits;

[0035] Mask: integer type, occupying 32 bits;

[0036] Keyword: integer type, occupying 32 bits.

[0037] For the keyword mask entry field in the embodiment of the present invention, see image 3 As shown, wherein, the network protocol layer (Layer) where the offset starting point is located and the starting point type (Type) of the relative offset are established according to one of the following four situations:

[0038] Case a: Layer=0, the s...

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 filtering matching preprocessing method supporting a dynamic extended frame head and a device. The method comprises the following steps of: starting scanning from a data packet link layer, extracting contents of a specified position on the frame head of the data packet link layer according to an offset specified by a mask of which the start point serves as the frame head of the link layer, and comparing with the mask to obtain keywords; positioning the start position of an IP (Internet Protocol) basic frame head according to a link layer load type field in a data packet; positioning the position of an IP extended frame head according to the version number of an IP frame, the length of the frame head and an extended frame head type field; extracting contents of a specified position on the basic frame head or the extended frame head according to an offset specified by a mask of which the start point serves as a corresponding IP basic frame head or extended frame head, and comparing with the mask to obtain keywords; and finishing scanning, and transmitting the extracted keywords to a filter for rule matching. According to the method and the device, the positions of all links, the IP fixed frame head and the extended frame head in the data packet can be identified, and the contents of a TCP (Transmission Control Protocol) / UDP (User Datagram Protocol) frame head are filtered correctly.

Description

technical field [0001] The invention relates to the field of filtering Ethernet and its high-level protocol data packets, in particular to a filter matching preprocessing method and device supporting dynamic extension of frame headers. Background technique [0002] With the increasing requirements of the interconnection network for the processing capability of the main carrier Ethernet equipment, the new Ethernet switch must be able to provide the processing capability of layers 2 to 7 in addition to simple data forwarding, which requires a stronger Reprioritization capability. All of these require Ethernet switching or interface chips to provide functions of data packet filtering and classification processing from layer 2 to layer 7. Therefore, there is a need for fast packet filtering processors that provide high speed and stronger processing capabilities for switches. [0003] In the packet matching filter in the current switching chip and Ethernet interface chip, the l...

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): H04L29/06H04L12/70H04L45/74
Inventor 徐宁李松
Owner FENGHUO COMM SCI & TECH CO LTD