Resource access control method and device
A resource access and control method technology, applied in the field of resource access control methods and devices, can solve problems such as poor resource access control flexibility, and achieve the effect of overcoming poor flexibility and improving flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] In an embodiment of the present invention, an embodiment of the above resource access control method is provided. As an optional embodiment, the resource access control method can be applied to but not limited to such as figure 1 An application environment where two devices interact is shown. The resource access request sent by the terminal 102 is received through the network 104, wherein the resource access request is used to request access to the first target resource in the server 106, and the resource matching the first resource type of the first target resource is obtained from the multi-access counter. A first access counter, wherein each access counter matches a resource type; judging whether to allow access to the first target resource according to the acquired count value in the first access counter, and when access to the first target resource is allowed, The first target resource is accessed.
[0022] As another optional embodiment, the resource access cont...
Embodiment 2
[0089] According to an embodiment of the present invention, a resource access control device for implementing the above resource access control method is also provided, such as Figure 5 As shown, the device includes:
[0090] 1) a receiving unit 502, configured to receive a resource access request, where the resource access request is used to request access to a first target resource;
[0091] 2) An obtaining unit 504, configured to obtain a first access counter matching the first resource type of the first target resource from a plurality of access counters, wherein each access counter matches a resource type;
[0092] 3) a first judging unit 506, configured to judge whether to allow access to the first target resource according to the count value of the first access counter;
[0093] 4) The access unit 508 is configured to access the first target resource when it is determined that access to the first target resource is allowed.
[0094] Optionally, in this embodiment, th...
Embodiment 3
[0150] According to an embodiment of the present invention, a resource access control device for implementing the above resource access control method is also provided, such as Figure 8 As shown, the equipment includes:
[0151] 1) The communication interface 802 is configured to receive a resource access request, wherein the resource access request is used to request access to a first target resource;
[0152] 2) The processor 804, connected to the communication interface 802, is configured to obtain a first access counter matching the first resource type of the first target resource from a plurality of access counters, wherein each access counter corresponds to a resource type Matching; it is also set to judge whether access to the first target resource is allowed according to the count value of the first access counter; and when it is judged that access to the first target resource is allowed, then access the first target resource.
[0153] 3) The memory 806 is connected ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


