A low-code model construction method based on interface-driven rapid integration of business processes

Through the fast integration of business process method based on interface, the problem of high data migration costs and inability to integrate code logic when migrating to low-code applications is solved, low-cost upgrade transformation and functional quality assurance are achieved, and code replication is improved. and system stability.

CN118259879BActive Publication Date: 2024-11-19GUANGZHOU YUNGU DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410169823.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-06
Publication Date
2024-11-19
Estimated Expiration
2044-02-06

AI Technical Summary

Technical Problem

When enterprises migrate from self-developed applications to low-code applications, they face the problems of high data migration costs and inability to integrate customized code logic, resulting in increased migration time costs and unavailable for functional quality.

Method used

Adopt a fast integration business process method based on interface drivers, and by configuring form objects, visual page design, automatic code output module and SDK integration jar package, the rapid generation and integration of front-end and back-end logical code is achieved, reducing developer intervention and ensuring code Comply with interface regulations.

Benefits of technology

It realizes low-cost low-code application upgrade and transformation without the need to integrate third-party systems, ensures functional quality, improves code reuse and system stability, and reduces development costs and time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118259879B_ABST
    Figure CN118259879B_ABST
Patent Text Reader

Abstract

The present invention discloses a low-code model construction method for rapidly integrating business processes based on interface drive, comprising the following steps: S10: setting the interface according to business needs and configuring the basic properties of the form object; S20: using a visual page design tool to set the form entry items; S30: if there is customized logic in the front-end interface, quickly build the front-end code resources, write customized front-end logic code, and generate the front-end resource file; S40: if there is customized logic in the back-end interface, the automatic code output module builds the back-end code resources, sets the interface specification, writes the unified back-end logic code, and generates the back-end resource file; S50: according to business needs, the form data permissions and data desensitization rules are customized for function development. By adopting the above method, the low-code application upgrade and transformation can be completed at a relatively low cost. If the original enterprise application has customized code development logic, it can be seamlessly integrated into the upgraded low-code application without the need for managed code and quality assurance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of low-code model construction technology, and specifically relates to a low-code model construction method based on interface-driven rapid integration of business processes. Background Art

[0002] The popular low-code platform technology stacks on the market are similar, all of which help enterprise applications complete the transformation to low-code by providing internal platform basic capabilities. However, in the process of migrating and upgrading self-developed applications to low-code, enterprises usually encounter two pain points:

[0003] 1. It is impossible to migrate existing production data into low-code applications at a low cost, because the existing production data usually needs to be cleaned and converted according to the rules provided by the low-code platform provider before it can become valid data.

[0004] 2. In order to meet the needs of their own business models, the customized code development logic of self-developed applications cannot be integrated into the upgraded low-code applications. Usually, third-party systems need to be integrated, which increases the connection cost, and the past codes cannot be reused to meet their own business models.

[0005] Taking the above two pain points into consideration, following the popular low-code platform solutions on the market will increase the time cost for enterprises to migrate from self-developed applications to low-code applications. At the same time, the quality of functional use cannot be effectively guaranteed, affecting the overall final use effect. Summary of the invention

[0006] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a low-code model construction method based on interface-driven rapid integration of business processes, which can complete the upgrade and transformation of low-code applications at a lower cost. If the original enterprise application has customized code development logic, it can be seamlessly integrated into the upgraded low-code application without the need to integrate a third-party system for code hosting, thereby ensuring functional quality.

[0007] The purpose of the present invention is achieved through the following technical solutions:

[0008] A low-code model construction method for rapidly integrating business processes based on interface drive includes the following steps:

[0009] S10: Setting the interface according to business requirements, by configuring the basic properties of the form object, the system generates a menu resource path, and at the same time, a corresponding data table is established in the background;

[0010] S20: Use the visual page design tool to set the form entry items so that the page rendering engine can output the front-end display page according to the user modeling;

[0011] S30: If there is customized logic in the front-end interface, the front-end code resources are quickly constructed through the automatic code generation module, and the customized front-end logic code is written to generate the front-end resource file;

[0012] S40: If there is customized logic in the backend interface, quickly build the backend code resources through the automatic code generation module, and write a unified backend logic code through the interface specification to generate a backend resource file;

[0013] S50: Based on business needs, develop customized functions for current form data permissions and data desensitization rules.

[0014] Furthermore, in the S30, the front end executes the automatic code output module function through the CMD script, writes customized front end logic code, and automatically generates front end resource files.

[0015] Furthermore, in the S40, a jar package is integrated into the system in the form of SDK to set and implement the interface specification.

[0016] Furthermore, in the S40, a unified backend logic code is written using Java language, and the backend logic code is unified with the existing logic code and complies with the interface specification.

[0017] Furthermore, the backend logic code includes saving logic code, querying logic code, and deleting logic code.

[0018] Furthermore, in S10, the basic attributes of the form object include an object name and an object table name.

[0019] Furthermore, in the S20, in the process of setting the form entry items, the following steps are included:

[0020] S21: Drag different types of controls onto the board;

[0021] S22: Set the basic properties of the control;

[0022] S23: Set PC-side form search conditions;

[0023] S24: Set the mobile interface display style and search conditions.

[0024] Furthermore, in S50, the data permission postprocessor is used to set the current form data permission, and the data desensitization module is used to set the data desensitization rules.

[0025] Furthermore, the front end includes a JSON data parsing module, a visual page design module, an event processing rule engine module, an automatic modeling engine module, and an automatic code generation module.

[0026] The present invention has the following beneficial effects:

[0027] 1. Compared with the prior art, the present invention cannot migrate its existing production data into low-code applications at a lower cost, and the customized code development logic cannot be integrated into the upgraded low-code application, and usually requires the integration of a third-party system. The present invention can model forms faster according to business needs, and quickly write corresponding logic codes through front-end customized logic and back-end customized logic judgment to generate corresponding resource files. In the case of customized logic in the front-end interface, the front-end can quickly write customized front-end logic code, improve the generation efficiency of front-end logic code and front-end resource files, and reduce developer intervention; in the case of customized logic in the back-end interface, the back-end logic code is unified with the existing logic code through the interface specification, and both comply with the interface specification, which can realize the function of reusing existing code, thereby reducing the repeated development of existing code, and has the function of quickly using existing code, so that business needs can be quickly precipitated and cost reduction and efficiency improvement can be achieved; finally, in the system, customized function development is carried out on the current form data permissions and data desensitization rules, so that the data permissions of the logic code can be unified. Therefore, the present invention can complete the upgrade and transformation of low-code applications at a relatively low cost. If the original enterprise application has customized code development logic, it can be seamlessly integrated into the upgraded low-code application without the need to integrate a third-party system for code hosting, thereby ensuring functional quality.

[0028] 2. The present invention introduces an integrated jar package into the system through SDK to set and implement interface specifications, which can force the implementation of the interface specification settings, and the written back-end logic code is unified with the existing logic code, both comply with the interface specifications, thereby realizing the function of reusing existing codes, thereby reducing the situation of repeated development of existing codes, and having the function of quickly using existing codes.

[0029] 3. Use the data permission postprocessor to set the current form data permissions, and use the data desensitization module to set data desensitization rules, which can standardize the interface expansion functions and accurately control the data permissions of each data; at the same time, rewrite its own formatting and desensitization logic at the application level to ensure the flexibility of data interaction to the greatest extent, and improve the stability of the system through interface specifications. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 This is a schematic diagram of the low-code model construction method of the present invention. DETAILED DESCRIPTION

[0031] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The terms such as "upper", "inner", "middle", "left", "right" and "one" cited in this specification are only for the convenience of description, and are not used to limit the scope of the present invention. The change or adjustment of their relative relationship shall also be regarded as the scope of the present invention without substantially changing the technical content.

[0032] like Figure 1 As shown, a low-code model construction method based on interface-driven rapid integration of business processes uses interface features to deeply integrate with business processes. It is more adaptable to functional modules with more significant enterprise customized functions and is convenient for secondary development. By deeply integrating the permission control logic, business flow control logic, and complex process control logic of the original business system, visual modeling and visual definition of rule processes can be achieved, and logical code can be intelligently produced, thereby reducing developer intervention, which can quickly precipitate business needs and reduce costs and improve efficiency.

[0033] The system adopted by the low-code model construction method of the present invention includes an electrically connected front end and back end, and the front end includes a JSON data parsing module, a visual page design module, an event processing rule engine module, an automated modeling engine module, and an automatic code output module.

[0034] The low-code model construction method based on interface-driven rapid integration of business processes of the present invention comprises the following steps:

[0035] S10: Set up the interface according to business needs, by configuring the basic properties of the form object, the basic properties of the form object include the object name and the object table name, wherein the object name is the corresponding function item menu name, and the object table name is the corresponding underlying data storage physical table name; enable the system to automatically generate a menu resource path, and automatically establish a corresponding data table in the background.

[0036] S20: Set the form entry items through the visual page design tool to output the front-end display page according to the user modeling through the page rendering engine. The visual page design tool, also known as the development tool, mainly includes a form designer, a rule designer, a view designer, a page designer, and an integrated service management.

[0037] The process of setting the form entry items includes the following steps:

[0038] S21: Drag different types of controls onto the board;

[0039] S22: Set the basic properties of the control, such as field name, input length limit, etc.;

[0040] S23: Set PC-side form search conditions;

[0041] S24: Set the mobile interface display style and search conditions.

[0042] At the same time, events are bound through the event processing rule engine module, the processing methods of different component events are set, and rule processes are added to add linkage relationships between components in a data-driven manner.

[0043] S30: If there is customized logic in the front-end interface, quickly build the front-end code resources through the automatic code generation module, write customized front-end logic code to generate the front-end resource file, and then enter S40; if there is no customized logic in the front-end interface, you can enter S40 according to business needs.

[0044] In S30, the front end executes the automatic code output module function through the CMD script, writes customized front-end logic code, and automatically generates front-end resource files. Therefore, by using the CMD script on the front end to process the data of the JSON data parsing module, the automatic code output module function is executed, and customized front-end logic code is written, which improves the efficiency of generating front-end logic code and front-end resource files, reduces the intervention of developers, and enables business needs to be quickly precipitated and costs and efficiency are reduced.

[0045] S40: If there is customized logic in the back-end interface, the back-end code resources are quickly constructed through the automatic code generation module. Through the interface specification, a unified back-end logic code is written in Java language. The back-end logic code includes saving logic code, querying logic code, and deleting logic code. The back-end resource file is generated, and then S50 is entered according to business needs. If there is no customized logic in the back-end interface, S50 can be entered according to business needs.

[0046] Regarding the setting of interface specifications, the backend integrates the jar package into the system in the form of SDK to set and implement the interface specifications. This makes the backend logic code written in Java language unified with the existing logic code, and both comply with the interface specifications. Among them, Java language is used to write the backend logic code, mainly because of the polymorphic characteristics of Java language. The use of interface characteristics can facilitate deep integration of business code and meet the customized needs of enterprise business forms.

[0047] Therefore, the backend introduces the jar package into the system through SDK to set the interface specification. Among them, regarding the method of integrating and introducing the system through SDK, according to the needs of independent research and development applications, the corresponding dependent usage feature functions can be introduced on demand, such as storage module functions, core addition, deletion, modification and query functions, data permission post-processor functions, and data desensitization functions. As for the method of integrating the jar package in the system, regarding the requirements for setting the interface specification, programmers with development experience write the corresponding specific implementation classes, such as saving logic, query logic, and deletion logic. Therefore, the setting of the interface specification can be enforced, and the written backend logic code is unified with the existing logic code, and both comply with the interface specification, so as to realize the function of reusing existing code, thereby reducing the repeated development of existing code, and having the function of quickly using existing code.

[0048] S50: According to business needs, the current form data permissions and data desensitization rules are customized for functional development; wherein, the current form data permissions are set using the data permission postprocessor, and the data desensitization rules are set using the data desensitization module. Thus, by setting up the data permission postprocessor and the data desensitization module in the system, the data permissions of the logic code can be unified, so that the code that has been verified by production can be better reused; at the same time, for some customized forms, according to the processing logic of the permission postprocessor and the data desensitization module, the interface characteristics can be rewritten, modified or deleted as needed to ensure the stability of the system, and in the subsequent expansion and opening, it has the function of ensuring the flexibility of the system.

[0049] In summary, the low-code model construction method based on interface-driven rapid integration of business processes of the present invention is unable to migrate its existing production data into low-code applications at a lower cost compared to the prior art, and the customized code development logic cannot be integrated into the upgraded low-code application, and usually requires the integration of a third-party system. The present invention can model forms faster according to business needs, and quickly write corresponding logic codes through front-end customized logic and back-end customized logic judgment to generate corresponding resource files, wherein for the situation where there is customized logic in the front-end interface, the front-end can quickly write customized front-end logic code, improve the generation efficiency of front-end logic code and front-end resource files, and reduce developer intervention; for the situation where there is customized logic in the back-end interface, the back-end logic code is unified with the existing logic code through the interface specification, and both comply with the interface specification, and the function of reusing existing code can be realized, thereby reducing the situation of repeated development of existing code, and having the function of quickly using existing code, so that business needs can be quickly precipitated and cost reduction and efficiency improvement can be achieved; finally, in the system, by developing customized functions for the current form data permissions and data desensitization rules, the data permissions of the logic code can be unified. Therefore, the present invention can complete the upgrade and transformation of low-code applications at a relatively low cost. If the original enterprise application has customized code development logic, it can be seamlessly integrated into the upgraded low-code application without the need to integrate a third-party system for code hosting, thereby ensuring functional quality.

[0050] In addition, the present invention introduces an integrated jar package into the system through the SDK method to set and implement the interface specification, which can force the setting of the interface specification, and the written back-end logic code is unified with the existing logic code, and both comply with the interface specification, thereby realizing the function of reusing existing code, thereby reducing the repeated development of existing code, and has the function of quickly using existing code.

[0051] In addition, using the data permission postprocessor to set the current form data permissions and using the data desensitization module to set data desensitization rules can standardize the interface expansion functions and accurately control the data permissions of each data. At the same time, the application level rewrites its own formatting and desensitization logic to ensure the flexibility of data interaction to the greatest extent, and improve the stability of the system through interface specifications.

[0052] The implementation methods of the present invention are not limited to this. According to the above content of the present invention, using common technical knowledge and customary means in the field, without departing from the above basic technical ideas of the present invention, the present invention can also make other various forms of modification, replacement or combination, all of which fall within the scope of protection of the present invention.

Claims

1. A low-code model construction method based on interface-driven rapid integration of business processes, It is characterized in that The following steps are involved: S10: Setting the interface according to business requirements, by configuring the basic properties of the form object, the system generates a menu resource path, and at the same time, a corresponding data table is established in the background; S20: Use the visual page design tool to set the form entry items so that the page rendering engine can output the front-end display page according to the user modeling; S30: If there is customized logic in the front-end interface, the front-end uses the automatic code output module to quickly build the front-end code resources through the CMD script to execute the automatic code output module function, and writes the customized front-end logic code to generate the front-end resource file; S40: If there is customized logic in the backend interface, the backend code resources are quickly constructed through the automatic code generation module, and the unified backend logic code is written in Java language through the interface specification to generate a backend resource file, and the backend logic code is unified with the existing logic code and complies with the interface specification; wherein, regarding the setting of the interface specification: the jar package is integrated into the system in the form of SDK to set and implement the interface specification; S50: Based on business needs, develop customized functions for current form data permissions and data desensitization rules.

2. The low-code model construction method based on interface-driven rapid integration of business processes as claimed in claim 1, Features: The backend logic code includes a save logic code, a query logic code, and a delete logic code.

3. The low-code model construction method based on interface-driven rapid integration of business processes as claimed in claim 1, Features: In S10, the basic attributes of the form object include an object name and an object table name.

4. The low-code model construction method based on interface-driven rapid integration of business processes as claimed in claim 1, Features: In the step S20, the process of setting the form entry items includes the following steps: S21: Drag different types of controls onto the board; S22: Set the basic properties of the control; S23: Set PC-side form search conditions; S24: Set the mobile interface display style and search conditions.

5. The low-code model construction method based on interface-driven rapid integration of business processes as claimed in claim 1, Features: In S50, the data permission postprocessor is used to set the current form data permission, and the data desensitization module is used to set the data desensitization rules.

6. The low-code model construction method based on interface-driven rapid integration of business processes as claimed in claim 1, Features: The front end includes a JSON data parsing module, a visual page design module, an event processing rule engine module, an automatic modeling engine module, and an automatic code generation module.