Information processing method and apparatus, and device and storage medium
By presenting information about the execution phase in real time during task processing, the problem of excessively long user waiting times has been solved, thus improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/079319
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-25
- Filing Date
- 2025-02-26
- Publication Date
- 2026-01-02
AI Technical Summary
In the process of handling complex tasks, existing technologies require a long time to return results, resulting in excessively long waiting times and a poor user experience.
During the interaction between the user and the digital assistant, the system acquires and presents real-time operational information on multiple stages of the target task, including execution logic and results, so that the user can understand the task progress.
By presenting task execution information in stages, user waiting time is reduced and user experience is improved.
Smart Images

Figure CN2025079319_02012026_PF_FP_ABST
Abstract
Description
Information processing method, apparatus, device, and storage medium
[0001] The present application claims priority to the Chinese patent application No. 202410834071.5, filed on June 25, 2024, entitled “Information processing method, apparatus, device, and storage medium”, the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to an information processing method, apparatus, device, and computer-readable storage medium. BACKGROUND
[0003] With the development of information technology, various terminal devices can provide people with various services in work and life, etc. Applications providing services can be deployed in the terminal devices. The terminal devices present corresponding content through the user interface of the application and implement interaction with the user to meet various needs of the user. In some cases, the user can initiate a task processing request in the application. If the requested task is relatively complex, the application can take a long time to return the processing result. SUMMARY
[0004] In a first aspect of the present disclosure, an information processing method is provided, comprising: receiving, during an interaction between a user and a digital assistant, a user input from the user indicating a target task; obtaining, during execution of the target task, running information of each of at least one execution stage of a plurality of execution stages of the target task; and presenting the running information of each of the at least one execution stage as a response to the user input.
[0005] In a second aspect of the present disclosure, an information processing apparatus is provided, comprising: an information receiving module configured to receive, during an interaction between a user and a digital assistant, a user input from the user indicating a target task; an information obtaining module configured to obtain, during execution of the target task, running information of each of at least one execution stage of a plurality of execution stages of the target task; and an information presenting module configured to present the running information of each of the at least one execution stage as a response to the user input.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. The instructions, when executed by the at least one processor, cause the electronic device to perform the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The medium has stored thereon computer-executable instructions that, when executed by a processor, implement the method of the first aspect.
[0008] In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform to implement the method of the first aspect.
[0009] It should be understood that all statements herein made regarding the examples described in this section are intended to be illustrative of the key and important features of the embodiments of the present disclosure and it is not intended that the scope of the present disclosure be limited to such features. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0010] The above and other features, aspects and advantages of certain embodiments of the present disclosure will become more apparent from the following description of the disclosure when taken in conjunction with the accompanying drawings, in which like references refer to like elements, and wherein:
[0011] FIG. 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
[0012] FIGS. 2 to 4 show schematic diagrams of example interfaces presenting operational information at various stages, according to some embodiments of the present disclosure;
[0013] FIG. 5 shows a flowchart of an information processing process, according to some embodiments of the present disclosure;
[0014] FIG. 6 shows a schematic block diagram of an apparatus for information processing, according to some embodiments of the present disclosure; and
[0015] FIG. 7 shows a block diagram of an electronic device that can implement one or more embodiments of the present disclosure. DETAILED DESCRIPTION
[0016] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the scope of the present disclosure.
[0017] In the description of embodiments of the disclosure, the term "comprising" and similar terms thereof are understood to be inclusive, i.e., "including but not limited to". The term "based on" is understood to mean "based at least in part on". The term "one embodiment" or "the embodiment" is understood to mean "at least one embodiment". The term "some embodiments" is understood to mean "at least some embodiments". Other explicit and implicit definitions can also be included below.
[0018] In this article, unless specifically stated, performing a step "in response to A" does not mean performing the step immediately after "A", but can include one or more intermediate steps.
[0019] It can be understood that the data involved in the technical solutions of the present application (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) should comply with the requirements of the relevant laws and regulations and the relevant provisions.
[0020] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the type of information involved in the present disclosure, the scope of use, the use scenario, etc. should be informed to the relevant user and the authorization of the relevant user should be obtained by appropriate means, wherein the relevant user can include any type of right subject, such as an individual, an enterprise, or a group.
[0021] For example, in response to receiving the active request of the user, a prompt information is sent to the relevant user to explicitly prompt the relevant user that the operation requested to be performed will require the information of the relevant user to be obtained and used, so that the relevant user can voluntarily choose whether to provide the information to the software or hardware such as electronic device, application program, server or storage medium performing the operation of the technical solutions of the present disclosure according to the prompt information.
[0022] As an optional but non-limiting implementation manner, in response to receiving the active request of the relevant user, the prompt information can be sent to the relevant user in the form of a pop-up window, and the prompt information can be presented in the form of text in the pop-up window. In addition, the pop-up window can also carry selection controls for the user to select "agree" or "disagree" to provide information to the electronic device.
[0023] It can be understood that the above notification and user authorization process is only illustrative and does not limit the implementation of the present disclosure. Other ways that meet the relevant laws and regulations can also be applied to the implementation of the present disclosure. The enabling of the digital assistant related functions of the embodiments of the present disclosure, the data obtained, the processing and storage manner of the data, etc. should be authorized in advance by the user and other right subjects associated with the user, and should comply with the relevant laws and regulations and the agreement rules between the right subjects.
[0024] As used herein, the term “model” can learn the relationship between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning techniques. Deep learning is a machine learning algorithm that processes input and provides a corresponding output by using multiple layers of processors. The neural network model is an example of a model based on deep learning. In this article, “model” can also be referred to as “machine learning model”, “learning model”, “machine learning network” or “learning network”, which are used interchangeably herein.
[0025] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. The environment 100 involves an application management platform 110, which can support the creation of an application and / or the running of an application. In some embodiments, the part of the application management platform 110 for supporting the creation of an application can also be referred to as an application creation part. In some embodiments, the part of the application management platform 110 for supporting the running of an application can also be referred to as an application running part.
[0026] As shown, the application creation part can provide a creation and publishing environment of an application for a user 105. The user 105 can be referred to as an application creation user, creator. In some embodiments, the application creation part can be a low-code platform, which provides a toolset for application creation. The application creation part can support the visual development of various types of applications, so that the developer can skip the manual coding process, accelerate the development cycle and cost of the application. The application creation part can support any appropriate platform for the user to develop one or more types of applications, which can include an application platform as a service (aPaaS) based platform, for example. Such a platform can enable the user to efficiently develop the application, implement application creation, application function adjustment, etc.
[0027] The application creation part can be deployed locally on the terminal device of the user 105 and / or can be supported by a server device. For example, the terminal device of the user 105 can run a client of the application creation part, which can support the user to interact with the application creation part provided by the server. In the case where the application creation part runs locally on the terminal device of the user, the user 105 can directly interact with the local application creation part using the terminal device. In the case where the application creation part runs on the server device, the server device can implement service provision to the client running on the terminal device based on the communication connection between the terminal device and the server device. The application creation part can present a corresponding page 130 to the user 105 based on the operation of the user 105, to output and / or receive information related to the application creation to / from the user 105.
[0028] In some embodiments, the application creation portion can be associated to a corresponding database in which data or information required by the application creation process supported by the application creation portion is stored. For example, the database can store code and description information corresponding to each functional module used to compose the application, etc. The application creation portion can also perform operations such as calling, adding, deleting, updating, etc. on the functional modules in the database. The database can also store operations executable on different functional blocks. Illustratively, in a scenario in which an application is to be created, the application creation portion can call corresponding functional blocks from the database to build the application.
[0029] In embodiments of the present disclosure, a user 105 can create a target application 120 on the application creation portion as needed and publish the target application 120. The target application 120 can be published to any suitable application running portion as long as the application running portion is capable of supporting the running of the target application 120. After publication, the target application 120 can be used for operation by one or more end users 145. The end users 145 can operate the target application 120 through associated terminal devices 146 and in turn interact with the application management platform 110. The end users 145 can be referred to as end users of the target application 120. In some embodiments, the target application 120 can include or be implemented as a digital assistant 122.
[0030] The digital assistant 122 can be configured to have the capability of intelligent conversation. In the example shown in the figure, the digital assistant 122 can be integrated within the target application 120 as a part of the target application 120 to assist in performing task processing within the target application 120. In other examples, the digital assistant 122 can be configured as an independently running application, such as a web application or other type of application. In such examples, the digital assistant 122 and the target application 120 can be considered as the same application. The digital assistant 122 is provided to assist users in various task processing needs in different applications and scenarios. During interaction with the digital assistant 122, a user inputs an interaction message, and the digital assistant 122 provides a reply message in response to the user input. Generally, the digital assistant 122 is capable of supporting the user to input a question in a natural language manner, and perform a task and provide a reply based on understanding of the natural language input and logical reasoning capability.
[0031] In some embodiments, the digital assistant 122 can interact with the end users 145 as contacts of the end users 145. For example, the digital assistant 122 can be implemented in an instant messaging (IM) application. The digital assistant 122 can interact with the end users 145 in a one-on-one chat session with the end users 145. In some embodiments, the digital assistant 122 can interact with multiple users in a group chat session including multiple users.
[0032] For each end user 145, the client of the application running part can present an interaction window 142 of the target application 120 or the digital assistant 122 in the client interface, for example, a conversation window with the digital assistant 122. The end user 145 can input a conversation message in the conversation window, and the target application 120 can determine a reply message of the digital assistant 122 based on the created configuration information and present the reply message to the user in the interaction window 142. In some embodiments, depending on the configuration of the target application 120, the interaction message with the target application 120 can include messages in multiple modalities, such as text messages (e.g., natural language text), voice messages, image messages, video messages, and the like.
[0033] Similar to the application creation part, the application running part can be deployed locally on the terminal device of each end user 145 and / or can be supported by the server device. For example, the terminal device of the end user 145 can run a client of the application running part, which can support the user's interaction with the application running part provided by the server. In the case where the application running part is run locally on the terminal device of the user, the end user 145 can directly interact with the local application running part using the terminal device. In the case where the application running part is run on the server device, the server device can implement service provision to the client running on the terminal device based on the communication connection between the terminal device. The application running part can present a corresponding application page to the end user 145 based on the operation of the end user 145 to output and / or receive information related to the use of the application to / from the end user 145.
[0034] In some embodiments, the implementation of at least part of the functions of the target application 120 and / or the implementation of at least part of the functions of the digital assistant 122 in the target application 120 can be implemented based on models. During the creation or running of the target application 120, one or more models 155, for example, the capabilities of the models 155, can be invoked. In the target application 120, the digital assistant 122 can utilize the models 155 to understand the user input and provide a reply to the user based on the output of the models 155.
[0035] During the creation process, the testing of the target application 120 by the application management platform 110 needs to utilize the models 155 to determine that the running result of the target application 120 meets the expectation. During the running process, in response to different operation requests of the user of the target application 120, the application running part can need to utilize the models 155 to determine the response result to the user.
[0036] Although shown as being independent of the application management platform 110, one or more models 155 can run on the application management platform 110, or other remote servers. In some embodiments, the models 155 can be machine learning models, deep learning models, learning models, neural networks, etc. In some embodiments, the models can be based on language models (LMs). Language models can be capable of question answering by learning from a large corpus. The models 155 can also be based on other suitable models.
[0037] The application management platform 110 can run on a suitable electronic device. An electronic device here can be any type of device with computing capability, including an end device or a server device. An end device can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, 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 game device, or any combination thereof, including accessories and peripherals of such devices or any combination thereof. A server device can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. In some embodiments, the management platform 110 can be implemented based on cloud services.
[0038] It should be understood that the structure and functionality of the environment 100 are described for illustrative purposes only and without implying any limitation on the scope of the present disclosure. For example, although shown as a single user interacting with the application creation portion and a single user interacting with the application running portion, in practice multiple users can access the application management platform 110 to each create a digital assistant, and each digital assistant can be used to interact with multiple users.
[0039] When a target application processes a task requested by a user input, the task can need to be broken down into multiple execution steps to output a final result. This makes the overall return of the result time-consuming. In particular, in scenarios such as data analysis, the application needs multiple data processing steps to provide a final result to the user. In some cases, when the target application invokes a model to process an operation request of a user input, the response speed of the model itself is limited by the model provider, resulting in a long waiting time for the user and a poor user experience. In some cases, if an error occurs in the processing of the task, the user can wait for a long time without getting any result.
[0040] In embodiments of the present disclosure, an information processing scheme is provided. In the scheme, during an interaction between a user and a digital assistant, a user input indicative of a target task is received from the user. During execution of the target task, running information of at least one execution stage of a plurality of execution stages of the target task is obtained. The running information of the at least one execution stage is presented as a response to the user input. In this way, the running information of the at least one execution stage of the plurality of execution stages can be presented to the user while the target task indicated by the user is being executed, so that the user is aware of the execution of the at least one execution stage. This enables the user to know the current processing progress of the task, reduces the waiting time of the user, and thus improves the user experience.
[0041] Some example embodiments of the present disclosure will be described in detail below with reference to examples of the accompanying drawings. It should be understood that the pages shown in the accompanying drawings are merely examples, and various page designs can actually exist. Various graphical elements in the pages can have different arrangements and different visual representations, one or more elements of which can be omitted or replaced, and one or more other elements can also exist. Embodiments of the present disclosure are not limited in this respect.
[0042] The information processing process described in embodiments of the present disclosure can be implemented in an application management platform, a terminal device installed with the application management platform, and / or a server corresponding to the application management platform. In the examples below, for the sake of discussion, the application management platform 110 shown in FIG. 1 is described from the perspective of the application management platform 110. The user interface presented by the application management platform 110 can be presented via the terminal device of the user 145, and the application management platform 110 can receive user input via the terminal device of the user 145. In some embodiments of the present disclosure, the user 145 is a terminal user of the target application 120. It should be understood that the user interface presented by the application management platform 110 can also be presented via the terminal device of the user 105, and the application management platform 110 can also receive user input via the terminal device of the user 105. In some embodiments of the present disclosure, the user 105 is a creator, manager, or maintainer of the target application 120.
[0043] Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0044] The digital assistant 122 can present a conversation window to the user, through which the user can input conversation messages. The conversation messages include, for example, but are not limited to, text messages, voice messages, and the like.
[0045] The target application 120, in response to receiving the user input, can determine a target function corresponding to the target task based on the user input. Specifically, the target application 120 can invoke one or more models 155 to understand the intention of the user input, and determine the target task according to the intention of the user input.
[0046] For example, the user input is “analyze the sales distribution of orders of each commodity category of the XX platform in XX year XX month, and query the daily order sales trend of XX category of commodities”. The target application 120 understands the user intention as “analyze the sales distribution of orders of each commodity category of the XX platform in XX year XX month” and “query the daily order sales trend of XX category of commodities” by invoking a semantic understanding model, and can determine that the user input corresponds to a data analysis task and a data query task. It should be understood that the above-mentioned data analysis task and data query task can be combined as one target task, or can be respectively as one target task.
[0047] In some embodiments, the target application 120 can be configured with functions corresponding to each type of task. After confirming the type of the target task, the target application 120 can determine the corresponding target function based on the type of the target task.
[0048] It should be understood that one target task can correspond to multiple target functions, and some functions are not necessary functions for implementing the target task. Therefore, the target application 120 can implement the target task based on at least part of the target functions.
[0049] The application management platform 110 can invoke the target function to execute the target task. The execution of the target task includes multiple execution stages. During the execution of the target task, the target application 120 obtains the running information of at least one of the execution stages. The running information of the execution stage may, for example, include the execution logic of the execution stage, the current execution state, the execution result, and the like.
[0050] During the execution of the target task, the running information of the execution stage currently being performed, such as the description of the execution logic and / or the execution result, can be presented to the user. This can avoid the user waiting for a long time, so as to improve the user experience. In some embodiments, for the convenience of presenting a simple interface or in the case that the execution stage is simple, the execution result of the execution stage can be directly presented to the user.
[0051] In some embodiments, the execution stages of a target task can include one or more data query stages, a content generation stage, or a data analysis stage. The one or more data query stages are used to obtain target data, the content generation stage is used to generate visual content based on the target data, and the data analysis stage is used to analyze the target data based on user input. Taking a data analysis task as an example, the data analysis task can include a data query stage, a chart generation stage, a data insight generation stage, etc.
[0052] Querying certain data can require one or more SQL statements. One SQL statement can correspond to one data query stage, or one SQL statement can correspond to multiple data query stages.
[0053] The content generation stage can generate various suitable visual content based on the data obtained from the data query stage, for the user to view. Such visual content can include text or charts, e.g., a single line of text, multiple lines of text, one chart, multiple charts, etc. can be generated. Based on the data queried, a single line of text or one chart can be generated, or multiple lines of text or multiple charts can be generated. In some embodiments, generating multiple lines of text or multiple charts can be considered as belonging to the same content generation stage.
[0054] The data analysis stage can include, for example, generating data insights. For example, in the data analysis stage, the data obtained from the data query stage, the text or charts generated from the content generation stage can be analyzed and insights can be generated.
[0055] In some embodiments, the multiple execution stages of a target task can include one or more data query stages, and further include at least one of a content generation stage or a data analysis stage. For example, a data analysis task can include a mandatory data query stage, a mandatory chart generation stage, and an optional data insight generation stage.
[0056] The application management platform 110 can present the running information of at least one execution stage to the user in the interface of the user input. Alternatively, the application management platform 110 can present the running information of at least one execution stage to the user in a new session window.
[0057] In some embodiments, the running information of a first execution stage (e.g., any execution stage or a certain execution stage) of at least one execution stage can include the execution result of the first execution stage. As shown in FIG. 2, the application management platform 110 presents the interface 200 to the user. In response to the user input: “analyze the sales distribution of orders of various product categories of the XX platform in XX year XX month, and query the daily order sales trend of XX category of goods”, the application management platform 110 presents the query result 220 corresponding to the data query stage as at least part of the running information to the user in the interface 200.
[0058] Alternatively or additionally, in some embodiments, the running information of the first execution stage in the at least one execution stage can comprise description information of execution logic of the first execution stage. For example, if the first execution stage comprises a plurality of sub-tasks, the description information of the execution logic can be used to describe each sub-task performed. For example, the description information can describe the execution process of the sub-task. By presenting the description information of the execution logic, the user can know the execution logic of the entire execution stage.
[0059] In some embodiments, the description information of the execution logic can be presented to the user before presenting the running result of the execution stage. For example, in the case that the first execution stage comprises a plurality of sub-tasks, the description of the next sub-task can be presented to the user after presenting the running result of the current sub-task and before presenting the running result of the next sub-task.
[0060] In some embodiments, the application management platform 110 can present the description information of the sub-tasks and the running result of the sub-tasks in the interface 200 in the order of the description information and the running result.
[0061] With reference to FIG. 2, a plurality of SQL statements need to be generated in the data query stage, each SQL statement corresponding to a query result, and the description information 210 of the first sub-task of the data query stage and the running result of the first sub-task, i.e., the table 220, are presented in FIG. 2. At this time, the description information 230 of the second sub-task, “Thinking: generating SQL statement”, is presented below the table 220. In this way, the waiting anxiety of the user can be alleviated, and the user experience can be improved.
[0062] The above examples only show the way in which the application management platform 110 presents the running result of one execution stage. When the running result of a plurality of execution stages needs to be presented to the user, the running information of each execution stage in the plurality of execution stages can be presented to the user in the order of execution of the plurality of execution stages. In some embodiments, the running information of the execution stages can be presented in the message card in turn.
[0063] In some embodiments, the application management platform 110 can present the running information of each execution stage in the plurality of execution stages to the user in turn, which can be incremental presentation rather than replacement presentation. As shown in FIG. 3, the running information 310 of the data query stage and the running information 320 of the chart generation stage are presented in the interface 300 in the order of the running information.
[0064] The running information of each execution stage can be presented in a streaming manner. In some embodiments, during the streaming of the running information of the current execution stage, the running information of the execution stage before the current execution stage is maintained in the running information presentation area. For example, if the running information is presented in a message card, the running information of the previous execution stage is still maintained in the message card while the running information of the current execution stage is streamed.
[0065] In some embodiments, the application management platform 110 presents identification information that a second execution stage of the at least one execution stage is running in response to the start of the second execution stage. Note that the second execution stage described herein can be any execution stage.
[0066] As shown in FIG. 4, the application management platform 110 can present identification information 420 that the second execution stage is running in the interface 400 in response to the start of the second execution stage. For example, the application management platform 110 is executing a data query stage, and at this time the identification information 420 can include various suitable visual elements such as text, icons, etc. to prompt the user that the execution stage being executed at this time is the data query stage.
[0067] In some embodiments, if the second execution stage includes multiple sub-stages, indication information of a sub-stage that is currently executed among the multiple sub-stages can be presented according to the execution status of the second execution stage. Taking the data query stage as an example, the multiple sub-stages can include a query planning sub-stage, an instruction generation sub-stage, and an instruction execution sub-stage. In the query planning sub-stage, the corresponding display can be “Thinking: Querying Data”. In the instruction generation stage, the corresponding display can be “Thinking, Generating SQL Statement”. In the instruction execution stage, the corresponding display can be “Thinking, Executing SQL”.
[0068] The content corresponding to the display of the multiple sub-stages described above can be displayed below the running result of the previous execution stage or the previous sub-stage. For example, the identification information 420 shown in the interface 400 of FIG. 4, and the identification information 330 shown in FIG. 3.
[0069] In some embodiments, if an error occurs in an execution stage, the cause of the error can be presented. For example, in response to an error occurring in a third execution stage of the at least one execution stage, the cause of the error is determined as the execution result of the third execution stage. Note that the third execution stage described herein can be any execution stage. For example, if an error occurs in the data query stage, the user can be presented with: “SQL execution failed, error code: XXXXXXXXX”.
[0070] The above-described ability to present the running information of each stage in a stage-by-stage manner can be referred to as the ability to output task execution information in stages.
[0071] In some embodiments, whether the target application 120 supports the staged output of the task execution information, i.e., has the capability of the staged output of the task execution information, can be configured. For example, the configuration can be made by the creator or the maintainer of the target application 120. Illustratively, a user 105 can be presented with a function configuration interface on which selectable items are presented, e.g., whether to turn on the staged output of the task execution information, etc. After the function is turned on, the intermediate processing messages of executing any of the at least one execution stage can be presented to the user. Other selectable items can also be presented on the interface, e.g., whether to generate data and charts, whether to generate insights, whether to turn on enhanced search, etc.
[0072] In some embodiments, the configuration of whether to stage the output of the task execution information in the configuration interface is not turned on by default, and the user 105 can manually turn it on in the configuration interface. In this way, the user experience can be further improved.
[0073] FIG. 5 illustrates a flowchart of an information processing process 200 according to some embodiments of the present disclosure. The information processing process 500 can be implemented in the application management platform 110. The task processing process illustrated in FIG. 5 is described below in conjunction with FIG. 1.
[0074] At block 510, the application management platform 110 receives a user input indicating a target task from a user during an interaction between the user and the digital assistant 122.
[0075] At block 520, the application management platform 110 obtains running information of each of at least one execution stage of a plurality of execution stages of the target task during execution of the target task.
[0076] At block 530, the application management platform 110 presents the running information of each of the at least one execution stage as a response to the user input.
[0077] In some embodiments, the plurality of execution stages includes one or more data query stages for obtaining target data, and the plurality of execution stages further includes at least one of: a content generation stage for generating visual content based on the target data, or a data analysis stage for analyzing the target data based on the user input.
[0078] In some embodiments, presenting the running information of each of the at least one execution stage includes presenting the running information of each of the at least one execution stage in a sequence according to an execution order of the at least one execution stage.
[0079] In some embodiments, the running information of a first execution stage of the at least one execution stage includes at least one of: an execution result of the first execution stage, or a description information of an execution logic of the first execution stage.
[0080] In some embodiments, the description information is presented before the execution result of the first execution stage.
[0081] In some embodiments, the process 500 further includes presenting, in response to a start of a second execution stage of the at least one execution stage, identification information that the second execution stage is running.
[0082] In some embodiments, the second execution stage includes a plurality of sub-stages, and presenting the identification information that the second execution stage is running includes presenting, according to an execution status of the second execution stage, indication information of a sub-stage of the plurality of sub-stages that is currently executed.
[0083] In some embodiments, obtaining the running information of the at least one execution stage respectively includes, in response to an error occurring in a third execution stage of the at least one execution stage, determining a cause of the error as the execution result of the third execution stage.
[0084] In some embodiments, the process 500 further includes, in response to receiving the user input, determining, based on the user input, a target function corresponding to the target task; and invoking the target function to perform the target task, wherein the target function is configured to support phased output of task execution information.
[0085] In some embodiments, during the streaming presentation of the running information of the current execution stage, the running information of an execution stage before the current execution stage is maintained in the running information presentation area.
[0086] FIG. 6 illustrates a schematic structural block diagram of an information processing apparatus, according to some embodiments of the present disclosure. The apparatus 600 may, for example, be implemented in or included in the application management platform 110. Various modules / components in the apparatus 600 can be implemented by hardware, software, firmware, or any combination thereof.
[0087] As shown, the apparatus 600 includes an information receiving module 610 configured to receive, during an interaction of a user with a digital assistant, a user input from the user indicating a target task. The apparatus 600 further includes an information obtaining module 620 configured to obtain, during an execution process of the target task, running information of at least one execution stage of a plurality of execution stages of the target task respectively. The apparatus 630 further includes an information presenting module 630 configured to present the running information of the at least one execution stage respectively as a response to the user input.
[0088] In some embodiments, the plurality of execution stages includes one or more data query stages for obtaining target data, and the plurality of execution stages further includes at least one of: a content generation stage for generating visual content according to the target data, or a data analysis stage for analyzing the target data according to the user input. In some embodiments, the plurality of execution stages includes one or more data query stages for obtaining target data, and the plurality of execution stages further includes at least one of: a content generation stage for generating visual content according to the target data, or a data analysis stage for analyzing the target data according to the user input.
[0089] In some embodiments, the information presenting module 630 is further configured to present the running information of each of the at least one execution stage in sequence according to an execution order of the at least one execution stage.
[0090] In some embodiments, the running information of the first execution stage of the at least one execution stage comprises at least one of: an execution result of the first execution stage, or description information of an execution logic of the first execution stage.
[0091] In some embodiments, the description information is presented before the execution result of the first execution stage.
[0092] In some embodiments, the information presenting module 630 is further configured to present, in response to a start of a second execution stage of the at least one execution stage, identification information that the second execution stage is running.
[0093] In some embodiments, the information presenting module 630 is further configured to present, according to an execution state of the second execution stage, indication information of a sub-stage that is currently executed among a plurality of sub-stages.
[0094] In some embodiments, the information presenting module 630 is further configured to, in response to an error occurring in a third execution stage of the at least one execution stage, determine a cause of the error as an execution result of the third execution stage.
[0095] In some embodiments, the apparatus 600 further comprises a function calling module configured to, in response to receiving a user input, determine, based on the user input, a target function corresponding to a target task; and call the target function to execute the target task, wherein the target function is configured to support phased output of task execution information.
[0096] In some embodiments, during the streaming presentation of the running information of the current execution stage, the running information of the execution stage before the current execution stage is kept in the running information presentation area.
[0097] FIG. 7 shows a block diagram of an electronic device 700 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 700 shown in FIG. 7 is merely an example and should not be construed as limiting on the functionality and scope of the embodiments described herein. The electronic device 700 shown in FIG. 7 can include or be implemented as the application management platform 110 of FIG. 1, or the apparatus 600 of FIG. 6.
[0098] As shown in FIG. 7, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 can include, but are not limited to, one or more processors 710 or processing units, memory 720, storage 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processor 710 can be a real or virtual processor and is capable of executing various processing in accordance with programs stored in memory 720. In a multi-processor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.
[0099] Electronic device 700 typically includes a plurality of computer storage media. Such media can be any available media that is accessible by electronic device 700 and includes both volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory), or some combination thereof. Storage 730 can be removable or non-removable media and can include machine- readable media such as a flash drive, a magnetic disk drive, or any other media that can be used to store information and / or data and that can be accessed by electronic device 700.
[0100] Electronic device 700 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 7, a disk drive or other computer-readable media drive can be provided for reading from or writing to a removable, non- volatile magnetic disk (e.g., a "hard drive"), and a disk drive or other computer-readable media drive can be provided for reading from or writing to a removable, non-volatile optical disk (e.g., a "floppy disk"). In these instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. Memory 720 can include a computer program product 725 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0101] Communication unit 740 enables communication with other electronic devices over communication media. Additionally, functionality of components of electronic device 700 can be implemented in a single computing cluster or a plurality of computer machines capable of communicating over a communication connection. As such, electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes in a distributed computing environment.
[0102] Input device 750 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. Output device 760 can be one or more output devices, such as a display, a speaker, a printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc. through communication unit 740, as desired, in order to communicate with one or more devices that enable a user to interact with electronic device 700, or to communicate with any device (e.g., a network card, a modem, etc.) that enables electronic device 700 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0103] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0104] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0105] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0106] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0107] The computer program product of the present disclosure can be a computer program product, which is a machine-readable medium (media) having instances of the software embodied thereon, such as computer software, firmware, wireless application protocol (WAP), middleware or microcode. For example, a computer program product can be a floppy disk, a CD-ROM, a DVD, a Blu-ray Disc™, a flash drive, a memory stick, a magnetic tape, or a hard disk drive. The machine-readable medium can be a single medium, or multiple media, of the same or different type. The computer program product can be one or more computer program components embodied in medium and / or transmission signals. The computer program product can have one or more computer readable and / or computer executable components embodied in medium and / or transmission signals. The computer program product can be one or more computer readable and / or computer executable components embodied in medium and / or transmission signals. The computer program product can also be at least one or combination of controller(s) with associated computer program component(s), the computer program component(s) being an example of computer program product.
[0108] Various implementations of the disclosure have been described in detail above. The foregoing description is exemplary and explanatory only, and is not intended to be exhaustive or to limit various implementations of the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teachings without departing from the scope and spirit of the disclosure. It is intended that the scope of the disclosure be limited only by the claims and the equivalents thereof. The terms "comprise," "include," and "have," as well as variations thereof, are intended to be inclusive in a manner that the term does not exclude additional elements or steps. The terms "another" and "one or more" are defined as at least one and include any one or more. The terms "comprise," "comprising," "include," "including," "have," "has," "contain," "containing," "characterized by," "including the features of," "including the steps of," and the like are used inclusively and not with excluding further elements or steps. The terms "a," "an," and "the" are defined as one or more and include the singular and plural form. The terms "exemplary," "for example," and "e.g." are used to provide examples and not to limit the scope of the disclosure. The terms "about" and "substantially" are defined as approximately and include the exact value.
Claims
1. An information processing method, comprising: During the interaction between the user and the digital assistant, user input indicating the target task is received from the user; During the execution of the target task, the running information of at least one of the multiple execution stages of the target task is obtained; as well as The runtime information of each of the at least one execution stage is presented as a response to the user input.
2. The method of claim 1, wherein the plurality of execution stages includes one or more data query stages for obtaining target data, and the plurality of execution stages further includes at least one of the following: The content generation stage is used to generate visual content based on the target data, or The data analysis phase is used to analyze the target data based on the user input.
3. The method of claim 1, wherein presenting the operational information of each of the at least one execution stage includes: The running information of each of the at least one execution stage is presented sequentially according to the execution order of the at least one execution stage.
4. The method according to claim 1, wherein the runtime information of the first execution stage in the at least one execution stage includes at least one of the following: The execution result of the first execution phase, or Description information of the execution logic of the first execution phase.
5. The method of claim 4, wherein the description information is presented prior to the execution result of the first execution phase.
6. The method according to claim 1, further comprising: In response to the start of the second execution phase in the at least one execution phase, identification information indicating that the second execution phase is running is presented.
7. The method of claim 6, wherein the second execution phase comprises a plurality of sub-phases, and presenting identification information indicating that the second execution phase is running includes: Based on the execution status of the second execution phase, the indication information of the currently executed sub-phase among the plurality of sub-phases is presented.
8. The method according to claim 1, wherein obtaining the runtime information of each of the at least one execution stage comprises: In response to an error occurring in the third execution stage of the at least one execution stage, the cause of the error is determined as the execution result of the third execution stage.
9. The method according to claim 1, further comprising: In response to receiving the user input, a target function corresponding to the target task is determined based on the user input; as well as The target function is invoked to execute the target task, wherein the target function is configured to support phased output of task execution information.
10. The method of claim 1, wherein during the streaming presentation of runtime information of the current execution phase, runtime information of execution phases preceding the current execution phase is maintained in the runtime information presentation area.
11. An information processing apparatus, comprising: The information receiving module is configured to receive user input from the user indicating a target task during the interaction between the user and the digital assistant. The information acquisition module is configured to acquire, during the execution of the target task, the running information of at least one of the multiple execution stages of the target task. as well as The information presentation module is configured to present runtime information of each of the at least one execution stage as a response to the user input.
12. An electronic device, comprising: At least one processor; as well as At least one memory, coupled to at least one processor and storing instructions for execution by the at least one processor, which, when executed by the at least one processor, cause the electronic device to perform the method according to any one of claims 1 to 10.
13. A computer-readable storage medium having stored thereon computer-executable instructions that can be executed by a processor to implement the method according to any one of claims 1 to 10.
14. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1-10.
Citation Information
Patent Citations
Information processing method, device and equipment and computer readable storage medium
CN117196039A
Task execution method and device, electronic equipment and computer readable storage medium
CN117271077A
Information interaction method, device and system and readable storage medium
CN117950531A
Information processing method and device, equipment and storage medium
CN118838519A