Normalized RESTful microservice interaction method

An interaction method and micro-service technology, applied in the field of standardized RESTful micro-service interaction, it can solve the problems of confusing URI expression, high security level, fine-grained, etc., and achieve the effect of improving governance efficiency and efficient and unified service interaction.

Inactive Publication Date: 2018-11-06
SHANDONG INSPUR COMML SYST CO LTD
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] By standardizing the definition of RESTful API URI, solve the problem of confusing URI expression; by standardizing a set of RESTful resource operation expression, satisfy the associated operation expression of multiple resources in actual application scenarios; by standardizing microservice security access control, solve the high security level of microservice , fine-grained access control issues;

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
  • Normalized RESTful microservice interaction method
  • Normalized RESTful microservice interaction method
  • Normalized RESTful microservice interaction method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0042] This embodiment proposes a standardized RESTful microservice interaction method, as shown in the attached figure 1 As shown, referring to Dr. RoyThomas Fielding's "Architectural Style and Network-Based Software Architecture Design" document, the REST interface constraints are defined: identification of resources, operations performed on resources through expressions, and self-describing messages (self -descriptive messages), and the hypermedia as the application state engine, this embodiment defines microservice standardization standards for RESTful API URI definition specifications, resource operation expression specifications, and security access control specifications.

[0043] This embodiment standardizes the RESTful microservice interaction method, as shown in the attached figure 1 As shown, using the microservice standardized component RESTful API URI rule configurator to realize the standardized RESTful API URI definition, using the microservice standardized comp...

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 normalized RESTful microservice interaction method, and relates to a microservice architecture and a service interaction normalization technology. A RESTful API URI (UniformResource Identifier) rule configurator is adopted to implement normalized RESTful API URI definition, a resource operation expression rule configurator is adopted to implement normalized resource operation expression, and a safety access control rule configurator is adopted to implement normalized microservice safety access control; by normalized RESTful API URI definition, a problem of URI expression confusion is solved; by normalized resource operation expression, associated operation expression of various resources in an actual application scene is met; and by normalized microservice safetyaccess control, a problem of high-safety-level fine-grained access control of microservices is solved. According to the invention, various defects caused by adoption of a nonstandardized access modebetween each microservice are overcome, and service interaction of a microservice platform is more efficient, uniform, reasonable and normalized.

Description

technical field [0001] The present invention relates to a microservice architecture and service interaction specification technology, in particular to a standardized RESTful microservice interaction method. Background technique [0002] With the emergence of new technology concepts such as microservices and containers, lightweight application architectures and separation of front and backend technology architectures have become mainstream. The RESTful microservice architecture can well support various forms of upper-level application presentation (Web applications, Mobile APP, IPAD, WeChat, etc.), has become the main technical realization of service interaction in informatization construction. However, the RESTful software architecture style only provides a set of design principles and constraints, not an actual standardized standard, which leads to the following problems or disadvantages in the actual application practice of using RESTful API+JSON service interaction: [0...

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/54H04L29/08
CPCG06F9/547H04L67/02
Inventor 窦海雷程林
Owner SHANDONG INSPUR COMML SYST 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