Low-code business enhancement method and system

By modifying the classpath path, adding business enhancement configuration and using template mode, the problem that the low-code development platform cannot meet the actual business needs is solved, and the rapid development and effectiveness of low-code business enhancement code is achieved, and the development efficiency and product competitiveness are improved.

CN119938056APending Publication Date: 2025-05-06SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510002652.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The basic functions provided by low-code development platforms cannot meet actual business needs. The traditional code development deployment methods require recompilation, packaging, and deployment, resulting in a long development time and time-consuming and labor-intensive development.

Method used

By modifying the classpath path of low-code applications, adding business enhancement configuration, defining the code development framework, using the template mode to reserve the enhanced code before and after business execution, and copying the compiled class file to the specified path, so that the business enhancement code takes effect.

Benefits of technology

It realizes the rapid development and effectiveness of low-code business-enhanced code, improves development efficiency, reduces development difficulty, and improves the competitiveness of low-code platform products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938056A_ABST
    Figure CN119938056A_ABST
Patent Text Reader

Abstract

The invention discloses a low-code business enhancement method and system, and belongs to the technical field of computer software and low-code development, the implementation of the method comprises the following steps: 1) modifying a classpath path of a low-code application for storing business enhancement compiled codes; 2) adding service enhancement configuration, and configuring a service interface needing to be enhanced; 3) defining a code development framework, and introducing a development kit required by development; (4) a template mode is used on a low-code platform, and enhanced codes are reserved and inserted before and after actual business execution; and 5) newly adding an interface, and copying a compiling class file of the business enhancement code to a specified class path. According to the method and the device, the newly-added codes can take effect only by compiling the newly-added codes, so that the development efficiency of the business enhancement codes can be improved, and the development difficulty is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer software and low-code development technology, and specifically to a low-code business enhancement method and system. Background Art

[0002] By deploying advanced visual development tools, low-code development platforms greatly reduce the complexity of application development, allowing users with weak technical backgrounds or no background to easily design and build applications.

[0003] However, the basic functions provided by low-code may not meet actual business needs, and additional code needs to be developed to enhance business interface functions. Traditional code development and deployment methods require recompilation, packaging, and deployment processes, which takes a long time to verify the correctness of business codes, and development is time-consuming and labor-intensive. Summary of the invention

[0004] The technical task of the present invention is to address the above shortcomings and provide a low-code business enhancement method and system, which only requires compiling the newly added code to take effect, thereby improving the development efficiency of the business enhancement code and reducing the development difficulty.

[0005] The technical solution adopted by the present invention to solve its technical problem is:

[0006] A low-code business enhancement method, the implementation of which includes the following steps:

[0007] 1) Modify the classpath of the low-code application to store the code compiled for business enhancement;

[0008] 2) Add business enhancement configuration and configure the business interfaces that need to be enhanced;

[0009] 3) Define the code development framework and introduce the development packages required to ensure rapid development;

[0010] 4) Use the template mode in the low-code platform to reserve and insert enhanced code before and after the actual business execution;

[0011] 5) Add a new interface and copy the compiled class file of the business enhancement code to the specified classpath path.

[0012] Furthermore, the classpath path of the low-code application is modified. For the classpath path in the jar package of the low-code business, / usr / lowcode is added as the classpath to store the business enhancement code.

[0013] Furthermore, the added service enhancement configuration configures the service interface that needs to be enhanced:

[0014] For the operations provided by low-code, configure the low-code class name, method name, pre-business execution operations, or post-business execution operations of low-code;

[0015] For new service interfaces, configure the class name, method name, and interface request path corresponding to the interface.

[0016] Furthermore, the operations provided by the low-code include adding, querying, modifying, deleting, importing, and exporting operations.

[0017] Furthermore, the development packages required for the development are introduced, including the original jar packages and basic jar packages of the low-code; and the jar packages are managed using mvn;

[0018] At the same time, deploy a cloud IDE on the server; when enhancing low-code functions, use cloud IDE to open the low-code development framework to avoid reconfiguring the environment.

[0019] Furthermore, the step 4) is specifically implemented as follows:

[0020] The service enhancement configuration performed in step 2) is cached, and judgment is performed before and after the service execution code. If there is a corresponding configuration, the service enhancement code is executed through reflection call according to the corresponding configuration.

[0021] Furthermore, the step 5) is specifically implemented as follows:

[0022] After the business enhancement code is developed, use mvn to compile and generate the corresponding class file;

[0023] Provide interface calls to the front end, copy the class file to the path configured in step 1), and the business enhancement code will take effect.

[0024] The present invention also claims protection for a low-code business enhancement system, comprising:

[0025] The classpath modification module modifies the classpath path of the low-code application to store the business enhancement compiled code;

[0026] Configuration module, used to add business enhancement configuration and configure the business interface that needs to be enhanced;

[0027] The code development framework layout module is used to define the code development framework and introduce the development packages required for development to ensure rapid development;

[0028] The code insertion module uses the template mode on the low-code platform to reserve the insertion enhancement code before and after the actual business execution;

[0029] Interface configuration module, add interfaces, copy compiled class files of business enhancement codes to the specified classpath path;

[0030] The system achieves low-code business enhancement through the above-mentioned low-code business enhancement method.

[0031] The present invention also claims a low-code business enhancement implementation device, comprising: at least one memory and at least one processor;

[0032] The at least one memory is used to store a machine-readable program;

[0033] The at least one processor is used to call the machine-readable program to implement the above method.

[0034] The present invention also claims protection for a computer-readable medium, characterized in that computer instructions are stored on the computer-readable medium, and when the computer instructions are executed by a processor, the above method is implemented.

[0035] Compared with the prior art, the low-code business enhancement method and system of the present invention have the following beneficial effects:

[0036] The present invention only needs to compile the newly added code to take effect, which can further improve the development efficiency of business enhancement code and enhance the competitiveness of low-code platform products. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flowchart of a low-code business enhancement implementation provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0038] The present invention will be further described below in conjunction with specific embodiments.

[0039] An embodiment of the present invention provides a low-code business enhancement method, and the implementation of the method includes the following steps:

[0040] 1. Modify the classpath path of the low-code application to store the code for business enhancement compilation;

[0041] 2. Add business enhancement configuration and configure the business interfaces that need to be enhanced;

[0042] 3. Define the code development framework and introduce the development packages required to ensure rapid development;

[0043] 4. Use the template mode on the low-code platform to reserve and insert enhanced code before and after the actual business execution;

[0044] 5. Add a new interface and copy the compiled class file of the business enhancement code to the specified classpath path.

[0045] The modified classpath path of the low-code application is used to store the business enhancement compiled code; currently, the classpath path in the jar package of the low-code business is only accessible to the classes under the system path outside the path. This method additionally adds / usr / lowcode as the classpath to store the business enhancement code.

[0046] The added service enhancement configuration configures the service interface that needs to be enhanced:

[0047] The operations provided by low-code include adding, querying, modifying, deleting, importing, and exporting. For the operations provided by low-code, configure the low-code class name, method name, pre-business execution operations, or post-business execution operations of low-code.

[0048] For new service interfaces, configure the class name, method name, and interface request path corresponding to the interface.

[0049] The code development framework is defined, and the development packages required for development are introduced. The business enhancement code needs to introduce the original jar packages of the low-code and some basic jar packages; use mvn to manage the jar packages;

[0050] At the same time, deploy a cloud IDE on the server; when enhancing low-code functions, use cloud IDE to open the low-code development framework to avoid reconfiguring the environment.

[0051] The template mode is used in the low-code platform to reserve and insert enhanced code before and after the actual business execution:

[0052] The service enhancement configuration performed in step 2 is cached, and judgment is performed before and after the service execution code. If there is a corresponding configuration, the service enhancement code is executed through reflection call according to the corresponding configuration.

[0053] The new interface copies the compiled class file of the service enhancement code to the specified classpath path. After the service enhancement code is developed, use mvn to compile and generate the corresponding class file; provide the interface call to the front end, copy the class file to the path configured in step 1, and the service enhancement code will take effect.

[0054] An embodiment of the present invention also provides a low-code business enhancement system, which implements low-code business enhancement through the low-code business enhancement method described in the above embodiment.

[0055] The system includes:

[0056] 1. The classpath path modification module modifies the classpath path of the low-code application to store the business enhanced compiled code.

[0057] Currently, in the classpath path of the jar package of the low-code business, only the classes under the system path can be accessed outside the path; / usr / lowcode is additionally added as classpath to store business enhancement codes.

[0058] 2. Configuration module, used to add business enhancement configuration and configure the business interface that needs to be enhanced.

[0059] Low-code generally provides adding, querying, modifying, deleting, importing, and exporting operations. For the operations provided by low-code, configure the low-code class name, method name, pre-business execution operations, or post-business execution operations. For new business interfaces, configure the corresponding class name, method name, and interface request path of the interface.

[0060] 3. Code development framework layout module, which is used to define the code development framework and introduce the development packages required for development to ensure rapid development.

[0061] The business enhancement code needs to introduce the original jar package of the low-code and some basic jar packages, and use mvn to manage the jar packages. Deploy a cloud ide on the server at the same time. When performing low-code function enhancement, use cloudide to open the low-code development framework to avoid reconfiguring the environment.

[0062] 4. Code insertion module, using the template mode on the low-code platform, reserves the insertion of enhanced code before and after the actual business execution.

[0063] The business enhancement configuration performed in the configuration module is cached, and judgment is performed before and after the business execution code. If there is a corresponding configuration, the business enhancement code is executed through reflection call according to the corresponding configuration.

[0064] 5. Interface configuration module, add new interfaces, and copy the compiled class files of the business enhancement code to the specified classpath path.

[0065] After the business enhancement code is developed, use mvn to compile and generate the corresponding class file. Provide an interface for the front end to call, copy the class file to the path configured by the classpath path modification module, and the business enhancement code will take effect.

[0066] An embodiment of the present invention further provides a low-code service enhancement implementation device, comprising: at least one memory and at least one processor;

[0067] The at least one memory is used to store a machine-readable program;

[0068] The at least one processor is used to call the machine-readable program to implement the low-code business enhancement method described in the above embodiment.

[0069] An embodiment of the present invention further provides a computer-readable medium having computer instructions stored thereon, and when the computer instructions are executed by a processor, the processor is caused to execute the low-code business enhancement method described in the above embodiment. Specifically, a system or device equipped with a storage medium may be provided, on which a software program code implementing the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or device is caused to read and execute the program code stored in the storage medium.

[0070] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0071] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0072] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0073] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0074] The present invention is shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the code review methods in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.

Claims

1. A low-code business enhancement method, characterized in that: The implementation of this method includes the following steps: 1) Modify the classpath of the low-code application to store the code compiled for business enhancement; 2) Add business enhancement configuration and configure the business interfaces that need to be enhanced; 3) Define the code development framework and introduce the development packages required for development; 4) Use the template mode in the low-code platform to reserve and insert enhanced code before and after the actual business execution; 5) Add a new interface and copy the compiled class file of the business enhancement code to the specified classpath path.

2. A low-code business enhancement method according to claim 1, characterized in that: The classpath path of the low-code application is modified. For the classpath path in the jar package of the low-code business, / usr / lowcode is added as the classpath to store the business enhancement code.

3. A low-code business enhancement method according to claim 1, characterized in that: The added service enhancement configuration configures the service interface that needs to be enhanced: For the operations provided by low-code, configure the low-code class name, method name, pre-business execution operations, or post-business execution operations of low-code; For new service interfaces, configure the class name, method name, and interface request path corresponding to the interface.

4. A low-code business enhancement method according to claim 3, characterized in that: The operations provided by the low-code include adding, querying, modifying, deleting, importing, and exporting.

5. A low-code business enhancement method according to claim 1, characterized in that: The development packages required for the introduction of development include the original jar packages and basic jar packages of the low-code; Use mvn to manage jar packages; At the same time, deploy a Cloud IDE on the server; when enhancing low-code functions, use Cloud IDE to open the low-code development framework.

6. A low-code business enhancement method according to claim 1, characterized in that: The step 4) is specifically implemented as follows: The service enhancement configuration performed in step 2) is cached, and judgment is performed before and after the service execution code. If there is a corresponding configuration, the service enhancement code is executed through reflection call according to the corresponding configuration.

7. A low-code business enhancement method according to claim 1, characterized in that: The step 5) is specifically implemented as follows: After the business enhancement code is developed, use mvn to compile and generate the corresponding class file; Provide interface calls to the front end, copy the class file to the path configured in step 1), and the business enhancement code will take effect.

8. A low-code business enhancement system, characterized in that: include: The classpath modification module modifies the classpath path of the low-code application to store the business enhancement compiled code; Configuration module, used to add business enhancement configuration and configure the business interface that needs to be enhanced; The code development framework layout module is used to define the code development framework and introduce the development packages required for development; The code insertion module uses the template mode on the low-code platform to reserve the insertion enhancement code before and after the actual business execution; Interface configuration module, add interfaces, copy compiled class files of business enhancement codes to the specified classpath path; The system achieves low-code business enhancement through the low-code business enhancement method described in any one of claims 1 to 7.

9. A low-code business enhancement implementation device, characterized in that: include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is used to call the machine-readable program to implement the method described in any one of claims 1 to 7.

10. A computer-readable medium, characterized in that The computer readable medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.