Session State Synchronization via Proxy-Mapped Server Routing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing session state management methods face challenges in ensuring consistency and timeliness of data storage due to decentralized management, leading to errors and inefficiencies in service processing.

Innovation Solution

A method and system that centralizes session state management by using a processing server to synchronize session data through a local cache, ensuring all session data is processed by a single server and maintaining consistency and timeliness, while avoiding decentralized data processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Stability of the object's composition

If session state information is stored in a database, then data persistence is improved, but system complexity and cost increase

Engineering Contradiction:
Improvedata persistenceVSAvoidsystem complexity
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The patent extracts the session state storage function from the traditional database system and implements it using browser-based LocalStorage. This removes the need for complex database connections, queries, and server-side storage mechanisms, thereby maintaining data persistence while significantly reducing system complexity and cost.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent replaces the mechanical/database-based storage system with a web-based storage mechanism (LocalStorage API). This substitution eliminates the need for database servers, connection pools, and query processing, achieving data persistence through a simpler, more lightweight approach that leverages existing browser capabilities.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Loss of information

If session state is maintained across pages using traditional methods, then data availability is improved, but page loading time increases

Engineering Contradiction:
Improvedata availabilityVSAvoidpage loading time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent implements preliminary action by pre-storing session state information in the browser's LocalStorage when the user first visits the application. This preliminary storage ensures that when users return to the application or navigate between pages, the session state is already available without requiring additional network requests or server processing, thereby maintaining data availability while reducing page loading time.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If comprehensive session state management is implemented, then user experience is improved, but development complexity increases

Engineering Contradiction:
Improveuser experienceVSAvoiddevelopment complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent applies universality by creating a single, unified session state management system that handles multiple functions: storing user authentication state, preserving form data, maintaining cart information, and managing user preferences. By consolidating these diverse requirements into one centralized LocalStorage-based system, the patent improves user experience through comprehensive state management while reducing development complexity compared to implementing separate solutions for each function.

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

Data Source

PatentEP4489376B1Session state management method and system, apparatus, device, and storage medium
Publication Date: 2026.05.13 BIGO TECH PTE LTD
  • EP4489376B1 patent drawingFigure 1~2
  • EP4489376B1 patent drawingFigure 3
  • EP4489376B1 patent drawingFigure 4

AI summary

Embodiments of the present application disclose a session state management method and system, an apparatus, a device, and a storage medium. In a technical solution provided by an embodiment of the present application, session state information of a session service is determined on the basis of a service processing result by means of receiving said service processing result of the corresponding session service forwarded by a proxy server; then, session state information is updated to a local cache, so as to sync the session state information to a cache of an associated regional data center by means of the local cache; wherein the proxy server forwards the service processing result on the basis of a session identifier in the service processing result, and the session identifier comprises mapping information between the service processing result and a corresponding processing server. By utilizing the described technical means, session state management for both parties of a session can maintain higher consistency, and the timeliness of session state storage is improved. Also, decentralized management of session data is avoided, and a session state management effect is improved.