Task processing method and device, equipment and storage medium

By detecting task trigger conditions and interacting with the target model, the digital assistant can execute tasks without user real-time instructions, solving the problem of low information processing efficiency of digital assistants in complex scenarios in the prior art, and improving the intelligence of task execution and flexibility.

CN119003107APending Publication Date: 2024-11-22BEIJING ZITIAO NETWORK TECH CO LTD +1

Patent Information

Application Number
CN202311569293.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the case of complex business scenarios or the collaboration of multiple business components, existing digital assistants are difficult to effectively improve information processing efficiency, and their interaction methods are not flexible enough to trigger or execute tasks in a timely manner, affecting user experience and interaction efficiency.

Method used

By detecting task trigger conditions related to digital assistants, starting task execution when the response conditions are met, obtaining task-related information, and interacting with the target model to obtain attribute information to execute tasks, realizing task automation without user real-time instructions.

Benefits of technology

It improves the intelligence and flexibility of digital assistants, improves work efficiency, can automatically perform tasks under specific conditions, and enhances the interactive experience between users and digital assistants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003107A_ABST
    Figure CN119003107A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a task processing method and device, equipment and a storage medium. In the method for task processing, whether a task triggering condition related to a first digital assistant is met or not is detected; and in response to the task triggering condition being met, starting task execution related to the first digital assistant. The task execution comprises the steps of obtaining first task related information; based on the obtained first task related information, through interaction with a target model, executing at least one of the following items: obtaining attribute information of the first task; and executing the first task based on the attribute information of the first task. In this way, the intelligence of the digital assistant can be improved, and the use flexibility of the digital assistant and the task processing efficiency based on the digital assistant can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the rapid development of Internet technology, the Internet has become an important platform for people to obtain and share content. Users can access the Internet through terminal devices to enjoy various Internet services. The terminal device presents the corresponding content through the user interface of the application or business component and interacts with the user and provides services to the user. Therefore, the colorful interactive interface of the application is an important means to improve the user experience. With the development of information technology, various terminal devices can provide various services to people in work and life. For example, applications that provide services can be deployed in terminal devices. Terminal devices or applications can provide users with digital assistant functions to assist users in using terminal devices or applications. How to improve the flexibility of interaction between users and digital assistants is a technical problem to be explored at present. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for task processing is provided. The method includes: detecting whether a task trigger condition related to a first digital assistant is satisfied; and in response to the task trigger condition being satisfied, starting the execution of a task related to the first digital assistant. Task execution includes: obtaining information related to the first task; based on the obtained information related to the first task, performing at least one of the following by interacting with a target model: obtaining attribute information of the first task; and executing the first task based on the attribute information of the first task.

[0004] In a second aspect of the present disclosure, a device for task processing is provided. The device includes: a trigger detection module configured to detect whether a task trigger condition related to a first digital assistant is satisfied; and a task execution module configured to start the execution of a task related to the first digital assistant in response to the task trigger condition being satisfied. Task execution includes: obtaining information related to the first task; based on the obtained information related to the first task, performing at least one of the following by interacting with a target model: obtaining attribute information of the first task; executing the first task based on the attribute information of the first task.

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

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

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

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

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

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

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

[0012] Figure 4A A flowchart showing a process for task processing according to still other embodiments of the present disclosure is shown;

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

[0014] Figure 4C A flowchart showing a process for task processing according to still other embodiments of the present disclosure is shown;

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

[0016] Figure 6 A block diagram of an apparatus for task processing according to other embodiments of the present disclosure is shown;

[0017] Fig. 7A A block diagram of an apparatus for task processing according to still other embodiments of the present disclosure is shown;

[0018] Figure 7B A block diagram of an apparatus for task processing according to still other embodiments of the present disclosure is shown;

[0019] Figure 7C A block diagram showing an apparatus for task processing according to still other embodiments of the present disclosure; and Figure 8 A block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented is shown. DETAILED DESCRIPTION

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

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

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

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

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

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

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

[0027] It is understandable that the above notification and the process of obtaining user authorization are only illustrative and do not limit the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure. The activation of the digital assistant related functions, the acquired data, the processing and storage of the data, etc. in the embodiment of the present disclosure shall obtain the prior authorization of the user and other rights holders associated with the user, and shall comply with the relevant laws and regulations and the agreement rules between the rights holders.

[0028] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In the 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 attached device of the terminal device 110.

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

[0030] The business component 125 includes, but is not limited to, one or more of the following: a chat component (also known as an instant messaging component), a document component, an audio and video conference component, an email component, a task component, a calendar component, an objective and key result (OKR) component, and the like. Figure 1A single business component is shown in the figure, but in fact, multiple business components can be installed on the terminal device 110. In some embodiments, the business component 125 may include a multi-functional collaboration platform, such as an office collaboration platform (also known as an office suite) that can provide the integration of various types of business components to facilitate people to carry out office work, communication and other activities. In the multi-functional collaboration platform, people can start different business components as needed to complete corresponding information processing, sharing, communication, etc. The business component 125 can provide a content entity 126. The content entity 126 can be a content instance created by the user 140 or other users on the business component 125. For example, depending on the type of the business component 125, the content entity 126 can be a document (e.g., a word document, a pdf document, a presentation, a spreadsheet document, etc.), an email, a message (e.g., a conversation message on an instant messaging component or a message on another component), a calendar, a schedule, a task, an audio, a video, an image, and the like.

[0031] In some embodiments, the digital assistant 120 may be provided by a separate business component, or may be integrated into a business component 120 that can provide a content entity. The business component for providing a client interface for the digital assistant may correspond to a single-function business component or a multi-function collaboration platform, such as an office suite or other collaboration platform that can integrate multiple components. It is understood that similar to the business component, although Figure 1 A single digital assistant is shown in the figure, but there may actually be multiple digital assistants.

[0032] In some embodiments, the digital assistant 120 supports the use of plug-ins. Each plug-in can provide one or more functions of the application. Such plug-ins include, but are not limited to, one or more of the following: a search plug-in, a contact plug-in, a message plug-in, a document plug-in, a table plug-in, a mail plug-in, a calendar plug-in, a schedule plug-in, a task plug-in, and the like.

[0033] The digital assistant 120 is an intelligent assistant of the user, which has intelligent dialogue and information processing capabilities. In an embodiment of the present disclosure, the digital assistant 120 is used to interact with the user 140 to assist the user 140 in using a terminal device or application. An interaction window with the digital assistant 120 may be presented in the client interface. In the interaction window, the user 140 can communicate with the digital assistant 120 by inputting natural language, pictures, audio files, video files, web page files, etc., to instruct the digital assistant to assist in completing various tasks, including operations on the content entity 126.

[0034] In some embodiments, the digital assistant 120 can be included in the contact list of the current user 140 in the office suite as a contact of the user 140, or included in the information flow of the chat component. In some embodiments, the user 140 has a corresponding relationship with the digital assistant 120. For example, the first digital assistant corresponds to the first user, the second digital assistant corresponds to the second user, and so on. In some embodiments, the first digital assistant can correspond uniquely to the first user, the second digital assistant can correspond uniquely to the second user, and so on. That is, the first digital assistant of the first user can be specific to or exclusive to the first user. For example, in the process of the first digital assistant providing assistance or service to the first user, the first digital assistant can use its historical interaction information with the first user, the data authorized by the first user that it can access, and the current interaction context with the first user. If the first user is an individual or an individual, the first digital assistant can be regarded as a personal digital assistant. It can be understood that in the disclosed embodiments, the first digital assistant is based on the authorized access to the data to which the permission is granted by the first user. It should be understood that "uniquely corresponding" or similar expressions in the present disclosure are not intended to limit the first digital assistant to be updated accordingly based on the interaction process between the first user and the first digital assistant. Of course, depending on actual application needs, the digital assistant 120 does not have to be specific to the current user 140, but can be a general digital assistant.

[0035] In some embodiments, during the operation of the digital assistant 120 and / or the business component 125, one or more models 155 may be called to perform task processing. For example, the digital assistant 120 may use the model 155 to help understand the user input and provide a reply to the user based on the output of the model 155. 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). The language model can have question-and-answer capabilities by learning from a large amount of corpus. The model may also be based on other appropriate models. Although shown as being independent of the server and / or terminal device, one or more models 155 may run on a server and / or terminal device, or other remote servers.

[0036] In some embodiments, multiple interaction modes between the user 140 and the digital assistant 120 can be provided, and the multiple interaction modes can be flexibly switched. When a certain interaction mode is triggered, the corresponding interaction area is presented to facilitate the interaction between the user 140 and the digital assistant 120. The user 140 and the digital assistant 120 interact in different ways in different interaction modes, so that it can be flexibly adapted to the interaction needs in different application scenarios.

[0037] 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 a data range specific to user 140. In some embodiments, historical interaction information of user 140 interacting with digital assistant 120 in multiple interaction modes can be stored in association with user 140. In this way, in one interaction mode (any one or a designated one of the interaction modes) among the multiple interaction modes, digital assistant 120 can provide services to user 140 based on historical interaction information stored in association with user 140.

[0038] The digital assistant 120 can be called or awakened by an appropriate method (e.g., shortcut keys, buttons, or voice) to present an interaction window with the user 140. By selecting the digital assistant 120, the interaction window with the digital assistant 120 can be opened. The interaction window may include interface elements for information interaction, such as an input box, a message list, a message bubble, and the like. In other embodiments, the digital assistant 120 can be awakened through an entry control or menu provided in a page, or by inputting a preset instruction.

[0039] The interactive window between the digital assistant 120 and the user 140 may include a conversation window, such as a conversation window in an instant messaging application or an instant messaging module of a target application. In the conversation window, the interaction between the digital assistant 120 and the user 140 may be presented in the form of a conversation message. Alternatively or additionally, the interactive window between the digital assistant 120 and the user 140 may also include other types of windows, such as a window in a floating window mode, in which the user 140 may trigger the digital assistant 120 to perform a corresponding operation by inputting instructions, selecting shortcut instructions, etc.

[0040] In some embodiments, the digital assistant 120 may support an interactive mode of a conversation window, also referred to as a conversation mode. In this interactive mode, a conversation window between the user 140 and the digital assistant 120 is presented, in which the user 140 and the digital assistant 120 interact through conversation messages. In the conversation mode, the digital assistant 120 may perform tasks based on the conversation messages in the conversation window. In the interactive window, the user 140 inputs an interactive message, and the digital assistant 120 provides a reply message in response to the user input.

[0041] In some embodiments, the conversation mode between the user 140 and the digital assistant 120 can be called or awakened by an appropriate method (e.g., a shortcut key, a button, or voice) to present a conversation window. By selecting the digital assistant 120, a conversation window with the digital assistant 120 can be opened. The conversation window may include interface elements for information interaction, such as an input box, a message list, a message bubble, and the like.

[0042] In some embodiments, the digital assistant 120 may support an interactive mode of a floating window (or floating window), also referred to as a floating window mode. When the floating window mode is triggered, an operation panel (also referred to as a floating window) corresponding to the digital assistant 120 is presented, and the user 140 may issue instructions to the digital assistant 120 based on the operation panel. In some embodiments, the operation panel may include at least one candidate shortcut instruction. Alternatively or additionally, the operation panel may include an input control for receiving instructions. In floating window mode, the digital assistant 120 may perform tasks according to instructions issued by the user 140 through the operation panel.

[0043] In some embodiments, the floating window mode of the user 140 and the digital assistant 120 can also be called or awakened by an appropriate method (e.g., a shortcut key, a button, or voice) to present the corresponding operation panel. In some embodiments, the awakening of the digital assistant 120 can be supported in a specific application, such as a document application, to provide interaction in the floating window mode. In some embodiments, in order to trigger the floating window mode to present the operation panel corresponding to the digital assistant 120, an entry control for the digital assistant 120 can be presented in the application interface. In response to detecting a trigger operation for the entry control, it can be determined that the floating window mode is triggered, and the operation panel corresponding to the digital assistant 120 is presented in the target interface area.

[0044] In some embodiments described below, for ease of discussion, the interaction window between the user and the digital assistant is mainly taken as an example of a conversation window.

[0045] In some embodiments, the terminal device 110 communicates with the server 130 to provide services for the digital assistant 120 and the business component 125. The terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.). The server 130 can be various types of computing systems / servers that can provide computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.

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

[0047] As briefly mentioned above, digital assistants can assist users in using terminal devices or applications. Some applications can provide integrated functions of different plug-ins. In addition to being able to have free conversations with digital assistants, users can also use natural language and other instructions to enable digital assistants to use different plug-ins to complete some more complex business-related operations of the application, such as creating documents, inviting schedules, creating tasks, etc. Traditionally, users are often required to actively trigger interactions with digital assistants, and digital assistants rely on user instructions to perform tasks. However, such a task execution method always requires immediate instructions from users, and for tasks that users have not discovered or noticed in time, it may not be possible to immediately trigger digital assistants to help execute. In some cases, for digital assistants bound to specific business components, business scenarios, or users, the digital assistants can usually only process information based on the business components, business scenarios, or the user's immediate instructions. For some special scenarios, it is impossible to effectively use digital assistants to improve information processing efficiency. For example, when multiple business components need to collaborate, or the business scenarios are relatively complex, or it is difficult for users to give immediate instructions in real time, the information processing efficiency is low. Business components can be different business components integrated in a collaborative platform, or they can be the first business components connected to the collaborative platform, or they can be the second business components associated with the user. The first business component is usually allowed to interact with business components in the collaborative platform or users of the platform in a certain type or range of information. The second business component is the business component registered or used by the user. In other cases, a unified and standardized interactive experience is usually provided, which often cannot meet the personalized needs of all users. The above-mentioned problems will affect the interaction efficiency and experience between users and digital assistants, and make the interactive functions of digital assistants less flexible.

[0048] According to some embodiments of the present disclosure, an improved scheme for task processing is proposed, aiming to solve at least one of the above-mentioned technical problems. In this scheme, it is detected whether the task triggering condition related to the first digital assistant is met; and in response to the task triggering condition being met, the execution of the task related to the first digital assistant is started. Task execution includes: obtaining information related to the first task. Based on the obtained information related to the first task, at least one of the following is performed by interacting with the target model: obtaining attribute information of the first task; executing the first task based on the attribute information of the first task. In this way, the intelligence of the digital assistant can be improved, the flexibility of using the digital assistant can be improved, and the work efficiency based on the digital assistant can be improved.

[0049] Some example embodiments of the present disclosure will be described in detail below with reference to examples of the accompanying drawings.

[0050] Figure 2 FIG. 2 is a flowchart of a process 200 for task processing according to some embodiments of the present disclosure. For ease of discussion, reference will be made to Figure 1 The process 200 is described with reference to the environment 100. The process 200 may be implemented at the terminal device 110 and / or the server 130. For the convenience of description, the following description is given by taking the process 200 being implemented at the terminal device 110 as an example. It should be understood that some operations described with reference to the terminal device 110 may require the assistance of the server 130. It should be noted that the operations performed by the terminal device 110 may be performed by relevant applications and / or digital assistants installed on the terminal device 110.

[0051] In box 210, the terminal device 110 or the first digital assistant on the terminal device 110 detects whether a task triggering condition related to the first digital assistant is met.

[0052] The terminal device 110 can obtain a task trigger condition related to the first digital assistant, where the first digital assistant can be, for example, the digital assistant 120. It can be understood that the first digital assistant corresponds to the 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 assistant / organization assistant, etc. In some embodiments, the task trigger condition can be set by the first user corresponding to the first digital assistant (that is, the user 140 corresponding to the terminal device 110, which can also be referred to as the current user).

[0053] Specifically, the terminal device 110 may receive at least one user input of the first user to the first digital assistant. For example, the terminal device 110 may receive at least one user input of the first user to the first digital assistant in the conversation window between the first user and the first digital assistant. The user input may be any type of input, such as text, audio, image, etc. The terminal device 110 may determine the task triggering condition based on the at least one user input. For example, the terminal device 110 may analyze the user input to determine the task triggering condition indicated by the user input. Exemplarily, the first user may send a conversation message in advance in the interaction window between the first user and the first digital assistant, "Whenever I receive a customer complaint email, remind me and prepare a reply email." The terminal device 110 may determine the task triggering condition as "receiving a customer complaint email" in response to receiving the conversation message. Alternatively or additionally, the task triggering condition may also be determined by the terminal device 110 itself. For example, the terminal device 110 may determine the task triggering condition based on historical data associated with the first user.

[0054] In some embodiments, the terminal device 110 can use the target model (eg Figure 1The task triggering condition is determined by the model 155 in the example. The terminal device 110 can construct a prompt input based on at least one user input / historical data. The terminal device 110 can provide the prompt input to the model 155 and obtain the task triggering condition determined by the model 155. In some embodiments, the model can be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model can be based on a language model (LM). The language model can have question-answering capabilities by learning from a large amount of corpus. The model can also be based on other appropriate models.

[0055] The task triggering condition may, for example, include the first user receiving a notification message from the first business component. The first business component here may, for example, be a business component integrated with the first digital assistant. In this case, the terminal device 110 may determine that the task triggering condition related to the first digital assistant is met in response to detecting the notification information from the first business component. The notification message here may be a notification message of the business component itself, or a notification message sent by a contact in the business component. In some embodiments, when setting a task, the first user may instruct the first digital assistant to detect a notification message of the first business component. In some embodiments, when setting a task, the user may also define the type of notification message. In this case, the terminal device 110 may determine that the task triggering condition related to the first digital assistant is met in response to detecting a notification message of a predetermined type from the first business component.

[0056] The task triggering condition may also include, for example, an event related to the first user occurring in the second business component. The second business component here may be the same business component as the first business component, or may be a different business component. The event related to the first user here may also be any appropriate event, such as a calendar event associated with the first user, a time change event, a message notification event, a document change event, an email sending and receiving event, a task update event, and the like. When setting a task, the first user may indicate to the first digital assistant the second business component that needs to be detected, and the event to be detected in the second business component. In some embodiments, if the second business component is a business component 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 may provide a business component program interface (API) and a development interface so that the second business component can be registered at the first digital assistant. For example, the first digital assistant can only obtain data of the registered second business component.

[0057] The task triggering condition may also include, for example, the arrival of a preset time. A task associated with the arrival of a 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 satisfied in response to the current time arriving at the preset time.

[0058] The task triggering condition may also include, for example, that the execution condition of one or more work nodes in a preset workflow is satisfied. The preset workflow here may include multiple work nodes. Multiple work nodes respectively have one or more corresponding tasks, and there is a dependency relationship between the tasks corresponding to two or more of the multiple work nodes. For example, if the first node and the second node are adjacent nodes, and the first node is located in front of the second node, the second node can only execute the task corresponding to the second node if the first node completes the task corresponding to the first node. In this case, the terminal device 110 may, for example, determine that the task triggering condition related to the first digital assistant is satisfied and execute one or more tasks corresponding to the work node in response to detecting that the execution condition of a work node is satisfied. The following will be combined with Figure 3 An embodiment of active task execution based on a preset workflow is described in detail.

[0059] It will be understood that some example task triggering conditions are discussed above. In some embodiments, the task triggering conditions of certain tasks may also include a combination of one or more of the following: the first user receives a notification message from the first business component, an event related to the first user occurs in the second business component, a preset time arrives, the execution conditions of one or more work nodes in the preset workflow are met, etc. For example, a task triggering condition may include the arrival of a preset time, and the first user receives a notification message from the first business component. It will be understood that the task triggering conditions may also include any appropriate conditions, which are not limited in the embodiments of the present disclosure. 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.

[0060] In some embodiments, before detecting whether the task triggering condition is satisfied, the terminal device 110 may also determine whether the first digital assistant's active task execution function is enabled. If it is determined that the active task execution function is enabled, the terminal device 110 may determine that the first digital assistant can perform the detection of the task triggering condition and detect whether the task triggering condition related to the first digital assistant is satisfied. If it is determined that the active task execution function is not enabled, the terminal device 110 may determine that the task triggering condition cannot be detected, that is, the terminal device 110 will not detect whether the task triggering condition related to the first digital assistant is satisfied. In some embodiments, if it is determined that the active task execution function is not enabled, the terminal device 110 may also provide a prompt message to the first user to prompt that the active task execution function of the first digital assistant is not currently enabled. Exemplarily, the terminal device 110 may present a prompt message in the client interface of the digital assistant (e.g., the client interface presented by the terminal device 110). Regarding the enabling method of the active 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. The configuration page may include, for example, an operation control for enabling the active task execution function. The terminal device 110 can determine to enable the active task execution function of the first digital assistant in response to detecting the trigger operation for the operation control. The server 130 can determine that the active task execution function of the first digital assistant is enabled through communication with the terminal device 110.

[0061] It should be noted that the activation of the active execution of tasks by the digital assistant in the embodiment of the present disclosure, the data obtained, the processing and storage of the data, etc., shall all be authorized in advance by the user and other rights holders associated with the user, and shall comply with the relevant laws and regulations and the agreement rules between rights holders. And the digital assistant shall actively perform relevant tasks within the scope of the user's authorization.

[0062] In some embodiments, the terminal device 110 may continuously detect whether one or more task triggering conditions related to the first digital assistant are satisfied. In some embodiments, the terminal device 110 may detect whether the task triggering conditions are satisfied with the help of a target model (e.g., model 155). In some embodiments, considering the resource and time overhead of the model call, the terminal device 110 may use different detection modes to detect whether the task triggering conditions are satisfied.

[0063] In some embodiments, the terminal device 110 may detect whether the task trigger condition is satisfied based on the first detection mode, where the first detection mode includes other detection modes in addition to the interaction with the target model. In some examples, the first detection mode may include performing a key information search on the first information, and the first information includes information for detecting whether the task trigger condition is satisfied. For example, at least one keyword associated with the task trigger condition may be obtained. This at least one keyword may be determined by the first user, or it may be determined by the terminal device 110 based on the task trigger condition. The terminal device 110 may then search for one or more keywords associated with the task trigger condition in the first information based on keyword detection, thereby detecting whether the task trigger condition associated with the first digital assistant is satisfied. In some embodiments, alternatively or additionally, the first detection mode also includes detecting whether the first information satisfies a preset rule. If the first information satisfies the preset rule, it can be determined that the task trigger condition associated with the first digital assistant is satisfied. That is, in the first detection mode, it is possible to determine whether the task trigger condition is satisfied by simple, low-cost methods such as key information search and / or rule matching.

[0064] In some embodiments, the terminal device 110 can detect whether the task trigger condition related to the first digital assistant is met by interacting with the target model (e.g., model 155) based on the 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 trigger condition is met based on the first detection mode. If it is impossible to determine whether the task trigger condition is met based on the first detection mode, it can be detected based on the second detection mode with the help of model 155 whether the task trigger condition related to the first digital assistant is met. This can help reduce the amount of computation of the terminal device 110 and improve detection efficiency.

[0065] In some embodiments of detecting whether the task trigger condition is satisfied based on the second detection mode, the terminal device 110 may obtain the second prompt word based on the first information. The first information here includes information for detecting whether the task trigger condition is satisfied. The model 155 may be interacted with based on the second prompt word, and based on the interaction result with the target model, whether the task trigger condition is satisfied may be detected. In such an embodiment, the information processing capability of the model may be used to help determine whether the task trigger condition is satisfied.

[0066] In box 220, the terminal device 110 or the first digital assistant on the terminal device 110 starts the execution of the task related to the first digital assistant in response to the task triggering condition being satisfied. Task execution includes: obtaining information related to the first task; based on the obtained information related to the first task, by interacting with the target model, performing at least one of the following: obtaining attribute information of the first task; executing the first task based on the attribute information of the first task. In some embodiments, the interaction with the target model may occur in the attribute information acquisition stage of the first task. In some embodiments, the interaction with the target model may occur in the execution stage of the first task. In some embodiments, both the attribute information acquisition stage and the execution stage of the first task involve interaction with the target model. The specific use of the target model in each stage will be discussed in the following embodiments.

[0067] Thus, task-related information can be obtained under specific triggering conditions and the user can be helped to perform the corresponding task without the need for active triggering by the user. The first digital assistant can start the execution of the task when the task triggering conditions are met without the need for real-time instructions from the user. During task execution, the task can also be assisted in completing by interacting with the target model (e.g., model 155).

[0068] The first task-related information refers to information that can be used to determine what task to perform and how to perform the task. In some embodiments, the first task-related information can be obtained 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 business component, the first task-related information can be obtained based on the notification message from the first business component. The first task-related information may include the notification message itself, the information mentioned or referenced in the notification message, and so on. The first task-related information may also include obtaining the information required to perform the first task from the business object related to the first user in the first business component. If the task triggering condition is that an event related to the first user occurs in the second business component, the first task-related information may also include obtaining the information required to perform the first task from the business object related to the first user in the second business component. In some embodiments, if the task triggering condition includes an event related to the first user occurring in the second business component, the terminal device 110 may determine the first task based on the event and obtain the task-related information of the first task.

[0069] 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 business component or the second business component related to the task triggering condition, for example, the information required to perform the first task may be obtained based on the business object related to the first user in the at least one third business component. The business objects related to the first user may include, for example, documents, meetings, schedules, meeting minutes, etc. associated with the first user, depending on the type of business component. It should be noted that the business objects related to the first user in each business component that is relied upon are business objects that the first user has the authority to obtain. For example, if the business object is a document, the document is a document that the first user has the authority to obtain. This helps to protect the user's data security.

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

[0071] In some embodiments, alternatively or additionally, the first task-related information may be obtained based on input information that causes the task triggering condition to be satisfied. The input information here may include user input, the first information mentioned above, and the like.

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

[0073] In some embodiments, as mentioned above, the first digital assistant can also be associated with a preset workflow, and whether the execution conditions of one or more work nodes are met is determined based on the preset workflow. When the first digital assistant is associated with a 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. Usually, in a workflow, whether a task at one or some work nodes is to be executed and / or how to execute it may need to be judged based on the execution of the previous work node. In particular, if a work node has multiple task branches, it is necessary to determine which task branch to execute next based on the execution of the previous work node.

[0074] 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 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, regulations and relevant provisions, and obtain valid authorization from the corresponding right holder.

[0075] After obtaining the relevant information of the first task, the attribute information of the first task is determined based on the obtained relevant information of the first task. The attribute information of the first task may include the type of the first task, that is, what kind of task is to be performed. The attribute information of the first task may also include parameter information related to the execution of the first task, plug-in information or application programming interface (API) information for executing the first task. 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 plug-in information or API information in the attribute information may indicate the plug-in that needs to be called or the interface to be called when executing the first task. Based on the attribute information of the first task, it can be determined what kind of task is to be performed and how the task is to be performed. 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.

[0076] In some embodiments, in order 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 the first prompt word based on the information related to the first task, and send the first prompt word to the model 155. After obtaining feedback from the model 155, the attribute information of the first task is determined based on the feedback. In other words, the model can be used to analyze the prompt word obtained based on the information related to the first task, so as to determine the type, parameter information, plug-in information, API information, etc. of the task that the first digital assistant needs to actively perform.

[0077] In some embodiments, the terminal device 110 may pre-acquire a task corresponding to a task trigger condition. The terminal device 110 may store the task trigger condition and the corresponding task in association. The terminal device 110 may then acquire task-related information in response to the task trigger condition being met. For example, the terminal device 110 may respond to receiving a conversation message from the first user in the conversation window between the first user and the first digital assistant, "Whenever I receive a customer complaint email, remind me and prepare a reply email", then the terminal device 110 may determine that the task trigger condition is "received a customer complaint email", and the task corresponding to the task trigger condition is "remind the first user and prepare a reply email". The terminal device 110 may then acquire information related to preparing a reply email. That is, in this case, the terminal device 110 may directly determine the task to be performed that matches the task trigger condition based on the task trigger condition. The task to be performed may also be referred to as the first task.

[0078] In some embodiments, the terminal device 110 may also only obtain the task triggering condition. The terminal device 110 may determine the task to be performed based on the task triggering condition in response to the task triggering condition being satisfied. Exemplarily, if the task triggering condition includes that the first user receives a notification message from the first business component, the terminal device 110 may determine the first task based on the notification message and obtain the attribute information of the first task (e.g., information required to perform the first task). In other words, the satisfaction of a specific task triggering condition is used to trigger the terminal device 110 to obtain attribute information to determine whether the task needs to be performed and what specific task is to be performed. For example, if the first business component is a chat business component, the terminal device 110 may determine that the task triggering condition associated with the first digital assistant is satisfied in response to receiving a notification message (e.g., a message "Send me a project evaluation") sent by other users to the first user in the first business component. The terminal device 110 may determine that the first task is to prepare a project evaluation report based on the notification message. The terminal device 110 may then obtain information related to the preparation of a project evaluation report (e.g., project data for different users).

[0079] Regarding the specific manner of determining the first task based on the notification message, in some embodiments, similar to determining the task triggering condition, the terminal device 110 can determine the prompt word based on the information related to the notification message, send the prompt word to the target model, and receive the result returned by the target model. Alternatively or additionally, in some embodiments, the terminal device 110 can also determine the first task matching the notification message based on a predetermined rule.

[0080] In some embodiments, the active execution process of the first task can be based on interactive instructions or non-interactive instructions with the user. In some embodiments, the first digital assistant can also determine whether the execution process of the first task requires additional input from the first user. If the execution process of the first task does not require additional input from the first user, the first digital assistant can actively execute the first task directly based on the acquired task-related information without the need for interactive instructions from the user. In some embodiments, if the execution process of the first task requires additional input from the first user, the first digital assistant can send a message to the first user instructing the first user to provide additional information about the first task. The first digital assistant can then receive the additional input from the first user and determine the additional information corresponding to the additional input, and the first digital assistant can then execute the first task based on the attribute information of the first task and the additional information obtained. 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 by the user, and finally complete the project evaluation report.

[0081] It should be noted that the message instructing the first user to provide additional information about the first task and the additional message here can be sent and received in the interaction window between the first user and the first digital assistant. For example, the terminal device 110 can send a message instructing the first user to provide additional information about the first task in the interaction window between the first user and the first digital assistant. The terminal device 110 can then obtain additional information based on multiple rounds of conversations between the first user and the first digital assistant. For another example, the terminal device 110 can also present operation controls, shortcut instructions, etc. associated with obtaining additional input in the interaction window between the first user and the first digital assistant. The terminal device 110 can determine that the additional input is obtained in response to detecting a trigger operation on the corresponding operation control / shortcut instruction, and then determine the additional information indicated by the additional input.

[0082] In some embodiments, the terminal device 110 uses the first digital assistant to notify the first user of the execution result of the first task. The terminal device 110 can, for example, 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 in the interaction window between the first user and the first digital assistant.

[0083] Taking the task trigger condition that the first user receives a notification message from the first business component, and the terminal device 110 determines 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 determine that the task trigger condition is met in response to receiving the notification message. The terminal device 110 can determine based on the notification information that the first task is to prepare a project report for a certain object. The terminal device 110 can then proactively prepare a draft project report based on the work output of a certain object in the past six months. The project report of a certain object in the past six months here 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 first user to complete the task and attach a project report in the interactive window between the first user and the first digital assistant.

[0084] Taking the task trigger condition that the first user receives a notification message from the first business component, and the terminal device 110 determines that the execution process of the first task does not require additional input from the first user as an example, if the notification message indicates that a new customer intention has been discovered, the first user is requested to follow up. The terminal device 110 can determine that the task trigger condition is met in response to receiving the notification message. Based on the notification information, the terminal device 110 can determine that the first task is to formulate an email to be sent to a new customer. The terminal device 110 can organize the information of the new customer and draft an email according to a predetermined process. The information of the new customer here can be obtained by the terminal device 110 from a business object related to the first user in at least one third business component. The terminal device 110 can send a notification message prompting the first user to complete the task in the interaction window between the first user and the first digital assistant, and attach the information of the new customer and the draft email.

[0085] In summary, according to the embodiments of the present disclosure, the terminal device 110 can respond to the task triggering condition related to the digital assistant being met, actively execute the task indicated by the task triggering condition, and can notify the user of the execution result. This can enhance the intelligence and autonomy of the digital assistant, improve the flexibility of the use of the digital assistant, and help improve the work efficiency of the digital assistant.

[0086] Combine the following Figure 3 An example of the process of actively executing a preset workflow (ie, the first workflow hereinafter) by the digital assistant 120 is described in detail. Figure 3 FIG. 3 is a flowchart of a process 300 for task processing according to some embodiments of the present disclosure. Figure 1The process 300 is described with reference to the environment 100. The process 300 may be implemented at the terminal device 110 and / or the server 130. For the convenience of description, the following description is given by taking the process 300 being implemented at the terminal device 110 as an example. It should be understood that some operations described with reference to the terminal device 110 may require the assistance of the server 130. It should be noted that the operations performed by the terminal device 110 may be performed by relevant applications and / or digital assistants installed on the terminal device 110.

[0087] In box 310, the terminal device 110 or the first digital assistant on the terminal device 110 detects whether the execution conditions of each work node in the first workflow are met, wherein the first workflow includes multiple work nodes.

[0088] The first workflow here can be, for example, any appropriate workflow, which can be pre-input into the terminal device 110 by the first user. The multiple work nodes included in the first workflow have corresponding tasks respectively. In some embodiments, there can also be a dependency relationship between the tasks corresponding to two or more work nodes in the multiple work nodes. That is, the task of a work node depends on the task of at least one other work node. In some embodiments, in order to ensure the standardization and accuracy of the first workflow and multiple work nodes, the first workflow can be a standard operating procedure (SOP) for the first business. SOP refers to describing the standard operating steps and requirements of an event in a unified format for guiding and standardizing specific business operations. SOP usually quantifies the details of a specific business. In layman's terms, SOP is to refine and quantify the key control points in a certain program.

[0089] In some embodiments, the terminal device 110 or the first digital assistant on the terminal device 110 can determine whether the execution conditions of each work node in the multiple work nodes are met based on the information related to the first workflow. In some embodiments, the information related to the first workflow may include the first workflow itself, because the first workflow itself defines the work logic, that is, the task dependencies between the various work nodes, the trigger logic of the task branches of each work node, and so on. At least partially based on the first workflow, the tasks to be performed by each work node and the execution conditions of these tasks can be determined. In some embodiments, alternatively or additionally, the information related to the first workflow may include business knowledge information corresponding to the first workflow. In some embodiments, alternatively or additionally, the information related to the first workflow may include known execution information of one or more work nodes in the multiple work nodes. Generally, in a workflow, whether a task at one or some work nodes is to be executed and / or how to be executed may need to be judged based on the execution of the previous work node. In particular, if a work node has multiple task branches, it is necessary to determine which task branch to be executed later based on the execution of the previous work node. In some embodiments, alternatively or additionally, the information related to the first workflow may include user feedback related to one or more of the multiple work nodes. Different work nodes may have corresponding users to detect and provide feedback. If feedback is received for a certain work node, it may be necessary to determine whether the task corresponding to the work node is to be triggered for execution.

[0090] In some embodiments, the terminal device 110 may obtain the execution conditions of each work node of the first workflow. For example, if the first workflow is a standard operating procedure, the terminal device 110 may directly determine the execution conditions of each work node based on the standard operating procedure. The terminal device 110 may further detect whether the execution conditions of each work node in the first workflow are met based on the execution conditions of each work node.

[0091] For example, taking the first workflow as the standard operating procedure of the hotel's guest room inspection business as an example, the terminal device 110 can determine the multiple work nodes required to perform the guest room inspection and the tasks corresponding to the multiple work nodes based on the first workflow. The terminal device 110 can then detect whether the execution conditions of each work node are met in turn. For example, if the execution condition of the work node of repairing the guest room shower system is that the guest room shower system is damaged, the terminal device 110 can determine whether the execution condition of the work node of repairing the guest room shower system is met based on the defect result of whether the guest room shower system is damaged.

[0092] In some embodiments, the terminal device 110 may continuously detect whether one or more execution conditions of each node are satisfied. In some embodiments, the terminal device 110 may detect whether the execution conditions are satisfied by means of a target model (e.g., model 155). In some embodiments, considering the resource and time overhead of model calls, the terminal device 110 may use different detection modes to detect whether the execution conditions are satisfied.

[0093] In some embodiments, the terminal device 110 may detect whether the execution conditions of each working node are satisfied based on the first detection mode, where the first detection mode includes other detection modes in addition to the interaction with the target model. In some examples, the first detection mode may include performing a key information search on the first information, and the first information includes information for detecting whether the execution conditions of each working node are satisfied. For example, at least one keyword associated with the execution condition may be obtained. The at least one keyword may be determined by the first user, or may be determined by the terminal device 110 based on the execution condition. The terminal device 110 may then search for one or more keywords associated with the execution condition in the first information based on the keyword detection method, thereby detecting whether the execution conditions related to each working node are satisfied. In some embodiments, alternatively or additionally, the first detection mode also includes detecting whether the first information satisfies a preset rule. If the first information satisfies the preset rule, it can be determined that the execution conditions related to each working node are satisfied. That is, in the first detection mode, it is possible to determine whether the execution condition is satisfied by a simple, low-cost method of key information search and / or rule matching.

[0094] In some embodiments, the terminal device 110 can detect whether the execution conditions related to each working node are met by interacting with the target model (e.g., model 155) based on the 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 execution conditions are met based on the first detection mode. If it is impossible to determine whether the execution conditions are met based on the first detection mode, it can be detected based on the second detection mode with the help of model 155 whether the execution conditions related to each working node are met. This can help reduce the amount of calculation of the terminal device 110 and improve detection efficiency.

[0095] In some embodiments of detecting whether the execution condition is satisfied based on the second detection mode, the terminal device 110 may obtain the second prompt word based on the first information. The first information here includes information for detecting whether the execution condition is satisfied. The model 155 may be interacted with based on the second prompt word, and whether the execution condition is satisfied may be detected based on the interaction result with the target model. In such an embodiment, the information processing capability of the model may be used to help determine whether the execution condition is satisfied.

[0096] When detecting whether the execution conditions of each work node are met based on the first detection mode or the second detection mode, whether the execution conditions are met can be judged based on one or more of the first workflow itself, business knowledge information, known execution information, and user feedback.

[0097] In box 320, the terminal device 110 or the first digital assistant on the terminal device 110 obtains relevant information of the first working node in response to detecting that the execution condition of the first working node in the first workflow is met.

[0098] In some embodiments, the relevant information of the first working node may include the business knowledge information corresponding to the first workflow and / or the known execution information corresponding to the first working node. In some embodiments, the terminal device 110 may also pre-acquire the business knowledge information corresponding to the first workflow. Such business knowledge information may be, for example, knowledge information that matches the business type in which the first workflow is located. For example, if the first workflow is a business flow of a hotel room inspection business, the corresponding business knowledge information may include knowledge information such as hotel management, room cleaning, appliance maintenance, and room management. The known execution information corresponding to the first working node may, for example, include the task execution result corresponding to at least one second working node on which the first working node depends. Exemplarily, if the first working node and the second working node are adjacent nodes, and the first working node is located behind the second working node (that is, the first working node depends on the second working node), the first working node can execute the task corresponding to the first working node only when the second working node completes the task corresponding to the second working node. In this case, the terminal device 110 may obtain the execution result of the second working node and determine it as the known execution information corresponding to the first working node.

[0099] In some embodiments, the detection of execution conditions, the acquisition of relevant information, and the subsequent determination of tasks and the execution of tasks can all be performed by the first digital assistant in the terminal device 110. In this case, the terminal device 110 can receive the configuration operation of the first user on the first digital assistant. The configuration operation may, for example, include associating the first workflow with the first digital assistant. It can be understood that only when the first workflow is associated with the first digital assistant, the first digital assistant can detect whether the execution conditions of each work node in the first workflow are met. The configuration operation may, for example, also include associating the business knowledge information corresponding to the first workflow with the first digital assistant. Similarly, it can be understood that only when the business knowledge information corresponding to the first workflow is associated with the first digital assistant, the first digital assistant can directly obtain the business knowledge information, and perform operations such as task determination based on the business knowledge information.

[0100] In the case where the detection of execution conditions, the acquisition of relevant information, and the subsequent determination of tasks and the execution of tasks are all performed by the first digital assistant in the terminal device 110, the first digital assistant may also send information about the execution of the first workflow to the first user (i.e., the user corresponding to the terminal device 110, for example, the user using the terminal device 110). As a result, the first user can be aware of the execution of the first workflow at any time, and the interaction experience between the first user and the digital assistant can be improved. In this case, the first digital assistant may also send a message to the first user indicating that the first user provides additional information about the first working node. Exemplarily, the first digital assistant may send a message indicating that the first user provides additional information about the first working node in the interaction window between the first user and the first digital assistant. The terminal device 110 may then obtain additional information based on multiple rounds of conversations between the first user and the first digital assistant. For another example, the terminal device 110 may also present operation controls, shortcut instructions, etc. associated with obtaining additional input in the interaction window between the first user and the first digital assistant. The terminal device 110 may determine that additional input is obtained in response to detecting a trigger operation on the corresponding operation control / shortcut instruction, and then determine the additional information indicated by the additional input. The first digital assistant may include the additional information provided by the first user as part of the relevant information of the first working node.

[0101] Note that the relevant information obtained is information that the first user corresponding to the first digital assistant has the authority to obtain, and the first user authorizes the terminal device 110 or the first digital assistant to obtain. Such information acquisition should comply with the requirements of corresponding laws, regulations and relevant provisions.

[0102] In box 330, the terminal device 110 or the first digital assistant on the terminal device 110 determines at least one task to be performed based on the relevant information of the first working node.

[0103] In some embodiments, the terminal device 110 may determine at least one task to be performed corresponding to the first working node based on a predetermined rule and relevant information of the first working node. As described above, the determination of the task may also be performed by the first digital assistant, which will not be repeated here. In some embodiments, the terminal device 110 may also use a target model to determine at least one task to be performed. Specifically, the terminal device 110 may determine a prompt word based on information related to the first working node, and send the prompt word to the target model. The terminal device 110 may receive a result returned by the target model containing information of at least one task to be performed. The terminal device 110 may determine the information of at least one task to be performed based on the result received from the target model, and then determine at least one task to be performed at the first working node. In some embodiments, the target model may be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the target model may be based on a language model (LM). The language model can have question-answering capabilities by learning from a large amount of corpus. The target model may also be based on other appropriate models.

[0104] In some embodiments, the terminal device 110 may also determine at least one task to be executed and whether the at least one task is currently being executed based on the relevant information of the first working node. Exemplarily, if the known execution information corresponding to the first working node indicates that the task execution result corresponding to at least one second working node on which the first working node depends indicates that there is a second working node that has not yet completed the task and / or there is a second working node that has failed to execute the task, the terminal device 110 may determine that the tasks corresponding to all the second working nodes must be completed first, and then the at least one task corresponding to the first working node must be executed. The terminal device 110 may determine to execute at least one task corresponding to the first working node in response to the known execution information corresponding to the first working node indicating that the task execution result corresponding to at least one second working node indicates that all the tasks corresponding to the at least one second working node have been completed.

[0105] In box 340, the terminal device 110 or the first digital assistant on the terminal device 110 performs at least a portion of at least one task, and / or assigns at least a portion of at least one task to a target execution entity.

[0106] In some embodiments, at least a portion of at least one task can be performed using a first digital assistant. In some embodiments, at least a portion of at least one task can be assigned to a target execution entity through the first digital assistant. In some embodiments, at least one step of process 300 is performed by the first digital assistant. At least one step of the method performed by the first digital assistant includes: determining a prompt word based on information related to the first workflow; based on the prompt word, interacting with the target model through the first digital assistant; and performing at least one step based on the interaction result.

[0107] In some embodiments, the terminal device 110 may determine the target execution subject of each of the at least one task corresponding to the first working node. If the terminal device 110 determines that the execution subject of the at least one task is itself (that is, it is still the terminal device 110), the terminal device 110 may directly execute the at least one task. If the terminal device 110 determines that there is at least a portion of the at least one task that needs to be executed by the user / terminal device 110 / digital assistant, the terminal device 110 may assign the at least a portion of the task to its respective corresponding target execution subject. The target execution subject may be other users, other digital assistants, or other applications.

[0108] Specifically, if the terminal device 110 determines that there is at least a part of the task that needs to be performed by the user, the terminal device 110 can determine the user associated with the at least part of the task (which may include the first user and other users other than the first user), and send a notification message to the user associated with the at least part of the task. The notification can indicate the at least part of the task that needs to be performed by the user. If the terminal device 110 determines that there is at least a part of the task that needs to be performed by other terminal devices 110, the terminal device 110 can also determine other terminal devices 110 associated with the at least part of the task (also referred to as the second terminal device 110), and send a notification message indicating at least a part of the task that needs to be performed by the second terminal device 110 to the second terminal device 110. If the terminal device 110 determines that there is at least a part of the task that needs to be performed by other digital assistants, the terminal device 110 can also determine other digital assistants associated with the at least part of the task (also referred to as the second digital assistant).

[0109] It should be noted that the second digital assistant may be a digital assistant installed in the same terminal device 110 as the first digital assistant. For example, a first business component and a second business component may be installed in the terminal device 110, wherein the first business component is integrated with the first digital assistant, and the second business component is integrated with the second digital assistant. The second digital assistant may also be a digital assistant installed in a different terminal device 110 from the first digital assistant. For example, the first terminal device 110 is installed with the first digital assistant, and the second terminal device 110 is installed with the second digital assistant. The terminal device 110 may send a notification message to the determined second digital assistant indicating at least a portion of the task that needs to be performed by the second digital assistant.

[0110] For example, the first workflow is a standard operating procedure for a hotel's guest room inspection business. If the terminal device 110 determines whether the execution condition of the work node of repairing the guest room shower system is met, the terminal device 110 may determine that the guest room shower maintenance task corresponding to the work node needs to be executed. In response to determining that the task needs to be executed by the maintenance team, the terminal device 110 may send a notification message to the corresponding maintenance team instructing them to execute the guest room shower maintenance task.

[0111] In some embodiments, the terminal device 110 may also track and record the execution result of at least one task corresponding to the first work node. For example, the terminal device 110 may also send the execution result of at least one task to the first user so that the first user can know the execution status of the first workflow in real time.

[0112] In some embodiments, if it is determined that the execution conditions of other work nodes in the workflow are met, the terminal device 110 or the first digital assistant thereon may also execute the tasks corresponding to these work nodes according to a similar process, so that the tasks corresponding to each work node on the workflow are checked and / or executed.

[0113] In summary, according to an embodiment of the present disclosure, the terminal device 110 can determine at least one task corresponding to the first work node in response to the execution condition of the first work node in the workflow being met. The terminal device 110 can also actively execute the at least one task or assign the at least one task to the corresponding execution subject. This can enhance the intelligence, autonomy and flexibility of the digital assistant and improve the work efficiency in various business scenarios.

[0114] The above describes a plurality of examples in which the first digital assistant performs a corresponding task in response to the satisfaction of a task trigger condition associated with itself. The following will continue to describe some example embodiments in which the first digital assistant obtains a trigger condition of other business components other than the business component that integrates the first digital assistant, and in response to the satisfaction of the trigger condition, notifies the other business components so that the other business components perform the corresponding task. Figure 4A An example of the interaction between the first digital assistant and other business components is described in detail. It should be noted that the above description is based on the example that the first digital assistant is integrated into the first business component, and the following description is based on the example that the first digital assistant is not integrated into the first business component.

[0115] Figure 4A FIG. 4 is a flowchart of a process 400 for task processing according to some embodiments of the present disclosure. Figure 1 The process 400 is described with reference to the environment 100. The process 400 may be implemented at the terminal device 110 and / or the server 130. For the convenience of description, the following description is given by taking the process 400 being implemented at the terminal device 110 as an example. It should be understood that some operations described with reference to the terminal device 110 may require the assistance of the server 130. It should be noted that the operations performed by the terminal device 110 may be performed by relevant applications and / or digital assistants installed on the terminal device 110.

[0116] In box 410, the terminal device 110 or the first digital assistant on the terminal device 110 stores corresponding registration information of at least one business component registered with the first digital assistant, and the corresponding registration information of at least one business component includes trigger conditions. Such business components may include other digital assistant business components, or may be business components that do not have any digital assistants. The first digital assistant can manage the registration information of different business components and correspond the business components to the registered trigger conditions.

[0117] It is understandable that the first digital assistant corresponds to the first user, and the first user may include one or more users, that is, the first digital assistant may be a personal assistant, or a team assistant / organization assistant, etc. In some embodiments, the first digital assistant may provide any suitable interface, such as an open interface (API). The first digital assistant may receive registration information related to the trigger condition sent to it by at least one business component based on the open interface. It is understandable that the first digital assistant may manage the registration information it receives.

[0118] The first trigger condition of the first business component is described below by taking the first business component in at least one business component as an example. The first business component here can be any business component in at least one business component. The first trigger condition can, for example, include that the first user receives a notification message from the first business component. In this case, the terminal device 110 can determine that the first trigger condition of the first business component is met in response to detecting the notification information from the first business component. The notification message here can be a notification message of the business component itself, or a notification message sent by a contact in the business component. In some embodiments, the user can also limit the type of notification message. In this case, the terminal device 110 can determine that the first trigger condition is met in response to detecting a notification message of a predetermined type from the first business component.

[0119] The first trigger condition may also include, for example, an event related to the first user occurring in the first business component or the second business component. The second business component and the first business component may be different business components. The event related to the first user may also be any appropriate event, such as a calendar event, a time change event, a message notification event, a document change event, an email sending and receiving event, a task update event, etc., associated with the first user.

[0120] The first trigger condition may also include, for example, the arrival of a preset time. In this case, the terminal device 110 may determine that the first trigger condition is met in response to the current time reaching the preset time. The first trigger condition may also include, for example, that the execution conditions of one or more work nodes in the preset workflow are met. The preset workflow here may include multiple work nodes. The multiple work nodes have corresponding tasks respectively, and there is a dependency relationship between the tasks corresponding to two or more work nodes in the multiple work nodes. For example, if the first node and the second node are adjacent nodes, and the first node is located in front of the second node, the second node can execute the task corresponding to the second node only if the first node completes the task corresponding to the first node. In this case, the terminal device 110 may, for example, determine that the first trigger condition is met in response to detecting that the execution condition of a certain work node is met.

[0121] The first trigger condition may also include a combination of one or more of the following: the first user receives a notification message from the first business component; an event related to the first user occurs in the first business component or the second business component; a preset time arrives; the execution conditions of one or more work nodes in a preset workflow are met. For example, a task trigger condition may include the arrival of a preset time and the first user receives a notification message from the first business component. It is understood that the first trigger condition may also include any appropriate condition, which is not limited in the present disclosure. It is understood that any of at least one business component

[0122] In some embodiments, the registration information received by the first digital assistant here can be determined based on the input of the first user. As described above, the first user can include one or more users. Therefore, in some embodiments, the registration information can be based on the input of any of the one or more users, and the trigger condition included in the corresponding registration information of at least one business component can also be associated with one or more users. Specifically, the terminal device 110 can receive at least one user input of the first user to the first digital assistant. For example, the terminal device 110 can receive at least one session message from the first user (for example, any of the at least one business component) in the interactive window between the first user and the first digital assistant, and determine at least one user input based on the at least one session message. The terminal device 110 can determine the second trigger condition for the task performed by the second business component from at least one user input. The terminal device 110 can then store the second registration information of the second business component in response to the determination of the second trigger condition, and the second registration information includes the second trigger condition. It should be noted that the operations performed by the terminal device 110 here and below can also be performed by the first digital assistant. For example, the first user can indicate in natural language that the first digital assistant sends a notification to the second business component under what conditions are met.

[0123] In some embodiments, the corresponding registration information of at least one business component may also be sent by at least one business component. Exemplarily, if at least one business component can determine the trigger condition by itself, the terminal device 110 may directly receive the registration information including the trigger condition sent by the business component. Specifically, the terminal device 110 may also directly receive the third registration information including the third trigger condition from a third business component (for example, any business component in at least one business component). The terminal device 110 may then store the received third registration information. Regarding the specific manner in which the third business component determines the third trigger condition, in some embodiments, the third business component may determine the third trigger condition based on the execution condition of the task for which the third trigger condition is used and / or the interaction between the first user and the third business component.

[0124] In some embodiments, interaction information between a first user and a business component sent by a business component may be received, and the terminal device 110 may then determine a trigger condition based on the received interaction information. For example, if a business component cannot determine the trigger condition by itself, the business component may send the interaction information to the first digital assistant. Specifically, the terminal device 110 may receive interaction information between the first user and a fourth business component from a fourth business component in at least one business component (for example, any business component in at least one business component). Note that the interaction information is authorized by the first user to be sent to the business component to the first digital assistant. Such information acquisition shall meet the requirements of relevant laws, regulations and provisions.

[0125] The terminal device 110 can determine the fourth trigger condition for the task to be performed for the fourth business component from the interaction information. The terminal device 110 or the first digital assistant thereon can store the fourth registration information of the fourth business component in response to the determination of the fourth trigger condition, and the fourth registration information includes the fourth trigger condition. For example, the terminal device 110 can provide the received interaction information between the first user and the fourth business component to the model and obtain the fourth trigger condition determined by the model. In some embodiments, the model can be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model can be based on a language model (LM). The language model can have question-and-answer capabilities by learning from a large amount of corpus. The model can also be based on other appropriate models.

[0126] In some embodiments, the terminal device 110 may also determine whether at least one business component has the authority to access the object to be accessed, and if it has the authority, the terminal device 110 may store the registration information of the corresponding business component. If it does not have the authority, the terminal device 110 may prohibit the registration of the corresponding business component. Specifically, for the fifth trigger condition corresponding to the fifth business component (any business component in at least one business component), the terminal device 110 may determine whether the fifth trigger condition is satisfied to access the object to be accessed. The terminal device 110 may then determine whether the fifth business component has the access authority to the object. In response to the fifth business component not having the access authority, the terminal device 110 may prohibit the fifth business component from registering the fifth trigger condition with the first digital assistant, that is, the first digital assistant will not store the registration information of the fifth business component, nor will it detect whether the fifth trigger condition is satisfied. Exemplarily, if the fifth business component is a document business component, and the fifth trigger condition of the fifth business component is "receiving an email sent to the first user", the terminal device 110 may determine that the object to be accessed is an email based on the fifth trigger condition. The terminal device 110 may then determine whether the fifth business component has the authority to access the email. If yes, the terminal device 110 may store the fifth registration information of the fifth service component. If no, the terminal device 110 may prohibit the fifth service component from registering the fifth trigger condition. For example, the terminal device 110 may send a prompt message to the fifth service component to prompt that it does not have the access right. Thus, the security of user data can be ensured.

[0127] In box 420, in response to detecting that the first trigger condition in the first registration information is met, the terminal device 110 or the first digital assistant on the terminal device 110 sends a notification message to the first business component corresponding to the first registration information, and the notification message indicates that the first trigger condition is met.

[0128] In some embodiments, the first digital assistant can send a notification message to the first business component through its open interface for receiving registration information. In some embodiments, in order to help the first business component better perform the task corresponding to the first trigger condition, in response to detecting that the first trigger condition is met, the first digital assistant can send context information related to the first trigger condition to the first business component. The context information here can be used for the first business component to perform the corresponding task. For example, if the first trigger condition is receiving an email sent to the first user, the email indicates that a document is to be created. The first digital assistant can send the requirement to create a document included in the email to the first business component so that the first business component can create a document based on the requirement.

[0129] In summary, according to an embodiment of the present disclosure, the terminal device 110 may store registration information of a business component registered with a digital assistant, including corresponding trigger conditions. In response to detecting that a trigger condition is satisfied, the digital assistant may notify the corresponding business component to perform a task corresponding to the trigger condition. This may enhance the intelligence and autonomy of the digital assistant, improve the flexibility of using the digital assistant, and improve the working efficiency of the digital assistant.

[0130] Figure 4B FIG. 4 is a flowchart of a process 404 for task processing according to some embodiments of the present disclosure. For ease of discussion, reference will be made to Figure 1 100 is used to describe process 404. Process 404 may be implemented at terminal device 110 and / or server 130. For ease of description, the following description is based on an example where process 404 is 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 be performed by relevant business components and / or digital assistants installed on terminal device 110.

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

[0132] The first digital assistant here can be a digital assistant corresponding to only one first user, or 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 assistant / organization assistant, etc. The second digital assistant can, for example, be a digital assistant corresponding only to the second user (that is, the second user's personal digital assistant). The second digital assistant and the first digital assistant can both be installed in the terminal device 110.

[0133] Regarding the determination of the target task and the sending of the first message, the target task here can be, for example, 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. The terminal device 110 or the first digital assistant can, for example, analyze the content of at least one conversation message in the group chat session to determine the target task corresponding to the at least one conversation message. Exemplarily, the terminal device 110 or the first digital assistant can determine that the target task corresponding to the at least one conversation message is the task "book a conference room" in response to the presence of the text "book a conference room" in the content of at least one conversation message. It can be understood that the at least one conversation message in the group chat session here is only an example, and the target task can 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, the content of a meeting, etc. For example, the terminal device 110 or the first digital assistant can also summarize based on the content of a certain document, and determine the target task based on the summary result.

[0134] The terminal device 110 or the first digital assistant can, for example, determine the target task based on at least one conversation message and a predetermined matching rule. The terminal device 110 or the first digital assistant can also determine the target task indicated by at least one conversation message with the help of a model. In some embodiments, the terminal device 110 or the first digital assistant can construct a prompt input based on at least one conversation message. The terminal device 110 or the first digital assistant can provide the prompt input to the model and obtain the target task determined by the model. In some embodiments, the model can be a machine learning model, a deep learning model, a learning model, a neural network, etc. In some embodiments, the model can be based on a language model (LM). The language model can have question-and-answer capabilities by learning from a large amount of corpus. The model can also be based on other appropriate models.

[0135] The target task here can also be, for example, a task determined 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 can obtain at least one workflow in advance. This at least one workflow may include a workflow pre-set by at least one user corresponding to the first digital assistant (including the first user in this at least one user). This at least one workflow may also include a workflow determined 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. The terminal device 110 or the first digital assistant can, for example, determine the workflow associated with the group chat session and the target working node in the workflow based on at least one session message in the group chat session, and the target working node is the working node currently being executed or about to be executed in the workflow. The terminal device 110 and / or the first digital assistant can then determine the target task based on the target working node. Similarly, the workflow and the target working node associated with the group chat session here can be determined by the terminal device 110 or the first digital assistant based on predetermined rules, or can be determined by means of a model.

[0136] The target task here may also be, for example, a task set by at least one user corresponding to the first digital assistant (that is, at least one user with setting permissions for the first digital assistant). Exemplarily, 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) may set the first digital assistant. For example, the first user may send a session message indicating the target task to the first digital assistant, and the first digital assistant may determine that the target task has been received in response to receiving the session message.

[0137] In some embodiments, after determining the target task, the terminal device 110 or the first digital assistant may also set the content or attribute of the first message to indicate that the target task is associated with the second user in response to the association relationship between the first digital assistant and the second digital assistant for the target task. The association relationship here may, for example, be that the first digital assistant and the second digital assistant belong to a workflow that includes the target task. Exemplarily, if the first digital assistant and the second digital assistant belong to a workflow that includes the target task, the terminal device 110 or the first digital assistant sets the content or attribute 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 be an announcement message for a group chat session including the second user or the second digital assistant to indicate that the target task is associated with the second user.

[0138] The association relationship here may also be, for example, that the second digital assistant issues a trigger request for one or more tasks to the first digital assistant, where the one or more tasks include a target task. Exemplarily, the terminal device 110 or the first digital assistant may determine that a trigger request for one or more tasks is received from the second digital assistant to the first digital assistant in response to detecting that the second digital assistant follows the first digital assistant, the second digital assistant subscribes to the first digital assistant, etc. 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 in the one or more tasks is associated with the second user in response to the second digital assistant issuing a trigger request for one or more tasks to the first digital assistant.

[0139] In response to determining the target task and the association between the target task and the second user, the terminal device 110 can use the first digital assistant to send a first message indicating the target task in the group chat session. 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. The present disclosure does not limit the specific manner in which the first digital assistant sends the first message.

[0140] 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 summary / analysis content included in a document or email or any other appropriate information carrier, etc. The first message may be any appropriate type of message, which may include, for example, text, images, audio, video, links, etc., and the present disclosure does not limit this. Exemplarily, in a group chat session, the terminal device 110 or the second digital assistant on the terminal device 110 may receive a session message from the first digital assistant. Such a group chat session includes at least the first digital assistant, the first user, and the second user. It can be understood that the first digital assistant may be the digital assistant corresponding to the first user, or the digital assistant corresponding to all users (including the first user and the second user) participating in the group chat session. The second digital assistant may be in the group chat session or not in the group chat session. If the second digital assistant is in the group chat session, it may 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 may also detect all messages in the business component (such as the chat business component), which include messages in each chat session in the business component.

[0141] It should be noted that both the first digital assistant and the second digital assistant here should be digital assistants authorized by the user. For example, for the second user, only the second digital assistant authorized by the second user can detect the first message.

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

[0143] In some embodiments, the terminal device 110 or the second digital assistant may determine the content of the first message and / or the attributes of the first message based on the first message. The terminal device 110 or the second digital assistant may further determine the relevance of the target task to the second user based on the content and / or attributes of the first message.

[0144] Specifically, 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 the first message including the name of the second user or the second digital assistant. Exemplarily, the terminal device 110 or the second digital assistant may 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, in order to ensure the accuracy of the association determination, 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 the first message including a mention symbol for the second user or the second digital assistant. The mention symbol for the second user or the second digital assistant here may include a mention symbol and the name of the second user or the second digital assistant. Exemplarily, the terminal device 110 or the second digital assistant may 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.

[0145] 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 being an announcement message of a group chat session including the second user or the second digital assistant. In this case, since the announcement message is an announcement message facing all users and all digital assistants in the group chat session, the 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.

[0146] 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 the first message being sent to a group including the second user. It is understandable that the second user may be a user in a certain user group. The terminal device 110 or the second digital assistant may 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 for the group to which the second user belongs. Exemplarily, the terminal device or the second digital assistant may determine that the target task is associated with the second user in response to the first message including a mention symbol for the group to which the second user belongs. For example, if the group to which the second user belongs is a "project group", the terminal device 110 or the second digital assistant may 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 mention symbol for the "project group".

[0147] 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 including the target task, and / or the second digital assistant sends a trigger request for one or more tasks including the target task to the first digital assistant.

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

[0149] It should be noted that the activation of the digital assistant's task execution function, the data obtained, the data processing and storage methods, etc. in the disclosed embodiment shall all obtain the prior authorization of the user and other rights holders associated with the user, and shall comply with the relevant laws and regulations and the agreement rules between rights holders. And the digital assistant actively performs relevant tasks within the scope of the user's authorization.

[0150] After the terminal device 110 determines that the target task is associated with the second user, it can instruct the second digital assistant to perform at least part of the target task based on the content of the first message. It can be understood that if the second digital assistant determines that the target task is associated with the second user, it can perform at least part of the target task on its own based on the content of the first message. Specifically, the terminal device 110 or the second digital assistant can determine whether the second user needs to perform all of the target task or part of the target task based on the first message. For example, if the target task indicates booking a conference room, the terminal device 110 or the second digital assistant can perform the target task based on the first message. If the target task indicates holding a meeting, since the task of holding a meeting can also include multiple subtasks (such as booking a conference room, determining the content of the meeting, determining the participants, etc.), the terminal device 110 or the second digital assistant can also determine which subtask of holding a meeting the second user specifically performs based on at least the first message, and only execute that subtask.

[0151] 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. The terminal device 110 or the second digital assistant may determine that at least a portion of the target task can be executed in response to receiving a confirmation operation of the second user on the confirmation message.

[0152] Combine the following Figure 4C An example in which a first digital assistant and a second digital assistant have an association relationship is described in detail. Figure 4C FIG. 4 is a flowchart of a process 406 for task processing according to some embodiments of the present disclosure. For ease of discussion, reference will be made to Figure 1 100 to describe process 406. Process 406 may be implemented at the terminal device 110 and / or the server 130. For ease of description, the following description is based on an example where process 406 is implemented at the terminal device 110. It should be understood that some operations described with reference to the terminal device 110 may require the assistance of the server 130. It should be noted that the operations performed by the terminal device 110 may be performed by relevant business components and / or digital assistants installed on the terminal device 110.

[0153] In box 416, the terminal device 110 or the second digital assistant on the terminal device 110 obtains the first event information triggered by the first digital assistant. The first digital assistant and the second digital assistant here have a certain association relationship, and the association relationship may be, for example, that the second digital assistant and the first digital assistant are in the same business entity. The business entities here may include, but are not limited to, groups, documents, meetings, projects, tasks, and the like. The association relationship may also be, for example, that the second digital assistant follows the first digital assistant and / or that the second digital assistant subscribes to at least some of the functions of the first digital assistant.

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

[0155] The second digital assistant obtains the first event information triggered by the first digital assistant with which it is associated, and determines the first task indicated by the first time information. For example, if the first event information triggered by the first digital assistant indicates booking a conference room, after the second digital assistant obtains the first event information, it can determine that the first task indicated by the first event information is booking a conference room.

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

[0157] The first information related to the first task outputted by the terminal device 110 or the second digital assistant may be, 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, for example, by sending a conversation message to the second user. The conversation message may include text, pictures, audio, etc. The second user may determine the first information related to the first task based on the conversation message.

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

[0159] It should be understood that some embodiments of the above-described processes 200 , 300 , 400 , 402 , 404 , and 406 may be implemented together or separately on a terminal device 110 of a certain user.

[0160] 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 the terminal device 110, for example. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0161] As shown in the figure, the device 500 includes a trigger detection module 510, which is configured to detect whether a task trigger condition related to the first digital assistant is satisfied. The device 500 also includes a task execution module 520, which is configured to start the execution of a task related to the first digital assistant in response to the task trigger condition being satisfied. Task execution includes: obtaining information related to the first task; based on the information related to the first task obtained, performing at least one of the following by interacting with the target model: obtaining attribute information of the first task; executing the first task based on the attribute information of the first task.

[0162] In some embodiments, the task execution module 520 includes: a first prompt word sending module, configured to send a first prompt word obtained based on the first task-related information to the target model; obtain feedback from the target model; and an attribute determination module, configured to determine the attribute information of the first task based on the feedback.

[0163] In some embodiments, the task execution module 520 is configured to: obtain information related to the first task based on at least one of the following information associated with the task trigger condition: the task trigger condition itself; the input information that causes the task trigger condition to be satisfied; the knowledge base associated with the task trigger condition; when the first digital assistant is associated with a preset workflow, the known execution information of one or more work nodes in the preset workflow.

[0164] In some embodiments, the trigger detection module 510 includes: a function enablement determination module, configured to determine whether the active task execution function of the first digital assistant is enabled; and a post-enablement detection module, configured to detect whether a task trigger condition related to the first digital assistant is met in response to determining that the active task execution function is enabled.

[0165] In some embodiments, the trigger detection module 510 includes at least one of the following: a first detection module, configured to detect whether the task trigger condition is met based on a first detection mode, wherein the first detection mode includes other detection modes in addition to interaction with the target model; and a second detection module, configured to detect whether the task trigger condition is met through interaction with the target model based on the second detection mode.

[0166] In some embodiments, the first detection mode includes at least one of the following: performing a key information search on first information, the first information including information for detecting whether the task triggering condition is met; detecting whether the first information meets a preset rule.

[0167] In some embodiments, the first detection module is configured to: in response to being unable to determine whether the task triggering condition is satisfied based on the first detection mode, detect whether the task triggering condition is satisfied based on the second detection mode.

[0168] In some embodiments, the second detection module is configured to: obtain a second prompt word based on first information, wherein the first information includes information for detecting whether the task trigger condition is met; interact with the target model based on the second prompt word; and detect whether the task trigger condition is met based on the interaction result with the target model.

[0169] In some embodiments, the attribute information of the first task includes at least one of the following: the type of the first task; parameter information related to the execution of the first task; plug-in information or application open interface information for executing the first task.

[0170] In some embodiments, the task triggering condition includes one or more of the following: a first user associated with the first digital assistant 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; or the execution conditions of one or more work nodes in a preset workflow are met.

[0171] In some embodiments, the task execution module 520 includes at least one of the following: a first information acquisition module, configured to obtain the first task-related information based on the notification message from the first business component; a second information acquisition module, configured to obtain the information required to execute the first task from the business objects related to the first user in at least one of the following business components: the first business component, the second business component, and at least one third business component; a third information acquisition module, configured to obtain the first task-related information from the historical interaction information of the first user.

[0172] In some embodiments, the task execution module 520 includes: an indication occurrence module, configured to send a message to a first user associated with the first digital assistant, instructing the first user to provide additional information about the first task; an additional information receiving module, configured to receive the additional information provided by the first user; and an additional execution module, configured to execute the first task based on attribute information of the first task and the additional information.

[0173] In some embodiments, the message is sent and the additional information is received in an interaction window between the first user and the first digital assistant.

[0174] In some embodiments, the performance of the first task does not require additional input from the first user.

[0175] In some embodiments, the device 500 also includes: a user input receiving module, configured to receive at least one user input of the first user to the first digital assistant; and a trigger condition determination module, configured to determine the task trigger condition from the at least one user input.

[0176] In some embodiments, the first digital assistant is associated with a preset workflow, and the preset workflow includes multiple work nodes. The trigger detection module 510 includes: a work node detection module, which is configured to detect whether the execution condition of each work node in the multiple work nodes is met based on at least one of the following information related to the preset workflow: the preset workflow itself, the business knowledge information corresponding to the preset workflow, the known execution information of one or more work nodes in the multiple work nodes, and user feedback related to one or more work nodes in the multiple work nodes.

[0177] In some embodiments, the work node detection module includes at least one of the following: a first detection module, configured to detect whether the execution conditions of each of the multiple work nodes are met based on a first detection mode, using at least one of the following: the preset workflow itself, the known execution information, and the user feedback; a second detection module, configured to interact with the target model based on the second detection mode, based on at least one of the following to detect whether the execution conditions of each of the multiple work nodes are met: the business knowledge information, the known execution information, and the user feedback.

[0178] In some embodiments, the task execution module 520 includes: a node task execution module, configured to execute at least one task corresponding to the first working node in the preset workflow in response to detecting that the execution condition of the first working node is met.

[0179] In some embodiments, the node task execution module includes: an assistant execution module, configured to use the first digital assistant to execute at least a part of the at least one task, and / or, a task assignment module, configured to assign at least a part of the at least one task to a target execution entity through the first digital assistant.

[0180] In some embodiments, the device 500 also includes: an information storage module, configured to store corresponding registration information of at least one business component registered with the first digital assistant, the corresponding registration information of the at least one business component respectively including trigger conditions; and a notification sending module, configured to respond to detecting that a first trigger condition in the first registration information is met, and the first digital assistant sends notification information to a first business component corresponding to the first registration information, the notification information indicating that the first trigger condition is met.

[0181] In some embodiments, the device 500 also includes: an execution result notification module, configured to use the first digital assistant to notify the first user of the execution result of the first task.

[0182] Figure 6 A block diagram of an apparatus 600 for task processing according to some embodiments of the present disclosure is shown. The apparatus 600 may be implemented in or included in the terminal device 110, for example. Each module / component in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.

[0183] As shown in the figure, the device 600 includes an execution condition detection module 610, which is configured to detect whether the execution conditions of each work node in the first workflow are met, wherein the first workflow includes multiple work nodes. The device 600 also includes a second information acquisition module 620, which is configured to obtain relevant information of the first work node in response to detecting that the execution condition of the first work node in the first workflow is met. The device 600 also includes a task determination module 630, which is configured to determine at least one task to be executed based on the relevant information of the first work node. The device 600 also includes a task processing module 640, which is configured to execute at least a part of at least one task, and / or, assign at least a part of at least one task to a target execution subject.

[0184] In some embodiments, the information related to the first working node includes one or more of the following: business knowledge information corresponding to the first workflow; known execution information corresponding to the first working node.

[0185] In some embodiments, the known execution information corresponding to the first working node includes at least: a task execution result corresponding to at least one second working node on which the first working node depends.

[0186] In some embodiments, the execution condition detection module 610 is configured to detect whether the execution condition of each work node among the multiple work nodes is met based on at least one of the following information related to the first workflow: the first workflow itself, the business knowledge information corresponding to the first workflow, the known execution information of one or more work nodes among the multiple work nodes, and the user feedback related to one or more work nodes among the multiple work nodes.

[0187] In some embodiments, the execution condition detection module 610 is configured to perform at least one of the following: based on the first detection mode, using at least one of the following to detect whether the execution condition of each work node among the multiple work nodes is met: the first workflow itself, known execution information, and user feedback; based on the second detection mode, interacting with the target model based on at least one of the following to detect whether the execution condition of each work node among the multiple work nodes is met: business knowledge information, known execution information, and user feedback.

[0188] In some embodiments, the task determination module 630 is further configured to: determine a prompt word based on information related to the first working node; send the prompt word to the target model; and receive a result returned by the target model, wherein the returned result includes information about at least one task to be performed.

[0189] In some embodiments, device 600 may include a first digital assistant.

[0190] In some embodiments, the device 600 also includes one or more of the following: a first information sending module, configured to send execution status information about the first workflow to the first user by the first digital assistant; an information providing module, configured to send a message to the first user by the first digital assistant, instructing the first user to provide additional information about the first working node, and use the additional information provided by the first user as part of the relevant information of the first working node.

[0191] In some embodiments, the device 600 also includes: an operation receiving module, configured to receive a configuration operation of the first user on the first digital assistant, the configuration operation including one or more of the following: associating the first workflow with the first digital assistant; and associating business knowledge information corresponding to the first workflow with the first digital assistant.

[0192] In some embodiments, the task processing module 640 is further configured to: send a notification message to a user associated with at least one task, the notification message indicating at least a portion of the at least one task; and send at least a portion of the at least one task to a target application or a second digital assistant.

[0193] In some embodiments, the first workflow includes a standard operating procedure (SOP) of the first business.

[0194] Fig. 7A A block diagram of an apparatus 700 for task processing according to some embodiments of the present disclosure is shown. The apparatus 700 may be implemented in or included in the terminal device 110, for example. Each module / component in the apparatus 700 may be implemented by hardware, software, firmware, or any combination thereof.

[0195] As shown in the figure, the device 700 includes an information storage module 710, which is configured to store corresponding registration information of at least one business component registered with the first digital assistant, and the corresponding registration information of at least one business component respectively includes a trigger condition. The device 700 also includes an information sending module 720, which is configured to respond to detecting that the first trigger condition in the first registration information is satisfied, and the first digital assistant sends notification information to the first business component corresponding to the first registration information, and the notification information indicates that the first trigger condition is satisfied.

[0196] In some embodiments, the device 700 also includes: a first information sending module, configured to send context information related to the first trigger condition to the first business component by the first digital assistant in response to detecting that the first trigger condition is met.

[0197] In some embodiments, the first digital assistant corresponds to one or more users, and the triggering condition included in the corresponding registration information of at least one business component is associated with the one or more users.

[0198] In some embodiments, the information storage module 710 is further configured to: receive at least one user input of the first user to the first digital assistant; determine a second trigger condition for a task to be performed by a second business component in at least one business component from the at least one user input; and in response to determining the second trigger condition, store second registration information of the second business component, the second registration information including the second trigger condition.

[0199] In some embodiments, the information storage module 710 is further configured to: receive third registration information from a third business component of the at least one business component, the third registration information including a third trigger condition; and store the received third registration information.

[0200] In some embodiments, the third trigger condition is determined by the third business component based on at least one of the following: an execution condition of a task for which the third trigger condition is used, or an interaction between the first user and the third business component.

[0201] In some embodiments, the information storage module 710 is further configured to: receive interaction information between the first user and the fourth business component from a fourth business component in at least one business component; determine a fourth trigger condition for a task to be performed by the fourth business component from the interaction information; and store fourth registration information of the fourth business component in response to the determination of the fourth trigger condition, the fourth registration information including the fourth trigger condition.

[0202] In some embodiments, the device 700 also includes: a detection module, configured to determine whether the fifth trigger condition corresponding to the fifth business component satisfies the object to be accessed; a permission determination module, configured to determine whether the fifth business component has access rights to the object; and a prohibition module, configured to prohibit the fifth business component from registering the fifth trigger condition with the first digital assistant in response to the fifth business component not having access rights.

[0203] In some embodiments, the first trigger condition includes at least one of the following: a user associated with the first digital assistant receives a notification message from the first business component; an event related to the user occurs in the first business component or the second business component; a preset time arrives; or the execution conditions of one or more work nodes in a preset workflow are met.

[0204] In some embodiments, one or more of the at least one business component includes a digital assistant.

[0205] Figure 7B A block diagram of an apparatus 704 for task processing according to some embodiments of the present disclosure is shown. The apparatus 704 may be implemented in or included in the terminal device 110, for example. Each module / component in the apparatus 704 may be implemented by hardware, software, firmware, or any combination thereof.

[0206] As shown, the device 704 includes a message detection module 714, which is configured to detect a first message sent by a first digital assistant corresponding to at least a first user, and the first message indicates a target task. The device 704 also includes a relevance determination module 724, which is configured to determine the relevance of the target task indicated by the first message to the second user. The device 704 also includes a task execution module 734, which is configured to execute at least a part of the target task using a second digital assistant corresponding to the second user based on the first message in response to determining that the target task is associated with the second user.

[0207] In some embodiments, the message detection module 714 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.

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

[0209] In some embodiments, the relevance determination module 724 is further configured to determine the relevance of the target task to the second user based on the content or attribute of the first message.

[0210] In some embodiments, the relevance determination module 724 is further configured to: determine that the target task is associated with the second user in response to the first message including a mention symbol of 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 directly to a group including the second user.

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

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

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

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

[0215] Figure 7C A block diagram of an apparatus 706 for task processing according to some embodiments of the present disclosure is shown. The apparatus 706 may be implemented in or included in the terminal device 110, for example. Each module / component in the apparatus 706 may be implemented by hardware, software, firmware, or any combination thereof.

[0216] As shown in the figure, the device 706 includes an information acquisition module 716, which is configured to enable the second digital assistant to acquire the first event information triggered by the first digital assistant. The device 706 also includes an execution processing module 726, which is configured to enable the second digital assistant to perform the first task based on the first event information and output the first information related to the first task.

[0217] In some embodiments, one or more of the following is satisfied: the second digital assistant and the first digital assistant are in 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.

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

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

[0220] It should be understood that the above apparatus 500, apparatus 600, apparatus 700, apparatus 704 and / or apparatus 706 may be implemented in the same apparatus or device. One or more steps in the process discussed above may be performed by a suitable electronic device or combination of electronic devices. Such an electronic device or combination of electronic devices may include, for example, Figure 1 The server 130, the terminal device 110 and / or the combination of the server 130 and the terminal device 110.

[0221] Figure 8 8 is a block diagram of an electronic device 800 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 8 The electronic device 800 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 8 The electronic device 800 shown can be used to implement Figure 1 The terminal device 110 and / or the server 130, Figure 5 To the device 500, the device 600, the device 700, the device 704 and / or the device 706 shown in Figure 7.

[0222] like Figure 8As shown, the electronic device 800 is in the form of a general electronic device. The components of the electronic device 800 may include, but are not limited to, one or more processors or processing units 810, a memory 820, a storage device 830, one or more communication units 840, one or more input devices 850, and one or more output devices 860. The processing unit 810 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 820. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 800.

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

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

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

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

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

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

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

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

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

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

Claims

1. A task processing method, comprising: Detecting whether a task triggering condition associated with the first digital assistant is satisfied; as well as In response to the task triggering condition being met, starting execution of a task related to the first digital assistant, wherein the task execution includes: Obtain information related to the first task; Based on the acquired information related to the first task, at least one of the following is performed by interacting with the target model: Obtaining attribute information of the first task; The first task is executed based on the attribute information of the first task.

2. The method according to claim 1, wherein acquiring the attribute information of the first task by interacting with the target model based on the acquired information related to the first task comprises: Sending a first prompt word obtained based on the first task related information to the target model; obtaining feedback of the target model; as well as Attribute information of the first task is determined based on the feedback.

3. The method according to claim 1, wherein obtaining the first task-related information comprises: Based on at least one of the following information associated with the task triggering condition, obtaining the first task related information: The task triggering condition itself; Input information that causes the task triggering condition to be met; a knowledge base associated with the task triggering condition; When the first digital assistant is associated with a preset workflow, known execution information of one or more work nodes in the preset workflow.

4. The method according to claim 1, wherein detecting whether a task triggering condition associated with the first digital assistant is satisfied comprises: Determining whether the active task execution function of the first digital assistant is enabled; as well as In response to determining that the active task execution function is enabled, it is detected whether a task triggering condition related to the first digital assistant is met.

5. The method according to claim 1, wherein detecting whether a task triggering condition associated with the first digital assistant is satisfied comprises at least one of the following: detecting whether the task triggering condition is satisfied based on a first detection mode, wherein the first detection mode includes other detection modes except interaction with the target model; Based on the second detection mode, whether the task triggering condition is satisfied is detected by interacting with the target model.

6. The method according to claim 5, wherein the first detection mode comprises at least one of the following: performing a key information search on first information, wherein the first information includes information for detecting whether the task triggering condition is satisfied; Detect whether the first information satisfies a preset rule.

7. The method according to claim 5, wherein detecting whether a task triggering condition associated with the first digital assistant is satisfied comprises: In response to failing to determine whether the task triggering condition is satisfied based on the first detection mode, detecting whether the task triggering condition is satisfied based on the second detection mode.

8. The method according to claim 5 or 7, wherein based on the second detection mode, detecting whether the task triggering condition is satisfied by interacting with the target model comprises: obtaining a second prompt word based on first information, wherein the first information includes information for detecting whether the task triggering condition is met; interacting with the target model based on the second prompt word; as well as Based on the interaction result with the target model, it is detected whether the task triggering condition is met.

9. The method according to claim 1, wherein the attribute information of the first task includes at least one of the following: a type of the first task; parameter information related to the execution of the first task; Plug-in information or application program open interface information for executing the first task.

10. The method according to claim 1, wherein the task triggering condition comprises one or more of the following: A first user associated with the first digital assistant receives a notification message from a first service component; An event related to the first user occurs in the second service component; Arrival at the preset time; The execution conditions of one or more work nodes in the preset workflow are met.

11. The method according to claim 10, wherein obtaining the first task-related information comprises at least one of the following: Acquire the first task related information based on the notification message from the first business component; Acquire information required to perform the first task from a business object related to the first user in at least one of the following business components: the first business component, the second business component, and at least one third business component; The first task related information is obtained from the historical interaction information of the first user.

12. The method of claim 1, wherein performing the first task comprises: sending a message to a first user associated with the first digital assistant instructing the first user to provide additional information about the first task; receiving the additional information provided by the first user; as well as The first task is performed based on the task-related information and the additional information.

13. The method according to claim 12, wherein the message is sent and the additional information is received in an interaction window between the first user and the first digital assistant. The method of claim 1 , wherein the first task is performed without additional input from the first user.

15. The method according to claim 1, further comprising: receiving at least one user input from the first user to the first digital assistant; and The task triggering condition is determined from the at least one user input.

16. The method according to claim 1, wherein the first digital assistant is associated with a preset workflow, the preset workflow includes a plurality of work nodes, and wherein detecting whether a task trigger condition associated with the first digital assistant is satisfied comprises: Based on at least one of the following information related to the preset workflow, detecting whether an execution condition of each working node in the multiple working nodes is satisfied: The preset workflow itself, The business knowledge information corresponding to the preset workflow, known execution information of one or more working nodes among the plurality of working nodes, User feedback related to one or more of the plurality of worker nodes.

17. The method according to claim 16, wherein detecting whether the execution condition of each of the plurality of working nodes is satisfied comprises at least one of the following: Based on the first detection mode, at least one of the following is used to detect whether the execution condition of each work node among the multiple work nodes is met: the preset workflow itself, the known execution information, and the user feedback; Based on the second detection mode, the target model is interacted with based on at least one of the following to detect whether the execution condition of each working node in the multiple working nodes is met: the business knowledge information, the known execution information, and the user feedback.

18. The method of claim 16, wherein performing the first task comprises: In response to detecting that an execution condition of a first working node in the preset workflow is met, at least one task corresponding to the first working node is executed.

19. The method according to claim 18, wherein executing at least one task corresponding to the first working node comprises: performing at least a portion of the at least one task using the first digital assistant, and / or, At least a portion of the at least one task is assigned to a target execution entity through the first digital assistant.

20. The method of claim 1, further comprising: Storing corresponding registration information of at least one business component registered with the first digital assistant, wherein the corresponding registration information of the at least one business component respectively includes a trigger condition; as well as In response to detecting that a first trigger condition in the first registration information is met, the first digital assistant sends a notification message to a first business component corresponding to the first registration information, wherein the notification message indicates that the first trigger condition is met.

21. The method according to claim 1, further comprising: The first digital assistant is used to notify the first user of the execution result of the first task.

22. A device for task processing, comprising: a trigger detection module, configured to detect whether a task trigger condition associated with the first digital assistant is satisfied; as well as A task execution module is configured to start the execution of a task related to the first digital assistant in response to the task triggering condition being met, wherein the task execution includes: Obtain information related to the first task; Based on the acquired information related to the first task, at least one of the following is performed by interacting with the target model: Obtaining attribute information of the first task; The first task is executed based on the attribute information of the first task.

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

24. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 21.

Citation Information

Patent Citations

  • Event aggregation for backstage work execution

    CN102880505A

  • Low-latency intelligent automated assistant

    CN110612567A

  • Distributed scheduling system workflow processing method and device, computer equipment and storage medium

    CN112529438A

  • Multi-modal inputs for voice commands

    CN112567332A

  • Automatically performing computer actions in response to satisfying machine learning-based conditions

    CN114586047A

Cited By

  • Instruction generation method, and device, storage medium and program product

    WO2026184209A1