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

Detection processing method for data flow, central processing unit and switch

A technology of a central processing unit and a processing method, which is applied in the field of data exchange, and can solve the problems of aggravating the processing burden of the switch CPU2 and a large amount of calculation

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

AI Technical Summary

Problems solved by technology

For example, when it is necessary to limit the rate of the packet traffic sent to CPU 2 with the same data characteristic information in the network, after the timer expires, CPU 2 needs to limit the traffic of all packets with the same data characteristic information For statistics, the more characteristic information of different data, the greater the amount of information calculated by CPU 2 each time the timer expires; if the time period required for statistics is shorter, the frequency of timer startup will be higher, and the Greatly increase the processing burden of the switch CPU 2

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
  • Detection processing method for data flow, central processing unit and switch
  • Detection processing method for data flow, central processing unit and switch
  • Detection processing method for data flow, central processing unit and switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the detection and processing method of the data stream of the present invention include:

[0030] According to the received current message, obtain the recording time of the previous message having the same data feature information as the current message;

[0031] When the difference between the record time of the previous message and the current record time is less than the predetermined detection period, add 1 to the message count;

[0032] When the value of the packet count plus 1 exceeds the predetermined watermark, corresponding processing operations are performed.

[0033] Detection processing includes speed limit and alarm, etc., which will be described in detail below.

[0034] image 3 It is a flow chart of Embodiment 1 of the detection and processing method of data flow in the present invention. In this embodiment, the detection processing is speed limit, which specifically includes:

[0035] Step 301, according to the received current messag...

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 relates to a detection processing method for data flow, central processing unit and switch. The method includes acquiring the recording time of the front packet having the identical data characteristic information with the current packet, according to the received current packet; adding 1 to the packet counting when the difference between the recording time of the front packet and the current recording time is smaller than a scheduled detecting cycle; and executing corresponding process operations, when the value of packet counting after adding 1 exceeds a prescribed waterline. The central processing unit includes a time acquiring unit, a current time setting unit, a packet counting unit and a detecting processing unit. The switch provided with the central processing unit, limits speed of the data stream received by the switch in real time by counting the time difference between the identical packets, alleviates the detecting process load of the switch CPU and improves the detecting processing efficiency and attack resistance capability of the switch.

Description

technical field [0001] The invention relates to data exchange technology, in particular to a data flow detection and processing method, a central processing unit and a switch. Background technique [0002] At present, the hardware structure of the switch is composed of application specific integrated circuits (Application Specific Integrated Circuits, ASIC) and CPU, such as figure 1 . ASIC chip 1 is used for high-speed forwarding of data packets between different ports such as port P1, port P2, and port Pn. CPU 2 undertakes more complex affairs, such as: management and monitoring of the entire switch; network management tasks and Request processing; and receiving various messages that need to be processed by software from the port, etc. [0003] When the switch forwards a message, it records the forwarded message by extracting data feature information. The data feature information of the message refers to the information extracted from the fields in all the messages, and ...

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/56H04L12/26H04L12/801
Inventor 黄米青
Owner BEIJING XINWANG RUIJIE NETWORK 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