# US 2021/0282083 A1 · Interface selection using domain name service (dns) round trip time (rtt)

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0282083 A1
- Document ID: US20210282083A1
- Status: Published application
- Kind: A1
- Application number: 17/148,463
- Filed: 2021-01-13
- Published: 2021-09-09
- Earliest claimed: 2020-03-06
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Vijaya Datta MAYYURI; Ajit CHOURASIA; An CHEN; Jaikanth KRISHNASWAMY
- Web page: https://patentgrep.com/patent/US20210282083A1

## CPC

- H04L 61/2525: {Translation at a client}
- H04W 48/18: Selecting a network or a communication service
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- H04L 43/0864: Round trip delays
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 61/256: NAT traversal
- H04L 61/4511: using domain name system [DNS]
- H04L 61/5007: Internet protocol [IP] addresses
- H04W 24/08: Testing, {supervising or monitoring} using real traffic
- H04W 88/06: adapted for operation in multiple networks {or having at least two operational modes}, e.g. multi-mode terminals
- Y04S 40/00: Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y04S: SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS

## Abstract

A method of wireless communication by a wireless device calculates a first latency for a first wireless interface using a DNS (domain name service) protocol. The method also calculates a second latency for a second wireless interface using the DNS protocol. The method stores the first latency and the second latency in a database; and selects the first interface or the second interface based on the calculated first latency and second latency.

## Claims

### Claim 1

A method of wireless communication, by a UE (user equipment), comprising:
calculating a first latency for a first wireless interface using a DNS (domain name service) protocol;
calculating a second latency for a second wireless interface using the DNS protocol;
storing the first latency and the second latency in a database; and
selecting the first wireless interface or the second wireless interface based on the calculated first latency and second latency.

### Claim 2 (depends on 1)

The method of claim 1, in which calculating the first latency comprises:
sending a DNS query;
receiving a response to the DNS query; and
calculating the first latency as a round trip time (RTT) based on a time when the DNS query was sent and a time when the response was received.

### Claim 3 (depends on 2)

The method of claim 2, in which sending comprises sending the DNS query to a local DNS server.

### Claim 4 (depends on 2)

The method of claim 2, in which sending comprises sending the DNS query to a globally available DNS server.

### Claim 5 (depends on 2)

The method of claim 2, in which storing further comprises storing a position location of the UE when sending the DNS query, a time of sending the DNS query, an identifier (ID) of the first wireless interface and an identifier (ID) of the second wireless interface.

### Claim 6 (depends on 1)

The method of claim 1, further comprising;
setting up source and destination network address translation (NAT) for DNS traffic generated by a DNS resolver;
determining if a new wireless interface has been selected;
performing a source NAT if the new wireless interface has been selected;
setting a source internet protocol (IP) address to match an IP address of the selected new wireless interface; and
performing a destination NAT to set a destination IP address to a DNS server reachable by the selected new wireless interface.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
detecting availability of a new wireless interface, prior to calculating the second latency; and
setting a primary DNS (domain name service) server address to a globally available DNS server, in response to the detecting, and prior to the selecting.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
detecting availability of a new wireless network interface;
setting a primary DNS (domain name service) server address to a globally available DNS server, in response to the detecting; and
measuring latency of all available wireless network interfaces using the globally available DNS server to enable selecting of a wireless network interface for future communications.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
storing latency information for a plurality of wireless network interfaces;
storing contextual information for each of the plurality of wireless network interfaces; and
determining whether to switch to a new wireless network interface with a lower latency based on the contextual information , the latency information, and cost information.

### Claim 10

A UE (user equipment) for wireless communication, comprising:
a memory, and
at least one processor operatively coupled to the memory, the memory and the at least one processor configured:
to calculate a first latency for a first wireless interface using a DNS (domain name service) protocol;
to calculate a second latency for a second wireless interface using the DNS protocol;
to store the first latency and the second latency in a database; and
to select the first wireless interface or the second wireless interface based on the calculated first latency and second latency.

### Claim 11 (depends on 10)

The UE of claim 10, in which the at least one processor is further configured to calculate the first latency by:
sending a DNS query;
receiving a response to the DNS query; and
calculating the first latency as a round trip time (RTT) based on a time when the DNS query was sent and a time when the response was received.

### Claim 12 (depends on 11)

The UE of claim 11, in which the at least one processor is further configured to send the DNS query to a local DNS server.

### Claim 13 (depends on 11)

The UE of claim 11, in which the at least one processor is further configured to send the DNS query to a globally available DNS server.

### Claim 14 (depends on 11)

The UE of claim 11, in which the at least one processor is further configured to store a position location of the UE when sending the DNS query, a time of sending the DNS query, an ID of the first wireless interface and an ID of the second wireless interface.

### Claim 15 (depends on 10)

The UE of claim 10, in which the at least one processor is further configured:
to set up source and destination network address translation (NAT) for DNS traffic generated by a DNS resolver;
to determine if a new wireless interface has been selected;
to perform a source NAT if the new wireless interface has been selected;
to set a source internet protocol (IP) address to match an IP address of the selected new wireless interface; and
to perform a destination NAT to set a destination IP address to a DNS server reachable by the selected new wireless interface.

### Claim 16 (depends on 10)

The UE of claim 10, in which the at least one processor is further configured:
to detect availability of a new wireless interface, prior to calculating the second latency; and
to set a primary DNS (domain name service) server address to a globally available DNS server, in response to the detecting, and prior to the selecting.

### Claim 17 (depends on 10)

The UE of claim 10, in which the at least one processor is further configured:
to detect availability of a new wireless network interface;
to set a primary DNS (domain name service) server address to a globally available DNS server, in response to the detecting; and
to measure latency of all available wireless network interfaces using the globally available DNS server to enable selecting of a wireless network interface for future communications.

### Claim 18 (depends on 10)

The UE of claim 10, in which the at least one processor is further configured:
to store latency information for a plurality of wireless network interfaces;
to store contextual information for each of the plurality of wireless network interfaces; and
to determine whether to switch to a new wireless network interface with a lower latency based on the contextual information, the latency information, and cost information.

### Claim 19

A UE (user equipment) for wireless communication, comprising:
means for calculating a first latency for a first wireless interface using a DNS (domain name service) protocol;
means for calculating a second latency for a second wireless interface using the DNS protocol;
means for storing the first latency and the second latency in a database; and
means for selecting the first wireless interface or the second wireless interface based on the calculated first latency and second latency.

### Claim 20 (depends on 19)

The UE of claim 19, in which calculating the first latency comprises:
means for sending a DNS query;
means for receiving a response to the DNS query; and
means for calculating the first latency as a round trip time (RTT) based on a time when the DNS query was sent and a time when the response was received.

### Claim 21 (depends on 20)

The UE of claim 20, in which the means for sending comprises means for sending the DNS query to a local DNS server.

### Claim 22 (depends on 20)

The UE of claim 20, in which the means for sending comprises means for sending the DNS query to a globally available DNS server.

### Claim 23 (depends on 20)

The UE of claim 20, in which the means for storing further comprises means for storing a position location of the UE when sending the DNS query, a time of sending the DNS query, an ID of the first wireless interface and an ID of the second wireless interface.

### Claim 24 (depends on 19)

The UE of claim 19, further comprising:
means for setting up source and destination network address translation (NAT) for DNS traffic generated by a DNS resolver;
means for determining if a new wireless interface has been selected;
means for performing a source NAT if the new wireless interface has been selected;
means for setting a source internet protocol (IP) address to match an IP address of the selected new wireless interface; and
means for performing a destination NAT to set a destination IP address to a DNS server reachable by the selected new wireless interface.

### Claim 25 (depends on 19)

The UE of claim 19, further comprising:
means for detecting availability of a new wireless interface, prior to calculating the second latency; and
means for setting a primary DNS (domain name service) server address to a globally available DNS server, in response to the detecting, and prior to the selecting.

### Claim 26 (depends on 19)

The UE of claim 19, further comprising:
means for detecting availability of a new wireless network interface;
means for setting a primary DNS (domain name service) server address to a globally available DNS server, in response to the detecting; and
means for measuring latency of all available wireless network interfaces using the globally available DNS server to enable selecting of a wireless network interface for future communications.

### Claim 27 (depends on 19)

The UE of claim 19, further comprising:
means for storing latency information for a plurality of wireless network interfaces;
means for storing contextual information for each of the plurality of wireless network interfaces; and
means for determining whether to switch to a new wireless network interface with a lower latency based on the contextual information, the latency information, and cost information.

### Claim 28

A non-transitory computer-readable medium having program code recorded thereon, the program code executed by one or more processors and comprising:
program code to calculate a first latency for a first wireless interface using a DNS (domain name service) protocol;
program code to calculate a second latency for a second wireless interface using the DNS protocol;
program code to store the first latency and the second latency in a database; and
program code to select the first wireless interface or the second wireless interface based on the calculated first latency and second latency.
