Method and system for realizing AWS API based on RESTful API

A legal and time-stamping technology, applied in the information field, can solve problems such as synchronous upgrades, achieve the effect of reducing code repetition and good promotion and application value

Inactive Publication Date: 2019-08-20
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If openapi is redeveloped, when RESTful API is iteratively upgraded, AWS API n

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
  • Method and system for realizing AWS API based on RESTful API
  • Method and system for realizing AWS API based on RESTful API
  • Method and system for realizing AWS API based on RESTful API

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0035] Example

[0036] The method for implementing AWS API based on RESTful API of the present invention filters replay attack requests through the timestamp stored in redis, reads the request body required by RESTful API in the configuration file, and converts the parameters received by AWS API into RESTful API. For the required parameters, send an http request according to the url and request parameters of the RESTful API in the configuration file.

[0037] The method of implementing AWS API based on RESTful API uses the interceptor to save random numbers in redis to determine whether the request is a replay attack, and if not, let it go. All requests use a public method to read the body and url configured in the configuration file, assemble the message, call the RESTful API through an http request, and return data in json or xml format according to the format parameter in the request.

[0038] RESTful API is transparent to AWS API. When the business logic of RESTful API changes,...

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 discloses a method and a system for achieving an AWS API based on RESTful API, and belongs to the technical field of information. The method for realizing the AWS API based on the RESTful API comprises: using a time stamp stored in redis for filtering a replay attack request; and reading a request body required by the RESTful API in the configuration file, converting parameters received by the AWS API into parameters required by the RESTful API, and sending an http request according to the url and the request parameters of the RESTful API in the configuration file. According to the method for realizing the AWS API based on the RESTful API, codes do not need to be redeveloped, the code repeatability is reduced, and the popularization and application value is very high.

Description

technical field [0001] The present invention relates to the field of information technology, and specifically provides a method and system for realizing AWS API based on RESTful API. Background technique [0002] With the gradual increase in the complexity of the B / S system, the design of front-end and back-end separation has become the mainstream of design. The back-end provides RESTful API to realize the encapsulation of business logic, focusing on high concurrency, high availability, high performance, security and storage. The front-end calls the back-end RESTful API, focusing on page performance, compatibility and user experience, does not care about the specific implementation of business logic. The design of front-end and back-end separation can reduce the coupling degree of B / S system, and the technology selection of front-end and back-end does not affect each other. [0003] The public cloud has developed rapidly in recent years, and mainstream public cloud vendors ...

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/06H04L29/08G06F9/54G06F8/30H04L9/32
CPCH04L63/1466H04L63/108G06F9/547G06F8/30H04L9/3297G06F2209/541H04L67/565
Inventor 靳登科于昊董信超
Owner SHANDONG LANGCHAO YUNTOU INFORMATION 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