Application creation method and device, equipment and readable storage medium

By providing multiple application creation modes and templates on the application management platform and combining machine learning models, the problems of low efficiency and difficulty in application creation in the existing technology are solved, and efficient and high-quality application creation is achieved to meet different scenarios need.

CN119088439AInactive Publication Date: 2024-12-06BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202411133066.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-18
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult for the prior art to effectively select suitable application creation modes to improve the quality of query results, resulting in low efficiency and difficulty in application creation, and cannot meet the needs of different types of applications and scenarios.

Method used

Provide an application creation method and device. By presenting multiple application creation mode selection pages on the application management platform, providing corresponding application creation templates according to the user's selected mode, receiving configuration content and creating target applications, supporting single-function mode, Q&A functional mode and hybrid scheduling mode, using machine learning models and language models to improve the interactive capabilities of applications.

Benefits of technology

It improves the efficiency and quality of application creation, reduces the workload and difficulty, better serves end users, and meets the needs of different types of applications and scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088439A_ABST
    Figure CN119088439A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an application creation method and device, equipment and a readable storage medium. The method comprises the steps that in response to a creation request for a target application, selection for a first application creation mode in multiple application creation modes is received, and the multiple application creation modes are configured with corresponding application creation templates respectively; in response to selection of the first application creation mode, receiving configuration content for the target application based on a first application creation template corresponding to the first application creation mode; and creating the target application based on the received configuration content. The reply content which better conforms to the data resource interaction logic is generated through the process, and the interaction quality can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, apparatuses, devices, and readable storage media for application creation. Background Art

[0002] With the development of information technology, various terminal devices can provide various services to people in work and life. Applications that provide services can be deployed in terminal devices. Terminal devices present corresponding content and interact with users through the user interface of the application to meet various needs of users. In some cases, users may initiate queries within the application. Therefore, how to choose an appropriate response method to improve the quality of query results provided to users is a problem of concern. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for creating an application is provided. The method is applicable to an application execution phase, and includes: in response to a creation request for a target application, receiving a selection of a first application creation mode among multiple application creation modes, wherein the multiple application creation modes are respectively configured with respective corresponding application creation templates; in response to the selection of the first application creation mode, receiving configuration content for the target application based on the first application creation template corresponding to the first application creation mode; and creating the target application based on the received configuration content.

[0004] In a second aspect of the present disclosure, a device for application creation is provided. The device includes: a mode selection module configured to receive a selection of a first application creation mode among multiple application creation modes in response to a creation request for a target application, wherein the multiple application creation modes are respectively configured with their corresponding application creation templates; a configuration receiving module configured to receive configuration content for the target application based on a first application creation template corresponding to the first application creation mode in response to the selection of the first application creation mode; and an application creation module configured to create the target application based on the received configuration content.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the computer program is executed by a processor, the method of the first aspect is implemented.

[0007] In a fifth aspect of the present disclosure, a computer program product is provided, which includes computer executable instructions, and when the computer executable instructions are executed by a processor, the method of the first aspect is implemented.

[0008] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;

[0011] Figure 2 A schematic diagram showing an example of a mode selection page according to some embodiments of the present disclosure;

[0012] Figure 3 A schematic diagram showing an example of an application creation page for a model reasoning mode according to some embodiments of the present disclosure;

[0013] Figure 4 A schematic diagram showing an example of an application creation page for a workflow mode according to some embodiments of the present disclosure;

[0014] Figure 5 An example process of processing user input by a target application created in a single function mode according to some embodiments of the present disclosure is shown;

[0015] Figure 6 A schematic diagram showing an example of an application creation page for a question-and-answer function mode according to some embodiments of the present disclosure;

[0016] Figure 7 An example process of processing user input by a target application created in a question-and-answer function mode according to some embodiments of the present disclosure is shown;

[0017] Figure 8 A schematic diagram showing an example of an application creation page for a hybrid scheduling mode according to some embodiments of the present disclosure;

[0018] Fig. 9 An example process of processing user input by a target application created in a hybrid scheduling mode according to some embodiments of the present disclosure is shown;

[0019] Fig.10 A block diagram showing an application creation process according to some embodiments of the present disclosure;

[0020] Fig.11 A schematic structural block diagram of an application creation device according to some embodiments of the present disclosure is shown; and

[0021] Fig.12 A block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented is shown. DETAILED DESCRIPTION

[0022] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0023] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0024] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.

[0025] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0026] It is understandable that before using the technical solutions disclosed in each embodiment of the present disclosure, the types, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.

[0027] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.

[0028] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.

[0029] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0030] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multi-layer processing units. A neural network model is an example of a model based on deep learning. In this article, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", and these terms are used interchangeably in this article.

[0031] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. The environment 100 involves an application management platform 110, which can support the creation of applications and / or the running of applications. In some embodiments, the portion of the application management platform 110 that supports the creation of applications can also be referred to as an application creation portion. In some embodiments, the portion of the application management platform 110 that supports the running of applications can also be referred to as an application running portion.

[0032] like Figure 1As shown, the application creation part can provide the user 105 with an environment for creating and publishing applications. User 105 can be referred to as an application creation user or creator. In some embodiments, the application creation part can be a low-code platform that provides a collection of tools for application creation. The application creation part can support visual development of various types of applications, so that developers can skip the manual coding process and speed up the application development cycle and cost. The application creation part can support any appropriate platform for users to develop one or more types of applications, for example, it can include a platform based on Application Platform as a Service (aPaaS). Such a platform can support users to efficiently develop applications and implement operations such as application creation and application function adjustment.

[0033] The application creation part can be deployed locally on the terminal device of user 105, and / or can be supported by a server device. For example, the terminal device of user 105 can run a client of the application creation part, which can support the interaction between the user and the application creation part provided by the server. In the case where the application creation part runs locally on the user's terminal device, the user 105 can directly interact with the local application creation part using the terminal device. In the case where the application creation part runs on the server device, the server device can, based on the communication connection with the terminal device, implement service provision for the client running in the terminal device. The application creation part can present a corresponding interface 130 to the user 105 based on the operation of the user 105, so as to output and / or receive information related to application creation to the user 105.

[0034] In some embodiments, the application creation part can be associated with a corresponding database, which stores data or information required for the application creation process supported by the application creation part. For example, the database can store the code and description information corresponding to each functional module that constitutes the application. The application creation part can also perform operations such as calling, adding, deleting, and updating the functional modules in the database. The database can also store operations that can be performed on different functional blocks. Exemplarily, in a scenario where an application is to be created, the application creation part can call the corresponding functional blocks from the database to build the application.

[0035] In an embodiment of the present disclosure, the user 105 can create a target application 120 as needed on the application creation part and publish the target application 120. The target application 120 can be published to any appropriate application running part, as long as the application running part can support the operation of the target application 120. After publishing, the target application 120 can be used to be operated by one or more terminal users 145. The terminal user 145 can be referred to as the terminal user of the target application 120. In some embodiments, the target application 120 may include or be implemented as a digital assistant 122.

[0036] The digital assistant 122 may be configured to have an intelligent conversation. Figure 1 In the example shown, the digital assistant 122 can be integrated into the target application 120 as a part of the target application 120 to assist in the task processing within the target application 120. In other examples, the digital assistant 122 can be configured as an independently running application, such as a web application or other types of applications. In such an example, the digital assistant 122 and the target application 120 can be regarded as the same application. The digital assistant 122 is provided to assist users with various task processing requirements in different applications and scenarios. During the interaction with the digital assistant 122, the user inputs an interactive message, and the digital assistant 122 provides a reply message in response to the user input. Generally, the digital assistant 122 can support users to input questions in natural language, and perform tasks and provide replies based on the understanding of natural language input and logical reasoning ability.

[0037] In some embodiments, digital assistant 122 can interact with end user 145 as a contact of end user 145. For example, digital assistant 122 can be implemented in an instant messaging (IM) application. Digital assistant 122 can interact with end user 145 in a single chat session with end user 145. In some embodiments, digital assistant 122 can interact with multiple users in a group chat session including multiple users.

[0038] For each terminal user 145, the client of the application running part can present an interactive window 142 of the target application 120 or the digital assistant 122 in the client interface, such as a conversation window with the digital assistant 122. The terminal user 145 can enter a conversation message in the conversation window, and the target application 120 can determine the reply message of the digital assistant 122 based on the created configuration information and present it to the user in the interactive window 142. In some embodiments, depending on the configuration of the target application 120, the interactive message with the target application 120 may include a message in a multimodal form, such as a text message (e.g., a natural language text), a voice message, an image message, a video message, and the like.

[0039] Similar to the application creation part, the application running part can be deployed locally on the terminal device of each terminal user 145, and / or can be supported by a server device. For example, the terminal device of the terminal user 145 can run a client with an application running part, and the client can support the interaction between the user and the application running part provided by the server. In the case where the application running part runs locally on the user's terminal device, the terminal user 145 can directly use the terminal device to interact with the local application running part. In the case where the application running part runs on the server device, the server device can realize the service supply to the client running in the terminal device based on the communication connection with the terminal device. The application running part can present the corresponding application interface to the terminal user 145 based on the operation of the terminal user 145, so as to output and / or receive information related to the use of the application to the terminal user 145.

[0040] In some embodiments, the implementation of at least part of the functions of the target application 120 and / or the implementation of at least part of the functions of the digital assistant 122 in the target application 120 can be implemented based on the model. During the creation or operation of the target application 120, one or more models 155, such as the capabilities of the model 155, can be called. In the target application 120, the digital assistant 122 can use the model 155 to understand the user input and provide a reply to the user based on the output of the model 155.

[0041] During the creation process, the application management platform 110 needs to use the model 155 to determine whether the operation result of the target application 120 meets expectations when testing the target application 120. During the operation process, in response to different operation requests of the user of the target application 120, the application operation part may need to use the model 155 to determine the response result to the user.

[0042] Although shown as being independent of the application management platform 110, one or more models 155 may run on the application management platform 110, or other remote servers. In some embodiments, the model 155 may be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model may be based on a language model (LM). The language model can have question-answering capabilities by learning from a large amount of corpus. The model 155 may also be based on other appropriate models.

[0043] The application management platform 110 can run on appropriate electronic devices. The electronic devices here can be any type of device with computing capabilities, including terminal devices or server devices. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. In some embodiments, the management platform 110 can be implemented based on cloud services.

[0044] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure. Figure 1 A single user interacting with the application creation portion and a single user interacting with the application running portion are shown, but in reality multiple users can access the application management platform 110 to each create a digital assistant, and each digital assistant can be used to interact with multiple users.

[0045] As mentioned above, application creators can develop corresponding applications according to their own needs to better provide services to end users. Different scenarios have different requirements for applications. For example, some applications simply need to call the application programming interface (API) to communicate with the digital assistant, some applications have deterministic business processes based on machine learning models, and some applications require knowledge questions and answers in specific fields. However, due to the different types of services required by users, users need to develop different applications for different purposes in terminal devices. Therefore, it is expected that application creation can meet the creation needs of different types of applications and applications in different scenarios.

[0046] In an embodiment of the present disclosure, an improved solution for application creation is provided. In this solution, in response to a creation request for a target application, a selection page including multiple application creation modes is presented, and these application creation modes are respectively configured with their corresponding application creation templates. In response to detecting the selection of a first application creation mode among multiple application creation modes, a first application creation page is presented based on a first application creation template corresponding to the first application creation mode. Configuration content input for the first application creation template is received in the first application creation page. The target application is created based on the received configuration content.

[0047] According to various embodiments of the present disclosure, the creator of an application can select an application creation mode that matches the requirements, and use the application creation template in the mode to conveniently create an application. This advantageously improves the efficiency of creating a target application, and reduces the workload and difficulty of creating a target application. On the other hand, the application created in this way can better serve the end user after deployment.

[0048] Some example embodiments of the present disclosure will be described in detail below with reference to the examples of the accompanying drawings. It should be understood that the interfaces shown in the accompanying drawings are merely examples, and various interface designs may actually exist. The various graphical elements in the interface may have different arrangements and different visual representations, one or more of which may be omitted or replaced, and one or more other elements may also exist. The embodiments of the present disclosure are not limited in this respect.

[0049] The task management process described in the embodiments of the present disclosure may be implemented in an application management platform, a terminal device installed with the application management platform, and / or a server corresponding to the application management platform. In the following examples, for the sake of discussion, the description is from the perspective of the application management platform, for example Figure 1 The application management platform 110 shown. The user interface presented by the application management platform 110 can be presented via the terminal device of the end user 145, and the application management platform 110 can receive user input via the terminal device of the end user 145. In some embodiments of the present disclosure, the end user 145 is the end user of the target application 120. It should be understood that the user interface presented by the application management platform 110 can also be presented via the terminal device of the user 105, and the application management platform 110 can also receive user input via the terminal device of the user 105. In some embodiments of the present disclosure, the user 105 is the creator, manager or maintainer of the target application 120.

[0050] The following describes example embodiments of the present disclosure with continued reference to the accompanying drawings.

[0051] In response to a creation request for a target application, the application management platform 110 may support the user 105 to select from a plurality of application creation modes. The plurality of application creation modes are respectively configured with respective corresponding application creation templates. Hereinafter, the selected application creation mode may be referred to as a first application creation mode or a target application creation mode. In some embodiments, the user 105 starts the application creation process by inputting an application creation instruction. The user 105 may provide an application creation instruction by clicking an interactive button provided by the application management platform, or may start the application creation process through a text instruction.

[0052] The multiple application creation modes provided by the application management platform 110 may include any suitable type of modes.

[0053] In some embodiments, the application creation mode may include a single function mode. In the single function mode, the created target application is configured to process the user input using the configured function to obtain an application reply to the user input. The single function mode may include a single function mode based on model reasoning, also known as a model reasoning mode. Alternatively or additionally, the single function mode may include a single function mode based on a workflow, also known as a workflow mode.

[0054] In some embodiments, the application creation mode may include a question-and-answer mode, also referred to as the question-and-answer mode. In the question-and-answer mode, the created target application is configured to utilize the question-and-answer function to determine an application reply to a user input.

[0055] In some embodiments, the application creation mode may include a hybrid scheduling mode, also referred to as a hybrid mode. In the hybrid scheduling mode, multiple functions may be configured for a target application, and the created target application is configured to sequentially determine whether the user input matches one of the multiple functions in the order of the multiple functions, and use the matched function to determine an application reply to the user input.

[0056] In some embodiments, in response to the creation request, a selection interface including multiple application creation modes may be presented. The selection interface may include selection controls or selection portals corresponding to these application creation modes. By triggering the selection control or selection portal, the user 105 may select the target creation mode. Figure 2 Describe an example. Figure 2 An example of a selection interface for application creation mode according to some embodiments of the present disclosure is shown. Figure 2 As shown in the selection controls 210 - 1 , 210 - 2 , 210 - 3 , and 210 - 4 , the user 105 may select a corresponding application creation mode.

[0057] If the user 105 selects the first application creation mode, the application management platform 110 may receive the configuration content of the target application based on the first application creation template corresponding to the first application creation mode. For example, the first application creation template may be presented. The user 105 may input the configuration content by operating (e.g., modifying) the first application creation template. After the configuration content is confirmed, the application management platform 110 may create the target application based on the received configuration content.

[0058] In some embodiments, the application management platform 110 may present a first application creation page according to a processing pipeline from user input to application reply. In the page, the first application creation template is presented between the user input and the application reply. For example, the processing pipeline may include the following nodes in order: user input, application creation template, and application reply. In this way, the application management platform 110 may receive the configuration content input in the first application creation page.

[0059] Different types of application creation modes may correspond to different application creation templates. Example embodiments of application creation targets are described below with reference to the accompanying drawings.

[0060] In some embodiments, the type of the selected first application creation mode is a single function mode, such as a model reasoning mode or a pipeline mode. The application management platform 110 may provide a function configuration entry corresponding to the single function mode in the first application creation page.

[0061] As mentioned above, in some embodiments, the single-function mode may include a single-function mode recommended based on a model. Figure 3 An example of an application creation page for model inference mode is shown. Figure 3 As shown, in the application creation page, a user input node 310, an application creation template 340 for model reasoning mode, and an application reply node 320 are sequentially shown in a pipeline form. A function configuration entry 341 is displayed in the application creation template. Through the function configuration entry 341, the user 105 can select a created function (e.g., skill), edit a created function, or add a new function for configuration to the target application currently to be created.

[0062] In addition to the function configuration entry, by applying the creation template, the user 105 can also select the type of machine learning model used (e.g., specify the model name or identifier), add the called operation (e.g., such operation can be called through an external interface). The user 105 can configure or edit the prompt words provided to the machine learning model. If an operation is added, the user 105 can also write an orchestration guide, which can describe the name, capabilities, required input parameters, etc. of the one or more operations added so that the machine learning model can understand these operations.

[0063] In some embodiments, the single function mode may include a workflow-based single function mode. Figure 4 An example of an application creation page for workflow mode is shown. Figure 4As shown, in the application creation page, a user input node 310, an application creation template 410 for a workflow mode, and an application reply node 320 are sequentially shown in a pipeline form. A function configuration entry 411 and a function configuration entry 412 are displayed in the application creation template. Through the function configuration entry 411, the user 105 can specify the functions (e.g., skills) used by the workflow for configuration to the target application currently to be created. For example, the user 105 can select a created function or a new function. Through another function configuration entry 412, the user 105 can further edit the specified function.

[0064] The target application created in the single function mode is configured to process the user input by using the configured function to obtain an application reply to the user input. Figure 5 An example process 500 of processing user input by a target application created in a single-function mode is shown. It can be understood that the process 500 occurs after the target application is created and deployed.

[0065] like Figure 5 As shown, in box 510, user input in the target application is received. In box 520, a single function specified in the creation process is executed. For example, if it is a workflow mode, the user input is processed according to the function specified by the workflow. For another example, if it is a model reasoning mode, a machine learning model is used to process the user input according to the configured function. In box 530, an application response to the user input is output.

[0066] In some embodiments, the type of the selected first application creation mode is a question-and-answer function mode. The application management platform 110 can provide a function configuration entry corresponding to the question-and-answer function in the first application creation page, and receive configuration content for the question-and-answer function through the function configuration entry. Figure 6 An example of an application creation page for the question-answering function mode is shown. In the application creation page, a user input node 310, a first part 640, a second part 650 and an application reply node 320 of the application creation template for the question-answering function mode are sequentially shown in a pipeline form.

[0067] In some embodiments, the function configuration entry corresponding to the question-and-answer function may include a selection entry for a data source to be used by the question-and-answer function. The question-and-answer function is configured to determine an application response to a user input based on at least one selected data source. The question-and-answer function may utilize any suitable type of data source, including structured data and unstructured data. Figure 6 In the example of FIG. 6 , selection entry 641 is shown.

[0068] Alternatively or additionally, in some embodiments, the function configuration entry corresponding to the question-and-answer function may include a configuration entry for an alternate reply to the question-and-answer function. The question-and-answer function is configured to provide an application reply to the user input based on the configured alternate reply when data related to the user input cannot be determined from the selected data source. Figure 6 In the example, a configuration entry 651 for an alternate reply is shown. Through the configuration entry for the alternate reply, the user 105 can choose to use a fixed reply as an alternate reply to provide a fixed reply to the user input when the data related to the user input cannot be determined from the selected data source. For another example, the user 105 can choose to use a predetermined alternate function (e.g., an alternate skill) as an alternate reply to call the alternate function to respond to the user input when the data related to the user input cannot be determined from the selected data source. The alternate function may, for example, include establishing a related session for the terminal user, switching to manual service, and the like.

[0069] The target application created in the question-and-answer function mode is configured to utilize the question-and-answer function to determine an application response to a user input. Figure 7 An example process 700 of processing user input by a target application created in the question-answering function mode is shown. It can be understood that the process 700 occurs after the target application is created and deployed.

[0070] like Figure 7 As shown, at block 710, user input in the target application is received. At block 770, a question-answer library (e.g., a standard question-answer pair) may be queried to retrieve whether there is a question matching the user input. If so, an application reply is generated and output based on the answer corresponding to the question.

[0071] If no question matching the user input is retrieved, proceed to box 720. In box 720, the question-and-answer function can be called. In this example, the priority of querying the question answer library is higher than calling the question-and-answer function. But this is only an example and is not intended to be limiting. In box 730, the recall result can be obtained from the knowledge base. In box 740, it is determined whether there is relevant knowledge in the knowledge base based on the recall result. If there is relevant knowledge, process 700 proceeds to box 750. That is, a normal answer is given in this case. In box 750, an application reply is generated based on the relevant knowledge. In box 760, the application reply is presented.

[0072] If there is no relevant knowledge, process 700 proceeds to block 780. In block 780, an alternate reply is selected based on the configuration content. If the mode of the alternate reply is to perform a predetermined alternate function, then in block 791, the alternate function is performed. If the mode of the alternate reply is a fixed reply, then in block 792, the configured fixed reply is presented as an application reply.

[0073] In some embodiments, the type of the selected first application creation mode is a hybrid scheduling mode. The application management platform 110 may provide a function configuration entry corresponding to each of the multiple functions in the first application creation page. In some embodiments, the order of the multiple functions may be based on the order specified by the first application creation template. The application management platform 110 may receive configuration content for each of the multiple functions via the function configuration entry corresponding to each of the multiple functions.

[0074] In some embodiments, the configuration content input for the first application creation template may include configuration content corresponding to one or more of the multiple functions. Alternatively or additionally, the configuration content input for the first application creation template may include configuration content for the order of the multiple functions. That is, the user 105 may select the order of these functions.

[0075] Fig. 9 An example of an application creation page for a hybrid scheduling mode is shown. In the application creation page, a user input node 310, a first part 840, a second part 850, a third part 860 of an application creation template for a question-and-answer function mode, and an application reply node 320 are sequentially shown in a pipeline form.

[0076] In this example, function configuration entries 841, 842, and 851 are shown, which are used to configure the functions used by the workflow, the functions used by the machine learning model reasoning, and the data source to be used by the question-and-answer function. In addition, a configuration entry 861 for alternate replies is also shown.

[0077] The target application created in the hybrid scheduling mode is configured to sequentially determine whether the user input matches one of the multiple functions according to the order of the multiple functions, and determine an application reply to the user input using the matched function. Fig. 9 An example process 900 of processing user input by a target application created in a hybrid scheduling mode is shown. It can be understood that the process 900 occurs after the target application is created and deployed.

[0078] like Fig. 9 As shown, at block 910, user input in the target application is received. At block 920, a question-answer library (e.g., a standard question-answer pair) may be queried to retrieve whether there is a question matching the user input. If so, an application reply is generated and output based on the answer corresponding to the question.

[0079] If no question matching the user input is retrieved, proceed to block 930. At block 930, the scheduler may be started. Accordingly, at block 931, a list of functions configured in the creation is obtained. At block 932, it is determined whether a matching function is selected. If a matching function is selected, the process 900 proceeds to block 933. At block 933, the selected function is executed. If no matching function is selected, the process 900 proceeds to block 940.

[0080] In box 940, the question-and-answer function may be called. In this example, the priority of querying the question answer library is higher than the priority of hybrid scheduling, and the priority of hybrid scheduling is higher than calling the question-and-answer function. However, this is merely an example and is not intended to be limiting. In box 941, a recall result may be obtained from the knowledge base. In box 942, it is determined whether relevant knowledge exists in the knowledge base based on the recall result. If relevant knowledge exists, process 900 proceeds to box 943. That is, a normal answer is given in this case. In box 943, an application reply is generated based on the relevant knowledge. In box 944, the application reply is presented.

[0081] If there is no relevant knowledge, the process 900 proceeds to block 946. In block 946, an alternate reply is selected based on the configuration content. If the mode of the alternate reply is to perform a predetermined alternate function, then in block 947, the alternate function is performed. If the mode of the alternate reply is a fixed reply, then in block 947, the configured fixed reply is presented as the application reply.

[0082] The above describes the creation of applications in different application creation modes.

[0083] In some embodiments, at least part of the configuration content in one application creation mode can be used for the configuration content in another application creation mode. Specifically, if a selection from a first application creation mode to a second application creation mode is received, it is determined whether the configuration content entered for the first application creation template can be at least partially used for the second application creation template corresponding to the second application creation mode. If it is determined that the configuration content entered for the first application creation template can be at least partially used for the second application creation template, the configuration content for the target application is received based on the second application creation template. At least part of the configuration content in the second application creation template is determined based on the configuration content entered in the first application creation template.

[0084] As an example, if you switch from a single function mode and / or a question-and-answer function mode to a hybrid scheduling mode, at least part of the configuration content in the hybrid scheduling mode may come from the configuration content in the single function mode and / or the question-and-answer function mode. As another example, if you switch from a hybrid scheduling mode to a question-and-answer function mode, the configuration content related to the question-and-answer function in the hybrid scheduling mode may be used for the configuration content in the question-and-answer function mode. As yet another example, if you switch from the other three modes to the hybrid scheduling mode, the configuration for a single skill, workflow, or knowledge question-and-answer in the other three modes may be integrated into the hybrid scheduling mode.

[0085] In some embodiments, the application creation templates corresponding to these application creation modes may each include configurations for the opening remarks. The configured opening remarks are provided to the user, such as the terminal user 145, when the target application is started. Figure 3 , Figure 4 , Figure 6 and Figure 8 A configuration node 330 for the opening statement is shown in FIG.

[0086] Fig.10 FIG. 1 is a block diagram of an application creation process 1000 according to some embodiments of the present disclosure. The process 1000 may be implemented in Figure 1 For ease of discussion, reference will be made to the application management platform 110. Figure 1 To describe process 1000.

[0087] In block 1010, the application management platform 110 receives a selection of a first application creation mode among a plurality of application creation modes in response to a creation request for a target application. The plurality of application creation modes are respectively configured with corresponding application creation templates.

[0088] In block 1020 , in response to the selection of the first application creation mode, the application management platform 110 receives configuration content for the target application based on the first application creation template corresponding to the first application creation mode.

[0089] In block 1030 , the application management platform 110 creates a target application based on the received configuration content.

[0090] In some embodiments, receiving configuration content for the target application includes: in response to receiving a selection from the first application creation mode to the second application creation mode, determining whether the configuration content input for the first application creation template is at least partially applicable to the second application creation template corresponding to the second application creation mode; and in response to determining that the configuration content input for the first application creation template is at least partially applicable to the second application creation template, receiving the configuration content for the target application based on the second application creation template. At least part of the configuration content in the second application creation template is determined based on the configuration content input in the first application creation template.

[0091] In some embodiments, receiving configuration content for a target application includes: in response to selection of a first application creation mode, presenting a first application creation page according to a processing pipeline from user input to application reply, wherein a first application creation template is presented between the user input and the application reply; and receiving configuration content entered in the first application creation page.

[0092] In some embodiments, receiving configuration content for a target application includes: in response to the type of the first application creation mode being a single function mode, providing a function configuration entry corresponding to the type; and receiving configuration content for the configured function via the function configuration entry, wherein the created target application is configured to utilize the configured function to process user input to obtain an application response to the user input.

[0093] In some embodiments, the single-function mode includes: a single-function mode based on model reasoning, or a single-function mode based on workflow.

[0094] In some embodiments, receiving configuration content for the target application includes: in response to the type of the first application creation mode being a question-and-answer function mode, providing a function configuration entry corresponding to the question-and-answer function; and receiving configuration content for the question-and-answer function via the function configuration entry, wherein the created target application is configured to utilize the question-and-answer function to determine an application response to a user input.

[0095] In some embodiments, the function configuration entrance includes at least one of the following: a selection entrance for a data source to be used by the question-and-answer function, the question-and-answer function is configured to determine an application reply to the user input based on at least one selected data source; a configuration entrance for a backup reply of the question-and-answer function, the question-and-answer function is configured to provide an application reply to the user input based on the configured backup reply when data related to the user input cannot be determined from the selected data source.

[0096] In some embodiments, receiving configuration content for the target application includes: in response to the type of the first application creation mode being the hybrid scheduling mode, providing function configuration entries corresponding to each of the multiple functions, wherein the order of the multiple functions is based on the order specified by the first application creation template; and receiving configuration content for each of the multiple functions via the function configuration entries corresponding to each of the multiple functions. The created target application is configured to sequentially determine whether the user input matches one of the multiple functions according to the order of the multiple functions, and use the matched function to determine an application reply to the user input.

[0097] In some embodiments, receiving configuration content for each of the multiple functions includes: receiving at least one of the following: configuration content corresponding to one or more functions among the multiple functions, and configuration content for the order of the multiple functions.

[0098] In some embodiments, application creation templates corresponding to multiple application creation modes all include configurations for opening remarks, wherein the configured opening remarks are provided to the user when the target application is started.

[0099] Fig.11 A schematic structural block diagram of a data processing device 1100 according to some embodiments of the present disclosure is shown. The device 1100 may be implemented in or included in the application management platform 110, for example. Each module / component in the device 1100 may be implemented by hardware, software, firmware, or any combination thereof.

[0100] As shown in the figure, the device 1100 includes a mode selection module 1110, which is configured to receive a selection of a first application creation mode among multiple application creation modes in response to a creation request for a target application, and the multiple application creation modes are respectively configured with their corresponding application creation templates. The device 1100 also includes a configuration receiving module 1120, which is configured to receive configuration content for the target application based on the first application creation template corresponding to the first application creation mode in response to the selection of the first application creation mode. The device 1100 also includes an application creation module 1130, which is configured to create the target application based on the received configuration content.

[0101] In some embodiments, the configuration receiving module 1120 is further configured to: in response to receiving a selection from the first application creation mode to the second application creation mode, determine whether the configuration content input for the first application creation template is at least partially applicable to the second application creation template corresponding to the second application creation mode; and in response to determining that the configuration content input for the first application creation template is at least partially applicable to the second application creation template, receive the configuration content for the target application based on the second application creation template. At least part of the configuration content in the second application creation template is determined based on the configuration content input in the first application creation template.

[0102] In some embodiments, the configuration receiving module 1120 is further configured to: in response to selection of the first application creation mode, present a first application creation page according to a processing pipeline from user input to application reply, wherein a first application creation template is presented between the user input and the application reply; and receive configuration content entered in the first application creation page.

[0103] In some embodiments, the configuration receiving module 1120 is further configured to: in response to the type of the first application creation mode being a single function mode, provide a function configuration entry corresponding to the type; and receive configuration content for the configured function via the function configuration entry, wherein the created target application is configured to utilize the configured function to process user input to obtain an application response to the user input.

[0104] In some embodiments, the single-function mode includes: a single-function mode based on model reasoning, or a single-function mode based on workflow.

[0105] In some embodiments, the configuration receiving module 1120 is further configured to: in response to the type of the first application creation mode being a question-and-answer function mode, provide a function configuration entry corresponding to the question-and-answer function; and receive configuration content for the question-and-answer function via the function configuration entry, wherein the created target application is configured to utilize the question-and-answer function to determine an application response to user input.

[0106] In some embodiments, the function configuration entrance includes at least one of the following: a selection entrance for a data source to be used by the question-and-answer function, the question-and-answer function is configured to determine an application reply to the user input based on at least one selected data source; a configuration entrance for a backup reply of the question-and-answer function, the question-and-answer function is configured to provide an application reply to the user input based on the configured backup reply when data related to the user input cannot be determined from the selected data source.

[0107] In some embodiments, the configuration receiving module 1120 is further configured to: in response to the type of the first application creation mode being the hybrid scheduling mode, provide a function configuration entry corresponding to each of the multiple functions, wherein the order of the multiple functions is based on the order specified by the first application creation template; and receive configuration content for each of the multiple functions via the function configuration entry corresponding to each of the multiple functions. The created target application is configured to sequentially determine whether the user input matches one of the multiple functions according to the order of the multiple functions, and use the matched function to determine an application reply to the user input.

[0108] In some embodiments, the configuration receiving module 1120 is further configured to receive at least one of the following: configuration content corresponding to one or more functions among the multiple functions, and configuration content for the order of the multiple functions.

[0109] In some embodiments, application creation templates corresponding to multiple application creation modes all include configurations for opening remarks, wherein the configured opening remarks are provided to the user when the target application is started.

[0110] Fig.12 1 shows a block diagram of an electronic device 1200 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig.12 The electronic device 1200 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Fig.12 The electronic device 1200 shown may include or be implemented as Figure 1 Application management platform 110 or Fig.11 Device 1100.

[0111] like Fig.12 As shown, the electronic device 1200 is in the form of a general electronic device. The components of the electronic device 1200 may include, but are not limited to, one or more processors or processing units 1210, a memory 1220, a storage device 1230, one or more communication units 1240, one or more input devices 1250, and one or more output devices 1260. The processing unit 1210 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 1220. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 1200.

[0112] The electronic device 1200 typically includes a plurality of computer storage media. Such media may be any accessible media accessible to the electronic device 1200, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1220 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1230 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 1200.

[0113] The electronic device 1200 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig.12 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 1220 may include a computer program product 1225 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0114] The communication unit 1240 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 1200 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 1200 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0115] The input device 1250 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 1260 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 1200 may also communicate with one or more external devices (not shown) through the communication unit 1240 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 1200, or communicate with any device that allows the electronic device 1200 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0116] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0117] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0118] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0119] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0120] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0121] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for creating an application, comprising: In response to a creation request for a target application, receiving a selection for a first application creation mode from among a plurality of application creation modes, wherein the plurality of application creation modes are respectively configured with respective corresponding application creation templates; In response to selecting the first application creation mode, receiving configuration content for the target application based on a first application creation template corresponding to the first application creation mode; as well as The target application is created based on the received configuration content.

2. The method according to claim 1, wherein receiving configuration content for the target application comprises: In response to receiving a selection from the first application creation mode to a second application creation mode, determining whether the configuration content input for the first application creation template is at least partially applicable to a second application creation template corresponding to the second application creation mode; as well as In response to determining that at least part of the configuration content input for the first application creation template can be used for the second application creation template, configuration content for the target application is received based on the second application creation template, wherein at least part of the configuration content in the second application creation template is determined based on the configuration content input in the first application creation template.

3. The method according to claim 1, wherein receiving configuration content for the target application comprises: In response to selection of the first application creation mode, presenting the first application creation page according to a processing pipeline from user input to application reply, wherein the first application creation template is presented between the user input and the application reply; as well as Receive configuration content entered in the creation page for the first application.

4. The method according to claim 1, wherein receiving configuration content for the target application comprises: In response to the type of the first application creation mode being a single function mode, providing a function configuration entry corresponding to the type; as well as The configuration content for the configured function is received via the function configuration entry, wherein the created target application is configured to process the user input by utilizing the configured function to obtain an application reply for the user input.

5. The method according to claim 4, wherein the single function mode comprises: Single-function mode based on model-based reasoning, or Workflow-based single-function mode.

6. The method according to claim 1, wherein receiving configuration content for the target application comprises: In response to the type of the first application creation mode being a question-and-answer function mode, providing a function configuration entry corresponding to a question-and-answer function; as well as Configuration content for the question-and-answer function is received via the function configuration entry, wherein the created target application is configured to utilize the question-and-answer function to determine an application reply to the user input.

7. The method according to claim 6, wherein the function configuration entry comprises at least one of the following: a selection entry for a data source to be used by the question-and-answer function, the question-and-answer function being configured to determine an application response to a user input based on at least one selected data source; A configuration entry for an alternate reply for the question-and-answer function, wherein the question-and-answer function is configured to provide an application reply to the user input based on the configured alternate reply when data related to the user input cannot be determined from the selected data source.

8. The method according to claim 1, wherein receiving configuration content for the target application comprises: In response to the type of the first application creation mode being a hybrid scheduling mode, providing function configuration entries corresponding to a plurality of functions, wherein an order of the plurality of functions is based on an order specified by the first application creation template; as well as receiving configuration contents for each of the plurality of functions through function configuration entries corresponding to the plurality of functions, The created target application is configured to sequentially determine whether the user input matches one of the multiple functions according to the order of the multiple functions, and use the matched function to determine an application reply to the user input.

9. The method according to claim 8, wherein receiving configuration content input for the first application creation template comprises: Receive at least one of the following: For configuration content corresponding to one or more functions among the multiple functions, The configuration content for the order of the multiple functions. 10 . The method according to claim 1 , wherein the application creation templates corresponding to the plurality of application creation modes each include a configuration for an opening statement, wherein the configured opening statement is provided to the user when the target application is started.

11. A device for creating an application, comprising: a mode selection module configured to receive, in response to a creation request for a target application, a selection of a first application creation mode from among a plurality of application creation modes, wherein the plurality of application creation modes are respectively configured with respective corresponding application creation templates; a configuration receiving module configured to, in response to selection of the first application creation mode, receive configuration content for the target application based on a first application creation template corresponding to the first application creation mode; as well as The application creation module is configured to create the target application based on the received configuration content.

12. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, the instructions when executed by the at least one processing unit cause the electronic device to perform the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 10.

14. A computer program product comprising computer executable instructions, which when executed by a processor implement the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Computer messaging bot creation

    CN109313665A

  • Front-end project code generation method and device, computer equipment and storage medium

    CN114371841A

  • Method and device for creating digital assistant, equipment and storage medium

    CN118410133A

  • Service implementation method and apparatus

    US20180069769A1

Cited By

  • Method and apparatus for creating application, and device, medium and program product

    WO2026040535A1