US 12,407,617 B2
Method and device for setting priority of packet transmission
Zhuoliang Zhang, Anhui (CN)
Assigned to MEDIATEK SINGAPORE PTE. LTD., Singapore (SG)
Filed by MediaTek Singapore Pte. Ltd., Singapore (SG)
Filed on May 19, 2023, as Appl. No. 18/320,420.
Claims priority of application No. 202210618253.X (CN), filed on Jun. 1, 2022; and application No. 202310348999.8 (CN), filed on Mar. 31, 2023.
Prior Publication US 2023/0396553 A1, Dec. 7, 2023
Int. Cl. H04L 47/24 (2022.01); H04L 61/4511 (2022.01)
CPC H04L 47/24 (2013.01) [H04L 61/4511 (2022.05)] 20 Claims
OG exemplary drawing
 
1. A method for setting priority of packet transmission, comprising:
receiving an uplink packet from a client device via a local area network (LAN) port;
determining whether the uplink packet is a domain name system (DNS) query packet;
comparing by a filter a query string in the uplink packet with a list including a plurality of strings based on determining that the uplink packet is a DNS query packet, wherein the list includes priority levels for the plurality of strings;
recording a first transaction ID in the uplink packet and a priority of one of the plurality of strings in the list into a first recording table when the query string matches the one of the plurality of strings in the list;
transmitting the uplink packet to a network server according to a first priority level via a wide area network (WAN) port; and
comparing an IP address of the network server in the uplink packet with a second recording table including a plurality of IP addresses when determining that the uplink packet is not a DNS query packet.