Control method and control device of cache resource of shared cache type Ethernet switch

A technology of resource control and shared cache, applied in the field of communication, can solve the problems of switches being vulnerable to attacks, data packets cannot be protected, and data packets cannot be effectively scheduled, so as to avoid attacks, ensure effective scheduling, and control the network. The effect of congestion

Active Publication Date: 2013-04-03
FENGHUO COMM SCI & TECH CO LTD
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Faced with the exhaustion of cache resources, some switches will reserve some cache resources for key data packets, such as Spanning Tree Protocol packets and BGP (Border Gateway Protocol, Border Gateway Protocol, used to connect independent systems on the Internet) Routing protocol control packets such as routing protocols), but normal data packets to be forwarded cannot be protected, switches are vulnerable to attacks, and normal data packets cannot be effectively scheduled

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
  • Control method and control device of cache resource of shared cache type Ethernet switch
  • Control method and control device of cache resource of shared cache type Ethernet switch
  • Control method and control device of cache resource of shared cache type Ethernet switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0056] see image 3 As shown, the embodiment of the present invention provides a cache resource control method of a shared cache Ethernet switch, also called FBMP (Flow Based Memory Protection mechanism, flow-based cache protection strategy) algorithm, including the following steps:

[0057] S1. When the shared cache management unit (the physical port of the shared cache Ethernet switch) receives the data packet, it performs hash calculation according to the specific content of the data packet to obtain the flow index of the data packet, and the flow index is used to retrieve the data flow array Use, the data flow array is used to record the cache occupancy of each flow, the credit value, whether the flow is an active flow, and the queue number that the flow is called; when each flow is initialized, the current credit value obtains th...

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 control method and a control device of a cache resource of a shared cache type Ethernet switch, and relates to the communication field. The method includes following steps: receiving a data package and simultaneously performing hash calculation, then obtaining a flow index of the data package, and retrieving a data flow array according to the flow index to obtain flow information; retrieving a queue array according to a queue index to obtain the length of a current queue and a flow number of the queue; updating a used cache variable value of the flow information according to the length of the data package; carrying out different judging treatments of different flow behaviors according to a comparative result of an occupied cache value and a current credit value of the flow information with an average cache value, an attack flow credit threshold value, an attack flow cache value of a system; and updating the used cache value, the current credit value, an active flow count of the queue, the length of the queue in the flow information after forwarding the data package. The control method and the control device of the cache resource of the shared cache type Ethernet switch can respond timely according to a current use condition of the cache, discover an attack behavior rapidly, prevent the attack behavior from consuming the cache resources, and control network congestion effectively.

Description

technical field [0001] The invention relates to the communication field, in particular to a buffer resource control method and device for a shared buffer Ethernet switch. Background technique [0002] With the release of 40G and 100G Ethernet standards, Ethernet switches are more and more widely used, and buffer management of switches becomes more and more important. As the network transmission rate increases, the cache of the switch may be rapidly consumed by malicious attack traffic. The cache resources of the current Ethernet switch are limited, so the research on the protection strategy of the switch cache has become an important research topic. Buffer management is one of the most pressing and challenging problems in today's network devices. Without proper buffer management, when the network or even a small part of the network reaches saturation, the network throughput will drop sharply, and the packet delay will rise sharply due to the large number of out-of-order pa...

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 Applications(China)
IPC IPC(8): H04L12/861
Inventor 罗婷汪学舜
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products