UPF DNS Cache for Mobile Network Query Speed
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing domain name resolution process is slow due to long network communication links and heavy processing loads on public DNS servers, which are exacerbated by the need to process a large number of concurrent domain name queries.
Innovation Solution
A domain name query method that utilizes a computer device configured to implement a User Plane Function (UPF) to cache DNS data, allowing for local resolution of domain names before forwarding queries to public DNS servers, thereby reducing the load on these servers and speeding up the query process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If DNS queries are transmitted to public DNS servers through network devices, then domain name resolution service is provided, but the network communication link becomes excessively long and query speed decreases
Solution Approach 1:
The patent applies preliminary action by having the UPF cache domain name resolution results in advance. When a DNS query arrives, the UPF checks its cache first and can directly return cached results without forwarding to public DNS servers, thus performing the resolution action beforehand and avoiding long network links for repeated queries.
Solution Approach 2:
The patent introduces the UPF as an intermediary between terminal devices and public DNS servers. The UPF intercepts DNS queries, checks cached data, and only forwards queries to public DNS servers when necessary. This intermediary role shortens the communication link for cached queries and reduces load on public servers.
2Adaptability or versatility
If public DNS servers process a large number of concurrent domain name queries, then comprehensive domain name resolution service is provided, but the processing load becomes excessively heavy
Solution Approach 1:
The patent applies segmentation by dividing the DNS query processing workload between the UPF and public DNS servers. The UPF handles queries for cached domain names locally, while public DNS servers only process queries for uncached domain names. This segmentation reduces the processing load on public servers while maintaining comprehensive service coverage.
Solution Approach 2:
The patent implements self-service by enabling the UPF to independently resolve commonly accessed domain names using its cached data. The UPF serves itself as a DNS resolver for cached entries, eliminating the need to forward these queries to public DNS servers and thereby reducing their processing load.
3Measurement precision
If DNS queries are resolved through public DNS servers, then accurate domain name to IP address mapping is achieved, but the query process becomes slow due to network latency
Solution Approach 1:
The patent applies preliminary action by pre-resolving domain names and caching the results in the UPF. When a DNS query arrives, the UPF can directly return the cached IP address mapping without performing a new query to public DNS servers, thus maintaining mapping accuracy while significantly reducing query time.
Solution Approach 2:
The patent uses copying by creating local copies of DNS resolution results in the UPF's cached data. Instead of repeatedly querying public DNS servers, the UPF uses stored copies of domain name to IP address mappings, which maintains accuracy while eliminating network latency for repeated queries.
Data Source
AI summary
This application discloses a domain name query method and apparatus, a device, and a storage medium, and relates to the field of mobile communications. The method includes receiving a domain name system (DNS) query request from a terminal device, the DNS query request comprising a domain name; determining, based on cached data of a user plane function (UPF), an Internet protocol (IP) address corresponding to the domain name; and transmitting a DNS response to the terminal device, the DNS response comprising the IP address corresponding to the domain name.


