Application program generation method and device, computer equipment and storage medium

By associating a predefined application software framework with configuration parameters, an application is generated, which solves the problem of low development efficiency in the existing technology and realizes rapid development and flexible maintenance across operating systems.

CN120610705APending Publication Date: 2025-09-09GUANGZHOU ANYKA MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410256281.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-06
Publication Date
2025-09-09

AI Technical Summary

Technical Problem

In the existing technology, application development efficiency is low, and it takes a long time to redesign and adapt to different operating systems and modify the interface, resulting in inconvenient maintenance and low efficiency.

Method used

Through the predefined application software framework, the configuration parameters of the application to be developed are obtained and associated with the application software framework to generate a software program, which is then compiled to generate a developed application.

Benefits of technology

It improves application development efficiency, reduces the coupling between requirements and functions, and enhances code flexibility and application scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120610705A_ABST
    Figure CN120610705A_ABST
Patent Text Reader

Abstract

The invention relates to an application program generation method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining configuration parameters of a to-be-developed application program, associating the configuration parameters with a predefined application program software framework, determining a software program of the to-be-developed application program, and then compiling the software program to generate a compiled application program; and generating a developed application program. By adopting the method, the efficiency of generating the application program can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the continuous development of technology, the application of various types of applications is becoming more and more extensive.

[0003] In the related art, when developing an application, developers usually customize the application according to the functional requirements of the user to generate a corresponding application.

[0004] However, the method of generating application programs in related technologies has the problem of low efficiency. Summary of the Invention

[0005] Based on this, it is necessary to provide an application generation method, apparatus, computer device and storage medium to address the above technical problems, which can improve the development efficiency of applications.

[0006] In a first aspect, the present application provides a method for generating an application program, comprising:

[0007] Get the configuration parameters of the application to be developed;

[0008] Associating configuration parameters with a predefined application software framework to determine the software program of the application to be developed;

[0009] Compile the software program to generate the developed application.

[0010] In one embodiment, obtaining configuration parameters of the application to be developed includes:

[0011] Determine a target parameter configuration template from at least one candidate parameter configuration template;

[0012] Determine the parameters in the target parameter configuration template as configuration parameters in the application to be developed.

[0013] In one embodiment, determining a target parameter configuration template from at least one candidate parameter configuration template includes:

[0014] For any candidate parameter configuration template, the parameters in the candidate parameter configuration template are imported into the application software framework to obtain the application interface and application functions corresponding to the candidate parameter configuration template;

[0015] Determine the target parameter configuration template based on the application interface and application function corresponding to each candidate parameter configuration template.

[0016] In one embodiment, the application software framework includes functional modules required by various applications; associating configuration parameters with the predefined application software framework to determine the software program of the application to be developed includes:

[0017] Obtain the target functional modules required by the application to be developed from the application software framework;

[0018] Import the configuration parameters into the target functional module to obtain the software program.

[0019] In one embodiment, compiling the software program to generate a developed application program includes:

[0020] Obtain the operating system that the application to be developed needs to run;

[0021] Compile the software program on the operating system to obtain the developed application.

[0022] In one embodiment, the method further comprises:

[0023] After the configuration parameters are associated with the predefined application software framework, the interface of the application to be developed is displayed; the interface display is used to preview the application interface and application functions of the application to be developed.

[0024] In one embodiment, the method further comprises:

[0025] In response to a user's request to modify a software program, obtaining modification parameters carried in the modification request;

[0026] Modify the configuration parameters in the software program according to the modified parameters;

[0027] The modified software program is determined as the software program of the application to be developed.

[0028] In a second aspect, the present application further provides an application generation device, comprising:

[0029] Parameter acquisition module, used to obtain configuration parameters of the application to be developed;

[0030] an association module for associating the configuration parameters with a predefined application software framework to determine the software program of the application to be developed;

[0031] The compilation module is used to compile the software program and generate a completed application program.

[0032] In a third aspect, an embodiment of the present application provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method provided in any embodiment of the first aspect when executing the computer program.

[0033] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in any embodiment of the first aspect above.

[0034] In a fifth aspect, an embodiment of the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method provided in any embodiment of the first aspect above.

[0035] The aforementioned application generation method, apparatus, computer device, and storage medium obtain configuration parameters of an application to be developed, associate the configuration parameters with a predefined application software framework, determine the software program of the application to be developed, and then compile the software program to generate the developed application. This method utilizes a universal application software framework. During application development, the software program can be directly associated with the application software framework based on the configuration parameters of the application to be developed, eliminating the need to redevelop the software code. This improves the efficiency of application generation. Furthermore, separating the configuration parameters from the application software framework reduces the coupling between requirements and functionality, helps improve code flexibility, and facilitates application scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 is a diagram of the internal structure of a computer device in one embodiment;

[0038] Figure 2 A flowchart of a method for generating an application program in one embodiment is shown;

[0039] Figure 3 A flowchart of a method for generating an application in another embodiment is shown;

[0040] Figure 4 A flowchart of a method for generating an application in another embodiment is shown;

[0041] Figure 5 A flowchart of a method for generating an application in another embodiment is shown;

[0042] Figure 6 A flowchart of a method for generating an application in another embodiment is shown;

[0043] Figure 7 A flowchart of a method for generating an application in another embodiment is shown;

[0044] Figure 8 A flowchart of a method for generating an application in another embodiment is shown;

[0045] Figure 9 A schematic diagram of deployment of an application in one embodiment;

[0046] Figure 10 It is a structural block diagram of an application generating device in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0048] Among them, for application development, the current common practice is to customize development according to needs, which leads to a lot of repetitive work and is time-consuming and labor-intensive. In addition, most desktop applications are developed based on the Windows operating system. If the application is to be used under other operating systems, a new development process needs to be designed to adapt. For the same application, if some functions or parameters need to be added / deleted / replaced on the interface, they must be modified in the code, and automatic matching cannot be achieved. This makes maintenance very inconvenient, and if a large number of functions or parameters are added, there will be a problem of time-consuming and slow research and development, resulting in low efficiency in generating applications.

[0049] Based on this, an embodiment of the present application provides an application generation method. By pre-defining an application software framework, when developing an application to be developed, the configuration parameters of the application to be developed can be obtained, and the configuration parameters can be associated with the application software framework to generate a software program for the application to be developed. The software program is then compiled to generate the application. By using a set of universal application software frameworks, when developing an application, it is only necessary to directly associate the application software framework based on the configuration parameters of the application to be developed, without having to redevelop the software code, thereby improving the efficiency of generating applications.

[0050] For the convenience of explanation, the following embodiments are described using a computer device in one embodiment of the present application as the execution subject, and the computer device is used to generate an application. The computer device can be a server, and its internal structure diagram can be as follows: Figure 1 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store application generation data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the steps of the application generation method provided in any of the following embodiments of the present application are implemented.

[0051] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0052] In an exemplary embodiment, Figure 2 As shown, a method for generating an application is provided, comprising the following steps:

[0053] S201: Obtain configuration parameters of the application to be developed.

[0054] The application to be developed is an application that needs to be developed; the configuration parameters may represent the behavior, environment, and function of the application to be developed; the configuration parameters may include parameter type, parameter size, parameter range, control type, and the like.

[0055] The configuration parameters of the application to be developed can be obtained directly from a historical database. The historical database includes the correspondence between multiple applications and configuration parameters. The configuration parameters corresponding to the application to be developed in the historical database can be directly determined as the configuration parameters of the application to be developed.

[0056] Another method for obtaining the configuration parameters of the application to be developed is to obtain the user requirements of the application to be developed and determine the configuration parameters of the application to be developed based on the user requirements; for example, if the user requirement is that the background of the user interface of the application to be developed is black, then "background is black" can be used as the configuration parameter of the application to be developed.

[0057] S202: Associating the configuration parameters with a predefined application software framework to determine the software program of the application to be developed.

[0058] Among them, the application software framework is a software framework that provides specific functions and structures. The application software framework includes a series of predefined code modules, class libraries, tools and standardized structures required by various applications.

[0059] Therefore, the configuration parameters can be directly associated with the predefined application software framework to obtain the software program of the application to be developed.

[0060] The application software framework may include parameterized variables, and the parameterized variables in the application software framework may be instantiated through configuration parameters, and the file corresponding to the instantiated application software framework may be determined as the software program of the application to be developed.

[0061] S203, compile the software program to generate a developed application program.

[0062] The software program can be compiled on a pre-configured compilation platform, and the successfully compiled software program can be determined as a developed application program.

[0063] Optionally, the developed application may include an installation package software and a non-installation version software of the application.

[0064] The application generation method provided in the embodiment of the present application obtains the configuration parameters of the application to be developed, associates the configuration parameters with a predefined application software framework, determines the software program of the application to be developed, and then compiles the software program to generate a developed application. In this method, a set of universal application software frameworks is used. When developing an application, it is only necessary to directly associate the application software framework based on the configuration parameters of the application to be developed, without having to redevelop the software code, thereby improving the efficiency of generating the application. In addition, separating the configuration parameters from the application software framework can reduce the coupling between requirements and functions, help improve the flexibility of the code, and make the application easy to expand.

[0065] In an exemplary embodiment, Figure 3As shown, obtaining the configuration parameters of the application to be developed includes the following steps:

[0066] S301: Determine a target parameter configuration template from at least one candidate parameter configuration template.

[0067] In an embodiment of the present application, multiple sets of candidate parameter configuration templates with different layout styles are pre-configured for each application. The candidate parameter configuration template can be a database template, which can include configuration parameters; each candidate parameter configuration template corresponds to a user interface (UI) with a layout style.

[0068] The target parameter configuration template may be determined according to the priorities of the candidate parameter configuration templates. For example, the candidate parameter configuration template with the highest priority among the candidate parameter configuration templates may be determined as the target parameter configuration template.

[0069] The target parameter configuration template may also be determined based on the usage rate of each candidate parameter configuration template; for example, the candidate parameter configuration template with the highest usage rate is determined as the target parameter configuration template.

[0070] The layout style corresponding to each candidate parameter configuration template and the required structural layout of the application to be developed may also be obtained, and the candidate parameter configuration template corresponding to the layout style consistent with the required structural layout style among all layout styles may be determined as the target parameter configuration template.

[0071] S302: Determine the parameters in the target parameter configuration template as configuration parameters in the application to be developed.

[0072] The target parameter configuration template includes multiple parameters, and the parameters in the target parameter configuration template are determined as configuration parameters in the application to be developed.

[0073] The application generation method provided in an embodiment of the present application determines a target parameter configuration template from at least one candidate parameter configuration template, and then determines the parameters in the target parameter configuration template as the configuration parameters of the application to be developed. In this method, because the candidate parameter configuration template can determine the display parameters of the UI interface of the application to be developed, the target parameter configuration template is directly determined from a plurality of pre-configured candidate parameter configuration templates of different styles, and the parameters in the target parameter configuration template are determined as the configuration parameters of the application to be developed, thereby achieving flexible configuration of the application and improving application development efficiency.

[0074] In an exemplary embodiment, Figure 4 As shown, determining a target parameter configuration template from at least one candidate parameter configuration template includes the following steps:

[0075] S401 , for any candidate parameter configuration template, import the parameters in the candidate parameter configuration template into the application software framework to obtain the application interface and application functions corresponding to the candidate parameter configuration template.

[0076] Call the candidate parameter configuration template, import the parameters in the candidate parameter configuration template into the application software framework, instantiate the application software framework, run the application software framework, and display the application interface and application functions corresponding to the candidate parameter configuration template under the application software framework.

[0077] Among them, the application interface represents the UI interface of the application to be developed under the influence of the parameters in the corresponding candidate parameter configuration template, and the application function represents the function that can be achieved by the application to be developed under the influence of the parameters in the corresponding candidate parameter configuration template.

[0078] S402: Determine a target parameter configuration template according to the application program interface and application program function corresponding to each candidate parameter configuration template.

[0079] The application interface and application function corresponding to each candidate parameter configuration template are compared with the preset user requirement interface and user requirement function, and the candidate parameter configuration template corresponding to the application interface and application function that has a higher similarity with the user requirement interface and user requirement function is determined as the target parameter configuration template.

[0080] Specifically, the interface similarity between each application interface and the user requirement interface, as well as the functional similarity between each application function and the user requirement function can be obtained respectively. Based on the interface similarity and the functional similarity, the overall similarity between the application interface and application function and the user requirement interface and user requirement function under each candidate parameter configuration template is determined, and the candidate parameter configuration template corresponding to the highest overall similarity is determined as the target parameter configuration template.

[0081] Optionally, for any candidate parameter configuration template, the interface similarity and functional similarity corresponding to the candidate parameter configuration template may be weighted to obtain the overall similarity.

[0082] The application generation method provided in an embodiment of the present application imports the parameters in any candidate parameter configuration template into the application software framework, obtains the application interface and application functions corresponding to the candidate parameter configuration template, and then determines the target parameter configuration template based on the application interface and application functions corresponding to each candidate parameter configuration template. In this method, the target parameter configuration template is determined based on the application interface and application functions presented by the candidate parameter configuration template, so that the target parameter configuration template better meets user needs, thereby improving the reliability of the application.

[0083] In an exemplary embodiment, Figure 5 As shown, the application software framework includes functional modules required by various applications; associating configuration parameters with the predefined application software framework to determine the software program of the application to be developed includes the following steps:

[0084] S501, obtaining target functional modules required by the application to be developed from the application software framework.

[0085] The target functional modules required by the application to be developed can be determined according to the configuration parameters of the application to be developed; the functional modules involved are determined from the configuration parameters, and then the corresponding functional modules in the application software framework are determined as the target functional modules.

[0086] S502: Import the configuration parameters into the target functional module to obtain the software program.

[0087] The configuration parameters are imported into the target function module, the target function module is instantiated, and the instantiated target function module is determined as a software program.

[0088] The application generation method provided in an embodiment of the present application obtains the target functional modules required by the application to be developed from the application software framework and imports configuration parameters into the target functional modules to obtain a software program. In this method, importing configuration parameters into the target functional modules allows the configuration information to be closely associated with the functional implementation logic, achieving a modular design, helping to improve the readability and maintainability of the code, and making it easier for developers to understand and manage configuration parameters.

[0089] In an exemplary embodiment, Figure 6 As shown, compiling the software program to generate a developed application program includes the following steps:

[0090] S601: Obtain an operating system required to run the application to be developed.

[0091] Obtain an operating system required to run the application to be developed, wherein the operating system can be selected by the user in the human-computer interaction interface.

[0092] It should be noted that the application to be developed may be an application that runs on terminals such as desktop computers and servers. Therefore, the systems required to run the application to be developed may include Windows, Linux, macOS, etc.

[0093] S602: Compile the software program on the operating system to obtain a developed application program.

[0094] The software program is compiled in a compilation environment on the corresponding operating system, and the software program obtained after successful compilation is determined as the developed application program. Optionally, the software program can be sent to a terminal running the corresponding operating system so that the software program is automatically compiled in the compilation environment of the terminal.

[0095] It should be noted that the application software framework in this application supports multiple operating systems, that is, the application software framework code can be compiled and run on different operating systems. The application software framework is developed based on electron and js.

[0096] The application generation method provided in the embodiments of the present application obtains the operating system required to run the application to be developed and compiles the software program on the operating system to produce the developed application. By compiling on the operating system, it is ensured that the generated application can run directly on the operating system without the need for additional adaptation and configuration. This simplifies the application deployment process and reduces the uncertainty and complexity of the deployment environment.

[0097] In an exemplary embodiment, the embodiment includes: after associating the configuration parameters with the predefined application software framework, performing an interface display on the application to be developed; the interface display is used to preview the application interface and application functions of the application to be developed.

[0098] After the configuration parameters are associated with the predefined application software framework, the application software framework displays an interface for the application to be developed in response to the configuration parameters. The interface display is used to preview the application interface and application functions of the application to be developed.

[0099] Optionally, the developer can determine whether the displayed application interface and application functions meet the user's interface requirements and functional requirements, etc. If not, the developer can modify its configuration parameters.

[0100] The application generation method provided in an embodiment of the present application displays an interface for the application to be developed after associating configuration parameters with a predefined application software framework. The interface display is used to preview the application interface and application functions of the application to be developed. In this method, the interface display allows developers to intuitively preview the application interface and functions of the application to be developed, which helps developers better understand the application's appearance and interaction methods and facilitates rapid confirmation of whether the application's interface and functions meet their requirements.

[0101] In an exemplary embodiment, Figure 7 As shown, this embodiment includes the following steps:

[0102] S701 : In response to a user's request to modify a software program, obtain modification parameters carried in the modification request.

[0103] The configuration information of the application to be developed may not fully meet user requirements. Therefore, the user can modify the configuration parameters in the software program, triggering a modification request for the software program. The computer device responds to the user's modification request for the software program and obtains the modification parameters contained in the modification request. Modification requests include adding, deleting, and replacing configuration parameters in the software program.

[0104] The modification parameters may be determined by the user based on the previewed application interface and application functions.

[0105] S702: Modify the configuration parameters in the software program according to the modification parameters.

[0106] S703: Determine the modified software program as a software program for the application program to be developed.

[0107] The computer device may modify the configuration parameters in the software program according to the modification parameters, and then determine the modified software program as the software program of the application program to be developed.

[0108] The application generation method provided in an embodiment of the present application responds to a user's request to modify a software program by obtaining modification parameters contained in the modification request, modifying configuration parameters in the software program based on the modification parameters, and then determining the modified software program as the software program for the application to be developed. In this method, the user can modify the generated software program, making the developed application more consistent with the user's needs and improving the reliability and accuracy of the application.

[0109] In an exemplary embodiment, taking the parameter configuration template as a database template as an example, a design method for developing different applications of the same type with different operating systems using the database template + Electron + JS framework is proposed. Figure 8 As shown, this embodiment includes the following steps:

[0110] S801: Obtain a database template of a UI interface of the application to be developed according to the structural layout of the application to be developed.

[0111] S802: Associating the parameter information in the database template with the preset software framework to obtain the software program of the application to be developed.

[0112] Among them, the software framework is developed by Electron+JS.

[0113] S803: Compile the software program of the application to be developed on the corresponding operating system to obtain an installation package of the application to be developed.

[0114] When there is a need to modify the UI interface of the application to be developed, the modification can be performed by modifying the database template or software program of the UI interface of the application to be developed.

[0115] After associating the parameter information in the database template with the preset software framework, the customized UI interface can be displayed and previewed, and the UI interface can be modified directly. After the UI interface is modified, the corresponding software program will also be modified.

[0116] Take two different database templates A and B as examples for explanation. Figure 9 As shown, Figure 9 This is a diagram of an application deployment. The parameters in the two database templates differ. Using the Electron+JS software framework, you can customize different UI interfaces and applications to achieve different functions based on the different database templates. This is primarily useful for customizing applications of the same type, such as those with different UI parameters under the same communication protocol.

[0117] Within the same database template, you can customize UI interfaces with different styles based on parameter configuration. Alternatively, you can add, delete, or replace database templates based on the same template, and the interface parameters within the template will automatically be added, deleted, or replaced, eliminating the need to modify the code logic. For example, modify the parameters in template A to create interface A1 and interface A2. Configure the parameters in module B into the software framework to create interface B. Then compile interface A1, interface A2, and interface B on the corresponding operating system to generate the completed application.

[0118] Based on the user's preferences and aesthetics, you can choose a UI style that suits your aesthetics, which is convenient for users and reduces the workload of developers. Or, based on user needs, you can add / delete / replace certain parameters on the UI interface.

[0119] Through different database templates, different styles of UI interface display are performed. This software framework can quickly respond to the actions of database template configuration, and then display and preview them to facilitate user decision-making.

[0120] Based on the call of the database template, under the design of the software framework, different parameter interfaces and different application functions will be displayed. After all the above functions are completed, a set of applications that can be applied to the operating system to be run is compiled.

[0121] The embodiment of the present application implements a design method for developing different applications of the same type for different operating systems using a database template + electron + js software framework. The entire design framework is simple and highly reusable, and can quickly build a UI interface. It is more convenient and faster for other projects to develop similar applications, has better compatibility, and does not require excessive manual participation, which not only reduces the investment of manpower and time, but also can quickly realize the required function development.

[0122] In this application, the parameters, parameter types, parameter sizes, parameter ranges, and UI control types displayed on the UI interface are determined by using a small database template. Based on different database templates, UI interfaces of different styles are generated, which facilitates the rapid construction of application parameter configuration and improves work efficiency. It also supports switching between multiple UI interface styles and styles to cater to the aesthetic tastes of different users. Based on different database templates, different types of applications with the same set of protocols can be completed, which facilitates subsequent expansion and maintenance, and can also be used flexibly with high reusability. Therefore, in project applications, it can greatly reduce manpower investment and improve work efficiency.

[0123] Secondly, the same electron+js software framework can be used to implement applications for different operating systems, that is, the same electron+js framework code can be compiled and run on different operating systems to generate supporting applications.

[0124] By setting parameters in the software program, you can flexibly switch the style and style of the UI interface without having to implement it through code; you can add / delete / replace application functions and parameters based on the parameters of the database template, and the effect is significant and fast.

[0125] Furthermore, in the embodiment of the present application, the configuration parameters are associated with the software framework, making subsequent maintenance and modification more convenient. Developers can directly find and modify relevant configuration parameters without having to conduct large-scale searches and modifications throughout the entire application.

[0126] Separating configuration parameters from the software framework can reduce the coupling between modules, help improve the flexibility of the code, and make the functional modules in the application more easily replaced, reused or expanded; importing configuration parameters into the software framework can improve the configurability of the application. Through the software program, users can configure parameters according to their needs without modifying the code, making the application more flexible and able to adapt to different usage scenarios and needs.

[0127] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0128] Based on the same inventive concept, embodiments of the present application also provide an application generation device for implementing the aforementioned application generation method. The implementation solution provided by this device is similar to the implementation solution described in the aforementioned method. Therefore, the specific limitations in one or more application generation device embodiments provided below can be found in the above-mentioned limitations on the application generation method and will not be further elaborated here.

[0129] In an exemplary embodiment, Figure 10 As shown, an application generation device 1000 is provided, comprising: a parameter acquisition module 1001, an association module 1002 and a compilation module 1003, wherein:

[0130] Parameter acquisition module 1001, used to obtain configuration parameters of the application to be developed;

[0131] An association module 1002 is used to associate the configuration parameters with a predefined application software framework to determine the software program of the application to be developed;

[0132] The compiling module 1003 is used to compile the software program to generate a developed application program.

[0133] In an exemplary embodiment, the parameter acquisition module 1001 includes:

[0134] A first determining unit, configured to determine a target parameter configuration template from at least one candidate parameter configuration template;

[0135] The second determining unit is configured to determine the parameters in the target parameter configuration template as configuration parameters in the application to be developed.

[0136] In an exemplary embodiment, the first determining unit includes:

[0137] The import subunit is used to import the parameters in any candidate parameter configuration template into the application software framework to obtain the application interface and application functions corresponding to the candidate parameter configuration template;

[0138] The first determining subunit is configured to determine a target parameter configuration template according to the application program interface and application program function corresponding to each candidate parameter configuration template.

[0139] In an exemplary embodiment, the application software framework includes functional modules required by various applications; the association module 1002 includes:

[0140] A first acquisition unit is used to acquire a target functional module required by the application to be developed from the application software framework;

[0141] The import unit is used to import the configuration parameters into the target functional module to obtain the software program.

[0142] In an exemplary embodiment, the compilation module 1003 includes:

[0143] A second acquisition unit is used to acquire an operating system required to run the application to be developed;

[0144] The compilation unit is used to compile the software program on the operating system to obtain the developed application program.

[0145] In an exemplary embodiment, the apparatus 1000 further includes:

[0146] The display module is used to display the interface of the application to be developed after the configuration parameters are associated with the predefined application software framework; the interface display is used to preview the application interface and application functions of the application to be developed.

[0147] In an exemplary embodiment, the method further includes:

[0148] A response module, configured to respond to a user's request to modify a software program and obtain modification parameters carried in the modification request;

[0149] A modification module, for modifying configuration parameters in the software program according to modification parameters;

[0150] The determination module is used to determine the modified software program as a software program for an application to be developed.

[0151] Each module in the above-mentioned application generation device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor of the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0152] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0153] The implementation principles and technical effects of each step implemented by the processor in this embodiment are similar to those of the above-mentioned application generation method and will not be repeated here.

[0154] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0155] The implementation principles and technical effects of the steps implemented when the computer program in this embodiment is executed by the processor are similar to those of the above-mentioned application generation method and will not be repeated here.

[0156] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0157] The implementation principles and technical effects of the steps implemented when the computer program in this embodiment is executed by the processor are similar to those of the above-mentioned application generation method and will not be repeated here.

[0158] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0159] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0160] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0161] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for generating an application, characterized in that: The method comprises: Get the configuration parameters of the application to be developed; Associating the configuration parameters with a predefined application software framework to determine the software program of the application to be developed; The software program is compiled to generate a developed application program.

2. The method according to claim 1, characterized in that The step of obtaining configuration parameters of the application to be developed includes: Determine a target parameter configuration template from at least one candidate parameter configuration template; The parameters in the target parameter configuration template are determined as configuration parameters in the application to be developed.

3. The method according to claim 2, characterized in that The determining of a target parameter configuration template from the at least one candidate parameter configuration template includes: For any candidate parameter configuration template, import the parameters in the candidate parameter configuration template into the application software framework to obtain the application interface and application functions corresponding to the candidate parameter configuration template; The target parameter configuration template is determined according to the application program interface and application program function corresponding to each of the candidate parameter configuration templates.

4. The method according to any one of claims 1 to 3, characterized in that The application software framework includes functional modules required by various application programs; and associating the configuration parameters with the predefined application software framework to determine the software program of the application to be developed includes: Acquire target functional modules required by the application to be developed from the application software framework; The configuration parameters are imported into the target functional module to obtain the software program.

5. The method according to any one of claims 1 to 3, characterized in that Compiling the software program to generate a developed application program includes: Obtaining an operating system required to run the application to be developed; The software program is compiled on the operating system to obtain the developed application program.

6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: After the configuration parameters are associated with a predefined application software framework, an interface display is performed on the application to be developed; the interface display is used to preview the application interface and application functions of the application to be developed.

7. The method according to any one of claims 1 to 3, characterized in that The method further comprises: In response to a user's request to modify the software program, obtaining modification parameters carried in the modification request; Modifying configuration parameters in the software program according to the modification parameters; The modified software program is determined as the software program of the application program to be developed.

8. An application generating device, characterized in that: The device comprises: Parameter acquisition module, used to obtain configuration parameters of the application to be developed; an associating module, configured to associate the configuration parameters with a predefined application software framework to determine the software program of the application to be developed; The compiling module is used to compile the software program to generate a developed application program.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.