Method, apparatus, device and storage medium for task processing

By detecting the correlation between the target task and the second user, and utilizing the second digital assistant to autonomously execute the task, the problem of insufficient interaction efficiency and flexibility of digital assistants is solved, achieving more efficient information processing and improved user experience.

CN119003108BActive Publication Date: 2026-03-03BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing technologies, digital assistants lack sufficient interaction efficiency and flexibility, especially in multi-business component collaboration or complex scenarios, failing to effectively improve information processing efficiency. Furthermore, traditional interaction methods rely on users' immediate commands, resulting in a poor user experience.

Method used

By detecting messages from the first digital assistant, the correlation between the target task and the second user is determined, and the second digital assistant is used to autonomously execute at least a part of the task, thereby enhancing the intelligence and autonomy of the digital assistant.

Benefits of technology

It improves the intelligence and autonomy of digital assistants, enhances their work efficiency in multi-business component collaboration and complex scenarios, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003108B_ABST
    Figure CN119003108B_ABST
Patent Text Reader

Abstract

According to embodiments of this disclosure, a method, apparatus, device, and storage medium for task processing are provided. In the method for task processing, a first message sent by a first digital assistant corresponding to at least a first user is detected, the first message indicating a target task; an association between the target task indicated by the first message and a second user is determined; and in response to determining that the target task is associated with the second user, at least a portion of the target task is executed using a second digital assistant corresponding to the second user, based on the first message. In this manner, the intelligence of the digital assistant can be improved, the flexibility of using the digital assistant can be increased, and the task processing efficiency based on the digital assistant can be enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatus, devices, and computer-readable storage media for task processing. Background Technology

[0002] With the rapid development of internet technology, the internet has become a crucial platform for people to access and share content. Users can access the internet through terminal devices to enjoy various internet services. Terminal devices present relevant content and interact with users through the user interface of business components, providing services as well. Therefore, rich and varied interactive interfaces are an important means of enhancing user experience. With the development of information technology, various terminal devices can provide various services to people in work and life. For example, business components that provide services can be deployed in terminal devices. Terminal devices or business components can provide users with digital assistant-like functions to assist users in using the terminal devices or business components. How to improve the flexibility of user interaction with digital assistants is a technical issue that needs to be explored. Summary of the Invention

[0003] In a first aspect of this disclosure, a method for task processing is provided. The method includes: detecting a first message sent by a first digital assistant corresponding to at least a first user, the first message indicating a target task; determining an association between the target task indicated by the first message and a second user; and, in response to determining that the target task is associated with the second user, performing at least a portion of the target task using a second digital assistant corresponding to the second user, based on the first message.

[0004] In a second aspect of this disclosure, a task processing method is provided. The method includes: a second digital assistant acquiring first event information triggered by a first digital assistant; and the second digital assistant executing a first task based on the first event information and outputting first information related to the first task.

[0005] In a third aspect of this disclosure, an apparatus for task processing is provided. The apparatus includes: a message detection module configured to detect a first message sent by a first digital assistant corresponding to at least a first user, the first message indicating a target task; an association determination module configured to determine an association between the target task indicated by the first message and a second user; and a task execution module configured to, in response to determining that the target task is associated with the second user, execute at least a portion of the target task using a second digital assistant corresponding to the second user, based on the first message.

[0006] In a fourth aspect of this disclosure, an apparatus for task processing is provided. The apparatus includes: an information acquisition module configured to enable a second digital assistant to acquire first event information triggered by a first digital assistant; and an execution processing module configured to enable the second digital assistant to execute a first task based on the first event information and output first information related to the first task.

[0007] In a fifth aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the methods of the first aspect and / or the methods of the second aspect.

[0008] In a sixth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect and / or the method of the second aspect.

[0009] It should be understood that the description in this section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0010] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

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

[0012] Figure 2 A flowchart of a process for task processing according to some embodiments of the present disclosure is shown;

[0013] Figure 3 A flowchart of a process for task processing according to other embodiments of the present disclosure is shown;

[0014] Figure 4 A block diagram of an apparatus for task processing according to some embodiments of the present disclosure is shown;

[0015] Figure 5 Block diagrams of apparatus for task processing according to other embodiments of the present disclosure are shown; and

[0016] Figure 6 A block diagram of an electronic device that may implement one or more embodiments of the present disclosure is shown. Detailed Implementation

[0017] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0018] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0019] In this document, unless explicitly stated otherwise, 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.

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

[0021] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, 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. Among them, relevant users may include any type of rights holder, such as individuals, enterprises, and groups.

[0022] For example, in response to receiving an active request from a user, 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.

[0023] As an optional but non-restrictive implementation, in response to a user's active request, a prompt message can be sent to the user, such as a pop-up window, where the prompt message can be presented in text format. Furthermore, 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.

[0024] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure. The activation of digital assistant-related functions, the acquisition of data, the processing and storage of data, etc., in the embodiments of this disclosure shall all require prior authorization from the user and other rights holders associated with the user, and shall comply with the agreements and rules between relevant laws and regulations and rights holders.

[0025] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In this example environment 100, a digital assistant 120 and a business component 125 are installed in a terminal device 110. A user 140 can interact with the digital assistant 120 and the business component 125 via the terminal device 110 and / or an attachment device to the terminal device 110.

[0026] In some embodiments, the digital assistant 120 and business component 125 can be downloaded and installed on the terminal device 110. In some embodiments, the digital assistant 120 and business component 125 can also be accessed in other ways, such as via a web page. Figure 1 In environment 100, in response to the activation of business component 125, terminal device 110 can present the interface 150 of digital assistant 120 and business component 125.

[0027] Business components 125 include, but are not limited to, one or more of the following: chat business components (also known as instant messaging business components), document business components, audio and video conferencing business components, email business components, task business components, calendar business components, goal and key results (OKR) business components, etc. It is understandable that, although... Figure 1 While a single business component is shown, multiple business components can actually be installed on terminal device 110. These business components can be integrated into a multi-functional collaboration platform. In the case of multiple business components installed on terminal device 110, these components can be integrated into one or more multi-functional collaboration platforms. Within the multi-functional collaboration platform, users can activate different business components as needed to perform corresponding information processing, sharing, communication, etc. Business component 125 can provide content entity 126. Content entity 126 can be a content instance created by user 140 or other users on business component 125. For example, depending on the type of business component 125, content entity 126 can be a document (e.g., a Word document, a PDF document, a presentation, a spreadsheet, etc.), email, message (e.g., a conversation message on an instant messaging business component), calendar, schedule, task, audio, video, image, etc.

[0028] In some embodiments, the digital assistant 120 may be provided by a separate business component, or it may be integrated into a business component 120 capable of providing content entities. The business component providing the client interface for the digital assistant may correspond to a single-function business component or a multi-functional collaboration platform, such as an office suite or other collaboration platform capable of integrating multiple components. It is understood that, similar to business components, although... Figure 1 The image shows a single digital assistant, but there can actually be multiple digital assistants.

[0029] In some embodiments, the digital assistant 120 supports the use of plugins. Each plugin can provide one or more functions of a business component. Such plugins include, but are not limited to, one or more of the following: search plugin, contact plugin, messaging plugin, document plugin, form plugin, email plugin, calendar plugin, schedule plugin, task plugin, etc.

[0030] Digital Assistant 120 is a user's intelligent assistant, possessing intelligent dialogue and information processing capabilities. In embodiments of this disclosure, Digital Assistant 120 is used to interact with User 140 to assist User 140 in using terminal devices or business components. An interaction window with Digital Assistant 120 can be presented in the client interface. In the interaction window, User 140 can converse with Digital Assistant 120 by inputting natural language, images, audio files, video files, web page files, etc., to instruct Digital Assistant to assist in completing various tasks, including operations on content entity 126.

[0031] In some embodiments, digital assistant 120 may act as a contact for user 140, being included in the current user 140's contact list in the office suite or in the chat component's message stream. In some embodiments, user 140 and digital assistant 120 have a corresponding relationship. For example, a first digital assistant corresponds to a first user, a second digital assistant corresponds to a second user, and so on. In some embodiments, the first digital assistant may uniquely correspond to the first user, the second digital assistant may uniquely correspond to the second user, and so on. That is, the first digital assistant for the first user may be specific to or exclusive to the first user. For example, in the process of the first digital assistant providing assistance or services to the first user, the first digital assistant may utilize its historical interaction information with the first user, the data authorized by the first user that it can access, its current interaction context with the first user, etc. If the first user is an individual, the first digital assistant may be considered a personal digital assistant. It is understood that in the disclosed embodiments, the first digital assistant accesses data with granted permissions based on the first user's authorization. It should be understood that the terms "uniquely corresponding" or similar expressions in this disclosure are not intended to limit the first digital assistant to being updated accordingly based on the interaction process between the first user and the first digital assistant. Of course, depending on the actual needs, the digital assistant 120 does not necessarily have to be specific to the current user 140, but can be a general digital assistant.

[0032] In some embodiments, multiple interaction modes can be provided for the user 140 and the digital assistant 120, and the user can flexibly switch between these modes. When a certain interaction mode is triggered, a corresponding interaction area is presented to facilitate interaction between the user 140 and the digital assistant 120. The interaction methods between the user 140 and the digital assistant 120 differ under different interaction modes, thus flexibly adapting to the interaction needs of different scenarios.

[0033] In some embodiments, information processing services specific to user 140 can be provided based on historical interaction information between user 140 and digital assistant 120 and / or data ranges specific to user 140. In some embodiments, historical interaction information of user 140 interacting with digital assistant 120 in multiple interaction modes can all be associated with user 140 and stored. Thus, in one of the multiple interaction modes (any or a specified interaction mode), digital assistant 120 can provide services to user 140 based on the historical interaction information associated with user 140 stored therein.

[0034] The digital assistant 120 can be invoked or activated by an appropriate means (e.g., keyboard shortcuts, buttons, or voice) to present an interaction window with the user 140. The interaction window can be opened by selecting the digital assistant 120. The interaction window may include interface elements for information interaction, such as input boxes, message lists, message bubbles, etc. In other embodiments, the digital assistant 120 can be invoked through entry controls or menus provided on the page, or by inputting preset commands.

[0035] The interaction window between the digital assistant 120 and the user 140 may include a session window, such as a session window in the instant messaging module of an instant messaging service component or a target service component. In the session window, the interaction between the digital assistant 120 and the user 140 may be presented in the form of session messages. Alternatively or additionally, the interaction window between the digital assistant 120 and the user 140 may also include other types of windows, such as a floating window, where the user 140 can trigger the digital assistant 120 to perform corresponding operations by inputting commands, selecting shortcuts, etc.

[0036] In some embodiments, the digital assistant 120 may support a conversation window interaction mode, also known as conversation mode. In this interaction mode, a conversation window is presented between the user 140 and the digital assistant 120, in which the user 140 and the digital assistant 120 interact through conversation messages. In conversation mode, the digital assistant 120 can perform tasks based on the conversation messages in the conversation window. In the interaction window, the user 140 inputs interaction messages, and the digital assistant 120 responds to the user input by providing reply messages.

[0037] In some embodiments, the conversation mode between user 140 and digital assistant 120 can be invoked or activated by an appropriate means (e.g., shortcut keys, buttons, or voice) to present a conversation window. A conversation window with digital assistant 120 can be opened by selecting digital assistant 120. The conversation window may include interface elements for information interaction, such as input boxes, message lists, message bubbles, etc.

[0038] In some embodiments, the digital assistant 120 may support a floating window (or floating window) interaction mode, also known as a floating window mode. When the floating window mode is triggered, an operation panel (also known as a floating window) corresponding to the digital assistant 120 is presented, and the user 140 can issue commands to the digital assistant 120 based on the operation panel. In some embodiments, the operation panel may include at least one candidate shortcut command. Alternatively or additionally, the operation panel may include input controls for receiving commands. In floating window mode, the digital assistant 120 can perform tasks according to the commands issued by the user 140 through the operation panel.

[0039] In some embodiments, the floating window mode of user 140 and digital assistant 120 can also be invoked or activated by appropriate means (e.g., shortcut keys, buttons, or voice) to present the corresponding operation panel. In some embodiments, the activation of digital assistant 120 can be supported in a specific business component, such as a document business component, to provide interaction in the floating window mode. In some embodiments, to trigger the floating window mode to present the operation panel corresponding to digital assistant 120, an entry control for digital assistant 120 can be presented in the business component interface. In response to detecting a trigger operation on the entry control, it can be determined that the floating window mode has been triggered, and the operation panel corresponding to digital assistant 120 is presented in the target interface area.

[0040] In some embodiments described below, for ease of discussion, the example of a session window serving as the interaction window between the user and the digital assistant will be used.

[0041] In some embodiments, terminal device 110 communicates with server 130 to provide services to digital assistant 120 and business component 125. Terminal device 110 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, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, terminal device 110 can also support any type of user-facing interface (such as "wearable" circuitry). Server 130 can be various types of computing systems / servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, etc.

[0042] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.

[0043] As briefly mentioned earlier, digital assistants can help users utilize terminal devices or business components. Some business components offer integrated functionality with different plugins. Besides engaging in free-flowing conversations with the digital assistant, users can also use natural language commands to instruct it to perform more complex business-related operations using different plugins, such as creating documents, scheduling appointments, and creating tasks. Traditionally, users need to actively trigger interactions with digital assistants, which rely on user commands to execute tasks. However, this task execution method always requires immediate user commands; for tasks that the user may not immediately notice or recognize, the digital assistant may not be able to be triggered to assist in execution. In some cases, for digital assistants bound to specific business components, business scenarios, or users, the assistant can typically only process information based on that business component, business scenario, or the user's immediate commands. In some special scenarios, it is not possible to effectively utilize digital assistants to improve information processing efficiency, such as when multiple business components need to collaborate, when the business scenario is complex, or when users cannot provide immediate commands, resulting in low information processing efficiency. Business components can be different business components integrated within a collaborative platform, or they can be the first business component connected to the platform, or a second business component associated with a user. Typically, the first business component allows for certain types or ranges of information interaction with other business components within the collaborative platform, or with users on the platform. The second business component is the one the user registers or uses. In other cases, a unified and standardized interactive experience is usually provided, which often fails to meet the personalized needs of all users. All of these issues affect the efficiency and experience of user interaction with the digital assistant, and make the digital assistant's interactive functions less flexible.

[0044] According to some embodiments of this disclosure, an improved solution for task processing is proposed, aiming to solve at least one of the aforementioned technical problems. In embodiments of this disclosure, a first message sent by a first digital assistant corresponding to at least a first user is detected, the first message indicating a target task; the association between the target task indicated by the first message and a second user is determined; and in response to determining that the target task is associated with the second user, at least a portion of the target task is executed using a second digital assistant corresponding to the second user, based on the first message. In this way, the intelligence and autonomy of the digital assistant can be improved, the flexibility of using the digital assistant can be increased, and the work efficiency based on the digital assistant can be enhanced. Furthermore, since the digital assistant can only access information granted to it by the user, data security can also be ensured.

[0045] Based on some embodiments of this disclosure, an improved solution for task processing is proposed, aiming to solve at least one of the aforementioned technical problems. In embodiments of this disclosure, a second digital assistant acquires first event information triggered by a first digital assistant; and based on the first event information, the second digital assistant executes a first task and outputs first information related to the first task. In this way, the intelligence and autonomy of the digital assistant can be improved, the flexibility of its use can be enhanced, and the work efficiency based on the digital assistant can be increased.

[0046] Some exemplary embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0047] Figure 2 A flowchart of a task processing procedure 200 according to some embodiments of the present disclosure is shown. For ease of discussion, reference will be made to... Figure 1 The process 200 is described using environment 100 as an example. Process 200 can be implemented at terminal device 110 and / or server 130. For ease of description, the following explanation uses the example of process 200 being implemented at terminal device 110. It should be understood that some operations described with reference to terminal device 110 may require the assistance of server 130. It should be noted that the operations performed by terminal device 110 may specifically be performed by relevant business components and / or digital assistants installed on terminal device 110.

[0048] In box 210, terminal device 110 or a second digital assistant on terminal device 110 detects a first message sent by a first digital assistant corresponding to at least a first user, the first message indicating a target task.

[0049] The first digital assistant here can be a digital assistant corresponding to only one first user, or it can be a digital assistant corresponding to multiple users including the first user. That is, the first digital assistant can be a personal assistant, or a team / organizational assistant, etc. The second digital assistant can be, for example, a digital assistant corresponding only to a second user (i.e., the second user's personal digital assistant). Both the second digital assistant and the first digital assistant can be installed in the terminal device 110.

[0050] Regarding the determination of the target task and the sending of the first message, the target task here may be a task determined by the terminal device 110 or the first digital assistant based on at least one conversation message in the group chat session. For example, the terminal device 110 or the first digital assistant may analyze the content of at least one conversation message in the group chat session to determine the target task corresponding to these at least one conversation message. For instance, the terminal device 110 or the first digital assistant may determine the target task corresponding to these at least one conversation message as the task "Book a meeting room" in response to the presence of the text "Book a meeting room" in the content of at least one conversation message. It is understood that the at least one conversation message in the group chat session here is merely an example; the target task may also be a task determined by the terminal device 110 or the first digital assistant based on other information such as the content of a document, the content of an email, or the content of a meeting. For example, the terminal device 110 or the first digital assistant may also summarize the content of a document and determine the target task based on the summary result.

[0051] Terminal device 110 or the first digital assistant may determine the target task based on at least one conversational message and predetermined matching rules. Terminal device 110 or the first digital assistant may also use a model to determine the target task indicated by the at least one conversational message. In some embodiments, terminal device 110 or the first digital assistant may construct a prompt input based on at least one conversational message. Terminal device 110 or the first digital assistant may provide the prompt input to the model and obtain the target task determined by the model. In some embodiments, the model may be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model may be based on a language model (LM). A language model, by learning from a large corpus, is capable of question-answering. The model may also be based on other suitable models.

[0052] The target task here could be, for example, a task determined automatically by the terminal device 110 or the first digital assistant based on the workflow associated with the group chat session. In some embodiments, the terminal device 110 or the first digital assistant may have pre-obtained at least one workflow. This at least one workflow may include workflows pre-set by at least one user (including the first user) corresponding to the first digital assistant. This at least one workflow may also include workflows determined automatically by the terminal device 110 or the first digital assistant based on the historical tasks of at least one user corresponding to the first digital assistant. For example, the terminal device 110 or the first digital assistant may determine the workflow associated with the group chat session and the target work node in the workflow based on at least one session message in the group chat session. The target work node is the work node currently being executed or about to be executed in the workflow. The terminal device 110 and / or the first digital assistant may then determine the target task based on the target work node. Similarly, the workflow associated with the group chat session and the target work node here may be determined by the terminal device 110 or the first digital assistant based on predetermined rules, or may be determined using a model.

[0053] The target task here could also be a task set by at least one user corresponding to the first digital assistant (i.e., at least one user with setting permissions for the first digital assistant). For example, in a group chat session, a user participating in the group chat session and corresponding to the first digital assistant (e.g., the first user) can set permissions for the first digital assistant. The first user can, for example, send a session message indicating the target task to the first digital assistant, and the first digital assistant can determine that it has received the target task in response to receiving the session message.

[0054] In some embodiments, after determining the target task, the terminal device 110 or the first digital assistant may further set the content or attributes of a first message to indicate that the target task is associated with the second user in response to an association between the first digital assistant and the second digital assistant for the target task. This association could be, for example, that the first and second digital assistants belong to a workflow that includes the target task. Exemplarily, if the first and second digital assistants belong to a workflow that includes the target task, the terminal device 110 or the first digital assistant may set the content or attributes of the first message to indicate that the target task is associated with the second user. For example, the terminal device 110 or the first digital assistant may set the first message to an announcement message of a group chat session that includes the second user or the second digital assistant to indicate that the target task is associated with the second user.

[0055] The association here could also be, for example, a second digital assistant issuing a trigger request to a first digital assistant for one or more tasks, where the one or more tasks include a target task. For instance, terminal device 110 or the first digital assistant can determine, in response to detecting that the second digital assistant is following or subscribing to the first digital assistant, that it has received a trigger request from the second digital assistant to the first digital assistant for one or more tasks. Terminal device 110 or the first digital assistant can, in response to the second digital assistant issuing the trigger request, set the content or attributes of a first message to indicate that the target task in the one or more tasks is associated with the second user.

[0056] Terminal device 110 can, in response to determining the target task and the association between the target task and the second user, send a first message instructing the target task in a group chat session using a first digital assistant. The first digital assistant can send the first message, for example, by sending a session message in the group chat session. The first digital assistant can also send the first message, for example, by sending an announcement / notification in the group chat session, setting a pop-up window, etc. This disclosure does not limit the specific method by which the first digital assistant sends the first message.

[0057] The first message sent by the first digital assistant may be, for example, an instant messaging (IM) message. The first message may also be a document, email, or other suitable information carrier containing summary / analysis content, etc. The first message may be of any suitable type, including, for example, text, images, audio, video, links, etc., without limitation herein. Exemplarily, in a group chat session, terminal device 110 or a second digital assistant on terminal device 110 may receive session messages from the first digital assistant. Such a group chat session includes at least the first digital assistant, a first user, and a second user. It is understood that the first digital assistant may be the digital assistant corresponding to the first user, or it may be the digital assistant corresponding to all users participating in the group chat session (including the first user and the second user). The second digital assistant may or may not be in the group chat session. If the second digital assistant is in the group chat session, it can directly receive the first message sent by the first digital assistant in the group chat session. If the second digital assistant is not in the group chat session, it can still detect all messages in the business component (e.g., the chat business component), including messages in various chat sessions within the business component.

[0058] It's important to note that both the first and second digital assistants here should be digital assistants that have obtained user authorization. For example, for a second user, only the second digital assistant that has obtained authorization from the second user can detect the first message.

[0059] In box 220, terminal device 110 or a second digital assistant on terminal device 110 determines the relevance of the target task indicated by the first message to the second user.

[0060] In some embodiments, the terminal device 110 or the second digital assistant may determine the content and / or attributes of the first message based on the first message. The terminal device 110 or the second digital assistant may then determine the association between the target task and the second user based on the content and / or attributes of the first message.

[0061] Specifically, the terminal device 110 or the second digital assistant can also determine that the target task is associated with the second user in response to the first message including the name of the second user or the second digital assistant. For example, the terminal device 110 or the second digital assistant can determine that the target task indicated by the first message is associated with the second user in response to the first message including the text "second user," the text "second digital assistant," etc. In some embodiments, to ensure the accuracy of the association determination, the terminal device 110 or the second digital assistant can also determine that the target task is associated with the second user in response to the first message including a reference symbol to the second user or the second digital assistant. The reference symbol to the second user or the second digital assistant here can include a reference symbol and the name of the second user or the second digital assistant. For example, the terminal device 110 or the second digital assistant can determine that the target task indicated by the first message is associated with the second user in response to the first message including "@second user," "@second digital assistant," etc.

[0062] Terminal device 110 or the second digital assistant can also determine that the target task is associated with the second user in response to the first message being an announcement message in a group chat session that includes the second user or the second digital assistant. In this case, since the announcement message is an announcement message addressed to all users and all digital assistants in the group chat session, terminal device 110 or the second digital assistant can determine that the target task indicated by the announcement message (i.e., the first message) is associated with the second user in response to the second user and / or the second digital assistant in the group chat session.

[0063] Terminal device 110 or the second digital assistant can also determine that the target task is associated with the second user in response to the first message being sent to a group that includes the second user. It is understood that the second user can be a user within a user group. Terminal device 110 or the second digital assistant can determine that the target task indicated by the first message is associated with the second user in response to the first message being a message addressed to the group to which the second user belongs. For example, the terminal device or the second digital assistant can determine that the target task is associated with the second user in response to the first message including a reference to the group to which the second user belongs. For instance, if the group to which the second user belongs is a "project group," terminal device 110 or the second digital assistant can determine that the target task indicated by the first message is associated with the second user in response to the first message being a message sent to all users in the project group, or in response to the first message including a reference to the "project group."

[0064] In some embodiments, the terminal device 110 or the second digital assistant may also determine that the target task is associated with the second user in response to determining that the first digital assistant and the second digital assistant have an association relationship for the target task. That is, the terminal device 110 may also determine that the target task is associated with the second user in response to determining that the first digital assistant and the second digital assistant belong to a workflow that includes the target task, and / or the second digital assistant issues a trigger request to the first digital assistant for one or more tasks that include the target task.

[0065] In box 230, in response to determining that a target task is associated with a second user, terminal device 110 performs at least a portion of the target task using a second digital assistant corresponding to the second user, based on a first message.

[0066] It should be noted that the activation of the digital assistant's task execution function, the acquisition of data, the processing and storage of data, etc., in this embodiment of the disclosure, should all be subject to prior authorization from the user and other rights holders associated with the user, and should comply with relevant laws and regulations and agreements between rights holders. Furthermore, the digital assistant actively executes relevant tasks within the scope of the user's authorization.

[0067] After determining that the target task is associated with the second user, the terminal device 110 can instruct the second digital assistant to execute at least a portion of the target task based on the content of the first message. It is understood that if the second digital assistant determines that the target task is associated with the second user, it can automatically execute at least a portion of the target task based on the content of the first message. Specifically, the terminal device 110 or the second digital assistant can determine, based on the first message, whether the second user needs to execute the entire target task or only a portion of it. For example, if the target task instructs the user to book a meeting room, the terminal device 110 or the second digital assistant can execute that target task based on the first message. If the target task instructs the user to hold a meeting, since the task of holding a meeting can include multiple sub-tasks (e.g., booking a meeting room, determining meeting content, determining attendees, etc.), the terminal device 110 or the second digital assistant can also determine, at least based on the first message, which specific sub-task of holding the meeting the second user will execute, and execute only that sub-task.

[0068] In some embodiments, before executing at least a portion of the target task, the terminal device 110 or the second digital assistant may also provide a confirmation message associated with the target task to the second user. In response to receiving a confirmation operation from the second user regarding the confirmation message, the terminal device 110 or the second digital assistant may determine that at least a portion of the target task can be executed.

[0069] The following is combined Figure 3 Here is a detailed example of a relationship between the first and second digital assistants. Figure 3 A flowchart of a task processing procedure 300 according to some embodiments of the present disclosure is shown. For ease of discussion, reference will be made to... Figure 1 The process 300 is described using environment 100. Process 300 can be implemented at terminal device 110 and / or server 130. For ease of description, the following explanation uses the example of process 300 being implemented at terminal device 110. It should be understood that some operations described with reference to terminal device 110 may require the assistance of server 130. It should be noted that the operations performed by terminal device 110 may specifically be performed by relevant business components and / or digital assistants installed on terminal device 110.

[0070] In box 310, terminal device 110 or a second digital assistant on terminal device 110 obtains first event information triggered by the first digital assistant. The first and second digital assistants here have a certain association, which may be that the second and first digital assistants are within the same business entity. This business entity may include, but is not limited to, groups, documents, meetings, projects, tasks, etc. This association may also include, for example, the second digital assistant following the first digital assistant and / or the second digital assistant subscribing to at least some of the first digital assistant's functions.

[0071] The first digital assistant can be a digital assistant associated with a first user. The first digital assistant can also be a digital assistant for a first business component. The first business component can be, for example, a meeting, document, calendar, etc. Correspondingly, the digital assistant for the first business component can include, for example, a meeting assistant, document assistant, calendar assistant, etc. It can be understood that the digital assistant for the first business component is associated with all users corresponding to the first business component. For example, a meeting assistant is associated with all users participating in the meeting. The second digital assistant is a digital assistant associated with a second user, and the second digital assistant can output first information related to the first task to the second user.

[0072] The second digital assistant obtains first event information triggered by the associated first digital assistant and determines the first task indicated by the first event information. For example, if the first event information triggered by the first digital assistant indicates booking a meeting room, the second digital assistant, after obtaining the first event information, can determine that the first task indicated by the first event information is booking a meeting room.

[0073] In box 320, terminal device 110 or a second digital assistant on terminal device 110 performs a first task and outputs first information related to the first task based on the first event information.

[0074] The first information related to the first task output by the terminal device 110 or the second digital assistant may include, for example, the execution result of the first task, the execution status of the first task, the execution progress of the first task, etc. The terminal device 110 or the second digital assistant may output the first information related to the first task by sending a session message to the second user. This session message may include text, images, audio, etc. The second user can determine the first information related to the first task based on this session message.

[0075] In summary, according to the embodiments of this disclosure, a digital assistant can obtain information about task instructions sent by other digital assistants and perform tasks based on that information. This can enhance the intelligence and autonomy of the digital assistant, increase its flexibility of use, and help improve its work efficiency.

[0076] In some embodiments, the terminal device 110 or the first digital assistant on the terminal device 110 detects whether the task triggering conditions associated with the first digital assistant are met.

[0077] Terminal device 110 can acquire task triggering conditions related to the first digital assistant, which can be, for example, digital assistant 120. It is understood that the first digital assistant corresponds to a first user, and the first user can include one or more users; that is, the first digital assistant can be a personal assistant, or a team / organizational assistant, etc. In some embodiments, the task triggering conditions can be configured by the first user corresponding to the first digital assistant (i.e., user 140 corresponding to terminal device 110, which can also be referred to as the current user).

[0078] Specifically, terminal device 110 can receive at least one user input from a first user to a first digital assistant. For example, terminal device 110 can receive at least one user input from the first user to the first digital assistant within a conversation window between the first user and the first digital assistant. The user input can be of any type, such as text, audio, images, etc. Terminal device 110 can determine a task triggering condition based on this at least one user input. For example, terminal device 110 can analyze the user input to determine the task triggering condition indicated by the user input. For instance, the first user can pre-send a conversation message in the interaction window between the first user and the first digital assistant: "Remind me whenever I receive a customer complaint email and prepare a reply email." Terminal device 110 can determine the task triggering condition as "received a customer complaint email" in response to receiving this conversation message. Alternatively or additionally, the task triggering condition can also be determined by terminal device 110 itself. For example, terminal device 110 can determine the task triggering condition based on historical data associated with the first user.

[0079] In some embodiments, terminal device 110 may use a target model to determine task triggering conditions. For example, terminal device 110 may construct a prompt input based on at least one user input / historical data. Terminal device 110 may provide the prompt input to the model and obtain the task triggering conditions determined by the model. In some embodiments, the model may be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model may be based on a language model (LM). Language models, by learning from a large corpus, are capable of question-answering. The model may also be based on other suitable models.

[0080] In some embodiments, the terminal device 110 or a first digital assistant on the terminal device 110 initiates task execution related to the first digital assistant in response to the fulfillment of a task triggering condition. Task execution includes: acquiring first task-related information; based on the acquired first task-related information, and through interaction with a target model, performing at least one of the following: acquiring attribute information of the first task; and executing the first task based on the attribute information of the first task. In some embodiments, interaction with the target model may occur during the attribute information acquisition phase of the first task. In some embodiments, interaction with the target model may occur during the execution phase of the first task. In some embodiments, both the attribute information acquisition phase and the execution phase of the first task involve interaction with the target model. The specific use of the target model in each phase will be discussed in the following embodiments.

[0081] Therefore, the system can automatically acquire task-related information and assist users in performing corresponding tasks under specific triggering conditions without requiring active user intervention. The First Digital Assistant can automatically initiate task execution when the task triggering conditions are met, without needing real-time user commands. During task execution, interaction with the target model can further assist in completing the task.

[0082] In some embodiments, the active execution of the first task can be based on interactive or non-interactive instructions from the user. In some embodiments, the first digital assistant can also determine whether the execution of the first task requires additional input from the first user. If the execution of the first task does not require additional input from the first user, the first digital assistant can directly execute the first task based on the acquired task-related information without requiring user interaction. In some embodiments, if the execution of the first task requires additional input from the first user, the first digital assistant can send a message to the first user instructing them to provide additional information about the first task. The first digital assistant can then receive the additional input from the first user, determine the additional information corresponding to the additional input, and then execute the first task based on the acquired task-related information and additional information. In this process, the first digital assistant can complete the first task through active dialogue with user 140 and further acquired interactive information. For example, the first digital assistant can first draft a project evaluation report and send it to user 110 for confirmation and modification, ultimately completing the project evaluation report.

[0083] It is important to note that the messages instructing the first user to provide additional information about the first task, and the additional messages themselves, can both be sent and received within the interaction window between the first user and the first digital assistant. For example, terminal device 110 can send a message instructing the first user to provide additional information about the first task within the interaction window between the first user and the first digital assistant. Terminal device 110 can then obtain the additional information based on multiple rounds of conversation between the first user and the first digital assistant. As another example, terminal device 110 can also present operation controls, shortcuts, etc., associated with obtaining additional input within the interaction window between the first user and the first digital assistant. Terminal device 110 can determine that additional input has been obtained in response to detecting a trigger operation on the corresponding operation control / shortcut, and then determine the additional information indicated by the additional input.

[0084] In some embodiments, terminal device 110 uses a first digital assistant to notify a first user of the execution result of a first task. For example, terminal device 110 can notify the first user of the execution result of the first task by sending a notification message indicating the execution result of the first task through an interaction window between the first user and the first digital assistant.

[0085] In some embodiments, the task triggering condition for triggering the first digital assistant to actively execute a task may include the fulfillment of the execution conditions of one or more work nodes in a first workflow. The first workflow may include multiple work nodes. Each work node has a corresponding task, and there are dependencies between the tasks corresponding to two or more work nodes. For example, if the first node and the second node are adjacent nodes, and the first node precedes the second node, then the second node can execute its corresponding task only if the first node completes its corresponding task. In this case, the terminal device 110 may, for example, determine that the task triggering condition related to the first digital assistant is met in response to detecting that the execution condition of a certain work node is met.

[0086] In addition to proactively executing tasks based on workflows, in some embodiments, the task triggering conditions for the first digital assistant may include, for example, a notification message received by the first user from a first business component. The first business component may be, for example, a business component integrated with the first digital assistant. In this case, the terminal device 110 may determine that the task triggering conditions related to the first digital assistant are met in response to detecting notification information from the first business component. The notification message may be a notification message from the business component itself or a notification message sent by a contact within the business component. In some embodiments, when setting up a task, the first user may instruct the first digital assistant to detect notification messages from the first business component. In some embodiments, when setting up a task, the user may also specify the type of notification message. In this case, the terminal device 110 may determine that the task triggering conditions related to the first digital assistant are met in response to detecting notification information of a predetermined type from the first business component.

[0087] In some embodiments, the task triggering condition may include, for example, an event related to the first user occurring in the second business component. The second business component may be the same as or different from the first business component. The event related to the first user may also be any suitable event, such as a calendar event, time change event, message notification event, document change event, email sending / receiving event, task update event, etc., associated with the first user. When setting up a task, the first user can indicate to the first digital assistant the second business component to be detected, and the events to be detected within that second business component. In some embodiments, if the second business component is different from the first business component, in order to obtain events related to the first user occurring in the second business component, the terminal device 110 can provide a business component application programming interface (API) and a development interface, allowing the second business component to register with the first digital assistant. The first digital assistant can, for example, only obtain data from the registered second business component.

[0088] In some embodiments, the task triggering condition may include, for example, the arrival of a preset time. The task associated with the arrival of the preset event may be referred to as a timed task. In this case, the terminal device 110 may determine that the task triggering condition associated with the first digital assistant is met in response to the current time reaching the preset time.

[0089] It is understood that the above discussion has covered some example task triggering conditions. In some embodiments, task triggering conditions for certain tasks may also include a combination of one or more of the following: a first user receives a notification message from a first business component, an event related to the first user occurs in a second business component, a preset time arrives, and the execution conditions of one or more work nodes in a preset workflow are met. For example, task triggering conditions may include the arrival of a preset time and the first user receiving a notification message from the first business component. It is understood that task triggering conditions may also include any appropriate conditions, and this disclosure does not limit them. The number of task triggering conditions related to the first digital assistant may depend on the settings of the first user for the first digital assistant, and different task triggering conditions may trigger the execution of one or more tasks.

[0090] In some embodiments, before detecting whether the task triggering condition is met, the terminal device 110 may also determine whether the proactive task execution function of the first digital assistant is enabled. If it is determined that the proactive task execution function is enabled, the terminal device 110 may determine that the first digital assistant can perform the task triggering condition detection and detect whether the task triggering condition related to the first digital assistant is met. If it is determined that the proactive task execution function is not enabled, the terminal device 110 may determine that the task triggering condition detection cannot be performed, that is, the terminal device 110 will not detect whether the task triggering condition related to the first digital assistant is met. In some embodiments, if it is determined that the proactive task execution function is not enabled, the terminal device 110 may also provide a prompt message to the first user to indicate that the proactive task execution function of the first digital assistant is not currently enabled. Exemplarily, the terminal device 110 may present the prompt message in the client interface of the digital assistant (e.g., the client interface presented by the terminal device 110). Regarding the method of enabling the proactive task execution function of the first digital assistant, in some embodiments, the terminal device 110 may present a configuration page for configuring the first digital assistant. This configuration page may include, for example, operation controls for enabling the proactive task execution function. Terminal device 110 can determine that the active task execution function of the first digital assistant is enabled in response to detecting a trigger operation on the operation control. Server 130 can determine that the active task execution function of the first digital assistant is enabled through communication with terminal device 110.

[0091] In some embodiments, the terminal device 110 may continuously detect whether one or more task triggering conditions related to the first digital assistant are met. In some embodiments, the terminal device 110 may use a target model to detect whether the task triggering conditions are met. In some embodiments, considering the resource and time overhead of model invocation, the terminal device 110 may utilize different detection modes to detect whether the task triggering conditions are met.

[0092] In some embodiments, the terminal device 110 may detect whether the task triggering condition is met based on a first detection mode, where the first detection mode includes detection modes other than interaction with the target model. In some examples, the first detection mode may include performing a key information search on first information, which includes information used to detect whether the task triggering condition is met. For example, at least one keyword associated with the task triggering condition may be obtained. This at least one keyword may be determined by the first user or determined by the terminal device 110 based on the task triggering condition. The terminal device 110 may then search the first information for one or more keywords associated with the task triggering condition based on keyword detection, thereby detecting whether the task triggering condition related to the first digital assistant is met. In some embodiments, alternatively or additionally, the first detection mode may also include detecting whether the first information meets a preset rule. If the first information meets the preset rule, it can be determined that the task triggering condition related to the first digital assistant is met. That is, in the first detection mode, the satisfaction of the task triggering condition can be determined through a simple and low-cost method of key information search and / or rule matching.

[0093] In some embodiments, the terminal device 110 can detect whether the task triggering conditions related to the first digital assistant are met by interacting with a target model based on a second detection mode. In some embodiments, due to the simplicity and low cost of the first detection mode, the terminal device 110 can first detect whether the task triggering conditions are met based on the first detection mode. If it is impossible to determine whether the task triggering conditions are met based on the first detection mode, the second detection mode can be used to detect whether the task triggering conditions related to the first digital assistant are met with the help of the model. This can help reduce the computational load of the terminal device 110 and improve the detection efficiency.

[0094] In some embodiments where the task triggering condition is satisfied based on a second detection mode, the terminal device 110 can obtain a second prompt word based on first information. This first information includes information used to detect whether the task triggering condition is satisfied. The device can interact with the model based on the second prompt word, and detect whether the task triggering condition is satisfied based on the interaction result with the target model. In such embodiments, the model's information processing capabilities can help determine whether the task triggering condition is satisfied.

[0095] When actively executing a task, such as actively executing a first task, the acquired first task-related information refers to information that can be used to determine what task to execute and how to execute it. In some embodiments, the first task-related information can be acquired based on the task triggering condition itself. For example, if the task triggering condition is that the first user receives a notification message from the first service component, the first task-related information can be acquired based on the notification message from the first service component. The first task-related information may include the notification message itself, information mentioned or referenced in the notification message, etc. The first task-related information may also include information required to execute the first task obtained from the service objects related to the first user in the first service component. If the task triggering condition is that an event related to the first user occurs in the second service component, the first task-related information may also include information required to execute the first task obtained from the service objects related to the first user in the second service component. In some embodiments, if the task triggering condition includes an event related to the first user occurring in the second service component, the terminal device 110 can determine the first task and acquire the task-related information of the first task based on the event.

[0096] Alternatively or additionally, the information related to the first task may also include information determined from at least one third business component other than the first or second business component related to the task triggering conditions. For example, this information may be obtained from business objects associated with the first user within at least one third business component, specifically information required to perform the first task. Business objects associated with the first user may include, for example, documents, meetings, schedules, meeting minutes, etc., depending on the type of business component. It is important to note that the business objects associated with the first user within the various business components are those that the first user has permission to access. For example, if the business object is a document, then that document is one that the first user has permission to access. This helps ensure user data security.

[0097] In some embodiments, the terminal device 110 can also obtain task-related information of the first task from the historical interaction information of the first user. That is, the terminal device 110 can determine the task-related information of the first task based on the historical interaction information between the first user and the first digital assistant.

[0098] In some embodiments, alternatively or additionally, the first task-related information can be obtained based on input information that causes the task triggering conditions to be met. This input information may include user input, the aforementioned first information, etc.

[0099] In some embodiments, alternatively or additionally, information related to the first task can be obtained based on a knowledge base associated with the task triggering conditions. For example, different task triggering conditions can be associated with different businesses, which may have corresponding knowledge bases. Some or all of the information in the knowledge base can be determined as information related to the first task to determine what task to perform and how to perform it.

[0100] In some embodiments, as mentioned above, the first digital assistant can also be associated with a preset workflow, and the execution conditions of one or more work nodes need to be determined based on the preset workflow. When the first digital assistant is associated with the preset workflow, it can also obtain information related to the first task based on the known execution information of one or more work nodes in the preset workflow. Typically, in a workflow, whether and / or how a task at one or more work nodes should be executed may need to be determined based on the execution status of previous work nodes. In particular, if a work node has multiple task branches, it is necessary to determine which task branch to execute subsequently based on the execution status of previous work nodes.

[0101] Note that in each embodiment, the task-related information obtained is information that the first user corresponding to the first digital assistant has the authority to obtain, and that the first user authorizes the terminal device 110 or the first digital assistant to obtain. Such information acquisition should comply with the requirements of relevant laws and regulations and obtain valid authorization from the relevant rights holder.

[0102] After obtaining the relevant information for the first task, its attribute information is determined based on this information. The attribute information of the first task may include its type, i.e., what to perform. It may also include parameter information related to the execution of the first task, plugin information, or application programming interface (API) information. For example, the type of the first task may indicate the creation of a schedule, and the parameter information may indicate the time, participants, location, etc., of the schedule to be created. In some embodiments, the plugin or API information in the attribute information may indicate the plugins or interfaces to be invoked when executing the first task. Based on the attribute information of the first task, it can be determined what kind of task to perform and how to perform it. The attribute information of the first task may also include other types of information, as long as these types of information can be used to specify the specific execution method of the first task to be performed.

[0103] In some embodiments, to determine the attribute information of the first task, the terminal device 110 or the first digital assistant on the terminal device 110 can obtain a first prompt word based on the first task-related information and send the first prompt word to the model. After receiving feedback from the model, the attribute information of the first task is determined based on the feedback. That is, the model can be used to analyze the prompt word obtained based on the first task-related information to determine the type, parameter information, plugin information, API information, etc., of the task that the first digital assistant needs to actively execute.

[0104] In some embodiments, terminal device 110 may pre-acquire tasks corresponding to task triggering conditions. Terminal device 110 may store the task triggering conditions and corresponding tasks in association. Terminal device 110 may then, in response to a task triggering condition being met, acquire task-related information based on its corresponding task. For example, if terminal device 110 receives a conversation message from the first user in the conversation window between the first user and the first digital assistant: "Remind me whenever I receive a customer complaint email, and prepare a reply email," then terminal device 110 may determine that the task triggering condition is "receiving a customer complaint email," and the corresponding task is "remind the first user, and prepare a reply email." Terminal device 110 may then acquire information related to preparing the reply email. That is, in this case, terminal device 110 may directly determine the task to be executed based on the task triggering condition. The task to be executed may also be referred to as the first task.

[0105] In some embodiments, terminal device 110 may also acquire only task triggering conditions. Terminal device 110 may determine the task to be executed based on the task triggering conditions in response to their satisfaction. For example, if the task triggering conditions include a first user receiving a notification message from a first business component, terminal device 110 may determine a first task based on the notification message and acquire attribute information of the first task (e.g., information required to execute the first task). That is, the satisfaction of a specific task triggering condition is used to trigger terminal device 110 to acquire attribute information to determine whether a task needs to be executed and what specific task needs to be executed. For example, if the first business component is a chat business component, terminal device 110 may determine that the task triggering conditions related to the first digital assistant are satisfied in response to the first business component receiving a notification message sent to the first user by another user (e.g., the message "Send me a project evaluation"). Terminal device 110 may then determine that the first task is to create a project evaluation report based on this notification message. Terminal device 110 may further acquire information related to creating a project evaluation report (e.g., project data for different users).

[0106] Regarding the specific method of determining the first task based on the notification message, in some embodiments, similar to determining the task triggering conditions, the terminal device 110 can determine a prompt word based on information related to the notification message, send the prompt word to the target model, and receive the result returned by the target model. The returned result contains information about the first task to be executed. Alternatively or additionally, in some embodiments, the terminal device 110 can also determine the first task matching the notification message based on predetermined rules.

[0107] As mentioned above, after the task is completed, the first digital assistant can notify the first user of the execution result of the first task. For example, the terminal device 110 can notify the first user of the execution result of the first task by sending a notification message indicating the execution result of the first task through the interaction window between the first user and the first digital assistant.

[0108] Taking the task trigger condition as the first user receiving a notification message from the first business component, and the terminal device 110 determining that the execution process of the first task requires additional input from the first user, as an example, if the notification message indicates that the first user needs to complete a project evaluation of a certain object, the terminal device 110 can respond to receiving the notification message and determine that the task trigger condition is met. The terminal device 110 can determine, based on this notification information, that the first task is to create a project report for a certain object. The terminal device 110 can then proactively create a draft project report based on the object's work output over the past six months. Here, the object's project reports over the past six months can be determined by the terminal device 110 based on multiple rounds of dialogue between the first digital assistant and the first user. The terminal device 110 can send a notification message prompting the completion of the task and attaching the project report in the interaction window between the first user and the first digital assistant.

[0109] Taking the task trigger condition as the first user receiving a notification message from the first business component, and the terminal device 110 determining that the execution of the first task does not require additional input from the first user, if the notification message indicates that a new customer interest has been discovered, the first user should follow up. The terminal device 110 can respond to receiving this notification message by determining that the task trigger condition is met. Based on this notification information, the terminal device 110 can determine that the first task is to prepare an email to be sent to the new customer. The terminal device 110 can organize the new customer's information and draft an email according to a predetermined process. The new customer's information can be obtained by the terminal device 110 from at least one business object related to the first user in a third business component. The terminal device 110 can send a notification message prompting the completion of the task, along with the new customer's information and the draft email, through the interaction window between the first user and the first digital assistant.

[0110] In summary, according to the embodiments of this disclosure, the terminal device 110 can proactively execute the task indicated by the task triggering condition in response to the fulfillment of a task triggering condition related to the digital assistant, and can notify the user of the execution result. This can enhance the intelligence and autonomy of the digital assistant, improve the flexibility of its use, and help improve the efficiency of the digital assistant.

[0111] It should be understood that some embodiments of processes 200 and 300 described above may be implemented together or separately on a user's terminal device 110.

[0112] Figure 4 A block diagram of a task processing apparatus 400 according to some embodiments of the present disclosure is shown. The apparatus 400 may be implemented in or included in a terminal device 110, for example. Various modules / components in the apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0113] As shown in the figure, device 400 includes a message detection module 410 configured to detect a first message sent by a first digital assistant corresponding to at least a first user, the first message indicating a target task. Device 400 also includes an association determination module 420 configured to determine the association between the target task indicated by the first message and a second user. Device 400 further includes a task execution module 430 configured to, in response to determining that the target task is associated with the second user, execute at least a portion of the target task using a second digital assistant corresponding to the second user, based on the first message.

[0114] In some embodiments, the message detection module 410 is further configured to receive a conversation message from the first digital assistant in a group chat session, wherein the group chat session includes at least the first digital assistant, the first user, and the second user.

[0115] In some embodiments, the first digital assistant corresponds to a plurality of users, including the first user, and the second user is one of the plurality of users.

[0116] In some embodiments, the association determination module 420 is further configured to determine the association between the target task and the second user based on the content or attributes of the first message.

[0117] In some embodiments, the association determination module 420 is further configured to: determine that the target task is associated with the second user in response to the first message including a reference symbol for the second user or the second digital assistant; determine that the target task is associated with the second user in response to the first message being an announcement message of a group chat session including the second user or the second digital assistant; or determine that the target task is associated with the second user in response to the first message being sent to a group including the second user.

[0118] In some embodiments, the association determination module 420 is further configured to: determine that the target task is associated with the second user in response to determining that the first digital assistant and the second digital assistant have an association relationship for the target task.

[0119] In some embodiments, the apparatus 400 further includes: a task determination module configured to determine a target task using a first digital assistant based on at least one of the following: at least one session message in a group chat session, or a workflow associated with the group chat session; and a message sending module configured to send a first message indicating the target task in the group chat session using the first digital assistant.

[0120] In some embodiments, the device 400 further includes an association setting module configured to set the content or attributes of a first message to indicate that the target task is associated with a second user in response to an association relationship between the first digital assistant and the second digital assistant for a target task.

[0121] In some embodiments, the association includes at least one of the following: the first digital assistant and the second digital assistant belong to a workflow that includes the target task, or the second digital assistant issues a trigger request to the first digital assistant for one or more tasks, the one or more tasks including the target task.

[0122] Figure 5 A block diagram of an apparatus 500 for task processing according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented in or included in a terminal device 110, for example. Various modules / components in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0123] As shown in the figure, the device 500 includes an information acquisition module 510, configured to enable the second digital assistant to acquire first event information triggered by the first digital assistant. The device 500 also includes an execution processing module 520, configured to enable the second digital assistant to execute a first task based on the first event information and output first information related to the first task.

[0124] In some embodiments, one or more of the following conditions are met: the second digital assistant and the first digital assistant are within the same business entity; the second digital assistant follows the first digital assistant; the second digital assistant subscribes to at least some of the functions of the first digital assistant.

[0125] In some embodiments, the second digital assistant is a digital assistant associated with a second user, and the second digital assistant outputs first information related to the first task to the second user.

[0126] In some embodiments, the first digital assistant is a digital assistant associated with a first user; or, the first digital assistant is a digital assistant of a first business component.

[0127] It should be understood that the above-described devices 400 and / or 500 can be implemented in the same device or apparatus. One or more steps in the process discussed above can be performed by suitable electronic devices or combinations of electronic devices. Such electronic devices or combinations of electronic devices may include, for example, […]. Figure 1 The server 130, terminal device 110 and / or a combination of server 130 and terminal device 110.

[0128] Figure 6 A block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 6 The electronic device 600 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 6 The electronic device 600 shown can be used to achieve Figure 1 Terminal equipment 110, Figure 4 The device 400 and / or shown Figure 5 The device 500 shown.

[0129] like Figure 6 As shown, electronic device 600 is in the form of a general-purpose electronic device. Components of electronic device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processing unit 610 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 600.

[0130] Electronic device 600 typically includes multiple computer storage media. Such media can be any available media accessible to electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 620 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 630 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media capable of storing information and / or data and accessible within electronic device 600.

[0131] Electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 6 As shown, 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 can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 620 may include computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.

[0132] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 600 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0133] Input device 650 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 660 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 600 can also communicate with one or more external devices (not shown) via communication unit 640 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 600, or with any device that enables electronic device 600 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).

[0134] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, 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.

[0135] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0136] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit 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.

[0137] 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.

[0138] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, 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. In some alternative implementations, 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. It should also be noted that 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.

[0139] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A task processing method, comprising: A first message sent by a first digital assistant corresponding to a first user in a group chat session is detected, the first message indicating a target task; wherein the target task is determined based on at least one of the following: at least one session message in the group chat session, and a workflow associated with the group chat session; Determine the association between the target task indicated by the first message and the second user, wherein the group chat session includes at least the first digital assistant, the first user, and the second user; and In response to determining that the target task is associated with the second user, at least a portion of the target task is executed using a second digital assistant corresponding to the second user, based on the first message.

2. The method of claim 1, wherein detecting the first message includes: In the group chat session, a session message is received from the first digital assistant.

3. The method of claim 1, wherein the first digital assistant corresponds to a plurality of users including the first user, and the second user is one of the plurality of users.

4. The method according to claim 1, wherein determining the association between the target task and the second user includes: The association between the target task and the second user is determined based on the content or attributes of the first message.

5. The method according to claim 4, wherein determining the association between the target task and the second user based on the content or attributes of the first message includes at least one of the following: In response to the first message including a reference to the second user or the second digital assistant, it is determined that the target task is associated with the second user. In response to the first message being an announcement message of a group chat session including the second user or the second digital assistant, it is determined that the target task is associated with the second user, or In response to the fact that the first message was sent to a group including the second user, it is determined that the target task is associated with the second user.

6. The method according to claim 1, wherein determining the association between the target task and the second user comprises: In response to determining that the first digital assistant and the second digital assistant have an association relationship for the target task, the target task is determined to be associated with the second user.

7. The method according to claim 1, further comprising: The target task is determined using the first digital assistant; as well as The first digital assistant is used to send the first message in the group chat session that instructs the target task.

8. The method according to claim 7, further comprising: In response to the association between the first digital assistant and the second digital assistant for the target task, the content or attributes of the first message are set to indicate that the target task is associated with the second user.

9. The method of claim 6 or 8, wherein the association comprises at least one of the following: The first digital assistant and the second digital assistant belong to a workflow that includes the target task, or The second digital assistant sends a trigger request to the first digital assistant for one or more tasks, including the target task.

10. A method for task processing, comprising: The second digital assistant obtains information about the first event triggered by the first digital assistant; as well as Based on the first event information, the second digital assistant executes the first task and outputs first information related to the first task. The first digital assistant and the second digital assistant are associated, and the association includes one or more of the following: the second digital assistant and the first digital assistant are within the same business entity; the second digital assistant follows the first digital assistant; the second digital assistant subscribes to at least some of the functions of the first digital assistant. The first task is determined based on at least one of the following: at least one session message in the group chat session, a workflow associated with the group chat session; and the group chat session includes at least the first digital assistant, a first user associated with the first digital assistant, and a second user associated with the second digital assistant.

11. The method according to claim 10, wherein, The second digital assistant is a digital assistant associated with the second user, and the second digital assistant outputs the first information related to the first task to the second user.

12. The method according to claim 11, wherein, The first digital assistant is the digital assistant associated with the first user; Alternatively, the first digital assistant is the digital assistant of the first business component.

13. An apparatus for task processing, comprising: The message detection module is configured to detect a first message sent by a first digital assistant corresponding to a first user in a group chat session, the first message indicating a target task; wherein the target task is determined based on at least one of the following: at least one session message in the group chat session, and a workflow associated with the group chat session; The association determination module is configured to determine the association between the target task indicated by the first message and the second user, wherein the group chat session includes at least the first digital assistant, the first user, and the second user; and The task execution module is configured to, in response to determining that the target task is associated with the second user, execute at least a portion of the target task based on the first message using a second digital assistant corresponding to the second user.

14. An apparatus for task processing, comprising: The information acquisition module is configured to enable the second digital assistant to acquire the first event information triggered by the first digital assistant; as well as The execution processing module is configured to cause the second digital assistant to execute a first task based on the first event information and output first information related to the first task. The first digital assistant and the second digital assistant are associated, and the association includes one or more of the following: the second digital assistant and the first digital assistant are within the same business entity; the second digital assistant follows the first digital assistant; the second digital assistant subscribes to at least some of the functions of the first digital assistant. The first task is determined based on at least one of the following: at least one session message in the group chat session, a workflow associated with the group chat session; and the group chat session includes at least the first digital assistant, a first user associated with the first digital assistant, and a second user associated with the second digital assistant.

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

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

Citation Information

Patent Citations

  • Providing access to user-controlled resources by automated assistants

    CN110622126A

  • Proactive provision of new content to group chat participants

    CN110710170A