Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2018-11-09
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a resource access control method and device, to at least solve the technical problem of poor flexibility of resource access control caused by adopting the existing single resource access mode

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource access control method and device
  • Resource access control method and device
  • Resource access control method and device

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a resource access control method and device. The method comprises the following steps: receiving a resource access request, wherein the resource access request is used for requesting to access a first target resource; acquiring a first access counter which is matched with a first resource type of the first target resource from a plurality of access counters, wherein each access counter is matched with one resource type; judging whether access to the first target resource is permitted or not according to a count value of the first access counter; and accessing the first target resource when access to the first target resource is judged to be permitted. Through adoption of the resource access control method and device, the technical problem of poor flexibility in resource access control due to adoption of an existing single resource access way is solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a resource access control method and device. Background technique [0002] At present, for the process of requesting access to resources from the background, a unified threshold value is usually directly set for the resource access process. After the total number of accumulated access times reaches the threshold value, subsequent resource access requests received are rejected. In this way, the control of high-frequency burst access can be realized, so as to avoid the problem of abnormal service caused by the increase of equipment load due to excessive access frequency. [0003] However, this method is limited to controlling the resource access process to all resources through a threshold value, which is not conducive to the expansion of resource access control, and greatly affects the flexibility of resource access control. [0004] For the above problems, no effective solution ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
CPCH04L63/105
Inventor 周海发
Owner TENCENT TECH (SHENZHEN) CO LTD