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

Data receiving method and computer

A data receiving method and computer technology, applied in the computer field, can solve problems such as inability to efficiently realize data reception, and achieve the effect of improving packet receiving efficiency and increasing speed

Inactive Publication Date: 2012-07-11
SUGON INFORMATION IND
View PDF2 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the problem in the related art that data reception cannot be efficiently realized under the requirement of large flow, the present invention proposes a data reception method and computer, which can effectively increase the rate of data packet reception, improve packet collection efficiency, and be able to cope with high-speed network cards such as 10 Gigabit network cards The scene of receiving the package

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 receiving method and computer
  • Data receiving method and computer
  • Data receiving method and computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] According to an embodiment of the present invention, a data receiving method is provided, which is used to implement data receiving in a multi-CPU environment.

[0023] Such as figure 1 As shown, the data receiving method according to the embodiment of the present invention includes:

[0024] Step S101, for the received data, the network card determines the CPU corresponding to the data, and sends the data to the storage area corresponding to the determined CPU;

[0025] In step S103, each CPU obtains data from its corresponding storage area.

[0026] Among them, when the network card determines the CPU corresponding to the data, the network card can perform a hash calculation on the data, and determine the CPU corresponding to the data according to the calculation result.

[0027] In addition, the method may further include: mapping the data in the storage area corresponding to each CPU to the application corresponding to the data, so that when the data in the storage area chang...

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 data receiving method and a computer. The method comprises the following steps: as for received data, CPUs corresponding to the data are confirmed by a network card, the data is sent to the memory areas corresponding to the determinated CPUs; each CPU obtains data from the corresponding memory area; according to the invention, each CPU core processes the data in the corresponding memory area, fully utilizing the processing capacity of the multi-core CPUs and realizing the parallel receiving of data packets at effectively improved receiving speed; and accordingly the data packet receiving efficiency is improved. Therefore, the invention can applied to high-speed data packet receiving fields, such as a10Gigabit network card, and the like.

Description

Technical field [0001] The present invention relates to the computer field, and in particular, to a data receiving method and computer. Background technique [0002] At present, the zero-copy technology of the gigabit network card is mainly implemented based on the traditional intel gigabit network card. [0003] Generally, in the process of receiving network data packets, the application program needs to interact with the network card message buffer in the kernel in a copy mode. This copy processing will inevitably reduce performance and speed, and cannot be used in high-traffic scenarios. Moreover, the current Gigabit zero copy is based on single-queue technology. However, in the case of 10 Gigabit access, the data packet rate per unit time will increase by about 10 times, while the single Gigabit network card There will be a high performance loss in the transmission queue and buffer interaction. Therefore, the traditional technology will not be able to cope with such a high dat...

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): H04L12/56
Inventor 万伟刘兴彬王泼刘铁陈科朱春屹王清李云华李博文董建珊杨锦涛孙一鸣范玉峰曹振南邵宗有
Owner SUGON INFORMATION IND