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

Interface calling method and device, computer equipment and readable storage medium

A technology of interface calling and interface, applied in the computer field, can solve problems such as security risks and cumbersome verification steps, and achieve the effect of solving cumbersome verification steps and reducing verification steps

Pending Publication Date: 2021-02-05
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides an interface calling method, device, computer equipment and readable storage medium to at least solve the problems of cumbersome verification steps and security risks in related technologies

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
  • Interface calling method and device, computer equipment and readable storage medium
  • Interface calling method and device, computer equipment and readable storage medium
  • Interface calling method and device, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0057] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. In addition, it can also be understood that although such development efforts may be complex and lengthy, for those of ...

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 relates to an interface calling method and device, computer equipment and a readable storage medium. The method comprises the steps that a first micro-service carries out the Hash of JWTinformation, obtains a first Hash value, and carries out the signature encryption through a private key of the first micro-service; the first micro-service encrypts the request parameter and the signature content through a public key of the second micro-service, and sends the encrypted content to the second micro-service through an interface; the second micro-service decrypts the received contentthrough a private key of the second micro-service, and performs JWT Hash value decryption through a public key of the first micro-service to obtain a second Hash value; the second micro-service compares the second Hash value with the first Hash value; and if the comparison result of the second Hash value and the first Hash value is consistent, the second micro-service returns service data corresponding to the request parameter to the first micro-service through the interface. According to the invention, the problems of tedious verification steps and security risks in the prior art are solved,and security and effectiveness of information interface calling among multiple platforms are realized.

Description

technical field [0001] The present application relates to the computer field, in particular to an interface calling method, device, computer equipment and readable storage medium. Background technique [0002] Under the microservice framework, information is shared between microservices through the service interface. In this case, the callee will often take the following methods to ensure that the interface service is not called maliciously. The first way is to log in with the account password of the called party or obtain the authentication authority qualification in other ways; the second way is that the called party provides a special field (value) to prompt the caller to bypass the authentication authorization. [0003] The above-mentioned first method is suitable for the high-trust platform to provide interface calls to obtain information for other multiple platforms. The verification steps are relatively cumbersome, and it is not suitable for the mutual calling of a la...

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): G06F9/54G06F21/60
CPCG06F9/547G06F21/606
Inventor 任炜刚范渊刘博
Owner HANGZHOU ANHENG INFORMATION 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