Resource Description Link Rewriting for External CDN Acceleration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing content delivery networks (CDNs) cannot accelerate external links in resource description files, leading to slower page loading speeds due to the inability to redirect domain names of external resources.

Innovation Solution

An intermediate server rewrites external links in resource description files to internal links, allowing the CDN to accelerate both internal and external links by forwarding requests through an origin server and parsing actual external links for resource acquisition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If CDN redirects DNS of page to edge node for acceleration, then internal link access speed is improved, but external link access speed remains slow because CDN cannot redirect external domain names

Engineering Contradiction:
Improveinternal link access speedVSAvoidacceleration capability for external links
Core Design Contradiction:
SpeedVSAdaptability or versatility

Solution Approach 1:

The patent introduces an intermediate server as a mediator between the CDN and external resources. This intermediate server intercepts resource description files, rewrites external links to point to the intermediate server, and then retrieves original external resources. This allows the CDN infrastructure to handle external link acceleration indirectly through the intermediate server, which acts as a bridge enabling CDN acceleration capabilities to extend to external links without requiring changes to external domain name systems.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the link acceleration function into two parts: internal links are handled directly by CDN DNS redirection, while external links are handled through the intermediate server's link rewriting mechanism. This segmentation allows each type of link to be processed through the most appropriate method, with the intermediate server specifically addressing the external link acceleration gap.

Inventive Principle:
Principle #1Segmentation

2Productivity

If external links are left unrewritten in resource description files, then link structure remains simple, but page loading speed deteriorates because external links cannot be accelerated by CDN

Engineering Contradiction:
Improvepage loading speedVSAvoidlink rewriting processing complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by rewriting external links in advance within the resource description file before the client downloads the file. The intermediate server performs this rewriting proactively, converting external link URLs to point to itself. This preliminary transformation ensures that subsequent resource requests for external links are automatically routed through the intermediate server, enabling CDN acceleration without requiring real-time processing or client-side modifications.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The intermediate server serves as an intermediary that handles the complexity of link rewriting and resource retrieval, shielding the client from these complexities. The client simply receives rewritten links and makes normal requests, while the intermediate server manages the sophisticated processes of link analysis, rewriting, and original resource fetching in the background.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentEP3896939B1Resource description file processing and page resource obtaining method, and intermediate server
Publication Date: 2025.07.30 CHINANETCENT TECH
  • EP3896939B1 patent drawingFigure 1
  • EP3896939B1 patent drawingFigure 2
  • EP3896939B1 patent drawingFigure 3~4

AI summary

The present disclosure provides a method for processing a resource description file, a page resource acquisition method and an intermediate server. The method for processing a resource description file includes: receiving an access request directed to a target page from a client terminal, and receiving the resource description file fed back by an origin server with respect to the access request after transmitting the access request to the origin server; identifying one or more resource links in the resource description file and determining whether the one or more resource links include one or more external links; if the one or more resource links include the one or more external links, rewriting an external link of the one or more resource links to an internal link and replacing the external link in the resource description file with a corresponding internal link formed by rewriting the external link; and feeding back a rewritten resource description file to the client terminal, such that the client terminal acquires resource of the target page according to the rewritten resource description file. The technical solution of the present disclosure can improve loading speed of the page.