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

Method, device and system for forwarding network data messages

A data message and network data technology, applied in the field of computer communication, can solve problems such as affecting performance, incomplete parallelism, software implementation complexity, etc., to achieve the effect of improving performance, reducing the use of locks, and reducing CPU cache jitter

Active Publication Date: 2013-12-25
NEUSOFT CORP
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] But after really understanding the working principle and implementation process of the RPS module, it is not difficult to find that its current implementation has a serious shortcoming: it cannot support the topology with network address translation
[0013] 1. Resources related to data flow need to be protected by locking, which brings complexity to software implementation
At the same time, due to mutual exclusion of locks, multi-cores cannot be completely parallelized, resulting in performance loss
[0014] 2. Data packets are frequently processed on different CPUs, causing CPU cache jitter and further affecting performance

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, device and system for forwarding network data messages
  • Method, device and system for forwarding network data messages
  • Method, device and system for forwarding network data messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0036] In order to solve the problem in the prior art that the RPS module cannot allocate data packets in the same data stream to the same CPU for processing in the NAPT / NAT scenario, the present invention constructs keywords and establishes a NAT conversion relationship table, and queries NAT conversion The relationship table allocates the data packets of the same data flow to the same CPU for processing, thereby ensuring that the data packets in the same data flow are allocated to the same CPU for processing, reducing the use of locks and CPU cache jitter.

[0037] figure 2 The flow of the method for forwarding network data packets according to the present invention is shown.

[0038] Such as figure 2 As shown, when the RPS module receives the data stream, it obtains the quintuple information of the data message according to the data mes...

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, a device and a system for forwarding network data messages. The method comprises the following steps: acquiring data messages in a data stream according to the received data stream; performing network address translation (NAT) strategy matching according to the first data message in the data stream, and establishing an NAT relation table; and determining a central processing unit (CPU) for correspondingly forwarding other data messages except the first data message according to quintuple information before and after the other data messages except the first data message in the data stream are translated and the NAT relation table. By adopting the method, the device and the system, the data messages in the same data stream can be distributed to the same CPU for processing in the presence or absence of a network address port translation (NAPT) / NAT scene, and use of a lock and jitter of a CPU cache are reduced, so that the network forwarding performance is promoted.

Description

technical field [0001] The present invention relates to the technical field of computer communication, and more specifically, to a method, device and system for forwarding network data messages. Background technique [0002] RPS (Receive Packet Steering) is a software simulation hardware network card multi-queue technology, through the Hash classification of IP data flow, the data packets of the same IP flow are allocated to the same CPU for processing, and the network protocol stack is realized. The load balancing of soft interrupts on multiple CPUs greatly improves the performance of single-queue network card multi-CPU network forwarding devices. [0003] But after really understanding the working principle and implementation process of the RPS module, it is not difficult to find that its current implementation has a serious shortcoming: it cannot support the topology with network address translation. [0004] Network Address Translation (NAT for short) is a conversion te...

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): H04L12/741H04L29/12H04L45/74
Inventor 韩伟李恕海刘军
Owner NEUSOFT CORP
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