CN115658089A - Heterogeneous low-code software package issuing system and method thereof - Google Patents
Heterogeneous low-code software package issuing system and method thereof Download PDFInfo
- Publication number
- CN115658089A CN115658089A CN202211306516.XA CN202211306516A CN115658089A CN 115658089 A CN115658089 A CN 115658089A CN 202211306516 A CN202211306516 A CN 202211306516A CN 115658089 A CN115658089 A CN 115658089A
- Authority
- CN
- China
- Prior art keywords
- software package
- application
- code
- low
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a heterogeneous low-code Software package issuing system and a method thereof, and provides a Software package importing and exporting Software Development tool (SDK), wherein the SDK specifies a Software package protocol interface, an importing and exporting main logic, an interface protocol for importing and exporting each file, and an importing and exporting strategy, and a user can access the system only by realizing a corresponding interface. Meanwhile, the expansion capability of the software package private protocol is provided, and a user can expand according to the private capability of the user. The invention comprises the specification requirements of the low-code development platform software package and the generation, analysis and use modes of the low-code development platform software package. The invention solves the technical barrier between heterogeneous low-code development platforms, and makes the cross-platform development of the application possible. By the unified standard protocol of the software package, the technical barriers of heterogeneous low-code platforms are solved, the channels of intercommunication and mutual conversion are realized, and the problem of difficulty in releasing from a design state to a running state caused by network isolation is solved.
Description
Technical Field
The invention relates to the technical field of application release, in particular to a heterogeneous low-code software package release system and a method thereof.
Background
A Low-Code Development Platform (LCDP) is a Development Platform that can generate an application program quickly without encoding (0 Code) or with a small amount of Code. The method for developing the application program through visualization enables developers with different experience levels to use a dragging component and model-driven logic to create a webpage and a mobile application program through a graphical user interface. Besides the basic service requirements, the low-code development platform needs to implement compatibility of heterogeneous low-code platforms, and release and deployment in multiple environments such as online and offline environments, during release and multi-platform compatibility.
At present, a plurality of manufacturers and platforms exist in a low-code platform, the platforms cannot be communicated, and a universal protocol and a universal mode are lacked for communication. The application related to the low-code platform needs to be released and deployed in a cross-environment mode, and under the condition that a network is not communicated, the low-code platform is difficult to perform or needs professional intervention and the performing time is long.
Disclosure of Invention
The invention aims to provide a heterogeneous low-code software package issuing system and a method thereof, which are used for solving the problems of online issuing of low-code platform application, offline issuing of application, cross-low-code platform issuing of application and the like.
The technical scheme adopted by the invention is as follows:
a heterogeneous low-code software package issuing system comprises a design state and an operation state, wherein the design state is provided with more than one low-code development platform, each low-code development platform provides a corresponding software package SDK, and the software package SDK has software package export and import functions; dragging corresponding component elements by a user through a software package (SDK) to form a low-code application; the low-code development platform is provided with an application designer and a DSL descriptor, wherein the application designer comprises a plurality of designers; the application designer is used for acquiring the information of the composition elements input by a user on at least one designer, designing the composition elements corresponding to the information of the composition elements input on each designer and the description contents corresponding to the composition elements by using each designer, and generating the low-code application based on each composition element and the description contents corresponding to each composition element; the DSL descriptor is used to generate an application installation package for low-code applications.
And the running state acquires the software package uploaded by the design state, renders and executes the description contents corresponding to the elements of each component by analyzing the metadata information defined by the low-code design state application, and configures the service environment for running the low-code application.
Further, different low-code platforms have respective software packages SDKs, and the software packages developed by the different low-code development platforms are distributed across the low-code platforms through export and import functions.
Furthermore, a software package protocol interface and import/export main logic are specified in the software package SDK, an interface protocol for importing/exporting each file and an import/export implementation strategy are specified, and a user can access the files only by implementing the corresponding interface.
A heterogeneous low-code software package issuing method comprises the following steps:
step 1, a developer obtains a software package SDK provided by a low-code development platform, expands a software package protocol definition interface, adds a private protocol, defines a protocol version number and realizes a private protocol file import and export strategy by combining the realization characteristics of the developer;
step 2, exporting the application software package to generate a zip file according to an export interface provided by the SDK;
step 3, uploading a zip software package file to a design state or running state service environment of a target low-code development platform, decompressing, importing a software package according to an SDK import interface, and legally checking a software package structure and a protocol version number;
step 4, judging whether the target end low-code development platform has corresponding application or not; if yes, auditing and comparing the metadata of the software packages at the two ends, finally outputting a differential file list and executing the step 5; otherwise, firstly creating an application, carrying out full execution import according to the file strategy of the software package, and executing the step 6;
step 5, the publisher examines the differential file list and adjusts the files according to the requirement;
step 6, the issuing personnel selects an application issuing mode to execute application issuing, wherein the application issuing mode comprises incremental issuing and upgrading issuing;
and 7, acquiring and outputting the application access address after the application is successfully issued.
Further, the specific steps of the software package export in step 2 are as follows:
step 2-1, acquiring a software package protocol, wherein the software package protocol can have a private protocol;
step 2-2, selecting an application to be exported, traversing file definition configuration defined by the design specification, and acquiring file strategies from the file definition configuration, wherein each file definition has a file strategy, and the file strategies are execution methods for acquiring file contents;
step 2-3, executing the file strategy, wherein the file strategy can be rewritten;
step 2-4, performing according to a file policy, acquiring the file policy, returning the metadata and the instance information content of the low code platform corresponding to each file, and serializing the file content according to the format defined by the file, wherein the file format mainly comprises multimedia formats such as JSON, XML, CSV, PNG, MP4 and the like;
and 2-5, generating a file instance and adding a zip file.
And 2-6, outputting the application software package and archiving.
Further, the file adjustment in step 5 includes adjustment of data source and environment variables.
Further, step 6, executing the software package file after comparing the difference, and performing application increment or upgrade execution operation; and when the exception occurs, performing manual exception handling and selecting to continue execution or terminate import.
Furthermore, when the increment is issued, the application metadata is executed in an increment mode, and the whole process is executed in one transaction and atomic operation is executed; when the application execution fails, rolling back and terminating the release; when the release is successful but the application service is abnormal, the re-export software package is re-released again, so the incremental release needs to be carefully selected.
Furthermore, when the edition is upgraded and released, the application metadata is executed in a copy mode and an increment mode, the old metadata is kept unchanged, and the whole process is executed in one transaction and atomic operation; when the application execution fails, the rollback can be selected, and the release is terminated; and when the application is successfully released but the application service is abnormal, the application version is returned online in real time by switching the versions.
By adopting the technical scheme, the invention comprises the specification requirement of the low-code development platform software package and the generation, analysis and use modes of the low-code development platform software package. The invention solves the technical barrier between heterogeneous low-code development platforms, and makes the cross-platform development of the application possible.
Drawings
The invention is described in further detail below with reference to the accompanying drawings and the detailed description;
FIG. 1 is a schematic diagram of a software package file definition according to the present invention;
FIG. 2 is a schematic diagram of a heterogeneous low-code software package distribution system architecture according to the present invention;
FIG. 3 is a schematic diagram of the software package export process of the present invention;
FIG. 4 is a schematic diagram illustrating the software package importing process according to the present invention;
fig. 5 is a schematic diagram of a software package publishing mode of the heterogeneous low-code software package publishing system according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
As shown in one of fig. 1 to 5, the present invention discloses a heterogeneous low-code software package issuing system, which includes a design state and an operation state, wherein the design state has more than one low-code development platform, each low-code development platform provides a corresponding software package SDK, and the software package SDK has software package export and import functions; dragging corresponding component elements by a user through a software package (SDK) to form a low-code application; the low-code development platform is provided with an application designer and a DSL descriptor, wherein the application designer comprises a plurality of designers; the application designer is used for acquiring the information of the composition elements input by a user on at least one designer, designing the composition elements corresponding to the information of the composition elements input on each designer and the description contents corresponding to the composition elements by using each designer, and generating the low-code application based on each composition element and the description contents corresponding to each composition element; the DSL descriptor is used to generate an application installation package for low-code applications.
And the running state acquires the software package uploaded by the design state, renders and executes the description contents corresponding to the elements of each component by analyzing the metadata information defined by the low-code design state application, and configures the service environment for running the low-code application.
Further, different low-code platforms have respective software packages SDKs, and the software packages developed by the different low-code development platforms are distributed across the low-code platforms through export and import functions.
Specifically, the software package export refers to the package export of metadata information such as objects, interfaces, processes, services and the like defined in a design state through a software package protocol;
the software package importing means that files such as software package serialized objects, interfaces, processes, services and the like are imported into a target environment in an ordered and regular mode through a software package protocol, and the current environment can enable the running state of a heterogeneous platform or the same platform, and even can be the design state of the same platform;
furthermore, a software package protocol interface and import/export main logic are specified in the software package SDK, an interface protocol for importing/exporting each file and an import/export implementation strategy are specified, and a user can access the files only by implementing the corresponding interface.
Further, the software package file definition specification includes the following files:
the basic information of the software package defines files, such as name, version number, protocol version number and the like.
Database physical definition files such as data sources, table structure definitions, initialization data, etc.
Business object definition files, such as business object attributes, methods, constraints, and the like.
Service orchestration definition files, such as service orchestration content, service interface definition information, and the like.
Interface layout definition files, such as page definitions, event definitions, style definitions, and the like.
And the process service definition file comprises process definition content, process associated business object definition and the like.
And external resource definition files such as JavaScript, CSS, pictures and the like.
A private protocol definition file that may be supplemented with a private file definition. Including software package import and export.
Further, each designer includes: the system comprises a form designer, a flow designer, a chart designer, a service designer, an interface designer and a large screen designer;
the form designer is used for acquiring form component element information input by a user and obtaining form component element information based on the form component element information
Constructing a form and description contents corresponding to the form;
the flow designer is used for acquiring the information of workflow composition elements input by a user and forming the workflow based on the workflow
Element information constructs a workflow and description contents corresponding to the workflow;
the chart designer is used for acquiring chart composition element information input by a user and based on the chart composition element information
Constructing a chart and description contents corresponding to the chart;
a service designer: and the visual arrangement designer is used for carrying out operations such as serial, parallel, condition selection, access and participation clipping, script writing and the like on the service.
An interface designer: an orchestration tool for drag and drag of web components includes online design of layouts, components, events, styles, etc.
Large screen designer: the arrangement tool for dragging and pulling the chart assembly comprises online design of backgrounds, events, styles and the like;
a heterogeneous low-code software package issuing method comprises the following steps:
step 1, a developer obtains a software package SDK provided by a low-code development platform, expands a software package protocol definition interface, adds a private protocol, defines a protocol version number and realizes a private protocol file import and export strategy by combining the realization characteristics of the developer;
step 2, exporting the application software package to generate a zip file according to an export interface provided by the software package SDK;
step 3, uploading a zip software package file to a design state or running state service environment of a target low-code development platform, decompressing, importing a software package according to an SDK import interface, and legally checking a software package structure and a protocol version number;
step 4, judging whether the target end low-code development platform has corresponding application or not; if yes, auditing and comparing the metadata of the software packages at the two ends, finally outputting a differential file list and executing the step 5; otherwise, firstly creating an application, carrying out full execution import according to the file strategy of the software package, and executing the step 6;
step 5, the publisher examines the differential file list and adjusts the files according to the requirement;
step 6, the issuing personnel selects an application issuing mode to execute application issuing, wherein the application issuing mode comprises incremental issuing and upgrading issuing;
and 7, acquiring and outputting the application access address after the application is successfully issued.
Further, the specific steps of the software package export in step 2 are as follows:
step 2-1, acquiring a software package protocol, wherein the software package protocol can have a private protocol;
step 2-2, selecting an application to be exported, traversing file definition configuration defined by the design specification, and acquiring file strategies from the file definition configuration, wherein each file definition has a file strategy, and the file strategies are execution methods for acquiring file contents;
step 2-3, executing the file strategy, wherein the file strategy can be rewritten;
step 2-4, executing according to the file strategy, obtaining the metadata and the instance information content of the low code platform corresponding to each file returned by the file strategy, and serializing the file content according to the format defined by the file, wherein the file format mainly comprises JSON, XML, CSV, PNG, MP4 and other multimedia formats;
and 2-5, generating a file instance and adding a zip file.
And 2-6, outputting the application software package and archiving.
Further, the file adjustment in step 5 includes adjustment of data source and environment variables.
Further, step 6, executing the software package file after comparing the difference, and performing application increment or upgrade execution operation; and when the exception occurs, performing manual exception handling and selecting to continue execution or terminate import.
Furthermore, when the increment is issued, the application metadata is executed in an increment mode, and the whole process is executed in one transaction and atomic operation is executed; when the application execution fails, rolling back and terminating the release; when the release is successful but the application service is abnormal, the re-export software package is re-released again, so the incremental release needs to be carefully selected.
Furthermore, when the edition is upgraded and released, the application metadata is executed in a copy mode and an increment mode, the old metadata is kept unchanged, and the whole process is executed in one transaction and atomic operation; when the application execution fails, the rollback can be selected, and the release is terminated; and when the application is successfully released but the application service is abnormal, the application version is returned online in real time by switching the versions.
Specifically, the low-code application release pattern is divided into: online mode, offline mode, and heterogeneous platform import. And (3) online mode: under the condition that the design state and the operation state are communicated, uploading the software package of the design state into the operation state for decompression, verification and release; an off-line mode: under the condition that the design state and the operation state network are not intercommunicated, the application of the design state is exported to a software package, and then the application software package is uploaded to a specified network environment and is imported through the SDK integrated by the operation state of the low code development platform to perform forced update application or upgrade release application; heterogeneous platform introduction: the heterogeneous low-code development platform integrates the SDK according to a software package standard protocol, expands a private protocol by combining self implementation characteristics, realizes a file import and export strategy, can get through technical barriers between the platforms, and realizes intercommunication and interconversion.
By adopting the technical scheme, the invention provides a Software package import and export Software Development tool (SDK), wherein the SDK specifies a Software package protocol interface, an import and export main logic, an interface protocol for importing and exporting each file and an import and export strategy, and a user can access the Software package only by realizing the corresponding interface. Meanwhile, the expansion capability of the software package private protocol is provided, and a user can expand according to the private capability of the user.
The invention comprises the specification requirements of the low-code development platform software package and the generation, analysis and use modes of the low-code development platform software package. The invention solves the technical barrier between heterogeneous low-code development platforms, and makes the cross-platform development of the application possible. By the unified standard protocol of the software package, the technical barriers of heterogeneous low-code platforms are solved, the channels of intercommunication and mutual conversion are realized, and the problem of difficulty in releasing from a design state to a running state caused by network isolation is solved.
It should be apparent that the embodiments described are some, but not all embodiments of the present application. The embodiments and features of the embodiments in the present application may be combined with each other without conflict. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the detailed description of the embodiments of the present application is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Claims (9)
1. A heterogeneous low-code software package issuing system is characterized in that: the software package development system comprises a design state and an operation state, wherein the design state is provided with more than one low-code development platform, each low-code development platform provides a corresponding software package SDK, and the software package SDK has software package export and import functions; dragging corresponding component elements by a user through a software package SDK to form a low-code application; the low-code development platform is provided with an application designer and a DSL descriptor, wherein the application designer comprises a plurality of designers; the application designer is used for acquiring the information of the composition elements input by a user on at least one designer, designing the composition elements corresponding to the information of the composition elements input on each designer and the description contents corresponding to the composition elements by using each designer, and generating the low-code application based on each composition element and the description contents corresponding to each composition element; the DSL descriptor is used for generating an application installation package of the low-code application;
and the running state acquires the software package uploaded by the design state, renders and executes the description contents corresponding to the elements of each component by analyzing the metadata information defined by the low-code design state application, and configures the service environment for running the low-code application.
2. The heterogeneous low-code software package distribution system according to claim 1, characterized in that: different low-code platforms have respective software packages SDK, and the software packages developed by the different low-code development platforms are distributed across the low-code platforms through export and import functions.
3. The heterogeneous low-code software package distribution system according to claim 1, characterized in that: the software package SDK defines a software package protocol interface, a lead-in and lead-out main logic, and defines an interface protocol for leading in and leading out each file and a lead-in and lead-out implementation strategy, so that a user can access the software package SDK only by implementing a corresponding interface.
4. A heterogeneous low-code software package issuing method, which adopts the heterogeneous low-code software package issuing system of any one of claims 1 to 3, and is characterized in that: the method comprises the following steps:
step 1, a developer obtains a software package SDK provided by a low-code development platform, expands a software package protocol definition interface, adds a private protocol, defines a protocol version number and realizes a private protocol file import and export strategy by combining the realization characteristics of the developer;
step 2, exporting the application software package to generate a zip file according to an export interface provided by the software package SDK;
step 3, uploading a zip software package file to a design state or running state service environment of a target low-code development platform, decompressing, importing a software package according to an SDK import interface, and legally checking a software package structure and a protocol version number;
step 4, judging whether the target end low-code development platform has corresponding application or not; if yes, auditing and comparing the metadata of the software packages at the two ends, finally outputting different file lists and executing the step 5; otherwise, firstly creating an application, carrying out full execution import according to the file strategy of the software package, and executing the step 6;
step 5, the publisher examines the differential file list and adjusts the files according to the requirement;
step 6, the release personnel selects an application release mode to carry out application execution release, and the application release mode comprises incremental release and upgraded release;
and 7, acquiring and outputting the application access address after the application is successfully issued.
5. The method for distributing the heterogeneous low-code software package according to claim 4, wherein: the specific steps of the software package export of the step 2 are as follows:
step 2-1, acquiring a software package protocol, wherein the software package protocol can have a private protocol;
step 2-2, selecting an application to be exported, traversing file definition configuration defined by the design specification, and acquiring file strategies from the file definition configuration, wherein each file definition has a file strategy, and the file strategies are execution methods for acquiring file contents;
step 2-3, executing the file strategy, wherein the file strategy can be rewritten;
step 2-4, executing according to the file strategy, obtaining the metadata and the instance information content of the file strategy returned to each file corresponding to the low-code platform, and serializing the file content according to the format defined by the file;
step 2-5, generating a file instance, and adding a zip file;
and 2-6, outputting the application software package and archiving.
6. The method for issuing the heterogeneous low-code software package according to claim 4, wherein: the file adjustment in the step 5 comprises adjustment of a data source and an environment variable.
7. The method for issuing the heterogeneous low-code software package according to claim 4, wherein: step 6, executing the software package files after the comparison difference, and performing application increment or upgrading execution operation; and when the exception occurs, performing manual exception handling and selecting to continue execution or terminate import.
8. The method for issuing the heterogeneous low-code software package according to claim 4, wherein: when the increment is released, the application metadata is executed in an increment mode, the whole process is in one transaction, and the atomic operation is executed; when the application execution fails, rolling back and terminating the release; when the release is successful but the application service is abnormal, the re-export software package is re-released again, so the incremental release needs to be carefully selected.
9. The method for distributing the heterogeneous low-code software package according to claim 4, wherein: when the edition is upgraded and released, the application metadata is executed in a copy mode and an increment mode, the old metadata of the application is kept unchanged, and the whole process is executed in one transaction and atomic operation; when the application execution fails, the rollback can be selected, and the release is terminated; and when the application is successfully released but the application service is abnormal, the application version is returned online in real time by switching the versions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211306516.XA CN115658089A (en) | 2022-10-25 | 2022-10-25 | Heterogeneous low-code software package issuing system and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211306516.XA CN115658089A (en) | 2022-10-25 | 2022-10-25 | Heterogeneous low-code software package issuing system and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115658089A true CN115658089A (en) | 2023-01-31 |
Family
ID=84992309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211306516.XA Pending CN115658089A (en) | 2022-10-25 | 2022-10-25 | Heterogeneous low-code software package issuing system and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115658089A (en) |
-
2022
- 2022-10-25 CN CN202211306516.XA patent/CN115658089A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114035773B (en) | Configuration-based low-code form development method, system and device | |
US8561048B2 (en) | Late and dynamic binding of pattern components | |
CA2604449C (en) | A system and method for flexible visual representation of presentation components | |
CA2782414C (en) | Specifying user interface elements | |
US8904342B2 (en) | System and method for rapid development of software applications | |
KR101456506B1 (en) | An authoring tool for web applications and the authoring method thereof | |
US8539398B2 (en) | Model for a hardware device-independent method of defining embedded firmware for programmable systems | |
US20140173454A1 (en) | Method and system for designing, deploying and executing transactional multi-platform mobile applications | |
US20060236302A1 (en) | System and method for unified visualization of two-tiered applications | |
US20060248121A1 (en) | System and method for supporting packaging, publishing and republishing of wireless component applications | |
US20170235661A1 (en) | Integration of Software Systems via Incremental Verification | |
CN103617037A (en) | Developing method for web development system and web development system | |
US20040107085A1 (en) | Simulation player | |
KR20140019623A (en) | An integrated platform for authoring web applications and the authoring method thereof | |
US20040078180A1 (en) | Method for automatically decomposing dynamic system models into submodels | |
JP7373563B2 (en) | Systems and methods for creating and processing configurable applications for website building systems | |
KR102397494B1 (en) | Low code web development and operating system, and service method using of it | |
US8843884B1 (en) | Interactive graphical construction of parametric components of typical cross section frameworks | |
US20120060141A1 (en) | Integrated environment for software design and implementation | |
CN102054041B (en) | Method and system for upgrading metadata | |
CN113835691B (en) | IOS application development method, system, device, medium and program product | |
US20080127136A1 (en) | Software build system, software build method, and recording medium storing software build program | |
US20130024836A1 (en) | Interactive Graphical Construction of Parametric Components of Typical Cross Section Frameworks | |
CN115658089A (en) | Heterogeneous low-code software package issuing system and method thereof | |
Samaan et al. | Task models and interaction models in a multiple user interfaces generation process |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |