Information processing method and device, equipment and storage medium

By determining and storing plug-in settings information when the user interacts with the digital assistant, the problem of how to quickly find plug-ins that meet user needs is solved, and the effect of efficient use of plug-ins during the interaction process is achieved, and the collaboration efficiency between digital assistants and users is improved.

CN119883447APending Publication Date: 2025-04-25BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311387264.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

How to easily and quickly determine the plug-in that meets user needs, so as to perform tasks with the plug-in and improve the collaboration efficiency of digital assistants and users.

Method used

By determining and storing the settings information of one or more plug-ins for the topic, including plug-in identification and related identification information, when the user interacts with the digital assistant at the client, and performing the tasks requested by the user based on this information during the interaction.

Benefits of technology

It realizes that in the process of user interaction with digital assistants, it can easily and quickly complete diversified operations with the help of plug-ins, and improves collaboration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883447A_ABST
    Figure CN119883447A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an information processing method and device, equipment and a storage medium. The method comprises: for a first topic at a client where a user interacts with a digital assistant, determining one or more plug-ins for the first topic, each plug-in configured to perform a respective function; storing plug-in setting information of the first topic, wherein the plug-in setting information comprises one or more plug-in identifiers corresponding to the one or more plug-ins and identifier information related to the first topic; and executing a task requested by the user by using the one or more plug-ins based on the plug-in setting information in an interaction process of the user and the digital assistant with respect to the first topic. In this way, the plug-in setting information can be stored, and the plug-in setting information is used for executing the task in the subsequent interaction process. Therefore, the user can be helped to efficiently complete diversified operations conveniently and quickly by means of the plug-in in the interaction process with the digital assistant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of information technology, various terminal devices can provide various services to people in work and life. For example, applications that provide services can be deployed in terminal devices. Terminal devices or applications can provide users with digital assistant functions to assist users in using terminal devices or applications. Users can use plug-ins to complete various operations during the interaction with digital assistants. How to easily and quickly determine the plug-in that meets user needs and use the plug-in to perform tasks is a technical problem to be explored at present. Summary of the invention

[0003] In a first aspect of the present disclosure, an information processing method is provided. The method includes: for a first topic that a user interacts with a digital assistant at a client, determining one or more plug-ins for the first topic, each plug-in being configured to perform a corresponding function; storing plug-in setting information for the first topic, the plug-in setting information including one or more plug-in identifiers corresponding to the one or more plug-ins and identification information related to the first topic; and in the process of interaction between the user and the digital assistant regarding the first topic, using the one or more plug-ins to perform a task requested by the user based on the plug-in setting information.

[0004] In the second aspect of the present disclosure, a device for information processing is provided. The device includes: a plug-in determination module, configured to determine one or more plug-ins for a first topic for interaction between a user and a digital assistant at a client, each plug-in being configured to perform a corresponding function; an information storage module, configured to store plug-in setting information for the first topic, the plug-in setting information including one or more plug-in identifiers corresponding to the one or more plug-ins and identification information related to the first topic; and a task execution module, configured to use one or more plug-ins to execute a task requested by the user based on the plug-in setting information during the interaction between the user and the digital assistant regarding the first topic.

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

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

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

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

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

[0010] FIG. 2A to FIG. 2C A schematic diagram showing an example interface of an interactive window according to some embodiments of the present disclosure;

[0011] Figure 3 A flowchart showing an example information flow for setting up a plug-in for a new topic according to some embodiments of the present disclosure;

[0012] Figure 4 A flowchart showing an information flow for obtaining a plug-in list according to some embodiments of the present disclosure;

[0013] Figure 5 A flowchart showing an information flow for selecting a plug-in for a topic according to some embodiments of the present disclosure;

[0014] Figure 6 A flowchart showing an information flow for processing input messages related to a plug-in according to some embodiments of the present disclosure;

[0015] Figure 7 A flowchart showing an information flow for processing reply messages related to a plug-in according to some embodiments of the present disclosure;

[0016] Figure 8 A flowchart showing a process of information processing according to some embodiments of the present disclosure;

[0017] Fig. 9 A block diagram showing an apparatus for information processing according to some embodiments of the present disclosure; and

[0018] Fig.10 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

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

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

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

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

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

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

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

[0026] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0027] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In the example environment 100, an application 120 is installed in a terminal device 110. A user 140 can interact with the application 120 via the terminal device 110 and / or an attached device of the terminal device 110.

[0028] In some embodiments, the application 120 can be downloaded and installed on the terminal device 110. In some embodiments, the application 120 can also be accessed through other means, such as through a web page. Figure 1 In the environment 100, if the application 120 is started, the terminal device 110 can present the interface 150 of the application 120. The interface 150 may include various user interfaces that the application 120 can provide. The interface 150 is sometimes also referred to as a client interface.

[0029] Application 120 includes, but is not limited to, one or more of the following: chat application (also known as instant messaging application), document application, audio and video conferencing application, email application, task application, objectives and key results (OKR) application, and the like. Application 120 supports the use of plug-ins. Such plug-ins include, but are not limited to, one or more of the following: search plug-in, contact plug-in, message plug-in, document plug-in, table plug-in, email plug-in, calendar plug-in, schedule plug-in, task plug-in, and the like. In some embodiments, application 120 may include a multi-functional collaboration platform, such as an office collaboration platform (also known as an office suite) that can provide integration of various types of applications or components to facilitate people's office work, communication and other activities. In the multi-functional collaboration platform, people can start different applications or components as needed to complete corresponding information processing, sharing, communication, etc.

[0030] In some embodiments, the terminal device 110 communicates with the server 130 to provide services for the application 120. The terminal device 110 may 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 may also support any type of interface for the user (such as a "wearable" circuit, etc.). The application 130 may be a computing system / server of various types that can provide computing power, including but not limited to a mainframe, an edge computing node, a computing device in a cloud environment, and the like.

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

[0032] As briefly mentioned above, digital assistants can assist users in using terminal devices or applications. Some applications can provide integrated functions of different plug-ins. If the digital assistant can use plug-ins to complete tasks during the interaction between the user and the digital assistant, this will further improve the efficiency of the collaboration between the digital assistant and the user. For example, in addition to being able to have a free conversation with the digital assistant, the user can also use natural language instructions to enable the digital assistant to use different plug-ins to complete some more complex business-related operations of the application, such as creating documents, inviting schedules, creating tasks, etc.

[0033] According to some embodiments of the present disclosure, a scheme for information processing is proposed. In an embodiment of the present disclosure, for a first topic of interaction between a user and a digital assistant at a client, one or more plug-ins for the first topic are determined, and plug-in setting information for the first topic is stored. During the interaction between the user and the digital assistant regarding the first topic, one or more plug-ins are used to perform the task requested by the user based on the stored plug-in setting information. Thus, the plug-in setting information can be stored, and the plug-in setting information can be used to perform tasks during subsequent interactions. This advantageously assists the user in conveniently and quickly using plug-ins to efficiently complete a variety of operations during the interaction with the digital assistant.

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

[0035] Example Interaction Window

[0036] As described above, in an embodiment of the present disclosure, a digital assistant is used to interact with a user. An interaction window between a user and a digital assistant may be presented in a client interface. The interaction window between a user and a digital assistant may include a conversation window, in which the interaction between the user and the digital assistant may be presented in the form of a conversation message. Alternatively or additionally, the interaction window between a user and a digital assistant may also include other types of windows, such as a window in a floating window mode, in which a user may trigger the digital assistant to perform a corresponding operation by inputting instructions, selecting shortcut instructions, and the like. As an intelligent assistant, a digital assistant has intelligent dialogue and information processing capabilities. In the interaction window, a user inputs an interactive message, and the digital assistant provides a reply message in response to the user input. The client interface for providing a digital assistant may correspond to a single-function application or a multi-function collaboration platform, such as an office suite or other collaboration platform capable of integrating multiple components.

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

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

[0039] In some embodiments, it is possible to provide information processing services specific to the user based on the historical interaction information between the user and the digital assistant and / or the data range specific to the user. In some embodiments, the historical interaction information of the first user interacting with the first digital assistant in multiple interaction modes can be stored in association with the first user. In this way, in one interaction mode (any one or a specified one of the interaction modes) among the multiple interaction modes, the first digital assistant can provide services to the first user based on the historical interaction information stored in association with the first user.

[0040] The digital assistant can be called or awakened by an appropriate means (e.g., shortcut keys, buttons, or voice) to present an interaction window with the user. In some embodiments, the digital assistant can be included in the current user's contact list in the application, or included in the information flow of the chat application as a contact of the user. By selecting the digital assistant, the interaction window with the digital assistant can be opened. The interaction window may include interface elements for information interaction, such as input boxes, message lists, message bubbles, and so on. In other embodiments, the digital assistant can be awakened through an entry control or menu provided in the page, or by inputting a preset instruction. In some embodiments described below, for ease of discussion, the interaction window between the user and the digital assistant is mainly illustrated as a conversation window.

[0041] FIG. 2A to FIG. 2C Schematic diagram of an example client interface 201 of an interactive window according to some embodiments of the present disclosure is shown. The client interface 201 may be implemented at the terminal device 110. Figure 1 describe FIG. 2A to FIG. 2C .

[0042] In some embodiments, in response to the user waking up the digital assistant through a preset operation (e.g., selecting a digital assistant from a contact list), the terminal device 110 may display a session window (also referred to as a main session window) in which the user interacts with the digital assistant and a plug-in selection control. Through such a plug-in selection control, the user can select a plug-in to be used in the main session window.

[0043] In some embodiments, Figure 2AAs shown, the main conversation window between the digital assistant (shown as "XX Assistant" in the figure) and the user is presented in area 210 of interface 201. The digital assistant can be regarded as one of the user's contacts and is presented in the information flow of the instant messaging application. The instant messaging application is presented in area 230 of interface 201, and the information flow is presented in area 220 of interface 201. The user selects the digital assistant in the instant messaging application to enter the main conversation window. The main conversation window includes a plug-in selection control 222. The user can select a plug-in to be used in the conversation window by clicking the plug-in selection control 222.

[0044] In some embodiments, the terminal device 110 wakes up the digital assistant in a first page (e.g., a page for browsing a document) in response to a user's preset operation (e.g., triggering a preset control, inputting a preset instruction, or voice wake-up, etc.), and displays a sub-session window (also referred to as a first interaction window) in which the user interacts with the digital assistant. Such a sub-session window includes a plug-in selection control. Through such a plug-in selection control, the user can select and use a plug-in in the sub-session window.

[0045] In some embodiments, the interactive window is presented in association with the target content. Figure 2B As shown, the user selects a document application in area 230 and views the target content in the document in area 220. During the viewing process, the user, for example, invokes the digital assistant by triggering a preset control or menu in 220, or by voice. In response to such an operation, the terminal device 110 presents a sub-conversation window between the user and the digital assistant in area 210 of the interface 201. Note that in Figure 2B In other figures, the area 210 including the sub-session window and the area 220 including the target content are described as being arranged side by side on the left and right. In other embodiments, they can be arranged in other ways as needed. For example, the area 210 can be presented on the left side and the area 220 can be presented on the right side in the client interface. For another example, the area 210 and the area 220 can also be arranged in an upper and lower partition manner, and so on. The sub-session window includes a plug-in selection control 222. The user can select the plug-in to be used in the session window by clicking the plug-in selection control 222.

[0046] In some embodiments, the application in which the main session window is located and the application in which the sub-session window is located are different applications. For example, the application in which the main session window is located may be an instant messaging application for a user to communicate with other users and a digital assistant. For example, the application that can evoke a sub-session window may be other applications other than the instant messaging application, such as a document application, a spreadsheet application, a calendar application, a schedule application, a conference application, a project management application, a customer relationship management (CRM) application, etc.

[0047] In some embodiments, the terminal device 110 may trigger the digital assistant and present an interactive window in the area where the target content of the first page is displayed. Figure 2C As shown, after selecting the partial content 214 of the target document in the area 220, you can right-click to display a menu (not shown), which includes the entry control of the digital assistant. By triggering the entry control, you can present Figure 2C In this example, the interactive window is presented in a floating window style, also referred to as a floating window interactive window or a floating window conversation window. Of course, in addition to the right-click method, the floating window interactive window can also be triggered in various other appropriate ways, which are not limited in the embodiments of the present disclosure. A plug-in selection control 222 can also be displayed in the floating window interactive window. The user can select the plug-in to be used in the conversation window by clicking the plug-in selection control 222.

[0048] It should be understood that in the accompanying drawings, documents are used as examples of target content for illustration. In other embodiments, the target content may also include any other appropriate content that can be processed by the platform, including but not limited to audio, video, image, email, calendar, schedule, task, etc. For these contents, the digital assistant can be evoked and a conversation window can be presented.

[0049] FIG. 2A to FIG. 2C Multiple examples of starting a conversation window between a user and a digital assistant are shown. It should be understood that the conversation window can also be started in other ways. FIG. 2A to FIG. 2C The various specific information, icons, etc. provided are merely examples, and are not intended to limit the scope of the embodiments of the present disclosure.

[0050] Example Interaction

[0051] In the examples described above, users can use plug-ins during the interaction with the digital assistant. To this end, in an embodiment of the present disclosure, the server 130 can obtain a topic (also referred to as a first topic) in which a user (e.g., user 140) interacts with the digital assistant at a client (e.g., a terminal device 110 on which an application 120 is installed), and determine one or more plug-ins for the first topic based on the first topic. Each plug-in is configured to perform a corresponding function. The one or more plug-ins here may be a default plug-in (e.g., a default plug-in in the application 120, a default plug-in in the main session, etc.) or a plug-in specified by the user. Such an embodiment will be described in detail below.

[0052] In some embodiments, the server 130 may obtain relevant information of one or more plug-ins for the first topic, for example, plug-in identifiers of the one or more plug-ins. In some embodiments, the server 130 may create or obtain relevant information of the first topic, for example, identification information related to the first topic. The identification information related to the first topic may, for example, include the topic identifier of the first topic and the identifier of the main session between the user and the digital assistant. The server 130 may determine the plug-in setting information for the first topic based at least on the acquired information. Exemplarily, the server 130 may determine the plug-in setting information based on the acquired plug-in identifiers of the one or more plug-ins and the identification information related to the first topic. That is, the plug-in setting information determined by the server 130 includes one or more plug-in identifiers corresponding to the one or more plug-ins and the identification information related to the first topic.

[0053] In an embodiment of the present disclosure, the server 130 stores the plug-in setting information of the first topic. The server 130 then uses one or more plug-ins to perform the task requested by the user based on the plug-in setting information during the interaction between the user and the digital assistant regarding the first topic. For example, the server 130 can provide the plug-in setting information to the machine learning model so that the machine learning model can perform the task with the help of one or more plug-ins indicated by the plug-in setting information.

[0054] The following will continue to describe in detail multiple exemplary embodiments of the present disclosure with reference to the accompanying drawings. Figures 3 to 7 Multiple examples of flowcharts are provided to describe the flow of information for information processing.

[0055] exist Figures 3 to 7 In the multiple examples shown, the client 301 can be run at the terminal device 110 to implement the office suite 120. The server 306 can be run at the server 130. As an example only, the server 306 may include, but is not limited to, a digital assistant service 302, a machine learning service 303, a message service 304, and an interface 305. The digital assistant service 302 can be used to provide services related to the digital assistant, for example. The machine learning service 303 can use any suitable machine learning model to provide various suitable services in the application 120. For example, a machine learning model can be used when generating the digital assistant's answer to the user. The message service 304 can be used to provide services related to the message application in the application 120. The interface 305 can be, for example, an open application program interface, and the application provides its own capabilities or resources to other applications in the form of an interface for calling or obtaining.

[0056] Specifically, Figure 3An example information flow 300 for processing plug-in settings for a new topic is shown. The client 301 can send (315) a request to create a first topic, also referred to as a topic creation request, to the digital assistant service 302. Exemplarily, the client 301 can send the topic creation request to the digital assistant service 302 in response to detecting a trigger operation of an appropriate operation control (e.g., a topic creation control). It is understood that the client 301 can send the topic creation request to the digital assistant service 302 in response to any appropriate operation, and the present disclosure does not limit the specific operation.

[0057] In response to receiving the topic creation request, the digital assistant service 302 can create / obtain (320) a topic identifier (ID) for marking the first topic. That is, if the topic creation request is for the first topic that the user interacts with the digital assistant, the topic identifier is a topic identifier associated with the first topic. In some embodiments, if a topic identifier has not been created for the first topic before, the digital assistant service 302 can request the machine learning service 303 to create a new topic identifier for the first topic. For example, the digital assistant service 302 can pass an empty topic ID to the machine learning service 303, and the machine learning service 303 generates and returns a new topic ID. In some embodiments, if a topic identifier has been created for the first topic before, the digital assistant service 302 can query the topic identifier for the first topic.

[0058] The digital assistant service 302 may further obtain (325) a plug-in identifier (i.e., default plug-in ID) of the default plug-in for the first topic from the machine learning service 303. The plug-in identifiers of multiple plug-ins may be stored in the machine learning service 303. In some embodiments, if the topic creation request received by the digital assistant service 302 is a request to create a first topic in a sub-session between the user and the digital assistant, the digital assistant service 302 may determine the application that triggers the sub-session and determine the default plug-in pre-selected for the application. The digital assistant service 302 may then obtain the plug-in identifier of the default plug-in. Exemplarily, if the application is a chat application, the digital assistant service 302 may determine the question-and-answer plug-in as the default plug-in for the application in advance. For example, the digital assistant service 302 may determine that the plug-in identifier of the question-and-answer plug-in is to be obtained in response to receiving a topic creation request to create a first topic in a sub-session between the user and the digital assistant.

[0059] In some embodiments, if the topic creation request received by the digital assistant service 302 is a request to create a first topic in the main session between the user and the digital assistant, the digital assistant service 302 can determine a default plug-in for the main session. Exemplarily, in the main session, the digital assistant service 302 can determine a specified plug-in (e.g., a search plug-in) as the default plug-in for the main session. The digital assistant service 302 can determine to obtain a plug-in identifier for the default plug-in for the main session in response to receiving a topic creation request to create a first topic in the main session between the user and the digital assistant.

[0060] After the digital assistant service 302 determines the default plug-in to be obtained, a request indicating the plug-in identifier of the determined default plug-in can be sent to the machine learning service 303. The machine learning service 303 can query the plug-in identifiers of multiple stored plug-ins based on the request. If the plug-in identifier of the default plug-in indicated by the request is queried, the machine learning service 303 can send the plug-in identifier to the digital assistant service 302 so that the digital assistant service 302 obtains the plug-in identifier of the default plug-in.

[0061] The digital assistant service 302 can then determine the plug-in setting information based on the obtained identification information related to the first topic (for example, topic ID, main session ID, etc.) and the plug-in identification of the default plug-in. The digital assistant service 302 can store (330) the plug-in setting information. In response to the storage of the plug-in setting information, the digital assistant service 302 can send (335) an indication of successful plug-in setting to the client 301. It should be noted that this indication of successful plug-in setting can only be used to inform the user whether the processing is successful or not. Alternatively, if a problem occurs in any of the above processes, the digital assistant service 302 can send another indication to the client 301 to prompt the user to re-initiate the topic creation request.

[0062] In some embodiments, Figure 3 As shown, the digital assistant service 302 can synchronously send plug-in setting information to multiple clients 301 corresponding to the user via the message service 304. In some cases, there may be a situation where the user logs in through multiple terminal devices 110 at the same time, that is, the user corresponds to multiple clients 301. In this case, it is expected that these clients can all receive the plug-in setting information so that the user has the same experience interacting with the digital assistant from different clients. In this embodiment, by separately sending an indication of successful plug-in setting and plug-in setting information, the data of multiple clients 301 corresponding to the user can be synchronized, that is, other clients 301 that have not initiated a topic creation request can also perceive that the plug-in setting is successful.

[0063] Specifically, Figure 3As shown, the digital assistant service 302 can send (340) a system message to the message service 304. This system message may include, for example, plug-in setting information. The message service 304 may send (345) plug-in setting information to the client 301 corresponding to the user based on the received system message. The client 301 corresponding to the user here refers to one or more clients 301 corresponding to the user, that is, including the client 301 that initiates the topic creation request and other clients. In response to receiving the plug-in setting information, the client 301 sends (350) a request for plug-in information to the interface 305. This request may include one or more plug-in identifiers corresponding to one or more plug-ins for the first topic, such as the plug-in identifier of the default plug-in. In response to the request, the interface 305 provides (355) plug-in information of one or more plug-ins to the client 301. In response to receiving the plug-in information, the client 301 displays (360) one or more plug-ins to the customer. The plug-in information may include, for example, the name of the plug-in, the icon to be displayed, etc.

[0064] As mentioned above, in addition to the default plug-in, one or more plug-ins for the first topic may also include a plug-in selected by the user. In some embodiments, the client 301 may present a plug-in selection control, such as the plug-in selection control 222 described above. In response to detecting a trigger operation on the plug-in selection control, the client 301 may present a set of optional plug-ins to the user so that the user selects a plug-in from the set. Specifically, the client 301 may send a request to obtain a set of optional plug-ins to the server 306 in response to detecting a trigger operation on the plug-in selection control. The server 306 may obtain a set of optional plug-ins based on the request. That is, in response to determining a trigger operation on the plug-in selection control displayed at the client, the server 306 may obtain a set of optional plug-ins. The server 306 may then provide a set of optional plug-ins to the client 301 for the client 301 to present the set.

[0065] Figure 4 An example information flow 400 of a client obtaining a set of optional plug-ins is shown. Figure 4 As shown, the client 301 may send (405) a request for a plug-in list to the interface 305. The plug-in list is an example implementation of a collection of optional plug-ins. The server 306 may send (410) the plug-in list indicated by the request to the client 301 through the interface 305. In response to receiving the plug-in list, the client 301 displays (415) the plug-in list to the user.

[0066] Furthermore, the client 301 may determine the plug-in selected by the user based on the user's selection operation on a plug-in in the optional plug-in set (eg, plug-in list). Figure 5 An example information flow 500 for a topic selection widget is shown.

[0067] like Figure 5 As shown, the digital assistant service 302 in the server 306 can obtain (505) the plug-in selected by the user for the first topic from the client 301. The server 306 can then determine at least a portion of one or more plug-ins based on the selected plug-in. In some embodiments, the server 306 can verify whether the selected plug-in is valid, and determine the verified plug-in as at least a portion of the one or more plug-ins.

[0068] Specifically, the digital assistant service 302 in the server 306 can send the plug-in identifier (i.e., plug-in ID) of the selected plug-in to the interface 305 and obtain the verification result of the plug-in identifier of the selected plug-in from the interface 305. The verification result can indicate whether the corresponding plug-in identifier of the selected plug-in is a valid identifier. The interface 305 can, for example, query the received plug-in identifier to determine whether the plug-in identifier has been registered, and determine that the plug-in identifier has passed the verification if the plug-in identifier is a registered plug-in identifier. Accordingly, the interface 305 can send a verification result indicating that the plug-in identifier is a valid identifier to the digital assistant service 302. That is, the digital assistant service 302 can verify (510) whether the plug-in identifier of the selected plug-in is valid through interaction with the interface 305.

[0069] In some embodiments, the digital assistant service 302 can also verify (515) whether the number of plug-ins is reasonable through interaction with the machine learning service 303. Exemplarily, the digital assistant service 302 can send a request to the machine learning service 303 indicating the acquisition of a preset number requirement. The machine learning service 303 can, for example, respond to the request and send a preset number requirement to the digital assistant service 302. This preset number requirement 303 can be determined based on the computing power of the server 306 or the computing power of the machine learning model, for example. The digital assistant service 302 can compare the number of selected plug-ins with the acquired preset number requirement, and if the number of plug-ins is less than the preset number requirement, determine that the number of plug-ins meets the preset number requirement, that is, the number of plug-ins is reasonable.

[0070] The digital assistant service 302 can verify (520) the validity of the plug-in based on the verification result indicating whether the plug-in identifier is a valid identifier and the verification result indicating whether the number of plug-ins meets the preset number requirement. It is understood that only when these two verification results respectively indicate that the plug-in identifier is valid and the number of plug-ins meets the preset number requirement (that is, both verifications pass), the digital assistant service 302 determines that the plug-in selected by the user is valid.

[0071] In such an embodiment, proper use of the plug-in can be ensured by validating the selected plug-in.

[0072] Continuing with information flow 500, the digital assistant service 302 may then obtain (525) identification information of the selected plug-in. The digital assistant service 302 may then determine plug-in setting information based at least on the identification information of the plug-in. For example, the digital assistant service 302 may determine the plug-in setting information based on the identification information of the selected plug-in and the topic identification of the first topic. The digital assistant service 302 stores (530) the plug-in setting information and provides (535) an indication of successful plug-in setup to the client 302.

[0073] Similarly, for the plug-in selected by the user, the digital assistant service 302 can also send (540) a system message (e.g., update system message) to the message service 304. The message service 304 can send (545) plug-in setting information to one or more clients 301 corresponding to the user based on the received system message. In response to receiving the plug-in setting information, the client 301 can send (550) a request for plug-in information to the interface 305. This request may include one or more plug-in identifiers corresponding to one or more plug-ins for the first topic, such as the plug-in identifier of the plug-in selected by the user. In response to the request, the interface 305 can provide (555) plug-in information of one or more plug-ins to the client 301, such as the name, icon, etc. of the plug-in. In response to receiving the plug-in information, the client 301 can display (560) one or more plug-ins to the customer.

[0074] The above describes an example of determining a plug-in for a topic. The following continues to describe an example embodiment of using one or more plug-ins to perform a task requested by a user. In some embodiments, the server 306 can receive an interactive message between a user and a digital assistant about a first topic. The interactive message can be, for example, an interactive message between a user and a digital assistant in a conversation window. In some embodiments, the interactive message received by the server 306 is an interactive message from a user and indicating a task. The server 306 can query the plug-in setting information of the first topic based on the identification information related to the first topic, and obtain the digital assistant's reply message to the interactive message based on one or more plug-in identifiers in the plug-in setting information. This reply message can, for example, include the execution result of the task or indication information of the execution result. In some embodiments, this reply message can be some pre-set messages. For example, if a reply template is pre-stored in the server 306, in response to the interactive message from the user being an interactive message in the reply template, the server 306 can determine the reply message for the interactive message from the reply template. In some embodiments, the server 306 can also send the interactive message and one or more plug-in identifiers to the machine learning model, and receive a reply message from the machine learning model. The reply message can, for example, include information about the plug-in used to generate the reply message, or the usage status of the plug-in used.

[0075] Figure 6 and Figure 7 An example information flow 600 and an example information flow 700 for determining a reply message using a machine learning model are shown. Figure 6 As shown, the message service 304 in the server 306 can receive interaction messages between the user and the digital assistant about the first topic from the client 301. The message service 304 can provide (605) the received interaction message to the digital assistant service 302. The digital assistant service 302 can obtain (610) identification information related to the first topic based on the interaction message. The digital assistant service 302 can also query (615) plug-in setting information related to the first topic based on the identification information related to the first topic. The digital assistant service 302 can determine the plug-in identification (i.e., plug-in ID) of one or more plug-ins for the first topic based on the queried plug-in setting information. The digital assistant service 302 can then provide (620) the interaction message and one or more plug-in identifications to the machine learning service 303.

[0076] Thus, the machine learning service 303 can use these plug-ins to perform the tasks indicated in the interactive message. For example, the machine learning service 303 can provide the received interactive message and one or more plug-in identifiers as model inputs to the machine learning model, and obtain the output results of the machine learning model. Furthermore, the machine learning service 303 can generate a reply message for the interactive message based on the output of the machine learning model. The machine learning service 303 can provide (705) the reply message to the digital assistant service 302. Such a reply message may include information about the plug-in used to generate the message (for example, the name or icon of the plug-in), or the usage status of the plug-in used. For example, the reply message may indicate which part or parts of the execution result of the task utilizes the plug-in and whether the plug-in has been used up. The digital assistant service 302 can then provide (710) the reply message to the message service 304. In some embodiments, the digital assistant service 302 can be understood as a relay of the reply message, and the digital assistant service 302 directly provides the received reply message to the message service 304. Alternatively, the digital assistant service 302 can perform additional processing on the reply message. The embodiments of the present disclosure are not limited in this respect. Thus, the server 306 can provide the reply message to the client 301 through the message service 304 so that the user can view the reply message from the digital assistant in the client 301 .

[0077] In summary, according to the embodiments of the present disclosure, plug-in setting information can be stored and used to perform tasks in subsequent interaction processes, which can improve the efficiency of the digital assistant's assistance to the user.

[0078] Example Process

[0079] Figure 8 800 is a flowchart of a process 800 for information processing according to some embodiments of the present disclosure. The process 800 may be implemented at the server 130. For ease of discussion, reference will be made to Figure 1 The process 800 is described in the environment 100.

[0080] In block 810 , the server 130 determines one or more plug-ins for a first topic for interaction between a user at a client and a digital assistant, each plug-in being configured to perform a corresponding function.

[0081] In block 820 , the server 130 stores plug-in setting information for the first topic, the plug-in setting information including one or more plug-in identifications corresponding to one or more plug-ins and identification information related to the first topic.

[0082] In box 830, the server 130 uses one or more plug-ins to perform the task requested by the user based on the plug-in setting information during the interaction between the user and the digital assistant regarding the first topic.

[0083] In some embodiments, determining one or more plug-ins for a first topic includes: receiving a request from a client to create a first topic in a sub-session between a user and a digital assistant; determining an application that triggers the sub-session; and determining a default plug-in pre-selected for the application as at least a part of the one or more plug-ins.

[0084] In some embodiments, determining one or more plug-ins for a first topic includes: receiving a request from a client to create the first topic in a main session between a user and a digital assistant; and determining a default plug-in for the main session as at least a portion of the one or more plug-ins.

[0085] In some embodiments, determining one or more plug-ins for the first topic includes: obtaining a plug-in selected by a user for the first topic from a client; and determining at least a portion of the one or more plug-ins based on the selected plug-in.

[0086] In some embodiments, determining at least a portion of the one or more plug-ins based on the selected plug-in includes: verifying whether the selected plug-in is valid; and determining the verified plug-in as at least a portion of the one or more plug-ins.

[0087] In some embodiments, verifying whether the selected plug-in is valid includes at least one of the following: determining whether a corresponding plug-in identifier of the selected plug-in is a valid identifier, or determining whether the number of the selected plug-ins meets a preset number requirement.

[0088] In some embodiments, process 800 further includes: in response to determining a triggering operation on a plug-in selection control displayed at the client, obtaining a set of optional plug-ins; and providing the set of optional plug-ins to the client for the client to present the plug-ins in the set, and wherein the selected plug-in belongs to the set.

[0089] In some embodiments, process 800 further includes: in response to storing the plug-in setting information, sending an indication of successful plug-in setting to the client.

[0090] In some embodiments, process 800 also includes: sending plug-in setting information to the client via a message service; receiving a request for plug-in information from the client, the request including one or more plug-in identifiers; and in response to the request, providing plug-in information of one or more plug-ins to the client for the client to display the one or more plug-ins.

[0091] In some embodiments, using one or more plug-ins to perform a task requested by a user includes: receiving an interaction message between the user and the digital assistant regarding a first topic, the interaction message coming from the user and indicating a task; querying plug-in setting information for the first topic based on identification information related to the first topic; and obtaining a reply message from the digital assistant to the interaction message based on one or more plug-in identifiers in the plug-in setting information, the reply message including the execution result of the task.

[0092] In some embodiments, obtaining a reply message of the digital assistant to an interaction message includes: sending the interaction message and one or more plug-in identifiers to a machine learning model; and receiving the reply message from the machine learning model.

[0093] In some embodiments, the reply message includes at least one of the following: information of a plug-in used to generate the reply message, or a usage status of the plug-in used.

[0094] In some embodiments, the identification information related to the first topic includes: a topic identification of the first topic, and an identification of the main conversation between the user and the digital assistant.

[0095] Example devices and equipment

[0096] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Fig. 9 A schematic structural block diagram of an apparatus 900 for information processing according to some embodiments of the present disclosure is shown. The apparatus 900 may be implemented as or included in a terminal device 110 and / or a server 130. Each module / component in the apparatus 900 may be implemented by hardware, software, firmware, or any combination thereof.

[0097] like Fig. 9 As shown, the device 900 includes a plug-in determination module 910, which is configured to determine one or more plug-ins for the first topic for interaction between the user and the digital assistant at the client, and each plug-in is configured to perform a corresponding function. The device 900 also includes an information storage module 920, which is configured to store plug-in setting information for the first topic, and the plug-in setting information includes one or more plug-in identifiers corresponding to the one or more plug-ins and identification information related to the first topic. The device 900 also includes a task execution module 930, which is configured to use one or more plug-ins to execute the task requested by the user based on the plug-in setting information during the interaction between the user and the digital assistant regarding the first topic.

[0098] In some embodiments, the plug-in determination module 910 includes: a first request receiving module, configured to receive a request from a client to create a first topic in a sub-session between a user and a digital assistant; an application determination module, configured to determine the application that triggers the sub-session; and a first plug-in determination module, configured to determine a default plug-in pre-selected for the application as at least a part of one or more plug-ins.

[0099] In some embodiments, the plug-in determination module 910 includes: a second request receiving module, configured to receive a request from a client to create a first topic in a main session between a user and a digital assistant; and a second plug-in determination module, configured to determine a default plug-in for the main session as at least a part of one or more plug-ins.

[0100] In some embodiments, the plug-in determination module 910 includes: a plug-in acquisition module configured to acquire a plug-in selected by a user for the first topic from a client; and a third plug-in determination module configured to determine at least a portion of one or more plug-ins based on the selected plug-in.

[0101] In some embodiments, the third plug-in determination module includes: a verification module configured to verify whether the selected plug-in is valid; and a determination module configured to determine the verified plug-in as at least a part of the one or more plug-ins.

[0102] In some embodiments, the verification module includes at least one of the following: an identification verification module configured to determine whether the corresponding plug-in identification of the selected plug-in is a valid identification, or a number verification module configured to determine whether the number of the selected plug-ins meets a preset number requirement.

[0103] In some embodiments, the device 900 also includes: a collection acquisition module, configured to acquire a collection of optional plug-ins in response to determining a trigger operation on a plug-in selection control displayed at the client; and a collection providing module, configured to provide a collection of optional plug-ins to the client so that the client presents the plug-ins in the collection, and wherein the selected plug-in belongs to the collection.

[0104] In some embodiments, the apparatus 900 further includes: an indication sending module configured to send an indication of successful plug-in setting to the client in response to the storage of the plug-in setting information.

[0105] In some embodiments, the device 900 also includes: an information sending module, configured to send plug-in setting information to the client via a message service; a request receiving module, configured to receive a request for plug-in information from the client, the request including one or more plug-in identifiers; and an information providing module, configured to provide plug-in information of one or more plug-ins to the client in response to the request, so that the client can display one or more plug-ins.

[0106] In some embodiments, the task execution module 930 includes: a message receiving module, configured to receive interaction messages between a user and a digital assistant regarding a first topic, the interaction messages coming from the user and indicating a task; an information query module, configured to query plug-in setting information of the first topic based on identification information related to the first topic; and a message acquisition module, configured to acquire a reply message of the digital assistant to the interaction message based on one or more plug-in identifiers in the plug-in setting information, the reply message including the execution result of the task.

[0107] In some embodiments, the message acquisition module includes: a sending module configured to send an interaction message and one or more plug-in identifiers to a machine learning model; and a receiving module configured to receive a reply message from the machine learning model.

[0108] In some embodiments, the reply message includes at least one of the following: information of a plug-in used to generate the reply message, or a usage status of the plug-in used.

[0109] In some embodiments, the identification information related to the first topic includes: a topic identification of the first topic, and an identification of the main conversation between the user and the digital assistant.

[0110] The units and / or modules included in the device 900 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units and / or modules in the device 900 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0111] It should be understood that one or more steps in the above method can be performed by a suitable electronic device or a combination of electronic devices. Such an electronic device or a combination of electronic devices may include, for example, Figure 1 The server 130, the terminal device 110 and / or the combination of the server 130 and the terminal device 110.

[0112] Fig.10 1 shows a block diagram of an electronic device 1000 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig.10The electronic device 1000 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Fig.10 The electronic device 1000 shown can be used to implement Figure 1 terminal device 110.

[0113] like Fig.10 As shown, the electronic device 1000 is in the form of a general electronic device. The components of the electronic device 1000 may include, but are not limited to, one or more processors or processing units 1010, a memory 1020, a storage device 1030, one or more communication units 1040, one or more input devices 1050, and one or more output devices 1060. The processing unit 1010 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 1020. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 1000.

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

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

[0116] The communication unit 1040 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 1000 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 1000 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.

[0117] The input device 1050 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 1060 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 1000 may also communicate with one or more external devices (not shown) through the communication unit 1040 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 1000, or communicate with any device that allows the electronic device 1000 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).

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

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

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

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

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

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

Claims

1. An information processing method, comprising: For a first topic of interaction between a user at a client and a digital assistant, determining one or more plug-ins for the first topic, each plug-in being configured to perform a corresponding function; storing plug-in setting information of the first topic, the plug-in setting information including one or more plug-in identifiers corresponding to the one or more plug-ins and identification information related to the first topic; as well as During the interaction between the user and the digital assistant regarding the first topic, the one or more plug-ins are used to perform the task requested by the user based on the plug-in setting information.

2. The method of claim 1 , wherein determining one or more plugins for the first topic comprises: receiving, from the client, a request to create the first topic in a sub-session between the user and the digital assistant; Determining an application that triggers the sub-session; as well as A default plug-in pre-selected for the application is determined as at least a part of the one or more plug-ins.

3. The method of claim 1 , wherein determining one or more plugins for the first topic comprises: receiving, from the client, a request to create the first topic in a main conversation between the user and the digital assistant; as well as A default plug-in for the primary session is determined as at least a portion of the one or more plug-ins.

4. The method of claim 1 , wherein determining one or more plugins for the first topic comprises: Acquire, from the client, a plug-in selected by the user for the first topic; as well as At least a portion of the one or more plug-ins is determined based on the selected plug-in.

5. The method of claim 4, wherein determining at least a portion of the one or more plug-ins based on the selected plug-in comprises: Verify whether the selected plug-in is valid; as well as The plug-ins that pass the verification are determined as at least a part of the one or more plug-ins.

6. The method according to claim 5, wherein verifying whether the selected plug-in is valid comprises at least one of the following: Determine if the corresponding plugin ID of the selected plugin is a valid ID, or Determine whether the number of selected plug-ins meets the preset number requirement.

7. The method according to claim 4, further comprising: In response to determining a triggering operation on a plug-in selection control displayed at the client, obtaining a set of optional plug-ins; as well as providing the set of optional plug-ins to the client so that the client presents the plug-ins in the set, and Wherein the selected plug-in belongs to the collection.

8. The method according to claim 1, further comprising: In response to the storing of the plug-in setting information, an indication of successful plug-in setting is sent to the client.

9. The method according to claim 1, further comprising: Sending the plug-in setting information to the client via a message service; receiving a request for plug-in information from the client, the request including the one or more plug-in identifiers; as well as In response to the request, plug-in information of the one or more plug-ins is provided to the client, so that the client displays the one or more plug-ins.

10. The method according to claim 1, wherein using the one or more plug-ins to perform the task requested by the user comprises: receiving an interaction message between the user and the digital assistant regarding the first topic, wherein the interaction message comes from the user and indicates the task; querying the plug-in setting information of the first topic according to the identification information related to the first topic; as well as Based on the one or more plug-in identifiers in the plug-in setting information, a reply message of the digital assistant to the interactive message is obtained, and the reply message includes the execution result of the task.

11. The method according to claim 10, wherein obtaining a reply message of the digital assistant to the interactive message comprises: Sending the interaction message and the one or more plug-in identifiers to a machine learning model; as well as The reply message is received from the machine learning model.

12. The method according to claim 10, wherein the reply message comprises at least one of the following: Information about the plugin used to generate the reply message, or The usage status of the plugin being used.

13. The method according to claim 1, wherein the identification information related to the first topic comprises: a topic identifier of the first topic, and An identifier of the primary session between the user and the digital assistant.

14. An apparatus for information processing, comprising: A plug-in determination module, configured to determine one or more plug-ins for a first topic of interaction between a user at a client and a digital assistant, each plug-in being configured to perform a corresponding function; an information storage module, configured to store plug-in setting information of the first topic, the plug-in setting information including one or more plug-in identifiers corresponding to the one or more plug-ins and identification information related to the first topic; as well as The task execution module is configured to use the one or more plug-ins to execute the task requested by the user based on the plug-in setting information during the interaction between the user and the digital assistant regarding the first topic.

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

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

Citation Information

Patent Citations

  • Systems and methods for accessing an interaction state between multiple devices

    CN103797472A

  • Use of a digital assistant in communications

    CN111147357A

  • Data processing method, device and equipment and storage medium

    CN111654717A

  • Communication method and device, terminal and storage medium

    CN112350924A

  • Information processing method, server and computer readable storage medium

    CN114005445A