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

Micro-service development framework for governing function plug-in and implementation method

A development framework and micro-service technology, applied in software design, software reuse, software engineering design, etc., can solve problems such as increasing development costs, increasing micro-service understanding costs, and having no solutions

Pending Publication Date: 2022-05-13
厦门点触科技股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above two solutions generally have the following problems for this scenario: 1. Developers need to perceive and define function realization
If the governance functions held by individual microservices in a large microservice cluster are consistent, it is not necessary for every microservice developer to perceive and define the realization of this level of function, because each function requires the developer to implement it at the code level. A large amount of processing logic is used, and sometimes business encapsulation is carried out for general concepts, which increases the understanding cost of different microservices
2. If the function is integrated internally, there will be a problem that the replacement of a single function cannot be easily completed when the current function technology selection does not meet the business status quo
3. For different microservice development frameworks, if the function registration methods are different, when switching frameworks, the scene of function realization needs to be rewritten, which increases the development cost
[0004] At present, there is no standard and effective solution for the dependence of plug-ins in existing solutions. At present, the industry can only pass parameters and let developers handle the initialization logic by themselves. This is very easy to couple the logic with the framework. For development For personnel, they also need to pay attention to the life cycle of plug-ins, which cannot solve the problem that plug-ins need to depend on decoupling or adopt loose coupling

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
  • Micro-service development framework for governing function plug-in and implementation method
  • Micro-service development framework for governing function plug-in and implementation method
  • Micro-service development framework for governing function plug-in and implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] like figure 1 As shown, the microservice development framework of the present invention includes a network layer, a governance function layer and an infrastructure layer, wherein:

[0038] During the operation of the microservice development framework, the network layer accepts the inflow of actual network requests and passes them down to the governance function layer.

[0039] The infrastructure layer includes infrastructure instances and constructor pools; the constructor pool stores all plug-in constructors and infrastructure constructor function methods; the constructor refers to a structure that can have input parameters and return values Method, such as a new plug-in method, the input parameter dependency is A, and the return value is B plug-in, which means the B plug-in constructor function method that depends on A; the function method stored in the constructor pool is used uniformly during the startup process of the microservice development framework The fx fra...

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 a micro-service development framework for governing function plug-in and an implementation method thereof, which solve the business problem of how to enable a function module to be universal and loosely coupled with the framework by adopting a plug-in implementation mode and design schemes such as object-oriented interface design and dependency injection, greatly reduce the use and maintenance cost of an access party, and improve the development efficiency of the micro-service development framework for governing the function plug-in and the implementation method of the micro-service development framework for governing the function plug-in. And the internal complexity of the micro-service development framework is reduced. Meanwhile, common interface aggregation definitions of independent functions such as configuration updating are defined in the micro-service development framework, when the plug-ins achieve the interface definitions, the framework can process corresponding logics to provide support for independent updating of the plug-ins, the plug-ins can guarantee independent service providing in the face of specific business scenes, and the development efficiency of the micro-service development framework is improved. The method is not influenced by other businesses, and is decoupled from the businesses and other plug-ins.

Description

technical field [0001] The invention belongs to the field of micro-service development frameworks, and in particular relates to a micro-service development framework with plug-in management functions and an implementation method. Background technique [0002] Microservices refers to the splitting of a large single application and service into multiple manageable services with the same function. Each service chooses a technology stack according to its own needs, does not affect each other, and is convenient for development and maintenance. The advantage is that it can effectively split applications and achieve agile development and deployment. After micro-service, there will be intricate dependencies between services. For example, a front-end request generally depends on multiple back-end services. In an actual production environment, services are often not 100% reliable, and services may fail or cause delays. If an application cannot fault-tolerant and isolate the faults it...

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): G06F8/20G06F8/30G06F8/36G06F8/70G06F9/445G06F9/54G06F8/656
CPCG06F8/24G06F8/315G06F8/36G06F8/70G06F9/44526G06F9/545G06F9/548G06F8/656
Inventor 上官成刘浩渊朱静波黄晓琳
Owner 厦门点触科技股份有限公司
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