Group Content Caching via User-Group Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current data caching solutions fail to effectively share and cache content restricted to specific user groups, leading to increased response times and server load, as public caching is not applicable and private caching does not improve performance for groups with thousands of users.
Innovation Solution
A data caching method and device that uses a caching server to identify valid users by establishing mappings between group content and user IDs, allowing secure caching and sharing of group content among members while preventing access to unauthorized users, thereby reducing server load and response time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If public caching is applied to group content, then response time is reduced and server load is decreased, but data security is compromised and unauthorized users can access restricted content
Solution Approach 1:
The patent implements different caching strategies for different types of content based on their access requirements. Public content uses aggressive public caching, private content uses no caching or browser-only caching, while group content uses a middle-ground approach with server-side caching that maintains security through user group verification. This localized differentiation of caching policies resolves the contradiction by applying appropriate security measures only where needed while still enabling performance optimization where safe.
Solution Approach 2:
The patent introduces an intermediary caching server that sits between the application server and user terminals. This caching server acts as a mediator that can store group content locally and serve it to authorized users without requiring constant communication with the application server. The intermediary maintains security by verifying user group membership before serving cached content, thus reducing response time while preserving data security.
2Object-affected harmful factors
If private caching header is used for group content, then data security is maintained, but caching performance is insufficient for groups with thousands of users
Solution Approach 1:
The patent moves the caching capability from the client dimension (browser caching) to the server dimension (caching server). Instead of relying on individual user browsers to cache content, the system introduces a dedicated caching server that can store and serve content to multiple users simultaneously. This dimensional shift enables centralized caching that benefits all group members while maintaining security through server-side access control.
Solution Approach 2:
The caching server is designed to handle multiple types of content with different caching requirements (public, private, and group content) within a single system. It provides universal caching functionality that adapts to different content types by implementing appropriate caching policies for each, thereby improving overall system performance while maintaining security for restricted content.
3Loss of time
If group content is cached for all users, then response time is reduced, but unauthorized access by users outside the group occurs
Solution Approach 1:
The patent performs preliminary verification of user group membership before allowing access to cached group content. The caching server maintains records of which users belong to which groups and verifies this membership before serving cached content. This preliminary action ensures that only authorized users can access the cached content, maintaining access control reliability while still enabling fast response times for authorized users.
Solution Approach 2:
The system implements feedback mechanisms where the caching server communicates with the application server to verify user authorization status. When a user requests group content, the caching server checks whether the user is authorized to access that group's content and only serves the cached content if authorization is confirmed. This feedback loop maintains access control while enabling performance optimization.
Data Source
AI summary
A data caching method and device, and a resource request response method and device. The data caching method comprise: receiving a resource request for group content belonging to a specific user group, the resource request being sent from a user terminal to an application server by a user; checking if a mapping between the group content and a group caching ID for identifying the user group and a mapping between the user and the group caching ID have been established in the caching server; and returning the group content cached in the caching server to the user terminal in responses to the mapping between the group content and the group caching ID and the mapping between the user and the group caching ID having been established in the caching server.


