High-speed message collection network card control method capable of configuring user-defined Ethernet header

A control method and a self-defined technology, applied in the field of information security, can solve problems such as the inability of the application program to efficiently process messages in multiple channels, the inability to guarantee the distribution of the same source and the same destination of the messages, and the inability to correctly calculate the quintuple information of the messages, etc.

Inactive Publication Date: 2019-03-08
CHENGDU JIUZHOU ELECTRONIC INFORMATION SYSTEM CO LTD
View PDF13 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, once the user customizes the Ethernet header, the network card cannot correctly identify the length of the Ethernet header, and cannot correctly calculate the quintuple information of the packet, so that it cannot ensure that the packets of the same source and destination are allocated to a CPU, and eventually the application The program cannot efficiently process messages through multiple channels

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
  • High-speed message collection network card control method capable of configuring user-defined Ethernet header
  • High-speed message collection network card control method capable of configuring user-defined Ethernet header

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0023] Such as figure 1 As shown, it is a schematic flow chart of the high-speed packet collection network card control method of the present invention that can be configured with a custom Ethernet header. A method for controlling a high-speed packet collection network card capable of configuring a custom Ethernet header, comprising the following steps:

[0024] A. Set the content of the configuration file and generate the configuration file in the network card;

[0025] B. Use the network card to read the configuration file generated in step A to obtain the custom Ethernet header format informat...

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 high-speed message collection network card control method capable of configuring a user-defined Ethernet header. The method comprises the following steps: setting a configuration file, obtaining a user-defined Ethernet header format, performing message parsing according to the user-defined Ethernet header format, calculating a HASH value according to a configured HASH function, and allocating a CPU according to a RETA index. According to the high-speed message collection network card control method disclosed by the invention, by setting the configuration file in a network card, the network card can obtain the user-defined Ethernet header format according to the configuration file and can parse received data messages according to the user-defined Ethernet header, thereby being able to adapt to different user-defined requirements and ensuring that the data messages are allocated to one CPU in a homologous and homoclinic manner.

Description

technical field [0001] The invention belongs to the technical field of information security, and in particular relates to a control method for a high-speed message collection network card capable of configuring a custom Ethernet header. Background technique [0002] Usually, when receiving packets, the network card can use RSS (Receive Side Scaling) to efficiently distribute the received packets among multiple CPUs. [0003] However, once the user customizes the Ethernet header, the network card cannot correctly identify the length of the Ethernet header, and cannot correctly calculate the quintuple information of the packet, so that it cannot ensure that the packets of the same source and destination are allocated to a CPU, and eventually the application The program cannot efficiently process messages through multiple channels. Contents of the invention [0004] The purpose of the present invention is: in order to solve the above problems in the prior art, the present in...

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): H04L29/08H04L12/24
CPCH04L41/0803H04L67/30
Inventor 杨洋原小卫
Owner CHENGDU JIUZHOU ELECTRONIC INFORMATION SYSTEM 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