HTTP interface access authority verification method, system and server

A technology for interface access and verification methods, which is applied in the field of systems, servers, and HTTP interface access verification methods, can solve problems such as interface access cannot respond quickly and stably, and achieve cross-table query bottlenecks and read-write conflicts, and improve Reading rate, effect of improving stability

Inactive Publication Date: 2018-10-09
CHINANETCENT TECH
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above-mentioned shortcomings of the prior art, the object of the present invention is to provide a method, system, and server for verifying HTTP interface access rights, which are used to solve the problem that interface access in the prior art cannot respond quickly and stably

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
  • HTTP interface access authority verification method, system and server
  • HTTP interface access authority verification method, system and server
  • HTTP interface access authority verification method, system and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

[0031] It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and number of componen...

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 provides an HTTP interface access authority verification method, a system and a server. The method comprises a step of creating a new cache in the server, a step of synchronizing basic data from a preset database to the cache and storing the basic data according to a synchronous TreeMap data structure, a step of receiving a user's access request to an HTTP interface, and a step of verifying the access request according to the stored basic data to determine whether to accept the user's access to the HTTP interface according to a verification result. The basic data is stored in thenewly created cache in the server, the reading rate of the basic data can be improved, the basic data is stored according to any data structure of a synchronous Set, a synchronous Hashtable and a synchronous TreeMap, the bottleneck of cross-table query and a lock table problem of reading and writing conflicts are solved, and the thread safety is ensured. The operating efficiency and safety performance of the invention are high, and the stability of the interface can be improved.

Description

technical field [0001] The invention relates to the field of network security, in particular to an HTTP interface access authority verification method, system and server. Background technique [0002] At present, many API interfaces are based on the http protocol, so the security of the interface is our most basic requirement for the API interface. There are many strategies to implement interface security, such as token verification, anti-theft, and access frequency limitation, etc., which requires the API authority verification module to reject illegal and violent interface calls before providing data on the API interface, so as to ensure normal and stable interface services to clients. In the existing API permission verification system, the random number brought by the user when calling the interface is used to realize anti-theft (that is, random number repeatability verification) and access frequency limitation, and the traditional mysql database is used to store token a...

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/06H04L29/08
CPCH04L63/10H04L67/02
Inventor 陆雄斌
Owner CHINANETCENT TECH
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