Dynamic script rapid development method based on micro-service management and control

A technology of dynamic scripts and microservices, which is applied in the direction of program code conversion, instruments, electrical digital data processing, etc., can solve the problems of good scalability, reduce development complexity, and high reliability, and achieve good scalability and reduce development complexity , high reliability effect

Pending Publication Date: 2021-11-16
数字丝路新疆产业投资集团有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a rapid development method for dynamic scripts based on microservice management and control, so as to solve the problem that the current mainstream Java Web projects proposed in the above-mentioned background technology all use the Spring Boot / Cloud framework as a basis, and develop Web projects that are separated from the front and back ends. During the development process, developers will do a lot of work other than business development, such as writing the controller layer, data transmission layer, service layer, mapping from Java objects to relational databases and the design of the persistence layer, creating a series of interface implementation files and codes, so that program developers cannot concentrate on the development of business codes, and every time the service logic in the background is modified, the program needs to be restarted, which will also lead to the problem of low development efficiency, and the present invention dynamically parses the Groovy business through the script engine The script returns the execution result to the client, and the client performs data processing or display without restarting the server, reducing development complexity, high reliability, and good scalability

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
  • Dynamic script rapid development method based on micro-service management and control
  • Dynamic script rapid development method based on micro-service management and control
  • Dynamic script rapid development method based on micro-service management and control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Such as Figure 1-4 As shown, the rapid development method of dynamic script based on microservice management and control includes a receiving module 201 and an adaptation module 202, and also includes a Groovy scripting language, an analysis module 203 and an operation module 204, and the receiving module 201 is coupled with the adaptation module 202 , the adaptation module 202 is coupled to the parsing module 203, the parsing module 203 is coupled to the running module 204, the Groovy script language writes the original program, the receiving module 201 accepts the input original program, and the adaptation The module 202 adapts the original program input by the receiving module 201, and the parsing module 203 calls the target script engine corresponding to the script language to parse the original program and verify the validity of the script.

[0041] Wherein, the calling target scripting engine corresponding to the scripting language parses the original program and c...

Embodiment 2

[0062] Such as Figure 1-4 As shown, the rapid development method of dynamic script based on microservice management and control includes a receiving module 201 and an adaptation module 202, and is characterized in that it also includes a Groovy script language, an analysis module 203 and an operation module 204, and the receiving module 201 and the adaptation module 202 is coupled and connected, the adaptation module 202 is coupled with the analysis module 203, the analysis module 203 is coupled with the operation module 204, the Groovy script language writes the original program, and the receiving module 201 accepts the input original program, The adaptation module 202 adapts the original program input by the receiving module 201, and the parsing module 203 invokes the target script engine corresponding to the script language to parse the original program and verify the validity of the script.

[0063] Wherein, before the step of calling the target script engine correspondin...

Embodiment 3

[0084] Such as Figure 1-4 As shown, the rapid development method of dynamic script based on microservice management and control includes a receiving module 201 and an adaptation module 202, and is characterized in that it also includes a Groovy script language, an analysis module 203 and an operation module 204, and the receiving module 201 and the adaptation module 202 is coupled and connected, the adaptation module 202 is coupled with the analysis module 203, the analysis module 203 is coupled with the operation module 204, the Groovy script language writes the original program, and the receiving module 201 accepts the input original program, The adaptation module 202 adapts the original program input by the receiving module 201, and the parsing module 203 invokes the target script engine corresponding to the script language to parse the original program and verify the validity of the script.

[0085] Wherein, the original program includes: receiving input script basic info...

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 discloses a dynamic script rapid development method based on micro-service management and control. Comprising a receiving module and an adaptation module, and further comprising a Groovy script language, an analysis module and an operation module. The receiving module is in coupling connection with the adaptation module; the adaptation module is in coupling connection with the analysis module; and the analysis module is coupled with the operation module. The Groovy script language writes an original program, the receiving module receives the input original program, the adaptation module adapts the original program input by the receiving module, and the analysis module calls a target script engine corresponding to the script language to analyze the original program and verify the effectiveness of a script. According to the invention, the Groovy service script is dynamically analyzed through the script engine, the execution result is returned to the client side, the client side carries out data processing or display, a server does not need to be restarted, the development complexity is reduced, the reliability is high, and the expansibility is good.

Description

technical field [0001] The invention belongs to the technical field of rapid development, and in particular relates to a rapid development method for dynamic scripts based on microservice management and control. Background technique [0002] Spring Boot is a new framework provided by the Pivotal team, which is designed to simplify the initial construction and development process of new Spring applications. The framework uses a specific approach to configuration, so that developers no longer need to define boilerplate configuration. [0003] Spring Boot is a collection of libraries that can be used by any project's build system. For convenience, the framework also provides a command-line interface, which can be used to run and test Boot applications. Release versions of the framework, including the integrated CLI (command line interface), can be downloaded and installed manually from the Spring repository. An easier way is to use the Groovy environment manager (Groovy enVi...

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/41
CPCG06F8/427
Inventor 于文革魏详雨顾伟周鲁孔峰王鹏冯凡
Owner 数字丝路新疆产业投资集团有限公司
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