Task processing method and apparatus, device, and storage medium

By storing the registration information and trigger conditions of business components, the digital assistant can automatically respond and execute tasks, solving the problem of insufficient flexibility in interaction between users and digital assistants, and achieving more efficient and flexible task processing.

WO2025108134A1PCT designated stage expired Publication Date: 2025-05-30BEIJING ZITIAO NETWORK TECH CO LTD +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/131415
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-22
Filing Date
2024-11-11
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

In the prior art, the interaction flexibility between users and digital assistants is insufficient, resulting in untimely execution of tasks, low processing efficiency of digital assistants, and the interactive experience cannot meet personalized needs.

Method used

By storing the registration information of the service component to the digital assistant, including the trigger condition, the digital assistant sends notification information to the corresponding service component when the trigger condition is detected to be satisfied, and realizes automatic execution of the task.

Benefits of technology

It improves the intelligence and autonomy of digital assistants, improves the flexibility and work efficiency of digital assistants, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024131415_30052025_PF_FP_ABST
    Figure CN2024131415_30052025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a task processing method and apparatus, a device, and a storage medium. The task processing method comprises: storing corresponding registration information of at least one service component registered with a first digital assistant, the corresponding registration information of the at least one service component respectively comprising a trigger condition; and in response to detecting that a first trigger condition in first registration information is met, sending notification information by the first digital assistant to a first service component corresponding to the first registration information, the notification information indicating that the first trigger condition is met. In this way, the intelligence of the digital assistant can be improved, enhancing the use flexibility of the digital assistant and the task processing efficiency based on the digital assistant.
Need to check novelty before this filing date? Find Prior Art

Description

Method, apparatus, device and storage medium for task processing

[0001] This application claims priority to the Chinese invention patent application entitled “Methods, devices, equipment and storage media for task processing” and application number 202311570369.1, filed on November 22, 2023. The entire contents of that application are incorporated by reference into this application. Technical Field

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

[0003] With the rapid development of internet technology, the internet has become an important platform for people to access and share content. Users can access the internet through terminal devices and enjoy a variety of internet services. Terminal devices present corresponding content, interact with users, and provide services to users through the user interface of service components. Therefore, a rich and diverse interactive interface of service components is an important means to enhance the user experience. With the development of information technology, various terminal devices can provide people with a variety of services in work and life. For example, service components can be deployed in terminal devices. Terminal devices or service components can provide users with digital assistant-like functions to assist users in using the terminal devices or service components. How to improve the flexibility of user interaction with digital assistants is a current technical issue to be explored.

[0004] Summary of the Invention

[0005] In a first aspect of the present disclosure, a method for task processing is provided. The method includes: storing corresponding registration information of at least one business component registered with a first digital assistant, wherein the corresponding registration information of the at least one business component respectively includes a trigger condition; and in response to detecting that a first trigger condition in the first registration information is satisfied, 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 satisfied.

[0006] In a second aspect of the present disclosure, a device for task processing is provided. The device includes: an information storage module configured to store corresponding registration information of at least one business component registered with a first digital assistant, wherein the corresponding registration information of the at least one business component respectively includes a trigger condition; and an information sending module configured to, in response to detecting that a first trigger condition in the first registration information is satisfied, send notification information by the first digital assistant to a first business component corresponding to the first registration information, wherein the notification information indicates that the first trigger condition is satisfied.

[0007] 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 coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.

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

[0009] 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

[0010] 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:

[0011] FIG1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0012] FIG2 shows a flowchart of a process for task processing according to some embodiments of the present disclosure;

[0013] FIG3 shows a flowchart of a process for task processing according to yet other embodiments of the present disclosure;

[0014] FIG4 shows a block diagram of an apparatus for task processing according to some embodiments of the present disclosure;

[0015] FIG5 shows a block diagram of an apparatus for task processing according to some embodiments of the present disclosure; and

[0016] FIG6 illustrates a block diagram of an electronic device in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION

[0017] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

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

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

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

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

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

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

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

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

[0026] 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. In the environment 100 of FIG. 1 , in response to the service component 125 being activated, the terminal device 110 can present an interface 150 of the digital assistant 120 and the service component 125.

[0027] Business components 125 include, but are not limited to, one or more of the following: a chat business component (also known as an instant messaging business component), a document business component, an audio and video conferencing business component, an email business component, a task business component, a calendar business component, an objectives and key results (OKR) business component, and the like. It should be understood that although a single business component is shown in FIG1 , multiple business components may be installed on the terminal device 110. Business components may be integrated on a multifunctional collaboration platform. If multiple business components are installed on the terminal device 110, these multiple business components may be integrated on one or more multifunctional collaboration platforms. On the multifunctional collaboration platform, people can activate different business components as needed to complete corresponding information processing, sharing, communication, and the like. Business components 125 may provide content entities 126. Content entities 126 may be content instances created by user 140 or other users on business components 125. For example, depending on the type of business component 125, content entities 126 may include documents (e.g., Word documents, PDF documents, presentations, spreadsheets, etc.), emails, messages (e.g., conversation messages on the instant messaging business component), calendars, schedules, tasks, audio, video, images, and the like.

[0028] 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 is capable of providing 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 capable of integrating multiple components. It will be understood that, similar to the business component, although a single digital assistant is shown in FIG1 , a business component may actually have multiple digital assistants.

[0029] In some embodiments, the digital assistant 120 supports the use of plug-ins. Each plug-in can provide one or more functions of a business component. 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 spreadsheet plug-in, an email plug-in, a calendar plug-in, a schedule plug-in, a task plug-in, and the like.

[0030] The digital assistant 120 is an intelligent assistant for the user, capable of intelligent dialogue and information processing. 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 a service component. 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.

[0031] In some embodiments, the digital assistant 120 can be included as a contact of the user 140 in the current user 140's contact list in the office suite, 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 uniquely correspond to the first user, the second digital assistant can uniquely correspond to the second user, and so on. In other words, 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 services to the first user, the first digital assistant can utilize its historical interaction information with the first user, the data authorized by the first user to which it has access, the current interaction context with the first user, etc. If the first user is an individual or person, the first digital assistant can be considered a personal digital assistant. It is understood that in the disclosed embodiments, the first digital assistant accesses the data to which it is granted permission based on the authorization of the first user. It should be understood that "uniquely corresponding" or similar expressions in this disclosure are not intended to limit the first digital assistant to being updated accordingly based on the interaction process between the first user and the first digital assistant. Of course, depending on actual needs, the digital assistant 120 does not have to be specific to the current user 140, but can be a general digital assistant.

[0032] In some embodiments, multiple interaction modes can be provided between user 140 and digital assistant 120, and flexible switching between the multiple interaction modes can be achieved. When a certain interaction mode is triggered, a corresponding interaction area is presented to facilitate interaction between user 140 and digital assistant 120. In different interaction modes, the interaction methods between user 140 and digital assistant 120 are different, which can flexibly adapt to the interaction needs in different scenarios.

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

[0034] The digital assistant 120 can be called or awakened by an appropriate means (e.g., a shortcut key, a button, 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 so on. 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.

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

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

[0037] In some embodiments, the conversation mode between user 140 and digital assistant 120 can be invoked or awakened by an appropriate means (e.g., a shortcut key, button, or voice) to present a conversation window. By selecting digital assistant 120, a conversation window with 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.

[0038] 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, the operation panel (also referred to as a floating window) corresponding to the digital assistant 120 is presented, and the user 140 can 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 can perform tasks according to instructions issued by the user 140 through the operation panel.

[0039] In some embodiments, the floating window mode of the user 140 and the digital assistant 120 can also be called or awakened by appropriate means (for example, shortcut keys, buttons, or voice) to present the corresponding operation panel. In some embodiments, the awakening of the digital assistant 120 can be supported in a specific business component, such as a document business component, to provide interaction in the floating window mode. In some embodiments, 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 business component interface. In response to detecting a triggering 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.

[0040] 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, which is a conversation window.

[0041] In some embodiments, the terminal device 110 communicates with the server 130 to enable the provision of services to 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.

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

[0043] As briefly mentioned above, digital assistants can assist users in using terminal devices or business components. 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 the user. For tasks that the user has not discovered or noticed in time, it may not be possible to immediately trigger the digital assistant to help execute. In some cases, for a digital assistant integrated into a certain business component, the digital assistant can usually only obtain the information that the business component can provide, which will affect the efficiency of the digital assistant in processing business components. In other cases, a unified and standardized interactive experience is usually provided, which often cannot meet the personalized needs of all users. All of the above problems will affect the interaction efficiency and interactive experience between users and digital assistants, and make the interactive functions of digital assistants less flexible.

[0044] According to some embodiments of the present disclosure, an improved scheme for task processing is proposed. In an embodiment of the present disclosure, corresponding registration information of at least one business component registered with the first digital assistant is stored, and the corresponding registration information of at least one business component respectively includes trigger conditions. In response to detecting that the first trigger condition in the first registration information is satisfied, the first digital assistant 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 satisfied. In this way, the intelligence and autonomy of the digital assistant can be enhanced, the flexibility of using the digital assistant, and the work efficiency based on the digital assistant can be improved. In addition, since the digital assistant can only obtain information that the user grants it access to, this can also ensure data security.

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

[0046] FIG2 shows a flowchart of a process 200 for task processing according to some embodiments of the present disclosure. For ease of discussion, the process 200 will be described with reference to the environment 100 of FIG1 . The process 200 may be implemented at the terminal device 110 and / or the server 130. For ease of description, the following description will be given using an example where the process 200 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 specifically be performed by relevant business components and / or digital assistants installed on the terminal device 110.

[0047] In block 210, 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, where the corresponding registration information of at least one business component includes a trigger condition. Such a business component may include other digital assistant business components or a business component that does not have any digital assistant. The first digital assistant may manage the registration information of different business components and associate the business components with the registered trigger conditions.

[0048] 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, 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 can manage the registration information it receives.

[0049] The following takes the first business component in at least one business component as an example to describe the first trigger condition of the first business component. The first business component here can be any business component in at least one business component. The first trigger condition may, for example, include a first user receiving a notification message from the first business component. In this case, the terminal device 110 may determine that the first trigger condition of the first business component is satisfied 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, the user may also limit the type of notification message. In this case, the terminal device 110 may determine that the first trigger condition is satisfied in response to detecting a notification message of a predetermined type from the first business component.

[0050] 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 / receiving event, a task update event, etc., associated with the first user.

[0051] 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 respectively have corresponding tasks, 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 determine that the first trigger condition is met in response to detecting that the execution condition of a certain work node is met.

[0052] The first trigger condition may also include one or more combinations of the following: the first user receiving a notification message from the first business component; an event related to the first user occurring in the first or second business component; the arrival of a preset time; the satisfaction of the execution conditions of one or more work nodes in a preset workflow; and the like. For example, a task trigger condition may include the arrival of a preset time and the first user receiving a notification message from the first business component. It is understood that the first trigger condition may include any appropriate condition, and this disclosure is not limited thereto.

[0053] 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 conditions 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 from the first user to the first digital assistant. For example, the terminal device 110 can receive at least one conversation message from the first user (e.g., any of the at least one business component) in the interaction window between the first user and the first digital assistant, and determine at least one user input based on the at least one conversation message. The terminal device 110 can determine a second trigger condition for a task performed by the second business component from the at least one user input. The terminal device 110 can then store second registration information for the second business component in response to the determination of the second trigger condition, the second registration information including 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 instruct the first digital assistant in natural language to send a notification to the second business component when certain conditions are met.

[0054] 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 of the 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.

[0055] In some embodiments, the interaction information between the first user and a business component sent by a business component can be received, and the terminal device 110 can then determine the trigger condition based on the received interaction information. For example, if a business component cannot determine the trigger condition by itself, the business component can send the interaction information to the first digital assistant. Specifically, the terminal device 110 can receive the interaction information between the first user and the fourth business component from the 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 should meet the requirements of relevant laws, regulations and relevant provisions.

[0056] 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-answering capabilities by learning from a large amount of corpus. The model can also be based on other appropriate models.

[0057] In some embodiments, the terminal device 110 may also determine whether at least one business component has permission to access the object to be accessed. If so, the terminal device 110 may store the registration information of the corresponding business component. If not, 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 of the at least one business component), the terminal device 110 may determine whether the fifth trigger condition is satisfied by detecting the object to be accessed. The terminal device 110 may then determine whether the fifth business component has access rights to the object. In response to the fifth business component not having access rights, 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 and will not detect whether the fifth trigger condition is satisfied. For example, 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, based on the fifth trigger condition, that the object to be accessed is an email. The terminal device 110 may then determine whether the fifth business component has permission to access the email. If the access permission is granted, terminal device 110 may store the fifth registration information of the fifth service component. If the access permission is not granted, terminal device 110 may prohibit the fifth service component from registering the fifth trigger condition. For example, terminal device 110 may send a prompt message to the fifth service component to inform it that it does not have access permission. This ensures the security of user data.

[0058] In box 220, 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.

[0059] 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 document creation requirement included in the email to the first business component so that the first business component can create a document based on the requirement.

[0060] In summary, according to the embodiments of the present disclosure, the terminal device 110 can store registration information, including corresponding trigger conditions, that a service component has registered with the digital assistant. Upon detecting that a trigger condition has been met, the digital assistant can notify the corresponding service component to execute the task corresponding to the trigger condition. This can enhance the intelligence and autonomy of the digital assistant, increase its flexibility, and improve its operational efficiency.

[0061] The above describes an example in which the first digital assistant obtains the trigger conditions of other business components other than the business component in which the first digital assistant is integrated, and in response to the trigger conditions being met, notifies other business components so that other business components perform corresponding tasks. The following will continue to describe multiple examples in which the first digital assistant performs corresponding tasks in response to the satisfaction of its own associated task trigger conditions. The following is a detailed description of an example in which the first digital assistant detects its own task trigger conditions in conjunction with Figure 3. It should be noted that the above description is based on the example of the first digital assistant not being integrated into the first business component, and the following description will be based on the example of the first digital assistant being integrated into the first business component.

[0062] Figure 3 shows a flowchart of a process 300 for task processing according to some embodiments of the present disclosure. For ease of discussion, the process 300 will be described with reference to the environment 100 of Figure 1. The process 300 can be implemented at the terminal device 110 and / or the server 130. For ease of description, the following description will be given using the example of the process 300 being 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 specifically be performed by relevant applications and / or digital assistants installed on the terminal device 110.

[0063] In box 310, 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.

[0064] The terminal device 110 can obtain a task triggering 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, a team assistant / organization assistant, etc. In some embodiments, the task triggering condition can be configured 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).

[0065] Specifically, the terminal device 110 can receive at least one user input from the first user to the first digital assistant. For example, the terminal device 110 can receive at least one user input from the first user to the first digital assistant in the conversation window between the first user and the first digital assistant. The user input can be any type of input, such as text, audio, image, etc. The terminal device 110 can determine the task trigger condition based on the at least one user input. For example, the terminal device 110 can analyze the user input to determine the task trigger condition indicated by the user input. Exemplarily, the first user can 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 can determine the task trigger condition as "receiving a customer complaint email" in response to receiving the conversation message. Alternatively or additionally, the task trigger condition can also be determined by the terminal device 110 itself. For example, the terminal device 110 can determine the task trigger condition based on historical data associated with the first user.

[0066] In some embodiments, the terminal device 110 can determine the task triggering conditions with the help of a target model. For 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 and obtain the task triggering conditions 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-answering capabilities by learning from a large amount of corpus. The model can also be based on other appropriate models.

[0067] In box 320, 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 met. 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 can occur in the attribute information acquisition stage of the first task. In some embodiments, the interaction with the target model can 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.

[0068] Thus, it is possible to automatically obtain task-related information and help users perform the corresponding tasks under specific trigger conditions without the need for active user triggering. The first digital assistant can automatically start the execution of the task when the task trigger conditions are met, without the need for real-time instructions from the user. During task execution, it can also assist in completing the task through interaction with the target model.

[0069] 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 directly and actively execute the first task 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. The first digital assistant can then execute the first task based on the acquired task-related information and additional information. In this process, the first digital assistant can complete the first task through active dialogue with user 140 and further acquired interactive information. For example, the first digital assistant can first draft a project evaluation report and send it to user 110 for confirmation and modification by the user to finally complete the project evaluation report.

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

[0071] 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 notify the first user of the execution result of the first task by, for example, 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.

[0072] In some embodiments, the task triggering condition for triggering the first digital assistant to actively perform a task may include the execution condition of one or more work nodes in the first workflow being met. The first workflow here may include multiple work nodes. Multiple work nodes respectively have corresponding tasks, 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 in front of the second node, the second node can only perform 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 can, for example, determine that the task triggering condition related to the first digital assistant is met in response to detecting that the execution condition of a certain work node is met.

[0073] In addition to actively executing tasks according to the workflow, in some embodiments, the task triggering condition for the first digital assistant may include, for example, the first user receiving a notification message from the first business component. The first business component here may be, for example, a business component integrated with the first digital assistant. In this case, the terminal device 110 may determine that the task triggering 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 the 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 predetermined type of notification information from the first business component.

[0074] In some embodiments, the task triggering condition may include, for example, an event related to the first user occurring in the second business component. The second business component here may be the same business component as the first business component, or a different business component. The event related to the first user here may also be any appropriate event, such as a calendar event, time change event, message notification event, document change event, email sending and receiving event, task update event, etc. associated with the first user. 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 from the registered second business component.

[0075] In some embodiments, the task triggering condition may 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.

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

[0077] In some embodiments, before detecting whether the task triggering condition is met, the terminal device 110 may also determine whether the active execution of the task function of the first digital assistant is enabled. If it is determined that the active execution of the task 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 met. If it is determined that the active execution of the task function is not enabled, the terminal device 110 may determine that the detection of the task triggering condition cannot be performed, that is, the terminal device 110 will not detect whether the task triggering condition related to the first digital assistant is met. In some embodiments, if it is determined that the active execution of the task function is not enabled, the terminal device 110 may also provide a prompt message to the first user to prompt that the active execution of the task 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 activation method of the active execution of the task 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, for example, include an operation control for enabling the active execution of the task function. The terminal device 110 may 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 may determine that the active task execution function of the first digital assistant is enabled through communication with the terminal device 110.

[0078] In some embodiments, the terminal device 110 may continuously detect whether one or more task triggering conditions associated with the first digital assistant are satisfied. In some embodiments, the terminal device 110 may detect whether the task triggering conditions are satisfied using a target model. In some embodiments, taking into account the resource and time overhead of model calls, the terminal device 110 may use different detection modes to detect whether the task triggering conditions are satisfied.

[0079] In some embodiments, the terminal device 110 can detect whether the task trigger condition is met based on a first detection mode, where the first detection mode includes other detection modes in addition to 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 met. For example, at least one keyword associated with the task trigger condition can be obtained. This at least one keyword can be determined by the first user, or it can be determined by the terminal device 110 based on the task trigger condition. The terminal device 110 can then search the first information based on keyword detection to see whether it contains one or more keywords associated with the task trigger condition, thereby detecting whether the task trigger condition related to the first digital assistant is met. In some embodiments, alternatively or additionally, the first detection mode also includes detecting whether the first information meets a preset rule. If the first information meets the preset rule, it can be determined that the task trigger condition related to the first digital assistant is met. That is, in the first detection mode, it is possible to determine whether the task trigger condition is met in a simple, low-cost manner using key information search and / or rule matching.

[0080] In some embodiments, the terminal device 110 can detect whether the task triggering condition related to the first digital assistant is met based on the second detection mode by interacting with the target model. In some embodiments, due to the simplicity and low cost of the first detection mode, the terminal device 110 can first detect whether the task triggering condition is met based on the first detection mode. If it is impossible to determine whether the task triggering condition is met based on the first detection mode, it can be based on the second detection mode to use the model to detect whether the task triggering 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.

[0081] In some embodiments where the task triggering condition is detected based on the second detection mode, the terminal device 110 may obtain a second prompt word based on the first information. The first information here includes information used to detect whether the task triggering condition is satisfied. The second prompt word may be used to interact with the model, and based on the interaction results with the target model, whether the task triggering condition is satisfied may be detected. In such embodiments, the information processing capabilities of the model may be used to help determine whether the task triggering condition is satisfied.

[0082] When actively executing a task, such as actively executing the first task, the first task-related information obtained refers to information that can be used to determine which task to execute and how to execute 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, information mentioned or referenced in the notification message, and so on. The first task-related information may also include obtaining information required to execute the first task from a 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 a second business component, the first task-related information may also include obtaining information required to execute the first task from a business object related to the first user in the second business component. In some embodiments, if the task triggering condition includes the occurrence of an event related to the first user in the second business component, the terminal device 110 may determine the first task based on the event and obtain task-related information for the first task.

[0083] 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 of the business components 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.

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

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

[0086] 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, and these businesses 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 be used in determining which task to perform and how to perform the task.

[0087] 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 it is to be executed may need to be judged based on the execution status 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 subsequently based on the execution status of the previous work node.

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

[0089] 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 development 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.

[0090] 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 a first prompt word based on the information related to the first task and send the first prompt word to the model. After obtaining feedback from the model, 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, thereby determining the type, parameter information, plug-in information, API information, etc. of the task that the first digital assistant needs to actively perform.

[0091] In some embodiments, the terminal device 110 may pre-acquire a task corresponding to a task triggering condition. The terminal device 110 may store the task triggering condition and the corresponding task in association. The terminal device 110 may then obtain task-related information based on the corresponding task in response to the task triggering condition being satisfied. 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." The terminal device 110 may determine that the task triggering condition is "received a customer complaint email," and the task corresponding to the task triggering condition is "remind the first user and prepare a reply email." The terminal device 110 may then obtain 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 triggering condition based on the task triggering condition. The task to be performed may also be referred to as the first task.

[0092] 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 met. For example, if the task triggering condition includes the first user receiving a notification message from the first business component, the terminal device 110 may determine the first task based on the notification message and obtain 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 to perform. For example, if the first business component is a chat business component, the terminal device 110 may determine that the task triggering condition related to the first digital assistant is met in response to receiving a notification message (e.g., a message "Send me a project evaluation") sent by another user to the first user in the first business component. The terminal device 110 may determine, based on the notification message, that the first task is to prepare a project evaluation report. The terminal device 110 may then obtain information related to the preparation of a project evaluation report (e.g., project data for different users).

[0093] Regarding the specific method for 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 a prompt word based on information related to the notification message, send the prompt word to the target model, and receive a result returned by the target model. The returned result includes information about the first task to be executed. Alternatively or additionally, in some embodiments, the terminal device 110 can also determine the first task that matches the notification message based on predetermined rules.

[0094] As described above, after the task is completed, the first digital assistant may notify the first user of the execution result of the first task. For example, the terminal device 110 may 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.

[0095] 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 interaction window between the first user and the first digital assistant.

[0096] 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 the new customer. The terminal device 110 can organize the new customer's information and draft an email according to a predetermined process. The new customer's information 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 new customer's information and the email draft.

[0097] In summary, according to the embodiments of the present disclosure, the terminal device 110 can, in response to the satisfaction of a task trigger condition related to the digital assistant, proactively execute the task indicated by the task trigger condition and notify the user of the execution result. This can enhance the intelligence and autonomy of the digital assistant, increase the flexibility of the digital assistant's use, and help improve the working efficiency of the digital assistant.

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

[0099] 4 shows a block diagram of an apparatus 400 for task processing according to some embodiments of the present disclosure. The apparatus 400 may be implemented in or included in the terminal device 110. Each module / component in the apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.

[0100] As shown, apparatus 400 includes an information storage module 410 configured to store corresponding registration information of at least one business component registered with a first digital assistant, wherein the corresponding registration information of at least one business component respectively includes a trigger condition. Apparatus 400 also includes an information sending module 420 configured to, in response to detecting that a first trigger condition in the first registration information is satisfied, cause the first digital assistant to send a notification message to the first business component corresponding to the first registration information, the notification message indicating that the first trigger condition has been satisfied.

[0101] In some embodiments, the apparatus 400 further includes: a first information sending module configured to, in response to detecting that the first trigger condition is satisfied, send context information related to the first trigger condition to the first business component by the first digital assistant.

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

[0103] In some embodiments, the information storage module 410 is further configured to: receive at least one user input from 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 the at least one business component from the at least one user input; and store second registration information of the second business component in response to the determination of the second trigger condition, the second registration information including the second trigger condition.

[0104] In some embodiments, the information storage module 410 is further configured to: receive third registration information from a third business component among the at least one business component, where the third registration information includes a third trigger condition; and store the received third registration information.

[0105] 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 the task for which the third trigger condition is used, or an interaction between the first user and the third business component.

[0106] In some embodiments, the information storage module 410 is further configured to: receive interaction information between the first user and a fourth business component among the 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, where the fourth registration information includes the fourth trigger condition.

[0107] In some embodiments, the device 400 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.

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

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

[0110] 5 shows a block diagram of an apparatus 500 for task processing according to some embodiments of the present disclosure. The apparatus 500 may be implemented in or included in the terminal device 110. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0111] 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 the 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 the target model: obtaining attribute information of the first task; executing the first task based on the attribute information of the first task.

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

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

[0114] 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 the task trigger condition related to the first digital assistant is met in response to determining that the active task execution function is enabled.

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

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

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

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

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

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

[0121] In some embodiments, the task execution module 520 includes at least one of the following: a first information acquisition module, configured to obtain information related to the first task based on the notification message from the first business component; a second information acquisition module, configured to obtain information required to execute the first task from 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 information related to the first task from historical interaction information of the first user.

[0122] 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 the attribute information of the first task and the additional information.

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

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

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

[0126] 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, 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, business knowledge information corresponding to the preset workflow, 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.

[0127] 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 work node among 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 a second detection mode, based on at least one of the following to detect whether the execution conditions of each work node among the multiple work nodes are met: the business knowledge information, the known execution information, and the user feedback.

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

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

[0130] 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 send notification information by the first digital assistant to the first business component corresponding to the first registration information in response to detecting that the first trigger condition in the first registration information is met, wherein the notification information indicates that the first trigger condition is met.

[0131] In some embodiments, the apparatus 500 further includes: an execution result notification module configured to utilize the first digital assistant to notify the first user of the execution result of the first task.

[0132] It should be understood that the above apparatus 400 and / or apparatus 500 can be implemented in the same apparatus or device. One or more steps in the process discussed above can be performed by an appropriate electronic device or combination of electronic devices. Such an electronic device or combination of electronic devices can, for example, include the server 130, the terminal device 110, and / or the combination of the server 130 and the terminal device 110 in FIG. 1 .

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

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

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

[0136] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG6 , 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 a bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0137] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented in a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 600 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.

[0138] The input device 650 may be one or more input devices, such as a mouse, keyboard, or trackball. The output device 660 may be one or more output devices, such as a display, a speaker, or a printer. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with the electronic device 600, or with any device that allows the electronic device 600 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).

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

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

[0141] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

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

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

[0144] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A task processing method, 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.

2. The method according to claim 1, further comprising: In response to detecting that the first trigger condition is met, the first digital assistant sends context information related to the first trigger condition to the first business component.

3. The method according to claim 1, wherein the first digital assistant corresponds to one or more users, and the trigger condition included in the corresponding registration information of the at least one business component is associated with the one or more users.

4. The method according to claim 1, wherein storing corresponding registration information of at least one business component registered with the first digital assistant comprises: receiving at least one user input from a first user to the first digital assistant; determining, from the at least one user input, a second trigger condition for a task to be performed by a second business component of the at least one business component; as well as In response to determining the second trigger condition, second registration information of the second service component is stored, where the second registration information includes the second trigger condition.

5. The method according to claim 1, wherein storing corresponding registration information of at least one business component registered with the first digital assistant comprises: receiving third registration information from a third service component among the at least one service component, wherein the third registration information includes a third trigger condition; as well as The received third registration information is stored.

6. The method according to claim 5, wherein the third trigger condition is determined by the third service component based on at least one of the following: The execution condition of the task for which the third trigger condition is used, or Interaction between the first user and the third service component.

7. The method according to claim 1, wherein storing corresponding registration information of at least one business component registered with the first digital assistant comprises: Receiving, from a fourth business component among the at least one business component, information between the first user and the fourth business component Interaction information; Determining, from the interaction information, a fourth triggering condition for a task to be performed by the fourth service component; as well as In response to determining the fourth trigger condition, fourth registration information of the fourth service component is stored, where the fourth registration information includes the fourth trigger condition.

8. The method according to claim 1, further comprising: For a fifth trigger condition corresponding to the fifth service component, determining whether the fifth trigger condition satisfies the object to be accessed; Determining whether the fifth business component has access rights to the object; as well as In response to the fifth service component not having the access right, prohibiting the fifth service component from registering the fifth trigger condition with the first digital assistant.

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

10. The method of claim 1, wherein one or more of the at least one business component comprises a digital assistant.

11. A device for task processing, comprising: An information storage module, configured to store 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 The information sending module is configured to, in response to detecting that a first trigger condition in the first registration information is met, send notification information by the first digital assistant to a first business component corresponding to the first registration information, wherein the notification information indicates that the first trigger condition is met.

12. 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 10 when executed by the at least one processing unit.

13. 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 10.

Citation Information

Patent Citations

  • Method, device and equipment for intelligently calling robot and storage medium

    CN111694939A

  • Voice assistant discoverability through on-device targeting and personalization

    CN112015873A

  • Method for triggering service execution and electronic equipment

    CN115718560A

  • Information processing method and device, electronic equipment and storage medium

    CN116308171A

  • Methods and systems for helper bot platform assistance

    US20190068526A1