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

Resource access control method and device, electronic equipment and storage medium

An access control and resource technology, applied in computer security devices, electrical digital data processing, instruments, etc., to achieve the effect of solving concurrency problems

Pending Publication Date: 2020-09-04
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a resource access control method, device, electronic device, and storage medium to solve the concurrency problem caused by resources deployed in multiple data centers in the prior art

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, electronic equipment and storage medium
  • Resource access control method and device, electronic equipment and storage medium
  • Resource access control method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0036] figure 1 It is a schematic flowchart of a method for resource access control according to the first embodiment of the present application, and this embodiment is applicable to the situation of controlling the access traffic of a resource with limited traffic. The method can be executed by a resource access control device, which is implemented in the form of s...

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, electronic equipment and a storage medium, and relates to the field of server management. The specific implementation scheme is asfollows: the method comprises the steps of when a current sampling period arrives, obtaining a first accessed flow of a limited flow resource in a master DC and a second accessed flow of the limited flow resource in each slave DC in a previous sampling period; determining sub-page view thresholds corresponding to the master DC and the slave DCs respectively according to the first accessed traffic,the second accessed traffic and the total page view threshold of the limited traffic resources; and performing access control on the limited flow resource according to the sub-page view threshold corresponding to the master DC, and sending the sub-page view threshold corresponding to each slave DC to the corresponding slave DC, so that each slave DC performs access control on the limited flow resource according to the received sub-page view threshold. Therefore, the sub-page view threshold of each DC is calculated based on the actual page view of the limited flow resource in each DC in the previous sampling period, and the concurrency problem caused by resource deployment in a plurality of data centers is solved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to the field of server management, and in particular to a resource access control method, device, electronic equipment and storage medium. Background technique [0002] In the prior art, services can be deployed on servers in a data center (Data Center, DC). The same service can be deployed on one server in one DC, or on multiple servers in one DC. It can also be deployed On multiple servers in multiple DCs. [0003] Currently, it is necessary to implement QPS (Queries-Per-Second, visits per second) current limiting for deployed services. The specific implementation schemes are as follows: distributed cache-based current limiting scheme; when a service is deployed on a single DC server, This option can be used. This solution sets a cache server in the DC, and sets the counter, survival time (1s) and QPS upper limit value in the cache server; each time a service request...

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): G06F21/62
CPCG06F21/6218
Inventor 张成黄庆伟罗雪峰白常福
Owner BEIJING BAIDU NETCOM SCI & TECH 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