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

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 needs to be upgraded synchronously, and a lot of manpower and time are invested

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

Embodiment

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

[0037] In this method of implementing AWS API based on RESTful API, the interceptor saves random numbers in redis to judge whether the request is a replay attack, and if not, it is released. 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 the http request, and return data in json or xml format according to the format parameter in the request.

[0038] The RESTful API is transparent to...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products