Implementation method of microservice framework integrating with free combination of multiple communication protocols

A communication protocol and micro-service technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of changing communication protocols, complex projects, and the failure of a single communication mode to meet the requirements, so as to reduce the workload of replacement. Effect

Inactive Publication Date: 2019-04-05
G CLOUD TECH
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the development process of the project, as time goes by, the needs put forward by users will continue to increase, and the complexity of the project will become larger and larger. In the actual development of

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
  • Implementation method of microservice framework integrating with free combination of multiple communication protocols
  • Implementation method of microservice framework integrating with free combination of multiple communication protocols
  • Implementation method of microservice framework integrating with free combination of multiple communication protocols

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The invention adopts specific annotations and interface forms to define services, integrates RPC and REST based on HTTP communication protocol and provides services separately, and realizes automatic load balancing among different types of services when invoking through dynamic proxy.

[0043] In the embodiment of the present invention, two service modes, RPC and REST, are mainly integrated. Actually, this method can be freely expanded to realize a microservice framework integrating multiple protocols.

[0044] The present invention integrates a REST service method based on the HTTP protocol on the basis of an implementation method of a flexible and transparent micro-service framework based on annotations, and uses the concept of "interface as a service", that is, a service interface is a service, and a service application includes multiple services.

[0045] The present invention is divided into two aspects: service registration and service invocation. In the first asp...

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 the technical field of microservices, in particular to an implementation method of a microservice framework integrating with free combination of multiple communication protocols. The method defines the service by means of an annotation and interface form, integrates the RPC and the REST based on the HTTP communication protocol and provides services respectively, and automatically performs load balancing between different types of services when transfer is achieved through dynamic proxy. The implementation method achieve that the free combination service is employed topackage and deploy the service application to better extend the service throughput, can regulate the service deployment scheme at any time with the business development and the load condition, can easily meet a lot of different demands generated in the business development, and can freely integrate or replace communication protocols or service modes at any time with no need for replacement of business codes so as to greatly reduce the actual replacement workload.

Description

technical field [0001] The invention relates to the technical field of microservices, in particular to an implementation method of a microservice framework integrating various communication protocols for free combination. Background technique [0002] As the microservice architecture becomes more and more popular, more and more enterprises have begun to use the microservice architecture instead of the previous three-tier architecture, transforming multiple components in a single system into separate microservices, thus Quickly respond to user needs. There are more and more existing open source microservice frameworks, but basically they only support one communication protocol. For example, Dubbo is RPC, and Spring Cloud is HTTP-based REST. There is no framework that supports both communication protocols at the same time. [0003] In the development process of the project, as time goes by, the needs put forward by users will continue to increase, and the complexity of the pr...

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/08H04L12/24H04L29/06
CPCH04L41/0893H04L41/5041H04L41/5048H04L67/02H04L67/1004H04L69/18H04L67/51H04L67/56H04L67/133
Inventor 王攀锋季统凯
Owner G CLOUD TECH
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