Dynamic DNS Cache TTL Management for Power Saving

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current consumer electronic devices, such as smartphones, experience repeated DNS queries due to small DNS cache timeout values (TTL values) provided by DNS servers, leading to increased power consumption and time in obtaining answers from DNS servers.

Innovation Solution

An electronic device manages a local DNS cache with multiple TTL values, including original and extended TTL values based on operating states, allowing for flexible extension of cache expiration times to reduce repeated queries and conserve power.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If small DNS cache timeout values (TTL values) are used, then DNS cache entries expire quickly allowing frequent updates, but repeated DNS queries occur consuming extra power and time

Engineering Contradiction:
ImproveDNS cache freshnessVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies dynamics by making the DNS cache expiration time variable rather than fixed. The system dynamically adjusts the TTL value based on the device's current operating state (foreground vs. background). When in foreground state, the original TTL is used for timely updates. When in background state, an extended TTL is applied to reduce repeated queries and save power. This dynamic adaptation resolves the contradiction between cache freshness and power consumption.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of TTL (time-to-live) value based on operating conditions. By detecting whether the application is in foreground or background state, the system modifies the TTL parameter accordingly - using original TTL in foreground and extended TTL in background. This parameter change allows the system to maintain DNS cache effectiveness while reducing unnecessary queries and power consumption in background states.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If small DNS cache timeout values are used, then DNS cache entries expire quickly allowing frequent updates, but repeated DNS queries consume extra time

Engineering Contradiction:
ImproveDNS cache freshnessVSAvoidtime to get DNS answers
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system dynamically adjusts DNS cache expiration behavior based on application state. In foreground state, original TTL ensures timely updates. In background state, extended TTL prevents premature expiration, allowing the cache to remain valid longer and avoiding repeated DNS queries that would consume time. This dynamic approach resolves the time loss issue while maintaining cache freshness when needed.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The TTL parameter is changed based on operating state detection. When the application transitions to background state, the system applies an extended TTL value that keeps DNS cache entries valid longer, reducing the frequency of DNS queries and the time spent waiting for DNS server responses. This parameter adaptation eliminates unnecessary time loss without compromising cache freshness in active use.

Inventive Principle:
Principle #35Parameter changes

3Use of energy by moving object

If extended TTL values are used, then DNS query results can be obtained from local cache more frequently saving power, but DNS cache may become outdated

Engineering Contradiction:
Improvepower savingVSAvoidDNS cache accuracy
Core Design Contradiction:
Use of energy by moving objectVSReliability

Solution Approach 1:

The system uses dynamic state detection to determine when to apply extended TTL. Only when the application is in background state (not actively using network resources) does the system extend the TTL to save power. When the application returns to foreground state, the original TTL is restored, ensuring DNS cache accuracy is maintained when the application actually needs up-to-date information. This dynamic switching resolves the contradiction between power saving and cache accuracy.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The TTL parameter is conditionally changed based on application state. In background state, extended TTL is applied to maximize power savings by reducing DNS queries. In foreground state, the original TTL is used to ensure cache accuracy. This conditional parameter change ensures that extended TTL is only used when it won't compromise DNS cache accuracy, thus resolving the contradiction between power saving and reliability.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9866448B2Electronic device and method for DNS processing
Publication Date: 2018.01.09 HTC CORP
  • US9866448B2 patent drawing
  • US9866448B2 patent drawing
  • US9866448B2 patent drawing

AI summary

A method for DNS processing is provided. The method is executed by an electronic device and includes the following steps: determining a plurality of TTL values, wherein each of the TTL values corresponds to one of a plurality of operating states of the electronic device, and determining whether to remove an entry from a local DNS cache in the electronic device or not according to the TTL value corresponding to the current state among the operating states of the electronic device.