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

Method and device for self-adaptation multi-network-card packet capturing

A multi-network card, self-adaptive technology, applied in the direction of data exchange network, digital transmission system, electrical components, etc., can solve the problems of unable to process data and reduce the utilization rate of host CPU

Inactive Publication Date: 2012-07-04
BEIJING ANTIY NETWORK SAFETY TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current network packet capture can be captured through the network card of a single device or a dedicated packet capture network adapter, but the network packet processing capability of a single device is limited by the data processing capability of the network card. Taking the Intel network card as an example, the current server Network cards are divided into 10 Gigabit, Gigabit and 100 Gigabit network cards. If you want to achieve a higher level of data capture, you need to use a dedicated packet capture network adapter to improve the system’s packet capture performance and reduce the CPU usage of the host. Dedicated packet capture network The adapter is theoretically feasible, but in engineering practice, considering factors such as compatibility with the server and price, it is not widely used
Therefore, there has been a multi-network card packet capture technology. The existing multi-network card packet capture technology can use multiple network cards to improve data processing capabilities, thereby improving the network data transmission capacity of a single device to the greatest extent. However, due to multiple network cards working at the same time, The data transmitted by each network card cannot be processed in time

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
  • Method and device for self-adaptation multi-network-card packet capturing
  • Method and device for self-adaptation multi-network-card packet capturing
  • Method and device for self-adaptation multi-network-card packet capturing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the present invention will be further detailed below in conjunction with the accompanying drawings illustrate.

[0030] The present invention provides an adaptive multi-network card packet capture method and device, which can allocate shared buffers and access data in proportion to the traffic size of each network card while configuring multiple network cards for a single server, ensuring that each network card and shared buffer The data in it can be processed in a timely manner.

[0031] An adaptive multi-network card packet capture method, such as figure 1 As shown, the method includes:

[0032] S101: Initialize the network card, and allocate a shared cache for the network card;

...

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 provides a method for self-adaptation multi-network-card packet capturing. The method includes initializing network cards and distributing sharing caches for the network cards; determining an upper limit of a free queue of each network card; obtaining quantity of network data packets of each network card and determining dynamic adjusting parameters according to the quantity of the network data packets of each network; distributing the sharing caches occupied by each network card and use rate of the free queue according to the dynamic adjusting parameters; enabling the sharing caches to read and store data packet data of each network card simultaneously; and enabling a protocol stack to read the data packet data in the sharing caches. The invention further provides a device for the self-adaptation multi-network-card packet capturing, which comprises an initializing unit, a free queue determining unit, a sharing cache monitoring unit, a first data reading unit and a second data reading unit. The method and the device for the self-adaptation multi-network-card packet capturing improve capacity of a single device for processing network data, and simultaneously a self-adaptation packet capturing mode guarantees speed of data transmission.

Description

technical field [0001] The invention relates to the field of network data transmission, in particular to an adaptive multi-network card packet capture method and device. Background technique [0002] Network data packet capture, monitoring and analysis technology is the basic technology of network security maintenance, and also the core means of network intrusion. The current network packet capture can be captured through the network card of a single device or a dedicated packet capture network adapter, but the network packet processing capability of a single device is limited by the data processing capability of the network card. Taking the Intel network card as an example, the current server Network cards are divided into 10 Gigabit, Gigabit and 100 Gigabit network cards. If you want to achieve a higher level of data capture, you need to use a dedicated packet capture network adapter to improve the system’s packet capture performance and reduce the CPU usage of the host. D...

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/861
Inventor 刘凡邱勇良刘静肖新光
Owner BEIJING ANTIY NETWORK SAFETY 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