Distributed Temporal Data Storage for Session Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current data storage methods in browsers and cookies face limitations in capacity, flexibility, and security, particularly due to hardware constraints in mobile devices and the inability to manage session data effectively, leading to potential security risks and inflexibility in data access and removal.
Innovation Solution
A distributed temporal data storage (DTDS) architecture that stores data for a predetermined duration, allowing for fast, reliable, and scalable management, with primary and secondary copies of data stored across geographically distributed servers, enabling secure, flexible, and efficient data retrieval and expiration based on access patterns.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If data is stored in browser or cookie, then session data can be accessed, but storage capacity is limited and security risks increase
Solution Approach 1:
The system segments session data storage across multiple distributed servers rather than concentrating all session data in a single browser or cookie. Each server stores portions of session data, enabling horizontal scaling of storage capacity while distributing security risks across multiple nodes.
Solution Approach 2:
The patent introduces a distributed session management system as an intermediary between the user and the application servers. This intermediary handles session data storage, retrieval, and expiration management, freeing browsers from storage limitations and providing centralized security control.
2Adaptability or versatility
If session data is stored in browser, then user information can be maintained, but flexibility in data management is reduced
Solution Approach 1:
The system implements dynamic session management where data retention periods, access policies, and storage locations can be adjusted in real-time based on user preferences, application requirements, and security policies. Sessions can be extended, terminated, or migrated dynamically without user intervention.
3Duration of action of stationary object
If data is stored for extended periods, then user convenience is improved, but security risks increase
Solution Approach 1:
The system implements periodic session validation and automatic expiration mechanisms. Sessions are renewed through periodic user interactions (such as keeping alive pings), and automatically expire after predetermined periods of inactivity or upon reaching maximum duration limits, balancing user convenience with security requirements.
4Reliability
If distributed server architecture is used, then scalability and reliability are improved, but system complexity increases
Solution Approach 1:
The distributed servers in the system are designed with universal functionality, where any server can potentially serve any session data request. This multi-functionality simplifies the load balancing and failover logic, as servers present a uniform interface despite their distributed nature, reducing the perceived complexity for clients.
Data Source
AI summary
A system according to an embodiment includes at least one server located at one or more distributed locations, one or more processors, and one or more memories adapted to store a plurality of machine-readable instructions which when executed by the one or more processors are adapted to cause the system to: store data in the at least one server as time based data for a predetermined duration; and allow retrieval of the stored data; wherein if the time based data is accessed within the predetermined duration, at least one time operation is triggered, and if the time based data is not accessed within the predetermined duration, the time based data is removed, wherein a primary copy of the data is stored in a primary server and a secondary copy, which is a replicate of the primary copy, is stored in zero or more secondary server(s).


