Scaffolding generator construction method and product release method based on low code

By building a scaffolding generator based on low-code on a low-code platform, the shortcomings of internal developers' workflow construction are solved, and rapid construction and customized development are achieved, which improves development efficiency and reduces costs.

CN119781749APending Publication Date: 2025-04-08TONGFANG KNOWLEDGE DIGITAL PUBLISHING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411824775.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The existing low-code platform has flaws in building the front-end complete workflow required by internal developers of the enterprise, resulting in low code encoding utilization, high maintenance costs, and the inability to achieve divestiture of public services and rapid development of customized services, resulting in an extended development cycle.

Method used

The low-code-based scaffolding generator construction method is used to construct from three dimensions: basic component library, scaffolding framework and workflow. Combined with the enterprise business scenarios, a scaffolding generator construction method is provided, including constructing the basic component library, constructing scaffolding frameworks for different scenarios and corresponding workflows, registering scaffolding generators, and publishing customized products through workflow update configurations.

Benefits of technology

It realizes rapid construction of applications, improves development efficiency, reduces maintenance costs, supports unified management of product lines in the same scenario, shortens product development cycle, and reduces project operation and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119781749A_ABST
    Figure CN119781749A_ABST
Patent Text Reader

Abstract

The present application relates to the field of computer technology, and proposes a scaffold generator construction method and product release method based on low code, the construction method includes: constructing a basic component library; based on the basic component library, constructing a scaffolding framework for different scenarios; based on the scaffolding framework for different scenarios, constructing corresponding workflows; based on the workflows, registering scaffold generators respectively. Based on the basic component library including a public method library, a public function library and a public business library, with a scaffolding framework with development, compilation, debugging, release and packaging capabilities as a carrier, and a scaffolding generator with workflow as a medium, it can release basic products on the basis of generating basic scaffolding, especially can release customized products according to actual needs based on the updated configuration of the workflow, and conduct secondary development of upper-level business after the product is released.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and specifically to a low-code-based scaffolding generator construction method and a product publishing method. Background Art

[0002] In the form of digital reform, low-code platforms, as a development tool, are gradually becoming an important choice for enterprises to quickly build applications and improve development efficiency. Low-code platforms are tools that allow developers to build software applications with little or no code.

[0003] Currently, for developers within an enterprise, the construction of a complete front-end workflow for functions, businesses, interface interactions, templates, end-to-end functional debugging, etc. is often lacking. In the development process, due to the lack of a systematic workflow, there is no accumulation of derived results in the entire life cycle cycle from development to operation and maintenance, resulting in low code utilization and high maintenance costs. Due to the uneven level of developers, different developers may develop the same functional points, resulting in a waste of development resources and an increase in production costs. In addition, since it is impossible to divest public businesses, and thus it is impossible to complete the rapid development of customized businesses, the development cycle cannot be shortened. Summary of the invention

[0004] To solve the above problems, the embodiments of the present application provide a low-code-based scaffolding generator construction method and a product release method. Based on low-code, it is constructed from three dimensions: basic component library, scaffolding framework and workflow. Combined with the business scenarios of the enterprise, a scaffolding generator construction method is proposed.

[0005] The present application embodiment adopts the following technical solutions:

[0006] In a first aspect, a method for building a scaffolding generator based on low code is provided, the method comprising:

[0007] Construct basic component library;

[0008] Based on the basic component library, construct scaffolding frameworks for different scenarios;

[0009] Construct corresponding workflows based on scaffolding frameworks for different scenarios;

[0010] Register scaffold generators separately based on workflow.

[0011] Optionally, construct the basic component library including:

[0012] Construct component registry;

[0013] Create public method library, public function library and public business library;

[0014] Configure the Node.js-based nodemon command in the package.json of the public method library, public function library, and public business library.

[0015] Optionally, based on the basic component library, scaffolding frameworks for different scenarios are constructed, including:

[0016] Configure basic components according to the basic component library for different scenarios;

[0017] Define the development environment, compilation process, code standards, debugging process and release process of the scaffolding framework for different scenarios.

[0018] Optionally, based on the scaffolding framework for different scenarios, construct corresponding workflows including:

[0019] Based on the scaffolding framework for different scenarios, use yeoman to define the workflow separately;

[0020] The workflow includes: welcome message, function options, directories to be copied, directories to be created, and configuration files.

[0021] Optionally, based on the workflow, register scaffold generators separately including:

[0022] Generate scaffolding generators corresponding to different scenarios based on workflow;

[0023] Register the scaffold generators individually into the component registry.

[0024] In a second aspect, a product release method is provided, the method comprising:

[0025] Install a scaffolding generator according to the application scenario, wherein the scaffolding generator is constructed according to the above-mentioned low-code-based scaffolding generator construction method;

[0026] Create basic products, generate basic scaffolding based on the workflow of the scaffolding generator, and publish basic products through the basic scaffolding;

[0027] or,

[0028] Create customized products, update and configure the workflow of the scaffolding generator according to the customized products, generate customized scaffolding based on the updated and configured workflow, and publish customized products through the customized scaffolding.

[0029] Optionally, the method further includes:

[0030] Package the basic scaffolding or customized scaffolding into an installation package and configure the identification code corresponding to the product;

[0031] Corresponding independent access and verification of the product is carried out based on the identification code.

[0032] In a third aspect, a low-code-based scaffolding generator construction device is provided, the device comprising:

[0033] The first construction unit is used to construct a basic component library;

[0034] The second construction unit is used to construct scaffolding frameworks for different scenarios based on the basic component library;

[0035] The third construction unit is used to construct corresponding workflows based on scaffolding frameworks for different scenarios;

[0036] The generation unit is used to register scaffold generators based on workflows.

[0037] In a fourth aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned low-code-based scaffolding generator construction method or the steps of the product release method are implemented.

[0038] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is instructed by a processor, it implements the steps of the above-mentioned low-code-based scaffolding generator construction method or the steps of the product release method.

[0039] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0040] The low-code-based scaffolding generator construction method and product release method proposed in this application are based on a basic component library including a public method library, a public function library, and a public business library, and a scaffolding framework with development, compilation, debugging, release and packaging capabilities as a carrier. The scaffolding generator with workflow as the medium can release basic products based on the generation of basic scaffolding, and can especially release customized products according to actual needs based on the updated configuration of the workflow, and conduct secondary development of upper-level business after the release of customized products. In addition to being able to support the release of products with different capabilities, the technical achievements gradually derived in this process will also feed back to each link of the construction method, enrich the basic component library, and enhance the stability of the scaffolding framework and the diversity of the workflow.

[0041] The low-code-based scaffolding generator construction method and product release method proposed in this application, each product in the same scenario is released based on the scaffolding generated by the same scaffolding generator, and the product lines in the same scenario supported can be managed in a unified manner.

[0042] The low-code-based scaffolding generator construction method and product release method proposed in this application can realize the rapid construction of the basic framework of the development project product, avoid the homogeneous development of products in the same scenario, effectively form the sharing of development results within the enterprise, shorten the product development cycle, and reduce project operation and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0044] Figure 1 A flowchart of a low-code based scaffolding generator construction method according to an embodiment of the present application is shown;

[0045] Figure 2 A schematic diagram showing a process of a product release method according to an embodiment of the present application;

[0046] Figure 3 A schematic diagram of the structure of a low-code based scaffold generator construction device according to an embodiment of the present application is shown;

[0047] Figure 4 A schematic diagram showing the structure of a product release device according to an embodiment of the present application is shown;

[0048] Figure 5 A schematic structural diagram of a computer device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0050] In the first aspect, an embodiment of the present application proposes a method for constructing a scaffolding generator based on low code. Figure 1 The following is a flow chart of a method for constructing a scaffolding generator based on low code, which is proposed in one embodiment of the present application. Figure 1As shown, the low-code-based scaffolding generator construction method proposed in this embodiment includes the following steps:

[0051] Step S10, constructing a basic component library.

[0052] Construct a basic component library in the initial stage of construction. The basic component library can include but is not limited to: public method library, public function library, public business library, public product library, etc. The public method library, public function library, public business library and public product library are clearly divided according to their respective characteristics and follow the single responsibility design principle.

[0053] In some optional implementations, in the above step S10, constructing the basic component library includes: constructing a component registry; creating a public method library, a public function library, and a public business library; and configuring a Node.js-based nodemon command in the package.json of the public method library, the public function library, and the public business library.

[0054] Constructing a basic component library may specifically include the following steps:

[0055] Construct a component registry.

[0056] Use Verdaccio to construct an enterprise-wide component registry.

[0057] Create a library of public methods.

[0058] The public method library may include completely independent public methods that are not related to interaction. For example, the public method library may include, but is not limited to, simplified and traditional Chinese conversion, corner mark display, highlight processing, etc.

[0059] Create a library of common functions.

[0060] The public function library can include functions with professional characteristics, such as paging components with limited number of entries.

[0061] Create a public business library.

[0062] The public service library can have multiple modules, including public services used by multiple products, such as an online reader for a company's own texts.

[0063] Configure the Node.js-based nodemon command in the package.json of the public method library, public function library, and public business library.

[0064] Configure the Node.js-based nodemon command in the package.json of each component library. This command is used as a package manager in the development phase of the basic component library to monitor and synchronize the files of the basic component library.

[0065] Step S20: constructing scaffolding frameworks for different scenarios based on the basic component library.

[0066] Constructing the scaffolding framework includes two parts: calling the basic components and building the scaffolding framework.

[0067] In some optional implementations, in the above step S20, constructing a scaffolding framework for different scenarios based on the basic component library includes: configuring basic components according to the basic component library for different scenarios; defining the development environment, compilation process, code specifications, debugging process and release process of the scaffolding framework for different scenarios.

[0068] Based on the basic component library, constructing a scaffolding framework for different scenarios can specifically include the following steps:

[0069] Configure basic components according to the basic component library for different scenarios.

[0070] According to the basic component library, configure the corresponding basic components required for various scenarios.

[0071] Define the development environment of the scaffolding framework for different scenarios.

[0072] The web server of webpack-dev-server built with Node.js and the vue framework are used as the basic architecture, and yalc is used to monitor and synchronize the files of basic components.

[0073] Define the compilation process of the scaffolding framework for different scenarios.

[0074] Define folder hierarchy specifications to differentiate between different scenarios based on predefined starter files and webpack configuration.

[0075] Define code standards for scaffolding frameworks for different scenarios.

[0076] Use Eslint to constrain your code.

[0077] Define the debugging process of the scaffolding framework for different scenarios.

[0078] Use the Cypress framework to conduct comprehensive functional debugging and comparative debugging of different versions of the interfaces and functions involved in the scaffolding framework for different scenarios, ensuring the accuracy of functions during version iteration.

[0079] Define the release process of scaffolding framework for different scenarios.

[0080] Define the output process of project files for scaffolding frameworks for different scenarios and the process of releasing products through scaffolding.

[0081] Step S30, constructing corresponding workflows based on scaffolding frameworks for different scenarios.

[0082] The construction of workflow is to separate the business lines in the scaffolding framework for various scenarios.

[0083] In some optional embodiments, in the above step S30, constructing a corresponding workflow based on the scaffolding framework for different scenarios includes: based on the scaffolding framework for different scenarios, using yeoman to define the workflow separately; wherein the workflow includes: a welcome message, function options, a directory to be copied, a directory to be created, and a configuration file.

[0084] Based on the scaffolding framework for different scenarios, constructing the corresponding workflow can specifically include the following steps:

[0085] Based on the scaffolding framework for different scenarios, yeoman is used to define the workflows respectively.

[0086] Based on the scaffolding framework for different scenarios, yeoman is used to define the workflow separately, including: welcome message when using the constructed scaffolding framework, function options (prompts for function options), directories to be copied, directories to be created, required configuration files, etc.

[0087] Step S40: register scaffold generators respectively according to the workflow.

[0088] According to the workflow, register the scaffolding framework for different scenarios as the corresponding scaffolding generator.

[0089] In some optional implementations, in the above step S40, registering the scaffold generators separately according to the workflow includes: generating scaffold generators corresponding to different scenarios based on the workflow; and registering the scaffold generators in the component registry respectively.

[0090] According to the workflow, registering the scaffold generator separately can specifically include the following steps:

[0091] Generate scaffolding generators corresponding to different scenarios based on the workflow.

[0092] By using yeoman to separate the business lines of the scaffolding framework, scaffolding generators corresponding to different scenarios are formed.

[0093] Register the scaffold generators individually into the component registry.

[0094] Register scaffolding generators for different scenarios in the Verdaccio component registry. Register the scaffolding generator as an independent component to support developers to perform customized installation according to the command line when installing the scaffolding generator.

[0095] based on Figure 1 The method for building a scaffolding generator based on low code is shown, and the method includes: constructing a basic component library; constructing a scaffolding framework for different scenarios based on the basic component library; constructing corresponding workflows based on the scaffolding framework for different scenarios; and registering scaffolding generators based on the workflows. Based on low code, the construction is carried out from three dimensions: basic component library, scaffolding framework, and workflow. Combined with the business scenarios of the enterprise, a method for building a scaffolding generator is proposed. The scaffolding generator can summarize, extract, and optimize the development, compilation, debugging, and continuous integration of public methods, public functions, and public businesses during the product life cycle.

[0096] In a second aspect, an embodiment of the present application proposes a product release method. Figure 2 The flowchart of the product release method proposed according to one embodiment of the present application is shown. Figure 2 As shown, the product release method proposed in this embodiment includes the following steps:

[0097] Step S50, installing a scaffolding generator according to the application scenario, wherein the scaffolding generator is constructed according to the above-mentioned low-code-based scaffolding generator construction method.

[0098] According to the application scenario of the product to be released, determine the scaffolding generator for the corresponding scenario and install it. You can use the npm package manager to install the corresponding scaffolding generator.

[0099] Step S60, create a basic product, generate a basic scaffold based on the workflow of the scaffold generator, and publish the basic product through the basic scaffold; or, create a customized product, update and configure the workflow of the scaffold generator according to the customized product, generate a customized scaffold based on the updated and configured workflow, and publish the customized product through the customized scaffold.

[0100] Reorganize and generate scaffolding based on basic components, scaffolding framework, and workflow, and release products through scaffolding. Create products based on the requirements of the products to be released. Products can include basic products and customized products.

[0101] Basic products are products that can be released by directly generating basic scaffolding through the scaffolding generator without updating the workflow configuration of the scaffolding generator.

[0102] For basic products, the release of basic products for different supported scenarios can be realized based on basic components, scaffolding frameworks and workflows. Basic products in the same industry, field and scenario can be quickly created and reorganized and iterated.

[0103] Customized products are products that require updating the configuration of the scaffolding generator's workflow and generating customized scaffolding based on the updated configured workflow.

[0104] For customized products, when installing the scaffolding generator, you can update the configuration in the command line according to the welcome message, function options, directories to be copied, directories to be created, configuration files, etc. defined in the workflow, as prompted until the workflow update configuration is completed.

[0105] Based on the basic components, scaffolding framework and workflow, customized product releases can be quickly formed through secondary development of workflow update configuration, eliminating the development, compilation, debugging and other links.

[0106] In some optional implementations, the above method further includes: packaging the basic scaffold or customized scaffold into an installation package, and configuring an identity identification code corresponding to the product; and performing corresponding independent access and verification of the product according to the identity identification code.

[0107] The corresponding installation packages are obtained according to the products of different scenarios corresponding to the scaffolds (which may include basic scaffolds and customized scaffolds). The scaffolds of products for different scenarios are marked based on Yeoman, so that the scaffolds of products for different scenarios are configured with identification codes corresponding to the products, and independent access is performed based on the marked identification codes, and the corresponding products can be verified according to the marked identification codes.

[0108] The low-code-based scaffolding generator construction method and product release method proposed in this application are based on a basic component library including a public method library, a public function library, and a public business library, and a scaffolding framework with development, compilation, debugging, release and packaging capabilities as a carrier. The scaffolding generator with workflow as the medium can release basic products based on the generation of basic scaffolding, and can especially release customized products according to actual needs based on the updated configuration of the workflow, and conduct secondary development of upper-level business after the release of customized products. In addition to being able to support the release of products with different capabilities, the technical achievements gradually derived in this process will also feed back to each link of the construction method, enrich the basic component library, and enhance the stability of the scaffolding framework and the diversity of the workflow.

[0109] The low-code-based scaffolding generator construction method and product release method proposed in this application, each product in the same scenario is released based on the scaffolding generated by the same scaffolding generator, and the product lines in the same scenario supported can be managed in a unified manner.

[0110] The low-code-based scaffolding generator construction method and product release method proposed in this application can realize the rapid construction of the basic framework of the development project product, avoid the homogeneous development of products in the same scenario, effectively form the sharing of development results within the enterprise, shorten the product development cycle, and reduce project operation and maintenance costs.

[0111] Figure 3 The schematic diagram of the structure of a low-code scaffolding generator construction device proposed in one embodiment of the present application is shown. Figure 3 As shown, the low-code-based scaffolding generator construction device 70 proposed in this embodiment includes:

[0112] The first construction unit 701 is used to construct a basic component library;

[0113] The second construction unit 702 is used to construct a scaffolding framework for different scenarios based on the basic component library;

[0114] The third construction unit 703 is used to construct corresponding workflows based on scaffolding frameworks for different scenarios;

[0115] The generating unit 704 is used to register the scaffolding generators respectively based on the workflow.

[0116] In some optional embodiments, in the above-mentioned device 70, the first construction unit 701 is specifically used to: construct a component registry; create a public method library, a public function library and a public business library; and configure a Node.js-based nodemon command in the package.json of the public method library, the public function library and the public business library.

[0117] In some optional embodiments, in the above-mentioned device 70, the second construction unit 702 is specifically used to: configure basic components according to the basic component library for different scenarios; define the development environment, compilation process, code specifications, debugging process and release process of the scaffolding framework for different scenarios.

[0118] In some optional embodiments, in the above-mentioned device 70, the third construction unit 703 is specifically used to: based on the scaffolding framework for different scenarios, use yeoman to define the workflow separately; wherein the workflow includes: a welcome message, function options, a directory to be copied, a directory to be created, and a configuration file.

[0119] In some optional implementations, in the above-mentioned device 70, the generation unit 704 is specifically used to: generate scaffold generators corresponding to different scenarios based on the workflow; and register the scaffold generators in the component registry respectively.

[0120] It should be noted that the above-mentioned low-code-based scaffolding generator construction device 70 can implement the above-mentioned low-code-based scaffolding generator construction method one by one, which will not be repeated here.

[0121] Figure 4 The structure diagram of a product release device proposed in one embodiment of the present application is shown. Figure 4 As shown, the product release device 80 proposed in this embodiment includes:

[0122] An installation unit 801 is used to install a scaffold generator according to an application scenario, wherein the scaffold generator is constructed according to the aforementioned low-code-based scaffold generator construction method;

[0123] A basic product publishing unit 802 is used to create a basic product, generate a basic scaffold based on the workflow of the scaffold generator, and publish the basic product through the basic scaffold;

[0124] The customized product publishing unit 803 is used to create a customized product, update and configure the workflow of the scaffold generator according to the customized product, generate a customized scaffold based on the updated and configured workflow, and publish the customized product through the customized scaffold.

[0125] In some optional embodiments, the above-mentioned device 80 also includes: an identity recognition unit, which is used to package the basic scaffolding or customized scaffolding into an installation package, and configure an identity recognition code corresponding to the product; and perform corresponding independent access and verification of the product according to the identity recognition code.

[0126] It should be noted that the above-mentioned product release device 80 can implement the above-mentioned product release methods one by one, which will not be described in detail.

[0127] Figure 5 A schematic diagram showing the structure of a computer device according to an embodiment of the present application is shown. Figure 5As shown, the internal structure of the computer device may include a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client through a network connection. When the computer program is executed by the processor, the functions or steps of the low-code based scaffolding generator construction method or product release method are implemented.

[0128] In one embodiment, the computer device provided by the present application includes a memory and a processor, the memory stores a database and a computer program that can be run on the processor, and the processor implements the following steps when executing the computer program:

[0129] Construct basic component library;

[0130] Based on the basic component library, construct scaffolding frameworks for different scenarios;

[0131] Construct corresponding workflows based on scaffolding frameworks for different scenarios;

[0132] Register scaffold generators separately based on workflow.

[0133] or,

[0134] Install a scaffolding generator according to the application scenario, wherein the scaffolding generator is constructed according to the aforementioned low-code-based scaffolding generator construction method;

[0135] Create a basic product, generate a basic scaffold based on the workflow of the scaffold generator, and publish the basic product through the basic scaffold; or, create a customized product, update and configure the workflow of the scaffold generator according to the customized product, generate a customized scaffold based on the updated and configured workflow, and publish the customized product through the customized scaffold.

[0136] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0137] Construct basic component library;

[0138] Based on the basic component library, construct scaffolding frameworks for different scenarios;

[0139] Construct corresponding workflows based on scaffolding frameworks for different scenarios;

[0140] Register scaffold generators separately based on workflow.

[0141] or,

[0142] Install a scaffolding generator according to the application scenario, wherein the scaffolding generator is constructed according to the aforementioned low-code-based scaffolding generator construction method;

[0143] Create a basic product, generate a basic scaffold based on the workflow of the scaffold generator, and publish the basic product through the basic scaffold; or create a customized product, update and configure the workflow of the scaffold generator according to the customized product, generate a customized scaffold based on the updated and configured workflow, and publish the customized product through the customized scaffold. It should be noted that the above functions or steps that can be implemented by the computer device or computer-readable storage medium can be referred to the relevant description in the aforementioned method embodiment. In order to avoid repetition, they will not be described one by one here.

[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0145] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0146] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for constructing a scaffolding generator based on low code, characterized in that: The method comprises: Construct basic component library; Based on the basic component library, construct scaffolding frameworks for different scenarios; Based on the scaffolding framework for different scenarios, construct corresponding workflows; Based on the workflow, scaffold generators are registered respectively.

2. According to the low-code based scaffolding generator construction method of claim 1, it is characterized in that: The construction basic component library includes: Construct component registry; Create public method library, public function library and public business library; A nodemon command based on Node.js is configured in package.json of the public method library, the public function library, and the public business library.

3. According to the low-code based scaffolding generator construction method of claim 1, it is characterized in that: The construction of scaffolding frameworks for different scenarios based on the basic component library includes: For different scenarios, basic components are configured according to the basic component library; Define the development environment, compilation process, code specifications, debugging process and release process of the scaffolding framework for different scenarios.

4. The low-code based scaffolding generator construction method according to claim 1 is characterized in that: Based on the scaffolding framework for different scenarios, constructing corresponding workflows includes: Based on the scaffolding framework for different scenarios, the workflows are defined using yeoman; The workflow includes: a welcome message, function options, directories to be copied, directories to be created, and configuration files.

5. The method for constructing a low-code scaffolding generator according to claim 1, characterized in that: The registering of scaffold generators based on the workflow includes: Generating the scaffolding generators corresponding to different scenarios respectively based on the workflow; The scaffold generators are registered in the component registry respectively.

6. A product release method, characterized in that: The method comprises: Install a scaffolding generator according to the application scenario, wherein the scaffolding generator is constructed according to the low-code-based scaffolding generator construction method according to any one of claims 1 to 5; Creating a basic product, generating a basic scaffold based on the workflow of the scaffold generator, and publishing the basic product through the basic scaffold; or, A customized product is created, a workflow of the scaffold generator is updated and configured according to the customized product, a customized scaffold is generated based on the updated and configured workflow, and the customized product is released through the customized scaffold.

7. The product release method according to claim 6, characterized in that: The method further comprises: Packing the basic scaffold or the customized scaffold into an installation package, and configuring an identity code corresponding to the product; Corresponding independent access and verification of the product are performed according to the identification code.

8. A low-code based scaffolding generator construction device, characterized in that: The device comprises: The first construction unit is used to construct a basic component library; A second construction unit is used to construct a scaffolding framework for different scenarios based on the basic component library; A third construction unit is used to construct corresponding workflows based on the scaffolding framework for different scenarios; The generation unit is used to register scaffold generators respectively based on the workflow.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements the steps of the low-code based scaffolding generator construction method as described in any one of claims 1 to 5 or the steps of the product release method as described in any one of claims 6 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is instructed by the processor, it implements the steps of the low-code based scaffolding generator construction method as described in any one of claims 1 to 5 or the steps of the product release method as described in any one of claims 6 to 7.