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

Online interface code generation method based on springboot

A technology of interface code and code, which is applied in the direction of code compilation, program code conversion, multi-channel program installation, etc., can solve the problems of time-consuming, labor-intensive, long process, etc., and achieve the effect of speeding up the deployment speed

Active Publication Date: 2022-05-27
LINEWELL SOFTWARE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the data center open service, the interface for changing the data center is released after the development of the developer is completed, tested, packaged, and the process is relatively long
Especially when developing some common interfaces, it is time-consuming and labor-intensive

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
  • Online interface code generation method based on springboot

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The technical solutions of the present invention will be described in detail below with reference to the accompanying drawings.

[0037] The present invention is a Springboot-based online interface code generation method, which provides a SpringBoot-based distributed micro-service system, including a main control terminal and a plurality of micro-service clients; wherein,

[0038] The main control terminal is used for source code generation, distributes source code to multiple microservice clients, initiates operations including hot updates, and receives the processing results of each microservice client;

[0039] The microservice client is used to receive the source code, pre-compile to check whether the code is compiled successfully, and finally perform a hot update to reload the SpringBoot context, load the successfully compiled class from the source code into Spring's IoC, and register it as a Spring service for invocation .

[0040] The following are specific impl...

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 Springboot-based online interface code generation method. Provides a distributed microservice system based on SpringBoot, including a master control terminal and multiple microservice clients; among them, the master control terminal is used for source code generation, distributes source code to multiple microservice clients and initiates operations including hot updates, Receive the processing results of each microservice client at the same time; the microservice client is used to receive source code, precompile and check whether the code is successfully compiled, and finally perform hot update to reload the SpringBoot context, and load the Class compiled from the source code into Spring's IoC , registered as a Spring service for invocation. In the environment of the micro-service distributed system, the present invention can quickly generate the source code according to the pre-fabricated code module, and do not need to re-develop, test and deploy the process; and the hot update supports the distributed micro-service system, and the program only needs to be re-SpringBoot In the application context, the process is not restarted, which speeds up the deployment.

Description

technical field [0001] The invention relates to the technical field of general interface code generation and hot update in data center open services, in particular to an online interface code generation method based on Springboot. Background technique [0002] In the data center open service, the interface for data center changes is released after the developer has completed the development, after testing and packaging, and the process is relatively long. Especially when developing some common interfaces, it is time-consuming and labor-intensive. [0003] Existing hot update technologies such as devtool are based on a single JVM process. The IDE compiles the source code into a .class and then performs hot loading. It is mainly used to speed up development and reduce the time for repeatedly restarting the JVM process. SUMMARY OF THE INVENTION [0004] The purpose of the present invention is to provide an online interface code generation method based on Springboot, in the e...

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 Patents(China)
IPC IPC(8): G06F8/41G06F9/445G06F8/65G06F9/54
CPCG06F8/447G06F9/547G06F8/65G06F9/44505
Inventor 吴志雄陈大耀
Owner LINEWELL SOFTWARE
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