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

Message header processing method and device of network message, equipment and storage medium

A technology for network packets and packet headers, applied in the field of communications, can solve the problems of inability to meet the large data volume of aggregation and distribution devices and port line-speed forwarding, and achieve the effect of reducing performance pressure

Active Publication Date: 2021-06-11
EVERSEC BEIJING TECH
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above method cannot meet the needs of large data volume and port wire-speed forwarding of aggregation and distribution devices

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
  • Message header processing method and device of network message, equipment and storage medium
  • Message header processing method and device of network message, equipment and storage medium
  • Message header processing method and device of network message, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] This embodiment is applicable to the case where the packet header of the network packet is output by the converging and splitting device, and the method may be executed by a packet header processing device of the network packet, which may be implemented by software and / or hardware. The device can be configured in a convergence and distribution device with a programmable switching chip. Wherein, the programmable switching chip may be a switching chip that can realize the function of outputting the packet header by writing codes in a compiled language. For example, the Tofino series of programmable switching chips launched by Barefoot are programmable based on the P4 language on the data plane, which greatly expands the usage scenarios of network switching chips and aggregation and distribution devices, so that some complex functions can be passed on the switching chip. Programmatic implementation.

[0035] figure 1 It is a flowchart of a method for processing a packet ...

Embodiment 2

[0058] image 3 It is a flow chart of another network message header processing method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments, as image 3 As shown, the method includes:

[0059] Step S201 , when the packet header output command is detected, the output port information, command identifier, preset protocol header type and packet header length corresponding to the protocol header type are acquired in the packet header output command.

[0060] The system of converging and splitting devices includes at least a control plane and a data plane. The user can input and output configuration information such as port information and / or filter rule information through the command line on the CLI (Command-Line Interface, command line interface), and can also enable the packet header output function through the command line. Then, the aggregation and distribution device can call the interface of the control plan...

Embodiment 3

[0136] On the basis of the foregoing embodiments, this embodiment provides a specific implementation manner of working between a control plane and a data plane in a system of converging and splitting devices.

[0137] Figure 4 Embodiment 3 of the present invention provides a flow chart of a method for processing message headers on a control plane. Such as Figure 4 As shown in , the user can input filter rule information and output port information through the command line, and enable the packet header output function through the command line. Wherein, the filtering rule information may include quintuple filtering rule information and the like. When the control plane detects the message header output command, it parses the command line to obtain quintuple filtering rule information and output port information. Send the quintuple filtering rule information to the data plane, and write it into the quintuple information rule table of the data plane. The control plane judges ...

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 discloses a message header processing method and device of a network message, equipment and a storage medium, and the method comprises the steps: receiving an original network message, and analyzing a protocol header type; mirroring the original network message to obtain a mirrored network message; searching a target mirror session identifier corresponding to the protocol header type and the instruction identifier of the message header output instruction in an identifier mapping table; determining target output port information and target message header length corresponding to the target mirroring session identifier in a length mapping table; obtaining table items in the identification mapping table and the length mapping table based on configuration information in a message header output instruction obtained by the control plane; and from the message starting position, intercepting data with a target message header length in the mirror image network message as a mirror image message header, and outputting the mirror image message header to a target port and / or a target port group corresponding to the target output port information. The message header is output under the condition that the normal operation of the converging and shunting equipment is ensured, and the performance pressure of back-end equipment is reduced.

Description

technical field [0001] Embodiments of the present invention relate to communication technology, and in particular to a method, device, device and storage medium for processing a message header of a network message. Background technique [0002] In the field of network security, it is usually necessary to collect network packets from each network node, and send the analyzed bill data or original network packets to the back-end device for finer-grained analysis. Based on the performance of back-end devices or the focus of analyzing network packets, sometimes it is not necessary to pay attention to the load part of network packets, and only need to analyze the header part of network packets to meet the requirements. [0003] In the prior art, platforms such as MPIS (microprocessor without Interlocked Pipelined Stages, Microprocessorwithout Interlocked Pipelined Stages) multi-core or X86 are usually used for header output processing, but its processing performance depends on net...

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/06
CPCH04L69/22
Inventor 李洪杰
Owner EVERSEC BEIJING TECH
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