[go: up one dir, main page]

CN119883447A - Method, apparatus, device and storage medium for information processing - Google Patents

Method, apparatus, device and storage medium for information processing Download PDF

Info

Publication number
CN119883447A
CN119883447A CN202311387264.2A CN202311387264A CN119883447A CN 119883447 A CN119883447 A CN 119883447A CN 202311387264 A CN202311387264 A CN 202311387264A CN 119883447 A CN119883447 A CN 119883447A
Authority
CN
China
Prior art keywords
plug
topic
user
digital assistant
ins
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311387264.2A
Other languages
Chinese (zh)
Inventor
曹阳
朱新宇
方俊
肖志伟
夏京宏
周俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202311387264.2A priority Critical patent/CN119883447A/en
Publication of CN119883447A publication Critical patent/CN119883447A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/02User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

According to embodiments of the present disclosure, methods, apparatuses, devices, and storage media for information processing are provided. The method includes determining, for a first topic of user interaction with the digital assistant at the client, one or more plugins for the first topic, each plugin configured to perform a respective function, storing plugin setting information for the first topic, the plugin setting information including one or more plugin identifications corresponding to the one or more plugins and identification information related to the first topic, and performing a task requested by the user using the one or more plugins based on the plugin setting information during the user interaction with the digital assistant about the first topic. In this way, plug-in setting information may be stored, which may be used in subsequent interactions to perform tasks. This facilitates facilitating the user to efficiently accomplish diverse operations with the aid of the plug-in during interaction with the digital assistant.

Description

Method, apparatus, device and storage medium for information processing
Technical Field
Example embodiments of the present disclosure relate generally to the field of computers and, more particularly, relate to methods, apparatuses, devices, and computer-readable storage media for information processing.
Background
With the development of information technology, various terminal devices can provide various services to people in terms of work and life, etc. For example, an application providing a service may be deployed in the terminal device. The terminal device or application may provide digital assistant-like functionality to the user to assist the user in using the terminal device or application. The user can complete diversified operations by means of the plug-in during the interaction with the digital assistant. How to conveniently and quickly determine an insert meeting the requirements of a user so as to execute tasks by means of the insert is a technical problem to be explored currently.
Disclosure of Invention
In a first aspect of the present disclosure, an information processing method is provided. The method includes determining, for a first topic of user interaction with the digital assistant at the client, one or more plugins for the first topic, each plugin configured to perform a respective function, storing plugin setting information for the first topic, the plugin setting information including one or more plugin identifications corresponding to the one or more plugins and identification information related to the first topic, and performing a task requested by the user using the one or more plugins based on the plugin setting information during the user interaction with the digital assistant about the first topic.
In a second aspect of the present disclosure, an apparatus for information processing is provided. The device comprises a plug-in determining module configured to determine one or more plug-ins for a first topic for user interaction with the digital assistant at the client, each plug-in 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 comprising one or more plug-in identifications corresponding to the one or more plug-ins and identification information related to the first topic, and a task executing module configured to execute tasks requested by the user using the one or more plug-ins based on the plug-in setting information during user interaction with the digital assistant on the first topic.
In a third aspect of the present disclosure, an electronic device is provided. The apparatus 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. The instructions, when executed by at least one processing unit, cause the apparatus to perform the method of the first aspect.
In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon a computer program executable by a processor to implement the method of the first aspect.
It should be understood that what is described in this section is not intended to limit the key features or essential 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 apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals denote like or similar elements, in which:
FIG. 1 illustrates a schematic diagram of an example environment in which embodiments of the present disclosure may be implemented;
2A-2C illustrate schematic diagrams of example interfaces of an interactive window, according to some embodiments of the present disclosure;
FIG. 3 illustrates a flow chart of an example information flow of setting up a plug-in for a new topic in accordance with some embodiments of the present disclosure;
FIG. 4 illustrates a flow chart of information flow of obtaining a plug-in list, according to some embodiments of the present disclosure;
FIG. 5 illustrates a flow chart of information flow for selecting a plug-in for a topic in accordance with some embodiments of the present disclosure;
FIG. 6 illustrates a flow chart of an information flow of processing an input message related to a plug-in accordance with some embodiments of the present disclosure;
FIG. 7 illustrates a flow chart of processing an information flow of reply messages related to a plug-in accordance with some embodiments of the present disclosure;
FIG. 8 illustrates a flow chart of a process of information processing according to some embodiments of the present disclosure;
FIG. 9 illustrates a block diagram of an apparatus for information processing in accordance with some embodiments of the present disclosure, and
Fig. 10 illustrates a block diagram of an electronic device capable of implementing various embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been illustrated in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather, these embodiments are provided so that this disclosure will be more thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
In describing embodiments of the present disclosure, the term "comprising" and its like should be taken to be open-ended, 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 are also possible below.
In this context, unless explicitly stated otherwise, performing a step "in response to a" does not mean that the step is performed immediately after "a", but may include one or more intermediate steps.
It will be appreciated that the data (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the relevant users, which may include any type of rights subjects, such as individuals, enterprises, groups, etc., should be informed and authorized by appropriate means of the types of information, usage ranges, usage scenarios, etc. involved in the present disclosure according to relevant legal regulations.
For example, in response to receiving an active request from a user, prompt information is sent to the relevant user to explicitly prompt the relevant user that the operation requested to be performed will need to obtain and use information to the relevant user, so that the relevant user may autonomously select whether to provide information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operation of the technical solution of the present disclosure according to the prompt information.
As an alternative but non-limiting implementation manner, in response to receiving an active request from a relevant user, the prompt information may be sent to the relevant user, for example, in a popup window, where the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
FIG. 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure may be implemented. In this example environment 100, an application 120 is installed in a terminal device 110. The user 140 may interact with the application 120 via the terminal device 110 and/or an attachment device of the terminal device 110.
In some embodiments, the application 120 may be downloaded and installed on the terminal device 110. In some embodiments, the application 120 may also be accessed by other means, such as by web page access, etc. In the environment 100 of fig. 1, if the application 120 is launched, the terminal device 110 may present an interface 150 of the application 120. Interface 150 may include various types of user interfaces that application 120 may provide. Interface 150 is sometimes referred to as a client interface.
Applications 120 include, but are not limited to, one or more of chat applications (also known as instant messaging applications), document applications, audio video conferencing applications, mail applications, task applications, goal and key results (OKR) applications, and the like. The application 120 supports the use of plug-ins. Such plug-ins include, but are not limited to, one or more of a search plug-in, a contact plug-in, a message plug-in, a document plug-in, a form plug-in, a mail plug-in, a calendar plug-in, a task plug-in, and the like. In some embodiments, the application 120 may include a multi-functional collaboration platform, such as an office collaboration platform (also referred to as an office suite) that may provide for integration of multiple types of applications or components to facilitate activities such as offices, communications, and the like. In the multifunctional collaboration platform, people can start different applications or components as required to complete corresponding information processing, sharing, communication and the like.
In some embodiments, terminal device 110 communicates with server 130 to enable provisioning of services for application 120. The terminal device 110 may be any type of mobile terminal, fixed terminal, or portable terminal, including a mobile handset, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, media computer, multimedia tablet, personal Communication System (PCS) device, personal navigation device, personal Digital Assistant (PDA), audio/video player, digital camera/camcorder, television receiver, radio broadcast receiver, electronic book device, game device, or any combination of the preceding, including accessories and peripherals for these devices, or any combination thereof. In some embodiments, terminal device 110 is also capable of supporting any type of interface to the user (such as "wearable" circuitry, etc.). The applications 130 may be various types of computing systems/servers capable of providing computing capabilities, including, but not limited to, mainframes, edge computing nodes, computing devices in a cloud environment, and so forth.
It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and are not meant to suggest any limitation as to the scope of the disclosure.
As mentioned briefly above, the digital assistant may assist the user in using the terminal device or application. Some applications are capable of providing integrated functionality of different cards. If the digital assistant is able to utilize the plug-in to complete tasks during the user's interaction with the digital assistant, this will further increase the efficiency of the digital assistant's collaboration with the user. For example, in addition to enabling free conversations with the digital assistant, the user may also be enabled by natural language instructions to cause the digital assistant to perform some more complex business related operations of the application, such as creating documents, inviting schedules, creating tasks, etc., with different plug-ins.
According to some embodiments of the present disclosure, a scheme for information processing is presented. In an embodiment of the present disclosure, for a first topic of user interaction with 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 user's interaction with the digital assistant about 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 may be stored, which may be used in subsequent interactions to perform tasks. This advantageously assists the user in efficiently performing diverse operations via the plug-in during interaction with the digital assistant.
Some example embodiments of the present disclosure will be described in detail below with reference to examples of the accompanying drawings.
Example interaction Window
As previously described, in embodiments of the present disclosure, a digital assistant is used to interact with a user. A user's interactive window with the digital assistant may be presented in the client interface. The user's interaction window with the digital assistant may include a conversation window in which interactions between the user and the digital assistant may be presented in the form of conversation messages. Alternatively or additionally, the user's interaction window with the digital assistant may also include other types of windows, such as a floating window mode window, in which the user may trigger the digital assistant to perform a corresponding operation by entering an instruction, selecting a shortcut instruction, or the like. The digital assistant is an intelligent assistant with intelligent dialogue and information processing capabilities. In the interactive window, the 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.
In some embodiments, multiple modes of interaction of the user with the digital assistant may be provided, and flexible switching between the multiple modes of interaction may be provided. In the event that a certain interaction pattern is triggered, the corresponding interaction zone is presented to facilitate user interaction with the digital assistant. The interaction modes of the user and the digital assistant in different interaction modes are different, so that the interaction modes can be flexibly adapted to the interaction requirements in different application scenes.
In some embodiments, the digital assistant may be included as a contact of the user, in a contact list of the current user in an office suite, or in an information stream of the chat component. In some embodiments, the user has a correspondence with the digital assistant. For example, a first digital assistant corresponds to a first user, a second digital assistant corresponds to a second user, and so on. In some embodiments, the first digital assistant may uniquely correspond to a first user, the second digital assistant may uniquely correspond to a second user, and so on. That is, the first digital assistant of the first user may be specific or dedicated to the first user. For example, in the process of the first digital assistant providing assistance or services to the first user, the first digital assistant may utilize its historical interaction information with the first user, the first user-authorized data it has access to, its current interaction context with the first user, and so on. If the first user is an individual or a person, the first digital assistant may be considered a personal digital assistant. It will be appreciated that in the disclosed embodiment the first digital assistant is based on the first user's authorization to access the granted rights data. It should be appreciated that the "unique correspondence" or similar expressions in this disclosure are not intended to limit that the first digital assistant will be updated accordingly based on the interaction process between the first user and the first digital assistant.
In some embodiments, information processing services specific to a user can be provided based on historical interaction information of the user with a digital assistant and/or a range of data specific to the user. In some embodiments, historical interaction information for a first user interacting with the first digital assistant in a plurality of interaction modes, respectively, may each be stored in association with the first user. Thus, in one of the plurality of interaction modes (either or a designated one), the first digital assistant may provide services to the first user based on historical interaction information stored in association with the first user.
The digital assistant may be invoked or awakened in an appropriate manner (e.g., a shortcut, button, or voice) to present an interactive window with the user. In some embodiments, the digital assistant may be included as a contact of the user, in a contact list of the current user in the application, or in an information stream of the chat application. By selecting the digital assistant, an interactive window with the digital assistant may be opened. The interactive window may include interface elements for information interaction, such as input boxes, message lists, message bubbles, and the like. In other embodiments, the digital assistant may be invoked by entry controls or menus provided in the page, or by entering preset instructions. In some embodiments described below, for ease of discussion, the user's interaction window with the digital assistant is primarily described as a conversation window.
Fig. 2A-2C illustrate schematic diagrams of an example client interface 201 of an interactive window, according to some embodiments of the present disclosure. The client interface 201 may be implemented at the terminal device 110. Examples of fig. 2A to 2C are described below with reference to fig. 1.
In some embodiments, terminal device 110 may present a session window (also referred to as a main session window) for user interaction with the digital assistant and a plug-in selection control in response to the user invoking the digital assistant through a preset operation (e.g., selecting the digital assistant from a contact list). With such a plug-in selection control, the user can select a plug-in to be used in the main session window.
In some embodiments, as shown in FIG. 2A, a digital assistant (shown as an "XX assistant" in the figure) and a user's main session window are presented in region 210 of interface 201. The digital assistant may be considered one of the user's contacts to be presented in the information stream of the instant messaging application. The instant messaging application is presented in region 230 of interface 201 and the information stream is presented in region 220 of interface 201. The user selects the digital assistant in the instant messaging application to enter the main session window. The main session window includes a plug-in selection control 222. The user may select a plug-in to be used in the session window by clicking on plug-in selection control 222.
In some embodiments, the terminal device 110 invokes the digital assistant in a first page (e.g., a page of a viewed document) in response to a user invoking the digital assistant through a preset operation (e.g., triggering a preset control, entering a preset instruction or voice wakeup, etc.), and presents a split conversation window (also referred to as a first interactive window) in which the user interacts with the digital assistant. Such a split session window includes a plug-in selection control. With such a plug-in selection control, a user can select and use a plug-in a session window.
In some embodiments, the interactive window is presented in association with the target content. For example, as shown in FIG. 2B, the user selects a document application in region 230 and views the target content in the document in region 220. During the viewing process, the user evokes the digital assistant, for example, by triggering a preset control or menu in 220, or also by voice. In response to such an operation, terminal device 110 presents a user's split session window with the digital assistant in area 210 of interface 201. Note that in fig. 2B, an area 210 including a divided conversation window and an area 220 including target content will be described by way of example in a side-by-side manner. In other embodiments, other arrangements may be provided as desired. For example, region 210 may be presented to the left and region 220 to the right in the client interface. For another example, the regions 210 and 220 may be arranged in a top-bottom partition, and so on. The session window includes a plug-in selection control 222. The user may select a plug-in to be used in the session window by clicking on plug-in selection control 222.
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 users to communicate with other users and digital assistants. For example, an application that can evoke a split conversation window can be a reference other than an instant messaging application, such as a document application, a form application, a calendar application, a meeting application, a project management application, a customer relationship management CRM application, and the like.
In some embodiments, terminal device 110 may trigger the digital assistant and present the interactive window in the area where the target content of the first page is displayed. Specifically, as shown in FIG. 2C, by selecting a portion of the content 214 of the target document in the area 220, a menu (not shown), including the entry control of the digital assistant, may be displayed by clicking the right button. By triggering the portal control, an interactive window as shown in FIG. 2C can be presented. In this example, the interactive windows are presented in a floating window style, also referred to as a floating window interactive window or a floating window session window. Of course, the floating window interactive window may be triggered in various other suitable ways besides right clicking, which is not limiting in embodiments of the present disclosure. An add-in selection control 222 may also be displayed in the floating window interactive window. The user may select a plug-in to be used in the session window by clicking on plug-in selection control 222.
It should be understood that the examples in the drawings are illustrated with documents as the target content. In other embodiments, the target content may also include any other suitable content that the platform may process, including but not limited to audio, video, images, mail, calendars, schedules, tasks, and the like. For these content, the digital assistant may be evoked and a session window presented.
Fig. 2A-2C illustrate examples of launching a session window of a user with a digital assistant. It should be appreciated that the session window may also be initiated in other ways. In addition, various specific information, icons, etc. given in fig. 2A to 2C are also merely examples, and are not intended to limit the scope of the embodiments of the present disclosure in any way.
Example interactions
In the examples described above, the plug-in may be utilized by the user in the interaction with the digital assistant. To this end, in embodiments of the present disclosure, the server 130 may obtain a topic (also referred to as a first topic) of a user (e.g., user 140) interacting with the digital assistant at a client (e.g., may be the terminal device 110 in which the 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 respective function. The one or more plug-ins herein may be default plug-ins (e.g., may be default plug-ins in the application 120, default plug-ins in the main session, etc.) or user-specified plug-ins, such embodiments being described in more detail below.
In some embodiments, the server 130 may obtain information about one or more plugins for the first topic, e.g., a plugin identification of the one or more plugins. In some embodiments, the server 130 may create or obtain information about the first topic, e.g., identifying information about the first topic. The identification information related to the first topic may include, for example, a topic identification of the first topic and an identification of a primary session between the user and the digital assistant. The server 130 may determine plug-in setting information for the first topic based at least on the acquired information. For example, the server 130 may determine the plug-in setting information based on the obtained plug-in identification 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 identifications corresponding to the one or more plug-ins and identification information related to the first topic.
In an embodiment of the present disclosure, the server 130 stores plug-in setting information of the first topic. The server 130, in turn, uses one or more plugins to perform the task requested by the user based on the plugin setup information during the user's interaction with the digital assistant on the first topic. The server 130 may, for example, provide the plug-in setting information to the machine learning model so that the machine learning model may perform tasks with one or more plug-ins indicated by the plug-in setting information.
Various example embodiments of the disclosure will be described in detail below with continued reference to the drawings. In order to more clearly understand the information processing scheme of the present disclosure, a plurality of examples of the flow chart of the information flow of the information processing are first described with reference to fig. 3 to 7.
In the examples shown in fig. 3-7, a client 301 may be running at a terminal device 110 for implementing an office suite 120. The server 306 may run at the server 130. By way of example only, the service end 306 may include, but is not limited to, a digital assistant service 302, a machine learning service 303, a messaging service 304, and an interface 305. Digital assistant service 302 may be used, for example, to provide services related to digital assistants. The machine learning service 303 may utilize any suitable machine learning model to provide various suitable services in the application 120, for example, the machine learning model may be utilized in generating answers to the user by a digital assistant. The message service 304 may be used, for example, to provide services related to messaging applications in the applications 120. The interface 305 may be, for example, an open application program interface, where an application provides its own capabilities or resources to other applications for invocation or retrieval in the form of an interface.
In particular, FIG. 3 illustrates an example information flow 300 for processing plug-in settings for a new topic. The client 301 may send (315) a request to the digital helper service 302 to create a first topic, also referred to as a topic creation request. For example, the client 301 may send a topic creation request to the digital helper service 302, for example, in response to detecting a trigger operation to an appropriate operation control (e.g., a topic creation control). It will be appreciated that client 301 may send a topic creation request to digital helper service 302 in response to any suitable operation, and the disclosure is not limited to a particular operation.
In response to receiving the topic creation request, the digital helper service 302 may create/obtain (320) a topic Identification (ID) for tagging the first topic. That is, if the topic creation request is for a first topic that the user interacts with the digital assistant, the topic is identified as a topic identification associated with the first topic. In some embodiments, if the first topic was not previously identified by the created topic, the digital assistant service 302 may request that the machine learning service 303 create a new topic identification for the first topic. For example, the digital assistant service 302 may communicate an empty topic ID to the machine learning service 303, and a new topic ID is generated and returned by the machine learning service 303. In some embodiments, the digital assistant service 302 may query for topic identification for the first topic if the first topic has been previously identified by the created topic.
The digital assistant service 302 may further obtain 325 from the machine learning service 303 a plug-in identification (i.e., a default plug-in ID) for the default plug-in for the first topic. The machine learning service 303 may have stored therein plug-in identifications of a plurality of plug-ins. 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 partial session between the user and the digital assistant, the digital assistant service 302 may determine the application that triggered the partial session and determine a default plug-in that was previously selected for the application. The digital assistant service 302 may then obtain the plug-in identification for the default plug-in. Illustratively, if the application is a chat-like application, digital assistant service 302 may previously determine the question-answer plug-in as the default plug-in for the application. The digital assistant service 302 may determine, for example, in response to receiving a topic creation request to create a first topic in a split session between a user and the digital assistant, a plug-in identification to obtain a question-and-answer plug-in.
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 main session between the user and the digital assistant, the digital assistant service 302 may determine a default plug-in for the main session. Illustratively, in the main session, the digital assistant service 302 may determine a specified plug-in (e.g., search plug-in) as the default plug-in for the main session. The digital assistant service 302 may determine, in response to receiving a topic creation request to create a first topic in a main session between a user and the digital assistant, to obtain a plug-in identification for a default plug-in for the main session.
After the digital assistant service 302 determines the default plug-in to be acquired, a request may be sent to the machine learning service 303 indicating to acquire the plug-in identification of the determined default plug-in. The machine learning service 303 may query the stored plug-in identifications of the plurality of plug-ins based on the request. If the plug-in identification of the default plug-in indicated by the request is queried, machine learning service 303 may send the plug-in identification to digital assistant service 302 to cause digital assistant service 302 to obtain the plug-in identification of the default plug-in.
The digital assistant service 302 may in turn determine plug-in setting information based on the obtained plug-in identification for the identification information related to the first topic (e.g., topic ID, main session ID, etc.) and the default plug-in. Digital assistant service 302 may store 330 plug-in setting information. The digital assistant service 302 may send (335) an indication to the client 301 that the plug-in settings were successful in response to the storage of the plug-in settings information. It should be noted that this indication of the success of the plug-in setting may be used only to inform the user whether the process was successful or not. Alternatively, if a problem arises with some of the processes described above, the digital assistant service 302 may send an additional indication to the client 301 to prompt the user to reinitiate the topic creation request.
In some embodiments, as shown in FIG. 3, digital assistant service 302 may send plug-in setting information to a user's corresponding plurality of clients 301 simultaneously via message service 304. In some cases, there may be a case where the user logs in through a plurality of terminal apparatuses 110 at the same time, that is, the user corresponds to a plurality of clients 301. In this case, it is desirable that the clients each be able to receive plug-in setting information so that the user has the same experience from different clients interacting with the digital assistant. In such an embodiment, by separately sending the indication of successful plug-in setting and the plug-in setting information, the data of the plurality of clients 301 corresponding to the user can be synchronized, that is, the other clients 301 that do not initiate the topic creation request can also perceive that the plug-in setting is successful.
In particular, as shown in FIG. 3, digital assistant service 302 may send 340 a system message to message service 304. This system message may for example comprise plug-in setting information. The message service 304 may send (345) plug-in setting information to the user's corresponding client 301 based on the received system message. The user-corresponding client 301 here refers to one or more clients 301 corresponding to the user, that is, includes the client 301 that initiated the topic creation request and other clients. The client 301 sends (350) a request for plug-in information to the interface 305 in response to receiving the plug-in setting information. This request may include one or more plug-in identifications corresponding to the one or more plug-ins for the first topic, such as a plug-in identification of a default plug-in. The interface 305 provides (355) the plug-in information of the one or more plug-ins to the client 301 in response to the request. Client 301 exposes (360) one or more plug-ins to the client in response to receiving the plug-in information. The plug-in information may include, for example, the name of the plug-in, the icon to be presented, etc.
As mentioned previously, the one or more plug-ins for the first topic may include, in addition to the default plug-in, a user selected plug-in. In some embodiments, client 301 may present a plug-in selection control, such as plug-in selection control 222 described above. In response to detecting a trigger operation to the plug-in selection control, the client 301 may present a set of selectable plug-ins to the user, such that the user selects a plug-in from the set. Specifically, the client 301 may send a request to the server 306 to obtain a set of selectable plug-ins in response to detecting a trigger operation to the plug-in selection control. The server 306 may obtain a set of selectable plug-ins based on the request. That is, in response to determining a trigger operation to a plug-in selection control exposed at the client, the server 306 may obtain a set of selectable plug-ins. The server 306, in turn, may provide the set of selectable plug-ins to the client 301 for the client 301 to render the set.
FIG. 4 illustrates an example information flow 400 for a client to obtain a set of selectable plug-ins. As shown in fig. 4, client 301 may send (405) a request for a plug-in list to interface 305. The plug-in list is an example implementation of a collection of selectable plug-ins. The server 306 may send 410 the list of plug-ins indicated by the request to the client 301 via the interface 305. Client 301 presents (415) the plug-in list to the user in response to receiving the plug-in list.
Further, the client 301 may determine the plug-in selected by the user based on the user's selection operation of the plug-ins in the selectable plug-in set (e.g., plug-in list). FIG. 5 illustrates an example information flow 500 for a topic selection plug-in.
As shown in fig. 5, the digital assistant service 302 in the server 306 may obtain (505) from the client 301 a plug-in selected by the user for the first topic. The server 306 may in turn determine at least a portion of one or more plug-ins based on the selected plug-ins. In some embodiments, the server 306 may verify whether the selected plug-in is valid and determine the plug-in that passed the verification as at least a portion of one or more plug-ins.
Specifically, the digital assistant service 302 in the server 306 may send the plug-in identification (i.e., plug-in ID) of the selected plug-in to the interface 305 and obtain a verification result of the plug-in identification of the selected plug-in from the interface 305. The verification result may indicate whether the corresponding plug-in identification of the selected plug-in is a valid identification. The interface 305 may, for example, query the received plug-in identification to determine if the plug-in identification has been registered and, if the plug-in identification is a registered plug-in identification, determine that the plug-in identification is authenticated. Accordingly, interface 305 may send a verification result to digital helper service 302 indicating that the plug-in identification is a valid identification. That is, the digital assistant service 302 may verify (510) whether the plug-in identification of the selected plug-in is valid through interaction with the interface 305.
In some embodiments, the digital assistant service 302 may also verify (515) that the number of plugins is reasonable through interactions with the machine learning service 303. Illustratively, the digital assistant service 302 may send a request to the machine learning service 303 indicating that a preset number of requirements are to be obtained. The machine learning service 303 may, for example, send a preset number of requirements to the digital assistant service 302 in response to the request. This preset number of requirements 303 may be determined, for example, based on the computing power of the server 306 or the computing power of the machine learning model. The digital assistant service 302 may compare the number of selected plug-ins with the obtained preset number requirement and determine that the number of plug-ins meets the preset number requirement, i.e., the number of plug-ins is reasonable, if the number of plug-ins is less than the preset number requirement.
The digital assistant service 302 may verify (520) the validity of the plug-in, for example, based on a verification result indicating whether the plug-in identification is a valid identification and a verification result indicating whether the number of plug-ins meets a preset number of requirements. It will be appreciated that the digital assistant service 302 determines that the plug-in selected by the user is valid only if the two verification results indicate that the plug-in identification is valid and the number of plug-ins meets the preset number requirement (i.e., both verifications pass), respectively.
In such an embodiment, proper use of the plug-in may be ensured by verifying the selected plug-in.
Continuing with information flow 500, digital assistant service 302 may then obtain (525) identification information for the selected plug-in. The digital assistant service 302 may in turn 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 to the client 302 that the plug-in setting was successful.
Similarly, for a plug-in selected by the user, the digital assistant service 302 may likewise send (540) a system message (e.g., update system message) to the message service 304. The message service 304 may send (545) plug-in setting information to the user's corresponding one or more clients 301 based on the received system message. In response to receiving the plug-in setting information, the client 301 may send (550) a request for plug-in information to the interface 305. This request may include one or more plug-in identifications corresponding to the one or more plug-ins for the first topic, such as a plug-in identification of the plug-in selected by the user. In response to the request, the interface 305 may provide (555) the client 301 with plug-in information for one or more plug-ins, such as the name of the plug-in, an icon, etc. In response to receiving the plug-in information, the client 301 may expose (560) one or more plug-ins to the client.
Examples of determining plug-ins for topics are described above. Example embodiments for performing a user-requested task using one or more plug-ins are described further below. In some embodiments, the server 306 may receive an interaction message of the user with the digital assistant regarding the first topic. The interactive message may be, for example, an interactive message of the user with the digital assistant in a session 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 may query the plugin setting information of the first topic according to the identification information related to the first topic, and obtain a reply message of the digital assistant to the interaction message based on one or more plugin identifications in the plugin setting information. This reply message may for example comprise the execution result of the task or an indication of the execution result. In some embodiments, this reply message may be some pre-set message. For example, if the reply template is pre-stored in the server 306, the server 306 may determine a reply message to the interactive message from the reply template in response to the interactive message from the user being the interactive message in the reply template. In some embodiments, the server 306 may also send the interaction message and the one or more plug-in identifications to the machine learning model and receive the reply message from the machine learning model. The reply message may include, for example, information of the plug-in used to generate the reply message, or a use state of the plug-in used.
Fig. 6 and 7 illustrate an example information flow 600 and an example information flow 700 for determining reply messages by means of a machine learning model. As shown in fig. 6, a message service 304 in a server 306 may receive an interactive message of a user with a digital assistant about a first topic from a client 301. Message service 304 may provide 605 the received interactive message to digital assistant service 302. The digital assistant service 302 may obtain (610) identification information related to the first topic based on the interaction message. The digital assistant service 302 may also query (615) for plug-in setting information related to the first topic based on the identifying information related to the first topic. The digital assistant service 302 may determine a plug-in identification (i.e., a plug-in ID) for one or more plug-ins for the first topic based on the queried plug-in setting information. The digital assistant service 302 may in turn provide 620 the interaction message and the one or more plug-in identifications to the machine learning service 303.
Thus, the machine learning service 303 can utilize these plug-ins to perform tasks indicated in the interactive messages. For example, the machine learning service 303 may provide the received interaction message and one or more plug-in identifications as model inputs to a machine learning model and obtain output results of the machine learning model. Further, the machine learning service 303 may generate a reply message to the interactive message based on the output of the machine learning model. The machine learning service 303 may provide 705 the reply message to the digital assistant service 302. Such reply messages may include information (e.g., the name or icon of the plug-in) used to generate the message, or the use status of the plug-in used. For example, the reply message may indicate which portion or portions of the execution result of the task utilized the plug-in, whether the plug-in has been used, and so on. The digital assistant service 302 may in turn provide 710 the reply message to the message service 304. In some embodiments, digital assistant service 302 may be understood as the relay of the reply message, with digital assistant service 302 providing the received reply message directly to message service 304. Alternatively, digital assistant service 302 may perform additional processing on reply messages. Embodiments of the disclosure are not limited in this respect. Thus, the server 306 may provide the reply message to the client 301 through the message service 304 so that the user may view the reply message from the digital assistant in the client 301.
In summary, according to embodiments of the present disclosure, plug-in setting information may be stored, and used to perform tasks during subsequent interactions. This may provide for the efficiency of the assistance of the digital assistant to the user.
Example procedure
Fig. 8 illustrates a flow chart of a process 800 for information processing according to some embodiments of the present disclosure. Process 800 may be implemented at server 130. For ease of discussion, the process 800 will be described with reference to the environment 100 of FIG. 1.
At block 810, the server 130 determines, for a first topic of user interaction with the digital assistant at the client, one or more plug-ins for the first topic, each plug-in configured to perform a respective function.
At 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 the one or more plug-ins and identification information related to the first topic.
In block 830, the server 130 performs the task requested by the user using one or more plugins based on the plugin setup information during the user's interaction with the digital assistant on the first topic.
In some embodiments, determining one or more plugins for the first topic includes receiving a request from the client to create the first topic in a partial session between the user and the digital assistant, determining an application that triggers the partial session, and determining a default plugin pre-selected for the application as at least a portion of the one or more plugins.
In some embodiments, determining one or more plugins for the first topic includes receiving a request from the client to create the first topic in a main session between the user and the digital assistant, and determining a default plugin for the main session as at least a portion of the one or more plugins.
In some embodiments, determining one or more plugins for the first topic includes obtaining, from the client, a plugin selected by the user for the first topic, and determining at least a portion of the one or more plugins based on the selected plugin.
In some embodiments, determining at least a portion of the one or more plugins based on the selected plugin includes verifying whether the selected plugin is valid, and determining the verified plugin as at least a portion of the one or more plugins.
In some embodiments, verifying whether the selected plug-ins are valid includes at least one of determining whether the corresponding plug-in identifications of the selected plug-ins are valid identifications, or determining whether the number of selected plug-ins meets a preset number requirement.
In some embodiments, process 800 further includes, in response to determining a trigger operation to a plug-in selection control presented at the client, obtaining a set of selectable plug-ins, and providing the set of selectable plug-ins to the client for the client to present the plug-ins in the set, and wherein the selected plug-ins belong to the set.
In some embodiments, the process 800 further includes sending an indication of the success of the plug-in settings to the client in response to the storing of the plug-in settings information.
In some embodiments, process 800 further includes sending plug-in setting information to the client via the messaging service, receiving a request for plug-in information from the client, the request including one or more plug-in identifications, and providing plug-in information for the one or more plug-ins to the client for the client to expose the one or more plug-ins in response to the request.
In some embodiments, performing the task requested by the user using one or more plugins includes receiving an interaction message from the user with the digital assistant regarding the first topic, the interaction message being from the user and indicating the task, querying plugin setting information for the first topic based on identification information related to the first topic, and obtaining a reply message to the interaction message by the digital assistant based on the one or more plugin identifications in the plugin setting information, the reply message including a result of the performance of the task.
In some embodiments, obtaining a reply message to the interactive message by the digital assistant includes sending the interactive message and the one or more plug-in identifications to the machine learning model and receiving the reply message from the machine learning model.
In some embodiments, the reply message includes at least one of information of a plug-in used to generate the reply message, or a use state of the plug-in used.
In some embodiments, the identifying information related to the first topic includes a topic identification of the first topic and an identification of a primary session between the user and the digital assistant.
Example apparatus and apparatus
Embodiments of the present disclosure also provide corresponding apparatus for implementing the above-described methods or processes. Fig. 9 shows a schematic block diagram of an apparatus 900 for information processing according to some embodiments of the present disclosure. The apparatus 900 may be implemented as or included in the terminal device 110 and/or the server 130. The various modules/components in apparatus 900 may be implemented in hardware, software, firmware, or any combination thereof.
As shown in fig. 9, the apparatus 900 includes a plug-in determination module 910 configured to determine, for a first topic of user interaction with the digital assistant at the client, one or more plug-ins for the first topic, each plug-in configured to perform a respective function. The apparatus 900 further includes an information storage module 920 configured to store plug-in setting information for the first topic, the plug-in setting information including one or more plug-in identifications corresponding to the one or more plug-ins and identification information related to the first topic. The apparatus 900 further includes a task execution module 930 configured to execute a task requested by the user using one or more plugins based on the plugin setting information during interaction of the user with the digital assistant about the first topic.
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 partial session between a user and a digital assistant, an application determination module configured to determine an application that triggers the partial session, and a first plug-in determination module configured to determine a default plug-in pre-selected for the application as at least a portion of one or more plug-ins.
In some embodiments, the plug-in determination module 910 includes a second request receiving module configured to receive a request from the client to create a first topic in a main session between the user and the digital assistant, and a second plug-in determination module configured to determine a default plug-in for the main session as at least a portion of the one or more plug-ins.
In some embodiments, the plug-in determination module 910 includes a plug-in acquisition module configured to acquire, from the client, a plug-in selected by the user for the first topic, and a third plug-in determination module configured to determine at least a portion of the one or more plug-ins based on the selected plug-ins.
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 portion of one or more plug-ins.
In some embodiments, the verification module includes at least one of an identification verification module configured to determine whether a corresponding card identification of the selected card is a valid identification, or a number verification module configured to determine whether the number of selected cards meets a preset number requirement.
In some embodiments, the apparatus 900 further includes a collection acquisition module configured to acquire a collection of selectable plug-ins in response to determining a trigger operation to a plug-in selection control presented at the client, and a collection provision module configured to provide the collection of selectable plug-ins to the client for the client to present the plug-ins in the collection, and wherein the selected plug-ins belong to the collection.
In some embodiments, the apparatus 900 further comprises an indication sending module configured to send an indication of the success of the plug-in settings to the client in response to the storing of the plug-in settings information.
In some embodiments, the apparatus 900 further includes an information sending module configured to send plug-in setting information to the client via the messaging 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 identifications, and an information providing module configured to provide plug-in information for the one or more plug-ins to the client for the client to expose the one or more plug-ins in response to the request.
In some embodiments, the task execution module 930 includes a message receiving module configured to receive an interaction message of a user with the digital assistant regarding a first topic, the interaction message being from the user and indicating a task, an information querying module configured to query plug-in setting information of the first topic according to identification information related to the first topic, and a message obtaining module configured to obtain a reply message of the digital assistant to the interaction message based on one or more plug-in identifications in the plug-in setting information, the reply message including an execution result of the task.
In some embodiments, the message acquisition module includes a sending module configured to send the interactive message and the one or more plug-in identifications to the machine learning model and a receiving module configured to receive the reply message from the machine learning model.
In some embodiments, the reply message includes at least one of information of a plug-in used to generate the reply message, or a use state of the plug-in used.
In some embodiments, the identifying information related to the first topic includes a topic identification of the first topic and an identification of a primary session between the user and the digital assistant.
The elements and/or modules included in apparatus 900 may be implemented in various manners, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and/or modules may be implemented using software and/or firmware, such as machine executable instructions stored on a storage medium. In addition to or in lieu of machine-executable instructions, some or all of the units and/or modules in apparatus 900 may be implemented at least in part by one or more hardware logic components. By way of 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 Standards (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
It will be appreciated that one or more steps of the above methods may be performed by suitable electronic devices or combinations of electronic devices. Such an electronic device or combination of electronic devices may include, for example, server 130, terminal device 110, and/or a combination of server 130 and terminal device 110 in fig. 1.
Fig. 10 illustrates a block diagram of an electronic device 1000 in which one or more embodiments of the disclosure may be implemented. It should be understood that the electronic device 1000 shown in fig. 10 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 1000 shown in fig. 10 may be used to implement the terminal device 110 of fig. 1.
As shown in fig. 10, the electronic device 1000 is in the form of a general-purpose electronic device. Components of electronic device 1000 may include, but are not limited to, one or more processors or processing units 1010, memory 1020, storage 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 executing various processes according to programs stored in the memory 1020. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capabilities of electronic device 1000.
Electronic device 1000 typically includes multiple computer storage media. Such a medium may be any available medium that is accessible by electronic device 1000 including, but not limited to, volatile and non-volatile media, removable and non-removable media. The memory 1020 may be volatile memory (e.g., registers, cache, random Access Memory (RAM)), non-volatile memory (e.g., read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory), or some combination thereof. Storage 1030 may be a removable or non-removable medium and may include machine-readable media such as flash drives, magnetic disks, or any other medium that may be used to store information and/or data and that may be accessed within electronic device 1000.
The electronic device 1000 may further include additional removable/non-removable, volatile/nonvolatile storage media. Although not shown in fig. 10, a magnetic disk drive for reading from or writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data medium interfaces. Memory 1020 may include a computer program product 1025 having one or more program modules configured to perform the various methods or acts of the various embodiments of the disclosure.
The communication unit 1040 enables communication with other electronic devices through a communication medium. Additionally, the functionality of the components of the electronic device 1000 may be implemented in a single computing cluster or in multiple computing machines capable of communicating over a communications connection. Thus, the electronic device 1000 may operate in a networked environment using logical connections to one or more other servers, a network Personal Computer (PC), or another network node.
The input device 1050 may be one or more input devices such as a mouse, keyboard, trackball, etc. The output device 1060 may be one or more output devices such as a display, speakers, printer, etc. The electronic device 1000 may also communicate with one or more external devices (not shown), such as storage devices, display devices, etc., with one or more devices that enable a user to interact with the electronic device 1000, or with any device (e.g., network card, modem, etc.) that enables the electronic device 1000 to communicate with one or more other electronic devices, as desired, via the communication unit 1040. Such communication may be performed via an input/output (I/O) interface (not shown).
According to an exemplary implementation of the present disclosure, a computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions are executed by a processor to implement the method described above is provided. According to an exemplary implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions that are executed by a processor to implement the method described above.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices, and computer program products implemented according to the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of implementations of the present disclosure has been provided for illustrative purposes, is not exhaustive, and is not limited to the implementations disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various implementations described. The terminology used herein was chosen in order to best explain the principles of each implementation, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand each implementation disclosed herein.

Claims (16)

1. An information processing method, comprising:
For a first topic of user interaction with a digital assistant at a client, determining one or more plugins for the first topic, each plugin configured to perform a respective function;
Storing plug-in setting information for the first topic, the plug-in setting information including one or more plug-in identifications corresponding to the one or more plug-ins and identification information related to the first topic, and
The one or more plugins are used to perform tasks requested by the user during interaction of the user with the digital assistant about the first topic based on the plugin setting information.
2. The method of claim 1, wherein determining one or more plugins for the first topic comprises:
Receiving a request from the client to create the first topic in a split session between the user and the digital assistant;
determining an application triggering the sub-session, and
A default plug-in pre-selected for the application is determined as at least a portion 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 a request from the client to create the first topic in a main session between the user and the digital assistant, and
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:
Obtaining from the client a plug-in selected by the user for the first topic, and
At least a portion of the one or more plugins is determined based on the selected plugins.
5. The method of claim 4, wherein determining at least a portion of the one or more plugins based on the selected plugins comprises:
verifying whether the selected plug-in is valid, and
Determining a plug-in that passes the verification as at least a portion of the one or more plug-ins.
6. The method of claim 5, wherein verifying whether the selected plug-in is valid comprises at least one of:
Determining whether the corresponding plug-in identification of the selected plug-in is a valid identification, or
It is determined whether the number of selected cards meets a preset number requirement.
7. The method of claim 4, further comprising:
responsive to determining a trigger operation to a plug-in selection control exposed at the client, obtaining a set of selectable plug-ins, and
Providing the client with a set of the selectable plug-ins for the client to present plug-ins in the set, and
Wherein the selected plug-ins belong to the set.
8. The method of claim 1, further comprising:
And responding to the storage of the plug-in setting information, and sending an indication of the success of plug-in setting to the client.
9. The method of 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 identifications, and
And in response to the request, providing the plug-in information of the one or more plug-ins to the client for the client to display the one or more plug-ins.
10. The method of claim 1, wherein performing the user-requested task using the one or more plug-ins comprises:
Receiving an interaction message of the user with the digital assistant regarding the first topic, the interaction message from the user and indicating the task;
Querying the plug-in setting information of the first topic according to the identification information related to the first topic, and
And based on the one or more plug-in identifications in the plug-in setting information, obtaining a reply message of the digital assistant to the interactive message, wherein the reply message comprises an execution result of the task.
11. The method of claim 10, wherein obtaining a reply message to the interactive message by the digital assistant comprises:
Transmitting the interaction message and the one or more plug-in identifications to a machine learning model, and
The reply message is received from the machine learning model.
12. The method of claim 10, wherein the reply message includes at least one of:
information of plug-ins used for generating the reply message, or
The use state of the plug-in used.
13. The method of claim 1, wherein the identifying information related to the first topic comprises:
topic identification of the first topic, and
An identification of a master session between the user and the digital assistant.
14. An apparatus for information processing, comprising:
A plug-in determination module configured to determine, for a first topic of user interaction with the digital assistant at the client, one or more plug-ins for the first topic, each plug-in configured to perform a respective 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 identifications corresponding to the one or more plug-ins and identification information related to the first topic, and
A task execution module configured to execute a task requested by the user using the one or more plugins based on the plugin setting information during interaction of the user with the digital assistant about the first topic.
15. An electronic device, comprising:
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, which when executed by the at least one processing unit, cause the electronic device to perform the method of any one of claims 1 to 13.
16. A computer readable storage medium having stored thereon a computer program executable by a processor to implement the method of any of claims 1 to 13.
CN202311387264.2A 2023-10-24 2023-10-24 Method, apparatus, device and storage medium for information processing Pending CN119883447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311387264.2A CN119883447A (en) 2023-10-24 2023-10-24 Method, apparatus, device and storage medium for information processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311387264.2A CN119883447A (en) 2023-10-24 2023-10-24 Method, apparatus, device and storage medium for information processing

Publications (1)

Publication Number Publication Date
CN119883447A true CN119883447A (en) 2025-04-25

Family

ID=95442717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311387264.2A Pending CN119883447A (en) 2023-10-24 2023-10-24 Method, apparatus, device and storage medium for information processing

Country Status (1)

Country Link
CN (1) CN119883447A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103797472A (en) * 2011-07-12 2014-05-14 谷歌公司 Systems and methods for accessing an interaction state between multiple devices
CN111147357A (en) * 2014-06-19 2020-05-12 微软技术许可有限责任公司 The use of digital assistants in communication
CN111654717A (en) * 2020-07-17 2020-09-11 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN112350924A (en) * 2020-11-06 2021-02-09 北京字跳网络技术有限公司 Communication method, communication device, terminal and storage medium
CN114005445A (en) * 2020-06-28 2022-02-01 广州小鹏汽车科技有限公司 Information processing method, server, and computer-readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103797472A (en) * 2011-07-12 2014-05-14 谷歌公司 Systems and methods for accessing an interaction state between multiple devices
CN111147357A (en) * 2014-06-19 2020-05-12 微软技术许可有限责任公司 The use of digital assistants in communication
CN114005445A (en) * 2020-06-28 2022-02-01 广州小鹏汽车科技有限公司 Information processing method, server, and computer-readable storage medium
CN111654717A (en) * 2020-07-17 2020-09-11 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN112350924A (en) * 2020-11-06 2021-02-09 北京字跳网络技术有限公司 Communication method, communication device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN118520954B (en) Method, apparatus, device and storage medium for information interaction
US20240385860A1 (en) Method, device, and storage medium for information interaction
CN119883447A (en) Method, apparatus, device and storage medium for information processing
CN118409748A (en) Method, apparatus, device and storage medium for workflow automation
CN119003023A (en) Method, apparatus, device and storage medium for task processing
CN119002980B (en) Method, device, equipment and storage medium for model configuration
CN119003056B (en) Method, apparatus, device and storage medium for information processing
CN119002744B (en) Method, device, equipment and storage medium for information interaction
US20250138708A1 (en) Conversation interaction
US20250165127A1 (en) Information interaction
US20250165264A1 (en) Method, apparatus, device and storage medium for information interaction
US20250168133A1 (en) Method, apparatus, device and storage medium for conversation interaction
US20250013478A1 (en) Method, apparatus, device, and storage medium for processing information
CN119002736B (en) Method, apparatus, device, and storage medium for application operation
CN119002734B (en) Information processing methods, apparatus, equipment and storage media
CN119011514B (en) Information processing methods, apparatus, equipment and storage media
CN119916980A (en) Method, device, equipment and storage medium for information interaction
US20250165272A1 (en) Method, apparatus, device and storage medium of information interaction
US20240402885A1 (en) Method, apparatus, device, and storage medium for information processing
US20240411526A1 (en) Method, apparatus, device for creating a plug-in and storage medium
CN119003108A (en) Method, apparatus, device and storage medium for task processing
CN119002743A (en) Method, apparatus, device and storage medium for information interaction
CN119002874A (en) Method, apparatus, device and storage medium for creating plug-in
CN119002740A (en) Method, apparatus, device and storage medium for information interaction
CN119002997A (en) Instruction management method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination