Application programming interface access method and system, server and clients

A programming interface and application program technology, applied in the computer field, can solve the problems of easily stolen access information and low access security

Inactive Publication Date: 2018-04-13
JINAN INSPUR HIGH TECH TECH DEV CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When designing a REST-style Web Service API, the API platform is usually directly exposed to the public network. When users access the API, their access information is transmitted through the

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
  • Application programming interface access method and system, server and clients
  • Application programming interface access method and system, server and clients
  • Application programming interface access method and system, server and clients

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0062] Such as figure 1 As shown, the embodiment of the present invention provides an application programming interface access method, which is applied to the server, and the method may include the following steps:

[0063] Step 101: Obtain registration information sent by at least one external client;

[0064] Step 102: According to the registration ...

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 application programming interface access method and system, a server and clients. When the method is applied to the server, the method includes the following steps: acquiringregistration information sent by at least one external client; generating an access key corresponding to each piece of registration information according to the registration information, storing eachaccess key, and sending the access keys to the corresponding clients; receiving an access request sent by a target client; parsing the access request to obtain a first message authentication code, arandom character string and target registration information corresponding to the target client; searching a target key corresponding to the target registration information from each stored access key,and generating a second message authentication code according to the target key and the random character string; and determining whether the first message authentication code is the same as the second message authentication code, and if so, issuing an access authority corresponding to an application programming interface to the target client. According to the scheme, the security of API access can be improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an application programming interface access method, system, server and client. Background technique [0002] REST is a software architectural style for distributed hypermedia systems, commonly used in widely popular protocols and standards such as HTTP, URI, XML, and HTML. REST Application Programming Interface (Application Programming Interface, API) is currently a relatively mature set of API design theory for Internet applications. [0003] When designing a REST-style Web Service API, the API platform is usually directly exposed to the public network. When users access the API, their access information is transmitted through the public network, which makes the access information easy to be stolen during the transmission process. The thief can The access information is used to access the API, resulting in low access security of the API. Contents of the invention ...

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
IPC IPC(8): H04L29/06
CPCH04L63/0428H04L63/08H04L63/083H04L63/10
Inventor 周祥龙李秀芳展召磊郑彬
Owner JINAN INSPUR HIGH TECH TECH DEV 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