Data processing method and a computer using distribution service module
AssigneeHuawei Technologies Co., Ltd.
InventorsQiang Gu, Liufei Wen, Guangyu Shi
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsQiang Gu, Liufei Wen, Guangyu Shi
Estimating the term…
A data processing apparatus and a data processing method are provided. The apparatus includes M protocol stacks and at least one distribution service module, and the M protocol stacks separately run on different logic cores of a processor and are configured to independently perform protocol processing on a data packet to be processed. The distribution service module receives an input data packet from a network interface and sends the data packet to one of the M protocol stacks for protocol processing, and receives data packets processed by the M protocol stacks and sends the data packets outwards through the network interface. The present disclosure implements a function of parallel protocol processing by multiple processes in user space of an operating system in a multi-core environment by using a parallel processing feature of a multi-core system, thereby reducing resource consumption caused by data packet copying.
A data processing method, wherein the method comprises:
A computer, the computer comprising a hardware layer and a layer of an operating system running above the hardware layer, wherein the hardware layer comprises at least one network interface and a common processor, the common processor comprises at least M logic cores, M is a positive integer greater than 1, and M is a quantity of the logic cores, the operating system is divided into kernel space and user space, and M protocol stacks and M distribution service modules are disposed in the user space, wherein M is a quantity of the protocol stacks, and M is a quantity of the distribution service modules, wherein:
A computer, the computer comprising a hardware layer and a layer of an operating system running above the hardware layer, wherein the hardware layer comprises at least one network interface and a common processor, the common processor comprises at least M logic cores, wherein M is a positive integer greater than 1, and M is a quantity of the logic cores, the operating system is divided into kernel space and user space, and M protocol stacks and a distribution service module are disposed in the user space, wherein M is a quantity of the M protocol stacks, the computer further comprising a network input/output module disposed in the kernel space of the operating system, wherein:
Dependencies are inferred from the claim text.