Data processing method and device, network equipment and computer readable storage medium

A technology for network equipment and data processing, applied in the fields of devices, network equipment, computer-readable storage media, and data processing methods, capable of solving problems such as low data processing efficiency

Pending Publication Date: 2022-02-08
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present application is to provide a data processing method, device, net

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 processing method and device, network equipment and computer readable storage medium
  • Data processing method and device, network equipment and computer readable storage medium
  • Data processing method and device, network equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0073] As an optional implementation, the method may also include:

[0074] Based on the processing rules corresponding to the parsing results, perform corresponding operations on the data packets, the corresponding operations include at least one operation of alerting the data packets, modifying the source IP address, and logging, or performing operations on the data packets. The above data packets are intercepted or released.

[0075] In this embodiment, the processing rules can be flexibly set according to user requirements. Generally speaking, the network device 10 may store processing rules corresponding to various analysis results. For example, processing rules include but are not limited to:

[0076] When it detects that there is a security risk in the transmitted data packet, it will give an alarm or intercept;

[0077] When it is detected that the transmitted data packet is safe, it is released and the data packet is allowed to continue to be transmitted;

[0078]...

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 data processing method and device, network equipment and a computer readable storage medium. The method comprises the following steps: acquiring a data packet acquired by a vector data packet processing development framework VPP from a network card of network equipment; caching the data packet in a first cache queue corresponding to the type of the data packet; reading the data packet from the first cache queue according to a preset rule, and determining a protocol type corresponding to the data packet; and analyzing the data packet according to a preset processing function corresponding to the protocol type to obtain an analysis result of the data packet. Thus, in the process of acquiring and analyzing the data packet by the network equipment, the whole processing process is completed in the user space, the interruption frequency can be reduced, frequent switching of the user space and the kernel space for the processing thread of the data packet is not needed, and the data processing efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of computer data processing, and in particular, to a data processing method, device, network device, and computer-readable storage medium. Background technique [0002] For routers, switches, firewalls, base stations and other equipment, in terms of data packet processing, the data packet processing process is basically divided into: hardware interrupt→get and distribute the packet to the kernel thread→software interrupt→kernel thread processes the packet in the protocol stack→processing is completed Notify the user layer User layer receives packets → network layer → logic layer → business layer. This data packet processing method will face the situation of frequent switching of data from kernel space to user space, and at the same time, it will also face the triggering of several interrupt events, resulting in low efficiency of data packet processing. Contents of the invention [0003] The purp...

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
IPC IPC(8): H04L67/568H04L41/0631H04L47/12G06F12/0842G06F12/0895
CPCH04L41/0631H04L47/12G06F12/0842G06F12/0895G06F2212/154
Inventor 邹新宇
Owner BEIJING TOPSEC NETWORK SECURITY TECH
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