CDN Edge Server Geolocation via HTTP Response Headers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for determining a user's location, such as IP-based geolocation and API-based geolocation, face challenges including accuracy issues, privacy concerns, and reliance on third-party databases, which can be costly and lack official validation.

Innovation Solution

A method utilizing content delivery networks (CDNs) to infer a user's location by inspecting response headers from CDN edge servers, which are geographically distributed and provide unique identifiers, allowing for a straightforward, self-contained, and cost-effective geolocation process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If IP-based geolocation databases are used, then geolocation can be obtained without user permission, but the accuracy and correctness of the location data cannot be validated due to lack of official ground truth

Engineering Contradiction:
Improveautomated geolocation without user permissionVSAvoidgeolocation accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent introduces CDN edge servers as an intermediary between the website and the user's location data. Instead of directly querying IP databases or requesting permission from the user, the system uses CDN infrastructure that naturally routes requests through geographically distributed edge servers. The edge server's identifier in response headers serves as a mediator that reveals location information without requiring direct access to sensitive data or user permission.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If API-based geolocation services are used, then very accurate location results can be obtained, but user privacy concerns increase and users are likely to block such requests

Engineering Contradiction:
Improvegeolocation accuracyVSAvoiduser privacy concerns
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The system leverages the CDN infrastructure's own characteristics to provide geolocation services. Rather than imposing an external tracking mechanism on users, the solution uses the self-identifying nature of CDN edge servers. When a user requests content through a CDN, the edge server automatically includes its identifier in the response, effectively serving its own location information without requiring the user to actively participate or consent to tracking.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The CDN edge server acts as an intermediary that naturally reveals location information through its response headers. This intermediary approach allows the system to obtain accurate geolocation data without directly accessing the user's device location or requiring explicit user permission, thereby reducing privacy concerns while maintaining accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of information

If third-party geolocation databases are maintained, then comprehensive user information can be collected, but operational overhead and costs increase

Engineering Contradiction:
Improveuser information completenessVSAvoidoperational overhead
Core Design Contradiction:
Loss of informationVSProductivity

Solution Approach 1:

The patent leverages the CDN infrastructure's primary function of content delivery to simultaneously provide geolocation services. The CDN edge servers, which already exist for delivering web content, are also used to determine user location through their geographic distribution and identifier exposure in response headers. This multi-functional use of existing infrastructure eliminates the need for separate geolocation databases and reduces operational overhead.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The CDN infrastructure naturally provides location information through its response headers without requiring additional data collection or maintenance efforts. The edge server's identifier is automatically included in responses, allowing the system to obtain geolocation data as a byproduct of normal content delivery operations, thereby eliminating the need for costly and operationally intensive third-party databases.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11800163B2Content delivery network assisted user geolocation
Publication Date: 2023.10.24 SAM HOUSTON STATE UNIVERSITY
  • US11800163B2 patent drawing
  • US11800163B2 patent drawing
  • US11800163B2 patent drawing

AI summary

Described herein is a novel approach for coarse-grained user geolocation leveraging widely-deployed content delivery networks (CDNs). This method relies on the fact that CDN providers deploy a number of edge servers that are geographically distributed across the world. Many of these edge servers are assigned with unique identifiers that are tied to their location, which can be retrieved by inspecting HTTP responses headers served by these edge servers. As a result, a website can infer coarse-grained user location by asking a user to send an HTTP request to an arbitrary domain that is known being served by a CDN, and inspecting the corresponding responses.