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

A message processing method and device based on a multi-core processor

A multi-core processor and packet processing technology, applied in the field of communication, can solve the problems of affecting packet forwarding performance and increasing cache misses, and achieve the effect of improving packet forwarding performance and reducing cache misses

Active Publication Date: 2019-03-01
RUIJIE NETWORKS CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a message processing method and device based on a multi-core processor, which is used to solve the existing problems of increasing cache misses and affecting message forwarding performance in the process of message processing.

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
  • A message processing method and device based on a multi-core processor
  • A message processing method and device based on a multi-core processor
  • A message processing method and device based on a multi-core processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Such as figure 1 As shown, it is a schematic flowchart of the multi-core processor-based message processing method in Embodiment 1 of the present invention, and the multi-core processor-based message processing method may include the following steps:

[0024] Step 101: After receiving the message to be processed, determine the message type to which the message to be processed belongs.

[0025] Wherein, in one embodiment, the message type is classified according to the network protocol used by the message, for example, the message type includes: HTTP message, TCP message, UDP message and so on.

[0026] Wherein, in one embodiment, the message type can also be classified according to message five-tuple information (such as IP address, protocol type, port number). Certainly, the message type may also be classified according to the process that the message needs to be processed, for example, the message type is virus scanning, or only needs to be routed. It should be note...

Embodiment 2

[0067] Based on the same inventive concept, the embodiment of the present invention also provides a message processing device based on a multi-core processor, such as figure 2 As mentioned above, it is a schematic structural diagram of the device, which includes:

[0068] A message type determining module 201, configured to determine the message type to which the message to be processed belongs after receiving the message to be processed;

[0069] The pipeline family search module 202 is configured to search for the pipeline family corresponding to the message to be processed in the preset correspondence between message types and pipeline families; wherein, the same pipeline family corresponds to at least one message type , and the difference between the quantized values ​​of the critical paths of the message processing processes of different message types corresponding to the same pipeline family is less than a preset threshold;

[0070] The processing module 203 is configu...

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 multi-core-processor-based message processing method and apparatus. The method comprises: after a to-be-processed message is received, a message type of the to-be-processed message is determined; an assembly line family corresponding to the to-be-processed message is searched in a correspondence relation between a preset message type and a assembly line family, wherein the same assembly line family corresponds to at least one message type and a difference value of key paths of message processing processes of different message types corresponding to the same assembly line family is smaller than a preset threshold value; and the to-be-processed message is distributed to the corresponding assembly line family for message processing. With the method, the execution key paths and execution time of messages processed by the same assembly line family are basically identical, thereby reducing cache miss occurrence and improving the message forwarding performance of network equipment.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a message processing method and device based on a multi-core processor. Background technique [0002] Network devices used to process packets, such as switches, routers, firewalls, and gateways, are used as data exchange nodes for computer interconnection, and the data forwarding performance determines the overall quality of the network. With the rapid increase in the number of user connections and the emergence of various high-bandwidth applications, it is becoming increasingly difficult for single-core processors with limited main frequency to meet the performance requirements of high-speed data forwarding. Multi-core processors are gradually being widely used in the field of network communication due to their low-cost scalability and parallel computing characteristics. The so-called multi-core processor refers to the integration of multiple core processors (Engl...

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 Patents(China)
IPC IPC(8): H04L12/933
CPCH04L49/1546
Inventor 张小欢
Owner RUIJIE NETWORKS 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