Domain Name Resolution Caching Mechanism

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional domain name resolution methods are inefficient due to multiple data replications required in the resolution process, leading to low efficiency in obtaining IP addresses from domain names.

Innovation Solution

A method and apparatus that utilize caching to modify and combine domain name resolution request and response packets, storing them in separate cache areas to reduce data replication and enhance efficiency by pre-caching response data and modifying request packets directly within the cache area.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional domain name resolution processing is used with multiple data replications, then complete resolution functionality is achieved, but resolution efficiency deteriorates

Engineering Contradiction:
Improvedomain name resolution efficiencyVSAvoidresolution time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-modifying header data in the first cache area before actual resolution occurs. The header modification (changing request packets to response packets) is performed in advance, so that when resolution data is retrieved from the second cache area, it can be immediately combined with the pre-modified header without additional processing delays.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the resolution process into distinct cache areas: the first cache area stores and modifies header data, while the second cache area stores resolution data. This segmentation allows parallel processing of header modification and data retrieval, eliminating the need for sequential data replications across the entire packet structure.

Inventive Principle:
Principle #1Segmentation

2Productivity

If data is replicated multiple times during resolution, then data integrity is maintained, but processing complexity increases

Engineering Contradiction:
Improveresolution efficiencyVSAvoidprocessing complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent merges the header modification operation with the cache storage operation. Instead of modifying headers after retrieval or performing separate replication operations, the header data is modified directly in the first cache area and then combined with resolution data from the second cache area to form the complete response packet, reducing processing steps.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent introduces cache areas as intermediary storage structures between the incoming request and the outgoing response. The first cache area serves as an intermediary for header modification, and the second cache area serves as an intermediary for storing pre-resolved data, eliminating the need for direct data manipulation and multiple replications.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentEP3570512B1Domain name resolution method, server and storage medium
Publication Date: 2023.05.24 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • EP3570512B1 patent drawingFigure 1~2
  • EP3570512B1 patent drawingFigure 3~4
  • EP3570512B1 patent drawingFigure 5~6

AI summary

Provided is a domain name resolution method, comprising: obtaining a domain name resolution request packet; caching the obtained domain name resolution request packet into a first cache area; modifying header data included in the cached domain name resolution request packet in the first cache area to obtain header data of a domain name resolution response packet corresponding to the cached domain name resolution request packet; extracting the domain name which is requested for resolution by the cached domain name resolution request packet, and extracting a requested record type; searching in the second cache area pre-cached response data corresponding to the extracted domain name and being in the extracted record type; and combining the obtained response data with the modified domain name resolution request packet to obtain the domain name resolution response packet.