CN116185372A - Back-end source code generation method, device, equipment and storage medium - Google Patents
Back-end source code generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN116185372A CN116185372A CN202310458549.4A CN202310458549A CN116185372A CN 116185372 A CN116185372 A CN 116185372A CN 202310458549 A CN202310458549 A CN 202310458549A CN 116185372 A CN116185372 A CN 116185372A
- Authority
- CN
- China
- Prior art keywords
- source code
- data table
- end source
- form data
- data tables
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000011161 development Methods 0.000 claims abstract description 91
- 238000010801 machine learning Methods 0.000 claims abstract description 25
- 238000005516 engineering process Methods 0.000 claims abstract description 18
- 230000008569 process Effects 0.000 claims description 32
- 238000013461 design Methods 0.000 claims description 26
- 238000004422 calculation algorithm Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 17
- 238000012545 processing Methods 0.000 claims description 9
- 230000008676 import Effects 0.000 claims description 4
- 238000010276 construction Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000012805 post-processing Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明涉及软件开发领域,特别涉及一种后端源码生成方法、装置、设备及存储介质。The invention relates to the field of software development, in particular to a back-end source code generation method, device, equipment and storage medium.
背景技术Background technique
目前低代码开发平台已经流行,用户无需编码或通过少量代码就可以快速根据自己的业务定制自己的低代码开发环境并生成应用程序。在某些情况下,客户需要个性化定制,原本的平台无法满足需求,同时又希望能够快速开发,这就需要低代码开发平台拥有支持客户二次开发的能力,需要低代码平台能够拥有前后端出码的能力。客户只需要将低代码平台出码的文件拷入自己搭建的工程,就可以进行初步的组件可视化渲染并拥有对表单的CRUD(增删改查)能力。目前市面上的低代码平台大多是前后端分离框架结构,前端开发技术有VUE、React等,出码技术也比较丰富,其中比较代表性的有阿里的Lowcode-Engine。后端开发大多采用Java技术进行开发,但在后台服务出码方面尚没有完善的技术体系。At present, the low-code development platform has become popular, and users can quickly customize their own low-code development environment and generate applications according to their own business without coding or with a small amount of code. In some cases, customers need personalized customization, the original platform cannot meet the needs, and at the same time they hope to be able to develop quickly, which requires the low-code development platform to have the ability to support the customer's secondary development, and the low-code platform needs to be able to have front-end and back-end The ability to code. Customers only need to copy the coded files from the low-code platform into their own projects, and then they can perform preliminary visual rendering of components and have CRUD (addition, deletion, modification, query) capabilities for forms. Currently, most of the low-code platforms on the market have a framework structure with front-end and back-end separation. The front-end development technologies include VUE, React, etc., and there are also rich coding technologies, among which Ali's Lowcode-Engine is more representative. Most of the back-end development is developed using Java technology, but there is no perfect technical system in terms of background service coding.
发明内容Contents of the invention
有鉴于此,本发明的目的在于提供一种后端源码生成方法、装置、设备及存储介质,能够实现快速有效的出码。其具体方案如下:In view of this, the purpose of the present invention is to provide a back-end source code generation method, device, equipment and storage medium, which can realize fast and effective code output. The specific plan is as follows:
第一方面,本申请公开了一种后端源码生成方法,应用于低代码开发平台,包括:In the first aspect, this application discloses a method for generating back-end source code, which is applied to a low-code development platform, including:
基于用户需求设计初始表单并配置所述初始表单相应的权限以及流程引擎,以在后台数据库中生成对应的目标数据表;所述目标数据表包括初始表单数据表、权限信息表以及流程数据表;Design an initial form based on user requirements and configure the corresponding permissions and process engine of the initial form to generate a corresponding target data table in the background database; the target data table includes an initial form data table, a permission information table, and a process data table;
选择待进行二次开发的应用以及位于所述目标数据表中的若干张表单数据表,并基于机器学习确定所述若干张表单数据表之间的关联关系;Selecting the application to be secondary developed and several form data tables located in the target data table, and determining the association relationship among the several form data tables based on machine learning;
利用预设模板技术基于所述若干张表单数据表以及所述关联关系构建相应的模板文件;Using preset template technology to construct corresponding template files based on the several form data tables and the association relationship;
根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码。The back-end source code needed for secondary development is generated according to the several form data tables and the template file.
可选的,所述基于用户需求设计初始表单并配置所述初始表单相应的权限以及流程引擎,以在后台数据库中生成对应的目标数据表,包括:Optionally, designing the initial form based on user requirements and configuring the corresponding authority and process engine of the initial form to generate a corresponding target data table in the background database, including:
基于所述用户需求在低代码平台设计态设计所述初始表单并配置所述初始表单相应的权限以及流程引擎,并将设计完成的所述初始表单发布至运行态,以在所述运行态的所述后台数据库中生成对应的目标数据表。Design the initial form in the design state of the low-code platform based on the user requirements, configure the corresponding permissions and process engine of the initial form, and release the designed initial form to the running state, so that in the running state A corresponding target data table is generated in the background database.
可选的,所述选择待进行二次开发的应用以及位于所述目标数据表中的若干张表单数据表,包括:Optionally, the selection of the application to be secondary developed and several form data tables located in the target data table includes:
通过Web界面或直接从所述后台数据库中选择所述待进行二次开发的应用以及位于所述目标数据表中的所述若干张表单数据表。The application to be secondary developed and the several form data tables located in the target data table are selected through a web interface or directly from the background database.
可选的,所述基于机器学习确定所述若干张表单数据表之间的关联关系,包括:Optionally, the machine learning-based determination of the association relationship between the several form data tables includes:
基于所述机器学习的关联规则算法通过逐层搜索的迭代方法获取所述数据库中项集的关系,以根据所述项集的关系确定所述若干张表单数据表之间的所述关联关系;其中,每个所述项集中包含若干项,所述数据表中的一个字段为一个项。The association rule algorithm based on the machine learning obtains the relationship of the item sets in the database through an iterative method of layer-by-layer search, so as to determine the association relationship between the plurality of form data tables according to the relationship of the item sets; Wherein, each item set contains several items, and a field in the data table is an item.
可选的,所述根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码,包括:Optionally, the generating the back-end source code required for secondary development according to the several form data sheets and the template file includes:
利用代码生成器根据所述若干张表单数据表和所述模板文件生成二次开发需要的所述后端源码;所述后端源码包括负责数据处理的Java文件、用于进行物化处理的结构化查询语言文件、数据表Mapper文件以及配置文件。Utilize code generator to generate the described back-end source code that secondary development needs according to described several sheet data tables and described template file; Described back-end source code comprises the Java file that is responsible for data processing, is used for carrying out the structured Query language files, data table Mapper files, and configuration files.
可选的,所述根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码之后,还包括:Optionally, after generating the back-end source code required for secondary development according to the several form data sheets and the template file, it also includes:
基于所述结构化查询语言文件,将所述二次开发需要的数据库表在客户端进行物化处理,以存储所述二次开发运行所需数据;所述数据库表包括若干张表单、权限、引擎以及系统配置。Based on the structured query language file, materialize the database table required for the secondary development on the client to store the data required for the secondary development operation; the database table includes several forms, permissions, and engines and system configuration.
可选的,所述根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码之后,还包括:Optionally, after generating the back-end source code required for secondary development according to the several form data sheets and the template file, it also includes:
在客户端搭建SpringBoot工程,将所述配置文件以及所述后端源码导入至所述SpringBoot工程来实现编译运行。Build a SpringBoot project on the client side, import the configuration file and the back-end source code into the SpringBoot project to implement compilation and operation.
第二方面,本申请公开了一种后端源码生成装置,应用于低代码开发平台,包括:In the second aspect, this application discloses a device for generating back-end source code, which is applied to a low-code development platform, including:
数据表生成模块,用于基于用户需求设计初始表单并配置所述初始表单相应的权限以及流程引擎,以在后台数据库中生成对应的目标数据表;所述目标数据表包括初始表单数据表、权限信息表以及流程数据表;The data table generating module is used to design an initial form based on user needs and configure the corresponding authority and process engine of the initial form, so as to generate a corresponding target data table in the background database; the target data table includes an initial form data table, authority Information sheets and process data sheets;
关系确定模块,用于选择待进行二次开发的应用以及位于所述目标数据表中的若干张表单数据表,并基于机器学习确定所述若干张表单数据表之间的关联关系;所述数据表包括所述若干张表单数据表;A relationship determination module, configured to select an application to be developed for secondary development and several form data tables located in the target data table, and determine the association relationship between the several form data tables based on machine learning; the data The table includes the plurality of form data tables;
模板文件构建模块,用于利用预设模板技术基于所述若干张表单数据表以及所述关联关系构建相应的模板文件;A template file construction module, configured to construct a corresponding template file based on the plurality of form data tables and the association relationship using a preset template technology;
源码生成模块,用于根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码。The source code generation module is used to generate the back-end source code required for secondary development according to the several form data sheets and the template file.
第三方面,本申请公开了一种电子设备,包括:In a third aspect, the present application discloses an electronic device, comprising:
存储器,用于保存计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序以实现前述的后端源码生成方法。A processor, configured to execute the computer program to implement the aforementioned back-end source code generation method.
第四方面,本申请公开了一种计算机可读存储介质,用于保存计算机程序,所述计算机程序被处理器执行时实现前述的后端源码生成方法。In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, and when the computer program is executed by a processor, the aforementioned back-end source code generation method is implemented.
由上可知,本申请在进行后端源码生成时,首先基于用户需求设计初始表单并配置所述初始表单相应的权限以及流程引擎,以在后台数据库中生成对应的目标数据表;所述目标数据表包括初始表单数据表、权限信息表以及流程数据表;选择待进行二次开发的应用以及位于所述目标数据表中的若干张表单数据表,并基于机器学习确定所述若干张表单数据表之间的关联关系;利用预设模板技术基于所述若干张表单数据表以及所述关联关系构建相应的模板文件;根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码。可见,本申请采用低代码平台开发,实现系统的后端出码,可以用于快速的二次开发扩展功能,降低了开发成本和开发周期。同时,该系统采用了基于机器学习的规则算法,快速有效分析输入数据表的关系,提高了模板生成的准确性。It can be seen from the above that when the application generates the back-end source code, it first designs the initial form based on user needs and configures the corresponding authority and process engine of the initial form to generate the corresponding target data table in the background database; the target data The table includes an initial form data table, a permission information table, and a process data table; select the application to be developed for secondary development and several form data tables located in the target data table, and determine the several form data tables based on machine learning relationship between them; use the preset template technology to build corresponding template files based on the several form data tables and the association relationship; generate the post-processing required for secondary development according to the several form data tables and the template file Terminal source code. It can be seen that this application is developed on a low-code platform to realize the back-end code output of the system, which can be used for rapid secondary development and expansion functions, reducing development costs and development cycles. At the same time, the system uses a rule algorithm based on machine learning to quickly and effectively analyze the relationship between the input data tables and improve the accuracy of template generation.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本申请公开的一种后端源码生成方法流程图;Fig. 1 is a flow chart of a method for generating back-end source codes disclosed in the present application;
图2为本申请公开的一种数据集示意图;Fig. 2 is a schematic diagram of a data set disclosed in the present application;
图3为本申请公开的一种低代码开发平台关联关系表示意图;FIG. 3 is a schematic diagram of an association relationship table of a low-code development platform disclosed in the present application;
图4为本申请公开的一种低代码开发平台输出频繁项示意图;FIG. 4 is a schematic diagram of a low-code development platform outputting frequent items disclosed in the present application;
图5为本申请公开的一种后端源码生成方法流程图;Fig. 5 is a flow chart of a method for generating back-end source code disclosed in the present application;
图6为本申请公开的一种后端源码生成装置示意图;FIG. 6 is a schematic diagram of a back-end source code generation device disclosed in the present application;
图7为本申请公开的一种电子设备结构图。FIG. 7 is a structural diagram of an electronic device disclosed in the present application.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
目前市面上的低代码平台大多是前后端分离框架结构,前端开发技术有VUE、React等,出码技术也比较丰富,其中比较代表性的有阿里的Lowcode-Engine。后端开发大多采用Java技术进行开发,但在后台服务出码方面尚没有完善的技术体系。为解决上述技术问题,本申请提供了一种后端源码生成方法,能够实现有效生成二次开发的后端源码直接用于开发。Currently, most of the low-code platforms on the market have a framework structure with front-end and back-end separation. The front-end development technologies include VUE, React, etc., and there are also rich coding technologies, among which Ali's Lowcode-Engine is more representative. Most of the back-end development is developed using Java technology, but there is no perfect technical system in terms of background service coding. In order to solve the above technical problems, the present application provides a method for generating back-end source code, which can effectively generate the back-end source code for secondary development and directly use it for development.
参见图1所示,本发明实施例公开了一种后端源码生成方法,应用于低代码开发平台,包括:Referring to Figure 1, the embodiment of the present invention discloses a method for generating back-end source code, which is applied to a low-code development platform, including:
步骤S11、基于用户需求设计初始表单并配置所述初始表单相应的权限以及流程引擎,以在后台数据库中生成对应的目标数据表;所述目标数据表包括初始表单数据表、权限信息表以及流程数据表。Step S11, designing an initial form based on user requirements and configuring the corresponding permissions and process engine of the initial form to generate a corresponding target data table in the background database; the target data table includes an initial form data table, a permission information table, and a process data sheet.
本实施例中,基于所述用户需求在低代码平台设计态设计所述初始表单并配置所述初始表单相应的权限以及流程引擎,并将设计完成的所述初始表单发布至运行态,以在所述运行态的所述后台数据库中生成对应的目标数据表。即针对客户需求,在低代码平台设计态进行表单的设计并且可以根据需要进一步配置权限控制和流程引擎。在设计态完成设计并发布到运行态之后,会在运行态的后台数据库中生成对应数据表其中包括表单数据表和相应的权限信息表, 流程数据表。In this embodiment, based on the user requirements, the initial form is designed in the design state of the low-code platform and the corresponding permissions and process engines of the initial form are configured, and the designed initial form is published to the running state for A corresponding target data table is generated in the background database in the running state. That is, according to customer needs, form design is carried out in the low-code platform design state, and permission control and process engine can be further configured as needed. After the design is completed in the design state and released to the running state, the corresponding data tables will be generated in the background database of the running state, including form data tables, corresponding permission information tables, and process data tables.
步骤S12、选择待进行二次开发的应用以及位于所述目标数据表中的若干张表单数据表,并基于机器学习确定所述若干张表单数据表之间的关联关系。Step S12, selecting the application to be secondary developed and several form data tables located in the target data table, and determining the association relationship among the several form data tables based on machine learning.
本实施例中,通过Web界面或直接从所述后台数据库中选择所述待进行二次开发的应用以及位于所述目标数据表中的所述若干张表单数据表。并基于所述机器学习的关联规则算法通过逐层搜索的迭代方法获取所述数据库中项集的关系,以根据所述项集的关系确定所述若干张表单数据表之间的所述关联关系;其中,每个所述项集中包含若干项,所述数据表中的一个字段为一个项。就是通过Web界面或者直接从数据库选择客户需要进行二次开发的应用及多张表单a,b,c,d。将a,b,c,d这多张数据表作为输入,依据机器学习的关联规则算法,通过逐层搜索的迭代方法找出数据库中项集的关系,以形成规则,从而梳理出多张数据表之间的关联关系,其中包括但不限于以下关系:父子依赖关系和共同被使用的子组件。In this embodiment, the application to be secondary developed and the several form data tables located in the target data table are selected through a web interface or directly from the background database. And based on the association rule algorithm of the machine learning, the relationship of the item sets in the database is obtained through an iterative method of layer-by-layer search, so as to determine the association relationship between the plurality of form data tables according to the relationship of the item sets ; Wherein, each item set contains several items, and a field in the data table is an item. It is to select the application and multiple forms a, b, c, d that the customer needs for secondary development through the web interface or directly from the database. Taking multiple data tables of a, b, c, and d as input, according to the association rule algorithm of machine learning, find out the relationship between the item sets in the database through the iterative method of layer-by-layer search to form rules, so as to sort out multiple data sheets Relationships between tables, including but not limited to the following relationships: parent-child dependency and commonly used subcomponents.
目前机器学习的关联规则算法最常用的是Apriori(挖掘关联规则的频繁项集算法)算法和FP-growth(Frequent Pattern,频繁模式增长)算法。前者多次扫描数据库,每次利用候选频繁集产生频繁集;后者则利用树形结构直接得到频繁集,减少了扫描数据库的次数,从而提高了算法的效率。在本低代码开发中使用Apriori算法,首先需要构造数据集如图2所示。其中对应的每个数据表定义为一个事务,数据表中的每个字段称为一个项,包含零个或多个项的集合叫做项集,例如{ id1,input1,address1,radio1,parentid1}, 包含k个项的项集叫做k-项集,例如{ id1,input1,address1,radio1,parentid1}叫做1-项集,{ id3,parentid1,checkbox3}叫做3-项集。对于规则的前件和后件,{parentid}叫前件,{input}等叫后件。进而通过支持度,置信度和提升度进行指标分析。这里,c事务的id3值等于a事务和b事务的parentid。支持度是数据集中包含该项集的记录所占的比例,表示同时包含a和b的事务占所有事务的比例;可信度是针对一条关联规则来定义的,表示使用包含a的事务中同时包含b事务的比例,即同时包含a和b的事务占包含a事务的比例。低代码开发平台关联关系表设计如图3所示,图中,IMPLIES代表从左侧到右侧具有相关性。提升度表示“包含a的事务中同时包含b事务的比例”与“包含b事务的比例”的比值。在多表大数据量的情况下,通过python脚本,直接调用相关库文件,通过置信度调用,输出频繁项父类和共同组件如图4所示。可知,本申请采用了基于机器学习的规则算法,快速有效分析输入数据表的关系,提高了模板生成的准确性。尤其在需要进行二次开发的输入表单数据量庞大的情况下,这种优势更加明显。At present, the most commonly used association rule algorithms for machine learning are Apriori (frequent itemset algorithm for mining association rules) algorithm and FP-growth (Frequent Pattern, frequent pattern growth) algorithm. The former scans the database multiple times, and uses the candidate frequent sets to generate frequent sets each time; the latter uses the tree structure to directly obtain the frequent sets, which reduces the number of times to scan the database, thereby improving the efficiency of the algorithm. To use the Apriori algorithm in this low-code development, you first need to construct a data set as shown in Figure 2. Each corresponding data table is defined as a transaction, each field in the data table is called an item, and a collection containing zero or more items is called an item set, such as {id1, input1, address1, radio1, parentid1}, An itemset containing k items is called a k-itemset. For example, {id1, input1, address1, radio1, parentid1} is called a 1-itemset, and {id3, parentid1, checkbox3} is called a 3-itemset. For the antecedent and the aftermath of a rule, {parentid} is called the antecedent, and {input}, etc. are called the aftermath. And then analyze the indicators through support, confidence and promotion. Here, the id3 value of transaction c is equal to the parentid of transaction a and transaction b. The support degree is the proportion of records in the data set that contain the itemset, indicating the proportion of transactions that contain both a and b in all transactions; the credibility is defined for an association rule, which means that the transactions that contain a and b at the same time The proportion of transactions containing b, that is, the proportion of transactions containing both a and b to transactions containing a. The design of the association relationship table of the low-code development platform is shown in Figure 3. In the figure, IMPLIES represents correlation from left to right. The lift degree represents the ratio of "the proportion of transactions that include a and transactions that also include b" to "the ratio of transactions that include b". In the case of multiple tables with a large amount of data, the relevant library files are directly called through the python script, and the frequent item parent class and common components are output through the confidence call, as shown in Figure 4. It can be seen that the present application adopts a rule algorithm based on machine learning to quickly and effectively analyze the relationship between input data tables and improve the accuracy of template generation. This advantage is more obvious especially in the case of a huge amount of input form data that requires secondary development.
步骤S13、利用预设模板技术基于所述若干张表单数据表以及所述关联关系构建相应的模板文件。Step S13, using preset template technology to construct corresponding template files based on the several form data tables and the association relationship.
本实施例中,将多张数据表和它们之间的关联关系作为输入,根据velocity模板技术,构建相应的模板文件。表单采用统一的CURD模板文件。对于父类和共同组件类,创建单独的模板。In this embodiment, a plurality of data tables and their associations are taken as input, and a corresponding template file is constructed according to the velocity template technology. The form uses a unified CURD template file. Create separate templates for parent and common component classes.
步骤S14、根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码。Step S14, generating the back-end source code needed for secondary development according to the several form data sheets and the template file.
本实施例中,利用代码生成器根据所述若干张表单数据表和所述模板文件生成二次开发需要的所述后端源码;所述后端源码包括负责数据处理的Java文件、用于进行物化处理的结构化查询语言文件、数据表Mapper文件以及配置文件。即使用code generator(代码生成器)生成二次开发需要的源码,其中包括负责CRUD的Java文件,需要物化的SQL(Structured Query Language,结构化查询语言)文件,数据表Mapper文件以及配置文件pom.xml, bootstrap.yml等。在配置文件pom.xml中,添加SpringBoot和Sprin gCloud相关依赖,用以支持微服务,这样二次开发需要的源文件就绪。根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码之后,还包括:基于所述结构化查询语言文件,将所述二次开发需要的数据库表在客户端进行物化处理,以存储所述二次开发运行所需数据;所述数据库表包括若干张表单、权限、引擎以及系统配置。就是说接下来需要搭建二次开发的工程,根据客户部署的不同规模需求选择不同的服务器。在一种具体的实施例中,如果仅是支持千人以下用户并发访问,可以部署16c32G 内存500G硬盘,在此服务器上安装操作系统,选用centos7.6或以上。继而做好环境初始化,配置好防火墙等网络之后,安装JDK和基础组件如数据库mariadb,微服务配置中心nacos,redis数据库缓存和前端nginx web服务器。这样二次开发的服务器端搭建完毕,将code generator生成的SQL文件在服务器端的数据库导入,二次开发需要的数据库表(包括表单,权限,引擎,系统配置等)在数据库中进行物化,用于存储二次运行需要的数据。In this embodiment, a code generator is used to generate the back-end source code needed for secondary development according to the several form data tables and the template file; the back-end source code includes a Java file responsible for data processing, for performing Structured query language files, data table Mapper files, and configuration files for materialized processing. That is to use the code generator (code generator) to generate the source code required for secondary development, including the Java file responsible for CRUD, the SQL (Structured Query Language) file that needs to be materialized, the data table Mapper file, and the configuration file pom. xml, bootstrap.yml, etc. In the configuration file pom.xml, add SpringBoot and Spring Cloud related dependencies to support microservices, so that the source files required for secondary development are ready. After generating the back-end source code required for secondary development according to the several form data tables and the template file, it also includes: based on the structured query language file, performing the database table required for secondary development on the client side Materialized processing to store the data required for the secondary development and operation; the database tables include several forms, permissions, engines and system configurations. That is to say, the next step is to build a secondary development project, and select different servers according to the different scale requirements of customer deployment. In a specific embodiment, if it only supports concurrent access by users with less than a thousand users, you can deploy 16c32G memory and 500G hard disk, install an operating system on this server, and choose centos7.6 or above. Then do a good job of environment initialization, after configuring the firewall and other networks, install JDK and basic components such as database mariadb, microservice configuration center nacos, redis database cache and front-end nginx web server. After the secondary development server is set up, the SQL file generated by the code generator is imported into the server-side database, and the database tables (including forms, permissions, engines, system configurations, etc.) required for secondary development are materialized in the database for use in Store the data needed for the second run.
所述根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码之后,还包括:在客户端搭建SpringBoot工程,将所述配置文件以及所述后端源码导入至所述SpringBoot工程来实现编译运行。即最后在二次开发的客户端新建SpringBoot工程,拷入配置文件pom.xml 和 bootstrap.yml,并且code generator已经根据配置文件要求生成了所有源码文件。拷入二次开发工程之后,在客户端工程里面直接编译运行实现开箱即用,进而进行更加快速的二次开发。After generating the back-end source code required for secondary development according to the several form data tables and the template file, it also includes: building a SpringBoot project on the client side, importing the configuration file and the back-end source code into the Describe the SpringBoot project to implement compilation and operation. That is, finally create a new SpringBoot project on the client side of the secondary development, copy in the configuration files pom.xml and bootstrap.yml, and the code generator has generated all source code files according to the configuration file requirements. After copying into the secondary development project, compile and run directly in the client project to achieve out-of-the-box use, and then perform faster secondary development.
由上可知,本申请在进行后端源码生成时,首先基于用户需求设计初始表单并配置所述初始表单相应的权限以及流程引擎,以在后台数据库中生成对应的目标数据表;所述目标数据表包括初始表单数据表、权限信息表以及流程数据表;选择待进行二次开发的应用以及位于所述目标数据表中的若干张表单数据表,并基于机器学习确定所述若干张表单数据表之间的关联关系;利用预设模板技术基于所述若干张表单数据表以及所述关联关系构建相应的模板文件;根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码。可见,本申请采用低代码平台开发,实现系统的后端出码,可以用于快速的二次开发扩展功能,降低了开发成本和开发周期。同时,该系统采用了基于机器学习的规则算法,快速有效分析输入数据表的关系,提高了模板生成的准确性。It can be seen from the above that when the application generates the back-end source code, it first designs the initial form based on user needs and configures the corresponding authority and process engine of the initial form to generate the corresponding target data table in the background database; the target data The table includes an initial form data table, a permission information table, and a process data table; select the application to be developed for secondary development and several form data tables located in the target data table, and determine the several form data tables based on machine learning relationship between them; use the preset template technology to build corresponding template files based on the several form data tables and the association relationship; generate the post-processing required for secondary development according to the several form data tables and the template file Terminal source code. It can be seen that this application is developed on a low-code platform to realize the back-end code output of the system, which can be used for rapid secondary development and expansion functions, reducing development costs and development cycles. At the same time, the system uses a rule algorithm based on machine learning to quickly and effectively analyze the relationship between the input data tables and improve the accuracy of template generation.
参见图5所示,本申请公开了一种后端源码生成方法,应用于低代码开发平台,包括:Referring to Figure 5, this application discloses a method for generating back-end source code, which is applied to a low-code development platform, including:
本实施例中,针对目前存在的低代码平台后端出码问题,本申请提供了一种有效的出码能力,通过本申请开发人员可以快速有效出码。本申请主要的步骤为:首先,针对客户需求,在低代码平台设计态进行表单的设计。如有需要,可以进一步配置权限和流程引擎。在设计态完成设计并发布到运行态之后,会在运行态的后台数据库中生成对应数据表其中包括表单数据表和相应的权限信息表, 流程数据表。之后选择客户需要进行二次开发的应用及多张表单。将运行态产生的多张数据表作为输入,依据机器学习的关联规则算法,通过逐层搜索的迭代方法找出数据库中项集的关系,以形成规则,从而梳理出多张数据表之间的关联关系,其中包括但不限于以下关系:包括父子依赖关系;共同被使用的子组件。然后将多张数据表和它们之间的关联关系作为输入,根据velocity/freeMaker 模板技术,构建相应的模板文件。再使用code generator 生成二次开发需要的源码,其中包括负责CURD 的Java文件, 需要物化的SQL文件, 数据表Mapper文件以及配置文件等。并依据生成的SQL文件,将二次开发需要的数据库表(包括表单,权限,引擎,系统配置等)在客户端进行物化。最终搭建客户工程,并将code generator生成的源码文件导入,编译运行实现开箱即用,进而进行更加快速的二次开发。In this embodiment, in view of the currently existing low-code platform back-end code output problem, this application provides an effective code output capability, through which developers can quickly and effectively output code. The main steps of this application are as follows: First, according to customer needs, design the form in the low-code platform design state. Permissions and process engines can be further configured if required. After the design is completed in the design state and released to the running state, the corresponding data tables will be generated in the background database of the running state, including form data tables, corresponding permission information tables, and process data tables. Then select the application and multiple forms that the customer needs for secondary development. Taking multiple data tables generated in the running state as input, according to the association rule algorithm of machine learning, find out the relationship between item sets in the database through the iterative method of layer-by-layer search to form rules, so as to sort out the relationship between multiple data tables Association relationships, including but not limited to the following relationships: including parent-child dependencies; subcomponents that are used together. Then multiple data tables and their associations are taken as input, and corresponding template files are constructed according to the velocity/freeMaker template technology. Then use the code generator to generate the source code required for secondary development, including the Java file responsible for CURD, the SQL file that needs to be materialized, the data table Mapper file, and the configuration file. And according to the generated SQL file, the database tables (including forms, permissions, engines, system configurations, etc.) required for secondary development are materialized on the client side. Finally build the customer project, import the source code files generated by the code generator, compile and run to realize out-of-the-box use, and then carry out more rapid secondary development.
也就是说,本申请根据用户需求设计初始表单并配置表单相应的权限和流程引擎,然后提取相应的运行态表单数据库表作为数据输入,使用基于机器学习规则算法识别出输入数据表之间的关系,然后根据这些关系在模板模块更加快色的生成相应的模板文件,在出码模块根据数据库表单数据 和模板文件生成二次开发需要的后端源码,物化二次开发需要使用的数据库表,最后结合前端出码 生成的文件,一起导入客户工程进行有效的个性化定制的二次开发。That is to say, this application designs the initial form according to the user's needs and configures the corresponding authority and process engine of the form, then extracts the corresponding running state form database table as data input, and uses the algorithm based on machine learning rules to identify the relationship between the input data tables , and then generate corresponding template files more quickly in the template module according to these relationships, generate the back-end source code required for secondary development in the code output module according to the database form data and template files, and materialize the database tables required for secondary development, and finally Combined with the files generated by the front-end code output, they are imported into customer projects for effective secondary development of personalized customization.
由上可知,本申请采用低代码平台开发,实现系统的后端出码,可以用于快速的二次开发扩展功能,降低了开发成本和开发周期。同时,该系统采用了基于机器学习的规则算法,快速有效分析输入数据表的关系,提高了模板生成的准确性。尤其在需要进行二次开发的输入表单数据量庞大的情况下,这种优势更加明显。It can be seen from the above that this application is developed on a low-code platform to realize the back-end code output of the system, which can be used for rapid secondary development and expansion functions, reducing development costs and development cycles. At the same time, the system uses a rule algorithm based on machine learning to quickly and effectively analyze the relationship between the input data tables and improve the accuracy of template generation. This advantage is more obvious especially in the case of a huge amount of input form data that requires secondary development.
参见图6所示,本发明实施例公开了一种后端源码生成装置,应用于低代码开发平台,包括:Referring to Figure 6, the embodiment of the present invention discloses a back-end source code generation device, which is applied to a low-code development platform, including:
数据表生成模块11,用于基于用户需求设计初始表单并配置所述初始表单相应的权限以及流程引擎,以在后台数据库中生成对应的目标数据表;所述目标数据表包括初始表单数据表、权限信息表以及流程数据表;The data
关系确定模块12,用于选择待进行二次开发的应用以及位于所述目标数据表中的若干张表单数据表,并基于机器学习确定所述若干张表单数据表之间的关联关系;所述数据表包括所述若干张表单数据表;The
模板文件构建模块13,用于利用预设模板技术基于所述若干张表单数据表以及所述关联关系构建相应的模板文件;A template
源码生成模块14,用于根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码。The source
由上可知,本申请在进行后端源码生成时,首先基于用户需求设计初始表单并配置所述初始表单相应的权限以及流程引擎,以在后台数据库中生成对应的目标数据表;所述目标数据表包括初始表单数据表、权限信息表以及流程数据表;选择待进行二次开发的应用以及位于所述目标数据表中的若干张表单数据表,并基于机器学习确定所述若干张表单数据表之间的关联关系;利用预设模板技术基于所述若干张表单数据表以及所述关联关系构建相应的模板文件;根据所述若干张表单数据表和所述模板文件生成二次开发需要的后端源码。可见,本申请采用低代码平台开发,实现系统的后端出码,可以用于快速的二次开发扩展功能,降低了开发成本和开发周期。同时,该系统采用了基于机器学习的规则算法,快速有效分析输入数据表的关系,提高了模板生成的准确性。It can be seen from the above that when the application generates the back-end source code, it first designs the initial form based on user needs and configures the corresponding authority and process engine of the initial form to generate the corresponding target data table in the background database; the target data The table includes an initial form data table, a permission information table, and a process data table; select the application to be developed for secondary development and several form data tables located in the target data table, and determine the several form data tables based on machine learning relationship between them; use the preset template technology to build corresponding template files based on the several form data tables and the association relationship; generate the post-processing required for secondary development according to the several form data tables and the template file Terminal source code. It can be seen that this application is developed on a low-code platform to realize the back-end code output of the system, which can be used for rapid secondary development and expansion functions, reducing development costs and development cycles. At the same time, the system uses a rule algorithm based on machine learning to quickly and effectively analyze the relationship between the input data tables and improve the accuracy of template generation.
在一些具体的实施例中,所述数据表生成模块11,具体可以包括:In some specific embodiments, the data
目标数据表生成单元,用于基于所述用户需求在低代码平台设计态设计所述初始表单并配置所述初始表单相应的权限以及流程引擎,并将设计完成的所述初始表单发布至运行态,以在所述运行态的所述后台数据库中生成对应的目标数据表。The target data table generation unit is used to design the initial form in the design state of the low-code platform based on the user requirements, configure the corresponding permissions and process engines of the initial form, and release the designed initial form to the running state , so as to generate a corresponding target data table in the background database in the running state.
在一些具体的实施例中,所述关系确定模块12,具体可以包括:In some specific embodiments, the
数据表选择单元,用于通过Web界面或直接从所述后台数据库中选择所述待进行二次开发的应用以及位于所述目标数据表中的所述若干张表单数据表。The data table selection unit is configured to select the application to be secondary developed and the several form data tables located in the target data table through a web interface or directly from the background database.
在一些具体的实施例中,所述关系确定模块12,具体可以包括:In some specific embodiments, the
关系确定单元,用于基于所述机器学习的关联规则算法通过逐层搜索的迭代方法获取所述数据库中项集的关系,以根据所述项集的关系确定所述若干张表单数据表之间的所述关联关系;其中,每个所述项集中包含若干项,所述数据表中的一个字段为一个项。A relationship determination unit, configured to obtain the relationship between the item sets in the database through an iterative method of layer-by-layer search based on the association rule algorithm of the machine learning, so as to determine the relationship between the several form data tables according to the relationship of the item sets. The association relationship; wherein, each item set contains several items, and one field in the data table is one item.
在一些具体的实施例中,所述源码生成模块14,具体可以包括:In some specific embodiments, the source
源码生成单元,用于利用代码生成器根据所述若干张表单数据表和所述模板文件生成二次开发需要的所述后端源码;所述后端源码包括负责数据处理的Java文件、用于进行物化处理的结构化查询语言文件、数据表Mapper文件以及配置文件。A source code generating unit is used for utilizing a code generator to generate the back-end source code needed for secondary development according to the several form data tables and the template file; the back-end source code includes a Java file responsible for data processing, for Structured query language files, data table Mapper files, and configuration files for materialized processing.
在一些具体的实施例中,所述源码生成模块14,还可以包括:In some specific embodiments, the source
物化处理单元,用于基于所述结构化查询语言文件,将所述二次开发需要的数据库表在客户端进行物化处理,以存储所述二次开发运行所需数据;所述数据库表包括若干张表单、权限、引擎以及系统配置。The materialization processing unit is used to materialize the database table required for the secondary development on the client side based on the structured query language file, so as to store the data required for the secondary development operation; the database table includes several forms, permissions, engines, and system configuration.
在一些具体的实施例中,所述源码生成模块14,还可以包括:In some specific embodiments, the source
工程搭建单元,用于在客户端搭建SpringBoot工程,将所述配置文件以及所述后端源码导入至所述SpringBoot工程来实现编译运行。The project building unit is used to build a SpringBoot project on the client, and import the configuration file and the back-end source code into the SpringBoot project to implement compilation and operation.
进一步的,本申请实施例还公开了一种电子设备,图7是根据一示例性实施例示出的电子设备20结构图,图中的内容不能认为是对本申请的使用范围的任何限制。Further, the embodiment of this application also discloses an electronic device. FIG. 7 is a structural diagram of an
图7为本申请实施例提供的一种电子设备20的结构示意图。该电子设备 20,具体可以包括:至少一个处理器21、至少一个存储器22、电源23、通信接口24、输入输出接口25和通信总线26。其中,所述存储器22用于存储计算机程序,所述计算机程序由所述处理器21加载并执行,以实现前述任一实施例公开的后端源码生成方法中的相关步骤。另外,本实施例中的电子设备20具体可以为电子计算机。FIG. 7 is a schematic structural diagram of an
本实施例中,电源23用于为电子设备20上的各硬件设备提供工作电压;通信接口24能够为电子设备20创建与外界设备之间的数据传输通道,其所遵 循的通信协议是能够适用于本申请技术方案的任意通信协议,在此不对其进 行具体限定;输入输出接口25,用于获取外界输入数据或向外界输出数据,其具体的接口类型可以根据具体应用需要进行选取,在此不进行具体限定。In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the
另外,存储器22作为资源存储的载体,可以是只读存储器、随机存储器、 磁盘或者光盘等,其上所存储的资源可以包括操作系统221、计算机程序222 等,存储方式可以是短暂存储或者永久存储。In addition, the memory 22, as a resource storage carrier, can be a read-only memory, random access memory, magnetic disk or optical disk, etc., and the resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage .
其中,操作系统221用于管理与控制电子设备20上的各硬件设备以及计算 机程序222,其可以是Windows Server、Netware、Unix、Linux等。计算机程序222除了包括能够用于完成前述任一实施例公开的由电子设备20执行的后端源码生成方法的计算机程序之外,还可以进一步包括能够用于完成其他特定工作的计算机程序。Wherein, the operating system 221 is used to manage and control each hardware device and computer program 222 on the
进一步的,本申请还公开了一种计算机可读存储介质,用于存储计算机程序;其中,所述计算机程序被处理器执行时实现前述公开的后端源码生成方法。关于该方法的具体步骤可以参考前述实施例中公开的相应内容,在此不再进行赘述。Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the above-mentioned disclosed back-end source code generation method is implemented. Regarding the specific steps of the method, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
以上对本申请所提供的技术方案进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The technical solution provided by this application has been introduced in detail above, and specific examples have been used in this paper to illustrate the principle and implementation of this application. The description of the above embodiments is only used to help understand the method and core idea of this application; At the same time, for those skilled in the art, based on the idea of this application, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310458549.4A CN116185372B (en) | 2023-04-26 | 2023-04-26 | Back-end source code generation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310458549.4A CN116185372B (en) | 2023-04-26 | 2023-04-26 | Back-end source code generation method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116185372A true CN116185372A (en) | 2023-05-30 |
CN116185372B CN116185372B (en) | 2023-07-21 |
Family
ID=86450838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310458549.4A Active CN116185372B (en) | 2023-04-26 | 2023-04-26 | Back-end source code generation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116185372B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558573A (en) * | 2017-12-21 | 2019-04-02 | 上海土木信息科技有限公司 | A kind of list flow engine based on user-defined m odel language |
CN110018822A (en) * | 2019-04-16 | 2019-07-16 | 山东浪潮通软信息科技有限公司 | A kind of method and system automatically generating micro services function |
CN111241497A (en) * | 2020-02-13 | 2020-06-05 | 北京高质系统科技有限公司 | Open source code tracing detection method based on software multiplexing feature learning |
CN114036443A (en) * | 2021-11-29 | 2022-02-11 | 北京百度网讯科技有限公司 | Page generation method and device |
CN114282752A (en) * | 2021-11-15 | 2022-04-05 | 煤炭科学研究总院 | Method and device for generating flow task, electronic equipment and storage medium |
CN114895880A (en) * | 2022-04-02 | 2022-08-12 | 山东浪潮通软信息科技有限公司 | Code generation method, apparatus and computer readable medium |
CN115268916A (en) * | 2022-09-29 | 2022-11-01 | 泰豪软件股份有限公司 | Dynamic form implementation method and system based on low-code development platform |
CN115357252A (en) * | 2022-10-08 | 2022-11-18 | 成都数联云算科技有限公司 | Source code file generation method and device, electronic equipment and storage medium |
CN115617327A (en) * | 2022-11-08 | 2023-01-17 | 浙江极氪智能科技有限公司 | Low-code page building system, method, and computer-readable storage medium |
WO2023000726A1 (en) * | 2021-07-21 | 2023-01-26 | 广州地铁集团有限公司 | Device reverse integration access method, device reverse integration management method and system, and computer device |
CN115712413A (en) * | 2022-11-15 | 2023-02-24 | 广东中设智控科技股份有限公司 | Low code development method, device, equipment and storage medium |
CN115756436A (en) * | 2022-11-30 | 2023-03-07 | 山东浪潮科学研究院有限公司 | Device and method for template configuration and construction of large visual screen |
CN115857914A (en) * | 2022-12-21 | 2023-03-28 | 企知道网络技术有限公司 | A method, device and storage medium for automatically generating codes |
CN115878092A (en) * | 2022-12-09 | 2023-03-31 | 山东浪潮质量链科技有限公司 | Code generation method, device and medium based on micro-service architecture |
CN115993966A (en) * | 2023-03-24 | 2023-04-21 | 美云智数科技有限公司 | Application development system and method |
-
2023
- 2023-04-26 CN CN202310458549.4A patent/CN116185372B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558573A (en) * | 2017-12-21 | 2019-04-02 | 上海土木信息科技有限公司 | A kind of list flow engine based on user-defined m odel language |
CN110018822A (en) * | 2019-04-16 | 2019-07-16 | 山东浪潮通软信息科技有限公司 | A kind of method and system automatically generating micro services function |
CN111241497A (en) * | 2020-02-13 | 2020-06-05 | 北京高质系统科技有限公司 | Open source code tracing detection method based on software multiplexing feature learning |
WO2023000726A1 (en) * | 2021-07-21 | 2023-01-26 | 广州地铁集团有限公司 | Device reverse integration access method, device reverse integration management method and system, and computer device |
CN114282752A (en) * | 2021-11-15 | 2022-04-05 | 煤炭科学研究总院 | Method and device for generating flow task, electronic equipment and storage medium |
CN114036443A (en) * | 2021-11-29 | 2022-02-11 | 北京百度网讯科技有限公司 | Page generation method and device |
CN114895880A (en) * | 2022-04-02 | 2022-08-12 | 山东浪潮通软信息科技有限公司 | Code generation method, apparatus and computer readable medium |
CN115268916A (en) * | 2022-09-29 | 2022-11-01 | 泰豪软件股份有限公司 | Dynamic form implementation method and system based on low-code development platform |
CN115357252A (en) * | 2022-10-08 | 2022-11-18 | 成都数联云算科技有限公司 | Source code file generation method and device, electronic equipment and storage medium |
CN115617327A (en) * | 2022-11-08 | 2023-01-17 | 浙江极氪智能科技有限公司 | Low-code page building system, method, and computer-readable storage medium |
CN115712413A (en) * | 2022-11-15 | 2023-02-24 | 广东中设智控科技股份有限公司 | Low code development method, device, equipment and storage medium |
CN115756436A (en) * | 2022-11-30 | 2023-03-07 | 山东浪潮科学研究院有限公司 | Device and method for template configuration and construction of large visual screen |
CN115878092A (en) * | 2022-12-09 | 2023-03-31 | 山东浪潮质量链科技有限公司 | Code generation method, device and medium based on micro-service architecture |
CN115857914A (en) * | 2022-12-21 | 2023-03-28 | 企知道网络技术有限公司 | A method, device and storage medium for automatically generating codes |
CN115993966A (en) * | 2023-03-24 | 2023-04-21 | 美云智数科技有限公司 | Application development system and method |
Non-Patent Citations (3)
Title |
---|
DAVIDE DI RUSCIO: "Low-code development and model-driven engineering:Two sides of the same coin?", SOFTWARE AND SYSTEMS MODELING, pages 437 - 446 * |
刘金花: "代码生成器--实现生成pojo,sql,mapper接口", pages 1 - 10, Retrieved from the Internet <URL:https://www.cnblogs.com/liujinhua1221/p/9975570.html> * |
毛弟弟: "关系数据库中多表间关联规则算法研究", 中国优秀硕士学位论文全文数据库, pages 138 - 647 * |
Also Published As
Publication number | Publication date |
---|---|
CN116185372B (en) | 2023-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11789715B2 (en) | Systems and methods for transformation of reporting schema | |
US10162611B2 (en) | Method and apparatus for business rule extraction | |
US8302093B2 (en) | Automated deployment of defined topology in distributed computing environment | |
US20050004973A1 (en) | Reflection-based processing of input parameters for commands | |
US20110154341A1 (en) | System and method for a task management library to execute map-reduce applications in a map-reduce framework | |
US10885087B2 (en) | Cognitive automation tool | |
US20170090892A1 (en) | Systems and methods for dynamically replacing code objects for code pushdown | |
US20090157737A1 (en) | Database Trigger Modification System and Method | |
CN104461531B (en) | A kind of implementation method of reporting system SQL | |
US12154052B2 (en) | Cross-enterprise workflow adaptation | |
CN113076096A (en) | Desktop application program development method, device, equipment and storage medium | |
CN111258565A (en) | Small program generation method, system, server and storage medium | |
CN113918637A (en) | A process engine platform creation method and system based on BPMN2.0 specification | |
CN118228698A (en) | Dynamic form generation method, device, equipment and storage medium | |
CN114924721A (en) | Code generation method, device, computer equipment and storage medium | |
Rumpe et al. | Refining business processes | |
EP3611616B1 (en) | Software code optimizer and method | |
WO2024182108A1 (en) | Computed values for knowledge graph | |
CN116185372A (en) | Back-end source code generation method, device, equipment and storage medium | |
CN112799638B (en) | Non-invasive rapid development method, platform, terminal and storage medium | |
Akbar et al. | An Approach for Automatic Generating RESTFul API Code based on SQL DDL Code. | |
CN112363700A (en) | Cooperative creation method and device of intelligent contract, computer equipment and storage medium | |
CN114675867B (en) | A data processing method, device, server and storage medium | |
US20250173199A1 (en) | Building web application programming interfaces in cloud systems | |
CN118339546A (en) | Automatically generating a document sheet for an artificial intelligence based question-answering system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |