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

Frame processing method, apparatus and system

A frame processing and processing module technology, applied in the network field, can solve problems such as high cost, high TCAM width requirements, and large consumption of TCAM resources, so as to save costs, reduce TCAM width requirements, and reduce consumption.

Active Publication Date: 2011-11-16
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the process of implementing the present invention, the inventor found that the prior art has at least the following disadvantages: in the flow classification process, when identifying protocol frames, there are many types of identification domains to be analyzed, and when configuring TCAM entries according to the identification domain information, the TCAM The width requirement is relatively high. When there are many business flows, it will consume a lot of TCAM resources and the cost is very high.

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
  • Frame processing method, apparatus and system
  • Frame processing method, apparatus and system
  • Frame processing method, apparatus and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] see figure 1 , the embodiment of the present invention provides a frame processing method, including:

[0033] 101: Configure the first type of identification domain information in the first type of TCAM, the first type of identification domain information refers to the identification domain information required for identifying protocol frames, usually multiple, and the total of the first type of identification domain information The length determines the width of the first type TCAM. For example, the configured first type of identification field information includes but not limited to: DMAC, SMAC, SIP, DIP, IP_Protocol number, TCP / UDP Port and protocol frame type information, and the width of the first type of TCAM is at least 186 bits.

[0034] Wherein, there may be multiple first-type TCAMs. In this embodiment, one first-type TCAM is allocated for each type of protocol frame, and a corresponding first-type TCAM is configured in each first-type TCAM according to the ...

Embodiment 2

[0052] see figure 2 , the embodiment of the present invention also provides a frame processing method, which distinguishes and processes the same type of protocol frames in different service flows, including:

[0053] 201: Configure the first type of identification domain information in the first type of TCAM.

[0054] Among them, there may be multiple first-type identification field information, and there may be multiple first-type TCAMs, and each TCAM has its own index value, which is the same as that described in Embodiment 1, and will not be repeated here.

[0055] 202: Configure the second-type identification field information and the frame index value in the second-type TCAM.

[0056] Wherein, the second type of identification field information is the same as that described in Embodiment 1, and will not be repeated here. The frame index value refers to the index value set in advance for various types of frames, including the preset index value of the protocol frame an...

Embodiment 3

[0071] see image 3 , the embodiment of the present invention also provides a frame processing device, including:

[0072] The matching module 301 is configured to first match the identification field information in the current frame with the first type of identification field information preconfigured in the first type of TCAM, and the first type of identification field information is the identification required for identifying the protocol frame domain information;

[0073] The service frame processing module 302 is used to identify the current frame as a service frame when the first matching of the matching module 301 is unsuccessful, and combine the identification field information in the service frame with the second type of identification field pre-configured in the second type TCAM information for the second matching, if the second matching is successful, find the corresponding operation information according to the result of the second matching, and perform the corres...

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 method, a device and a system for processing a frame. The method comprises the following steps: carrying out first matching to the identification domain information of a current frame and first type of identification domain information in a first type of TCAM; identifying the current frame to be a service frame if the first matching is not realized; carrying out second matching to identification domain information in the frame and second type of identification domain information in a second type of TCAM; finding out corresponding operation information and executing corresponding operation according to matching results after the second matching is realized; and determining the first type of identification domain information to be identification domain information required for identifying a protocol frame, and the second type of identification domain information to be identification domain information required for operating the service frame. The device comprises a matching module and a service frame processing module. The system comprises an acquisition device and a frame processing device. The invention adopts two types of TCAM to respectively processing the protocol frame and the service frame, thereby reducing the consumption of TCAM resources, and saving the cost.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to a frame processing method, device and system. Background technique [0002] In the network, it is usually necessary to provide corresponding bandwidth, functions and services according to the specific application of the network and customer needs. The flow classification technology of network data can solve this problem very well. The flow classification technology can formulate The corresponding flow classification rules classify and process the frames in the network, and process the frames differently according to different applications and customer requirements. [0003] Flow classification technology usually identifies frames in the network as service frames and protocol frames. Wherein, when identifying a service frame, it is necessary to analyze frame information, including: source port number, VLAN (Virtual Local Area Network, virtual local area network) informat...

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/06
CPCH04L49/00H04L69/22H04L45/00
Inventor 熊艳清
Owner HUAWEI TECH CO LTD
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