Communication method based on user-mode protocol stack, and corresponding apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsZhihao LU, Liming HUANG, Changye WU
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsZhihao LU, Liming HUANG, Changye WU
Estimating the term…
Example communication methods and systems based on a user-mode protocol stack are provided. One example method is applied to a service side, where the service side includes an application layer, the user-mode protocol stack, and a hardware layer. A target application of the application layer corresponds to at least one W thread. The example method includes obtaining, by using a routing module, a first correspondence and a second correspondence, where the first correspondence includes a correspondence between a listen file descriptor (FD) of a first W thread and a plurality of shadow FDs, and the second correspondence includes a correspondence between a target N thread and a connection FD. Communication with a client is performed using the routing module based on the first correspondence and the second correspondence.
A communication method based on a user-mode protocol stack and applied to a service side, wherein the service side comprises an application layer, the user-mode protocol stack, and a hardware layer, wherein a target application of the application layer corresponds to at least one W thread, each of the at least one W thread is a thread for processing data of the target application, wherein the user-mode protocol stack comprises a plurality of N threads, a routing module, and transmission control protocol hash tables that are in a one-to-one correspondence with the plurality of N threads, wherein each of the plurality of N threads is a user-mode protocol stack thread, wherein the hardware layer comprises a plurality of non-uniform memory access (NUMA) nodes and a network adapter, and wherein the plurality of N threads are in a one-to-one correspondence with the plurality of NUMA nodes, and the method comprises:
A communication method based on a user-mode protocol stack and applied to a client, wherein the client comprises an application layer, the user-mode protocol stack, and a hardware layer, wherein a target application of the application layer corresponds to at least one W thread, each of the at least one W thread is a thread for processing data of the target application, wherein the user-mode protocol stack comprises a plurality of N threads, a routing module, and transmission control protocol hash tables that are in a one-to-one correspondence with the plurality of N threads, wherein each of the plurality of N threads is a user-mode protocol stack thread, wherein the hardware layer comprises a plurality of non-uniform memory access (NUMA) nodes, and wherein the plurality of N threads are in a one-to-one correspondence with the plurality of NUMA nodes, and the method comprises:
A computing device, comprising one or more processors and a non-transitory computer-readable storage medium storing a computer program
(canceled)
(canceled)
(canceled)
Dependencies are inferred from the claim text.