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

Micro-service management system capable of automatically generating codes and code generation method

A technology for automatically generating and managing systems, applied in the field of microservices, can solve problems such as time-consuming, impact on development work progress, and low efficiency, and achieve the effects of improving code availability, improving software productivity, and reducing error rates

Pending Publication Date: 2020-10-27
SHANDONG UNIV
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In traditional software development, developers create new applications in local editors or code generators officially provided by software frameworks. During the process of creating applications, if different developers configure project types, framework versions, development language versions, packaging types, and project dependencies Different operation content in other aspects will lead to inconsistent microservice application engineering structure in a system, which will pose a threat to system reliability and code quality
[0005] The microservice interface is attached to the microservice application and is used to send or receive requests. It is the core to ensure the internal and external communication of the microservice system. However, the current microservice architecture is still in a state of promotion, and most developers have not touched the microservice interface. Therefore, it takes a lot of time for personnel training before the development work starts, and the progress of the development work will be affected. Even if the developers master the development method of the microservice interface, the microservice interface in a microservice system There are a large number, each interface has different requirements for parameters, the verification process is cumbersome, and the manual development method is inefficient, which seriously affects the iteration speed of the software life cycle. The advantages of convenient and agile development cannot be seen

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 management system capable of automatically generating codes and code generation method
  • Micro-service management system capable of automatically generating codes and code generation method
  • Micro-service management system capable of automatically generating codes and code generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Such as figure 1 As shown, Embodiment 1 of the present disclosure provides a microservice development management system, including:

[0050] The system division unit management module 101 is used to manage the most basic unit of the division function modules in the micro-service system. The basic unit of division function modules can be customized according to the business background. The micro-service application belongs to one and only one division unit. Describe the basic division unit of the microservice system.

[0051] The basic information management module 102 is configured to manage the basic information of the microservice application and the microservice interface.

[0052] The code generation module 103 is configured to generate a microservice application code according to the basic information of the microservice application, and generate a microservice interface code according to the basic information of the microservice interface.

[0053] The code transm...

Embodiment 2

[0078] Such as figure 2 As shown, Embodiment 2 of the present disclosure provides a microservice application development management method, including the following steps:

[0079] Step 201, design system division units according to business requirements;

[0080] Step 202, on the basis of a certain system division unit, maintain the basic information of the microservice application, including the microservice application number, microservice application name, person in charge number, person in charge name, code base type, system division basis unit, code base path, etc.;

[0081] Step 203, according to the microservice application type, obtain the microservice application template code from the code base;

[0082] Step 204, generating a microservice application code according to the basic information of the microservice application and the template code of the microservice application;

[0083] Step 205, upload the code generated by the microservice application to the code...

Embodiment 3

[0085] Such as image 3 As shown, Embodiment 3 of the present disclosure provides a service provider development management method, including the following steps:

[0086] Step 301, design the basic information of the micro-service interface, including design interface type, interface Chinese name, interface method name, interface class name, interface input parameters and interface output parameters, and complete the micro-service interface design;

[0087] Step 302, download the service provider code to the local, which is characterized in that it includes all the microservice interfaces provided by the current microservice application, according to the interface information of the designed microservice interface, the microservice interface redirection class file is generated to use the microservice The request is distributed to the corresponding processing class, and the interface parameter inspection class file is generated at the same time;

[0088] Step 303: Publish the...

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 provides a micro-service management system capable of automatically generating codes and a code generation method. The system comprises a system division unit management module, a basicinformation management module, a code generation module and a code transmission module, the code generation module is used for generating a micro-service application code according to the basic information of the micro-service application and the micro-service application template code, and generating a micro-service interface code according to the basic information of the micro-service interfaceand the micro-service application code; the code transmission module is used for sending a micro-service application template code to the code generation module and uploading a micro-service application and a micro-service interface code to the code storage module. According to the method, the system development difficulty under the micro-service architecture is effectively reduced, the code availability is improved, the error rate is reduced, and great convenience is provided for micro-service system research and development, software integrity maintenance, software rapid iteration and rapiddemand landing.

Description

technical field [0001] The present disclosure relates to the technical field of microservices, and in particular to a microservice management system and a code generation method for automatically generating codes. Background technique [0002] The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. [0003] Microservice architecture is a new type of software architecture produced in recent years. It has been widely concerned and applied at home and abroad. Microservice architecture breaks through the technical bottleneck brought by traditional architecture models and brings new vitality to software development. Under the service architecture, software is split into a large number of smaller applications. How to quickly work under the microservice architecture and ensure code quality is a difficult problem for developers to deal with. [0004] The inventors of the present disclosure ...

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/70G06F8/30
CPCG06F8/30G06F8/70
Inventor 李晖王硕琼钱进崔立真
Owner SHANDONG UNIV
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