Visitor authorization management method and apparatus, terminal, server, and storage medium
First Claim
1. A visitor authorization management method, comprising:
- obtaining an authorization object identifier and an authorization operation information corresponding to the authorization object identifier, and correspondingly caching the authorization operation information according to the authorization object identifier;
retrieving a current latest authorization operation information corresponding to the authorization object identifier from a cache, and determining a reference time based on an authorization time in the current latest authorization operation information; and
when a preset time period having the reference time as an end is reached, performing an authorization operation according to the current latest authorization operation information and the authorization object identifier;
wherein the determining the reference time based on the authorization time in the current latest authorization operation information comprises;
detecting whether the authorization object identifier has a valid-state authorization time; and
adopting the authorization time in the current latest authorization operation information as the reference time when the authorization object identifier does not have the valid-state authorization time;
wherein the detecting whether the authorization object identifier has the corresponding valid-state authorization time comprises;
detecting whether the authorization operation information corresponding to the authorization object identifier has a success authorization flag;
determining that the authorization object identifier does not have the corresponding valid-state authorization time if the authorization operation information does not have the success authorization flag;
detecting whether the authorization operation information having the success authorization flag has expired;
determining that the authorization object identifier does not have the corresponding valid-state authorization time if the authorization operation information having the success authorization flag has expired; and
determining that the authorization object identifier has the corresponding valid-state authorization time if the authorization operation information having the success authorization flag has not expired.
0 Assignments
0 Petitions
Accused Products
Abstract
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.
9 Citations
10 Claims
-
1. A visitor authorization management method, comprising:
-
obtaining an authorization object identifier and an authorization operation information corresponding to the authorization object identifier, and correspondingly caching the authorization operation information according to the authorization object identifier; retrieving a current latest authorization operation information corresponding to the authorization object identifier from a cache, and determining a reference time based on an authorization time in the current latest authorization operation information; and when a preset time period having the reference time as an end is reached, performing an authorization operation according to the current latest authorization operation information and the authorization object identifier; wherein the determining the reference time based on the authorization time in the current latest authorization operation information comprises; detecting whether the authorization object identifier has a valid-state authorization time; and adopting the authorization time in the current latest authorization operation information as the reference time when the authorization object identifier does not have the valid-state authorization time; wherein the detecting whether the authorization object identifier has the corresponding valid-state authorization time comprises; detecting whether the authorization operation information corresponding to the authorization object identifier has a success authorization flag; determining that the authorization object identifier does not have the corresponding valid-state authorization time if the authorization operation information does not have the success authorization flag; detecting whether the authorization operation information having the success authorization flag has expired; determining that the authorization object identifier does not have the corresponding valid-state authorization time if the authorization operation information having the success authorization flag has expired; and determining that the authorization object identifier has the corresponding valid-state authorization time if the authorization operation information having the success authorization flag has not expired. - View Dependent Claims (2, 3)
-
-
4. A visitor authorization management apparatus, comprising a memory and a processor, the memory storing instructions;
- by executing the instructions, the processor being capable of performing;
obtaining an authorization object identifier and an authorization operation information corresponding to the authorization object identifier, and correspondingly caching the authorization operation information according to the authorization object identifier; retrieving a current latest authorization operation information corresponding to the authorization object identifier from the cache module and determining a reference time based on an authorization time in the current latest authorization operation information; and performing an authorization operation according to the current latest authorization operation information and the authorization object identifier when a preset time period having the reference time as an end is reached; wherein the determining the reference time based on the authorization time in the current latest authorization operation information performed by the processor comprises; detecting whether the authorization object identifier has a valid-state authorization time; and adopting the authorization time in the current latest authorization operation information as the reference time when the authorization object identifier does not have the valid-state authorization time; wherein the detecting whether the authorization object identifier has the valid-state authorization time performed by the processor comprises; detecting whether the authorization operation information corresponding to the authorization object identifier has a success authorization flag; determining that the authorization object identifier does not have the valid-state authorization time if the authorization operation information does not have the success authorization flag; detecting whether the authorization operation information having the success authorization flag has expired; determining that the authorization object identifier does not have the valid-state authorization time if the authorization operation information having the success authorization flag has expired; and determining that the authorization object identifier has the valid-state authorization time if the authorization operation information having the success authorization flag has not expired. - View Dependent Claims (5, 6)
- by executing the instructions, the processor being capable of performing;
-
7. One or more non-volatile readable storage medium storing computer-executable instructions, by executing the instructions, one or more processors being capable of performing:
-
obtaining an authorization object identifier and an authorization operation information corresponding to the authorization object identifier, and correspondingly caching the authorization operation information according to the authorization object identifier; retrieving a current latest authorization operation information corresponding to the authorization object identifier from a cache, and determining a reference time based on an authorization time in the current latest authorization operation information; and when a preset time period having the reference time as an end is reached, performing an authorization operation according to the current latest authorization operation information and the authorization object identifier; wherein the determining the reference time based on the authorization time in the current latest authorization operation information performed by the processor comprises; detecting whether the authorization object identifier has a valid-state authorization time; and adopting the authorization time in the current latest authorization operation information as the reference time when the authorization object identifier does not have the valid-state authorization time; wherein the detecting whether the authorization object identifier has the valid-state authorization time performed by the processor comprises; detecting whether the authorization operation information corresponding to the authorization object identifier has a success authorization flag; determining that the authorization object identifier does not have the valid-state authorization time if the authorization operation information does not have the success authorization flag; detecting whether the authorization operation information having the success authorization flag has expired; determining that the authorization object identifier does not have the corresponding valid-state authorization time if the authorization operation information having the success authorization flag has expired; and determining that the authorization object identifier has the valid-state authorization time if the authorization operation information having the success authorization flag has not expired. - View Dependent Claims (8, 9, 10)
-
Specification