A low-code development platform
By decomposing and re-encapsulating the functions of code development instances and predicting the reuse rate, the component library is screened, which solves the problem of low component selection efficiency in low-code development platforms, realizes the screening of personalized component libraries, and improves development efficiency and convenience.
Patent Information
- Application Number
- CN202410781107.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-18
AI Technical Summary
Existing low-code development platforms provide limited components, or the components have many and complex functions, which affects the efficiency and convenience of users when selecting components, and cannot fully cover a wide range of development scenarios and development needs.
By decomposing and re-encapsulating the functions of a large number of code development examples, we can predict the reuse rate of hypothetical encapsulated functions, filter out personalized component libraries, reduce interference items in the process of user selection of components, and improve the efficiency and convenience of application development.
It implements a personalized component library for large-scale development tasks, reduces the amount of manual code input during the development process, improves the efficiency and convenience of application development, and covers development scenarios and needs.
Smart Images

Figure CN118363571B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of application development technology, and in particular to a low-code development platform. Background Art
[0002] Currently, a low-code development platform is an easy-to-use software development tool designed to help non-professional developers quickly build applications and websites. In the current technology field, there are many existing low-code development platforms, including:
[0003] Microsoft Power Apps is a cloud-based low-code development platform launched by Microsoft that allows users to easily create various applications, including reports, business intelligence dashboards, etc. Power Apps allows users to edit using multiple data sources (such as Excel, SQL Server, and SharePoint) as well as Visual Studio Code.
[0004] Google App Maker is a cloud-based low-code development platform that helps users quickly build applications and deploy them on various platforms, including desktop, web, and mobile devices. It provides a rich API and plug-in ecosystem to support various application scenarios.
[0005] AWS Amplify is a comprehensive, full-featured service where users can create, publish, and manage backend services, databases, storage, and messaging. Amplify also provides some pre-built tools and frameworks to simplify the development process.
[0006] Salesforce Lightning is a cloud-based, low-code development platform designed to provide users with powerful CRM capabilities. It allows users to quickly build custom views and pages using drag-and-drop and visual tools, and deploy these applications to multiple platforms.
[0007] OutSystems is a powerful low-code development platform that helps users build enterprise-level applications. It provides a rich component library, APIs, and templates to support various application scenarios.
[0008] Webflow is a powerful front-end design and development platform with a large number of built-in design elements and components, as well as powerful customization options. It allows users to easily create responsive websites and applications with a wealth of preset styles, animations, and components.
[0009] Bubble is an easy-to-use low-code development platform designed to allow users to build web and mobile applications without writing code. It provides a drag-and-drop editor, component libraries and templates, as well as built-in developer tools and debugging environment.
[0010] However, the components provided by the above-mentioned low-code development platforms currently on the market are fixed and limited. Some low-code development platforms only provide limited components for users to choose from, but cannot cover a wide range of development scenarios and development needs. Other low-code development platforms provide a large number of components for users to choose from. Although they can cover a wide range of development scenarios and development needs, due to the numerous and complex functions implemented by the components, there are too many interferences when users select components, which will affect the efficiency and convenience of the user's component selection process to a certain extent, and thus affect the efficiency and convenience of application development.
[0011] Therefore, the present invention proposes a low-code development platform. Summary of the invention
[0012] The present invention provides a low-code development platform, which is used to provide a personalized component library for current large-scale development tasks through the functional decomposition and repackaging process of a large number of code development instances. In the repackaging process, the reuse rate of the assumed encapsulated functions in the current large-scale development tasks is predicted and statistically analyzed to achieve effective screening of the repackaged component library, which can not only cover the development scenarios and development requirements of the current large-scale development tasks, reduce the amount of code that needs to be manually input during the development process, but also reduce interference items in the user's component selection process, thereby improving the efficiency and convenience of application development.
[0013] The present invention provides a low-code development platform, comprising:
[0014] Functional decomposition module, used to obtain a large number of code development instances, and perform hierarchical functional decomposition on each code development instance, to obtain the functional decomposition context of each code development instance and the decomposition implementation function of each level;
[0015] Function tree construction module, used to construct all decomposed function trees of each code development instance based on the function decomposition context of each code development instance and the decomposed implementation functions of all levels;
[0016] A function hypothesis encapsulation module is used to perform multiple ranges of function hypothesis encapsulation on all decomposed function trees of each code development instance, and obtain multiple hypothesis encapsulation functions of each code development instance;
[0017] A reuse rate prediction module, used to determine the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task based on the current large-scale development task and all hypothetical encapsulated functions of all code development instances;
[0018] A packaging and integration module is used to package and integrate the code blocks involved in all code development instances of all assumed packaging functions whose predicted reuse rates are not less than the predicted reuse rate threshold, so as to obtain a personalized component library for the current large-scale development task;
[0019] The interactive development module is used to obtain the low-code development results of the current large-scale development tasks based on the development interactive instructions input by the user and the personalized component library of the current large-scale development tasks.
[0020] Preferably, the functional decomposition module includes:
[0021] The decomposition hierarchical analysis submodule is used to analyze the functions of all components in the existing component library to find the best hierarchical functional decomposition strategy;
[0022] The functional decomposition submodule is used to obtain a large number of code development instances, and perform hierarchical functional decomposition on each code development instance based on the optimal hierarchical functional decomposition strategy to obtain the functional decomposition context of each code development instance and the decomposition implementation function of each level.
[0023] Preferably, the decomposition hierarchical analysis submodule includes:
[0024] A sub-module for building a sub-module of affiliation tree is used to build a functional sub-tree of an existing component library based on the affiliation relationship between functions of all components in the existing component library;
[0025] A first reference task acquisition submodule is used to acquire a historical large-scale development task whose similarity with the current large-scale development task belongs to the ladder similarity table as a reference large-scale development task of the corresponding ladder similarity in the ladder similarity table;
[0026] The first call rate statistics submodule is used to count the historical call rates of each component implementation function in the existing component library in all reference large-scale development tasks at each level of similarity;
[0027] The decomposition strategy determination submodule is used to determine the optimal hierarchical function decomposition strategy based on the function affiliation tree of the existing component library and the historical call rate of each component implementation function in the existing component library in all reference large-scale development tasks at each level of similarity.
[0028] Preferably, the decomposition strategy determines the submodule, including:
[0029] A first weight determination unit, configured to take the numerical proportion of each step similarity in all step similarities in the step similarity table as a weight value of each step similarity;
[0030] A first call rate determination unit is used to take the product of the average of the historical call rates of each component implementation function in the existing component library in all reference large-scale development tasks at each step similarity and the weight value of the corresponding step similarity as the first sub-comprehensive call rate of each component implementation function in the existing component library in all reference large-scale development tasks at each step similarity;
[0031] The second call rate determination unit is used to take the sum of the first sub-comprehensive call rates of all reference large-scale development tasks of all ladder similarities for each component implementing the function in the existing component library as the comprehensive call rate of each component implementing the function in the existing component library;
[0032] The decomposition strategy determination unit is used to determine the best hierarchical function decomposition strategy based on the function affiliation tree of the existing component library and the comprehensive call rate of each component in the existing component library to implement the function.
[0033] Preferably, the decomposition strategy determination unit includes:
[0034] The layer structure sampling subunit is used to sample the layer structure in the function membership tree of the existing component library based on the number of interval layers contained in the interval layer number ladder table, and determine the sampling layer sequence number set of each sampling process;
[0035] The component realization function screening subunit is used to aggregate all component realization functions belonging to the layer sequence number of a single sampling layer sequence number set in the function membership tree as the component realization function set of the corresponding sampling process;
[0036] The decomposition strategy determines the sub-unit, which is used to determine the best hierarchical function decomposition strategy based on the component implementation function set of each sampling process and the comprehensive call rate of each component implementation function in the existing component library.
[0037] Preferably, the decomposition strategy determines the subunit, including:
[0038] The call rate determination end is used to determine the average of the comprehensive call rates of all component implementation functions in the component implementation function set of each sampling process as the hierarchical function call rate of each sampling process;
[0039] The decomposition strategy determination end is used to regard the hierarchical function decomposition strategy adopted in the sampling process of the maximum hierarchical function call rate as the optimal hierarchical function decomposition strategy.
[0040] Preferably, the function tree construction module includes:
[0041] A function concatenation submodule is used to concatenate all decomposed implementation functions contained in all branch contexts in each individual function decomposition context in the function decomposition context in descending order of hierarchy, so as to obtain a function concatenation context of each branch context;
[0042] A node merging submodule is used to merge nodes of the function concatenation contexts corresponding to all branch contexts based on all merging nodes between all branch contexts in each individual function decomposition context, so as to obtain a decomposed function tree of each individual function decomposition context;
[0043] The function tree aggregation submodule is used to treat the decomposed function trees of all individual function decomposition contexts in the function decomposition context of each code development instance as all the decomposed function trees of each code development instance.
[0044] Preferably, the reuse rate prediction module includes:
[0045] The second reference task acquisition submodule is used to acquire the historical large-scale development tasks whose similarity with the current large-scale development task belongs to the ladder similarity table as the reference large-scale development tasks of the corresponding ladder similarity in the ladder similarity table;
[0046] The second call rate statistics submodule is used to count the historical call rates of each hypothetical encapsulation function in each code development instance in all reference large-scale development tasks of each step similarity;
[0047] The reuse rate prediction submodule is used to determine the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task based on the historical call rate of each hypothetical encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity.
[0048] Preferably, the reuse rate prediction submodule includes:
[0049] A second weight determination unit, used to take the numerical proportion of each step similarity in all step similarities in the step similarity table as the weight value of each step similarity;
[0050] A third call rate determination unit is used to take the product of the average of the historical call rates of each assumed encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity and the weight value of the corresponding step similarity as the second sub-comprehensive call rate of each assumed encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity;
[0051] The reuse rate prediction unit is used to take the sum of the second sub-comprehensive call rates of each hypothetical encapsulated function in each code development instance in all reference large-scale development tasks of all step similarities as the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task.
[0052] Preferably, the interactive development module includes:
[0053] The component selection submodule is used to determine the component selection instruction from the development interaction instruction input by the user, and determine the user's currently selected component in the personalized component library based on the component selection instruction;
[0054] The component configuration submodule is used to determine the component configuration instruction of the component currently selected by the user from the development interaction instruction input by the user, and configure the component currently selected by the user based on the component configuration instruction of the component currently selected by the user to obtain a personalized configuration component;
[0055] The component assembly submodule is used to assemble all personalized configuration components based on the task template of the current large-scale development task to obtain the low-code development result of the current large-scale development task.
[0056] The beneficial effects of the present invention compared to the prior art are as follows: through the functional decomposition and repackaging process of a large number of code development instances, a personalized component library is provided for current large-scale development tasks. In the repackaging process, the reuse rate of the assumed encapsulated functions in the current large-scale development tasks is predicted and statistically analyzed to effectively screen the repackaged component library, which can not only cover the development scenarios and development requirements of the current large-scale development tasks, reduce the amount of code that needs to be manually input during the development process, but also reduce interference items in the user's component selection process, thereby improving the efficiency and convenience of application development.
[0057] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.
[0058] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0060] Figure 1 It is a schematic diagram of the internal functional modules of the low-code development platform in an embodiment of the present invention;
[0061] Figure 2 A schematic diagram of internal functional submodules of a functional decomposition module in an embodiment of the present invention;
[0062] Figure 3 A schematic diagram of an internal functional submodule of a function tree construction module in an embodiment of the present invention;
[0063] Figure 4 Schematic diagram of internal functional submodules of a reuse rate prediction module in an embodiment of the present invention;
[0064] Figure 5 Schematic diagram of internal functional submodules of the interactive development module in an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0066] Example 1
[0067] The present invention provides a low-code development platform, referring to Figure 1 ,include:
[0068] Functional decomposition module, used to obtain a large number of code development instances, and perform hierarchical functional decomposition on each code development instance, to obtain the functional decomposition context of each code development instance and the decomposition implementation function of each level;
[0069] Function tree construction module, used to construct all decomposed function trees of each code development instance based on the function decomposition context of each code development instance and the decomposed implementation functions of all levels;
[0070] A function hypothesis encapsulation module is used to perform multiple ranges of function hypothesis encapsulation on all decomposed function trees of each code development instance, and obtain multiple hypothesis encapsulation functions of each code development instance;
[0071] A reuse rate prediction module, used to determine the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task based on the current large-scale development task and all hypothetical encapsulated functions of all code development instances;
[0072] A packaging and integration module is used to package and integrate the code blocks involved in all code development instances of all assumed packaging functions whose predicted reuse rates are not less than the predicted reuse rate threshold, so as to obtain a personalized component library for the current large-scale development task;
[0073] The interactive development module is used to obtain the low-code development results of the current large-scale development tasks based on the development interactive instructions input by the user and the personalized component library of the current large-scale development tasks.
[0074] In this embodiment, the code development instance is an instance of program code written by a programmer that can implement the entire large-scale development task (which may be different from the implementation function of the current large-scale development task), and the code development instance also includes the function label of each code statement or code block.
[0075] In this embodiment, the functional decomposition context is a context structure obtained by decomposing the complete program code that can realize the entire large-scale development task in the code development instance and connecting the implementation functions of the code statements or code blocks at adjacent levels (the level difference caused by the size of the achievable functional range) and having a subordinate relationship in series;
[0076] In this embodiment, the implementation function is decomposed into the implementation functions of different code blocks or code statements. For example, the implementation function is: setting the attribute value of object A.
[0077] In this embodiment, the decomposed function tree is the result of completely representing the code implementation functions at different levels in the code development instance with a tree structure.
[0078] In this embodiment, all decomposed function trees of each code development instance are encapsulated with multiple ranges of functional assumptions, that is, the implementation function of the highest level node of each subtree structure and the implementation function of each leaf node in a single decomposed function tree of each code development instance are regarded as a single assumed encapsulated function of the code development instance.
[0079] In this embodiment, it is assumed that the encapsulation function is the implementation function of the highest level node of a single subtree structure in a single decomposition function tree or the implementation function of each leaf node.
[0080] In this embodiment, the current large-scale development task is a large-scale application development task that currently requires a low-code development platform to complete.
[0081] In this embodiment, the predicted reuse rate of each hypothetical packaged function in the current large-scale development task is the ratio of the predicted number of times the component that can realize the single hypothetical packaged function is used in the current large-scale development task to the total number of times all components required for the current large-scale development task are used.
[0082] In this embodiment, the predicted reuse rate threshold is a preset predicted reuse rate screening threshold for reference when screening out components constituting the personalized component library. For example, the predicted reuse rate threshold is set to 0.
[0083] In this embodiment, the personalized component library is a component library provided for the current large-scale development task, which contains a small number of components and can largely cover the functions required to implement the current large-scale development task.
[0084] In this embodiment, the result of low-code development is a complete code that can implement the current large-scale development task.
[0085] The beneficial effects of the above technology are: through the functional decomposition and repackaging process of a large number of code development instances, a personalized component library is provided for current large-scale development tasks. In the repackaging process, the reuse rate of the assumed encapsulated functions in the current large-scale development tasks is predicted and statistically analyzed to achieve effective screening of the repackaged component library, which can not only cover the development scenarios and development requirements of the current large-scale development tasks, reduce the amount of code that needs to be manually input during the development process, but also reduce interference items in the user's component selection process, thereby improving the efficiency and convenience of application development.
[0086] Example 2
[0087] Based on Example 1, the functional decomposition module, refer to Figure 2 ,include:
[0088] The decomposition hierarchical analysis submodule is used to analyze the functions of all components in the existing component library to find the best hierarchical functional decomposition strategy;
[0089] The functional decomposition submodule is used to obtain a large number of code development instances, and perform hierarchical functional decomposition on each code development instance based on the optimal hierarchical functional decomposition strategy to obtain the functional decomposition context of each code development instance and the decomposition implementation function of each level.
[0090] In this embodiment, the existing component library is a pre-prepared component library provided by any conventional development platform.
[0091] In this embodiment, the component implementation function is a function that can be implemented by the code of a single component in the component library.
[0092] In this embodiment, the optimal hierarchical functional decomposition strategy is the optimal strategy for performing hierarchical functional decomposition on the code development instance.
[0093] In this embodiment, hierarchical functional decomposition is performed on each code development instance based on the optimal hierarchical functional decomposition strategy, for example:
[0094] When the optimal hierarchical functional decomposition strategy is to retain all the implementation functions of the 1st, 3rd, 5th, ... layers of the functional membership tree;
[0095] Decompose the code development instance according to the lowest level to obtain a function affiliation tree of the code development instance, retain all implementation functions of the first, third, fifth, ... layers of the function affiliation tree of the code development instance, and use all implementation functions of the first, third, fifth, ... layers as decomposed implementation functions of a single level respectively;
[0096] And according to the affiliation relationship between the 1st, 3rd, 5th, ... layer functions of the function affiliation tree of the code development instance, the 1st, 3rd, 5th, ... layer functions of the function affiliation tree of the code development instance are connected to obtain the functional decomposition context of the code development instance.
[0097] The beneficial effects of the above technology are: it can ensure the rationality of the functional decomposition context obtained after the hierarchical functional decomposition of the code development instance and the decomposition implementation functions of each level, and ensure that the personalized component library determined based on this can meet the user's development needs by providing a limited number of components.
[0098] Example 3
[0099] Based on Example 2, the hierarchical analysis submodule is decomposed to include:
[0100] A sub-module for building a sub-module of affiliation tree is used to build a functional sub-tree of an existing component library based on the affiliation relationship between functions of all components in the existing component library;
[0101] A first reference task acquisition submodule is used to acquire a historical large-scale development task whose similarity with the current large-scale development task belongs to the ladder similarity table as a reference large-scale development task of the corresponding ladder similarity in the ladder similarity table;
[0102] The first call rate statistics submodule is used to count the historical call rates of each component implementation function in the existing component library in all reference large-scale development tasks at each level of similarity;
[0103] The decomposition strategy determination submodule is used to determine the optimal hierarchical function decomposition strategy based on the function affiliation tree of the existing component library and the historical call rate of each component implementation function in the existing component library in all reference large-scale development tasks at each level of similarity.
[0104] In this embodiment, the affiliation between component implementation functions, for example: component implementation function A is to set the attribute value of object A; component implementation function A1 is to set the attribute value of item a1 of object A to X, then the affiliation between component implementation function A and component implementation function A1 is that component implementation function A contains component implementation function A1.
[0105] In this embodiment, the function affiliation tree is the result of representing the affiliation relationship between all component implementation functions in the existing component library using a tree structure.
[0106] In this embodiment, the step similarity table includes a plurality of similarity values increasing in a stepwise manner, for example, including: 0.5, 0.6, 0.7, 0.8, 0.9, 1.0.
[0107] In this embodiment, the historical large-scale development task is a large-scale development task that has been completed using an existing component library (and manual programming).
[0108] In this embodiment, the historical call rate of each component implementation function in all reference large-scale development tasks of each ladder similarity is: the ratio of the number of times a component that can implement the function of a single component is used in all reference large-scale development tasks of each ladder similarity to the total number of times all components are used in all reference large-scale development tasks of the corresponding ladder similarity.
[0109] The beneficial effect of the above technology is that by statistically analyzing the historical call rate of each component in the existing component library in a large number of reference large-scale development tasks, the rationality of the determined optimal hierarchical function decomposition strategy is guaranteed.
[0110] Example 4
[0111] Based on Example 3, the decomposition strategy determines the submodule, including:
[0112] A first weight determination unit, configured to take the numerical proportion of each step similarity in all step similarities in the step similarity table as a weight value of each step similarity;
[0113] A first call rate determination unit is used to take the product of the average of the historical call rates of each component implementation function in the existing component library in all reference large-scale development tasks at each step similarity and the weight value of the corresponding step similarity as the first sub-comprehensive call rate of each component implementation function in the existing component library in all reference large-scale development tasks at each step similarity;
[0114] The second call rate determination unit is used to take the sum of the first sub-comprehensive call rates of all reference large-scale development tasks of all ladder similarities for each component implementing the function in the existing component library as the comprehensive call rate of each component implementing the function in the existing component library;
[0115] The decomposition strategy determination unit is used to determine the best hierarchical function decomposition strategy based on the function affiliation tree of the existing component library and the comprehensive call rate of each component in the existing component library to implement the function.
[0116] In this embodiment, the step similarity is a value in the step similarity table.
[0117] In this embodiment, the comprehensive call rate of each component implementation function represents the frequency of use of each component implementation function in the development tasks in which the component participated in the past.
[0118] The beneficial effects of the above technology are: based on the weight value determined based on the similarity between the reference large-scale development task and the current large-scale development task, and the historical call rate of each component implementation function in all reference large-scale development tasks at each level of similarity, the frequency of use of each component implementation function in a large number of reference large-scale development tasks is accurately calculated, further accurately ensuring the rationality of the determined optimal hierarchical functional decomposition strategy.
[0119] Example 5
[0120] On the basis of Embodiment 4, the decomposition strategy determination unit includes:
[0121] The layer structure sampling subunit is used to sample the layer structure in the function membership tree of the existing component library based on the number of interval layers contained in the interval layer number ladder table, and determine the sampling layer sequence number set of each sampling process;
[0122] The component realization function screening subunit is used to aggregate all component realization functions belonging to the layer sequence number of a single sampling layer sequence number set in the function membership tree as the component realization function set of the corresponding sampling process;
[0123] The decomposition strategy determines the sub-unit, which is used to determine the best hierarchical function decomposition strategy based on the component implementation function set of each sampling process and the comprehensive call rate of each component implementation function in the existing component library.
[0124] In this embodiment, the interval layer number ladder table is a list containing interval layer numbers that increase in a step-by-step manner, for example, it may contain: 1 layer, 2 layers, 3 layers, . . . . .
[0125] In this embodiment, the interval layer number is the difference between the layer sequence numbers of adjacent layer structures sampled when the layer structures in the function membership tree of the existing component library are sampled respectively.
[0126] In this embodiment, based on the number of interval layers included in the interval layer number ladder table, the layer structures in the function membership tree of the existing component library are sampled respectively, for example:
[0127] When the number of interval layers is 1, the first layer, the second layer, the third layer, ... until the last layer in the functional membership tree are all regarded as sampling results;
[0128] When the number of interval layers is 2, the first layer, the third layer, the fifth layer, ... until the last layer or the last layer in the functional membership tree are regarded as sampling results.
[0129] In this embodiment, the sampling layer sequence number set of each sampling process is a set of layer sequence numbers of all sampled layer structures in a single sampling process.
[0130] The beneficial effects of the above technology are: based on the component implementation function set corresponding to the sampling layer sequence number set obtained by multiple sampling of the layer structure in the function affiliation tree of the existing component library using multiple interval levels and the comprehensive call rate of each component implementation function in the existing component library, the universality of the determined optimal hierarchical function decomposition strategy is guaranteed, that is, it is guaranteed that all decomposed implementation functions decomposed based on this optimal hierarchical function decomposition strategy can cover the development needs of a large number of development scenarios in a large range.
[0131] Example 6
[0132] Based on Example 5, the decomposition strategy determines the sub-units, including:
[0133] The call rate determination end is used to determine the average of the comprehensive call rates of all component implementation functions in the component implementation function set of each sampling process as the hierarchical function call rate of each sampling process;
[0134] The decomposition strategy determination end is used to regard the hierarchical function decomposition strategy adopted in the sampling process of the maximum hierarchical function call rate as the optimal hierarchical function decomposition strategy.
[0135] In this embodiment, the hierarchical function decomposition strategy used in the sampling process of the maximum hierarchical function call rate is specifically, for example: the sampling method used in the sampling process of the maximum hierarchical function call rate is to take the 1st layer, 3rd layer, 5th layer, ... until the last layer or the penultimate layer in the function affiliation tree as the sampling results.
[0136] The beneficial effect of the above technology is: the sampling method with the maximum value of the average of the comprehensive call rates of all component implementation functions in the component implementation function set of multiple sampling processes is used as the optimal hierarchical function decomposition strategy, which further ensures the universality of the determined optimal hierarchical function decomposition strategy, that is, it further ensures that all decomposed implementation functions decomposed based on this optimal hierarchical function decomposition strategy can cover the development needs of a large number of development scenarios in a large range.
[0137] Example 7
[0138] Based on Example 1, the function tree construction module is referenced Figure 3 ,include:
[0139] A function concatenation submodule is used to concatenate all decomposed implementation functions contained in all branch contexts in each individual function decomposition context in the function decomposition context in descending order of hierarchy, so as to obtain a function concatenation context of each branch context;
[0140] A node merging submodule is used to merge nodes of the function concatenation contexts corresponding to all branch contexts based on all merging nodes between all branch contexts in each individual function decomposition context, so as to obtain a decomposed function tree of each individual function decomposition context;
[0141] The function tree aggregation submodule is used to treat the decomposed function trees of all individual function decomposition contexts in the function decomposition context of each code development instance as all the decomposed function trees of each code development instance.
[0142] In this embodiment, a separate functional decomposition context in the functional decomposition context is a complete tree structure in the functional decomposition context.
[0143] In this embodiment, the branch context in the separate function decomposition context is a series connection context from the root node to each leaf node in the separate function decomposition context, wherein the series connection context is composed of branches in a tree structure.
[0144] In this embodiment, all the confluence nodes between all the branch contexts are nodes where different branch contexts converge in the tree structure.
[0145] The beneficial effect of the above technology is: by connecting the decomposed implementation functions in the branch context in series and then aggregating the nodes, the construction of all decomposed function trees of the code development instance is completed.
[0146] Example 8
[0147] Based on Example 1, the reuse rate prediction module refers to Figure 4 ,include:
[0148] The second reference task acquisition submodule is used to acquire the historical large-scale development tasks whose similarity with the current large-scale development task belongs to the ladder similarity table as the reference large-scale development tasks of the corresponding ladder similarity in the ladder similarity table;
[0149] The second call rate statistics submodule is used to count the historical call rates of each hypothetical encapsulation function in each code development instance in all reference large-scale development tasks of each step similarity;
[0150] The reuse rate prediction submodule is used to determine the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task based on the historical call rate of each hypothetical encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity.
[0151] In this embodiment, the historical call rate of each hypothetical packaged function in all reference large-scale development tasks of each ladder similarity represents the ratio of the number of times a component that can implement a single hypothetical packaged function is used in all reference large-scale development tasks of each ladder similarity to the number of times all components required for all reference large-scale development tasks of the corresponding ladder similarity are used.
[0152] The beneficial effect of the above technology is: by statistically analyzing the historical call rate of each hypothetical encapsulated function in each code development instance in all reference large-scale development tasks of each level of similarity, the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task is accurately predicted.
[0153] Example 9
[0154] Based on Example 8, the reuse rate prediction submodule includes:
[0155] A second weight determination unit, used to take the numerical proportion of each step similarity in all step similarities in the step similarity table as the weight value of each step similarity;
[0156] A third call rate determination unit is used to take the product of the average of the historical call rates of each assumed encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity and the weight value of the corresponding step similarity as the second sub-comprehensive call rate of each assumed encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity;
[0157] The reuse rate prediction unit is used to take the sum of the second sub-comprehensive call rates of each hypothetical encapsulated function in each code development instance in all reference large-scale development tasks of all step similarities as the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task.
[0158] The beneficial effects of the above technology are: based on the weight value determined based on the similarity between the reference large-scale development task and the current large-scale development task, and the historical call rate of each hypothetical encapsulated function in all reference large-scale development tasks at each level of similarity, the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task is accurately predicted.
[0159] Embodiment 10:
[0160] Based on Example 1, the interactive development module, refer to Figure 5 ,include:
[0161] The component selection submodule is used to determine the component selection instruction from the development interaction instruction input by the user, and determine the user's currently selected component in the personalized component library based on the component selection instruction;
[0162] The component configuration submodule is used to determine the component configuration instruction of the component currently selected by the user from the development interaction instruction input by the user, and configure the component currently selected by the user based on the component configuration instruction of the component currently selected by the user to obtain a personalized configuration component;
[0163] The component assembly submodule is used to assemble all personalized configuration components based on the task template of the current large-scale development task to obtain the low-code development result of the current large-scale development task.
[0164] In this embodiment, the development interaction instruction is an instruction input by the user for selecting a desired component in the personalized component library and configuring the selected component.
[0165] In this embodiment, the component selection instruction is an instruction input by the user for selecting a desired component in the personalized component library.
[0166] In this embodiment, the component currently selected by the user is a component selected by the user in the personalized component library based on the component selection instruction in the development interaction instruction.
[0167] In this embodiment, the component configuration instruction of the component currently selected by the user is an instruction input by the user for configuring the component selected in the personalized component library.
[0168] In this embodiment, component configuration, for example, configures webpack in the project, or performs logic configuration, that is, configures different business logics through a visual interface.
[0169] In this embodiment, the task template of the current large-scale development task is a function implementation framework consisting of multiple sub-implementation functions, including the complete implementation function of the current large-scale development task, and may be, for example, an interactive logic architecture of a web page.
[0170] The beneficial effect of the above technology is: based on the development interaction instructions input by the user, the process of selecting the required components in the personalized component library, configuring the selected components and completing the assembly is realized, thereby achieving the result that the current large-scale development tasks can be completed without the user inputting a large amount of code.
[0171] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A low-code development platform, characterized in that: include: Functional decomposition module, used to obtain a large number of code development instances, and perform hierarchical functional decomposition on each code development instance, to obtain the functional decomposition context of each code development instance and the decomposition implementation function of each level; Function tree construction module, used to construct all decomposed function trees of each code development instance based on the function decomposition context of each code development instance and the decomposed implementation functions of all levels; A function hypothesis encapsulation module is used to perform multiple ranges of function hypothesis encapsulation on all decomposed function trees of each code development instance, and obtain multiple hypothesis encapsulation functions of each code development instance; A reuse rate prediction module, used to determine the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task based on the current large-scale development task and all hypothetical encapsulated functions of all code development instances; A packaging and integration module is used to package and integrate the code blocks involved in all code development instances of all assumed packaging functions whose predicted reuse rates are not less than the predicted reuse rate threshold, so as to obtain a personalized component library for the current large-scale development task; An interactive development module is used to obtain low-code development results for current large-scale development tasks based on development interactive instructions input by users and a personalized component library for current large-scale development tasks; Among them, the functional decomposition module includes: The decomposition hierarchical analysis submodule is used to analyze the functions of all components in the existing component library to find the best hierarchical functional decomposition strategy; The functional decomposition submodule is used to obtain a large number of code development instances and perform hierarchical functional decomposition on each code development instance based on the optimal hierarchical functional decomposition strategy to obtain the functional decomposition context of each code development instance and the decomposition implementation function of each level; Among them, the decomposition hierarchical analysis submodule includes: A sub-module for building a sub-module of affiliation tree is used to build a functional sub-tree of an existing component library based on the affiliation relationship between functions of all components in the existing component library; A first reference task acquisition submodule is used to acquire a historical large-scale development task whose similarity with the current large-scale development task belongs to the ladder similarity table as a reference large-scale development task of the corresponding ladder similarity in the ladder similarity table; The first call rate statistics submodule is used to count the historical call rates of each component implementation function in the existing component library in all reference large-scale development tasks at each level of similarity; The decomposition strategy determination submodule is used to determine the optimal hierarchical function decomposition strategy based on the function affiliation tree of the existing component library and the historical call rate of each component implementation function in the existing component library in all reference large-scale development tasks at each level of similarity.
2. The low-code development platform according to claim 1, characterized in that: The decomposition strategy determines the submodules, including: A first weight determination unit, configured to take the numerical proportion of each step similarity in all step similarities in the step similarity table as a weight value of each step similarity; A first call rate determination unit is used to take the product of the average of the historical call rates of each component implementation function in the existing component library in all reference large-scale development tasks at each step similarity and the weight value of the corresponding step similarity as the first sub-comprehensive call rate of each component implementation function in the existing component library in all reference large-scale development tasks at each step similarity; The second call rate determination unit is used to take the sum of the first sub-comprehensive call rates of all reference large-scale development tasks of all ladder similarities for each component implementing the function in the existing component library as the comprehensive call rate of each component implementing the function in the existing component library; The decomposition strategy determination unit is used to determine the best hierarchical function decomposition strategy based on the function affiliation tree of the existing component library and the comprehensive call rate of each component in the existing component library to implement the function.
3. The low-code development platform according to claim 2, characterized in that: Decomposition strategy determination unit, including: The layer structure sampling subunit is used to sample the layer structure in the function membership tree of the existing component library based on the number of interval layers contained in the interval layer number ladder table, and determine the sampling layer sequence number set of each sampling process; The component realization function screening subunit is used to aggregate all component realization functions belonging to the layer sequence number of a single sampling layer sequence number set in the function membership tree as the component realization function set of the corresponding sampling process; The decomposition strategy determines the sub-unit, which is used to determine the best hierarchical function decomposition strategy based on the component implementation function set of each sampling process and the comprehensive call rate of each component implementation function in the existing component library.
4. The low-code development platform according to claim 3, characterized in that: The decomposition strategy determines the subunits, including: The call rate determination end is used to determine the average of the comprehensive call rates of all component implementation functions in the component implementation function set of each sampling process as the hierarchical function call rate of each sampling process; The decomposition strategy determination end is used to regard the hierarchical function decomposition strategy adopted in the sampling process of the maximum hierarchical function call rate as the optimal hierarchical function decomposition strategy.
5. The low-code development platform according to claim 1, characterized in that: Function tree building blocks, including: A function concatenation submodule is used to concatenate all decomposed implementation functions contained in all branch contexts in each individual function decomposition context in the function decomposition context in descending order of hierarchy, so as to obtain a function concatenation context of each branch context; A node merging submodule is used to merge nodes of the function concatenation contexts corresponding to all branch contexts based on all merging nodes between all branch contexts in each individual function decomposition context, so as to obtain a decomposed function tree of each individual function decomposition context; The function tree aggregation submodule is used to treat the decomposed function trees of all individual function decomposition contexts in the function decomposition context of each code development instance as all the decomposed function trees of each code development instance.
6. The low-code development platform according to claim 1, characterized in that: The reuse rate prediction module includes: The second reference task acquisition submodule is used to acquire the historical large-scale development tasks whose similarity with the current large-scale development task belongs to the ladder similarity table as the reference large-scale development tasks of the corresponding ladder similarity in the ladder similarity table; The second call rate statistics submodule is used to count the historical call rates of each hypothetical encapsulation function in each code development instance in all reference large-scale development tasks of each step similarity; The reuse rate prediction submodule is used to determine the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task based on the historical call rate of each hypothetical encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity.
7. The low-code development platform according to claim 6, characterized in that: The reuse rate prediction submodule includes: A second weight determination unit, used to take the numerical proportion of each step similarity in all step similarities in the step similarity table as the weight value of each step similarity; A third call rate determination unit is used to take the product of the average of the historical call rates of each assumed encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity and the weight value of the corresponding step similarity as the second sub-comprehensive call rate of each assumed encapsulated function in each code development instance in all reference large-scale development tasks of each step similarity; The reuse rate prediction unit is used to take the sum of the second sub-comprehensive call rates of each hypothetical encapsulated function in each code development instance in all reference large-scale development tasks of all step similarities as the predicted reuse rate of each hypothetical encapsulated function in each code development instance in the current large-scale development task.
8. The low-code development platform according to claim 1, characterized in that: Interactive development modules, including: The component selection submodule is used to determine the component selection instruction from the development interaction instruction input by the user, and determine the user's currently selected component in the personalized component library based on the component selection instruction; The component configuration submodule is used to determine the component configuration instruction of the component currently selected by the user from the development interaction instruction input by the user, and configure the component currently selected by the user based on the component configuration instruction of the component currently selected by the user to obtain a personalized configuration component; The component assembly submodule is used to assemble all personalized configuration components based on the task template of the current large-scale development task to obtain the low-code development result of the current large-scale development task.
