US 11,689,646 B2
Network packet processing method and apparatus and network server
Rujie Chen, Shenzhen (CN); Kai Zheng, Beijing (CN); and Maoqing Huang, Shenzhen (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Nov. 30, 2021, as Appl. No. 17/538,940.
Application 17/538,940 is a continuation of application No. 16/260,656, filed on Jan. 29, 2019, granted, now 11,218,570.
Application 16/260,656 is a continuation of application No. PCT/CN2017/078588, filed on Mar. 29, 2017.
Claims priority of application No. 201610619837.3 (CN), filed on Jul. 30, 2016.
Prior Publication US 2022/0086262 A1, Mar. 17, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. H04L 69/163 (2022.01); H04L 69/16 (2022.01); H04L 67/141 (2022.01); H04L 67/142 (2022.01); H04L 67/146 (2022.01); H04L 67/143 (2022.01); H04L 67/14 (2022.01); H04L 43/0811 (2022.01); H04L 45/745 (2022.01); H04L 67/12 (2022.01)
CPC H04L 69/163 (2013.01) [H04L 43/0811 (2013.01); H04L 45/745 (2013.01); H04L 67/14 (2013.01); H04L 67/141 (2013.01); H04L 67/142 (2013.01); H04L 67/143 (2013.01); H04L 67/146 (2013.01); H04L 69/162 (2013.01); H04L 67/12 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A network packet processing method, comprising:
receiving a first Transmission Control Protocol (TCP) packet sent by a client, wherein the first TCP packet comprises a first quintuple;
determining, according to the first quintuple, a first thread that processes the first TCP packet, wherein the first quintuple is used to identify a TCP connection corresponding to the first TCP packet, wherein:
a TCP connection status of the TCP connection is an unsteady TCP connection or a steady TCP connection, wherein the unsteady TCP connection represents a TCP connection in an establishment process or a disconnection process, and the steady TCP connection represents a TCP connection in a data transmission process;
the first thread is a control thread or a data processing thread, wherein the control thread is used to process the unsteady TCP connection, and the data processing thread is used to process the steady TCP connection; and
determining the first thread comprises:
in response to determining that the TCP connection is the unsteady TCP connection, determining the control thread as the first thread; or
in response to determining that the TCP connection is the steady TCP connection, determining the data processing thread as the first thread; and
processing the first TCP packet by using the first thread.