Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Access frequency control system and method

A technology of access frequency and control system, applied in the computer field, it can solve problems such as uncommon solutions, error-prone, waste of system resources, etc.

Active Publication Date: 2018-07-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF11 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The interception point of the existing technology is too lagging. When some access needs to be intercepted on the business side, the corresponding logic has already been executed, wasting a lot of system resources
[0005] 2. The scheme is not universal, and each place needs to be coded repeatedly
[0006] 3. Too many system resources are occupied, and the business side generally uses the framework of the corresponding language. This part of the computing resources is completely wasted
[0007] 4. Hard-coded, error-prone, when new rules are added, the original code needs to be changed, and the entire testing process needs to be revisited, which introduces corresponding risks (especially scripting language, errors can only be found at runtime)

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
  • Access frequency control system and method
  • Access frequency control system and method
  • Access frequency control system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0082] Based on the above hardware environment, the present invention provides an access frequency control system, figure 2 is the architecture diagram of the system, such as figure 2 As shown, the system includes: a policy setting module 10 , a data processing module 30 and a local interception module 20 .

[0083] The policy setting module 10 is configured to set interception rules.

[0084] Specifically, the interception rule includes setting a statistical time window and a statistical threshold for different resource numbers RID. The resource number RID (Resource Identification) is used to uniquely identify the resource you want to access. The resource in RID is an abstract name, which can represent cgi, interface, or any other service on the business side, for example, QQ news. For QQ news, its resource number RID may be 10000, for example. The statistical time window refers to the time range used to count the access frequency, such as one second; the statistical th...

Embodiment 2

[0104] Figure 4 is another access frequency control system provided by the embodiment of the present invention, such as Figure 4 As shown, the system includes: a policy setting module 10 , a data processing module 30 and a local interception module 20 .

[0105] The policy setting module 10 includes:

[0106] An interception rule setting unit 101, configured to set an interception rule.

[0107] The list setting unit 102 is configured to set the reporting server list and the transit server list.

[0108] The local interception module 20 is configured to obtain an access request, generate a report data list according to the access request, send the report data list to the data processing module, obtain the interception description data generated by the data processing module, and according to the interception description The data judges whether the access request is passed.

[0109] Specifically, the local interception module 20 includes an access request obtaining unit 2...

Embodiment 3

[0159] Such as Figure 10 As shown, the embodiment of the present invention provides an access frequency control method, including:

[0160] Step S101, the policy setting module sets interception rules.

[0161] Step S102, the local interception module obtains the access request, generates a report data list according to the access request, and sends the report data list to the data processing module.

[0162] Step S103, the data processing module acquires the interception rules, receives the reported data list sent by the local interception module, and generates interception description data according to the reported data list and the interception rules.

[0163] In step S104, the local interception module acquires the interception description data generated by the data processing module, and judges whether the access request passes according to the interception description data.

[0164] As an optional embodiment, the data processing module includes multiple distributed re...

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 an access frequency control system and method. The system comprises a policy setting module, a data processing module and a local interception module, wherein the policy setting module is used for setting an interception rule; the local interception module is used for acquiring an access request, a report data list is generated according to the access request, the report data list is transmitted to the data processing module, interception description data generated by the data processing module are acquired, and whether the access request is passed is judged according to the interception description data; and the data processing module is used for acquiring the interception rule, receiving the report data list transmitted by the local interception module and generating the interception description data according to the report data list and the interception rule. The interception of access occurs at an interface forwarding layer, and back-end unnecessary runningcomputing resources are saved; and besides, no invasion happens to a service code, and uncertain risks brought by service code changes can be reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an access frequency control system and method. Background technique [0002] With the development of the computer business, computer functions are gradually opened to the outside world. Frequent access to certain background services will bring great risks to the computer, causing an avalanche of background servers and service jitter. Therefore, the protection of back-end services also needs to be put on the agenda. It is necessary to block abnormal high-frequency access, limit the calling frequency of certain APIs, ensure the robustness of the service, and prevent the risk of avalanche and service jitter. [0003] In the prior art, when restricting access, the general method is to hard-code each interface that needs to control the access frequency and add a corresponding statistical interception function. However, the prior art has the following problems: [0004] 1. The inte...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/564H04L67/60
Inventor 嬴益虎郑榕孙琦
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products