Rewriting External Links to Internal for CDN Acceleration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current content delivery networks (CDNs) cannot accelerate page loading speeds for websites that contain external links, as they cannot redirect domain name systems (DNS) for external resources, leading to slower overall page loading times.

Innovation Solution

A method and device that insert a monitoring script into the resource description file to identify and rewrite external links as internal links, allowing the CDN to accelerate both internal and external links by rewriting them into internal links, ensuring all links are processed as internal links for faster resource acquisition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If CDN redirects DNS for internal links to accelerate page loading, then internal link loading speed is improved, but external links cannot be accelerated

Engineering Contradiction:
Improveinternal link loading speedVSAvoidacceleration coverage
Core Design Contradiction:
SpeedVSAdaptability or versatility

Solution Approach 1:

The patent introduces a monitoring script as an intermediary component that captures and rewrites external links into internal links. This mediator enables the CDN to handle external links by transforming them into a format that the CDN can accelerate, thus extending acceleration coverage without changing the core CDN architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameter form of external links by rewriting them as internal links through the monitoring script. This parameter transformation allows the CDN to apply its acceleration mechanism to what were originally external links, effectively expanding the acceleration capability while maintaining system compatibility.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If CDN uses DNS redirection for acceleration, then acceleration service is provided, but external links remain unaccelerated

Engineering Contradiction:
Improvepage loading speedVSAvoidacceleration completeness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies preliminary action by inserting the monitoring script into the resource description file before the client terminal parses it. This allows external links to be identified and rewritten into internal links in advance, ensuring that all links are in an acceleratable format before resource acquisition begins, thus completing the acceleration process reliably.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The monitoring script provides feedback by monitoring resource links generated during parsing and automatically rewriting external links. This feedback mechanism ensures that no external links are missed and all links are properly transformed, maintaining acceleration completeness while improving overall productivity.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP3896940B1Resource description file processing, and page resource obtaining method and device
Publication Date: 2024.11.20 CHINANETCENT TECH
  • EP3896940B1 patent drawingFigure 1~2
  • EP3896940B1 patent drawingFigure 3~4
  • EP3896940B1 patent drawingFigure 5~6

AI summary

The present disclosure provides a method and a device for processing resource description file and for obtaining page resource. The method for processing the resource description file includes: receiving the resource description file inserted with a monitoring script fed back by the node server; when the monitoring script is executed in the client terminal, monitoring a resource link generated by the client terminal in a process of parsing the resource description file, determining whether the resource link contains an external link, and if contains, rewriting the external link into an internal link, and replacing the corresponding external link in the resource link with the rewritten internal link; and writing the rewritten resource link into the resource description file, and according to the resource description file, obtaining page resource of the target page. The technical solutions provided by the present disclosure is capable of improving loading speed of the page.