Cookie Isolation via Mapping Table for Multi-Account Sessions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users experience poor user experiences when trying to log in with multiple accounts on the same website, as only one account can be automatically logged in due to cookie limitations, leading to incorrect account displays upon page refresh.

Innovation Solution

Implementing a method that assigns an independent cookie storage for each login account, creating a mapping relation table between page view IDs and cookie storage, and using this table to load the correct cookie storage for the intended account, thereby isolating cookies and maintaining the correct login account's session.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a single cookie storage is used for the same domain name, then the browser can automatically login with one account, but only one account can be logged in automatically and the wrong account may be displayed upon page refresh

Engineering Contradiction:
Improvelogin session accuracyVSAvoidmulti-account support
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent divides the single cookie storage into multiple independent cookie storages, each associated with a specific login account. When a user logs in with an account, a dedicated cookie storage is created for that account. The browser then selects the appropriate cookie storage based on the target account, ensuring that each account has its own isolated cookie environment and preventing account confusion during page refreshes.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If multiple accounts are supported on the same website, then user versatility is improved, but cookie isolation is lost and accounts interfere with each other

Engineering Contradiction:
Improvemulti-account supportVSAvoidlogin session stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the cookie storage mechanism by creating separate cookie storages for different login accounts. Each account receives its own dedicated cookie storage when logging in, and the system maintains a mapping between accounts and their respective cookie storages. This segmentation ensures that cookies from one account do not interfere with another account's login session, providing both multi-account support and session stability.

Inventive Principle:
Principle #1Segmentation

3Reliability

If a mapping relation table is established between page view IDs and cookie storage, then correct account isolation is achieved, but system complexity increases

Engineering Contradiction:
Improveaccount-specific session managementVSAvoidcookie management structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a mapping relation table as an intermediary component that connects page view IDs to specific cookie storages. This table acts as a lookup mechanism, allowing the browser to quickly identify and select the appropriate cookie storage for a given account without complex decision logic. The intermediary simplifies the management of multiple cookie storages by providing a straightforward mapping structure.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10681146B2Method and apparatus for isolating page cookie
Publication Date: 2020.06.09 ALIBABA GROUP HOLDING LTD
  • US10681146B2 patent drawing
  • US10681146B2 patent drawing
  • US10681146B2 patent drawing

AI summary

The present invention discloses a method and an apparatus for isolating a page cookie. The method includes: when a predetermined login account logs in, assigning an independent cookie storage for the predetermined login account; after a request of creating a page associated with the predetermined login account is acquired, establishing a mapping relation table for storing a mapping relation between a page view identification of the page associated with the predetermined login account and the independent cookie storage; when the page associated with the predetermined login account is loaded, looking up the mapping relation table; and initiating, according to the independent cookie storage corresponding to the page view identification of the page associated with the predetermined login account found in the mapping relation table, a request of loading the page associated with the predetermined login account. In this manner, isolation between the page view of the page associated with the predetermined login account and a cookie of a page being logged into by another account in the same domain name is implemented, thereby improving user experiences.