Application independent deployment method and device based on low-code platform

By creating a dedicated database and converting design data in the low-code platform, the problem of large traffic requests affecting other applications in the low-code platform is solved, and the independent deployment and high-concurrency and high-availability operation of the application are realized.

CN118626099APending Publication Date: 2024-09-10SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410863339.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-29
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In low-code platforms, large traffic requests from one application may cause other applications to be temporarily unavailable, resulting in performance degradation.

Method used

By creating a dedicated database when building the target application on the low-code platform, converting the design data into a dedicated database structure, and configuring basic configuration items, the target application can run independently and the separation of application design-configuration-operation is achieved.

Benefits of technology

After the application is deployed independently, it no longer relies on the low-code platform. High concurrent requests of a single application will not affect the operation of other applications, achieving high concurrency and high availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626099A
    Figure CN118626099A
Patent Text Reader

Abstract

The invention discloses an independent application deployment method and device based on a low-code platform, and relates to the technical field of computer software, a target application is constructed on the low-code platform, and design data of the target application is stored based on a database of the low-code platform; when the target application is deployed, creating an exclusive database of the target application; extracting design data from a database of the low-code platform and converting the design data into a format adaptive to an exclusive database structure; and inserting the converted design data into the exclusive database, and carrying out basic configuration item configuration on the target application, so that the target application independently runs based on the exclusive database. Compared with the prior art, after the applications are independently deployed, operation of the applications does not depend on a low-code platform, no association exists between the applications, the high-concurrency request of a single application does not affect operation of other applications, and high concurrency and high availability are more easily achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer software technology, and in particular to a method and device for independent application deployment based on a low-code platform. 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, applications built on low-code platforms often need to rely on the platform itself to run. As the number of applications developed on low-code platforms increases, the performance of the applications becomes weaker. A large traffic request from one application may cause other applications to be temporarily unavailable. Summary of the invention

[0004] The present invention provides a method and device for independent application deployment based on a low-code platform, the main purpose of which is to solve the problem that a large traffic request of an application in the low-code platform may cause other applications to be temporarily unavailable.

[0005] According to a first aspect of the present disclosure, a method for independent application deployment based on a low-code platform is provided, which includes: Building a target application on a low-code platform, and storing design data of the target application based on a database of the low-code platform; When deploying the target application, creating a dedicated database for the target application; Extracting the design data from a database of the low-code platform and converting the design data into a format that fits the proprietary database structure; The converted design data is inserted into the dedicated database, and basic configuration items are configured for the target application, so that the target application runs independently based on the dedicated database.

[0006] Optionally, storing the design data of the target application in a database based on the low-code platform includes: The basic configuration item table of the database of the low-code platform indicates the basic configuration item data belonging to the low-code platform and the basic configuration item data belonging to the target application, and the database table created by the target application in the database of the low-code platform is distinguished and isolated from the database tables created by other applications in the database of the low-code platform based on the table name plus the application ID; The design data is stored based on the basic configuration item table and the database table created by the target application in the low-code platform database.

[0007] Optionally, building a target application on a low-code platform includes: Building the form constituting the target application based on the low-code platform, and configuring the corresponding interface to be called when the form is submitted; A database table corresponding to the form is created based on the form ID and the application ID to store form data submitted based on the form.

[0008] Optionally, after creating a database table corresponding to the form based on the form ID and the application ID, the method includes: When the form is submitted, the interface is called based on the low-code platform; The backend based on the interface searches for a corresponding database table according to the form ID and the application ID; Based on the backend, data in the database table is inserted, updated or queried in the form of splicing SQL statements to store form data submitted based on the form. The configuration of the interface includes URL, request method, request header, and request body format.

[0009] Optionally, configuring basic configuration items for the target application includes: The root path of the form of the target application is configured, and the access path of the interface is configured based on the root path to obtain a default access path of the interface. The configuration of the default access path is a step of configuring the basic configuration item.

[0010] Optionally, extracting the design data from the database of the low-code platform and converting the design data into a format adapted to the proprietary database structure includes: Before deploying the target application, the design data of the target application is collected from the database of the low-code platform, and the design data is saved in json format. The design data includes the form, workflow, web page design, visualization page and basic configuration items of the target application.

[0011] Optionally, the method comprises: When deploying the target application, configuring a user center corresponding to the target application; Connecting the target application to the user center to manage the workflow in the target application based on the user center; Configure the workflow approvers in the target application, configure the link between the target application and the dedicated database, configure the deployment method of the target application, the deployment method includes microservice deployment or monolithic deployment, and configure the middleware used by the target application, the middleware includes redis, minio, and kkfile.

[0012] Optionally, inserting the converted design data into the dedicated database includes: Constructing the configuration file required for the target application to run; Creating a database table in the dedicated database based on the configuration file; Import the design data in json format into the database table in the dedicated database. According to a second aspect of the present disclosure, an independent application deployment device based on a low-code platform is provided, comprising: A storage unit, used to build a target application on a low-code platform and store design data of the target application based on a database of the low-code platform; A creation unit, used to create a dedicated database for the target application when deploying the target application; An extraction unit, configured to extract the design data from a database of the low-code platform and convert the design data into a format adapted to the proprietary database structure; The configuration unit is used to insert the converted design data into the dedicated database and perform basic configuration item configuration on the target application so that the target application can run independently based on the dedicated database.

[0013] According to a third aspect of the present disclosure, there is provided an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.

[0014] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.

[0015] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described in the first aspect above.

[0016] The present disclosure provides an independent application deployment method and device based on a low-code platform, which builds a target application on a low-code platform, and stores the design data of the target application based on the database of the low-code platform; when deploying the target application, creates a dedicated database for the target application; extracts the design data from the database of the low-code platform and converts the design data into a format that adapts to the structure of the dedicated database; inserts the converted design data into the dedicated database, and configures the basic configuration items of the target application so that the target application can run independently based on the dedicated database. Compared with related technologies, the low-code platform realizes the independent deployment and operation of applications by implementing a mode of application design-configuration-operation separation. After the application is independently deployed, the operation of the application no longer depends on the low-code platform itself, and there is no connection between applications. The high concurrency request of a single application will not affect the operation of other applications, making it easier to achieve high concurrency and high availability. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings: Figure 1 A schematic diagram of a process flow of an independent application deployment method based on a low-code platform provided in an embodiment of the present disclosure; Figure 2 A schematic diagram of the structure of an independent application deployment device based on a low-code platform provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0019] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.

[0020] In addition, the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein.

[0021] The following describes the application independent deployment method and device based on the low-code platform according to the embodiments of the present disclosure with reference to the accompanying drawings.

[0022] In order to at least solve the problem that a large traffic request of one application in a low-code platform may cause other applications to be temporarily unavailable, this embodiment provides an independent application deployment method based on a low-code platform.

[0023] Figure 1 The following is a flow chart of an independent application deployment method based on a low-code platform provided in an embodiment of the present disclosure. Figure 1 As shown, the method comprises the following steps: Step 101, building a target application on a low-code platform, and storing design data of the target application based on a database of the low-code platform; Step 102, when deploying the target application, create a dedicated database for the target application; Step 103, extracting the design data from the database of the low-code platform and converting the design data into a format that adapts to the proprietary database structure; Step 104 , inserting the converted design data into the dedicated database, and configuring basic configuration items for the target application, so that the target application can run independently based on the dedicated database.

[0024] The present disclosure provides an independent application deployment method and device based on a low-code platform, which builds a target application on a low-code platform, and stores the design data of the target application based on the database of the low-code platform; when deploying the target application, creates a dedicated database for the target application; extracts the design data from the database of the low-code platform and converts the design data into a format that adapts to the structure of the dedicated database; inserts the converted design data into the dedicated database, and configures the basic configuration items of the target application so that the target application can run independently based on the dedicated database. Compared with related technologies, the low-code platform realizes the independent deployment and operation of applications by implementing a mode of application design-configuration-operation separation. After the application is independently deployed, the operation of the application no longer depends on the low-code platform itself, and there is no connection between applications. The high concurrency request of a single application will not affect the operation of other applications, making it easier to achieve high concurrency and high availability.

[0025] As a refinement of the embodiment of the present disclosure, when executing step 101 to store the design data of the target application based on the database of the low-code platform, the following implementation methods may also be adopted but are not limited to, for example: the basic configuration item data belonging to the low-code platform and the basic configuration item data belonging to the target application are indicated in the basic configuration item table of the database of the low-code platform, and the database table created by the target application in the low-code platform database is distinguished and isolated from the database tables created by other applications in the low-code platform database based on the table name plus the application ID; the design data is stored based on the basic configuration item table and the database table created by the target application in the low-code platform database.

[0026] In some embodiments, building the target application on the low-code platform includes: building the forms that constitute the target application based on the low-code platform, and configuring the corresponding interface to be called when the form is submitted; creating a database table corresponding to the form based on the form ID and application ID to store form data submitted based on the form.

[0027] In some embodiments, after the database table corresponding to the form is created based on the form ID and the application ID, the method includes: when the form is submitted, calling the interface based on the low-code platform; searching for the corresponding database table based on the form ID and the application ID based on the backend of the interface; inserting, updating or querying the data in the database table based on the backend in the form of splicing SQL statements to store the form data submitted based on the form, and the configuration of the interface includes URL, request method, request header, and request body format.

[0028] In some embodiments, the configuring of basic configuration items for the target application includes: configuring the root path of the form of the target application, and configuring the access path of the interface based on the root path to obtain a default access path of the interface, and configuring the default access path is a step in configuring the basic configuration items.

[0029] In some embodiments, extracting the design data from the database of the low-code platform and converting the design data into a format that adapts to the exclusive database structure includes: before deploying the target application, collecting the design data of the target application from the database of the low-code platform, and saving the design data in json format, wherein the design data includes the target application's forms, workflows, web page designs, visualization pages, and basic configuration items.

[0030] In some embodiments, the deployment process of the target application includes: when deploying the target application, configuring the user center corresponding to the target application; connecting the target application to the user center to manage the workflow in the target application based on the user center; configuring the workflow approvers in the target application, configuring the link between the target application and the exclusive database, configuring the deployment method of the target application, the deployment method including microservice deployment or monolithic deployment, and configuring the middleware used by the target application, the middleware including redis, minio, and kkfile.

[0031] In some embodiments, inserting the converted design data into the dedicated database includes: constructing a configuration file required for the target application to run; creating a database table in the dedicated database based on the configuration file; and importing the design data in json format into the database table in the dedicated database.

[0032] To facilitate understanding of the above embodiments, the present disclosure provides exemplary descriptions, including: Separation of application design and application operation databases: Application design uses the platform's own database. In the database table of the basic configuration items, the data belonging to the low-code platform and the data belonging to the application are marked to achieve soft isolation. The tables used by different applications are isolated by adding the table name to the application ID. After the application is deployed and run independently, the application runs using a new database. The aforementioned process separates the application design and application operation databases. The platform's own database can be used for application design preview verification. Independent deployment can be selected during application runtime, and information such as middleware required for independent deployment can be configured.

[0033] The form design allows for configuration of the calling interface: During the form design phase, the corresponding database table is found based on the form ID and application ID, and the database table is directly operated by splicing SQL.

[0034] After the application is independently deployed, the path of the corresponding interface is different from the access path on the low-code platform. Configure the root path of the form and set the default access path of the default interface of the form. For example, if the form path is configured as / product and the new interface is configured as / add, after the application is independently deployed, the corresponding new interface defaults to access / app / product / add interface, where app is configurable during the configuration phase. Through the above process, the form design allows the configuration of the interface to be called. The interface called during the form design phase uses the unified interface provided by the system itself. During the configuration phase before the system is independently deployed and run, the interface used for each operation on the form page can be configured.

[0035] Separation of workflow design and operation: During the workflow design phase, the approvers use the platform's own user center. In an environment where the application is independently deployed and operated, the user center is different from the user center used by the platform itself. Before the application is independently deployed, it is configured as the actual operating user center. Through the above process, the separation of workflow design and operation is achieved. During the design, the workflow approval information uses the platform's approvers. Before the independent deployment and operation, the approvers after independent deployment are reconfigured.

[0036] Splitting of basic configuration items: The low-code platform provides basic configuration by default. You can choose to use the configuration items provided by the platform during the application design phase. The configuration items provided by the platform cannot cover the needs of the application, and you can customize the configuration items in the application. Basic configuration items include: dictionary, third-party API, function factory, component factory, template center, position, data resources, message center and rules, etc. The basic configuration items are split through the above process, and the dictionary, label and other functions are divided into platform basic configuration and application basic configuration.

[0037] Application data collection: collect application forms, workflows, web page designs, and visualization pages, and traverse to obtain their basic configuration items and save them in json format. Through the above process, the application forms, workflows, web page designs, visualizations, positions, tags, dictionaries and other data used can be collected and saved.

[0038] Application configuration: Access the user center that the application actually needs to use to configure the workflow approver, configure the data source used by the application, configure the application deployment method: microservice deployment or single deployment; configure the middleware used: redis, minio, kkfile. Through the above process, the application configuration is realized, the workflow approver is configured, the data source used by the application is configured, the application deployment method is configured, and the middleware used is configured.

[0039] Application initialization: Before the application runs, the configuration files required for the application are built. After the application starts, the database table corresponding to the basic configuration is created first, and then the forms, workflows, web page designs, visualization pages and basic configuration items saved in json format are read, the required basic configuration data is imported, and all the workflows of the application are deployed to complete the application startup. The application is initialized through the above process, the configuration files before the application runs are initialized, the corresponding data tables are created, and the workflows required by the application are deployed.

[0040] In summary, the embodiments of the present disclosure can achieve the following effects: 1. The low-code platform realizes the independent deployment and operation of applications by implementing the application design-configuration-operation separation mode. After the application is independently deployed, the operation of the application no longer depends on the low-code platform itself, there is no connection between applications, and the high concurrency request of a single application will not affect the operation of other applications, making it easier to achieve high concurrency and high availability.

[0041] Corresponding to the above-mentioned method for independent application deployment based on a low-code platform, the present invention also proposes an independent application deployment device based on a low-code platform. Since the system embodiment of the present disclosure corresponds to the above-mentioned method embodiment, the details not disclosed in the system embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.

[0042] Figure 2 A schematic diagram of a structure of an independent application deployment device based on a low-code platform provided in an embodiment of the present disclosure, such as Figure 2 As shown, including: A storage unit 21, used to build a target application on a low-code platform and store design data of the target application based on a database of the low-code platform; A creation unit 22, configured to create a dedicated database for the target application when deploying the target application; An extraction unit 23, configured to extract the design data from the database of the low-code platform and convert the design data into a format adapted to the proprietary database structure; Configuration unit 24 is used to insert the converted design data into the exclusive database, and configure the basic configuration items of the target application so that the target application can run independently based on the exclusive database. The application independent deployment method and device based on the low-code platform provided in the present disclosure builds the target application on the low-code platform, and stores the design data of the target application based on the database of the low-code platform; when deploying the target application, creates a dedicated database for the target application; extracts the design data from the database of the low-code platform and converts the design data into a format that adapts to the structure of the exclusive database; inserts the converted design data into the exclusive database, and configures the basic configuration items of the target application so that the target application can run independently based on the exclusive database. Compared with the related art, the low-code platform realizes the independent deployment and operation of the application by realizing the application design-configuration-operation separation mode. After the application is independently deployed, the operation of the application no longer depends on the low-code platform itself, there is no association between applications, and the high concurrency request of a single application will not affect the operation of other applications, making it easier to achieve high concurrency and high availability. It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.

[0043] The present disclosure provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the application independent deployment method based on the low-code platform described in the above embodiment.

[0044] The present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the application independent deployment method based on the low-code platform described in the above embodiment.

[0045] The present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the application independent deployment method based on a low-code platform described in the above embodiment.

[0046] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0047] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0048] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0049] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0050] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for independent application deployment based on a low-code platform, characterized in that: include: Building a target application on a low-code platform, and storing design data of the target application based on a database of the low-code platform; When deploying the target application, creating a dedicated database for the target application; Extracting the design data from a database of the low-code platform and converting the design data into a format that fits the proprietary database structure; The converted design data is inserted into the dedicated database, and basic configuration items are configured for the target application, so that the target application runs independently based on the dedicated database.

2. The method according to claim 1, characterized in that The storing of the design data of the target application in a database based on the low-code platform includes: The basic configuration item table of the database of the low-code platform indicates the basic configuration item data belonging to the low-code platform and the basic configuration item data belonging to the target application, and the database table created by the target application in the database of the low-code platform is distinguished and isolated from the database tables created by other applications in the database of the low-code platform based on the table name plus the application ID; The design data is stored based on the basic configuration item table and the database table created by the target application in the low-code platform database.

3. The method according to claim 1, characterized in that Building the target application on the low-code platform includes: Building the form constituting the target application based on the low-code platform, and configuring the corresponding interface to be called when the form is submitted; A database table corresponding to the form is created based on the form ID and the application ID to store form data submitted based on the form.

4. The method according to claim 3, characterized in that After creating the database table corresponding to the form based on the form ID and the application ID, the method includes: When the form is submitted, the interface is called based on the low-code platform; The backend based on the interface searches for a corresponding database table according to the form ID and the application ID; Based on the backend, data in the database table is inserted, updated or queried in the form of splicing SQL statements to store form data submitted based on the form. The configuration of the interface includes URL, request method, request header, and request body format.

5. The method according to claim 4, characterized in that The configuring of basic configuration items for the target application includes: The root path of the form of the target application is configured, and the access path of the interface is configured based on the root path to obtain a default access path of the interface. The configuration of the default access path is a step of configuring the basic configuration item.

6. The method according to claim 1, characterized in that: The step of extracting the design data from the database of the low-code platform and converting the design data into a format adapted to the proprietary database structure includes: Before deploying the target application, the design data of the target application is collected from the database of the low-code platform, and the design data is saved in json format. The design data includes the form, workflow, web page design, visualization page and basic configuration items of the target application.

7. The method according to claim 6, characterized in that The method comprises: When deploying the target application, configuring a user center corresponding to the target application; Connecting the target application to the user center to manage the workflow in the target application based on the user center; Configure the workflow approvers in the target application, configure the link between the target application and the dedicated database, configure the deployment method of the target application, the deployment method includes microservice deployment or monolithic deployment, and configure the middleware used by the target application, the middleware includes redis, minio, and kkfile.

8. The method according to claim 7, characterized in that The inserting the converted design data into the dedicated database comprises: Constructing the configuration file required for the target application to run; Creating a database table in the dedicated database based on the configuration file; Import the design data in json format into the database table in the dedicated database.

9. An independent application deployment device based on a low-code platform, characterized in that: include: A storage unit, used to build a target application on a low-code platform and store design data of the target application based on a database of the low-code platform; A creation unit, used to create a dedicated database for the target application when deploying the target application; An extraction unit, configured to extract the design data from a database of the low-code platform and convert the design data into a format adapted to the proprietary database structure; The configuration unit is used to insert the converted design data into the dedicated database and perform basic configuration item configuration on the target application so that the target application can run independently based on the dedicated database.

10. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.