Method and apparatus for managing application, and device and storage medium
By interacting with the digital assistant in the session window, determining the predetermined operation of the application function block, combined with the combination or adjustment of the function blocks of the application management platform, the problems of high application management difficulties and high development requirements in the prior art are solved, and user-friendly applications are realized Create and modify.
Patent Information
- Application Number
- PCT/CN2024/094315
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-24
- Filing Date
- 2024-05-20
- Publication Date
- 2024-11-28
AI Technical Summary
The existing technology has problems such as high difficulty in writing code and high workload in application management. Especially due to different programming languages and differences in code logic understanding, developers have increased the difficulty of combining and modifying functional blocks, and have proposed development capabilities. High demand.
By providing a method, users can interact with digital assistants in a session window, determine the predetermined operations of the functional blocks of the target application, and combine or adjust the functional blocks through the application management platform to create and modify the application, reducing the development capabilities The requirements allow ordinary users to manage applications as well.
This method reduces the difficulty of application management, improves user experience, allows non-professional personnel to create and modify applications, reduces the requirements for development capabilities, improves the efficiency of application management and meets user needs.
Smart Images

Figure CN2024094315_28112024_PF_FP_ABST
Abstract
Description
Method, apparatus, device and storage medium for managing applications
[0001] This application claims priority to the Chinese invention patent application entitled “Methods, devices, equipment and storage media for managing applications” filed on May 24, 2023, with application number 202310596011X, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, apparatuses, devices, and computer-readable storage media for managing applications. Background Art
[0003] With the development of computer technology, more and more applications are providing services in all aspects of work and life. Different types of applications are used to implement different functions, and different users may have different requirements for the functionality of the same type of application. In this case, users may want to build and maintain their own applications. Therefore, how to help users manage applications is important.
[0004] Summary of the Invention
[0005] In a first aspect of the present disclosure, a method for managing applications is provided. The method includes: receiving a first conversation message from a user, the first conversation message instructing the creation or modification of a target application; determining a predetermined operation for at least one functional block of the target application based at least on interaction information between the user and a digital assistant in a conversation window; and, in response to receiving a user confirmation of the predetermined operation in the conversation window, performing the predetermined operation on the at least one functional block.
[0006] In a second aspect of the present disclosure, a method for managing applications is provided. The method includes: presenting a first interface associated with one of a first mode and a second mode for application management; and presenting a second interface associated with the other of the first mode and the second mode in response to a mode switching indication, wherein in the first mode, application management operations are performed through user interaction with a digital assistant in a conversation window without an application editing interface, and in the second mode, application management operations are performed through user interaction in the application editing interface.
[0007] In a third aspect of the present disclosure, a method for managing an application is provided. The method includes: presenting a first editing interface of a target application; receiving an adjustment request for the target application in the first editing interface; and adjusting at least a portion of the target application based on a user interaction context associated with the adjustment request.
[0008] In a fourth aspect of the present disclosure, a device for managing applications is provided. The device includes: a first receiving module configured to receive a first conversation message from a user, the first conversation message instructing the creation or modification of a target application; a determining module configured to determine a predetermined operation for at least one functional block of the target application based at least on interaction information between the user and a digital assistant in a conversation window; and an executing module configured to execute the predetermined operation on the at least one functional block in response to receiving a user confirmation of the predetermined operation in the conversation window.
[0009] In a fifth aspect of the present disclosure, a device for managing applications is provided. The device includes: a first presentation module configured to present a first interface associated with one of a first mode and a second mode for application management; and a second presentation module configured to present a second interface associated with the other of the first mode and the second mode in response to a mode switching indication, wherein in the first mode, application management operations are performed through user interaction with a digital assistant in a conversation window without an application editing interface, and in the second mode, application management operations are performed through user interaction in the application editing interface.
[0010] In a sixth aspect of the present disclosure, a device for managing applications is provided. The device includes: a third presentation module configured to present a first editing interface of a target application; a second receiving module configured to receive an adjustment request for the target application in the first editing interface; and an adjustment module configured to adjust at least a portion of the target application based on a user interaction context associated with the adjustment request.
[0011] In a seventh aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first, second, or third aspect.
[0012] In an eighth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect, the second aspect, or the third aspect.
[0013] It should be understood that the content described in this summary 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
[0014] The above and other features, advantages and aspects of the 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:
[0015] FIG1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
[0016] FIG2 is a schematic diagram showing an example of an interface for receiving input information according to some embodiments of the present disclosure;
[0017] 3A to 3D respectively illustrate schematic diagrams of example conversation windows according to some embodiments of the present disclosure;
[0018] 4A to 4C are schematic diagrams respectively illustrating example editing interfaces according to some embodiments of the present disclosure;
[0019] FIG5 illustrates a flowchart of a process for managing applications according to some embodiments of the present disclosure;
[0020] FIG6 shows a flowchart of a process for managing applications according to further embodiments of the present disclosure;
[0021] FIG7 shows a flowchart of a process for managing applications according to further embodiments of the present disclosure;
[0022] FIG8 shows a block diagram of an apparatus for managing applications according to some embodiments of the present disclosure;
[0023] FIG9 shows a block diagram of an apparatus for managing applications according to other embodiments of the present disclosure;
[0024] FIG10 shows a block diagram of an apparatus for managing applications according to further embodiments of the present disclosure; and
[0025] FIG11 shows a block diagram of a device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION
[0026] The following describes embodiments of the present disclosure in more detail 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 limited to the embodiments described herein. Rather, 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 for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0027] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, i.e., "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 be included below.
[0028] Herein, unless explicitly stated otherwise, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0029] 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.
[0030] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the type, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and authorization should be obtained from relevant users 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.
[0031] 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 the software or hardware such as the electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.
[0032] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message may be sent to the relevant user in the form of a pop-up window, in which the prompt message may be presented in text form. Furthermore, the pop-up window may also include a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.
[0033] 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 comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0034] As used herein, the term "machine learning model" refers to a model that learns the relationship between inputs and outputs from training data, thereby generating corresponding outputs for a given input after training. Machine learning models can be generated using machine learning techniques. Deep learning is a machine learning algorithm that uses multiple layers of processing units to process inputs and provide corresponding outputs.
[0035] As briefly mentioned above, applications can provide people with various services. The management of applications (such as the development and creation of new applications, or the modification and editing of existing applications) is usually developed by application developers based on the functions they expect the applications to provide. For example, if an application is expected to provide the function of purchasing goods, developers can write code to implement the function of purchasing goods. Accordingly, these codes can be encapsulated to obtain applications. However, due to factors such as different programming languages and differences in understanding of code logic, there are often problems such as high difficulty in code writing and high workload. This places high demands on the development capabilities of developers who manage applications.
[0036] A traditional approach to this problem is to encapsulate the code used to implement various functions into function blocks. During application development, function blocks can be selected based on the required functionality and combined into applications. This can reduce the difficulty and workload of application development and maintenance to a certain extent. However, this traditional approach still places high demands on the developer's development capabilities. For example, developers still need to determine the function blocks required for the application and understand the differences between different function blocks, the combination logic between function blocks, and so on. Otherwise, it will be difficult to combine function blocks and modify already combined function blocks.
[0037] To this end, embodiments of the present disclosure provide a method for managing applications. According to various embodiments of the present disclosure, a user may provide a conversation message instructing the creation or modification of a target application. The user may then interact with a digital assistant in at least one round within a conversation window. The interaction information may be used to determine a predetermined operation for at least one functional block of the target application. If a user confirmation of the predetermined operation is received within the conversation window, the predetermined operation is performed on the at least one functional block.
[0038] As a result, users can manage applications, such as creating and / or modifying them, through conversations (e.g., natural language conversations). This not only reduces the difficulty of application management, but also provides applications that better meet user needs, improving the user's application management experience. In addition, this application management solution greatly reduces the requirements for development capabilities. Not only professional developers can create and modify applications, but ordinary users can also create and modify applications.
[0039] FIG1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In environment 100, an application management platform 110 can be used by a user 140 who desires to manage applications to manage applications 150. For example, functional blocks provided by application management platform 110 can be combined to create application 150. For another example, a portion of an already created application 150 can be modified, such as modifying a specific functional block. In some embodiments, application management platform 110 can also be considered an application that provides application management services.
[0040] The application management platform 110 is configured with a digital assistant 120, which can interact with a user 140 to obtain information from the user 140 and / or provide information to the user 140. For example, the application management platform 110 can provide the user 140 with a conversation window for interacting with the digital assistant 120. Accordingly, the user 140 can interact with the digital assistant in the conversation window, for example, by entering conversation messages, receiving feedback from the digital assistant regarding the conversation messages, and so on.
[0041] In an embodiment of the present disclosure, the digital assistant 120 is used to communicate with the user 140. A window for interacting with the digital assistant 120, such as a conversation window, is presented in the client interface. As an intelligent assistant, the digital assistant 120 has intelligent conversation and information processing capabilities. In the conversation window, the user enters conversation messages, and the digital assistant provides reply messages in response to the conversation messages. The client interface for presenting the conversation window may correspond to the application management platform 110 or a multifunctional collaboration platform capable of implementing application management.
[0042] The digital assistant 120 can be called or awakened by an appropriate means (e.g., a shortcut key, a button, or voice) to present a conversation window with the user 140. For example, the digital assistant 120 can be awakened or called in response to an application management request from the user 140. The conversation window may include interface elements for information interaction, such as an input box, a message list, a message bubble, and the like.
[0043] In some embodiments, the application management platform 110 can utilize a model 125 to provide application management functionality to the user 140. In some embodiments, the model 125 can be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model 125 can be based on a language model (LM). The model 125 can also be based on other appropriate models.
[0044] The model 125 can be deployed on the application management platform 110 or can be accessed by the application management platform 110. Alternatively, the application management platform 110 can communicate with the model 125 to use the model 125 to provide application management services for the user 140. For example, the application management platform 110 can send prompt word input to the model 125 based on the interaction information between the user 140 and the digital assistant 120, and obtain the processing results of the model 125. As an alternative or in addition, the digital assistant 120 itself can also be obtained based on the model 125. For example, such a digital assistant 120 can be obtained based on a natural language processing model. The digital assistant 120 can process the conversation messages input by the user 140 to obtain the needs of the user 140, such as the application that the user 140 expects to create, the functions that the application expects to be implemented, and so on. The model 125 can be configured locally on the application management platform 110 or independently of the application management platform 110 according to the needs, and the present disclosure is not intended to limit this.
[0045] In some embodiments, the application management platform 110 can be based on an Application Platform as a Service (aPaaS). aPaaS is a cloud service that provides an environment for the development and operation of software applications. aPaaS allows developers to create large-scale applications. Therefore, by utilizing the digital assistant 120, the aPaaS-based platform can further reduce the development requirements of the user 140, and can more extensively assist the user 140 in managing target applications, thereby improving the user experience.
[0046] In the environment 100, the application management platform 110 can be deployed in an electronic device, which can be any type of device with computing capabilities, including a terminal device or a server device. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device can, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like.
[0047] 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.
[0048] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0049] As a trigger for application management, the application management platform 110 receives a conversation message from user 140, also referred to as a first conversation message. The first conversation message indicates the creation or modification of a target application. This first conversation message can also be referred to as an application management request. In some embodiments, the first conversation message indicates the creation of a new application. In some embodiments, the first conversation message indicates the modification of an already created application 150 (referred to as the target application for ease of understanding). Although referred to as a "first conversation message," it should be understood that the first conversation message indicating the creation or modification of a target application can be a combination of multiple inputs from the user. In some embodiments, user input can include multimodal input, such as text input (e.g., input in the form of natural language), voice input, image input, video input, and so on. For example, a user can provide a conversation message using natural language (e.g., text and voice) or body language (e.g., gestures). In another example, a conversation message can include various media content, such as images, audio, video, links, and so on. The application management platform 110 can parse these multimodal conversation messages. The following description uses natural language as an example, but this is merely illustrative and not intended to be limiting. The embodiments described with respect to natural language are equally applicable to interactions in other modalities.
[0050] For example, if user 140 wishes to create a target application (e.g., XX application), user 140 may provide a message in natural language to application management platform 110, for example, via text or voice, to instruct application management platform 110 to create the target application. For example, the first conversation message may be "Help me build an XX system." Similarly, if user 140 wishes to modify XX application, user 140 may provide a first conversation message, such as "Help me modify an existing XX system," to instruct application management platform 110 to modify the created application.
[0051] In some embodiments, the application management platform 110 may present an input box to the user 140, along with information prompting the user 140 to create or modify an application. The input box may receive user input, such as natural language text input or natural language voice input. This facilitates the user 140 in formulating their needs based on the information and using the input box to quickly indicate their needs. Furthermore, the application management platform 110 may use the input box to obtain conversation messages from the user 140, thereby enabling interaction with the user 140.
[0052] For example, reference may be made to FIG. In the example of FIG. 2 , the application management platform 110 may provide an interface 200 . Within the interface 200 , an input box 211 is presented for the user 140 to provide natural language text input or other types of input. After entering text in the input box 211 , the user 140 may trigger a control 212 (e.g., by clicking on the control 212 ) to send the text. The interface 200 also presents prompts 213-216 , which, in different forms of expression, prompt the user 140 on how to describe the application they wish to create. For example, prompt 214 may prompt the user 140 to enter text in the form of the name of the application they wish to create (e.g., “Help me build the XX application”). Alternatively or additionally, a prompt 217 may be presented within the input box 211 to provide a more direct and intuitive prompt to the user 140. For example, the prompt 217 may be presented in a suspended manner within the input box 211 and hidden upon detection that the user 140 has entered content within the input box 211.
[0053] In some embodiments, the application management platform 110 may not be able to determine the target application that the user 140 desires to create or modify based on the initial input of the user 140. For example, the expression of the input and output is vague or broad, making it impossible for the application management platform 110 to accurately determine the specific needs for the target application. For example, the initial input provided by the user 140 is "create a social application". In this case, the application management platform 110 cannot accurately understand the user's specific needs for "social application". In this regard, the application management platform 110 can further provide inquiry information to the user 140 to determine the target application that the user 140 desires to create or modify through further interaction. For example, for "create a social application", the application management platform 110 can provide feedback to the user 140 such as "What type of social application do you want to create? Is it a content sharing type? Or an instant interaction type?" and so on. Accordingly, based on such multiple rounds of interaction, the user's needs can be refined to accurately determine the target application.
[0054] In some embodiments, the interface 200 may further include prompt information 221 for prompting the user 140 that the user is currently on the application creation platform and prompt information 222 for prompting the user 140 to check and review the subsequently generated application.
[0055] Furthermore, in embodiments of the present disclosure, the application management platform 110 may provide a digital assistant 120 for the user 140 to provide interactive services for the user 140. For example, natural language-based interaction may be provided for the user 140, allowing the application management platform 110 to complete predetermined operations according to the needs of the user 140. Based on the interaction information between the user 140 and the digital assistant 120 in the conversation window, the predetermined operation of at least one functional block of the target application may be determined.
[0056] Depending on the specific content of the first conversation message, the predetermined operation may be different. In some embodiments, when the first conversation message indicates the creation of a target application, such a predetermined operation may be combining the functional blocks that the user 140 desires to use to create the target application. This allows the user 140 to interactively create the application using the digital assistant 120. For example, if the user 140 indicates the creation of a book management application, the digital assistant 120 may interact with the user 140 to determine the functions that the user 140 needs to include in the book management application. In turn, the application management platform 110 may create a book management application with the functions desired by the user.
[0057] The digital assistant 120 can interact with the user 140 in the conversation window to obtain user input from the user 140. For example, the user 140 uses the input box in the conversation window to input the desired function, or descriptive information associated with the function, or a reply to a message from the digital assistant 120. Accordingly, the application management platform 110 can call corresponding function blocks based on the functions that the user 140 expects to be included in the target application, so as to construct the application (or provide the user 140 with the functions currently included in the library management application for modification and adjustment).
[0058] In some embodiments, during the interaction process, the application management platform 110 can utilize the digital assistant 120 to provide the user 140 with candidate function blocks associated with the target application and descriptions of the candidate function blocks. This allows the user 140 to select a function block from the candidate function blocks to implement the desired functionality. For example, after the user 140 enters a first conversation message, a reply message to the first conversation message can be presented in the conversation window with the digital assistant 120. The reply message includes a description of at least one candidate function block of the target application for the user 140 to select or confirm. The description, or descriptive information, indicates the functionality that the corresponding candidate function block can implement.
[0059] In some embodiments, the reply message includes at least one of the following: a text message including a description, or a preview of at least one candidate function block. That is, the reply message provided by the digital assistant 120 to the user 140 may be a text message describing the function block, for example, the name of the function block, the functions that can be implemented, and so on. Alternatively or additionally, the reply message may also be a preview of at least one candidate function block, for example, the presentation effect of the control corresponding to the candidate function block, the implementation process, and so on. As a result, the user 140 can more conveniently and intuitively understand the currently recommended at least one candidate function block and / or the combination result, so as to assist the user 140 in better judging whether to create the target application with the current at least one candidate function block.
[0060] Refer to the example of Figure 3A. After user 140 enters the first conversation message 311 (e.g., "Help me build a library management system") in the input box 211 of interface 200 shown in Figure 2, the interface 200 is changed to a conversation window 300A between the user and digital assistant 120, so that digital assistant 120 can continue to interact with user 140 and provide application creation services. In conversation window 300A, a reply message 315 from digital assistant 120 is presented. Reply message 315 includes candidate function blocks (corresponding to functions A, B, and C) and description information to help user 140 understand the recommended candidate function blocks and the functions that each candidate function block can implement. In some embodiments, suggestions can also be provided in reply message 315 to provide user 140 with tips and suggestions related to the reply message. For example, such suggestions may include "It is recommended that you add function D," "You can delete the above candidate functions," "If you have further needs, I hope you will tell me more specific expectations and demands, and I will help you create an application that better meets your needs," and so on.
[0061] The application management platform 110 may determine the candidate function blocks in any suitable manner. In some embodiments, the application management platform 110 may pre-associate the candidate function blocks with the scenarios used by the application. For example, for a book management application, a function block for collecting and adding book information may be pre-associated. For example, in a book management application, the functions implemented by the candidate function blocks may be an "add book" function that allows the user 140 to add new books and their related information (e.g., title, author, publication date, International Standard Book Number (ISBN)), a "search book" function that allows the user 140 to search for data by keyword and display book information, a "modify book information" function that allows the user 140 to modify the relevant information of a book, a "delete book" function that allows the user 140 to delete an existing book, a "borrowing management" function that allows the user 140 to manage the borrowing status of a book (e.g., borrowing date, return date), a "report statistics" function that allows the user 140 to generate statistical reports (e.g., inventory, borrowing rate, etc.), etc. Furthermore, after determining the target application that the user desires to create, the digital assistant 120 can quickly provide the user 140 with candidate function blocks associated with this type of application as a reply message to the first conversation message.
[0062] In some embodiments, the application management platform 110 may determine candidate functional blocks using the model 125. For example, a prompt word input for the model 125 may be generated based on the first conversation message and optional other information, and provided to the model 125. The model 125 may determine the candidate functional blocks.
[0063] Furthermore, in response to the reply message from the digital assistant 120, the user 140 may provide a second conversation message in the conversation window. In some embodiments, the second conversation message may be used to indicate an adjustment to at least one candidate function block. The adjustment to at least one candidate function block may include adding a function block different from the at least one candidate function block, deleting a function block from the at least one candidate function block, or modifying at least one of the function blocks from the at least one candidate function block. Thus, the user 140 can quickly complete the addition, modification, and deletion of candidate function blocks based on the second conversation message. For example, for a book management application, the user 140 can delete the corresponding candidate function block by sending "Delete 'Add Book' Function". The second conversation message may be entered by the user 140 in the input box, or provided by triggering a predetermined control. For example, the user 140 may provide a second conversation message "Add y function" by clicking the control 323 shown in FIG. 3A .
[0064] 3A , user 140 may provide a second conversation message “Delete Function A” in input box 330. Accordingly, a conversation window 300B is presented, displaying a second conversation message 331 (i.e., “Delete Function A”) from the user, indicating an adjustment to the candidate functional block (in this example, deleting the candidate functional block indicated by conversation reply message 312).
[0065] It should be understood that the process of user 140 adjusting the functional block using the second conversation message can also be multiple rounds. For example, after user 140 completes an adjustment, digital assistant 120 can ask user 140 whether the adjustment is complete (for example, sending a query message asking "Are you finished adjusting?"). At this time, if user 140 has completed the adjustment, they can send a message such as "Confirm" or "No more adjustments" to provide feedback that the adjustment is complete. If user 140 needs to continue adjusting, they can use a new second conversation message to adjust the functional block again.
[0066] Reference is made to conversation window 300C as an example. In conversation window 300C, a further reply message 332 from digital assistant 120 to second conversation message 331 is displayed.
[0067] The above describes example conversation messages and reply messages between user 140 and digital assistant 120. User 140 and digital assistant 120 can have multiple rounds of interaction in the conversation window. Based on the interaction information in the conversation window, application management platform 110 can determine a predetermined operation for at least one functional block of the target application.
[0068] In some embodiments, the application management platform 110 can use the model 125 to determine the predetermined operation. For example, the application management platform 110 can generate a prompt word input for the model 125 based on at least the interaction information (to facilitate the distinction from the prompt word input involved later, such prompt word input can be exemplarily referred to as the first prompt word input) and provide the first prompt word input to the model 125. The application management platform 110 can obtain an indication of the predetermined operation from the model 125. The indication of the predetermined operation can include any appropriate form of information that the application management platform 110 can use to perform the predetermined operation. For example, the indication can be text that describes the steps for performing the predetermined operation. For another example, the indication can be an intermediate language code that can be used by the application management platform 110 to implement the predetermined operation. For another example, if the operation that the application management platform can perform has a corresponding index, the indication can be the index of the predetermined operation.
[0069] Specifically, after obtaining the interactive information input by the user 140, the interactive information can be processed to determine the first prompt word input (referred to as the first prompt word for short). The first prompt word input may include the user's needs for the target application and information used to meet the needs. For example, the application management platform 110 can use the word segmentation method to process the interactive information "Help me build a book management application" to remove "help me" and obtain the prompt word "build a book management application". Further, the application management platform 110 can use the model 125 (for example, model 125) to process the "build a book management application" to obtain instructions about the predetermined operation.
[0070] In some embodiments, in order to better utilize the model 125, the digital assistant 120 can generate a first prompt word input based on the descriptive information of each of the multiple function blocks. The descriptive information of each function block includes at least a semantic description of the function of the function block. In particular, the semantic description can be in a form that can be understood by the model 125. The understandable form means that the language, format, etc. of the text meet the preset requirements of the model 125. Alternatively or additionally, the model 125 can also pre-provide the form, content and scope of the semantic description that it can understand to the application management platform 110, so that the application management platform 110 can learn the form of the semantic description that can be understood by the model 125 based on the pre-provided semantic description. Thus, the descriptive information of each function block can be processed based on this form to obtain a higher quality semantic description.
[0071] Similarly, in some embodiments, if the first conversation message indicates modification of the target application, the application management platform 110 presents the currently existing functional blocks in the target application to the user 140 in a similar manner, allowing the user 140 to adjust the functional blocks. For example, the application management platform 110 may perform at least one of the following operations based on the interactive message of the user 140 in the conversation window: removing a functional block from at least one functional block in the target application; adding a functional block from at least one functional block to the target application; or updating a functional block from at least one functional block that already exists in the target application, thereby completing the adjustment or update of the target application.
[0072] In some embodiments, a preview of at least a portion of a target application having at least one functional block can be presented in the session window. Specifically, a preview of the target application created based on the current at least one functional block (e.g., a preview of the target application's interface) can be provided in the session window to facilitate user 140's understanding of the combined effect of the currently proposed functional blocks based on the preview. This allows user 140 to more directly understand the effect of the proposed target application, assisting them in adjusting the functional blocks.
[0073] A preview of the interface may be provided based on an instruction from user 140 and / or based on the historical behavior of user 140. For example, a preview (e.g., a preview of the interface) may be presented in response to receiving a "preview" message sent by user 140 in a conversation window. As shown in conversation window 300D, user 140 may use an input box to send "preview" to obtain a preview (e.g., preview 343 and preview 344).
[0074] Alternatively or additionally, an entry control for implementing a preview may be provided in the conversation window, so that the user 140 can use the entry control to obtain a preview. For example, in conversation window 300A, the digital assistant 120 may provide a control 321 as an entry for implementing a preview, so that the user 140 can use the control 321 to obtain a preview of the interface of the target application.
[0075] In some embodiments, when user 140 is allowed to adjust candidate function blocks based on multiple rounds of interaction, a threshold number of rounds may be maintained in digital assistant 120. When user 140 reaches the threshold number of rounds based on the number of interaction rounds, a preview is presented to user 140 to assist in making better and faster decisions.
[0076] In some embodiments, the preview of the target application can be a preview of a portion of the content of the target application, such as a navigation bar, a main operation interface, etc. in the target application. Thus, while facilitating the user 140, the speed of generating the preview is improved. Alternatively or additionally, previews can be provided for each functional block included in the target application. For example, in the example of Figure 3D, a preview 343 can be provided for the state in which function B is activated, and a preview 344 can be provided for the state in which function C is activated. Thus, the user 140 can more clearly understand the state of each function in the application when it is activated.
[0077] Furthermore, user 140 can confirm the above-mentioned predetermined operation, such as confirming the creation of the target application or modifying a module of the target application. For example, user 140 can confirm the predetermined operation by sending a "Confirm" conversation message in the conversation window. Alternatively, a control for confirming the predetermined operation can be provided in the conversation window, such as the confirmation control 322 shown in Figure 3A. This allows user 140 to quickly complete the confirmation. For example, such a control 322 can be used to indicate the combination of at least one functional block to create the target application.
[0078] In addition to the above controls, more controls may be provided in the conversation window to help the user 140 to quickly input data. For example, FIG3A shows a control 324 for viewing the data model of the target application.
[0079] In an embodiment of the present disclosure, the application management platform 110 may perform a predetermined operation (e.g., creating a target application or modifying the target application) on at least one functional block in response to confirmation from the user 140. If the first conversation message indicates creation of the target application, the application management platform 110 may combine the at least one functional block confirmed by the user 140 to create the target application. If the first conversation message indicates modification of the target application, the application management platform 110 may remove one or more existing functional blocks from the target application, add one or more new functional blocks to the target application, or update one or more existing functional blocks of the target application.
[0080] Taking application creation as an example, the predetermined operation can be expressed as a domain-specific language (DSL) usable by the application management platform 110. For example, code corresponding to a function conversion module and readable by the application creation platform can be called to create a target application having at least one function block.
[0081] In order to meet the needs of different users, for example, to meet the differentiated needs of users with different development levels, the digital assistant 120 can also be configured with different usage modes, for example, a digital assistant dominant mode (also referred to as the first mode) and a digital assistant auxiliary mode (also referred to as the second mode). In an embodiment of the present disclosure, in the digital assistant dominant mode, the application management platform 110 can perform application management operations through the interaction between the user 140 and the digital assistant 120 in the session window (for example, in the interactive manner shown in the session window 300A and the session window 300B) without an application editing interface. For example, when the user 140 expresses his needs in pure natural language, the application management operation can be performed based on the understanding of the natural language provided by the user 140, such as completing the configuration and construction of the functions in the application as a whole. For example, for the digital assistant dominant mode, the target application can be created or modified only through the interaction between the digital assistant 120 and the user 140 in the form of natural language. What is described above can be regarded as the digital assistant dominant mode.
[0082] In the digital assistant assisted mode, the application management platform 110 can provide the user 140 with an application editing interface and perform application management operations through user interaction in the application editing interface. User interaction can include the content of the conversation between the user and the digital assistant 120 (for example, natural language, media content, links, etc.) and the interaction between the user and the interface elements. That is, in the digital assistant assisted mode, the user 140 can be allowed to express his or her needs through a variety of interactive methods. For example, the user 140 can choose to edit the target application by dragging and dropping interface elements, or provide natural language input to edit the target application. The user 140 can choose which interactive method to use to complete the editing based on his or her own habits, preferences, or specific editing operations. For example, some editing operations are more convenient through interaction with interface elements (for example, dragging and dropping), while some editing operations are more convenient to express in natural language. In addition, in the digital assistant assisted mode, a visual application editing interface is provided to the user 140, and the user 140 can make more detailed adjustments to the content included in the function block (for example, adjusting the display parameters, color, element shape, etc. in the function block). In this way, when the overall framework of the application has been created, detailed adjustments to the application can be completed more conveniently and efficiently in the digital assistant assisted mode.
[0083] It should be understood that user 140 can use the digital assistant dominant mode alone to complete the creation or modification of the target application after indicating the target application based on the first conversation message. User 140 can also use the digital assistant auxiliary mode to further edit the function block after creating or modifying the target application using the digital assistant dominant mode, and use the edited function block to complete the final target application. For example, user 140 can use the digital assistant auxiliary mode alone (for example, directly click on the control 325 to enter the digital assistant auxiliary mode) to select and edit the function block. Alternatively or additionally, a control for entering and triggering the digital assistant auxiliary mode can also be provided for user 140 to select (for example, the control 325 shown in the conversation window 300A). Alternatively or additionally, a mode that is more suitable for the current user can be provided first based on the user's profile (for example, application development capabilities or preferences).
[0084] In the digital assistant auxiliary mode, an interface for editing a created target application can be presented. If an adjustment request for at least a part of the target application is received in the editing interface (for example, expressed in natural language), at least a part can be adjusted. In the case where the target application has been created, using information related to the target application can help the model 125 to more accurately determine the adjustment operation to be performed. To this end, in some embodiments, a second prompt word input for the model 125 can be generated based on the adjustment request and the information related to the target application. As an example, the information related to the target application can include descriptive information of the functional blocks created by the target application, such as functional parameters, display parameters, colors, element shapes, etc. of the functional blocks. Further, the second prompt word input can be provided to the model 125, and the model 125 determines the adjustment operation to be performed based on the second prompt word input. The application management platform 110 obtains an indication of the adjustment operation from the model 125 and performs the adjustment operation on at least a part of the target application.
[0085] Furthermore, the switching between the digital assistant dominant mode and the digital assistant assisted mode can be achieved in a variety of ways. In some embodiments, the switching can be active by the application management platform 110. The application management platform 110 can switch to the digital assistant assisted mode when the predetermined operation is completed. That is, an editing interface can be provided that allows the user 140 to edit the target application in a more fine-grained manner. For example, in the case of application creation, after completing the predetermined operation of application creation, or after the target application has been created, the application management platform 110 can present an interface for editing the interface to the user 140 to assist the user 140 in further editing the target application.
[0086] In some embodiments, the switching may be in response to a trigger from the user 140. For example, after completing the creation of the target application, if the user 140 desires to further adjust the target application, the user 140 may enter an adjustment instruction (e.g., "adjust") in the input box and / or utilize the illustrated control 325 to enter the digital assistant assistance mode to adjust the target application.
[0087] Alternatively or additionally, in some embodiments, the switching can be implemented in response to a preset condition being met. For example, the digital assistant dominant mode can be switched to the digital assistant auxiliary mode when the interaction between the user 140 and the digital assistant 120 in the conversation window meets the preset conditions (for example, the number of interaction rounds reaches a preset threshold number of rounds). Thus, the digital assistant auxiliary mode is intervened according to the usage of the user 140 to better provide services to the user 140. Similarly, in the case of "modifying" the target application, the above-mentioned editing interface can also be provided when the predetermined operation for "modification" is completed, and the description will not be repeated here.
[0088] In some embodiments, a conversation window between the user 140 and the digital assistant 120 can be provided in the editing interface, and the conversation window can include an input box for obtaining the input of the user 140, so that the user 140 can also complete the adjustment based on the interaction. Furthermore, at least a part of the target application can be adjusted according to an adjustment request for at least a part of the target application in the editing interface (for example, expressed in natural language). For example, part of the content in a certain functional block can be adjusted. As a result, application creation and customization services can be provided to the user 140 in a more fine-grained manner. In some embodiments, at least a part of the target application can be adjusted based on the user interaction context associated with the adjustment request. The user interaction context can indicate whether the adjustment request is made for one or more specific parts of the target application. For example, the user interaction context can include whether a specific part is selected when the adjustment request is received.
[0089] For example, interface 400A and subsequent interfaces 400B and 400C can all be presented to user 140 as editing interfaces. When user 140 desires to adjust a target application, digital assistant 120 can change from presenting session window 300D to presenting interface 400A. Interface 400A can be divided into at least three areas, such as area 410 for presenting adjustment content associated with a function block, area 420 for presenting the target application, and a session window 430 for interacting with user 140. Alternatively or additionally, session window 430 can be presented as a floating window, allowing user 430 to adjust the presentation position of session window 430 as needed. In area 410, multiple sub-areas 412-414 can be configured in association with the function block to present content that can be adjusted for the function block. In area 410, a navigation area 411 can also be presented to provide, for example, a search function for the function block, thereby facilitating user 140's ability to find the desired function block and more conveniently complete configuration. Furthermore, an input box 431 is presented in the conversation window 430, so that the user 140 can use the input box 431 to input an adjustment request (for example, to change "X" in function B to "XX"). Furthermore, the digital assistant 120 adjusts "X" in function B to "XX" based on the adjustment request.
[0090] In some embodiments, to facilitate editing by user 140, user 140 may be allowed to select the portion that he or she wishes to adjust, and provide an adjustment request (e.g., in natural language) when the portion is selected. For example, user 140 may indicate the portion that he or she wishes to adjust in the editing interface by, for example, clicking or selecting a box. Accordingly, the application management platform 110 may determine the target portion of the target application to be adjusted based on such user interaction context and make the adjustment. For example, when user 140 selects a portion of the target application by clicking or selecting a box, the requirements for the completeness of the content entered by user 140 in input box 431 may be relaxed. For example, for "X" in function B, after it is selected by user 140, user 140 may enter "change to 'XX'" without having to fully enter "change 'X' in function B to 'XX'". This makes it easier for user 140 to perform editing operations. It should be understood that clicking or selecting a box allows user 140 to select multiple modified portions or elements at the same time. For example, the user 140 may select function B and function C to indicate adjustment of function B and function C as a whole.
[0091] Accordingly, when a selected portion exists, an adjustment operation can be determined based on information related to the selected portion and the adjustment request, and the adjustment operation can be performed on the selected portion. For example, the prompt word input of model 125 can be determined based on information related to the selected portion and the adjustment request, thereby obtaining the adjustment operation determined by model 125. This allows for faster identification and association of the portion requiring adjustment and the adjustment content, improving adjustment efficiency for the target application.
[0092] In some embodiments, in order to facilitate user 140 to edit, for example, in order to enable user 140 to understand the modified content more clearly and indicate the modified content more quickly, the layout of the editing interface can be adjusted so that more content can be presented in the editing interface. The digital assistant 120 can also present an interface for providing an adjustment request in the editing interface at a position associated with at least a portion. For example, in the case where user 140 selects a first part, a natural language input interface can be provided in association with the first part selected. Specifically, the digital assistant 120 can present an interface for obtaining an adjustment request (e.g., an input box) at a position associated with the content presented in the target application. For example, if user 140 selects a certain part, a natural language interface can be presented in association with the part for user 140 to provide its adjustment request. For another example, the natural language interface can be folded, and if user 140 selects the part, the natural language interface can be expanded for user 140 to input.
[0093] Continuing with the above example, for "X" under Function B, the digital assistant 120 can, when determining that the user 140 desires to adjust "X" under Function B (for example, placing the operating pointer at the position of "X" under Function B), provide an interface for natural language input in association with the position of "X" under Function B (for example, presenting the interface at a preset distance from the position of "X" under Function B) to facilitate use by the user 140. Alternatively or additionally, it is also possible to determine whether to provide the user 140 with an interface for obtaining natural language input (for example, providing the interface after the hovering time exceeds the time threshold) by determining whether the time the pointer hovers at a specific position (for example, the position of "X" under Function B) exceeds a time threshold.
[0094] For example, with reference to FIG4B , when the pointer 441 indicates the position of the “X” under Function B, the digital assistant 120 may present a conversation window 440 including an input box 445 or only the input box 445 at a position associated with the “X” under Function B. After the user 140 provides an adjustment request (e.g., expressed in natural language) using the input box 445 as an interface, the application management platform 110 adjusts the “X” under Function B based on the content entered in the input box 445.
[0095] In this embodiment, the user interaction context is that the interface receiving the adjustment request is associated with a certain part of the target application. Accordingly, an adjustment operation can be determined based on information related to the part and the adjustment request, and the adjustment operation can be performed on the part.
[0096] In some embodiments, user 140 does not select a specific part of the target application. For example, user 140 invokes the conversation window of digital assistant 120 based on the assistant invocation control and interacts directly based on the conversation window. In this case, user 140 does not indicate a part of the target application through prior interaction. The part of the target application that user 140 desires to adjust (for ease of understanding, illustratively referred to as the second part) and the adjustment operation can be determined based on information related to the target application and the adjustment request. Accordingly, the adjustment operation is performed on the second part.
[0097] In some embodiments, the second portion that user 140 desires to adjust may not be displayed in the current editing interface. In this case, another editing interface may be presented, displaying the second portion. This allows user 140 to intuitively understand the content of the adjusted portion and the adjustment results based on the editing interface, assisting user 140 in better completing the adjustment of the target application. Furthermore, user 140 does not need to provide an instruction to switch editing interfaces.
[0098] In some embodiments, the application management platform 110 may also receive a user instruction to abandon at least a portion of the adjustment (also referred to as a abandon instruction), and respond to the user instruction by restoring the target application to the version before the adjustment. For example, after viewing the effect after the adjustment, the user 140 may think that the effect before the adjustment is better. In this case, the user 140 can instruct the application management platform 110 to abandon the previously made adjustments through interaction with the digital assistant.
[0099] Such a discard instruction can be provided in a variety of suitable ways. For example, user 140 can provide the discard instruction in natural language in the conversation window with the digital assistant. For example, reference can be made to FIG4C . In interface 400C shown in FIG4C , after providing adjustment request 451 using input box 431 , user 140 can again use input box 431 to input "discard the above adjustment."
[0100] In some embodiments, a control may be provided to the user so that the user 140 can conveniently give an indication of abandonment. For example, after the adjustment request for the user 140 is completed, the digital assistant 120 may provide the user 140 with a session message to indicate that the adjustment has been completed for the part that the user 140 desires to adjust. Furthermore, a control for abandoning the adjustment may be presented at a location associated with the session message. If the user triggers (e.g., clicks) the control, the target application may be restored to the version before the adjustment. In this way, the user 140 can quickly abandon the relevant adjustments based on the triggering of the control. Thus, it is more convenient for the user 140 to implement adjustments in the target application. For example, with continued reference to FIG4C , the digital assistant 120 returns a session message 452 for the adjustment request 451. A control 453 may be presented together in the session message 452 so that the user 140 may indicate abandonment of the adjustment by triggering the control 453.
[0101] In some embodiments, the user 140 may be allowed to close the conversation window with the digital assistant 120 as needed. If a close operation is received for the conversation window, the conversation window may stop being displayed in the editing interface. This allows the user to focus on reviewing the application. At the same time, a control for reopening the conversation window is presented in the editing interface so that the user can continue to provide adjustment requests when needed. For example, an assistant call-up control may be displayed at any suitable location in the interface 400A. The conversation window 430 may be presented when the assistant call-up control is triggered by the user 140. Accordingly, when the user 140 triggers the close control, the conversation window 430 may be closed, and the assistant call-up control may be presented again for the user 140 to continue to select presentation and close the conversation window 430 as needed.
[0102] In addition, in some embodiments, the user 140 can also enter the editing interface to edit and obtain the target application by, for example, clicking the control 325. The editing method is similar to the adjustment method for the existing target application and will not be repeated here.
[0103] Alternatively or additionally, a control 442 for instructing to recreate an application may be provided in the editing interface. Control 442 may be triggered (e.g., clicked) by user 140 to instruct to recreate the currently generated target application or to start the creation of another target application (e.g., such a control 442 may be used to instruct the digital assistant to delete the current target application and recreate it).
[0104] In some embodiments, if user 140 input to abandon the created target application is received (for example, user 140 clicks on control 442), the editing interface (for example, interface 400A) can be changed to the interface 200 of the above example or the conversation window between user 140 and digital assistant 120 to recreate the application or other applications. For example, a conversation message related to application creation from user 140 (for example, recreating the current application, or creating other applications, etc.) can be received in the conversation window in the interface after the jump, and the operation determined based on the conversation message can be completed. In this way, user 140 can abandon the generated application as a whole based on needs, thereby improving the operating efficiency of user 140. As an alternative or in addition, in the case of modifying the target application, user 140 can similarly be allowed to abandon the modification of the target application, that is, not to adjust the existing functional blocks of the target application.
[0105] The digital assistant assisted mode provides users with more flexible options. Users can decide whether to use natural language dialogue or traditional methods (such as dragging and selecting the elements to be adjusted) to complete the adjustment based on their personal operating habits or specific adjustment operations.
[0106] FIG5 shows a flow chart of a process 500 for managing applications according to some embodiments of the present disclosure. The process 500 may be implemented at the application management platform 110. The process 500 is described below with reference to FIG1.
[0107] In block 510 , a first conversation message is received from a user. In an embodiment of the present disclosure, the first conversation message indicates creating or modifying a target application.
[0108] In block 520 , a predetermined operation for at least one functional block of the target application is determined based at least on interaction information between the user and the digital assistant in the conversation window.
[0109] In block 530 , in response to receiving a user confirmation for the predetermined operation in the conversation window, a predetermined operation is performed on at least one function block.
[0110] In some embodiments, the interaction information includes at least: a reply message of the digital assistant to the first conversation message presented in the conversation window, the reply message including a description of at least one candidate functional block of the target application; and a second conversation message received from the user in the conversation window.
[0111] In some embodiments, the second conversation message indicates: an adjustment of at least one candidate functional block, a confirmation of the reply message, or a negation of the reply message.
[0112] In some embodiments, adjusting the at least one candidate functional block includes at least one of the following: adding a functional block different from the at least one candidate functional block, deleting a functional block from the at least one candidate functional block, or modifying a functional block from the at least one candidate functional block.
[0113] In some embodiments, the reply message includes at least one of: a text message including a description, or a preview of at least one candidate functional block.
[0114] In some embodiments, determining the predetermined operation includes: generating a first cue word input for the model based at least on the interaction information; providing the first cue word input to the model; and obtaining an indication of the predetermined operation from the model.
[0115] In some embodiments, the first prompt word input is further generated based on respective description information of a plurality of functional blocks, and the description information of each functional block at least includes a semantic description of the function of the functional block.
[0116] In some embodiments, process 500 further includes presenting a preview of at least a portion of the target application having the at least one functional block in the session window.
[0117] In some embodiments, process 500 further includes: presenting an interface for editing the created target application; and in response to receiving an adjustment request for at least a portion of the target application in the interface, adjusting the at least a portion.
[0118] In some embodiments, presenting the interface is in response to at least one of: a triggering operation from the user to switch to the interface, completion of a predetermined operation, or the interaction between the user and the digital assistant in the conversation window meeting a preset condition.
[0119] In some embodiments, process 500 further includes: in response to receiving user input to abandon the created target application, presenting a session window to replace the interface.
[0120] In some embodiments, process 500 further includes: presenting an interface for providing an adjustment request at a location associated with the at least one portion in the interface; and receiving the adjustment request via the interface.
[0121] In some embodiments, adjusting at least a portion includes: generating a second prompt word input for the model based on the adjustment request and information related to the target application; providing the second prompt word input to the model; obtaining an indication of an adjustment operation from the model; and performing the adjustment operation on at least a portion.
[0122] In some embodiments, receiving the user input includes: presenting an input box for the user to provide text and information prompting the user to create an application; and receiving the user input via the input box.
[0123] In some embodiments, the first conversation message indicates creating a target application, and performing a predetermined operation on the at least one functional block includes: combining the at least one functional block to create the target application.
[0124] In some embodiments, the first session message indicates modification of the target application, and performing the predetermined operation on the at least one functional block includes at least one of the following: removing a functional block from the at least one functional block from the target application, adding a functional block from the at least one functional block to the target application, or updating a functional block from the at least one functional block that already exists in the target application.
[0125] In some embodiments, the digital assistant is provided by an aPaaS-based platform.
[0126] 6 shows a flowchart of a process 600 for managing applications according to some other embodiments of the present disclosure. The process 600 may be implemented at the application management platform 110. The process 600 is described below with reference to FIG1.
[0127] Block 610 , presenting a first interface associated with one of a first mode and a second mode for application management.
[0128] In response to the mode switching indication, present a second interface associated with the other of the first mode and the second mode at block 620. In an embodiment of the present disclosure, in the first mode, application management operations are performed through user interaction with the digital assistant in the conversation window without the application editing interface, and in the second mode, application management operations are performed through user interaction in the application editing interface.
[0129] In some embodiments, the first interface is associated with the first mode, and the mode switching indication includes: a trigger operation from the user to switch to the second mode, completion of a predetermined operation for at least one functional block of the target application, or the interaction between the user and the digital assistant in the conversation window meets preset conditions.
[0130] In some embodiments, the first interface is associated with the second mode, and the mode switching indication includes: a trigger operation from the user to switch to the first mode, a user input indicating abandoning an already created application, or a user input indicating creating a new application.
[0131] 7 shows a flowchart of a process 700 for managing applications according to further embodiments of the present disclosure. The process 700 may be implemented at the application management platform 110. The process 700 is described below with reference to FIG1.
[0132] In block 710 , a first editing interface of a target application is presented.
[0133] In block 720 , an adjustment request for a target application is received in a first editing interface.
[0134] At block 730 , at least a portion of the target application is adjusted based on the user interaction context associated with the adjustment request.
[0135] In some embodiments, adjusting at least a portion includes: in response to the user interaction context indicating that a first portion of the target application is selected, determining a first adjustment operation based on information related to the first portion and the adjustment request; and performing the first adjustment operation on the first portion.
[0136] In some embodiments, the user interaction context includes at least one of: receiving the adjustment request while the first portion is selected, or receiving the adjustment request via an interface presented at a location associated with the first portion.
[0137] In some embodiments, adjusting at least a portion includes: in response to the user interaction context indicating that a specific portion of the target application is not selected, determining a second portion of the target application and a second adjustment operation based on information related to the target application and the adjustment request; and performing the second adjustment operation on the second portion.
[0138] In some embodiments, the second portion is a portion of the target application that is not displayed in the editing interface, and the method further includes: presenting a second editing interface of the target application, wherein the second portion is displayed in the second editing interface.
[0139] In some embodiments, process 700 further includes receiving a user indication to abandon the adjustment to the at least part; and in response to the user indication, restoring the target application to a version before the adjustment.
[0140] In some embodiments, receiving a user indication includes: presenting a conversation message from the digital assistant, the conversation message indicating that an adjustment to at least a portion has been completed; presenting a control for abandoning the adjustment at a location associated with the conversation message; and receiving a trigger operation on the control.
[0141] In some embodiments, a conversation window for the digital assistant is displayed in the first editing interface, and the method further includes: stopping displaying the conversation window in the first editing interface in response to a closing operation on the conversation window; and displaying a control for reopening the conversation window in the first editing interface.
[0142] In some embodiments, adjusting at least a portion includes: generating a prompt word input for a model based on the adjustment request and information related to the target application; providing the prompt word input to the model; obtaining an indication of an adjustment operation from the model; and performing the adjustment operation on at least a portion.
[0143] 8 shows a schematic structural block diagram of an apparatus 800 for managing applications according to certain embodiments of the present disclosure. Apparatus 800 may be implemented as or included in application management platform 110. Each module / component in apparatus 800 may be implemented by hardware, software, firmware, or any combination thereof.
[0144] As shown, apparatus 800 includes a first receiving module 810 configured to receive a first conversation message from a user, the first conversation message instructing the creation or modification of a target application. Apparatus 800 also includes a determining module 820 configured to determine a predetermined operation for at least one functional block of the target application based at least on interaction information between the user and the digital assistant in a conversation window. Apparatus 800 also includes an executing module 830 configured to execute the predetermined operation on the at least one functional block in response to receiving a user confirmation of the predetermined operation in the conversation window.
[0145] In some embodiments, the interaction information includes at least: a reply message of the digital assistant to the first conversation message presented in the conversation window, the reply message including a description of at least one candidate functional block of the target application; and a second conversation message received from the user in the conversation window.
[0146] In some embodiments, the second conversation message indicates: an adjustment of at least one candidate functional block, a confirmation of the reply message, or a negation of the reply message.
[0147] In some embodiments, adjusting the at least one candidate functional block includes at least one of the following: adding a functional block different from the at least one candidate functional block, deleting a functional block from the at least one candidate functional block, or modifying a functional block from the at least one candidate functional block.
[0148] In some embodiments, the reply message includes at least one of: a text message including a description, or a preview of at least one candidate functional block.
[0149] In some embodiments, the determination module 820 is further configured to: generate a first prompt word input for the model based on at least the interaction information; provide the first prompt word input to the model; and obtain an indication of a predetermined operation from the model.
[0150] In some embodiments, the first prompt word input is further generated based on respective description information of a plurality of functional blocks, and the description information of each functional block at least includes a semantic description of the function of the functional block.
[0151] In some embodiments, the apparatus 800 further includes: a preview module configured to present a preview of at least a portion of the target application having at least one functional block in the session window.
[0152] In some embodiments, the apparatus 800 further includes: a second adjustment module configured to present an interface for editing the created target application; and adjust at least a portion in response to receiving an adjustment request for at least a portion of the target application in the interface.
[0153] In some embodiments, presenting the interface is in response to at least one of: a triggering operation from the user to switch to the interface, completion of a predetermined operation, or the interaction between the user and the digital assistant in the conversation window meeting a preset condition.
[0154] In some embodiments, the system further includes: a replacement module configured to present a session window as a replacement interface in response to receiving a user input for abandoning the created target application.
[0155] In some embodiments, the method further includes: an interface module configured to present an interface for providing an adjustment request at a location associated with at least one portion in the interface; and receive the adjustment request via the interface.
[0156] In some embodiments, the second adjustment module is further configured to: generate a second prompt word input for the model based on the adjustment request and information related to the target application; provide the second prompt word input to the model; obtain an indication of an adjustment operation from the model; and perform the adjustment operation on at least a portion.
[0157] In some embodiments, the interface module is further configured to: present an input box for the user to provide text and information prompting the user to create an application; and receive user input via the input box.
[0158] In some embodiments, the first conversation message indicates creating a target application, and performing a predetermined operation on at least one functional block in the execution module 830 includes: combining at least one functional block to create the target application.
[0159] In some embodiments, the first session message indicates modification of the target application, and performing the predetermined operation on the at least one functional block includes at least one of the following: removing a functional block from the at least one functional block from the target application, adding a functional block from the at least one functional block to the target application, or updating a functional block from the at least one functional block that already exists in the target application.
[0160] In some embodiments, the digital assistant is provided by an aPaaS-based platform.
[0161] 9 shows a schematic structural block diagram of an apparatus 900 for managing applications according to certain embodiments of the present disclosure. Apparatus 900 may be implemented as or included in application management platform 110. Each module / component in apparatus 900 may be implemented by hardware, software, firmware, or any combination thereof.
[0162] As shown, the apparatus 900 includes a first presentation module 910 configured to present a first interface associated with one of a first mode and a second mode for application management. The apparatus 900 also includes a second presentation module 920 configured to present a second interface associated with the other of the first mode and the second mode in response to a mode switching indication, wherein in the first mode, application management operations are performed through user interaction with the digital assistant in the conversation window without an application editing interface, and in the second mode, application management operations are performed through user interaction in the application editing interface.
[0163] In some embodiments, the first interface is associated with the first mode, and the mode switching indication includes: a trigger operation from the user to switch to the second mode, completion of a predetermined operation for at least one functional block of the target application, or the interaction between the user and the digital assistant in the conversation window meets preset conditions.
[0164] In some embodiments, the first interface is associated with the second mode, and the mode switching indication includes: a trigger operation from the user to switch to the first mode, a user input indicating abandoning an already created application, or a user input indicating creating a new application.
[0165] 10 shows a schematic structural block diagram of an apparatus 1000 for managing applications according to certain embodiments of the present disclosure. Apparatus 1000 may be implemented as or included in an application management platform 110. Each module / component in apparatus 1000 may be implemented by hardware, software, firmware, or any combination thereof.
[0166] As shown, apparatus 1000 includes a third presentation module 1010 configured to present a first editing interface of a target application. Apparatus 1000 also includes a second receiving module 1020 configured to receive an adjustment request for the target application in the first editing interface. Apparatus 1000 also includes a first adjustment module 1030 configured to adjust at least a portion of the target application based on a user interaction context associated with the adjustment request.
[0167] In some embodiments, the first adjustment module 1030 is further configured to: determine a first adjustment operation based on information related to the first part and the adjustment request in response to the user interaction context indicating that the first part of the target application is selected; and perform the first adjustment operation on the first part.
[0168] In some embodiments, the user interaction context includes at least one of: receiving the adjustment request while the first portion is selected, or receiving the adjustment request via an interface presented at a location associated with the first portion.
[0169] In some embodiments, the first adjustment module 1030 is further configured to: in response to the user interaction context indicating that a specific portion of the target application is not selected, determine a second portion of the target application and a second adjustment operation based on information related to the target application and the adjustment request; and perform the second adjustment operation on the second portion.
[0170] In some embodiments, the second part is a part of the target application that is not displayed in the editing interface, and the device 1000 also includes a fourth presentation module configured to present a second editing interface of the target application, wherein the second part is displayed in the second editing interface.
[0171] In some embodiments, the apparatus 1000 further includes: a restoration module configured to receive a user instruction to abandon the adjustment of at least a portion; and restore the target application to a version before the adjustment in response to the user instruction.
[0172] In some embodiments, the recovery module is further configured to: present a conversation message from the digital assistant, the conversation message indicating that the adjustment of at least a portion has been completed; present a control for abandoning the adjustment at a location associated with the conversation message; and receive a trigger operation on the control.
[0173] In some embodiments, a conversation window for the digital assistant is displayed in the first editing interface, and the device 1000 further includes: a redisplay module configured to stop displaying the conversation window in the first editing interface in response to a closing operation on the conversation window; and display a control for reopening the conversation window in the first editing interface.
[0174] In some embodiments, the first adjustment module 1030 is further configured to: generate a prompt word input for the model based on the adjustment request and information related to the target application; provide the prompt word input to the model; obtain an indication of the adjustment operation from the model; and perform the adjustment operation on at least a portion.
[0175] FIG11 is a block diagram illustrating an electronic device 1100 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 1100 shown in FIG11 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 1100 shown in FIG11 can be used to implement the application management platform 110 of FIG1 .
[0176] As shown in FIG11 , electronic device 1100 is a general-purpose electronic device. Components of electronic device 1100 may include, but are not limited to, one or more processors or processing units 1110, memory 1120, storage device 1130, one or more communication units 1140, one or more input devices 1150, and one or more output devices 1160. Processing unit 1110 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 1120. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 1100.
[0177] The electronic device 1100 typically includes a plurality of computer storage media. Such media can be any accessible media that can be obtained by the electronic device 1100, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1120 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1130 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data and can be accessed within the electronic device 1100.
[0178] The electronic device 1100 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 11 , a disk drive for reading from or writing to a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 1120 may include a computer program product 1125 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
[0179] The communication unit 1140 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 1100 can be implemented as a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 1100 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or other network nodes.
[0180] Input device 1150 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 1160 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 1100 may also communicate with one or more external devices (not shown) via communication unit 1140 as needed, such as storage devices, display devices, or the like, with one or more devices that allow a user to interact with electronic device 1100, or with any device that allows electronic device 1100 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).
[0181] 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.
[0182] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0183] 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, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0184] 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, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0185] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the 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.
[0186] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for managing an application, comprising: receiving a first conversation message from a user, wherein the first conversation message indicates creating or modifying a target application; Determining a predetermined operation for at least one functional block of the target application based at least on interaction information between the user and the digital assistant in the conversation window; as well as In response to receiving a confirmation of the user for the predetermined operation in the conversation window, the predetermined operation is performed on the at least one function block.
2. The method according to claim 1, wherein the interaction information at least comprises: a reply message of the digital assistant to the first conversation message presented in the conversation window, the reply message including a description of at least one candidate functional block of the target application; as well as A second conversation message from the user received in the conversation window.
3. The method according to claim 2, wherein the second session message indicates: adjusting the at least one candidate functional block, an acknowledgement of said reply message, or A negation of the reply message.
4. The method according to claim 3, wherein the adjustment of the at least one candidate functional block comprises at least one of the following: adding a functional block different from the at least one candidate functional block, Deleting a functional block from the at least one candidate functional block, or A functional block in the at least one candidate functional block is modified.
5. The method according to claim 2, wherein the reply message comprises at least one of the following: a text message including said description, or A preview of the at least one candidate functional block.
6. The method of claim 1, wherein determining the predetermined operation comprises: Based at least on the interaction information, generate a first prompt word input for the model; providing the first prompt word input to the model; as well as An indication regarding the predetermined operation is obtained from the model. 7 . The method according to claim 6 , wherein the first prompt word input is further generated based on description information of each of a plurality of functional blocks, and the description information of each functional block at least includes a semantic description of a function of the functional block.
8. The method according to claim 1, further comprising: A preview of at least a portion of the target application having the at least one functional block is presented in the session window.
9. The method according to claim 1, further comprising: Presenting an interface for editing the created target application; as well as In response to receiving an adjustment request for at least a portion of the target application in the interface, the at least a portion is adjusted.
10. The method of claim 9, wherein presenting the interface is in response to at least one of: A trigger operation from the user to switch to the interface; completing the predetermined operation; The interaction between the user and the digital assistant in the conversation window meets a preset condition.
11. The method according to claim 9, further comprising: In response to receiving a user input to abandon the created target application, presenting the session window to replace the interface.
12. The method according to claim 9, further comprising: presenting an interface for providing the adjustment request at a location in the interface associated with the at least one portion; as well as The adjustment request is received via the interface.
13. The method of claim 9, wherein adjusting the at least one portion comprises: generating a second prompt word input for a model based on the adjustment request and information related to the target application; providing the second prompt word input to the model; obtaining an indication from the model regarding an adjustment operation; as well as The adjusting operation is performed on the at least one portion.
14. The method of claim 1, wherein receiving the first session message comprises: Presenting an input box and information prompting the user to create or modify an application; as well as The first conversation message is received via the input box.
15. The method according to claim 1, wherein the first session message indicates creating the target application, and performing the predetermined operation on the at least one functional block comprises: The at least one functional block is combined to create the target application.
16. The method according to claim 1, wherein the first session message indicates to modify the target application, and performing the predetermined operation on the at least one functional block comprises at least one of the following: removing a functional block of the at least one functional block from the target application, adding a functional block of the at least one functional block to the target application, or A functional block existing in the target application among the at least one functional block is updated.
17. The method of claim 1, wherein the digital assistant is provided by an Application Platform as a Service (aPaaS) based platform.
18. A method for managing an application, comprising: presenting a first interface associated with one of a first mode and a second mode for application management; as well as In response to the mode switching indication, presenting a second interface associated with the other of the first mode and the second mode, and Wherein in the first mode, application management operations are performed through user interaction with the digital assistant in the conversation window without an application editing interface, and in the second mode, application management operations are performed through user interaction in the application editing interface.
19. The method according to claim 18, wherein the first interface is associated with the first mode, and the mode switching indication comprises: a trigger operation from the user to switch to the second mode, Complete the predetermined operation for at least one functional block of the target application, or The interaction between the user and the digital assistant in the conversation window meets a preset condition.
20. The method according to claim 18, wherein the first interface is associated with the second mode, and the mode switching indication comprises: a trigger operation from the user to switch to the first mode, User input indicating to abandon the created application, or User input indicating the creation of a new app.
21. A method for managing an application, comprising: Presenting a first editing interface of a target application; Receiving an adjustment request for the target application in the first editing interface; as well as At least a portion of the target application is adjusted based on a user interaction context associated with the adjustment request.
22. The method of claim 21, wherein adjusting the at least one portion comprises: In response to the user interaction context indicating that a first portion of the target application is selected, determining a first adjustment operation based on information related to the first portion and the adjustment request; as well as The first adjustment operation is performed on the first portion.
23. The method of claim 22, wherein the user interaction context comprises at least one of the following: receiving the adjustment request with the first part being selected, or The adjustment request is received via an interface presented at a location associated with the first portion.
24. The method of claim 21, wherein adjusting the at least a portion comprises: In response to the user interaction context indicating that the particular portion of the target application is not selected, determining a second portion of the target application and a second adjustment operation based on information related to the target application and the adjustment request; as well as The second adjustment operation is performed on the second portion.
25. The method according to claim 24, wherein the second portion is a portion of the target application that is not displayed in the editing interface, the method further comprising: A second editing interface of the target application is presented, wherein the second part is displayed in the second editing interface.
26. The method of claim 21, further comprising: receiving a user indication to abandon the adjustment of the at least one portion; as well as In response to the user instruction, the target application is restored to a version before the adjustment.
27. The method of claim 26, wherein receiving the user indication comprises: presenting a conversation message from the digital assistant, the conversation message indicating that the adjustment of the at least one portion has been completed; Presenting, at a location associated with the conversation message, a control for abandoning the adjustment; as well as A trigger operation on the control is received.
28. The method according to claim 21, wherein a conversation window for a digital assistant is displayed in the first editing interface, and the method further comprises: In response to a closing operation on the conversation window, stopping displaying the conversation window in the first editing interface; as well as A control for reopening the session window is displayed in the first editing interface.
29. The method of claim 21, wherein adjusting the at least a portion comprises: Based on the adjustment request and information related to the target application, generating a prompt word input for a model; providing the prompt word input to the model; obtaining an indication from the model regarding an adjustment operation; as well as The adjusting operation is performed on the at least one portion.
30. A device for managing applications, comprising: A first receiving module is configured to receive a first conversation message from a user, wherein the first conversation message indicates creating or modifying a target application; A determination module, configured to determine a predetermined operation for at least one functional block of the target application based at least on interaction information between the user and the digital assistant in the conversation window; as well as The execution module is configured to execute the predetermined operation on the at least one function block in response to receiving the user's confirmation of the predetermined operation in the conversation window.
31. A device for managing applications, comprising: A first presentation module configured to present a first interface associated with one of a first mode and a second mode for application management; as well as a second presentation module configured to present a second interface associated with the other mode of the first mode and the second mode in response to a mode switching indication, and Wherein in the first mode, application management operations are performed through user interaction with the digital assistant in the conversation window without an application editing interface, and in the second mode, application management operations are performed through user interaction in the application editing interface.
32. A device for managing applications, comprising: A third presentation module is configured to present a first editing interface of the target application; A second receiving module is configured to receive an adjustment request for the target application in the first editing interface; as well as The first adjustment module is configured to adjust at least a portion of the target application based on a user interaction context associated with the adjustment request.
33. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform a method according to any one of claims 1 to 17, or any one of claims 18 to 20, or any one of claims 21 to 29.
34. 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 17, or any one of claims 18 to 20, or any one of claims 21 to 29.
Citation Information
Patent Citations
Application execution method and device, computer equipment and storage medium
CN114281432A
Application page development method, device and system, computing equipment and storage medium
CN115857920A
Conversational user interface design
US10678406B1
System and method for creating conversations to launch within applications
US20180331979A1
Cited By
Interface interaction method and apparatus, device, and storage medium
WO2026178702A1
Information processing method and apparatus, device and storage medium
WO2026194342A1
