Application generation method, device, equipment and medium
By providing target functional components through a pre-built application platform, users can select, connect, and assemble applications, thus solving the problem of high learning costs in existing technologies and achieving efficient application generation.
Patent Information
- Application Number
- CN202411922218.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2026-06-26
AI Technical Summary
The learning curve in the current technology application generation process is relatively high, requiring users to understand the user guide and write code, resulting in low generation efficiency.
The platform provides target functional components through a preset application building system. Users select the target functional components and determine the connection order, and the target application is automatically assembled and generated without writing any code.
It reduces the learning cost for users and improves application generation efficiency, allowing users to quickly assemble target applications that meet specific needs.
Smart Images

Figure CN122284975A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer application technology, and in particular to a method, apparatus, device and medium for generating an application. Background Technology
[0002] With the advancement of computer technology, user needs are becoming increasingly diverse, and the applications that need to be generated to meet these needs are also becoming more diverse. Improving the efficiency of application generation has also become a necessity.
[0003] In related technologies, in order to improve application generation efficiency, developers upload the functional modules they have written to an open source platform, along with a user guide and demo program for the functional modules. Technical personnel use the user guide and demo program to select the functional modules they want to reuse, and write the corresponding calling code for the functional modules according to the user guide and demo program, so as to realize the reuse of functional modules to generate applications.
[0004] However, the above methods for improving the efficiency of application generation require technical personnel to understand the user guides and demonstration programs, and even to be able to write code, which results in a high learning cost for application generation. Summary of the Invention
[0005] In order to solve the above-mentioned technical problems, or at least partially solve the technical problem of high learning cost when generating applications, this disclosure provides an application generation method, apparatus, device and medium.
[0006] This disclosure provides an application generation method, which includes the following steps: obtaining a selection operation of a target functional component in a preset application building platform, wherein the target functional component is used to execute a corresponding application sub-function; in response to obtaining the application generation operation, determining the connection order among all selected target functional components; and connecting all selected target functional components according to the connection order to generate a target application.
[0007] This disclosure also provides an application generation apparatus, the apparatus comprising: an acquisition module, configured to acquire a selection operation of a target functional component in a preset application building platform, wherein the target functional component is used to execute a corresponding application sub-function; a determination module, configured to determine the connection order among all selected target functional components in response to acquiring the application generation operation; and a generation module, configured to connect all selected target functional components according to the connection order to generate a target application.
[0008] This disclosure also provides an electronic device, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement an application generation method as provided in this disclosure.
[0009] This disclosure provides a computer-readable storage medium storing a program for causing a processor to execute the aforementioned application generation method.
[0010] The technical solution provided in this disclosure has the following advantages compared with the prior art:
[0011] The application generation scheme provided in this disclosure involves obtaining a selection operation on target functional components in a preset application building platform. These target functional components are used to execute corresponding application sub-functions. In response to obtaining the application generation operation, the connection order between all selected target functional components is determined. Then, all selected target functional components are connected according to the connection order to generate the target application. In this technical solution, the generation of the target application can be completed simply by selecting pre-built target functional components, reducing the learning cost for users when generating the target application and improving the efficiency of target application generation. Attached Figure Description
[0012] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0013] Figure 1 A flowchart illustrating an application generation method provided in an embodiment of this disclosure;
[0014] Figure 2 This is a schematic diagram illustrating a display scenario of candidate functional component description information provided in an embodiment of this disclosure;
[0015] Figure 3 This is a schematic diagram of a functional component retrieval scenario provided by an embodiment of the present disclosure;
[0016] Figure 4 This is a schematic diagram illustrating the connection sequence between target functional components provided in an embodiment of the present disclosure;
[0017] Figure 5 A flowchart illustrating another application generation method provided in this embodiment of the disclosure;
[0018] Figure 6A schematic diagram of a target application generation process provided in an embodiment of this disclosure;
[0019] Figure 7 This is a schematic diagram of an application scenario for a target application provided in an embodiment of the present disclosure;
[0020] Figure 8 This is a schematic diagram of the structure of an application generation device provided in an embodiment of this disclosure. Detailed Implementation
[0021] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0022] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0023] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0024] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0025] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0026] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this disclosure.
[0027] This disclosure proposes a method for generating applications that can reduce learning costs. In this method, a pre-set application building platform provides functional components that can execute corresponding application sub-functions. Users only need to perform selection operations on the functional components to assemble all the selected functional components into the corresponding target application. Users do not need to have relevant technical knowledge or write code, which greatly reduces the learning cost of applications.
[0028] In order to solve the above problems, this disclosure provides an application generation method, which will be described below with reference to specific embodiments.
[0029] Figure 1 This is a flowchart illustrating an application generation method provided in an embodiment of the present disclosure. The method can be executed by an application generation device, which can be implemented in software and / or hardware, and is generally integrated into an electronic device. Figure 1 As shown, the method includes:
[0030] Step 101: Obtain the selection operation of the target functional component in the preset application building platform, wherein the target functional component is used to execute the corresponding application sub-function.
[0031] Among them, the application sub-functions can correspond to the functions of any work steps in implementing the application functions. The specific functions of the application sub-functions are related to the application scenarios. For example, in the generation scenario of digital human applications, the work steps corresponding to the application workflow include "input voice - speech recognition - obtain reply information - speech synthesis - video synthesis", etc. The application sub-functions may include "voice input function" corresponding to "input voice", "speech recognition function" corresponding to "speech recognition", "reply information generation function" corresponding to "obtain reply information", etc.
[0032] In the embodiments of this disclosure, the target application to be generated is divided into multiple application sub-functions, and the corresponding target function components are obtained at the granularity of the application sub-functions. The target function components are used to execute the corresponding application sub-functions, that is, when the target function components are running, they can run the relevant execution code to implement the application sub-functions.
[0033] In one embodiment of this disclosure, a selection operation is obtained on a target functional component in a preset application building platform. This means the user can actively select the corresponding target functional component. The preset application building platform provides a large number of candidate functional components for the user to choose from, and the user does not need to edit the execution code of the corresponding candidate sub-functions. The selection operation can be set according to the scenario requirements, including but not limited to drag operations, click operations, etc.
[0034] It should be noted that the method for selecting a target functional component in a preset application building platform differs depending on the application scenario, as shown in the following example:
[0035] In some possible examples, the candidate functional component description information of all pre-built candidate functional components is displayed in the preset application building platform. That is, the candidate functional components are displayed in a visual way in the form of candidate functional component description information. The candidate functional component description information can intuitively and concisely reflect the application sub-functions that the corresponding functional component can achieve. The display style of the candidate functional component description information can be set according to the scenario, including but not limited to: a combination of at least one of the following: color, shape, animation, pattern, etc.
[0036] For example, such as Figure 2 As shown, the candidate functional component description information includes a brief textual description of the candidate functional component. The candidate functional component description information is displayed in a rectangular box style, as shown in the reference. Figure 2 The displayed candidate functional component descriptions include "model loading component", "image input component", "video input component", "text input component", "browser access component", "text display component", etc. Based on the displayed candidate functional component descriptions, the achievable application sub-functions of each candidate functional component can be intuitively understood.
[0037] In this embodiment, in response to obtaining a selection operation on the target functional component description information in the candidate functional component description information, such as obtaining a drag operation on the rectangle where the target functional component description information is located, a selection operation on the target functional component corresponding to the target functional component description information is obtained.
[0038] In some possible examples, the default application building platform also provides a functional component search box, which can obtain the functional component search information entered by the user in the functional component search box, and then determine the target functional component that matches the entered functional component search information from all candidate functional components provided by the default application building platform.
[0039] In this example, the candidate functional component description information of each candidate functional component can be pre-set and stored. The obtained functional component retrieval information is semantically matched with the candidate functional component description information of each candidate functional component. The candidate functional component corresponding to the candidate functional component description information of the candidate functional component with the highest semantic matching degree is the target functional component.
[0040] For example, such as Figure 3As shown, the preset application building platform also provides a functional component search box. When the user-input functional component search information "get speech recognition model" is retrieved, semantic matching is performed based on the candidate functional component description information of each candidate functional component to obtain the target functional component "model loading component".
[0041] Step 102: In response to receiving the application generation operation, determine the connection order between all selected target functional components.
[0042] In embodiments of this disclosure, an application generation operation is also acquired. For example, in some possible embodiments, an application generation control may be provided, and the application generation operation is acquired when a trigger operation on the application generation control is obtained. Of course, in other possible embodiments, the application generation operation may also be other forms of operation, which will not be listed here.
[0043] In this embodiment, in response to obtaining an application generation operation, the connection order between all selected target functional components is determined. That is, the target functional component obtained through step 101 above can be one or multiple, until the application generation operation is obtained, it is considered that all target functional components for generating the target application have been selected, and the connection order between all selected target functional components is determined.
[0044] It should be noted that the method for determining the connection order among all selected target functional components differs in different application scenarios, as shown in the following example:
[0045] In some possible examples, the application workflow corresponding to the target application is obtained, wherein the application workflow includes multiple sequentially connected work steps when the target application implements the corresponding application function. The application workflow may be user-inputted. Then, the application sub-function corresponding to each work step is determined. The application sub-function corresponding to each work step may be user-inputted or output by a pre-set deep learning model based on the input work steps.
[0046] Taking the above embodiment as an example, when the work steps corresponding to the application workflow include "input voice - voice recognition - obtain reply information - voice synthesis - video synthesis", the application sub-functions may include "voice input function" corresponding to "input voice", "voice recognition function" corresponding to "voice recognition", "reply information generation function" corresponding to "obtain reply information", and so on.
[0047] Furthermore, the connection order of the target functional components corresponding to the application sub-functions is determined based on the order of the application sub-functions in the application workflow. In other words, in this embodiment, the connection order of the target functional components can be determined according to the order of the work steps corresponding to the application sub-functions implemented by the target functional components in the application workflow.
[0048] In some possible examples, the input and output information types corresponding to each target functional component can be obtained, and the connection order between the target functional components can be determined based on the input and output information types. In this connection order, the input information type of each non-first target functional component is consistent with the output information type of the previous target functional component. The information type includes one of the following: text, image, video, and audio.
[0049] In this example, the corresponding input and output information can be determined based on the execution code corresponding to each target functional component.
[0050] Continuing with the above embodiment as an example, if in the creation scenario of a digital human application, the target functional components include a "speech recognition component," a "speech response generation component," a "speech synthesis component," and a "video synthesis component," etc., where the input and output information types of the "speech recognition component" are "speech" and "text," the input and output information types of the "speech response generation component" are "text" and "text," the input and output information types of the "speech synthesis component" are "text" and "speech," and the input and output information types of the "video synthesis component" are "speech and image" and "video," then as follows: Figure 4 As shown, the determined connection order is "speech recognition component", "speech response generation component", "speech synthesis component", "video synthesis component", etc.
[0051] Step 103: Connect all selected target functional components according to the connection order to generate the target application.
[0052] In the embodiments of this disclosure, after determining the connection order of the selected target functional components, all selected target functional components are connected according to the connection order to generate the target application. That is, the target application can be generated by assembling all selected target functional components according to the connection order. The generation of the target application does not require users to write code, and the process of selecting target functional components can be presented visually, reducing the user's learning cost and improving the efficiency of target application generation.
[0053] In some possible embodiments, all target functional components corresponding to the target application and their connection relationships can be displayed intuitively in the preset application building platform.
[0054] In this process, after connecting all selected target functional components according to the connection order, the application input information obtained in the actual scenario is input into the first target functional component in the connection order. After processing the application input information, the first target functional component passes the processed information to the second target functional component in sequence. The second target functional component processes the information processed by the first target functional component and passes the processed information to the third target functional component in sequence, and so on, until the application output information output by the last target functional component is obtained.
[0055] After generating the target application, it can be packaged and sent to the user-specified client. The user can call and launch the target application at any time. Alternatively, the target application can be stored in the preset application building platform, and the user can call the target application at any time in the preset application building platform.
[0056] In one embodiment of this disclosure, after generating the target application, a call request for the target application can be obtained. In response to the call request for the target application, application input information for the target application is obtained. Then, the application input information is input into the target application, and application output information corresponding to the application input information is output through all selected target functional components.
[0057] In summary, the application generation method of this disclosure involves obtaining a selection operation on a target functional component in a preset application building platform. The target functional component is used to execute corresponding application sub-functions. In response to obtaining the application generation operation, the connection order between all selected target functional components is determined, and then all selected target functional components are connected according to the connection order to generate the target application. In this technical solution, the generation of the target application can be completed simply by selecting pre-built target functional components, reducing the learning cost for users when generating the target application and improving the efficiency of target application generation.
[0058] It should be understood that with the rapid development of large models, both open-source and closed-source large models are emerging one after another. In the process of application development, it is often necessary to use these models. In one embodiment of this disclosure, when generating the target application, the corresponding model can also be reused through the target functional components.
[0059] In one embodiment of this disclosure, such as Figure 5 As shown, before connecting all selected target functional components according to the connection order to generate the target application, the process also includes:
[0060] Step 501: Identify whether the target functional component is a model loading component.
[0061] It is understandable that the model loading component is used to load the models required when generating the target application.
[0062] In the embodiments of this disclosure, it is identified whether the target functional component is a model loading component. If it is a model loading component, it indicates that the generation of the target application requires a corresponding model.
[0063] Step 502: When the model loading component includes a model loading component, obtain the target loading model corresponding to the model loading component.
[0064] When the model loading component includes a model loading component, the target loading model corresponding to the model loading component is obtained, where the target loading model is related to the specific target application.
[0065] In some possible embodiments, in response to receiving a selection operation on the model loading component, model selection prompts corresponding to all candidate loading models in the preset application building platform can be displayed. The style of the model selection prompts can vary depending on the scenario. In this embodiment, the model selection prompts can be a list display of the model function descriptions of the candidate loading models. The model prompts can also be input prompts for model function keywords, etc.
[0066] In this implementation, the target loading model selected based on the model prompt information is obtained. For example, if the model selection prompt information displays the model function description information of the candidate loading models in a list format, the candidate loading model corresponding to the model function description information selected by the user can be obtained as the target loading model. Or, if the model prompt information is a prompt message for inputting model function keywords, the obtained model keywords can be matched with the model function description information pre-set for each candidate loading model to obtain the successfully matched target loading model.
[0067] Step 503: Obtain the preset model interface corresponding to the target loading model in the preset application building platform.
[0068] In the embodiments of this disclosure, a preset model interface corresponding to the target loading model is obtained in the preset application building platform, that is, the preset application building platform provides a preset model interface for the target loading model.
[0069] Step 504: Establish the connection between the model loading component and the preset model interface. When the model loading component is running, it calls the target loading model through the preset model interface.
[0070] In this embodiment, a connection relationship is established between the model loading component and the preset model interface. After the connection relationship is established, the target loading model is called through the preset model interface when the model loading component is running. That is, the model loading component is used to execute the function of the corresponding model.
[0071] It should be emphasized that, in the embodiments disclosed herein, the model loading component can call various open-source or closed-source models provided in the preset building platform, eliminating the need to develop corresponding functional components for each model's function, thereby further improving the application generation efficiency.
[0072] Continuing with the digital human scenario mentioned above, in some specific application scenarios, refer to... Figure 6 After the user enters the preset application building platform, multiple candidate functional components are displayed on the platform. The user drags the voice input component from among the candidate functional components onto the preset application generation interface. Then, the user drags the model loading component. After dragging the model loading component, the user selects the target loading model "speech recognition model" according to the model selection prompts corresponding to all the candidate loading models selected in the preset application building platform. Then, the user drags the model loading component. After dragging the model loading component, the user selects the target loading model "large language processing model" according to the model selection prompts corresponding to all the candidate loading models selected in the preset application building platform. After dragging the model loading component, the user selects the target loading model "speech synthesis model" according to the model selection prompts corresponding to all the candidate loading models selected in the preset application building platform. After dragging the model loading component, the user selects the target loading model "video synthesis model" according to the model selection prompts corresponding to all the candidate loading models selected in the preset application building platform.
[0073] In this embodiment, the user can also select the target loading model "Text-to-Graphic Model" by dragging the model loading component into the model loading component after dragging it in, based on the model selection prompts corresponding to all candidate loading models selected in the preset application building platform. In this embodiment, the "Text Component" dragged in by the user can also be obtained.
[0074] In this embodiment, the user drags in a model loading component. After dragging in the model loading component, the user selects the target loading model "video synthesis model" according to the model selection prompt information corresponding to all candidate loading models selected in the preset application building platform. Then, the user drags in a video playback component. After obtaining the application generation operation, the user determines the connection order between all selected target functional components and connects all selected target functional components according to the connection order to generate the target application.
[0075] Therefore, referring to Figure 7The generated digital human application can realize the functions of the digital human application based on all target functional components connected in the connection order. In this embodiment, the voice input component obtains the user's voice input and inputs the user's voice input to the model loading component. The model loading component converts the user's voice input into text through a speech recognition model, and then inputs the converted text into the next model loading component. The model loading component determines the text response information corresponding to the text through a large language processing model, and then inputs the text response information into the next model loading component. The model loading component converts the text response information into text response speech through a speech synthesis model, and then sends the text response speech to the next model loading component. The model loading component can also obtain the digital human image output by the text-to-image model. The model loading component synthesizes the digital human image obtained by the video synthesis model and the text response speech into a digital human video. Then, the video playback component directly plays the generated digital human video.
[0076] Therefore, in the embodiments of this disclosure, the target functional component can be used to execute the relevant code of pre-written executable candidate sub-functions (for example, the above-mentioned speech recognition component can obtain the relevant code for executing the speech acquisition function), or it can be used to call a pre-developed model, etc.
[0077] In summary, the application generation method of this disclosure can reuse pre-developed models through functional components. Users can reuse models without having to understand the specific implementation of each model. Users can easily combine different model services like assembling Lego bricks to quickly build target applications that meet specific needs, further reducing the learning cost of generating target applications.
[0078] To implement the above embodiments, this disclosure also proposes an application generation apparatus.
[0079] Figure 8 This is a schematic diagram of an application generation device provided in an embodiment of the present disclosure. This device can be implemented by software and / or hardware and is generally integrated into an electronic device. Figure 8 As shown, the device includes: an acquisition module 810, a determination module 820, and a generation module 830, wherein,
[0080] The acquisition module 810 is used to acquire the selection operation of the target functional component in the preset application building platform, wherein the target functional component is used to execute the corresponding application sub-function;
[0081] Module 820 is used to determine the connection order between all selected target functional components in response to receiving the application generation operation.
[0082] The generation module 830 is used to connect all selected target functional components according to the connection order to generate the target application.
[0083] In one embodiment of this disclosure, it further includes: a component loading processing module, configured to: identify whether the target functional component is a model loading component;
[0084] When the model loading component includes a model loading component, obtain the target loading model corresponding to the model loading component;
[0085] Obtain the preset model interface corresponding to the target loading model from the preset application building platform;
[0086] Establish the connection between the model loading component and the preset model interface. When the model loading component is running, it calls the target loading model through the preset model interface.
[0087] In one embodiment of this disclosure, the component loading processing module is further configured to:
[0088] In response to the selection of the model loading component, display model selection prompts corresponding to all candidate loading models in the preset application building platform;
[0089] Retrieve the target loading model selected based on the model selection prompt information.
[0090] In one embodiment of this disclosure, the acquisition module 810 is specifically used for:
[0091] Display the description information of all pre-built candidate functional components in the preset application building platform;
[0092] In response to obtaining the selection operation of the target functional component description information in the candidate functional component description information, the selection operation of the target functional component corresponding to the target functional component description information is obtained.
[0093] In one embodiment of this disclosure, the determining module 820 is specifically used for:
[0094] Obtain the application workflow corresponding to the target application, wherein the application workflow includes multiple sequentially connected work steps;
[0095] Determine the application sub-functions corresponding to each work step;
[0096] The connection order of the target functional components corresponding to the application sub-functions is determined based on the order of the application sub-functions in the application workflow.
[0097] In one embodiment of this disclosure, the determining module 820 is specifically used for:
[0098] Obtain the input and output information types for each target functional component;
[0099] The connection order between target functional components is determined based on the input information type and the output information type, wherein the input information type of each non-first target functional component in the connection order is consistent with the output information type of the previous target functional component.
[0100] In one embodiment of this disclosure, it further includes: an application execution module, configured to:
[0101] In response to a call request to the target application, obtain application input information for the target application;
[0102] Input the application input information into the target application, and output the application output information corresponding to the application input information through all selected target functional components.
[0103] The application generation apparatus provided in this disclosure can execute the application generation method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0104] It should be noted that the division of units in the embodiments of this disclosure is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.
[0105] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this disclosure.
[0106] It should be noted that the apparatus provided in this embodiment can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0107] This disclosure also provides a computer-readable storage medium storing a program for causing a processor to execute the aforementioned application's generation control method. The computer-readable storage medium can be any available medium or data storage device accessible to the processor, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0108] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, apparatus, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0109] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0110] These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the processor-readable memory produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0111] Obviously, those skilled in the art can make various modifications and variations to this disclosure without departing from its spirit and scope. Therefore, if such modifications and variations fall within the scope of the claims of this disclosure and their equivalents, this disclosure is also intended to include such modifications and variations.
Claims
1. A method for generating an application, characterized in that, Includes the following steps: Obtain a selection operation on a target functional component in a preset application building platform, wherein the target functional component is used to execute a corresponding application sub-function; In response to receiving the application generation operation, determine the connection order between all selected target functional components; Connect all selected target functional components according to the connection order to generate the target application.
2. The method as described in claim 1, characterized in that, Before connecting all selected target functional components according to the connection order to generate the target application, the method further includes: Identify whether the target functional component is a model loading component; When the model loading component includes the model loading component, the target loading model corresponding to the model loading component is obtained; Obtain the preset model interface corresponding to the target loading model from the preset application building platform; Establish a connection between the model loading component and the preset model interface, wherein, when the model loading component is running, the target loading model is called through the preset model interface.
3. The method as described in claim 2, characterized in that, The step of obtaining the target loading model corresponding to the model loading component includes: In response to receiving a selection operation for the model loading component, a model selection prompt message corresponding to all candidate loading models in the preset application building platform is displayed; Obtain the target loading model selected based on the model selection prompt information.
4. The method as described in claim 1, characterized in that, The operation of selecting a target functional component in the preset application building platform includes: The preset application building platform displays descriptions of all pre-built candidate functional components. In response to obtaining a selection operation on the target functional component description information in the candidate functional component description information, a selection operation on the target functional component corresponding to the target functional component description information is obtained.
5. The method as described in claim 1, characterized in that, Determining the connection order among all selected target functional components includes: Obtain the application workflow corresponding to the target application, wherein the application workflow includes multiple sequentially connected work steps; Determine the application sub-function corresponding to each of the aforementioned work steps; The connection order of the target functional components corresponding to the application sub-functions is determined based on the order of the application sub-functions in the application workflow.
6. The method as described in claim 1, characterized in that, Determining the connection order among all selected target functional components includes: Obtain the input information type and output information type corresponding to each of the target functional components; The connection order between the target functional components is determined based on the input information type and the output information type, wherein the input information type of each non-first target functional component in the connection order is consistent with the output information type of the previous target functional component.
7. The method according to any one of claims 1-6, characterized in that, Also includes: In response to a call request to the target application, obtain application input information for the target application; The application input information is input into the target application, and the application output information corresponding to the application input information is output through all selected target functional components.
8. An application generating apparatus, characterized in that, include: The acquisition module is used to acquire the selection operation of the target functional component in the preset application building platform, wherein the target functional component is used to execute the corresponding application sub-function; The determination module is used to determine the connection order among all selected target functional components in response to receiving the application generation operation; The generation module is used to connect all the selected target functional components according to the connection order to generate the target application.
9. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the method for generating the application as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program for performing the method of generating the application according to any one of claims 1-7.
