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

HTTP interface access authority verification method, system, and server

A technology of interface access and verification method, which is applied in server, HTTP interface access authority verification method, and system field, can solve the problem that interface access cannot respond quickly and stably, and achieve the solution of cross-table query bottleneck and read-write conflict, running High efficiency and safety performance, and the effect of improving the reading rate

Inactive Publication Date: 2021-01-22
CHINANETCENT TECH
View PDF3 Cites 0 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]The following describes the implementation of the present invention through specific specific examples. 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 embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and the features in the embodiments can be combined with each other if there is no conflict.

[0031]It should be noted that the illustrations provided in the following embodiments only illustrate the basic idea of ​​the present invention in a schematic way, so the figures only show the components related to the present invention instead of the actual implementation of the number, shape and For size dr...

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 a method, system and server for verifying access authority of an HTTP interface.Background technique[0002]Currently, 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 for implementing interface security, such as token verification, anti-theft, and access frequency restriction. This requires passing through the API authorization verification module before providing data on the API interface, rejecting illegal and violent interface calls to ensure normal stability. The interface services to customers. In the existing API authorization verification system, the random number brought by the user when calling the interface is used to realize the anti-theft (that is, the random number repeatability check) and the access frequency restriction, and the traditional data such as mysql data...

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