NAT64 Gateway External Link Rewriting Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The performance of NAT64 gateways is affected due to unnecessary external link rewriting for all clients, leading to resource waste and inefficiency, as current systems cannot accurately determine whether clients are IPv6 single-stack or IPv4/IPv6 dual-stack, resulting in unnecessary rewriting of external links.
Innovation Solution
A processing method and device that initiates an IPv6 access service, processes page content to insert an IPv4 detection script, and determines the client's IP protocol stack information using the script's results to selectively decide on external link rewriting, avoiding unnecessary rewriting and optimizing gateway performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If external link rewriting is performed for all clients through the NAT64 gateway, then IPv6 single-stack clients can access external links, but the gateway device performance is degraded due to unnecessary rewriting of dual-stack client requests
Solution Approach 1:
The patent applies local quality by making the external link rewriting function selective rather than universal. The NAT64 gateway performs rewriting only for specific clients (IPv6 single-stack) while allowing direct access for others (IPv4/IPv6 dual-stack). This is achieved by inserting detection scripts into webpage content that run on the client side to determine protocol stack type, enabling localized application of the rewriting function only where needed, thus improving gateway performance while maintaining access capability.
2Adaptability or versatility
If external link rewriting is performed for all clients, then access compatibility is ensured, but unnecessary resource waste occurs for dual-stack clients that do not require rewriting
Solution Approach 1:
The patent applies partial action by performing external link rewriting only partially - specifically for IPv6 single-stack clients - rather than excessively for all clients. The detection mechanism identifies which clients actually need the rewriting service, and the gateway applies the function only to those clients. This eliminates unnecessary resource consumption for dual-stack clients while maintaining full adaptability for single-stack clients through the selective application of the rewriting function.
Data Source
AI summary
This application discloses a processing method and device for external link rewiring. The method includes: IPv6 access service initiated by a client is responded to obtain a first page content, the first page content is processed to obtain a second page content, IPv4 detection service runs at the client according to the second page content to determine IP protocol stack information at the client, and the request initiated by the client is determined whether to perform the external link rewriting according to the IP protocol stack information. Through this application, the problem that the performance of the gateway device is affected because the external link requested at all clients is rewritten through the gateway device in the related art is solved.


