Function factory design method and device supporting low-code platform

Through the graphical interface and configurable components of the low-code platform, the function factory design process is simplified, the problem of traditional design inefficiency is solved, cross-platform and multi-language support is realized, and development efficiency and system integration capabilities are improved.

CN119201078APending Publication Date: 2024-12-27SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411140259.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Traditional functional factory design requires developers to write a lot of code, resulting in inefficiency in development and increased workload.

Method used

Adopting a low-code platform, simplifying the design process of the function factory through graphical interfaces, configurable components, multi-language support, cross-platform deployment and integration functions, providing intuitive visualization tools and reusable functional modules, supporting multi-language code generation Deploy and cloud platform, and implement integration functions with databases, message queues and APIs.

Benefits of technology

It realizes the intelligence of function factory design, reduces the workload of developers, improves development efficiency and quality, adapts to multi-language and multi-platform environments, and enhances system integration capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201078A_ABST
    Figure CN119201078A_ABST
Patent Text Reader

Abstract

The invention relates to the field of computer software, and particularly provides a function factory design method and device supporting a low-code platform, and the method comprises the following steps: S1, imaging an interface; s2, configuring the components; s3, multi-language support is carried out; s4, cross-platform deployment is carried out; and S5, integrating functions. Compared with the prior art, the method has the advantages that the intellectualization of function factory design can be realized, and the method has great significance for solving the common front-end technology in the current internet application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer software, and specifically provides a function factory design method and device that supports a low-code platform. Background Art

[0002] With the rapid development of the Internet, function factories are a common design pattern used to create object instances in the field of software development. However, traditional function factory design requires developers to write a lot of code, which increases the workload of developers and reduces development efficiency.

[0003] Therefore, a solution is needed to simplify the function factory design process to improve development efficiency and quality. Summary of the invention

[0004] In view of the deficiencies of the above-mentioned prior art, the present invention provides a highly practical function factory design method that supports a low-code platform.

[0005] A further technical task of the present invention is to provide a function factory design device that is reasonably designed, safe and applicable and supports a low-code platform.

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

[0007] A method for designing a function factory that supports a low-code platform has the following steps:

[0008] S1, graphical interface;

[0009] S2, configurable components;

[0010] S3, multi-language support;

[0011] S4. Cross-platform deployment;

[0012] S5. Integrated functions.

[0013] Further, in step S1, the graphical interface provides developers with an intuitive and easy-to-use visualization tool for designing the logical flow of the function factory;

[0014] First, developers select the required components from the component library and then add them to the workspace with a simple drag and drop operation.

[0015] Furthermore, the developer defines the logical flow of the function factory by connecting nodes, that is, the calling sequence and data transfer relationship between components;

[0016] Developers configure corresponding properties through a graphical interface, and these properties are presented visually.

[0017] Furthermore, in step S2, the configurable component provides a series of reusable functional modules for developers to simplify the design process of the function factory;

[0018] First, various object creation methods are provided, and developers can choose the appropriate object creation method according to their needs.

[0019] Furthermore, developers can configure parameter passing rules by passing constant values, obtaining values ​​from other components, and reading from external data sources;

[0020] Use data type conversion, data formatting, and data mapping to enable developers to work with data in different formats and structures;

[0021] By catching exceptions, throwing exceptions, logging, and returning error codes, developers can configure corresponding error handling strategies according to their needs.

[0022] Further, in step S3, first, adapters for different programming languages ​​are provided to convert the function factory designed in the graphical interface into code implementation in the corresponding language, and these adapters are optimized and customized according to the syntax and characteristics of different languages;

[0023] The function factory designed according to the graphical interface generates code files in the corresponding language. Developers can select the generated code type and target file path according to their needs and make corresponding configurations, or automatically develop adapters and code generators as needed to support more programming languages ​​and platforms.

[0024] Furthermore, in step S4, first, it supports the deployment of function factories on mainstream operating systems, packages the function factories into container images, and deploys and runs them through container management platforms, and supports the deployment of function factories on various cloud platforms.

[0025] Furthermore, in step S5, first, an integration function with a mainstream database is provided so that the function factory can read and write data in the database and realize data interaction with other systems;

[0026] Provides integration with the message queue system, enabling the function factory to implement asynchronous message processing and task scheduling.

[0027] A function factory design device supporting a low-code platform includes: at least one memory and at least one processor;

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

[0029] The at least one processor is used to call the machine-readable program to execute a function factory design method that supports a low-code platform.

[0030] Compared with the prior art, the function factory design method and device supporting the low-code platform of the present invention have the following outstanding beneficial effects:

[0031] The present invention solves the problem that the current traditional front-end function factory design requires developers to write a lot of code, which not only increases the workload of developers, but also reduces development efficiency. A function factory design scheme that supports a low-code platform is designed. By introducing a graphical interface, configurable components, multi-language support, cross-platform deployment and integrated functions, the intelligent design of the function factory is realized, which is of great significance to solving the common front-end technologies in current Internet applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Attached Figure 1 It is a flow chart of the function factory design method that supports low-code platforms. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] A best embodiment is given below:

[0036] like Figure 1 As shown, a function factory design method supporting a low-code platform in this embodiment has the following steps:

[0037] S1, graphical interface;

[0038] Provide developers with an intuitive and easy-to-use visual tool for designing the logical flow of the function factory. Through the graphical interface, developers can easily perform the following operations:

[0039] First, developers can select the required components from the component library, such as object creation, parameter passing, data conversion, etc., and then add them to the workspace through a simple drag and drop operation.

[0040] Developers can define the logical flow of the function factory by connecting nodes, that is, the calling order and data transfer relationship between components. This can be done with simple mouse operations, making the entire design process more intuitive and flexible.

[0041] For each component, developers can configure the corresponding properties through a graphical interface, such as object type, parameter settings, error handling methods, etc. These properties can be presented in a visual way, allowing developers to complete the configuration without writing code.

[0042] S2, configurable components;

[0043] Provide developers with a series of reusable functional modules to simplify the design process of function factories. These components include but are not limited to the following categories:

[0044] First of all, various object creation methods are provided, including instantiating classes, calling constructors, querying from databases, etc. Developers can choose the appropriate object creation method according to their needs.

[0045] Various methods of parameter passing are provided, such as passing constant values, obtaining values ​​from other components, reading from external data sources, etc. Developers can flexibly configure parameter passing rules.

[0046] It provides data format conversion and conversion rule configuration functions, including data type conversion, data formatting, data mapping, etc., allowing developers to process data in different formats and structures.

[0047] Various methods of exception handling and error handling are provided, including catching exceptions, throwing exceptions, logging, returning error codes, etc. Developers can configure corresponding error handling strategies according to their needs.

[0048] S3, multi-language support;

[0049] Supports multiple mainstream programming languages, including but not limited to Java, Python, JavaScript, etc., which enables developers to choose the programming language that best suits their projects. Specifically, multi-language support includes the following aspects:

[0050] First, adapters for different programming languages ​​are provided to convert the function factory designed in the graphical interface into code implementation in the corresponding language. These adapters are optimized and customized according to the syntax and characteristics of different languages ​​to ensure that the generated code can run correctly in the target environment.

[0051] The code generator function is provided to generate code files of the corresponding language according to the function factory designed in the graphical interface. Developers can select the generated code type and target file path as needed and make corresponding configurations.

[0052] It supports expansion for new programming languages. Developers can develop adapters and code generators as needed to support more programming languages ​​and platforms.

[0053] S4. Cross-platform deployment;

[0054] Deploy the function factory on different operating systems and platforms, including local servers, cloud platforms, etc., so that the function factory can adapt to the needs of different scenarios. Specifically, cross-platform deployment includes the following aspects:

[0055] First, it supports the deployment of function factories on mainstream operating systems, including Windows, Linux, macOS, etc., to ensure stability and reliability in different environments.

[0056] It supports packaging the function factory as a container image and deploying and running it through a container management platform, such as Docker and Kubernetes, which improves the flexibility and manageability of deployment.

[0057] Function factories can be deployed on various cloud platforms, such as AWS, Azure, and Google Cloud, to achieve cloud-native features such as high availability and elastic expansion.

[0058] S5, integrated functions;

[0059] Provides rich integration functions, including integration with databases, message queues, APIs, etc., allowing developers to easily integrate function factories with existing systems. Specifically, the integration functions include the following aspects:

[0060] First, it provides integration with mainstream databases, such as MySQL, PostgreSQL, MongoDB, etc., so that the function factory can read and write data in the database and realize data interaction with other systems.

[0061] It provides integration with message queue systems such as RabbitMQ, Kafka, Amazon SQS, etc., enabling the function factory to implement functions such as asynchronous message processing and task scheduling.

[0062] It provides integration capabilities with external APIs, including HTTP interfaces, SOAP interfaces, RESTful interfaces, etc., enabling the function factory to communicate and interact with third-party systems.

[0063] Based on the above method, a function factory design device supporting a low-code platform in this embodiment includes: at least one memory and at least one processor;

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

[0065] The at least one processor is used to call the machine-readable program to execute a function factory design method that supports a low-code platform.

[0066] The above-mentioned specific implementations are only specific cases of the present invention. The patent protection scope of the present invention includes but is not limited to the above-mentioned specific implementations. Any technical solutions that comply with the claims of the present invention and any appropriate changes or substitutions made by ordinary technicians in the relevant technical field shall fall within the patent protection scope of the present invention.

[0067] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A function factory design method supporting a low-code platform, characterized in that: The steps are as follows: S1, graphical interface; S2, configurable components; S3, multi-language support; S4. Cross-platform deployment; S5. Integrated functions.

2. A method for designing a function factory supporting a low-code platform according to claim 1, characterized in that: In step S1, the graphical interface provides developers with an intuitive and easy-to-use visualization tool for designing the logical flow of the function factory; First, developers select the required components from the component library and then add them to the workspace with a simple drag and drop operation.

3. A method for designing a function factory supporting a low-code platform according to claim 2, characterized in that: The developer defines the logical flow of the function factory by connecting nodes, that is, the calling sequence and data transfer relationship between components; Developers configure corresponding properties through a graphical interface, and these properties are presented visually.

4. A method for designing a function factory supporting a low-code platform according to claim 3, characterized in that: In step S2, the configurable component provides developers with a series of reusable functional modules to simplify the design process of the function factory; First, various object creation methods are provided, and developers can choose the appropriate object creation method according to their needs.

5. A method for designing a function factory supporting a low-code platform according to claim 4, characterized in that: Allows developers to configure parameter passing rules by passing constant values, getting values ​​from other components, and reading from external data sources; Use data type conversion, data formatting, and data mapping to enable developers to work with data in different formats and structures; By catching exceptions, throwing exceptions, logging, and returning error codes, developers can configure corresponding error handling strategies according to their needs.

6. A method for designing a function factory supporting a low-code platform according to claim 5, characterized in that: In step S3, first, adapters for different programming languages ​​are provided to convert the function factory designed in the graphical interface into code implementation in the corresponding language, and these adapters are optimized and customized according to the syntax and characteristics of different languages; The function factory designed according to the graphical interface generates code files in the corresponding language. Developers can select the generated code type and target file path according to their needs and make corresponding configurations, or automatically develop adapters and code generators as needed to support more programming languages ​​and platforms.

7. A method for designing a function factory supporting a low-code platform according to claim 6, characterized in that: In step S4, first, it supports the deployment of function factories on mainstream operating systems, packages the function factories into container images, and deploys and runs them through container management platforms, and supports the deployment of function factories on various cloud platforms.

8. A method for designing a function factory supporting a low-code platform according to claim 7, characterized in that: In step S5, first, the integration function with the mainstream database is provided, so that the function factory can read and write data in the database and realize data interaction with other systems; Provides integration with the message queue system, enabling the function factory to implement asynchronous message processing and task scheduling.

9. A function factory design device supporting a low-code platform, characterized in that: include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is configured to call the machine-readable program to execute the method according to any one of claims 1 to 8. The at least one processor is configured to call the machine-readable program to execute the method according to any one of claims 1 to 8.