Visitor Authorization Caching to Reduce Server Load
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional visitor authorization management methods require repeated authorization operations for the same visitor over time, leading to significant resource wastage in network and server resources due to frequent requests and redundant operations.
Innovation Solution
Implementing a caching mechanism in terminals and servers to store authorization operation information, where the terminal or server determines a reference time based on the authorization time, and performs authorization operations only when a preset time period expires, reducing the need for repeated requests and operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If repeated authorization operations are performed for the same visitor, then authorization management can be updated in real-time, but network and server resources are wasted significantly
Solution Approach 1:
The terminal device caches authorization operation information locally and performs preliminary processing before sending requests to the server. By determining reference time and comparing with current time locally, the system avoids unnecessary network communication and server processing for redundant authorization operations.
Solution Approach 2:
The authorization operation information is copied and stored in the cache of the terminal device. This local copy allows the terminal to perform time-based comparisons and determine whether authorization operations are necessary without repeatedly querying the server, thus reducing network and server resource consumption.
2Loss of information
If every authorization operation request is sent to the server, then the server can process the latest authorization information, but the frequency of requests increases resource consumption
Solution Approach 1:
The terminal device performs preliminary processing by caching authorization information and determining reference time locally. This preliminary action filters out redundant requests before they reach the server, ensuring the server only processes necessary authorization operations while maintaining information freshness.
Solution Approach 2:
The terminal device serves itself by maintaining local cache of authorization information and performing time-based comparisons autonomously. This self-service capability reduces dependency on frequent server interactions, improving overall system efficiency while keeping authorization information up-to-date.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
A visitor authorization management method is provided. In the method, an authorization object identifier and an authorization operation information corresponding to the authorization object identifier are obtained. The authorization operation information according to the authorization object identifier is cached. A current latest authorization operation information corresponding to the authorization object identifier is retrieved from the cache. A reference time is determined based on an authorization time in the current latest authorization operation information. When a preset time period having the reference time as an end is reached, an authorization operation is performed according to the current latest authorization operation information and the authorization object identifier.