Unlock instant, AI-driven research and patent intelligence for your innovation.

A network data distribution method and network equipment

A technology of network data and network equipment, which is applied in the computer field, can solve the problems of unsatisfactory computing performance and excessive calculation, and achieve the effect of reducing the amount of calculation and saving calculation time

Active Publication Date: 2018-11-06
NEUSOFT CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the worst case, an RSS operation requires 96 judgments and 96 XOR operations. On average, an operation requires 96 judgments and 48 XOR operations. However, the amount of calculation is obviously too large , its computational performance is unsatisfactory

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 network data distribution method and network equipment
  • A network data distribution method and network equipment
  • A network data distribution method and network equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0062] For the convenience of expression, before introducing the embodiments of the present invention, a mathematical model of the RSS algorithm is constructed first. That is, the first 3 steps of the RSS algorithm in the background technology are recorded as hash=f(s, k), where the hash value only includes 7 effective bits, and the 4th step ...

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 present invention discloses a network data distribution method and a network device. The method comprises the steps of obtaining a first parameter, wherein the first parameter contains the flow direction information of the current network data; obtaining a preset keyword, wherein the bit numbers of the keyword is a multiple of A, and A bits in each set are same periodically; extracting the 1 or 0 bits from the A bits; in each bit, determining an influence area of each bit in the first parameter; carrying out the xor operation on the all influence areas according to the bits to obtain a second parameter; if the number of the 1 bits in the A bits does not exceed A / 2 or the number of the 1 bits in the first parameter is an odd number, carrying out the reversed order operation and then the inverse operation on the second parameter to obtain a third parameter, if the number of the 1 bits in the A bits exceeds the A / 2 and the number of the 1 bits in the first parameter is an even number, carrying out the reversed order operation on the second parameter to obtain the third parameter; according to the third parameter, distributing the current network data to a corresponding CPU core to process.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a network data distribution method and network equipment. Background technique [0002] In order to improve the performance of computers, modern computers generally use multi-core architecture to process data. For a network device based on a multi-core architecture, when it receives a network data packet, the relevant network card needs to use a mechanism to decide which CPU to hand over the data packet to for processing. RSS (receive side scaling) is such a mechanism. . RSS is widely used, especially in some high-performance network hardware devices, such as Intel's 10 Gigabit network card based on 8259910Gb Ethernet controller, which supports the use of parameters given by developers to allocate CPU tasks through RSS. [0003] In addition to implementing the RSS algorithm with hardware, the software implementation of the RSS algorithm is also of great significance. On the ...

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): H04L29/08
CPCH04L67/1023H04L67/306
Inventor 孙浩
Owner NEUSOFT CORP