US 12,155,625 B2
Electronic device for controlling packet transmission, and operating method thereof
Joonyoung Heo, Gyeonggi-do (KR); Dongha Kang, Gyeonggi-do (KR); Gyujoon Park, Gyeonggi-do (KR); Jinmo Sung, Gyeonggi-do (KR); Chihun Ahn, Gyeonggi-do (KR); and Minjung Kim, Gyeonggi-do (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Gyeonggi-do (KR)
Filed on May 13, 2022, as Appl. No. 17/744,030.
Application 17/744,030 is a continuation of application No. PCT/KR2020/009703, filed on Jul. 23, 2020.
Claims priority of application No. 10-2019-0147937 (KR), filed on Nov. 18, 2019.
Prior Publication US 2022/0272070 A1, Aug. 25, 2022
Int. Cl. H04L 9/40 (2022.01); G06F 9/50 (2006.01); H04L 67/1097 (2022.01)
CPC H04L 63/0236 (2013.01) [G06F 9/5016 (2013.01); H04L 63/20 (2013.01); H04L 67/1097 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An electronic device comprising:
a communication module;
at least one processor; and
a memory electrically connected to the at least one processor,
wherein the memory stores instructions, that when executed, cause the at least one processor to perform a plurality of operations, the plurality of operations comprising:
detecting a connection for a network service corresponding to an application included in a user address space,
detecting that a low-latency guarantee service for a packet corresponding to the application is needed,
based on detection of the low-latency guarantee service, acquiring at least one packet filtering rule from the application,
determining whether a packet received through the communication module satisfies the at least one packet filtering rule,
transmitting the packet directly to the user address space allocated to the memory, bypassing a network stack included in a kernel address space allocated to the memory, when the packet satisfies the at least one packet filtering rule, and
transmitting the packet to the user address space through the network stack included in the kernel address space allocated to the memory when the packet does not satisfy the at least one packet filtering rule.