Access control method and apparatus

An access control and access request technology, applied in the computer field, can solve problems such as the remaining resources of database resources, the low utilization rate of database resources, and the inability to respond to access requests, etc., to achieve the effect of improving utilization

Inactive Publication Date: 2017-05-10
NEW H3C TECH CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, when access control is performed on the access volume of the database according to the above method, it may happen that the access volume of the database has reached the limit, but there are still remaining resources in the database
That is to say, when there are still remaining resources in the database, due to the limitation of the number of accesses, access requests may not be responded to, and the utilization rate of database resources is not high

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0025] The embodiment of the present application provides an access control method and device, which can reduce the number of occurrences of database access blocking.

[0026] The present application will be described in detail below through specific examples.

[0027] figure 1 It is a schematic flowchart of the access control method provided by the embodiment of the present application, which is applied to electronic devices. The ...

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

Embodiments of the invention provide an access control method and apparatus, and relate to the technical field of computers. The method comprises the steps of receiving a first access request for a target webpage; determining a residual resource quantity of a database resource quantity; judging whether the residual resource quantity is greater than a resource consumption quantity or not, wherein the resource consumption quantity is a predetermined database resource consumption quantity of a single access request corresponding to the target webpage; and if yes, accessing a database and making a response to the first access request. According to the method and the apparatus provided by the embodiments of the invention, the utilization rate of the database resource quantity can be increased.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to an access control method and device. Background technique [0002] Websites on the Internet are mainly composed of domain names, space and web pages. Generally, websites can be divided into static websites and dynamic websites. Among them, the dynamic website can be structured based on the database, and the website has more advanced functions through the database and the program. When a user visits a webpage in the website, the website needs to obtain data in the webpage visited by the user through a database. [0003] When many users visit a certain website at the same time, the number of visits to the database of the website will increase greatly, the consumption of database resources will be huge, and the access to the database will be blocked. [0004] In order to solve the blockage caused by the large number of visits to the database, in the prior art, a thres...

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): G06F17/30G06F9/50
CPCG06F9/5027G06F16/958
Inventor 张惊申
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products