WO2026001042A1 - 信息处理方法、装置、设备和存储介质 - Google Patents

信息处理方法、装置、设备和存储介质

Info

Publication number
WO2026001042A1
WO2026001042A1 PCT/CN2025/079319 CN2025079319W WO2026001042A1 WO 2026001042 A1 WO2026001042 A1 WO 2026001042A1 CN 2025079319 W CN2025079319 W CN 2025079319W WO 2026001042 A1 WO2026001042 A1 WO 2026001042A1
Authority
WO
WIPO (PCT)
Prior art keywords
execution
information
user
phase
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2025/079319
Other languages
English (en)
French (fr)
Inventor
尹星富
张�浩
黄巍
王耀辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Publication of WO2026001042A1 publication Critical patent/WO2026001042A1/zh
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the exemplary embodiments disclosed herein generally relate to the field of computers, and particularly to information processing methods, apparatus, devices, and computer-readable storage media.
  • terminal devices can provide people with a variety of services in work and life. Applications providing these services can be deployed on these terminal devices.
  • the terminal device presents relevant content and interacts with the user through the application's user interface to meet various user needs.
  • users may initiate task processing requests within the application. If the requested task is complex, the application may need a considerable amount of time to return the processing result.
  • an information processing method comprising: receiving user input from the user indicating a target task during an interaction between the user and a digital assistant; acquiring operational information of at least one execution stage of a plurality of execution stages of the target task during execution of the target task; and presenting the operational information of the at least one execution stage as a response to the user input.
  • an information processing apparatus comprising: an information receiving module configured to receive user input from the user indicating a target task during an interaction between the user and a digital assistant; an information acquisition module configured to acquire operational information of at least one execution stage of a plurality of execution stages of the target task during execution of the target task; and an information presentation module configured to present the operational information of the at least one execution stage as a response to the user input.
  • an electronic device in a third aspect of this disclosure, 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. When executed by the at least one processor, the instructions cause the electronic device to perform the method of the first aspect.
  • a computer-readable storage medium stores computer-executable instructions that, when executed by a processor, implement the method of the first aspect.
  • 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 the method of the first aspect.
  • Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented
  • Figures 2 to 4 show schematic diagrams of example interfaces that present operational information at each stage step by step according to some embodiments of the present disclosure
  • Figure 5 illustrates a flowchart of an information processing procedure according to some embodiments of the present disclosure
  • Figure 6 shows a schematic structural block diagram of an apparatus for information processing according to some embodiments of the present disclosure.
  • Figure 7 shows a block diagram of an electronic device that can implement one or more embodiments of the present disclosure.
  • performing a step in response to A does not mean that the step is performed immediately after A, but may include one or more intermediate steps.
  • relevant users should be informed of the type, scope of use, and usage scenarios of the information involved in this disclosure through appropriate means in accordance with relevant laws and regulations, and authorization should be obtained from the relevant users.
  • relevant users may include any type of rights holder, such as individuals, enterprises, and groups.
  • a prompt message is sent to the relevant user to clearly inform the user that the requested operation will require obtaining and using the user's information, thereby enabling the relevant user to choose whether to provide information to the software or hardware such as the electronic device, application, server, or storage medium that performs the operation of the technical solution disclosed herein based on the prompt message.
  • a prompt message in response to a user's active request, can be sent to the user, such as a pop-up window, where the prompt message can be presented in text format.
  • the pop-up window can also include a selection control allowing the user to choose "agree” or "disagree” to provide information to the electronic device.
  • model refers to a model that learns the relationship between inputs and outputs from training data, enabling it to generate corresponding outputs for a given input after training. Model generation can be based on machine learning techniques. Deep learning is a machine learning algorithm that uses multiple layers of processors to process inputs and provide corresponding outputs. A neural network model is an example of a deep learning-based model. In this paper, “model” may also be referred to as a “machine learning model,” “learning model,” “machine learning network,” or “learning network,” and these terms are used interchangeably.
  • Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented.
  • Environment 100 relates to an application management platform 110, which can support application creation and/or application execution.
  • the portion of the application management platform 110 used to support application creation may also be referred to as an application creation portion.
  • the portion of the application management platform 110 used to support application execution may also be referred to as an application execution portion.
  • the application creation section provides user 105 with an environment for creating and publishing applications.
  • User 105 can be referred to as the application creation user or creator.
  • the application creation section can be a low-code platform that provides a collection of tools for application creation.
  • the application creation section can support visual development of various types of applications, allowing developers to skip the manual coding process and accelerate the application development cycle and reduce costs.
  • the application creation section can support any suitable platform for users to develop one or more types of applications, such as an application platform as a service (aPaaS) based platform.
  • aPaaS application platform as a service
  • Such a platform enables users to efficiently develop applications, enabling operations such as application creation and application function adjustment.
  • the application creation component can be deployed locally on user 105's terminal device and/or supported by a server-side device.
  • user 105's terminal device can run a client with the application creation component, which can support interaction between the user and the application creation component provided by the server.
  • the application creation component runs locally on the user's terminal device
  • user 105 can directly interact with the local application creation component using the terminal device.
  • the server-side device can provide services to the client running on the terminal device based on the communication connection with the terminal device.
  • the application creation component can present a corresponding page 130 to user 105 based on user 105's actions, to output and/or receive application creation-related information from user 105.
  • the application creation section may be associated with a corresponding database, which stores the data or information required for the application creation process supported by the application creation section.
  • the database may store the code and description information corresponding to the various functional modules that make up the application.
  • the application creation section can also perform operations such as calling, adding, deleting, and updating the functional modules in the database.
  • the database may also store operations that can be performed on different functional blocks. For example, in a scenario where an application needs to be created, the application creation section can call the corresponding functional blocks from the database to build the application.
  • user 105 can create and publish target application 120 as needed in the application creation section.
  • Target application 120 can be published to any suitable application runtime section, as long as the application runtime section can support the operation of target application 120.
  • target application 120 can be operated by one or more end users 145.
  • End user 145 can operate target application 120 through an associated terminal device 146 and thereby interact with application management platform 110.
  • End user 145 can be referred to as the end user of target application 120.
  • target application 120 may include or be implemented as digital assistant 122.
  • Digital assistant 122 can be configured to have intelligent conversational capabilities.
  • digital assistant 122 can be integrated into target application 120, serving as part of target application 120 to assist in task processing within target application 120.
  • digital assistant 122 can be configured as a standalone application, such as a web application or other type of application.
  • digital assistant 122 and target application 120 can be considered as the same application.
  • Digital assistant 122 is provided to assist users with various task processing needs in different applications and scenarios.
  • the user inputs interactive messages, and digital assistant 122 responds to the user's input by providing reply messages.
  • digital assistant 122 can support users inputting questions in natural language and performs tasks and provides replies based on its understanding of natural language input and logical reasoning capabilities.
  • the digital assistant 122 can interact with the end user 145 as a contact.
  • the digital assistant 122 can be implemented in an instant messaging (IM) application.
  • IM instant messaging
  • the digital assistant 122 can interact with the end user 145 in a one-on-one chat session.
  • the digital assistant 122 can interact with multiple users in a group chat session that includes multiple users.
  • the client of the application runtime portion can present an interaction window 142 of the target application 120 or digital assistant 122 in the client interface, such as a conversation window with the digital assistant 122.
  • the end user 145 can enter conversation messages in the conversation window, and the target application 120 can determine the response message from the digital assistant 122 based on the created configuration information and present it to the user in the interaction window 142.
  • the interaction messages with the target application 120 can include multimodal messages, such as text messages (e.g., natural language text), voice messages, image messages, video messages, and so on.
  • the application runtime component can be deployed locally on each end user's (145's) terminal device and/or supported by a server device.
  • the end user's (145's) terminal device can run a client with the application runtime component, which can support interaction between the user and the application runtime component provided by the server.
  • the application runtime component runs locally on the user's terminal device
  • the end user (145) can directly interact with the local application runtime component using the terminal device.
  • the server device can provide services to the client running on the terminal device based on the communication connection with the terminal device.
  • the application runtime component can present corresponding application pages to the end user (145) based on the user's (145's) actions, outputting and/or receiving application-related information from the user (145).
  • the implementation of at least some functions of the target application 120, and/or the implementation of at least some functions of the digital assistant 122 within the target application 120 may be based on models.
  • one or more models 155 may be invoked, such as the capabilities of model 155.
  • the digital assistant 122 may utilize model 155 to understand user input and provide responses to the user based on the output of model 155.
  • the application management platform 110 needs to use model 155 to test the target application 120 to determine whether the running results of the target application 120 meet expectations.
  • the application operation part may need to use model 155 to determine the response results to users.
  • model 155 may run on the application management platform 110 or other remote servers.
  • model 155 may be a machine learning model, a deep learning model, a learning model, a neural network, etc.
  • the model may be based on a language model (LM).
  • LM language model
  • Model 155 may also be based on other suitable models.
  • the application management platform 110 can run on suitable electronic devices. These electronic devices can be any type of computing-capable device, including terminal devices or server devices. Terminal devices can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio/video players, digital cameras/camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof.
  • Server devices can include, for example, computing systems/servers, such as mainframes, edge computing nodes, computing devices in cloud environments, and so on. In some embodiments, the management platform 110 can be implemented based on cloud services.
  • a target application When a target application processes a user-requested task, it may need to break the task down into multiple execution steps to output the final result. This results in a longer overall processing time. In particular, in scenarios such as data analysis, applications require multiple data processing steps to provide the final result to the user. In some cases, when the target application calls a model to process user input requests, the model's response speed is limited by the model provider, leading to long user wait times and a poor user experience. In some situations, if an error occurs during task processing, the user may wait for an extended period without receiving any results.
  • This disclosure provides an information processing scheme.
  • user input indicating a target task is received.
  • operational information for at least one of the multiple execution stages of the target task is acquired.
  • the operational information for each of the at least one execution stage is presented as a response to the user input.
  • the operational information for each of the multiple execution stages can be presented to the user, allowing the user to be aware of the execution status of at least one stage. This enables the user to understand the current processing progress of the task, reduces user waiting time, and thus improves the user experience.
  • the information processing procedures described in the embodiments of this disclosure can be implemented in an application management platform, a terminal device with the application management platform installed, and/or a server corresponding to the application management platform.
  • the description is from the perspective of the application management platform, such as the application management platform 110 shown in FIG1.
  • the user interface presented by the application management platform 110 can be presented via the terminal device of user 145, and the application management platform 110 can receive user input via the terminal device of user 145.
  • user 145 is the terminal user of the target application 120.
  • the user interface presented by the application management platform 110 can also be presented via the terminal device of user 105, and the application management platform 110 can also receive user input via the terminal device of user 105.
  • user 105 is the creator, manager, or maintainer of the target application 120.
  • the digital assistant 122 can present a conversation window to the user, through which the user can input conversation messages.
  • Conversation messages include, but are not limited to, text messages and voice messages.
  • target application 120 can determine the target function corresponding to the target task based on the user input. Specifically, target application 120 can invoke one or more models 155 to understand the intent of the user input and determine the target task based on the intent of the user input.
  • a user inputs "Analyze the sales distribution of orders for each product category on the XX platform in XX month XX year and query the daily order sales trend of product category XX".
  • Target application 120 by calling the semantic understanding model, understands the user's intent as "Analyze the sales distribution of orders for each product category on the XX platform in XX month XX year” and "Query the daily order sales trend of product category XX", thus determining that the user input corresponds to a data analysis task and a data query task. It should be understood that the aforementioned data analysis task and data query task can be combined into a single target task, or they can be treated as separate target tasks.
  • the target application 120 may be configured with functions corresponding to various types of tasks. After confirming the type of the target task, the target application 120 may determine the corresponding target function based on the type of the target task.
  • a target task may correspond to multiple target functions. Some functions are not necessary to achieve the target task. Therefore, the target application 120 may achieve the target task based on at least some of the target functions.
  • the application management platform 110 can invoke target functions to execute target tasks.
  • the execution of the target task includes multiple execution stages.
  • the target application 120 obtains the runtime information of at least one of these execution stages.
  • the runtime information of the execution stage may include, for example, the execution logic of the execution stage, the current execution status, and the execution result.
  • the user can be presented with information about the current execution phase, such as a description of the execution logic and/or the execution results. This can avoid long waiting times for the user and improve the user experience.
  • the execution results of that phase can be presented directly to the user.
  • the execution phase of the target task may include one or more data query phases, content generation phases, or data analysis phases.
  • One or more data query phases are used to acquire target data
  • the content generation phase is used to generate visual content based on the target data
  • the data analysis phase is used to analyze the target data based on user input.
  • a data analysis task may include a data query phase, a chart generation phase, a data insight generation phase, etc.
  • Querying specific data may require one or more SQL statements.
  • a single SQL statement can correspond to one data query stage, or it can correspond to multiple data query stages.
  • the content generation stage can generate various suitable visual content based on the data obtained in the data query stage for users to view.
  • visual content can include text or charts; for example, it can generate single-line text, multi-line text, one chart, or multiple charts. Based on the queried data, single-line text or one chart, or multi-line text or multiple charts, can be generated. In some embodiments, generating multi-line text or multiple charts can be considered part of the same content generation stage.
  • the data analysis phase can include generating data insights. For example, during the data analysis phase, data retrieved in the data query phase, as well as text or charts generated in the content generation phase, can be analyzed and insights can be gained.
  • the multiple execution phases of the target task may include one or more data query phases, and at least one of a content generation phase or a data analysis phase.
  • a data analysis task may include a mandatory data query phase, a mandatory chart generation phase, and an optional data insight generation phase.
  • the application management platform 110 can present runtime information of at least one execution stage to the user through a user-input interface. Alternatively, the application management platform 110 can present runtime information of at least one execution stage to the user in a new session window.
  • the runtime information of a first execution stage (e.g., any execution stage or a particular execution stage) in at least one execution stage may include the execution result of the first execution stage.
  • the application management platform 110 presents an interface 200 to the user.
  • the user input in the interface 200 "Analyze the sales distribution of orders for various product categories on the XX platform in XX month XX year and query the daily order sales trend of XX category products”
  • the query result 220 corresponding to the data query stage is presented to the user as at least part of the runtime information.
  • the operational information of a first execution phase within at least one execution phase may include descriptive information about the execution logic of the first execution phase.
  • the descriptive information about the execution logic may be used to describe each of the executed subtasks.
  • the descriptive information may describe the execution process of the subtasks.
  • a description of the execution logic can be presented to the user before the results of the execution phase are presented. For example, if the first execution phase includes multiple subtasks, a description of the next subtask can be presented to the user after the results of the current subtask are presented and before the results of the next subtask are presented.
  • the application management platform 110 may present the subtask descriptions and the results of the subtask execution sequentially on the interface 200.
  • Figure 2 shows the description information 210 and the execution result of the first subtask in the data query phase, namely table 220. Below table 220, the description information 230 for the second subtask is displayed: "Thinking: Generate SQL statement". This approach can alleviate user anxiety during waiting and improve the user experience.
  • the execution information of each execution phase can be presented to the user sequentially according to the execution order of the multiple execution phases. In some embodiments, the execution information of these execution phases can be presented sequentially in a message card.
  • the application management platform 110 sequentially presents the runtime information of each execution stage in multiple execution stages to the user, which can be presented incrementally rather than in a replacement manner.
  • the interface 300 sequentially presents the runtime information 310 of the data query stage and the runtime information 320 of the chart generation stage.
  • the runtime information for each execution phase can be presented in a streaming manner.
  • the runtime information of the current execution phase is being streamed
  • the runtime information of the previous execution phase is retained in the runtime information presentation area. For example, if the runtime information is presented in a message card, the runtime information of the previous execution phase is still retained in the message card while the runtime information of the current execution phase is being streamed.
  • the application management platform 110 in response to the start of a second execution phase in at least one execution phase, presents identification information indicating that the second execution phase is running.
  • the second execution phase described herein can be any execution phase.
  • the application management platform 110 in response to the start of the second execution phase, can display identification information 420 indicating that the second execution phase is in progress on the interface 400.
  • the identification information 420 may include various appropriate visual elements such as text and icons to prompt the user that the current execution phase is the data query phase.
  • the second execution phase includes multiple sub-phases
  • indication information of the currently executed sub-phase can be presented based on the execution status of the second execution phase.
  • the multiple sub-phases may include a query planning sub-phase, an instruction generation sub-phase, and an instruction execution sub-phase.
  • the corresponding display could be "Thinking: Query data”.
  • the corresponding display could be "Thinking, generating SQL statement”.
  • the corresponding display could be "Thinking, executing SQL”.
  • the content displayed for the aforementioned sub-stages can be shown below the execution results of the previous stage or sub-stage.
  • the identification information 420 in the interface 400 shown in Figure 4 and the identification information 330 shown in Figure 3.
  • the cause of the error can be presented. For example, in response to an error occurring in a third execution phase of at least one execution phase, the cause of the error is determined as the execution result of the third execution phase.
  • the third execution phase described herein can be any execution phase. For example, if an error occurs in the data query phase, the user can be presented with: "SQL execution failed, error code: XXXXXXXXX".
  • the ability to present operational information at each stage as described above can be called the ability to output task execution information in stages.
  • one or more functions of the target application 120 can be configured to support phased output of task execution information, i.e., whether it has the capability to output task execution information in stages.
  • phased output of task execution information i.e., whether it has the capability to output task execution information in stages.
  • this can be configured by the creator or maintainer of the target application 120.
  • a function configuration interface can be presented to the user 105, displaying options such as whether to enable phased output of task execution information.
  • this function is enabled, intermediate processing messages from any of the execution stages can be presented to the user. Other options may also be presented on this interface, such as whether to generate data and charts, whether to generate insights, and whether to enable enhanced search.
  • the option to output task execution information in stages is disabled by default in the configuration interface, but user 105 can manually enable it in the configuration interface. This approach can further improve the user experience.
  • FIG. 5 shows a flowchart of an information processing procedure 200 according to some embodiments of the present disclosure.
  • This information processing procedure 500 can be implemented on an application management platform 110.
  • the task processing procedure shown in Figure 5 will be described below with reference to Figure 1.
  • the application management platform 110 receives user input from the user indicating the target task.
  • the application management platform 110 obtains the running information of at least one of the multiple execution stages of the target task.
  • the application management platform 110 presents runtime information for at least one execution phase as a response to user input.
  • the plurality of execution phases include one or more data query phases for acquiring target data, and the plurality of execution phases further include at least one of the following: a content generation phase for generating visual content based on the target data, or a data analysis phase for analyzing the target data based on user input.
  • presenting the runtime information of at least one execution stage includes: presenting the runtime information of each execution stage in the order of execution of the at least one execution stage.
  • the runtime information of the first execution stage in at least one execution stage includes at least one of the following: the execution result of the first execution stage, or descriptive information about the execution logic of the first execution stage.
  • descriptive information is presented before the execution results of the first execution phase.
  • the process 500 further includes: in response to the start of a second execution phase in at least one execution phase, presenting identification information indicating that the second execution phase is running.
  • the second execution phase includes multiple sub-phases
  • presenting identification information indicating that the second execution phase is running includes: presenting indication information of the currently executing sub-phase among the multiple sub-phases based on the execution status of the second execution phase.
  • obtaining the runtime information of each of the at least one execution stage includes: in response to an error occurring in the third execution stage of the at least one execution stage, determining the cause of the error as the execution result of the third execution stage.
  • the process 500 further includes: in response to receiving user input, determining a target function corresponding to the target task based on the user input; and invoking the target function to execute the target task, wherein the target function is configured to support phased output of task execution information.
  • runtime information for execution phases preceding the current execution phase is maintained in the runtime information presentation area.
  • FIG. 6 shows a schematic structural block diagram of an information processing apparatus according to some embodiments of the present disclosure.
  • Apparatus 600 may be implemented in or included in application management platform 110, for example.
  • the various modules/components in apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.
  • device 600 includes an information receiving module 610, configured to receive user input indicating a target task from the user during interaction with the digital assistant.
  • Device 600 also includes an information acquisition module 620, configured to acquire operational information of at least one of a plurality of execution stages of the target task during execution.
  • Device 630 further includes an information presentation module 630, configured to present operational information of at least one execution stage as a response to the user input.
  • the plurality of execution phases include one or more data query phases for acquiring target data, and the plurality of execution phases further include at least one of the following: a content generation phase for generating visual content based on the target data, or a data analysis phase for analyzing the target data based on user input.
  • the information presentation module 630 is further configured to: sequentially present the running information of each execution stage in at least one execution stage according to the execution order of at least one execution stage.
  • the runtime information of the first execution stage in at least one execution stage includes at least one of the following: the execution result of the first execution stage, or descriptive information about the execution logic of the first execution stage.
  • descriptive information is presented before the execution results of the first execution phase.
  • the information presentation module 630 is further configured to present identification information indicating that the second execution phase is running in response to the start of the second execution phase in at least one execution phase.
  • the information presentation module 630 is further configured to: present indication information of the currently executed sub-stage among multiple sub-stages according to the execution status of the second execution stage.
  • the information presentation module 630 is further configured to: in response to an error occurring in a third execution stage of at least one execution stage, determine the cause of the error as the execution result of the third execution stage.
  • the device 600 further includes a function invocation module configured to, in response to receiving user input, determine a target function corresponding to a target task based on the user input; and invoke the target function to execute the target task, wherein the target function is configured to support phased output of task execution information.
  • a function invocation module configured to, in response to receiving user input, determine a target function corresponding to a target task based on the user input; and invoke the target function to execute the target task, wherein the target function is configured to support phased output of task execution information.
  • runtime information for execution phases preceding the current execution phase is maintained in the runtime information presentation area.
  • Figure 7 shows a block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 700 shown in Figure 7 is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein.
  • the electronic device 700 shown in Figure 7 may include or be implemented as the application management platform 110 of Figure 1, or the device 600 of Figure 6.
  • the electronic device 700 is in the form of a general-purpose electronic device.
  • Components of the electronic device 700 may include, but are not limited to, one or more processors 710 or processing units, a memory 720, a storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760.
  • the processor 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in the memory 720. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 700.
  • Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to 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 device 730 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and/or data and can be accessed within electronic device 700.
  • Electronic device 700 may further include additional removable/non-removable, volatile/non-volatile storage media.
  • disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks may be provided.
  • each drive may be connected to a bus (not shown) via one or more data media interfaces.
  • Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.
  • the communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the 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 node.
  • PCs network personal computers
  • Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc.
  • Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc.
  • Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input/output (I/O) interface (not shown).
  • I/O input/output
  • a computer-readable storage medium that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above.
  • a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
  • These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions/actions specified in one or more blocks of the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and/or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions/actions specified in one or more blocks of the flowchart and/or block diagram.
  • Computer-readable program instructions can 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 data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions/actions specified in one or more boxes of a flowchart and/or block diagram.
  • each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function.
  • the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved.
  • each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开的实施例提供了信息处理方法、装置、设备和存储介质。该方法包括:在用户与数字助手的交互期间,接收来自用户的指示目标任务的用户输入;在目标任务的执行过程中,获取目标任务的多个执行阶段中的至少一个执行阶段各自的运行信息;以及呈现至少一个执行阶段各自的运行信息作为针对用户输入的响应。

Description

信息处理方法、装置、设备和存储介质
本申请要求2024年06月25日递交的、标题为“信息处理方法、装置、设备和存储介质”、申请号为202410834071.5的中国发明专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开的示例实施例总体涉及计算机领域,特别地涉及信息处理方法、装置、设备和计算机可读存储介质。
背景技术
随着信息技术的发展,各种终端设备可以在工作和生活等方面向人们提供各种服务。终端设备中可以部署有提供服务的应用。终端设备通过应用的用户界面呈现相应的内容并实现与用户之间的交互,满足用户的各类需求。在一些情况下,用户可能在应用内发起任务处理请求。如果所请求的任务较为复杂,应用可能需要较长时间才能返回处理结果。
发明内容
在本公开的第一方面,提供了一种信息处理方法,包括:在用户与数字助手的交互期间,接收来自所述用户的指示目标任务的用户输入;在所述目标任务的执行过程中,获取所述目标任务的多个执行阶段中的至少一个执行阶段各自的运行信息;以及呈现所述至少一个执行阶段各自的运行信息作为针对所述用户输入的响应。
在本公开的第二方面,提供了一种信息处理装置,包括:信息接收模块,被配置为在用户与数字助手的交互期间,接收来自所述用户的指示目标任务的用户输入;信息获取模块,被配置为在所述目标任务的执行过程中,获取所述目标任务的多个执行阶段中的至少一个执行阶段各自的运行信息;以及信息呈现模块,被配置为呈现所述至少一个执行阶段各自的运行信息作为针对所述用户输入的响应。
在本公开的第三方面,提供了一种电子设备。该设备包括至少一个处理器;以及至少一个存储器,至少一个存储器被耦合到至少一个处理器并且存储用于由至少一个处理器执行的指令。指令在由至少一个处理器执行时使电子设备执行第一方面的方法。
在本公开的第四方面,提供了一种计算机可读存储介质。介质上存储有计算机可执行指令,计算机可执行指令被处理器执行时实现第一方面的方法。
在本公开的第五方面,提供了一种计算机程序产品。该计算机程序产品被有形地存储在计算机存储介质中并且包括计算机可执行指令,计算机可执行指令在由设备执行时使设备执行以实现第一方面的方法。
应当理解,该部分中所描述的内容并非旨在限定本公开的实施例的关键特征或重要特征,也不用于限制本公开的范围。本公开的其他特征将通过以下的描述而变得容易理解。
附图说明
结合附图并参考以下详细说明,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。在附图中,相同或相似的附图表记表示相同或相似的元素,其中:
图1示出了能够在其中实现本公开的实施例的示例环境的示意图;
图2至图4示出了根据本公开的一些实施例的逐步呈现各阶段的运行信息的示例界面的示意图;
图5示出了根据本公开的一些实施例的信息处理过程的流程图;
图6示出了根据本公开的一些实施例的用于信息处理的装置的示意性结构框图;以及
图7示出了可以实现本公开的一个或多个实施例的电子设备的框图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中示出了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反,提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
在本公开的实施例的描述中,术语“包括”及其类似用语应当理解为开放性包含,即“包括但不限于”。术语“基于”应当理解为“至少部分地基于”。术语“一个实施例”或“该实施例”应当理解为“至少一个实施例”。术语“一些实施例”应当理解为“至少一些实施例”。下文还可能包括其他明确的和隐含的定义。
在本文中,除非明确说明,“响应于A”执行一个步骤并不意味着在“A”之后立即执行该步骤,而是可以包括一个或多个中间步骤。
可以理解的是,本技术方案所涉及的数据(包括但不限于数据本身、数据的获得、使用、存储或删除)应当遵循相应法律法规及相关规定的要求。
可以理解的是,在使用本公开各实施例公开的技术方案之前,均应当根据相关法律法规通过适当的方式对本公开所涉及信息的类型、使用范围、使用场景等告知相关用户并获得相关用户的授权,其中,相关用户可以包括任何类型的权利主体,例如个人、企业、团体。
例如,在响应于接收到用户的主动请求时,向相关用户发送提示信息,以明确地提示相关用户,其请求执行的操作将需要获得和使用到相关用户的信息,从而使得相关用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供信息。
作为一种可选的但非限制性的实现方式,响应于接收到相关用户的主动请求,向相关用户发送提示信息的方式,例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或“不同意”向电子设备提供信息的选择控件。
可以理解的是,上述通知和获得用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其他满足相关法律法规的方式也可应用于本公开的实现方式中。本公开实施例数字助手相关功能的启用、获取的数据、数据的处理和存储方式等,均应获得所述用户、以及与所述用户关联的其他权利主体的提前授权,并应符合相关法律法规、权利主体间协议规则的约定。
如本文中所使用的,术语“模型”可以从训练数据中学习到相应的输入与输出之间的关联关系,从而在训练完成后可以针对给定的输入,生成对应的输出。模型的生成可以基于机器学习技术。深度学习是一种机器学习算法,通过使用多层处理器来处理输入和提供相应输出。神经网络模型是基于深度学习的模型的一个示例。在本文中,“模型”也可以被称为“机器学习模型”、“学习模型”、“机器学习网络”或“学习网络”,这些术语在本文中可互换地使用。
图1示出了本公开的实施例能够在其中实现的示例环境100的示意图。环境100涉及应用管理平台110,其可以支持应用的创建和/或应用的运行。在一些实施例中,应用管理平台110中用于支持应用创建的部分也可以称为应用创建部分。在一些实施例中,应用管理平台110中用于支持应用运行的部分也可以称为应用运行部分。
如图所示,应用创建部分可以为用户105提供应用的创建和发布环境。用户105可以被称为应用创建用户、创建者。在一些实施例中,应用创建部分可以是低代码平台,其提供应用创建的工具合集。应用创建部分可以支持对各类应用的可视化开发,从而使开发人员可以跳过手工编码的过程,加快应用的开发周期和成本。应用创建部分可以支持用户开发一个或多个类型的应用的任何适当平台,例如可以包括基于应用平台即服务(aPaaS)的平台。这样的平台能够支持用户对应用进行高效开发,实现应用创建、应用功能调整等操作。
应用创建部分可以被部署在用户105的终端设备本地,和/或可以由服务端设备来支持。例如,用户105的终端设备可以运行有应用创建部分的客户端,该客户端可以支持用户与服务端所提供的应用创建部分的交互。在应用创建部分运行在用户的终端设备本地的情况下,用户105可以直接利用终端设备与本地的应用创建部分进行交互。在应用创建部分运行在服务端设备的情况下,服务端设备可以基于与终端设备之间的通信连接,实现对终端设备中运行的客户端的服务供应。应用创建部分可以基于用户105的操作而向用户105呈现相应的页面130,以向用户105输出和/或从用户105接收与应用创建相关的信息。
在一些实施例中,应用创建部分可以关联到相应的数据库,其中存储应用创建部分所支持的应用创建过程所需的数据或信息。例如,数据库可以存储用于组成应用的各个功能模块对应的代码和描述信息等。应用创建部分还可以对数据库中的功能模块执行调用、增加、删除、更新等操作。数据库还可以存储对不同功能块可执行的操作。示例性的,在要创建应用的场景,应用创建部分可以从数据库中调用相应的功能块来搭建应用。
在本公开的实施例中,用户105可以在应用创建部分上根据需要创建目标应用120,并发布目标应用120。目标应用120可被发布到任一适当的应用运行部分,只要应用运行部分能够支持目标应用120的运行。在发布后,目标应用120可以用于由一个或多个终端用户145进行操作。终端用户145可以通过相关联的终端设备146来操作目标应用120,并进而与应用管理平台110进行交互。终端用户145可以被称目标应用120的终端用户。在一些实施例中,目标应用120可以包括或者被实现为数字助手122。
数字助手122可以被配置为具有智能对话的能力。在图所示的示例中,数字助手122可以被集成在目标应用120内,作为目标应用120的一部分来协助执行目标应用120内的任务处理。在其他示例中,数字助手122可以被配置为独立运行的应用,例如网页应用或其他类型的应用。在这样的示例中,数字助手122与目标应用120可以被视为同一应用。数字助手122被提供用于协助用户在不同应用、场景下的各类任务处理需求。在与数字助手122的交互过程中,用户输入交互消息,并且数字助手122响应于用户输入来提供回复消息。通常,数字助手122能够支持用户以自然语言方式输入提问,并基于对自然语言输入的理解和逻辑推理能力来执行任务和提供回复。
在一些实施例中,数字助手122可以作为终端用户145的联系人与之交互。例如,数字助手122可以被实现在即时消息(IM)应用中。数字助手122可以在与终端用户145的单聊会话中与终端用户145交互。在一些实施例中,数字助手122可以在包括多个用户的群聊会话中与多个用户交互。
对于每个终端用户145,应用运行部分的客户端可以在客户端界面中呈现目标应用120或数字助手122的交互窗口142,例如与数字助手122的会话窗口。终端用户145可以在会话窗口中输入会话消息,目标应用120可以基于所创建的配置信息,来确定数字助手122的回复消息并在交互窗口142中呈现给用户。在一些实施例中,取决于目标应用120的配置,与目标应用120的交互消息可以包括多模态形式的消息,诸如文本消息(例如,自然语言文本)、语音消息、图像消息、视频消息,等等。
与应用创建部分类似,应用运行部分可以被部署在每个终端用户145的终端设备本地,和/或可以由服务端设备来支持。例如,终端用户145的终端设备可以运行有应用运行部分的客户端,该客户端可以支持用户与服务端所提供的应用运行部分的交互。在应用运行部分运行在用户的终端设备本地的情况下,终端用户145可以直接利用终端设备与本地的应用运行部分进行交互。在应用运行部分运行在服务端设备的情况下,服务端设备可以基于与终端设备之间的通信连接,实现对终端设备中运行的客户端的服务供应。应用运行部分可以基于终端用户145的操作而向终端用户145呈现相应的应用页面,以向终端用户145输出和/或从终端用户145接收与应用使用相关的信息。
在一些实施例中,目标应用120的至少部分功能的实现,和/或目标应用120中的数字助手122的至少部分功能的实现可以基于模型来实现。在目标应用120的创建或运行过程中,可以调用一个或多个模型155,例如模型155的能力。在目标应用120中,数字助手122可以利用模型155来理解用户输入,并基于模型155的输出来提供对用户的回复。
在创建过程中,应用管理平台110对目标应用120的测试需要利用模型155来确定目标应用120的运行结果符合预期。在运行过程中,响应于目标应用120的用户的不同操作请求,应用运行部分可能需要利用模型155来确定对用户的响应结果。
虽然被示出为独立于应用管理平台110,但一个或多个模型155可以运行在应用管理平台110上,或者其他远端服务器。在一些实施例中,模型155可以是机器学习模型、深度学习模型、学习模型、神经网络等。在一些实施例中,模型可以基于语言模型(LM)。语言模型通过从大量语料中学习,能够具备问答能力。模型155也可以基于其他适当的模型。
应用管理平台110可以运行在适当的电子设备。这里的电子设备可以是任何类型的具有计算能力的设备,包括终端设备或服务端设备。终端设备可以是任何类型的移动终端、固定终端或便携式终端,包括移动手机、台式计算机、膝上型计算机、笔记本计算机、上网本计算机、平板计算机、媒体计算机、多媒体平板、个人通信系统(PCS)设备、个人导航设备、个人数字助理(PDA)、音频/视频播放器、数码相机/摄像机、定位设备、电视接收器、无线电广播接收器、电子书设备、游戏设备或者前述各项的任何组合,包括这些设备的配件和外设或者其任何组合。服务端设备例如可以包括计算系统/服务器,诸如大型机、边缘计算节点、云环境中的计算设备,等等。在一些实施例中,管理平台110可以基于云服务来实现。
应当理解,仅出于示例性的目的描述环境100的结构和功能,而不暗示对于本公开的范围的任何限制。例如,虽然图示出了与应用创建部分交互的单个用户和与应用运行部分交互的单个用户,但实际上可以多个用户访问应用管理平台110来各自创建数字助手,并且每个数字助手可以被用于与多个用户进行交互。
目标应用处理用户输入所请求的任务时,可能需要将任务拆解为多个执行步骤才能输出最终结果。这使得结果的整体返回耗时较长。特别地,在诸如数据分析等场景中,应用需要多个数据处理步骤才能向用户提供最终结果。在一些情况下,目标应用调用模型处理用户输入的操作请求时,模型本身的响应速度受限于模型提供方,导致用户等待时间较长,使用体验较差。在一些情况下,如果任务的处理过程中出错,用户可能等待较长时间而没有得到任何结果。
在本公开实施例中,提供了一种信息处理方案。在该方案中,在用户与数字助手的交互期间,接收来自用户的指示目标任务的用户输入。在目标任务的执行过程中,获取目标任务的多个执行阶段中的至少一个执行阶段各自的运行信息。呈现至少一个执行阶段各自的运行信息作为针对用户输入的响应。通过此种方式,可以在执行用户指示的目标任务时,将多个执行阶段中的至少一个执行阶段各自的运行信息向用户呈现,使用户知晓至少一个执行阶段的执行情况。这使得用户能够了解任务的当前处理进度,减少了用户等待时间,从而提升了用户体验。
以下将参考附图的示例来详细描述本公开的一些示例实施例。应当理解,附图中示出的页面仅仅是示例,实际可以存在各种页面设计。页面中的各个图形元素可以具有不同的布置和不同的视觉表示,其中的一个或多个元素可以省略或被替换,并且还可以存在一个或多个其他元素。本公开的实施例在此方面不受限制。
本公开的实施例所描述的信息处理过程可以被实现在应用管理平台,安装有应用管理平台的终端设备和/或应用管理平台对应的服务端。在下文的示例中,出于讨论的需要,从应用管理平台的角度来描述,例如图1所示的应用管理平台110。应用管理平台110所呈现的用户界面,可以经由用户145的终端设备被呈现,并且应用管理平台110可以经由用户145的终端设备来接收用户输入。在本公开的一些实施例中,用户145为目标应用120的终端用户。应当理解,应用管理平台110所呈现的用户界面,也可以经由用户105的终端设备被呈现,并且应用管理平台110也可以经由用户105的终端设备来接收用户输入。在本公开的一些实施例中,用户105为目标应用120的创建者、管理者或维护者。
下面结合附图来对本公开的实施例进行详细介绍。
数字助手122可以向用户呈现会话窗口,用户可通过会话窗口输入会话消息。会话消息例如包括但不限于文本消息、语音消息等。
目标应用120响应于接收到用户输入,可以基于用户输入确定与目标任务对应的目标功能。具体地,目标应用120可以调用一个或多个模型155理解用户输入的意图,并根据用户输入的意图确定目标任务。
例如,用户输入为“分析XX年XX月XX平台各个商品类别的订单的销售额分布以及查询XX类别商品的每天订单销售趋势”。目标应用120通过调用语义理解模型理解用户意图为:“分析XX年XX月XX平台各个商品类别的订单的销售额分布”和“查询XX类别商品的每天订单销售趋势”,则可确定用户输入对应于数据分析任务和数据查询任务。应当理解,上述的数据分析任务和数据查询任务可以合并作为一个目标任务,也可以分别作为一个目标任务。
在一些实施例中,目标应用120中可以配置有各类型任务对应的功能。在确认目标任务的类型后,目标应用120可以基于目标任务的类型来确定对应的目标功能。
应当理解,一个目标任务可以对应有多个目标功能,某些功能并不是实现目标任务所必须的功能,因此,目标应用120可以基于至少部分目标功能来实现目标任务。
应用管理平台110可以调用目标功能来执行目标任务。目标任务的执行包括多个执行阶段。在目标任务的执行过程中,目标应用120获取这些执行阶段中的至少一个执行阶段的运行信息。执行阶段的运行信息例如可以包括执行阶段的执行逻辑、当前执行状态、执行结果等。
在目标任务的执行过程中,可以向用户呈现当前正在进行的执行阶段的运行信息,例如执行逻辑的描述和/或执行结果。这可以避免用户长时间的等待,以提升用户体验。在一些实施例中,为便于呈现界面的简洁或在执行阶段比较简单的情况下,可以直接向用户呈现该执行阶段的执行结果。
在一些实施例中,目标任务的执行阶段可以包括:一个或多个数据查询阶段、内容生成阶段或数据分析阶段。一个或多个数据查询阶段用于获取目标数据,内容生成阶段用于根据目标数据生成视觉内容,数据分析阶段用于根据用户输入分析目标数据。以数据分析任务为例,数据分析任务可以包括数据查询阶段、图表生成阶段、数据洞察生成阶段等。
查询某个数据可能需要用到一个或多个SQL语句。一个SQL语句可以对应于一个数据查询阶段,或者一个SQL语句可以对应多个数据查询阶段。
内容生成阶段可以基于数据查询阶段查询得到的数据,生成各种合适的视觉内容,以供用户查看。这样的视觉内容可以包括文本或图表,例如,可以生成单行文本、多行文本、一个图表、多个图表等。基于所查询到的数据可以生成单行文本或一个图表,也可以生成多行文本或多个图表。在一些实施例中,生成多行文本或多个图表可以视为属于同一内容生成阶段。
数据分析阶段例如可以包括生成数据洞察。例如,在数据分析阶段,可以对数据查询阶段查询到的数据、内容生成阶段生成的文本或图表进行分析和洞察。
在一些实施例中,目标任务的多个执行阶段可以包括一个或多个数据查询阶段,并且还包括内容生成阶段或数据分析阶段中的至少一个阶段。例如,数据分析任务可以包括必选的数据查询阶段、必选的图表生成阶段和可选的数据洞察生成阶段。
应用管理平台110可以在用户输入的界面中向用户呈现至少一个执行阶段的运行信息。备选地,应用管理平台110可以在新的会话窗口中向用户呈现至少一个执行阶段的运行信息。
在一些实施例中,至少一个执行阶段中的第一执行阶段(例如,任一执行阶段或某个执行阶段)的运行信息可以包括第一执行阶段的执行结果。如图2所示,应用管理平台110向用户呈现界面200。在界面200中响应于用户输入:“分析XX年XX月XX平台各个商品类别的订单的销售额分布以及查询XX类别商品的每天订单销售趋势”,向用户呈现对应于数据查询阶段的查询结果220作为运行信息的至少一部分。
备选地或附加地,在一些实施例中,至少一个执行阶段中的第一执行阶段的运行信息可以包括对第一执行阶段的执行逻辑的描述信息。例如,如果第一执行阶段包括多个子任务,执行逻辑的描述信息可以用于描述所执行的各个子任务。例如,描述信息可以描述子任务的执行过程。通过呈现对执行逻辑的描述信息,用户可以知晓整个执行阶段的执行逻辑。
在一些实施例中,可以在呈现该执行阶段的运行结果之前,向用户呈现执行逻辑的描述信息。例如,在第一执行阶段中包括多个子任务的情况下,可以在呈现当前子任务的运行结果之后、呈现下一个子任务的运行结果之前,向用户呈现下一个子任务的描述。
在一些实施例中,应用管理平台110可以按照子任务的描述信息和子任务的运行结果的先后顺序,依次在界面200中进行呈现。
继续参考图2,数据查询阶段中需要生成多个SQL语句,每个SQL语句对应一个查询结果,图2中呈现了数据查询阶段第一个子任务的描述信息210和第一个子任务的运行结果,即表格220。此时,在表格220下方呈现有第二个子任务的描述信息230:“正在思考:生成SQL语句”。以此方式,可以缓解用户的等待焦虑,提升用户体验。
上述示例仅示出了应用管理平台110呈现一个执行阶段的运行结果的方式。在需要向用户呈现多个执行阶段的运行结果时,可以按照多个执行阶段的执行顺序,依次向用户呈现多个执行阶段中每个执行阶段的运行信息。在一些实施例中,这些执行阶段的运行信息可以依次呈现在消息卡片中。
在一些实施例中,应用管理平台110依次向用户呈现多个执行阶段中每个执行阶段的运行信息,可以是递增式地进行呈现,而非替换式呈现。如图3所示,界面300中按照先后顺序,依次呈现了数据查询阶段的运行信息310和生成图表阶段的运行信息320。
每个执行阶段的运行信息可以是流式呈现的。在一些实施例中,在流式呈现当前执行阶段的运行信息期间,当前执行阶段之前的执行阶段的运行信息被保持在运行信息呈现区域中。例如,如果运行信息被呈现在消息卡片中,在当前执行阶段的运行信息被流式呈现的同时,前一执行阶段的运行信息仍然被保留在消息卡片中。
在一些实施例中,应用管理平台110响应于至少一个执行阶段中的第二执行阶段的开始,呈现第二执行阶段正在运行的标识信息。注意,这里描述的第二执行阶段可以是任意执行阶段。
如图4所示,应用管理平台110响应于第二执行阶段的开始,可以在界面400中处呈现第二执行阶段正在运行的标识信息420。例如,应用管理平台110正在执行数据查询阶段,此时标识信息420可以包括文本、图标等各种合适的视觉元素,以提示用户此时正在执行的执行阶段为数据查询阶段。
在一些实施例中,如果第二执行阶段包括多个子阶段,可以根据第二执行阶段的执行状态,呈现多个子阶段中当前被执行的子阶段的指示信息。以数据查询阶段为例,多个子阶段可以包括查询规划子阶段、指令生成子阶段以及指令执行子阶段。在查询规划子阶段,可以对应显示的是“正在思考:查询数据”。在指令生成阶段,可以对应显示的是“正在思考,生成SQL语句”。在指令执行阶段,可以对应显示的是“正在思考,执行SQL”。
上述多个子阶段对应显示的内容可以被显示于上一个执行阶段或上一个子阶段的运行结果的下方。例如,图4示出的界面400中标识信息420,以及图3示出了标识信息330。
在一些实施例中,如果某一执行阶段发生错误,可以呈现错误的原因。例如,响应于至少一个执行阶段中的第三执行阶段发生错误,确定错误的原因作为第三执行阶段的执行结果。注意,这里描述的第三执行阶段可以是任意执行阶段。例如,如果数据查询阶段发生错误,可以向用户呈现:“SQL执行失败,错误码:XXXXXXXXXX”。
以上所描述的这种逐个阶段的呈现各个阶段的运行信息的能力可以称为分阶段输出任务执行信息的能力。
在一些实施例中,可以配置目标应用120的一个或多个功能是否支持分阶段输出任务执行信息,也即是否具有分阶段输出任务执行信息的能力。例如,可以由目标应用120创建者或维护者配置。示例性地,可以向用户105呈现功能配置界面,该界面上呈现有可选项,例如是否开启分阶段输出任务执行信息等。该功能开启后,可以将执行至少一个执行阶段中任意执行阶段的中间处理消息呈现给用户。该界面上还可以呈现其他可选项,例如是否生成数据和图表、是否生成洞察、是否开启增强检索等。
在一些实施例中,配置界面中配置是否分阶段输出任务执行信息默认不开启,用户105可以在配置界面中手动开启。以此方式,可进一步改善用户体验。
图5示出了根据本公开的一些实施例的信息处理过程200的流程图。该信息处理过程500可以在应用管理平台110被实施。以下结合图1来描述图5示出的任务处理过程。
在框510,在用户与数字助手122的交互期间,应用管理平台110接收来自用户的指示目标任务的用户输入。
在框520,在目标任务的执行过程中,应用管理平台110获取目标任务的多个执行阶段中的至少一个执行阶段各自的运行信息。
在框530,应用管理平台110呈现至少一个执行阶段各自的运行信息作为针对用户输入的响应。
在一些实施例中,多个执行阶段包括用于获取目标数据的一个或多个数据查询阶段,并且多个执行阶段还包括以下至少一项:内容生成阶段,用于根据目标数据生成视觉内容,或数据分析阶段,用于根据用户输入分析目标数据。
在一些实施例中,呈现至少一个执行阶段各自的运行信息包括:按照至少一个执行阶段的执行顺序,依次呈现至少一个执行阶段中的每个执行阶段的运行信息。
在一些实施例中,至少一个执行阶段中的第一执行阶段的运行信息包括以下至少一项:第一执行阶段的执行结果,或对第一执行阶段的执行逻辑的描述信息。
在一些实施例中,描述信息在第一执行阶段的执行结果之前被呈现。
在一些实施例中,该过程500还包括:响应于至少一个执行阶段中的第二执行阶段的开始,呈现第二执行阶段正在运行的标识信息。
在一些实施例中,第二执行阶段包括多个子阶段,并且呈现第二执行阶段正在运行的标识信息包括:根据第二执行阶段的执行状态,呈现多个子阶段中当前被执行的子阶段的指示信息。
在一些实施例中,获取至少一个执行阶段各自的运行信息包括:响应于至少一个执行阶段中的第三执行阶段发生错误,确定错误的原因作为第三执行阶段的执行结果。
在一些实施例中,该过程500还包括:响应于接收到用户输入,基于用户输入确定与目标任务对应的目标功能;以及调用目标功能来执行目标任务,其中目标功能被配置为支持分阶段输出任务执行信息。
在一些实施例中,在流式呈现当前执行阶段的运行信息期间,当前执行阶段之前的执行阶段的运行信息被保持在运行信息呈现区域中。
图6示出了根据本公开的一些实施例的信息处理装置的示意性结构框图。装置600例如可以被实现在或被包括在应用管理平台110中。装置600中的各个模块/组件可以由硬件、软件、固件或者它们的任何组合来实现。
如图所示,装置600包括信息接收模块610,被配置为在用户与数字助手的交互期间,接收来自用户的指示目标任务的用户输入。装置600还包括信息获取模块620,被配置为在目标任务的执行过程中,获取目标任务的多个执行阶段中的至少一个执行阶段各自的运行信息。装置630还包括信息呈现模块630,被配置为呈现至少一个执行阶段各自的运行信息作为针对用户输入的响应。
在一些实施例中,多个执行阶段包括用于获取目标数据的一个或多个数据查询阶段,并且多个执行阶段还包括以下至少一项:内容生成阶段,用于根据目标数据生成视觉内容,或数据分析阶段,用于根据用户输入分析目标数据。
在一些实施例中,信息呈现模块630还被配置为:按照至少一个执行阶段的执行顺序,依次呈现至少一个执行阶段中的每个执行阶段的运行信息。
在一些实施例中,至少一个执行阶段中的第一执行阶段的运行信息包括以下至少一项:第一执行阶段的执行结果,或对第一执行阶段的执行逻辑的描述信息。
在一些实施例中,描述信息在第一执行阶段的执行结果之前被呈现。
在一些实施例中,信息呈现模块630还被配置为:响应于至少一个执行阶段中的第二执行阶段的开始,呈现第二执行阶段正在运行的标识信息。
在一些实施例中,信息呈现模块630还被配置为:根据第二执行阶段的执行状态,呈现多个子阶段中当前被执行的子阶段的指示信息。
在一些实施例中,信息呈现模块630还被配置为:响应于至少一个执行阶段中的第三执行阶段发生错误,确定错误的原因作为第三执行阶段的执行结果。
在一些实施例中,装置600还包括功能调用模块,被配置为响应于接收到用户输入,基于用户输入确定与目标任务对应的目标功能;以及调用目标功能来执行目标任务,其中目标功能被配置为支持分阶段输出任务执行信息。
在一些实施例中,在流式呈现当前执行阶段的运行信息期间,当前执行阶段之前的执行阶段的运行信息被保持在运行信息呈现区域中。
图7示出了其中可以实现本公开的一个或多个实施例的电子设备700的框图。应当理解,图7所示出的电子设备700仅仅是示例性的,而不应当构成对本文所描述的实施例的功能和范围的任何限制。图7所示出的电子设备700可以包括或被实现为图1的应用管理平台110,或图6的装置600。
如图7所示,电子设备700是通用电子设备的形式。电子设备700的组件可以包括但不限于一个或多个处理器710或处理单元、存储器720、存储设备730、一个或多个通信单元740、一个或多个输入设备750以及一个或多个输出设备760。处理器710可以是实际或虚拟处理器并且能够根据存储器720中存储的程序来执行各种处理。在多处理器系统中,多个处理器并行执行计算机可执行指令,以提高电子设备700的并行处理能力。
电子设备700通常包括多个计算机存储介质。这样的介质可以是电子设备700可访问的任何可以获取的介质,包括但不限于易失性和非易失性介质、可拆卸和不可拆卸介质。存储器720可以是易失性存储器(例如寄存器、高速缓存、随机访问存储器(RAM))、非易失性存储器(例如,只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、闪存)或它们的某种组合。存储设备730可以是可拆卸或不可拆卸的介质,并且可以包括机器可读介质,诸如闪存驱动、磁盘或者任何其他介质,其可以能够用于存储信息和/或数据并且可以在电子设备700内被访问。
电子设备700可以进一步包括另外的可拆卸/不可拆卸、易失性/非易失性存储介质。尽管未在图7中示出,可以提供用于从可拆卸、非易失性磁盘(例如“软盘”)进行读取或写入的磁盘驱动和用于从可拆卸、非易失性光盘进行读取或写入的光盘驱动。在这些情况中,每个驱动可以由一个或多个数据介质接口被连接至总线(未示出)。存储器720可以包括计算机程序产品725,其具有一个或多个程序模块,这些程序模块被配置为执行本公开的各种实施例的各种方法或动作。
通信单元740实现通过通信介质与其他电子设备进行通信。附加地,电子设备700的组件的功能可以以单个计算集群或多个计算机器来实现,这些计算机器能够通过通信连接进行通信。因此,电子设备700可以使用与一个或多个其他服务器、网络个人计算机(PC)或者另一个网络节点的逻辑连接来在联网环境中进行操作。
输入设备750可以是一个或多个输入设备,例如鼠标、键盘、追踪球等。输出设备760可以是一个或多个输出设备,例如显示器、扬声器、打印机等。电子设备700还可以根据需要通过通信单元740与一个或多个外部设备(未示出)进行通信,外部设备诸如存储设备、显示设备等,与一个或多个使得用户与电子设备700交互的设备进行通信,或者与使得电子设备700与一个或多个其他电子设备通信的任何设备(例如,网卡、调制解调器等)进行通信。这样的通信可以经由输入/输出(I/O)接口(未示出)来执行。
根据本公开的示例性实现方式,提供了一种计算机可读存储介质,其上存储有计算机可执行指令,其中计算机可执行指令被处理器执行以实现上文描述的方法。根据本公开的示例性实现方式,还提供了一种计算机程序产品,计算机程序产品被有形地存储在非瞬态计算机可读介质上并且包括计算机可执行指令,而计算机可执行指令被处理器执行以实现上文描述的方法。
这里参照根据本公开实现的方法、装置、设备和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其他可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
可以把计算机可读程序指令加载到计算机、其他可编程数据处理装置、或其他设备上,使得在计算机、其他可编程数据处理装置或其他设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其他可编程数据处理装置、或其他设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本公开的多个实现的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
以上已经描述了本公开的各实现,上述说明是示例性的,并非穷尽性的,并且也不限于所公开的各实现。在不偏离所说明的各实现的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实现的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文公开的各个实现方式。

Claims (14)

  1. 一种信息处理方法,包括:
    在用户与数字助手的交互期间,接收来自所述用户的指示目标任务的用户输入;
    在所述目标任务的执行过程中,获取所述目标任务的多个执行阶段中的至少一个执行阶段各自的运行信息;以及
    呈现所述至少一个执行阶段各自的运行信息作为针对所述用户输入的响应。
  2. 根据权利要求1所述的方法,其中所述多个执行阶段包括用于获取目标数据的一个或多个数据查询阶段,并且所述多个执行阶段还包括以下至少一项:
    内容生成阶段,用于根据所述目标数据生成视觉内容,或
    数据分析阶段,用于根据所述用户输入分析所述目标数据。
  3. 根据权利要求1所述的方法,其中呈现所述至少一个执行阶段各自的运行信息包括:
    按照所述至少一个执行阶段的执行顺序,依次呈现所述至少一个执行阶段中的每个执行阶段的运行信息。
  4. 根据权利要求1所述的方法,其中所述至少一个执行阶段中的第一执行阶段的运行信息包括以下至少一项:
    所述第一执行阶段的执行结果,或
    对所述第一执行阶段的执行逻辑的描述信息。
  5. 根据权利要求4所述的方法,其中所述描述信息在所述第一执行阶段的执行结果之前被呈现。
  6. 根据权利要求1所述的方法,还包括:
    响应于所述至少一个执行阶段中的第二执行阶段的开始,呈现所述第二执行阶段正在运行的标识信息。
  7. 根据权利要求6所述的方法,其中所述第二执行阶段包括多个子阶段,并且呈现所述第二执行阶段正在运行的标识信息包括:
    根据所述第二执行阶段的执行状态,呈现所述多个子阶段中当前被执行的子阶段的指示信息。
  8. 根据权利要求1所述的方法,其中获取所述至少一个执行阶段各自的运行信息包括:
    响应于所述至少一个执行阶段中的第三执行阶段发生错误,确定所述错误的原因作为所述第三执行阶段的执行结果。
  9. 根据权利要求1所述的方法,还包括:
    响应于接收到所述用户输入,基于所述用户输入确定与所述目标任务对应的目标功能;以及
    调用所述目标功能来执行所述目标任务,其中所述目标功能被配置为支持分阶段输出任务执行信息。
  10. 根据权利要求1所述的方法,其中在流式呈现当前执行阶段的运行信息期间,所述当前执行阶段之前的执行阶段的运行信息被保持在运行信息呈现区域中。
  11. 一种信息处理装置,包括:
    信息接收模块,被配置为在用户与数字助手的交互期间,接收来自所述用户的指示目标任务的用户输入;
    信息获取模块,被配置为在所述目标任务的执行过程中,获取所述目标任务的多个执行阶段中的至少一个执行阶段各自的运行信息;以及
    信息呈现模块,被配置为呈现所述至少一个执行阶段各自的运行信息作为针对所述用户输入的响应。
  12. 一种电子设备,包括:
    至少一个处理器;以及
    至少一个存储器,至少一个存储器被耦合到至少一个处理器并且存储用于由至少一个处理器执行的指令,指令在由至少一个处理器执行时使电子设备执行根据权利要求1至10中任一项的方法。
  13. 一种计算机可读存储介质,其上存储有计算机可执行指令,计算机可执行指令可由处理器执行以实现根据权利要求1至10中任一项的方法。
  14. 一种计算机程序产品,所述计算机程序产品被有形地存储在计算机存储介质中并且包括计算机可执行指令,所述计算机可执行指令在由设备执行时使所述设备执行根据权利要求1-10中任一项所述的方法。
PCT/CN2025/079319 2024-06-25 2025-02-26 信息处理方法、装置、设备和存储介质 Pending WO2026001042A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410834071.5A CN118838519A (zh) 2024-06-25 2024-06-25 信息处理方法、装置、设备和存储介质
CN202410834071.5 2024-06-25

Publications (1)

Publication Number Publication Date
WO2026001042A1 true WO2026001042A1 (zh) 2026-01-02

Family

ID=93144935

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2025/079319 Pending WO2026001042A1 (zh) 2024-06-25 2025-02-26 信息处理方法、装置、设备和存储介质

Country Status (2)

Country Link
CN (1) CN118838519A (zh)
WO (1) WO2026001042A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118838519A (zh) * 2024-06-25 2024-10-25 北京字跳网络技术有限公司 信息处理方法、装置、设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117196039A (zh) * 2023-09-26 2023-12-08 抖音视界有限公司 信息处理的方法、装置、设备和计算机可读存储介质
CN117271077A (zh) * 2023-09-06 2023-12-22 百度时代网络技术(北京)有限公司 任务执行方法、装置、电子设备及计算机可读存储介质
CN117950531A (zh) * 2022-10-31 2024-04-30 第四范式(北京)技术有限公司 信息交互方法和装置、系统、可读存储介质
CN118838519A (zh) * 2024-06-25 2024-10-25 北京字跳网络技术有限公司 信息处理方法、装置、设备和存储介质

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117235222A (zh) * 2023-09-18 2023-12-15 北京奇艺世纪科技有限公司 基于模型的交互方法、装置、电子设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117950531A (zh) * 2022-10-31 2024-04-30 第四范式(北京)技术有限公司 信息交互方法和装置、系统、可读存储介质
CN117271077A (zh) * 2023-09-06 2023-12-22 百度时代网络技术(北京)有限公司 任务执行方法、装置、电子设备及计算机可读存储介质
CN117196039A (zh) * 2023-09-26 2023-12-08 抖音视界有限公司 信息处理的方法、装置、设备和计算机可读存储介质
CN118838519A (zh) * 2024-06-25 2024-10-25 北京字跳网络技术有限公司 信息处理方法、装置、设备和存储介质

Also Published As

Publication number Publication date
CN118838519A (zh) 2024-10-25

Similar Documents

Publication Publication Date Title
WO2022055533A1 (en) Document creation and editing via automated assistant interactions
US20250138993A1 (en) Debugging a digital assistant
WO2026001052A1 (zh) 任务处理方法、装置、设备和计算机可读存储介质
WO2024240105A1 (zh) 用于信息处理的方法、装置、设备和存储介质
WO2026001042A1 (zh) 信息处理方法、装置、设备和存储介质
US9465587B2 (en) Preserving restful web service structure in a client consuming the restful web service
WO2026040472A1 (zh) 应用配置方法、信息处理方法、装置、设备和存储介质
WO2026001059A1 (zh) 任务处理方法、装置、设备和计算机可读存储介质
WO2026001060A1 (zh) 信息处理方法、装置、设备和存储介质
WO2025223030A1 (zh) 信息处理方法、装置、设备和存储介质
WO2026040475A1 (zh) 数据处理方法、装置、设备和可读存储介质
WO2025223031A1 (zh) 信息处理方法、装置、设备和存储介质
WO2026000958A1 (zh) 用于人机对话的方法、装置、设备、介质和程序产品
JP2026512322A (ja) アプリケーション作成のための方法、装置、機器及び記憶媒体
CN120744094B (zh) 用于项目管理中的数据处理方法、装置、设备和存储介质
CN113687881A (zh) 元数据调用方法、装置、电子设备及存储介质
CN119002745B (zh) 用于会话交互的方法、装置、设备和存储介质
US20260050746A1 (en) Message processing
US20260093702A1 (en) Method for data processing, apparatus, device, storage medium and program product
US12242742B1 (en) Storing data in a digital assistant
WO2026040535A1 (zh) 用于应用创建的方法、装置、设备、介质和程序产品
US20260050437A1 (en) Application creation
US20250150417A1 (en) Method, apparatus, device and storage medium for session interaction
US20250335222A1 (en) Digital assistant creation
WO2025098500A1 (zh) 用于会话交互的方法、装置、设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 25824437

Country of ref document: EP

Kind code of ref document: A1