Microservice Generation via Segmentation and Universality
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Microservice applications face challenges such as low running speed, high deployment and maintenance costs, and complexity due to tight coupling and large volumes as the number of services expands, making it difficult to customize and manage effectively.
Innovation Solution
A method for generating a microservice application that customizes microservices based on user requirements, determining a service set, deployment mode, and parameter information to match user needs, simplifying deployment and operation by providing a tailored set of functions and deployment configurations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Stability of the object's composition
If a single application integrates all services together, then service coupling is realized, but running speed decreases and volume increases
Solution Approach 1:
The patent segments the monolithic application into multiple independent microservices, each running in its own process. This segmentation allows services to be deployed and executed independently, improving running speed while maintaining service coupling through defined interfaces and communication protocols.
2Stability of the object's composition
If a single application integrates all services together, then service coupling is realized, but operation and maintenance complexity increases
Solution Approach 1:
The patent segments the monolithic application into multiple independent microservices, each running in its own process. This segmentation allows services to be deployed and executed independently, improving running speed while maintaining service coupling through defined interfaces and communication protocols.
3Adaptability or versatility
If microservice applications consist of a large number of small services, then service independence is achieved, but deployment cost increases
Solution Approach 1:
The patent introduces a unified service registration center and service governance platform that serve multiple microservices simultaneously. This universal infrastructure enables independent services to share common resources for service discovery, monitoring, and management, thereby reducing overall deployment costs while maintaining service independence.
4Adaptability or versatility
If microservice applications consist of a large number of small services, then service independence is achieved, but operation and maintenance cost increases
Solution Approach 1:
The patent introduces a unified service registration center and service governance platform that serve multiple microservices simultaneously. This universal infrastructure enables independent services to share common resources for service discovery, monitoring, and management, thereby reducing overall deployment costs while maintaining service independence.
Data Source
Figure 1
Figure 2(a)~2(b)
Figure 2(c)~2(d)
AI summary
The embodiments of the present disclosure relate to a micro-service generation method and apparatus, a device and a storage medium. The method comprises: determining a service set of a micro-service according to a first requirement of a user; determining a deployment means of a controlled device for the micro-service; determining parameter information of the micro-service according to a second requirement of the user; and generating the micro-service according to the service set, the deployment means and the running parameters.