Application generation method and device, computing equipment and storage medium

By analyzing application requirements text and generating target configuration information, the problem of low ease of use of application generation in the prior art is solved, and application generation without programming knowledge is achieved, which improves ease of use and efficiency.

CN119225792APending Publication Date: 2024-12-31TENCENT TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310796873.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the prior art, the ease of use of application generation is low, and non-professional personnel cannot generate applications based on their own needs, which has a high threshold and poor promotion.

Method used

By analyzing the input application requirements text, obtaining application categories and functional characteristics, obtaining initial configuration information, updating it to target configuration information, and generating applications based on target configuration information, reducing the need for programming knowledge.

Benefits of technology

It realizes the generation of target applications without writing complex code, lowers the development threshold, improves ease of use and generation efficiency, and enhances application flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225792A_ABST
    Figure CN119225792A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of application development, in particular to an application generation method and device, computing equipment and a storage medium, and aims to improve the usability of application generation. The method comprises the following steps: in response to an application generation request triggered by an input object, obtaining and analyzing an application demand text input by the input object, and obtaining functional characteristics and application categories of a target application; acquiring preset initial configuration information corresponding to the application category; based on the functional characteristics, updating the initial configuration information to obtain target configuration information; and based on the target configuration information, performing parameter configuration and loading on each target function component and each target data structure, and generating a target application. Thus, the target application can be generated only by inputting the application demand text into the input object, manual compiling of configuration codes is not needed, complex programming knowledge does not need to be learned, the threshold of application development is lowered, usability is high, generalization performance is good, and generation efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of application development technology, and in particular to an application generation method, apparatus, computing device and storage medium. Background Art

[0002] At present, with the rapid development of computer technology, applications are flooding people's lives. From food, clothing, housing and transportation to enterprise production and enterprise management, applications are indispensable, and people's demand for applications is becoming more and more varied.

[0003] In the prior art, when generating an application, professionals usually manually drag a series of underlying components in common scenarios through a graphical visualization operation interface to create an application. For example, a UI is created through user interface (UI) elements such as buttons and text boxes, and a form is created through form controls such as groups and tabs.

[0004] However, since the granularity of the underlying components is too atomic, the threshold for learning and development is too high, and experienced professionals are required to create applications. As a result, non-professionals are unable to generate corresponding applications according to their own needs, which brings inconvenience to non-professionals, low ease of use, and poor promotion.

[0005] In view of this, the ease of application generation under relevant technologies needs to be further improved. Summary of the invention

[0006] The embodiments of the present application provide an application generation method, apparatus, computing device, and storage medium to improve the usability of application generation.

[0007] The specific technical solutions provided by the embodiments of this application are as follows:

[0008] In a first aspect, an embodiment of the present application provides an application generation method, the method comprising:

[0009] In response to an application generation request triggered by an input object, the application requirement text input by the input object is obtained and parsed to obtain functional features and application categories of the target application;

[0010] Obtaining initial configuration information preset for the corresponding application category, the initial configuration information including: an original configuration parameter set of each functional component and each business data structure corresponding to the application category;

[0011] Based on the functional characteristics, the initial configuration information is updated to obtain the target configuration information, which includes: a target configuration parameter set of each target functional component and each target data structure required by the target application;

[0012] Based on the target configuration information, parameters of each target functional component and each target data structure are configured and loaded to generate a target application.

[0013] In a second aspect, an embodiment of the present application further provides an application generating device, the device comprising:

[0014] A first acquisition module is used to respond to an application generation request triggered by an input object, acquire and parse the application requirement text input by the input object, and obtain functional features and application categories of the target application;

[0015] The second acquisition module is used to acquire the initial configuration information preset for the corresponding application category, the initial configuration information including: the original configuration parameter set of each functional component and each business data structure corresponding to the application category;

[0016] A processing module, used to update the initial configuration information based on functional characteristics to obtain target configuration information, wherein the target configuration information includes: a target configuration parameter set of each target functional component and each target data structure required by the target application;

[0017] The generation module is used to configure and load parameters of each target functional component and each target data structure based on the target configuration information to generate a target application.

[0018] In a possible implementation, based on functional characteristics, when the initial configuration information is updated to obtain the target configuration information, the processing module is used to:

[0019] If the functional characteristics do not include the required component set and the required data structure set, the initial configuration information is used as the target configuration information;

[0020] If the functional characteristics include a required component set and a required data structure set, the initial configuration information is updated according to the configuration characteristics of the required component set and the required data structure set to obtain the target configuration information;

[0021] In a possible implementation, when the initial configuration information is updated according to the configuration characteristics of the required component set and the required data structure set and the target configuration information is obtained, the processing module is further used to:

[0022] Update each functional component according to the relationship between the required component set and each functional component;

[0023] According to the relationship between the demand data structure set and each business data structure, each business data structure is updated;

[0024] Based on the updated functional components and the updated business data structures, target configuration information is obtained.

[0025] In a possible implementation, when updating each functional component according to the relationship between the requirement component set and each functional component, the processing module is further used to:

[0026] For each requirement component in the requirement component set, perform the following operations:

[0027] If each functional component includes a demand component, the configuration parameter set of the demand component is adjusted according to the configuration characteristics of the demand component;

[0028] If each functional component does not include the required component, the required component is called from the preset component library, and the configuration parameter set of the required component is adjusted according to the configuration characteristics of the required component.

[0029] In a possible implementation, when updating each business data structure according to the relationship between each business data structure in the demand data structure set, the processing module is further used to:

[0030] For each requirement data structure in the requirement data structure set, perform the following operations respectively:

[0031] If each business data structure includes a demand data structure, then adjusting the configuration parameter set of the demand data structure according to the configuration characteristics of the demand data structure;

[0032] If each business data structure does not include the demand data structure, the demand data structure is called, and the configuration parameter set of the demand data structure is adjusted according to the configuration characteristics of the demand data structure.

[0033] In a possible implementation, based on the target configuration information, each target functional component and each target data structure is parameterized and loaded, and when the target application is generated, the generation module is used to:

[0034] Convert the target configuration information into a format according to a preset language format, and configure parameters of each target functional component and each target data structure based on the converted target configuration information;

[0035] Based on each target data structure, call each target data source of the target application from the data source library according to the preset unified calling interface;

[0036] The target functional components, target data structures and target data sources after configuration are loaded to generate the target application.

[0037] In a possible implementation, after each target functional component and each target data structure are configured and loaded with parameters based on the target configuration information and the target application is generated, the device further includes an update module, which is used to:

[0038] In response to the application modification request triggered by the input object, obtain and parse the modification requirement text of the target application to obtain the updated functional features of the target application;

[0039] Based on the update function characteristics, the target application is updated to obtain an updated target application.

[0040] In a possible implementation, based on the update function characteristics, when the target application is updated and the updated target application is obtained, the update module is further used to:

[0041] Based on the update function characteristics, the target configuration information is updated to obtain the update configuration information, where the update configuration information includes: an update configuration parameter set of each update function component and each update data structure required by the target application;

[0042] The update configuration information is formatted according to the language format, and based on the converted update configuration information, parameters of each update function component and each update data structure are configured and loaded to generate an updated target application.

[0043] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned application generation methods when executing the program.

[0044] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above-mentioned application generation methods are implemented.

[0045] In a fifth aspect, an embodiment of the present application further provides a computer program product, including computer instructions, which are executed by a processor to perform the steps of any one of the above-mentioned application generation methods.

[0046] The beneficial effects of this application are as follows:

[0047] In an embodiment of the present application, an application requirement text input by an input object is obtained and parsed, functional features and application categories of a target application are obtained, and initial configuration information preset for a corresponding application category is obtained, and based on the functional features, the initial configuration information is updated to obtain target configuration information, and finally, based on the target configuration information, parameters of each target functional component and each target data structure are configured and loaded to generate a target application.

[0048] In this way, the input object inputs the application requirement text, obtains the target configuration information according to the application requirement text, and generates the target application. The input object only needs to input the application requirement text to realize the generation of the target application, without manually writing configuration code or learning complex programming knowledge, which reduces the threshold of application development, has high ease of use, good promotion, and high generation efficiency. At the same time, the input object can customize the target application, which improves the flexibility of generating the target application. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 This is an optional schematic diagram of an application scenario in an embodiment of the present application;

[0050] Figure 2 This is a flowchart of an implementation method of an application generation method in an embodiment of the present application;

[0051] Figure 3 A schematic diagram of an input object inputting application requirement text in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of a process for obtaining target configuration information in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of obtaining target configuration information in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of a process for updating initial configuration information in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of a process for updating each functional component in an embodiment of the present application;

[0056] Figure 8 A first schematic diagram for updating each functional component in an embodiment of the present application;

[0057] Fig. 9 A second schematic diagram for updating each functional component in an embodiment of the present application;

[0058] Fig.10 A schematic diagram of the process of updating each business data structure in an embodiment of the present application;

[0059] Fig.11 A schematic diagram of a process for generating a target application in an embodiment of the present application;

[0060] Fig.12 A schematic diagram of target configuration information after conversion in an embodiment of the present application;

[0061] Fig.13 A schematic diagram of generating a target application in an embodiment of the present application;

[0062] Fig.14 A schematic diagram of a process for updating a target application in an embodiment of the present application;

[0063] Fig.15 A schematic diagram of an input object inputting a modification requirement text in an embodiment of the present application;

[0064] Fig.16 A schematic diagram of a process for obtaining an updated target application in an embodiment of the present application;

[0065] Fig.17 A first schematic diagram of updating each target functional component in an embodiment of the present application;

[0066] Fig.18 A second schematic diagram of updating each target functional component in an embodiment of the present application;

[0067] Fig.19 A schematic diagram of generating an updated target application in an embodiment of the present application;

[0068] Fig. 20 A schematic diagram of the structure of an application generation device provided in an embodiment of the present application;

[0069] Fig.21 A schematic diagram of a hardware structure of a computer device in an embodiment of the present application;

[0070] Fig. 22 A schematic diagram of the hardware composition structure of another computer device in an embodiment of the present application. DETAILED DESCRIPTION

[0071] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0072] To facilitate understanding of the technical solutions provided in the embodiments of the present application, some key terms used in the embodiments of the present application are explained here:

[0073] Applications: web pages, software, applets, management backend systems and other applications.

[0074] Large-scale Language Model (LLM): refers to a natural language processing model with a large number of parameters and deep learning capabilities. This type of model can capture rich semantic information and language structure knowledge by pre-training on a large amount of text data, thereby achieving efficient and accurate natural language understanding and generation. Large-scale natural language processing models perform well in many natural language processing tasks, such as machine translation, text generation, sentiment analysis, etc.

[0075] Domain-Specific Language (DSL): A computer language designed for a specific problem domain.

[0076] Graph Query Language (GraphQL): A query language for requesting and manipulating data at runtime, allowing you to fetch only the data you need.

[0077] Natural Language Interaction (NLI): refers to the way computers and humans communicate through natural language. Natural language interaction technology enables computers to understand, interpret and generate natural language expressions similar to those of humans, thereby achieving seamless human-computer interaction.

[0078] The following is a brief introduction to the design concept of the embodiment of the present application:

[0079] At present, with the rapid development of computer technology, applications are flooding people's lives. From food, clothing, housing and transportation to enterprise production and enterprise management, applications are indispensable, and people's demand for applications is becoming more and more varied.

[0080] In order to improve the efficiency of generating application programs, two methods are usually used to generate application programs in the prior art.

[0081] Method 1: Professionals use a graphical visualization interface to manually drag and drop a series of underlying components in common scenarios to create applications. For example, they create UIs through user interface (UI) elements such as buttons and text boxes, and create forms through form controls such as groups and tabs.

[0082] When using method 1, the granularity of the underlying components is too atomic, so the threshold for learning and development is too high. Experienced professionals are required to create applications, which makes it impossible for non-professionals to generate corresponding applications according to their own needs, causing inconvenience to non-professionals, low usability, and poor promotion.

[0083] Method 2: Use automatic code generation tools to assist professionals in generating code snippets, integrating the code snippets, compiling and deploying them, and generating applications.

[0084] When using method 2, since the content generated by the code automatic generation tool is random and uncertain, it performs well in generating code for a single function, but is difficult to apply to scenarios where complex systems are built, resulting in low accuracy of the generated application. In addition, professionals are required to go through complex operations such as compilation and deployment before the application can be generated, which results in low generation efficiency.

[0085] In view of this, in the embodiment of the present application, an application generation method, device, electronic device and storage medium are provided, which first respond to the application generation request triggered by the input object, obtain and parse the application requirement text input by the input object, obtain the functional characteristics and application category of the target application, and then obtain the initial configuration information preset for the corresponding application category, the initial configuration information includes: the original configuration parameter set of each functional component and each business data structure corresponding to the application category, and then based on the functional characteristics, the initial configuration information is updated to obtain the target configuration information, the target configuration information includes: the target configuration parameter set of each target functional component and each target data structure required by the target application, and then based on the target configuration information, the parameters of each target functional component and each target data structure are configured and loaded to generate the target application. In this way, the input object only needs to input the application requirement text, and does not need to learn complex programming knowledge, which reduces the threshold of application development, has high ease of use and good promotion. In addition, the input object can generate the target application according to its own needs, which brings convenience to the input object, improves the convenience of generating the target application, and has high generation efficiency.

[0086] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments of the present application and the features in the embodiments may be combined with each other if there is no conflict.

[0087] See also Figure 1 , which is a schematic diagram of possible application scenarios in the embodiments of the present application. The application scenario diagram includes a server 110 and terminal devices 120 (including terminal devices 1201, 1202, ..., 120n).

[0088] The server 110 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal device 120 and the server 110 may be directly or indirectly connected via wired or wireless communication, which is not limited in this application.

[0089] The terminal device 120 includes but is not limited to mobile phones, tablet computers, laptops, desktop computers, e-book readers, intelligent voice interaction devices, smart home appliances, car terminals and other devices; various software can be installed on the terminal device, such as applications and applets.

[0090] It should be noted that Figure 1 The figure is only an example. In fact, the number of terminal devices 120 and servers 110 is not limited and is not specifically limited in the embodiments of the present application.

[0091] It should be noted that the abnormal software detection method in the embodiment of the present application can be deployed in a computing device, which can be a server or a terminal device, wherein the server can be Figure 1 The server 110 shown in FIG. 1 may also be Figure 1 Other servers other than the server 110 shown in FIG. 1 ; the terminal device may be Figure 1 The terminal device 120 shown in FIG. 1 may also be Figure 1 Other terminal devices other than the terminal device 120 shown in FIG. That is, the method can be executed by a server or a terminal device alone, or by a server and a terminal device together.

[0092] When executed alone on a terminal device, for example, the terminal device may respond to an application generation request triggered by an input object, obtain and parse the application requirement text input by the input object, obtain the functional characteristics and application category of the target application, and then obtain the target configuration information based on the initial configuration information and functional characteristics preset by the application category, and generate the target application based on the target configuration information.

[0093] When the server executes alone, for example, the server may respond to an application generation request triggered by an input object, obtain and parse the application requirement text entered by the input object, obtain the functional characteristics and application category of the target application, and then obtain the target configuration information based on the initial configuration information and functional characteristics preset by the application category, and generate the target application based on the target configuration information.

[0094] When the server and the terminal device are executed together, for example, the terminal device may generate an application request in response to an input object, and obtain the application requirement text input by the input object; then, the terminal device transmits the obtained application requirement text to the server, and the server parses the application requirement text to obtain the functional characteristics and application category of the target application, and then obtains the target configuration information based on the initial configuration information and functional characteristics preset by the application category, and generates the target application based on the target configuration information.

[0095] The following describes the application generation method provided by the exemplary embodiment of the present application in combination with the application scenario described above and with reference to the accompanying drawings. It should be noted that the above application scenario is only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this regard.

[0096] See also Figure 2 As shown, it is an implementation flow chart of an application generation method provided in an embodiment of the present application. Here, the server is used as an example for introduction. The specific implementation process of the method is as follows:

[0097] Step 20: In response to the application generation request triggered by the input object, the application requirement text input by the input object is obtained and parsed to obtain the functional features and application category of the target application.

[0098] The application requirement text is a natural language description of the target application requirements.

[0099] In an embodiment of the present application, an input interface is displayed on a terminal device. When an input object is input in the application requirement area of ​​the input interface, an application generation request is triggered. The server responds to the application generation request, obtains the application requirement text input by the input object, and parses the application requirement text to obtain the functional features and application category of the target application.

[0100] For example, see Figure 3 As shown, it is a schematic diagram of an input object inputting application requirement text in an embodiment of the present application. When the input object wants to generate an application, the application requirement text can be entered in the input box of the application requirement area of ​​the input interface. For example, the input object wants to generate an order management system. The order management system needs an order list to display goods, quantities, unit prices, users and status, support filtering by goods and status, support editing and deletion by line, support batch deletion, and allow order creation. Then click the input box of S31 to enter: I want an order management system, an order list, to display goods, quantities, unit prices, users and status, need to filter by goods and status, support editing and deletion by line, support batch deletion, and allow order creation. Then click the S32 confirmation key to trigger the application generation request.

[0101] In addition, if Figure 3As shown, the input object can also click the S33 voice recognition button to input the application requirement voice and convert the application requirement voice into application requirement text.

[0102] In this way, by presenting an input interface for the input object to input the application requirement text, the requirements can be described in natural language without writing code, which provides convenience for the input object and improves the ease of application generation. In addition, voice input can be used, which saves the input time of the input object and improves the efficiency of application generation.

[0103] It is worth noting that the embodiment of the present application can use the LLM model to parse the application requirement text to obtain the functional characteristics and application category of the target application.

[0104] For example, assuming that the application requirement text is: I want an order management system, an order list, to display products, quantities, unit prices, users and status, to filter by product and status, support editing and deleting by row, support batch deletion, and allow order creation, then the functional features of the target application are: table integration components, fields including products, quantities, unit prices, users and status, filtering including products and status, row operations including editing, batch operations including deletion, global operations including creating new lists, and the application category is order management system.

[0105] Step 21: Obtain the preset initial configuration information corresponding to the application category.

[0106] The initial configuration information includes: the original configuration parameter set of each functional component and each business data structure corresponding to the application category.

[0107] In the embodiment of the present application, after obtaining the functional characteristics and application category of the target application, the initial configuration information corresponding to the application category is obtained.

[0108] For example, assuming that the application category is an order management system, the initial configuration information corresponding to the application category includes: a table integration component, a form integration component, and an original configuration parameter set of an order data structure.

[0109] Among them, each functional component is a highly integrated component.

[0110] In this way, there is no need to consider the details of component elements that need to be processed during the application generation process, which improves the efficiency of application generation, and can meet various requirements by configuring parameter sets, thereby improving the flexibility of generating applications.

[0111] Step 22: Based on the functional characteristics, the initial configuration information is updated to obtain the target configuration information.

[0112] The target configuration information includes: target configuration parameter sets of each target functional component and each target data structure required by the target application.

[0113] In the embodiment of the present application, after the initial configuration information is obtained, each functional component and each business data structure in the initial configuration information is updated based on functional characteristics to obtain target configuration information.

[0114] Specifically, when executing step 22, the server specifically performs the following operations. Figure 4 As shown, it is a schematic diagram of the process of obtaining target configuration information in the embodiment of the present application. Figure 4 , and explain in detail the specific operations performed:

[0115] Step 220: Determine whether the functional characteristics do not include the required component set and the required data structure set. If so, execute step 221; otherwise, execute step 222.

[0116] The requirement component is a component that the target application needs to configure, and the requirement data structure is a data structure that the target application needs to configure.

[0117] Step 221: Use the initial configuration information as the target configuration information.

[0118] In the embodiment of the present application, it is determined whether the functional characteristics do not include the required component set and the required data structure set. If the functional characteristics do not include the required component set and the required data structure set, the initial configuration information is not updated and the initial configuration information is used as the target configuration information.

[0119] For example, see Figure 5 As shown, it is a schematic diagram of obtaining target configuration information in the embodiment of the present application. Assume that the application requirement text input by the input object 1 is: I want an order management system. The application category of the target application obtained by parsing is an order management system, the functional characteristics of the target application are none, and the functional characteristics do not include a required component set and a required data structure set, and the initial configuration information is used as the target configuration information.

[0120] In this way, when the input application requirement text of the input object does not include functional features, the target application can be generated according to the preset initial configuration information. The target application can be generated without the requirement component set and the requirement data structure set, thereby improving the flexibility of application generation.

[0121] Step 222: Update the initial configuration information according to the configuration characteristics of the required component set and the required data structure set to obtain the target configuration information.

[0122] In an embodiment of the present application, it is determined whether the functional characteristics do not include the required component set and the required data structure set. If the functional characteristics include the required component set and the required data structure set, the initial configuration information is updated according to the configuration characteristics of the required component set and the required data structure set to obtain the target configuration information.

[0123] For example, Figure 5 As shown, assuming that the application requirement text input by input object 2 is: I want an order management system, including product data structure and order data structure, an order list, to display products, quantity, unit price, users and status, filter by product and status, support editing and deletion by line, support batch deletion, and allow order creation. Parsing obtains that the application category of the target application is an order management system, and the functional features of the target application are product data structure, order data structure and table integration component. The fields of the table integration component include product, quantity, unit price, user and status, filtering includes product and status, row operations include editing, batch operations include deletion, global operations include creating a new list, and functional features include a requirement component set and a requirement data structure set. According to the configuration features of the requirement component set and the requirement data structure set, the initial configuration information is updated to obtain the target configuration information.

[0124] Specifically, when executing step 222, the server specifically performs the following operations. Figure 6 As shown, it is a schematic diagram of the process of updating the initial configuration information in the embodiment of the present application. Figure 6 , and explain in detail the specific operations performed:

[0125] Step 2220: Update each functional component according to the relationship between the required component set and each functional component.

[0126] In the embodiment of the present application, each functional component is updated according to the relationship between the requirement component set and each functional component to obtain the updated functional components, that is, each target functional component.

[0127] Specifically, when executing step 2220, the server specifically performs the following operations. Figure 7 As shown, it is a schematic diagram of the process of updating each functional component in the embodiment of the present application. Figure 7 , and explain in detail the specific operations performed:

[0128] For each requirement component in the requirement component set, perform the following operations:

[0129] Step 2220-1: Determine whether each functional component contains a required component. If so, execute step 2220-2; otherwise, execute step 2220-3.

[0130] Step 2220-2: Adjust the configuration parameter set of the demand component according to the configuration characteristics of the demand component.

[0131] Among them, the configuration characteristics of the demand component include configurations such as fields and operation functions of the demand component.

[0132] In the embodiment of the present application, it is determined whether each functional component includes a required component. If each functional component includes a required component, the configuration parameter set of the required component is adjusted according to the configuration characteristics of the required component.

[0133] For example, see Figure 8 As shown, it is the first schematic diagram of updating each functional component in the embodiment of the present application, assuming that each functional component includes: a table integration component and a form integration component, the demand component 1 is a table integration component, the fields of the demand component 1 include product, quantity, unit price, user and status, filtering includes product and status, row operations include editing, batch operations include deletion, global operations include creating a new list, and each functional component includes the demand component 1, then according to the configuration characteristics of the demand component 1, the configuration parameter set of the table integration component is adjusted.

[0134] For example, assuming that the fields of the table integration component in each functional component include products, quantity and unit price, and the filter includes products, then according to the configuration characteristics of the requirement component 1, the fields of the table integration component are adjusted to include products, quantity, unit price, users and status, and the filter is adjusted to include products and status.

[0135] Step 2220-3: Call the required component from the preset component library, and adjust the configuration parameter set of the required component according to the configuration characteristics of the required component.

[0136] Among them, the preset component library contains various integrated components generated by various applications.

[0137] In the embodiment of the present application, it is determined whether each functional component includes a required component. If each functional component does not include a required component, the required component is called from a preset component library, and the configuration parameter set of the required component is adjusted according to the configuration characteristics of the required component.

[0138] For example, see Fig. 9 As shown, this is the second schematic diagram of updating each functional component in the embodiment of the present application, assuming that each functional component includes: a form integration component and a detail page integration component, the demand component 2 is a table integration component, the fields of the demand component 2 include product, quantity, unit price, user and status, filtering includes product and status, row operations include editing, batch operations include deletion, and global operations include creating a new list. If each functional component does not contain the demand component 2, the table integration component is called from the component library, and the configuration parameter set of the table integration component is adjusted according to the configuration characteristics of the demand component 2.

[0139] In this way, when each functional component does not contain a requirement component, the requirement component is called from the component library, and the parameter configuration set of the requirement component is adjusted according to the configuration characteristics of the requirement component. The input object can set its own requirement component, which improves the flexibility of generating applications.

[0140] In addition, it is worth noting that at least one functional component that is not a required component in each functional component can be deleted, or at least one functional component that is not a required component in each functional component can be retained, and the embodiments of the present application do not limit this.

[0141] Step 2221: Update each business data structure according to the relationship between the demand data structure set and each business data structure.

[0142] In the embodiment of the present application, each business data structure is updated according to the relationship between each business data structure in the demand data structure set to obtain each updated business data structure, that is, each target data structure.

[0143] Specifically, when executing step 2221, the server specifically performs the following operations. Fig.10 As shown, it is a schematic diagram of the process of updating each business data structure in the embodiment of the present application. Fig.10 , and explain in detail the specific operations performed:

[0144] For each requirement data structure in the requirement data structure set, perform the following operations respectively:

[0145] Step 2221-1: Determine whether each business data structure contains a demand data structure, if so, execute step 2221-2, otherwise, execute step 2221-3.

[0146] Step 2221 - 2: According to the configuration characteristics of the demand data structure, adjust the configuration parameter set of the demand data structure.

[0147] The configuration features of the demand data structure include configurations such as fields, tags, data types, and association relationships of the demand data structure.

[0148] In the embodiment of the present application, it is determined whether each business data structure includes a demand data structure. If each business data structure includes a demand data structure, the configuration parameter set of the demand data structure is adjusted according to the configuration characteristics of the demand data structure.

[0149] For example, assuming that each business data structure includes: an order data structure and a product data structure, demand data structure 1 is an order data structure, the fields of the order data structure include product, quantity, unit price, user and status, and the corresponding data types are string, number, integer, string and string, and each business data structure contains demand data structure 1, then according to the configuration characteristics of demand data structure 1, the configuration parameter set of the order data structure is adjusted.

[0150] For example, assuming that the fields of the order data structure in each business data structure include product, quantity and unit price, and the corresponding data types are string, integer and integer, then according to the configuration characteristics of the required data structure 1, the fields of the order data structure are adjusted to include product, quantity, unit price, user and status, and the corresponding data types are adjusted to string, number, integer, string and string.

[0151] Step 2221 - 3: Call the demand data structure, and adjust the configuration parameter set of the demand data structure according to the configuration characteristics of the demand data structure.

[0152] In an embodiment of the present application, it is determined whether each business data structure contains a demand data structure. If each business data structure does not contain a demand data structure, the demand data structure is called from a preset data structure library, and the configuration parameter set of the demand data structure is adjusted according to the configuration characteristics of the demand data structure.

[0153] For example, assuming that each business data structure includes: a waybill data structure and a commodity data structure, the demand data structure 1 is an order data structure, the fields of the order data structure include product, quantity, unit price, user and status, and the corresponding data types are string, number, integer, string and string. If each business data structure does not contain the demand data structure 1, then the order data structure is called from the data structure library, and the configuration parameter set of the order data structure is adjusted according to the configuration characteristics of the demand data structure 1.

[0154] In this way, when each business data structure does not contain the demand data structure, the demand data structure is called from the data structure library, and the parameter configuration set of the demand data structure is adjusted according to the configuration characteristics of the demand data structure. The input object can set its own demand data structure, which improves the flexibility of generating applications.

[0155] In addition, it is worth noting that at least one business data structure that is not a required data structure in each business data structure can be deleted, or at least one business data structure that is not a required data structure in each business data structure can be retained, and the embodiments of the present application do not limit this.

[0156] Step 2222: Based on the updated functional components and the updated business data structures, obtain target configuration information.

[0157] In the embodiment of the present application, after obtaining the updated functional components and the updated business data structures, the updated functional components and the updated business data structures are used as target configuration information.

[0158] Further, if the functional characteristics include a required component set, the initial configuration information is updated according to the configuration characteristics of the required component set to obtain the target configuration information. If the functional characteristics include a required data structure set, the initial configuration information is updated according to the configuration characteristics of the required component set to obtain the target configuration information.

[0159] Step 23: Based on the target configuration information, configure and load parameters for each target functional component and each target data structure to generate a target application.

[0160] In an embodiment of the present application, after obtaining the target configuration information, parameters of each target function component and each target data structure are configured and loaded based on the configuration parameter sets of each target function component and each target data structure in the target configuration information to generate a target application.

[0161] Specifically, when executing step 23, the server specifically performs the following operations. Fig.11 As shown, it is a schematic diagram of the process of generating a target application in an embodiment of the present application. Fig.11 , and explain in detail the specific operations performed:

[0162] Step 230: convert the target configuration information into a format according to a preset language format, and configure parameters of each target functional component and each target data structure based on the converted target configuration information.

[0163] In an embodiment of the present application, after obtaining the target configuration information, the target configuration information is formatted according to a preset language format to obtain the converted target configuration information, and then parameter configuration is performed on each target functional component and each target data structure based on the target configuration parameter set of the converted target configuration information.

[0164] Among them, the preset language format can be DSL, and the target configuration information can be converted into the preset language format through the trained LLM model, which is not limited in the embodiments of the present application.

[0165] For example, see Fig.12As shown, it is a schematic diagram of the converted target configuration information in the embodiment of the present application, assuming that the target configuration information is a table integration component and an order data structure, the fields of the table integration component include product, quantity, unit price, user and status, filtering includes product and status, row operation includes editing, batch operation includes deletion, global operation includes creating a new list, and the fields of the order data structure include product, quantity, unit price, user and status, and the corresponding data types are string, number, integer, string and string. Then, the target configuration information is converted into a preset language format to obtain the converted target configuration information, and based on the target configuration parameter set of the converted target configuration information, the number of columns of the table integration component is configured as product, quantity, unit price, user and status, the filtering is configured as product and status, the row operation is configured as editing, the batch operation is configured as deletion, the global operation is configured as creating a new list, and the fields of the order data structure are configured as product, quantity, unit price, user and status, and the corresponding data types are configured as string, number, integer, string and string.

[0166] In this way, by converting the target configuration information into a concise and easy-to-use DSL, the parameters of each target data structure and each target functional component are configured in a declarative manner, so that the target configuration information can be clearly expressed, easy to understand and maintain.

[0167] Based on the above embodiments, the target data structure in the embodiments of the present application specifically includes: business, field, data type, constraint condition and association relationship, etc. The data type is a data structure that describes a field, and supports multiple types, such as: integer (Integer), string (String) and Boolean (Boolean), etc. The data type can define default values ​​and constraint conditions, etc. The association relationship is the relationship between the target data structures, and can describe the subordinate relationship and reference relationship between the target data structures, such as: one-to-many association, many-to-one association, one-to-one association and many-to-many association.

[0168] Specifically, a one-to-many association means that a target data structure can be associated with multiple other target data structures, such as an order can contain multiple order items. A many-to-one association means that multiple target data structures can be associated with one other target data structure, such as multiple order items can be associated with one order. A one-to-one association means that a target data structure can only be associated with one other target data structure, such as a waybill item is associated with one order item. A many-to-many association means that multiple target data structures can be associated with multiple other target data structures, such as a product can have multiple tags, and a tag can be associated with multiple products. The detailed parameters of a target data structure are shown in Table 1:

[0169] Table 1

[0170]

[0171]

[0172]

[0173] Based on the above embodiments, the target functional components in the embodiments of the present application are highly integrated components, such as: table integration components, form integration components, detail page integration components and container integration components, etc., wherein the table integration components are used to display data and support functions such as sorting, filtering, row operations, batch operations and global operations. The detailed parameters of the table integration components are shown in Table 2:

[0174] Table 2

[0175]

[0176]

[0177] Step 231: Based on each target data structure and in accordance with a preset unified calling interface, each target data source of the target application is called from the data source library.

[0178] Among them, the preset unified calling interface can be GraphQL, and the types of target data sources include: relational database, non-relational database, file system library and interface library, etc., which is not limited in this embodiment of the present application.

[0179] In this way, using a unified calling interface, data from different data sources can be processed, thereby improving the efficiency of data processing.

[0180] Step 232: Load each target functional component, each target data structure and each target data source after configuration is completed, and generate a target application.

[0181] In the embodiment of the present application, the converted target configuration information is run, each target functional component, each target data structure and each target data source after configuration is loaded, and a target application is generated.

[0182] For example, see Fig.13 As shown, it is a schematic diagram of generating a target application in an embodiment of the present application, loading each target functional component, each target data structure and each target data source after configuration, placing each target functional component on the front end, and configuring the data of each target data source on the back end according to the corresponding target data structure, and then loading and displaying it on the front end, and finally generating the target application.

[0183] In this way, each target functional component, target data structure and target data source are associated to achieve automatic loading, display and updating of data.

[0184] Furthermore, after generating the target application, you can also update the target application to obtain the updated target application. Fig.14 As shown, it is a schematic diagram of the process of updating the target application in the embodiment of the present application. Fig.14 , and explain in detail the specific operations performed:

[0185] Step 24: In response to the application modification request triggered by the input object, the modification requirement text of the target application is obtained and parsed to obtain the updated functional features of the target application.

[0186] The modification requirement text is a natural language description of the modification requirement of the target application.

[0187] In an embodiment of the present application, an input interface is displayed on a terminal device. When an input object is input in the application modification area of ​​the input interface, an application modification request is triggered. The server responds to the application modification request, obtains the modification requirement text input by the input object, and parses the modification requirement text to obtain the updated functional features of the target application.

[0188] For example, see Fig.15 As shown, it is a schematic diagram of an input object inputting a modification requirement text in an embodiment of the present application. When the input object wants to modify the application, it can enter the modification requirement text in the input box of the application modification area of ​​the input interface. For example, the input object wants to add a user filtering function to the generated order management system, then click the input box S1501 to input: add a user filtering function. Then click the confirmation key S1502 to trigger the application modification request.

[0189] In addition, if Fig.15 As shown, the input object can also click the S1503 voice recognition button to input the modification requirement voice, and convert the modification requirement voice into the modification requirement text.

[0190] In this way, by presenting an input interface for the input object to input the modification requirement text, the modification requirement can be described in natural language without writing code, which provides convenience for the input object and improves the ease of application generation. In addition, voice input can be used, which saves the input time of the input object and improves the efficiency of application update.

[0191] It is worth noting that the embodiment of the present application can use the LLM model to parse the modification requirement text to obtain the updated functional characteristics of the target application.

[0192] For example, assuming that the original target application filters include products and status, and the requirement text is modified to: add a function to filter by user, then the updated functional features of the target application are: table integration component, filtering includes product, status and user.

[0193] Step 25: Based on the update function characteristics, the target application is updated to obtain an updated target application.

[0194] Specifically, when executing step 25, the server specifically performs the following operations. Fig.16 As shown, it is a schematic diagram of the process of obtaining the updated target application in the embodiment of the present application. Fig.16 , and explain in detail the specific operations performed:

[0195] Step 250: Based on the update function characteristics, the target configuration information is updated to obtain updated configuration information.

[0196] The update configuration information includes: update configuration parameter sets of each update function component and each update data structure required by the target application.

[0197] In an embodiment of the present application, after obtaining the update function feature, each target function component is updated according to the relationship between the modification component set included in the update function feature and each target function component, and each business data structure is updated according to the relationship between each business data structure in the modification data structure set included in the update function feature, thereby obtaining update configuration information based on each updated target function component and each updated target data structure.

[0198] Specifically, when updating each target functional component according to the relationship between the modified component set and each target functional component included in the update functional feature, the following operations are performed for each modified component in the modified component set:

[0199] Step 2500: Determine whether each target functional component contains a modification component. If so, execute step 2501; otherwise, execute step 2502.

[0200] Step 2501: According to the configuration characteristics of the modified component, adjust the configuration parameter set of the modified component.

[0201] Among them, modifying the configuration features of the component includes modifying the configurations such as the fields and operation functions of the component.

[0202] In the embodiment of the present application, it is determined whether each target functional component includes a modification component. If each target functional component includes a modification component, the configuration parameter set of the modification component is adjusted according to the configuration characteristics of the modification component.

[0203] For example, see Fig.17As shown, it is the first schematic diagram of updating each target functional component in the embodiment of the present application, assuming that each target functional component includes: a table integration component and a form integration component, the modification component 1 is the table integration component, and the filtering of the modification component 1 needs to add the user condition. Each target functional component includes the modification component 1, then according to the configuration characteristics of the modification component 1, the configuration parameter set of the table integration component is adjusted.

[0204] For example, assuming that the filtering of the table integration component in each target functional component includes product and status, then according to the configuration characteristics of the requirement component 1, the filtering of the table integration component is adjusted to include product, status and user.

[0205] Step 2502: call the modified component from the preset component library, and adjust the configuration parameter set of the modified component according to the configuration characteristics of the modified component.

[0206] In an embodiment of the present application, it is determined whether each target functional component includes a modification component. If each target functional component does not include a modification component, the modification component is called from a preset component library, and the configuration parameter set of the modification component is adjusted according to the configuration characteristics of the modification component.

[0207] For example, see Fig.18 As shown, it is a second schematic diagram of updating each target functional component in an embodiment of the present application, assuming that each target functional component includes: a form integration component and a detail page integration component, the modification component 2 is a table integration component, the fields of the modification component 2 include product, quantity, unit price, user and status, filtering includes product and status, row operations include editing, batch operations include deletion, and global operations include creating a new list. If each target functional component does not include the modification component 2, the table integration component is called from the component library, and the configuration parameter set of the table integration component is adjusted according to the configuration characteristics of the requirement component 2.

[0208] In addition, it is worth mentioning that at least one target functional component that is not a modified component among the target functional components is retained.

[0209] Specifically, when updating each target data structure according to the relationship between the modified data structure set and each target data structure included in the update function feature, the following operations are performed for each modified data structure in the modified data structure set:

[0210] Step 2503: Determine whether each target data structure contains a modified data structure, if so, execute step 2504, otherwise, execute step 2505.

[0211] Step 2504: According to the configuration characteristics of the modified data structure, adjust the configuration parameter set of the modified data structure.

[0212] Among them, modifying the configuration features of the data structure includes modifying the fields, labels, data types, and association relationships of the data structure.

[0213] In the embodiment of the present application, it is determined whether each target data structure includes a modified data structure. If each target data structure includes a modified data structure, a configuration parameter set of the modified data structure is adjusted according to the configuration characteristics of the modified data structure.

[0214] For example, assuming that each target data structure includes: an order data structure and a product data structure, the modified data structure 1 is the order data structure, the fields of the order data structure include product, quantity, unit price, user and status, and the corresponding data types are string, number, integer, string and string, and each business data structure contains the modified data structure 1, then according to the configuration characteristics of the modified data structure 1, the configuration parameter set of the order data structure is adjusted.

[0215] For example, assuming that the fields of the order data structure in each target data structure include product, quantity and unit price, and the corresponding data types are string, integer and integer, then according to the configuration characteristics of modified data structure 1, the fields of the order data structure are adjusted to include product, quantity, unit price, user and status, and the corresponding data types are adjusted to string, number, integer, string and string.

[0216] Step 2505: Call the modified data structure, and adjust the configuration parameter set of the modified data structure according to the configuration characteristics of the modified data structure.

[0217] In an embodiment of the present application, it is determined whether each target data structure contains a modified data structure. If each target data structure does not contain a modified data structure, the modified data structure is called from a preset data structure library, and the configuration parameter set of the modified data structure is adjusted according to the configuration characteristics of the modified data structure.

[0218] For example, assuming that each target data structure includes: a waybill data structure and a commodity data structure, and the modified data structure 1 is an order data structure, the fields of the order data structure include product, quantity, unit price, user and status, and the corresponding data types are string, number, integer, string and string, and each target data structure does not contain the modified data structure 1, then the order data structure is called from the data structure library, and the configuration parameter set of the order data structure is adjusted according to the configuration characteristics of the modified data structure 1.

[0219] In addition, it is worth mentioning that at least one target data structure among the target data structures that is not a modified data structure is retained.

[0220] Step 251: convert the update configuration information into a format according to the language format, and configure and load parameters of each update function component and each update data structure based on the converted update configuration information to generate an updated target application.

[0221] In an embodiment of the present application, after obtaining the update configuration information, the format of the update configuration information is converted according to a preset language format to obtain the converted update configuration information, and then based on the update configuration parameter set of the converted update configuration information, each update functional component and each update data structure is parameterized and loaded to generate an updated target application.

[0222] For example, see Fig.19 As shown, it is a schematic diagram of generating an updated target application in an embodiment of the present application. Assuming that the filtering of the table integration component in the update configuration information adds a new user, the fields of the table integration component include product, quantity, unit price, user and status, the filtering includes product, status and user, the row operation includes editing, the batch operation includes deletion, and the global operation includes creating a new list. Then, the update configuration information is converted into a preset language format to obtain the converted update configuration information. Based on the update configuration parameter set of the converted update configuration information, the number of columns of the table integration component is configured as product, quantity, unit price, user and status, the filtering is configured as product, status and user, the row operation is configured as editing, the batch operation is configured as deletion, and the global operation is configured as creating a new list.

[0223] In this way, by parsing the modification requirement text entered by the input object, the update configuration information is obtained and converted according to the language format, the parameters of each update functional component and each update data structure are configured and loaded, and the updated target application is generated, thereby realizing the update of the target application. This process can be repeated until the input object is satisfied with the generated target application, thereby improving the adjustability of the target application generation, and not only can the target application be generated quickly, but the target application can also be updated quickly.

[0224] Based on the same inventive concept as the above method embodiment, the present application embodiment also provides an application generation device, see Fig. 20 , which is a schematic diagram of the structure of an application generation device provided in an embodiment of the present application, the device 2000 includes:

[0225] The first acquisition module 2001 is used to respond to the application generation request triggered by the input object, acquire and parse the application requirement text input by the input object, and obtain the functional characteristics and application category of the target application;

[0226] The second acquisition module 2002 is used to acquire the initial configuration information preset corresponding to the application category, the initial configuration information including: the original configuration parameter set of each functional component and each business data structure corresponding to the application category;

[0227] The processing module 2003 is used to update the initial configuration information based on the functional characteristics to obtain the target configuration information, wherein the target configuration information includes: target configuration parameter sets of each target functional component and each target data structure required by the target application;

[0228] The generation module 2004 is used to perform parameter configuration and load on each target functional component and each target data structure based on the target configuration information to generate a target application.

[0229] In a possible implementation, based on functional characteristics, when the initial configuration information is updated to obtain the target configuration information, the processing module 2003 is used to:

[0230] If the functional characteristics do not include the required component set and the required data structure set, the initial configuration information is used as the target configuration information;

[0231] If the functional characteristics include a required component set and a required data structure set, the initial configuration information is updated according to the configuration characteristics of the required component set and the required data structure set to obtain the target configuration information;

[0232] In a possible implementation, when the initial configuration information is updated according to the configuration characteristics of the required component set and the required data structure set and the target configuration information is obtained, the processing module 2003 is further used to:

[0233] Update each functional component according to the relationship between the required component set and each functional component;

[0234] According to the relationship between the demand data structure set and each business data structure, each business data structure is updated;

[0235] Based on the updated functional components and the updated business data structures, target configuration information is obtained.

[0236] In a possible implementation, when updating each functional component according to the relationship between the requirement component set and each functional component, the processing module 2003 is further used to:

[0237] For each requirement component in the requirement component set, perform the following operations:

[0238] If each functional component includes a demand component, the configuration parameter set of the demand component is adjusted according to the configuration characteristics of the demand component;

[0239] If each functional component does not include the required component, the required component is called from the preset component library, and the configuration parameter set of the required component is adjusted according to the configuration characteristics of the required component.

[0240] In a possible implementation, when updating each business data structure according to the relationship between each business data structure in the demand data structure set, the processing module 2003 is further used to:

[0241] For each requirement data structure in the requirement data structure set, perform the following operations respectively:

[0242] If each business data structure includes a demand data structure, then adjusting the configuration parameter set of the demand data structure according to the configuration characteristics of the demand data structure;

[0243] If each business data structure does not include the demand data structure, the demand data structure is called, and the configuration parameter set of the demand data structure is adjusted according to the configuration characteristics of the demand data structure.

[0244] In a possible implementation, based on the target configuration information, each target functional component and each target data structure is parameterized and loaded, and when the target application is generated, the generation module 2004 is used to:

[0245] Convert the target configuration information into a format according to a preset language format, and configure parameters of each target functional component and each target data structure based on the converted target configuration information;

[0246] Based on each target data structure, call each target data source of the target application from the data source library according to the preset unified calling interface;

[0247] The target functional components, target data structures and target data sources after configuration are loaded to generate the target application.

[0248] In a possible implementation, after each target functional component and each target data structure are configured and loaded with parameters based on the target configuration information and the target application is generated, the device further includes an update module 2005, which is used to:

[0249] In response to the application modification request triggered by the input object, obtain and parse the modification requirement text of the target application to obtain the updated functional features of the target application;

[0250] Based on the update function characteristics, the target application is updated to obtain an updated target application.

[0251] In a possible implementation, based on the update function characteristics, when the target application is updated and the updated target application is obtained, the update module 2005 is further used to:

[0252] Based on the update function characteristics, the target configuration information is updated to obtain the update configuration information, where the update configuration information includes: an update configuration parameter set of each update function component and each update data structure required by the target application;

[0253] The update configuration information is formatted according to the language format, and based on the converted update configuration information, parameters of each update function component and each update data structure are configured and loaded to generate an updated target application.

[0254] Based on the same inventive concept as the above method embodiment, the present application embodiment also provides a computing device. In one embodiment, the computing device may be a server, such as Figure 1 In this embodiment, the structure of the computer device 2100 is as follows: Fig.21 As shown, it may include at least a memory 2101 , a communication module 2103 , and at least one processor 2102 .

[0255] The memory 2101 is used to store computer programs executed by the processor 2102. The memory 2101 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and programs required for running the instant messaging function, etc.; the data storage area may store various instant messaging information and operation instruction sets, etc.

[0256] The memory 2101 may be a volatile memory, such as a random-access memory (RAM); the memory 2101 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or the memory 2101 may be any other medium that can be used to carry or store a desired computer program in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 2101 may be a combination of the above memories.

[0257] The processor 2102 may include one or more central processing units (CPU) or a digital processing unit, etc. The processor 2102 is configured to implement the above application generation method when calling the computer program stored in the memory 2101 .

[0258] The communication module 2103 is used to communicate with terminal devices and other servers.

[0259] The specific connection medium between the memory 2101, the communication module 2103 and the processor 2102 is not limited in the embodiment of the present application. Fig.21In the embodiment, the memory 2101 and the processor 2102 are connected via a bus 2104. The bus 2104 is connected to the processor 2102 via a bus 2104. Fig.21 The connections between the other components are only for illustration and are not intended to be limiting. The bus 2104 can be divided into an address bus, a data bus, a control bus, etc. For ease of description, Fig.21 The diagram shows that only one thick line is used, but this does not mean that there is only one bus or only one type of bus.

[0260] The memory 2101 stores a computer storage medium, and the computer storage medium stores computer executable instructions, and the computer executable instructions are used to implement the application generation method of the embodiment of the present application. The processor 2102 is used to execute the above-mentioned application generation method.

[0261] In another embodiment, the computing device may also be other computing devices, such as Figure 1 In this embodiment, the structure of the computing device can be as follows: Fig. 22 As shown, it includes: a communication component 2210, a memory 2220, a display unit 2230, a camera 2240, a sensor 2250, an audio circuit 2260, a Bluetooth module 2270, a processor 2280 and other components.

[0262] The communication component 2210 is used to communicate with the server. In some embodiments, a wireless fidelity (WiFi) module may be included. The WiFi module belongs to a short-range wireless transmission technology. The electronic device can help the object to send and receive information through the WiFi module.

[0263] The memory 2220 can be used to store software programs and data. The processor 2280 executes various functions and data processing of the terminal device 220 by running the software programs or data stored in the memory 2220. The memory 2220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 2220 stores an operating system that enables the terminal device 120 to run. In the present application, the memory 2220 can store an operating system and various application programs, and can also store a computer program for executing the application generation method of the embodiment of the present application.

[0264] The display unit 2230 may also be used to display information input by an object or information provided to an object and a graphical user interface (GUI) of various menus of the terminal device 120. Specifically, the display unit 2230 may include a display screen 2232 disposed on the front of the terminal device 120. The display screen 2232 may be configured in the form of a liquid crystal display, a light emitting diode, etc. The display unit 2230 may be used to display an application generation interface, an input interface, etc. in the embodiments of the present application.

[0265] The display unit 2230 can also be used to receive input digital or character information, and generate signal input related to object settings and function control of the terminal device 120. Specifically, the display unit 2230 may include a touch screen 2231 arranged on the front of the terminal device 120, which can collect touch operations of objects on or near it, such as clicking a button, dragging a scroll box, etc.

[0266] The touch screen 2231 can be covered on the display screen 2232, or the touch screen 2231 and the display screen 2232 can be integrated to realize the input and output functions of the physical terminal device 120, and the integrated display screen can be referred to as a touch display screen. In this application, the display unit 2230 can display the application and the corresponding operation steps.

[0267] The camera 2240 can be used to capture static images, and the object can publish the image taken by the camera 2240 through the application. The camera 2240 can be one or more. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processor 2280 to convert it into a digital image signal.

[0268] The physical terminal device may also include at least one sensor 2250, such as an acceleration sensor 2251, a distance sensor 2252, a fingerprint sensor 2253, and a temperature sensor 2254. The terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, and a motion sensor.

[0269] The audio circuit 2260, the speaker 2261, and the microphone 2262 can provide an audio interface between the object and the terminal device 120. The audio circuit 2260 can transmit the electrical signal converted from the received audio data to the speaker 2261, which is converted into a sound signal for output. The physical terminal device 120 can also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 2262 converts the collected sound signal into an electrical signal, which is received by the audio circuit 2260 and converted into audio data, and then the audio data is output to the communication component 2210 to be sent to, for example, another physical terminal device 220, or the audio data is output to the memory 2220 for further processing.

[0270] The Bluetooth module 2270 is used to exchange information with other Bluetooth devices having Bluetooth modules through the Bluetooth protocol. For example, the physical terminal device can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 2270 to exchange data.

[0271] The processor 2280 is the control center of the physical terminal device. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the terminal device and processes data by running or executing software programs stored in the memory 2220 and calling data stored in the memory 2220. In some embodiments, the processor 2280 may include one or more processing units; the processor 2280 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the baseband processor mainly processes wireless communications. It is understandable that the above-mentioned baseband processor may not be integrated into the processor 2280. In the present application, the processor 2280 can run the operating system, application program, user interface display and touch response, as well as the application generation method of the embodiment of the present application. In addition, the processor 2280 is coupled to the display unit 2230.

[0272] In some possible implementations, various aspects of the application generation method provided by the present application may also be implemented in the form of a program product, which includes a computer program. When the program product is run on a computing device, the computer program is used to enable the computing device to execute the steps of the application generation method according to various exemplary implementations of the present application described above in this specification.

[0273] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0274] The program product of the embodiment of the present application may adopt a portable compact disk read-only memory (CD-ROM) and include a computer program, and can be run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which can be used by or in combination with a command execution system, apparatus, or device.

[0275] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with a command execution system, apparatus, or device.

[0276] The computer program embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0277] The computer program for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The computer program may be executed entirely on the user's computer device, partially on the user's computer device, as a separate software package, partially on the user's computer device and partially on a remote computer device, or entirely on the remote computer device. In the case of a remote computer device, the remote computer device may be connected to the user's computer device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer device (e.g., via the Internet using an Internet service provider).

[0278] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0279] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0280] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0281] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0282] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0283] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0284] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. An application generation method, characterized in that: include: In response to an application generation request triggered by an input object, acquiring and parsing the application requirement text input by the input object, and obtaining functional features and application categories of the target application; Acquire initial configuration information preset corresponding to the application category, the initial configuration information comprising: an original configuration parameter set of each functional component and each service data structure corresponding to the application category; Based on the functional characteristics, the initial configuration information is updated to obtain target configuration information, wherein the target configuration information includes: a target configuration parameter set of each target functional component and each target data structure required by the target application; Based on the target configuration information, parameters of the target functional components and the target data structures are configured and loaded to generate the target application.

2. The method according to claim 1, characterized in that The updating of the initial configuration information based on the functional characteristics to obtain target configuration information includes: If the functional characteristics do not include a required component set and a required data structure set, the initial configuration information is used as the target configuration information; If the functional characteristics include a required component set and a required data structure set, the initial configuration information is updated according to the configuration characteristics of the required component set and the required data structure set to obtain the target configuration information.

3. The method according to claim 2, characterized in that The updating of the initial configuration information according to the configuration characteristics of the required component set and the required data structure set to obtain the target configuration information includes: According to the relationship between the required component set and the functional components, the functional components are updated; According to the relationship between the demand data structure set and the business data structures, the business data structures are updated; Based on the updated functional components and the updated business data structures, target configuration information is obtained.

4. The method according to claim 3, characterized in that The updating of each functional component according to the relationship between the requirement component set and each functional component includes: For each requirement component in the requirement component set, perform the following operations respectively: If the functional components include the demand component, adjusting the configuration parameter set of the demand component according to the configuration characteristics of the demand component; If the functional components do not include the required component, the required component is called from a preset component library, and the configuration parameter set of the required component is adjusted according to the configuration characteristics of the required component.

5. The method according to claim 3, characterized in that The updating of each business data structure according to the relationship between each business data structure in the demand data structure set includes: For each demand data structure in the demand data structure set, the following operations are performed respectively: If each of the business data structures includes the demand data structure, adjusting the configuration parameter set of the demand data structure according to the configuration characteristics of the demand data structure; If the business data structures do not include the demand data structure, the demand data structure is called, and the configuration parameter set of the demand data structure is adjusted according to the configuration characteristics of the demand data structure.

6. The method according to any one of claims 1 to 5, characterized in that: The step of configuring and loading parameters of each target functional component and each target data structure based on the target configuration information to generate the target application includes: According to a preset language format, the target configuration information is formatted, and based on the converted target configuration information, parameter configuration is performed on each target functional component and each target data structure; Based on the target data structures, calling the target data sources of the target application from the data source library according to the preset unified calling interface; The target functional components, target data structures and target data sources after configuration are loaded to generate the target application.

7. The method according to any one of claims 1 to 5, characterized in that: After configuring and loading parameters of each target function component and each target data structure based on the target configuration information and generating the target application, the method further includes: In response to the application modification request triggered by the input object, acquiring and parsing the modification requirement text of the target application, and obtaining the updated functional features of the target application; Based on the update function characteristics, the target application is updated to obtain an updated target application.

8. The method according to claim 7, characterized in that The updating of the target application based on the update function characteristics to obtain the updated target application includes: Based on the update function characteristics, the target configuration information is updated to obtain update configuration information, wherein the update configuration information includes: update configuration parameter sets of each update function component and each update data structure required by the target application; The update configuration information is formatted according to the language format, and based on the converted update configuration information, parameters of the update function components and the update data structures are configured and loaded to generate an updated target application.

9. An application generating device, characterized in that: include: A first acquisition module is used to respond to an application generation request triggered by an input object, acquire and parse the application requirement text input by the input object, and obtain functional features and application categories of a target application; A second acquisition module is used to acquire initial configuration information preset corresponding to the application category, wherein the initial configuration information includes: an original configuration parameter set of each functional component and each service data structure corresponding to the application category; A processing module, configured to update the initial configuration information based on the functional characteristics to obtain target configuration information, wherein the target configuration information includes: a target configuration parameter set of each target functional component and each target data structure required by the target application; A generation module is used to perform parameter configuration and load the target functional components and the target data structures based on the target configuration information to generate the target application.

10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores program codes, and when the program codes are executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The method comprises a program code, and when the program code is run on a computing device, the program code is used to make the computing device execute the steps of the method according to any one of claims 1 to 8.

12. A computer program product, characterized in that The invention comprises a computer program, which implements the steps of the method according to any one of claims 1 to 8 when being executed by a processor.