Data stream processing method and device, electronic equipment and storage medium

A processing method and data flow technology, applied in the field of communication, can solve problems such as affecting the normal use of mouse flow and resource exhaustion.

Inactive Publication Date: 2020-08-11
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The situation that the elephant flow affects the mouse flow also occurs between two different types of packets. When the two packets are in the same priority queue, the elephant flow will eat up the main resources of the queue, especially when When there are multiple elephant streams, the resources of the queue may be exhausted, which affects the normal use of the mouse stream

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
  • Data stream processing method and device, electronic equipment and storage medium
  • Data stream processing method and device, electronic equipment and storage medium
  • Data stream processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0070] Because the CPU protection policy in the prior art directly performs flow control and priority processing on various messages sent to the switch CPU for processing, the switching chip limits the rate of sending CPU messages, resulting in a large rate of message traffic sent to the CPU (also called large Elephant flow) affects the messa...

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 provides a data stream processing method and device, electronic equipment and a storage medium. The method comprises the following steps: detecting whether a message flow sent to a central processing unit has a high-rate flow or not; if the large-rate flow exists, calculating the proportion of the message flow corresponding to various message header information in the large-rate flow in the large-rate flow; if the proportion of the message flow corresponding to the first message header information is greater than a first preset threshold, installing a hardware speed limiting entry for the message flow corresponding to the first message header information, and limiting the speed of the message flow. According to the data flow processing method provided by theembodiment of the invention, the generation of the elephant flow in the message flow sent to the CPU is detected, the message header information of the elephant flow is analyzed, the message with more bandwidth occupied by the elephant flow is dynamically suppressed, the elephant flow is prevented from influencing the mouse flow sent to the CPU, and the CPU resources of the switch are reasonablyand fully utilized.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular to a data stream processing method, device, electronic equipment, and storage medium. Background technique [0002] In the network environment, various attack packets are propagated on the network, causing the CPU utilization of the switch to be too high, affecting the operation of the protocol, and even failing to manage the switch. figure 1 It is a schematic diagram of switch business and attack, such as figure 1 As shown, the switch CPU needs to process three types of messages: routing plane, for routing services, such as Address Resolution Protocol (Address Resolution Protocol, ARP) message; management plane, for management switch services, such as remote terminal protocol Telnet message; protocol plane A packet serves for protocol operation, such as an Open Shortest Path First (Open Shortest Path First, OSPF) packet. When there is an attacke...

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/26H04L12/801H04L12/851G06F9/50
CPCG06F9/5027H04L43/0894H04L43/16H04L47/10H04L47/24
Inventor 曹力仁
Owner BEIJING XINWANG RUIJIE NETWORK 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