Cookie Disambiguation via Domain and Path Depth Metadata

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing APIs for managing browser cookies fail to distinguish between cookies with the same name but different domains or paths, leading to ambiguity when reading cookies, as they do not provide information about the domain or path to which the cookie corresponds.

Innovation Solution

Attaching domain depth and path depth values to cookie values, which are computed based on the number of components in the domain and path names, allowing cookies to be disambiguated by including these values in the cookie data stored and retrieved.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If all cookies in the same domain are provided when a read request is made, then completeness of cookie retrieval is improved, but distinguishability of cookies with same name from different domains deteriorates

Engineering Contradiction:
Improvenumber of cookies retrievedVSAvoiddomain context information
Core Design Contradiction:
Quantity of substanceVSLoss of information

Solution Approach 1:

The cookie value is segmented to include multiple components: the original cookie value and metadata (domain depth, path depth) that provide context information. This segmentation allows the system to retrieve all relevant cookies while maintaining the ability to distinguish their sources through the embedded metadata.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Metadata (domain depth and path depth values) acts as an intermediary that bridges the gap between retrieving all cookies and distinguishing their sources. This intermediary information enables the system to provide complete cookie retrieval while preventing loss of domain context information.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If domain depth and path depth values are attached to cookie values, then distinguishability of cookies is improved, but complexity of cookie data structure increases

Engineering Contradiction:
Improvecookie identification precisionVSAvoidcookie data structure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The domain depth and path depth metadata are merged with the original cookie value into a single unified data structure. This combining approach improves cookie identification precision while managing complexity by integrating multiple pieces of information into one cohesive structure rather than maintaining separate parallel structures.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The cookie data structure undergoes parameter changes by adding numerical parameters (domain depth, path depth) that enhance identification precision. These parameter additions improve distinguishability while the structured nature of the changes keeps the complexity increase manageable and systematic.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9203908B2System an method for disambiguating cookies
Publication Date: 2015.12.01 GOOGLE LLC
  • US9203908B2 patent drawing
  • US9203908B2 patent drawing
  • US9203908B2 patent drawing

AI summary

A system and method for storing a cookie of a web page are provided. An initial cookie value corresponding to a web page is received, and a domain depth of a uniform resource locator (URL) of the web page is identified. Cookie data including a name-value pair is generated for the web page. The name-value pair includes the initial cookie value and the identified domain depth. The generated cookie data is stored corresponding to a domain of the web page.