Methods, apparatus, devices, media, and program products for interaction

By leveraging the association between services and providers within the intelligent assistant, matching components are selected from functional components, thus solving the problem of prolonged response time for the intelligent assistant in a multi-component environment and achieving efficient and accurate service information acquisition.

CN123114336APending Publication Date: 2026-11-17BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611340797.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-31
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

When dealing with multiple functional components, existing intelligent assistants struggle to efficiently and accurately identify and load functional components that match user input with limited resources, leading to increased context data volume and prolonged response latency.

Method used

By receiving input and leveraging the association between services and providers, functional components that match the input are selected from the first and second categories of functional components, reducing the processing of irrelevant content and lowering context resource consumption and processing latency.

Benefits of technology

It improves the accuracy and efficiency of selecting functional components and obtaining service information, and reduces the amount of irrelevant content to be processed and the response latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123114336A_ABST
    Figure CN123114336A_ABST
Patent Text Reader

Abstract

Methods, apparatuses, devices, media, and program products for interaction are provided. The method includes: receiving a first input; and presenting a first component, the first component displaying first service information corresponding to a first service and from an intelligent system, the first service information being obtained based on the first input and a first functional component, the first functional component belonging to a first class of functional components or a second class of functional components for providing the first service, the first class of functional components being associated with at least one provider corresponding to the first service, and the second class of functional components being associated with the first provider included in the at least one provider.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The examples in this article generally relate to the field of computers, and in particular to methods, apparatuses, devices, computer-readable storage media, and computer program products for interaction. Background Technology

[0002] With the development of Large Language Model (LLM) technology, intelligent assistants are widely used in daily life service scenarios. Users can use natural language to make service requests to intelligent assistants, such as ordering food, hailing a ride, booking flights, sending packages, refueling / charging, and shopping at supermarkets. The intelligent assistant can determine the corresponding service content based on the user's request, interact with functional components or service platforms that provide relevant service capabilities, and present service information or service processing results to the user through text, images, cards, and other forms. Summary of the Invention

[0003] In a first aspect of this document, a method for interaction is provided. The method includes: receiving a first input; and presenting a first component that displays first service information corresponding to the first service, the first service information originating from the intelligent system, the first service information being obtained based on the first input and a first functional component belonging to either a first type of functional component or a second type of functional component, the first type of functional component and the second type of functional component being used to provide the first service, the first type of functional component being associated with at least one provider corresponding to the first service, and the second type of functional component being associated with the first provider, the at least one provider including the first provider.

[0004] In a second aspect of this document, an apparatus for interaction is provided. The apparatus includes: a receiving module configured to receive a first input; and a presentation module configured to present a first component displaying first service information corresponding to the first service, the first service information originating from the intelligent system, the first service information being obtained based on the first input and a first functional component, the first functional component belonging to a first type of functional component or a second type of functional component, the first type of functional component and the second type of functional component being used to provide the first service, the first type of functional component being associated with at least one provider corresponding to the first service, and the second type of functional component being associated with the first provider, the at least one provider including the first provider.

[0005] In a third aspect of this document, an electronic device is provided. The electronic device includes: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, which, when executed by the at least one processor, cause the electronic device to perform the method according to the first aspect.

[0006] In a fourth aspect of this document, a computer-readable storage medium is provided. This computer-readable storage medium stores a computer program that can be executed by a processor to implement the method according to the first aspect.

[0007] In a fifth aspect of this document, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method according to the first aspect.

[0008] In this way, functional components that match the first input can be accurately selected based on the relationship between the service and the provider, reducing the processing of irrelevant content, thereby reducing context resource consumption and processing latency, and improving the efficiency of service information acquisition.

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

[0010] The above and other features, advantages, and aspects of the various examples herein will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. In the accompanying drawings, the same or similar reference numerals denote the same or similar elements, wherein: Figure 1 The diagram shows example environments for some scenarios; Figure 2 Example interfaces for some scenarios are shown; Figure 3 Flowcharts of example processes for interaction are shown in some scenarios; Figure 4 Flowcharts illustrating the interactive process in several scenarios are shown; Figure 5 Block diagrams of devices for interaction in several scenarios are shown; and Figure 6 A block diagram of an electronic device capable of implementing multiple illustrative scenarios is shown. Detailed Implementation

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

[0012] It should be noted that the headings of any section / subsection provided herein are not restrictive. Various examples are described throughout this document, and examples of any type may be included under any section / subsection. Furthermore, examples described in any section / subsection may be combined in any way with any other examples described in the same section / subsection and / or different sections / subsections.

[0013] In the description of the examples in this document, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "an example" or "the example" should be understood as "at least one example". The term "some examples" should be understood as "at least some examples". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0014] The examples in this document may involve user data, data acquisition, and / or use. All of these aspects comply with relevant laws, regulations, and rules. In the examples, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, when implementing each example, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained through appropriate means, in accordance with relevant laws and regulations. The specific methods of notification and / or authorization can vary depending on the actual situation and application scenario; the scope of the solution is not limited in this regard.

[0015] The solutions and examples described in this article, if involving the processing of personal information, will all be processed under the premise of a legal basis (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be processed within the scope stipulated or agreed upon. A user's refusal to process personal information beyond what is necessary for basic functions will not affect the user's use of basic functions.

[0016] In one context, an intelligent system is an information processing system. This intelligent system uses at least one or more models to process one or more inputs. The intelligent system may include the one or more models as components, or it may use models external to the system for processing. Those skilled in the art will recognize that there are various implementations of intelligent systems in the industry, including but not limited to agents, artificial intelligence (AI) assistants, AI workers, copilot systems, and chatbots. The inputs include data in one or more modalities. The modal data includes, but is not limited to, text, audio, images, video, application-specific data, or scientific computing data. The models include, but are not limited to, one or more combinations of the following: large-scale parametric models, deep learning models, neural network models, machine learning models, statistical models, rule-based models, or other models capable of processing the inputs. The specific implementation of the models can employ various existing or improved models. The intelligent system may involve one or more of the following operations: receiving single-round or multi-round input; recognizing and / or understanding the input; generating answers, decisions, or processing results using one or more models; invoking one or more external tools, interfaces, knowledge bases, or other systems to obtain information or perform operations; processing in a self-decision-making or human-machine collaborative manner, or transferring tasks to human or other systems for processing. Self-decision-making refers to execution without human intervention. Human-machine collaboration refers to partial human participation or confirmation. The above explanation of "intelligent system" is illustrative, and each description is an example, not necessarily necessary, and does not constitute an exhaustive list.

[0017] With the development of large language model technology, intelligent assistants are being widely used in daily life service scenarios. Users can use natural language to make service requests to intelligent assistants, such as ordering food, hailing a taxi, booking flights, sending packages, refueling or charging, or shopping at supermarkets. Intelligent assistants can obtain the processing methods for the corresponding services through functional components, call backend tools provided by tool protocol interfaces, and present service information or processing results to users in the form of text, images, or cards.

[0018] In some related technologies, the names and descriptions of the various functional components available to the intelligent assistant are pre-configured in system prompts. The model selects the functional component based on the name and description in the system prompts, then loads the complete content of the selected functional component using a reading tool, and executes the tool call according to that content. This method is suitable for application environments with a small number of functional components.

[0019] As the number of services and functional components integrated into intelligent assistants increases, centralizing the configuration of information for each component within system prompts increases the amount of context data and configuration and maintenance costs. Furthermore, it makes it difficult to accurately match different service categories, service providers, and complex service requests. Loading all component content at once also increases the processing of irrelevant information and response latency. Therefore, how to efficiently and accurately identify and load functional components that match user input with limited resources becomes a crucial issue.

[0020] A scheme for interaction is proposed. According to the scheme, an electronic device receives a first input. The electronic device can acquire a first type of functional component and a second type of functional component. The first type of functional component is associated with at least one provider corresponding to a first service, and the second type of functional component is associated with the first provider, which includes the first provider. The electronic device can select a first functional component from the first and second types of functional components, and use an intelligent system to acquire first service information based on the first functional component and the first input. The first service information corresponds to the first service. Subsequently, the electronic device can present the first component, displaying the first service information through the first component.

[0021] The above scheme leverages the association between services and providers to select a first functional component that matches the first input from both first and second categories of functional components, thereby reducing matching discrepancies between functional components from different services or providers. Furthermore, by using the selected first functional component to acquire and present the first service information, the processing load of irrelevant functional component content can be reduced, context resource consumption and processing latency can be decreased, and the accuracy and efficiency of functional component selection and service information acquisition can be improved.

[0022] The following describes various examples of this scheme in further detail with reference to the accompanying drawings.

[0023] Figure 1 A schematic diagram of example environment 100 is shown. (e.g.) Figure 1 As shown, the example environment 100 may include an electronic device 110, an application 120, a server 130, a user 140, and an interface 150.

[0024] In example environment 100, electronic device 110 can run interactive application 120. User 140 can interact with application 120 through electronic device 110 and input natural language information and view service information in interface 150 provided by application 120.

[0025] Electronic device 110 can present interface 150 through application 120. Interface 150 may include a session area for receiving first input and a result area for presenting text responses and first components.

[0026] Electronic device 110 can communicate with server 130. Application 120 can send a first input to server 130, which can perform input parsing, functional component retrieval and selection, execution rule reading and tool invocation, and return the first service information to electronic device 110. Electronic device 110 then presents the first component through application 120.

[0027] Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, virtual reality (VR) / augmented reality (AR) devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some cases, electronic device 110 may also support any type of user-facing interface (such as "wearable" circuitry).

[0028] Server 130 can be a single physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for interactive applications 120 in electronic devices 110.

[0029] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection can include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections. In some cases, server 130 and electronic device 110 can exchange signaling information through their communication connection.

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

[0031] The following description of the example will continue with reference to the accompanying drawings.

[0032] Figure 2 Example interfaces 200 for interaction are shown in some scenarios. Interface 200 can be, for example, provided by... Figure 1 The electronic device 110 shown is provided. It should be understood that the page shown in the accompanying drawings is merely an example, and various page designs may exist in practice. The various graphic elements on the page may have different arrangements and different visual representations, one or more of the elements may be omitted or replaced, and one or more other elements may also be present. This document is not limited in this respect.

[0033] like Figure 2 As shown, the electronic device 110 can present a first interface 200, which can be used to interact with an intelligent system. For example, the first interface 200 can be a dialogue interface between a user and an intelligent system. The electronic device 110 can receive a first input 202 on the first interface 200. The first input 202 can include input that can trigger the intelligent system to perform information processing, and can include natural language information provided by the user through the first interface 200 and the dialogue context related to the natural language information. In some cases, the first input 202 can include text, voice, images, video, etc. This document does not limit this.

[0034] In one scenario, electronic device 110 receives a first input 202 on a first interface 200 and sends the first input 202 to server 130 via application 120. Server 130 determines, based on system configuration information, that the first input 202 corresponds to a service processing that can be supported by functional components. System configuration information is used to configure the processing behavior of the intelligent system and may include service tags, retrieval trigger conditions, and access methods for retrieval indexes, without necessarily including the execution rules of all functional components.

[0035] A functional component is a machine-readable unit used to describe one or more service capabilities and their execution methods to an intelligent system. It may include identification, descriptive information, attribute information, and execution rules, and may be associated with one or more external tools. After determining that a functional component is needed, server 130 executes, for example... Figure 3The process involves candidate retrieval, functional component selection, execution rule reading, and tool invocation. From the first type of functional components and the second type of functional components, a first functional component is selected. This first functional component and the first input 202 are used to obtain first service information. Afterwards, the server can feed back the first service information to the electronic device 110. The electronic device 110 can display a text response 204 and the first component 206 on the first interface 200. The text response 204 can display prompts such as "continue entering service information." In some scenarios, the first type of functional component is oriented towards a service and associated with one or more providers of that service, while the second type of functional component is associated with a specific provider. Each functional component can have its own execution rules and participate in candidate recall based on service scope and provider scope, without the need to set fixed call dependencies between functional components.

[0036] If the tool call is successful and valid service information is obtained, server 130 may return text data and structured data used to construct the first component 206. If the tool call is unsuccessful or valid service information is not obtained, electronic device 110 may not display the invalid first component 206 and may display a prompt message for continuing processing in text response 204. The first service information can be displayed through the first component 206.

[0037] In some cases, if the first input 202 indicates multiple services, the server 130 can select functional components for each service and perform processing, and then feed back multiple processing results to the electronic device 110. The electronic device 110 can present multiple first components on the first interface 200, and display multiple processing results (i.e., multiple first service information) through multiple first components, so that each service result remains associated with the corresponding input target.

[0038] In some cases, in response to receiving a service operation for control 208, electronic device 110 can send operation information related to the first service to server 130. Server 130 can perform subsequent processing according to the functional component corresponding to the first component 206 and return the processing result to electronic device 110 to update the result status in the first interface 200.

[0039] It should be noted that although the above example uses electronic device 110 and server 130 to complete the process, the example described herein can be implemented on electronic device 110. The operations described with respect to electronic device 110 can be performed by a related application 120 running on electronic device 110. The interface described with respect to electronic device 110 can be provided by application 120. For example, electronic device 110 presents the corresponding interface by running application 120. Furthermore, some operations described with respect to electronic device 110 may require the assistance of server 130 to complete.

[0040] Server 130 can maintain a search index. Each index entry may include an identifier for the functional component, descriptive information indicating the services the component is applicable to, and optional tags. After generating search terms based on the first input, the intelligent system can perform semantic matching on the descriptive information and obtain candidate functional components from a tag-defined search pool.

[0041] In some scenarios, retrieval and routing processing are performed solely by server 130, while electronic device 110 receives the first input and presents the first component. In other scenarios, electronic device 110 can locally store the retrieval index and execution rules, and independently perform input parsing, candidate selection, and service information generation. In still other scenarios, electronic device 110 can first extract service or provider information, and then server 130 can complete candidate retrieval, execution rule reading, and tool invocation, thereby forming an edge-cloud joint execution path.

[0042] Through the above solution, users can submit natural language information and obtain text response 204 and first component 206 on the same first interface 200, thereby reducing the number of times multiple interfaces need to be loaded to obtain first service information. Server 130 can return the structured data obtained through functional component selection and tool invocation to electronic device 110, so that electronic device 110 does not need to request multiple service detail pages separately, thereby reducing the number of page requests, client rendering times, and cloud-end data transmission, and reducing client cache usage and server query load.

[0043] Figure 3 A flowchart of an example process 300 for interaction is shown, depending on several scenarios. Process 300 can be implemented at electronic device 110, or it can be performed by electronic device 110 in cooperation with server 130. See below for reference. Figure 3 Describe the process 300.

[0044] like Figure 3As shown, in box 302, electronic device 110 can receive a first input. Electronic device 110 can obtain configuration information of the intelligent system (e.g., system prompts). The configuration information may include pre-configured tags, which can indicate services associated with the intelligent system or functional components, such as service type, service area, application version, or device capabilities. Electronic device 110 can determine whether the first input falls within the service range supported by the functional component based on the tags in the configuration information. When the first input matches a tag, electronic device 110 triggers a search for the functional component.

[0045] In box 304, electronic device 110 obtains first information and at least one search term based on the first input. The first information may indicate at least one of a service or provider. In some cases, electronic device 110 may perform intent recognition on the first input to obtain intent recognition results (i.e., the first information). The intent recognition results may include information related to the service or provider, such as service-related keywords, provider-related keywords, etc.

[0046] Search terms can refer to search criteria generated based on the first input. Electronic device 110 can use search terms to recall candidate functional components from a search index. In some cases, search terms may include at least one of a first search term and a second search term. The first search term indicates a service, for example, including keywords related to the service. The second search term indicates a provider, for example, including keywords related to the provider. Electronic device 110 can extract service actions and service objects from natural language information and remove sentence components irrelevant to the search.

[0047] A provider is an object capable of providing services, service information, or service processing capabilities. Providers can include service systems, service interfaces, or service entities. Type I functional components are oriented towards a service and can be associated with one or more providers of that service. For example, Type I functional components can be service category-level functional components. Type II functional components are associated with a specific provider and are used to provide services corresponding to that provider. For example, Type II functional components can be provider-level functional components.

[0048] In some cases, where the first input explicitly indicates the first provider, the electronic device 110 may retain information about the first provider in the second search term. For example, the electronic device 110 may convert "Please obtain the first service from the first provider" into a search condition that simultaneously indicates the first provider and the first service.

[0049] In some cases, where the first input does not indicate a provider but does indicate a service, the electronic device 110 can generate a first search term indicating the type of service. For example, the electronic device 110 can convert "find nearby target services" into search criteria indicating the target service and the search action.

[0050] For service status queries, electronic device 110 can retain provider, service recipient, and status information in the search terms. For example, electronic device 110 can convert "query the service status of the first provider" into a search condition that simultaneously indicates the first provider, the first service, and the status query. Electronic device 110 can also expand the search terms by combining the service recipient or service stage in the current dialogue context. This reduces the impact of information omitted in the initial input on candidate recall.

[0051] In some cases, the first input may also indicate multiple services. Such a first input can be called a multi-target input. For multi-target inputs, the intelligent system can break down the first input into multiple sets of search terms, each set of search terms may include one or more search terms, and each set of search terms may be associated with a service. For example, when the first input is "book the first service and arrange the second service," the electronic device 110 can generate two search criteria (i.e., two sets of search terms) indicating the first and second services respectively. The electronic device 110 can retrieve these two search criteria in parallel or sequentially.

[0052] In box 306, electronic device 110 selects a first type of functional component and a second type of functional component from multiple functional components based on at least one search term. In some cases, electronic device 110 can obtain a search index and retrieve one or more index terms from the search index using the search term. For example, electronic device 110 can retrieve at least one first index term and at least one second index term from the search index, where the first index term indicates a first type of functional component and the second index term indicates a second type of functional component. The search index indicates functional components associated with the intelligent system and may include one or more index terms, which may include identifiers, descriptions, and attribute information of the functional components, etc. Electronic device 110 can recall candidate functional components related to the first input from the search index based on the matching relationship between the search term and the functional component description information. The intelligent system performs the above-mentioned candidate pre-selection before finally determining the first functional component. Therefore, the intelligent system can obtain a smaller set of candidates related to the first input without reading the execution rules of all functional components.

[0053] Electronic device 110 can limit the scope of functional components to be searched based on tags, and then perform semantic search within the limited scope. Tags can indicate service area, application version, device capabilities, or service type. Semantic search determines candidate functional components based on the semantic matching relationship between search terms and functional component description information. Electronic device 110 can compare the degree of semantic matching between search terms and the description information of each functional component to obtain candidates for first-class and second-class functional components.

[0054] In box 308, electronic device 110 determines a selection strategy based on the first information and the relationship between the service provider and the provider. Electronic device 110 can select a first type of functional component, a second type of functional component, or multiple functional components according to the selection strategy.

[0055] In cases where the first information indicates a first service, and the first service is associated only with a first provider, electronic device 110 can select a second type of functional component as the first functional component along the branch shown in block 312. This second type of functional component is associated with the first provider. Even if the first input does not indicate a provider, electronic device 110 can still select the corresponding second type of functional component as long as the search index indicates that the first service is supported only by the first provider.

[0056] In the case where the first information indicates a first provider, the electronic device 110 may also select a second type of functional component associated with the first provider as the first functional component, following the branch shown in block 312. This process is applicable when there are multiple providers for the first service, but the first input has already indicated a target provider.

[0057] In the case where the first information indicates a first service, the first service is associated with multiple providers, and the first input does not indicate a specific provider, the electronic device 110 can select a first type of functional component along the branch shown in block 310. The first type of functional component can invoke aggregated service capabilities associated with multiple providers to obtain multiple candidate results corresponding to the first service.

[0058] In the case where the first input is a multi-target input, the electronic device 110 can select multiple functional components along the branches shown in box 314. Each functional component can correspond to a service target. The electronic device 110 can filter the candidate set corresponding to each service target and select two or more functional components to process the corresponding service target.

[0059] Electronic device 110 can dynamically determine the number of candidate functional components based on the number of service targets indicated by the first input. For a single service target, the retrieval tool may return, for example, three candidate functional components for the intelligent system to select one target functional component. For two or three service targets, the retrieval tool may return, for example, six or nine candidate functional components respectively for the intelligent system to select two or three target functional components. The above numbers are merely examples. Electronic device 110 can also determine the number of candidate functional components and the number of target functional components based on retrieval confidence and available processing resources.

[0060] In box 316, electronic device 110 acquires second information. The second information is used to identify the first functional component. The second information may include a first identifier and first descriptive information. The first identifier is used to identify a candidate functional component or a selected functional component. The first descriptive information is used to describe the service, provider, or invocation scenario to which the functional component is applicable. The intelligent system can select the first functional component from the candidate functional components based on the second information obtained from the first-level retrieval.

[0061] In box 318, electronic device 110 obtains third information based on the second information. The third information is used to indicate the execution rules of the first functional component. The execution rules are machine-readable content used to guide the intelligent system to call the first functional component or related external tools. The execution rules may include tool identifiers, input parameter structures, calling order, input identifier source constraints, result parsing methods, and abnormal state handling methods.

[0062] The intelligent system can first select one or more target functional components based on the identifiers and descriptions of the candidate functional components, and then read the execution rules of the target functional components. This process forms a progressive reading mechanism. Progressive reading first obtains the identifiers and descriptions of the candidate functional components, and then reads the complete execution rules of the selected functional components.

[0063] In one scenario, the second-level read can obtain the complete execution rules of the first functional component. Process 300 may then no longer need to read external supporting resources, thereby controlling the number of read levels and processing time. In other scenarios, progressive reading can also include more levels. For example, after reading the execution rules of the first functional component, the intelligent system can also read supporting resources in scripts, knowledge bases, or document libraries based on resource references in the execution rules.

[0064] In box 320, electronic device 110 utilizes an intelligent system to invoke a first functional component based on third information and a first input. The intelligent system can construct tool input according to execution rules and invoke an external tool associated with the first functional component. The intelligent system can then convert the results returned by the external tool into first service information.

[0065] In box 324, electronic device 110 obtains first service information and presents first component 206 in first interface 200. The first input, the tags used to trigger and limit the search in system configuration information, and the first functional component obtained through candidate pre-selection and final selection jointly determine the content and presentation format of the first service information.

[0066] Figure 4 A flowchart of an example process 400 for interaction under certain circumstances is shown. Process 400 can be implemented at electronic device 110. See below for reference. Figure 4 To describe process 400.

[0067] like Figure 4 As shown, in box 410, electronic device 110 receives the first input. Its interactive presentation can be found above. Figure 2 The example described.

[0068] In box 420, electronic device 110 presents a first component, which displays first service information. This first service information corresponds to a first service and originates from an intelligent system. The first service information is obtained based on a first input and a first functional component. The first functional component belongs to either a first type of functional component or a second type of functional component. Both types of functional components are used to provide the first service. The first type of functional component is associated with at least one provider, which corresponds to the first service. The second type of functional component is associated with the first provider, and the at least one provider includes the first provider. The processing and interactive presentation can be found above. Figure 3 and Figure 2 The example described.

[0069] In some scenarios, the electronic device 110 can acquire first information based on a first input, the first information indicating at least one of a service or provider; and select a first functional component from a first type of functional component and a second type of functional component based on the first information. Specific interactive presentations can be found above. Figure 2 and Figure 3 The example described.

[0070] In some cases, electronic device 110 can instruct the first provider based on the first information to select the second type of functional component as the first functional component. For specific interaction details, please refer to the above. Figure 2 and Figure 3 The example described.

[0071] In some cases, electronic device 110 may instruct a first service based on first information, and at least one provider may be limited to the first provider, selecting a second type of functional component as the first functional component. Specific interactive presentation can be found above. Figure 2 and Figure 3 The example described.

[0072] In some cases, electronic device 110 may instruct a first service based on first information, and at least one provider may include multiple providers, selecting a first type of functional component as the first functional component. Specific interactive presentation can be found above. Figure 2 and Figure 3 The example described.

[0073] In some scenarios, electronic device 110 can acquire at least one tag, which indicates at least one service, including a first service, and the tag is associated with an intelligent system; based on a match between first information and a first tag, a first functional component is selected from a first type of functional component and a second type of functional component. Specific interaction presentations can be found above. Figure 2 and Figure 3 The example described.

[0074] In some scenarios, the electronic device 110 can acquire at least one search term based on the first input; and select a first type of functional component and a second type of functional component from multiple functional components based on the at least one search term. For specific interactive presentation, please refer to the above. Figure 2 and Figure 3 The example described.

[0075] In some scenarios, electronic device 110 can obtain at least one of a first search term and a second search term based on the first input, where the first search term indicates a service and the second search term indicates a provider. For specific interactive presentation, please refer to the above. Figure 2 and Figure 3 The example described.

[0076] In some scenarios, electronic device 110 can acquire second information, which identifies the first functional component; based on the second information, acquire third information, which indicates the execution rules of the first functional component; and utilize an intelligent system to invoke the first functional component based on the third information and the first input to obtain first service information. Specific interaction presentations can be found above. Figure 2 and Figure 3 The example described.

[0077] In some cases, the second information may include a first identifier and first descriptive information, whereby the first identifier identifies the first functional component and the first descriptive information describes the first functional component. For a specific presentation, please refer to the above text. Figure 2 and Figure 3 The example described.

[0078] In some cases, the electronic device 110 may present a first interface for interacting with the intelligent system; and receive first input on the first interface, the first input including natural language information. Specific interaction presentations can be found above. Figure 2 The example described.

[0079] Through the above solution, users can submit service requests in natural language on the first interface 200, and the electronic device 110 will present the first component 206 corresponding to the first service, thereby solving the difficulty of accurately selecting similar components and slowing down the interaction response when the functional component set is expanded. This interaction method allows the electronic device 110 to first select candidate and first functional components from the search index based on the first input, then read the execution rules of the selected functional components and return the first service information, thereby reducing irrelevant descriptions and execution rules entering the intelligent system input context. This data flow can reduce the amount of context data, cache usage and model processing time, reduce invalid tool calls, and improve the accuracy of functional component selection and first service information generation.

[0080] A corresponding apparatus for implementing the above methods or processes is also provided. Figure 5 Block diagrams of an interactive device 500 are shown for several scenarios. Device 500 can be implemented as or included in electronic device 110 or server 130. The various modules / components in device 500 can be implemented by hardware, software, firmware, or any combination thereof.

[0081] like Figure 5 As shown, the device 500 includes a receiving module 510 configured to receive a first input; and a presentation module 520 configured to present a first component, the first component displaying first service information, the first service information corresponding to a first service, the first service information originating from an intelligent system, the first service information being obtained based on the first input and a first functional component, the first functional component belonging to a first type of functional component or a second type of functional component, the first type of functional component and the second type of functional component being used to provide the first service, the first type of functional component being associated with at least one provider, the at least one provider corresponding to the first service, the second type of functional component being associated with the first provider, the at least one provider including the first provider.

[0082] In some cases, the presentation module 520 may also be configured to acquire first information based on a first input, wherein the first information indicates at least one of a service or provider; and to select a first functional component from a first type of functional component and a second type of functional component based on the first information.

[0083] In some cases, the presentation module 520 may also be configured to instruct the first provider based on the first information to select the second type of functional component as the first functional component.

[0084] In some cases, the presentation module 520 may also be configured to indicate a first service based on first information, and at least one provider may include only the first provider, selecting a second type of functional component as the first functional component.

[0085] In some cases, the presentation module 520 may also be configured to indicate a first service based on first information, and at least one provider includes multiple providers, selecting a first type of functional component as the first functional component.

[0086] In some cases, the presentation module 520 may also be configured to acquire at least one tag, the at least one tag indicating at least one service, the at least one service including a first service, and the at least one tag being associated with an intelligent system; and select a first functional component from a first type of functional component and a second type of functional component based on a match between first information and a first tag.

[0087] In some cases, the presentation module 520 may also be configured to acquire at least one search term based on the first input; and to select a first type of functional component and a second type of functional component from a plurality of functional components based on the at least one search term.

[0088] In some cases, the presentation module 520 may also be configured to obtain at least one of a first search term and a second search term, a first search term indicating service, and a second search term indicating provider, based on a first input.

[0089] In some cases, the presentation module 520 may also be configured to acquire second information, which identifies the first functional component; acquire third information based on the second information, which indicates the execution rules of the first functional component; and invoke the first functional component using the intelligent system based on the third information and the first input to obtain first service information.

[0090] In some cases, the second information may include a first identifier and a first description, wherein the first identifier is used to identify the first functional component and the first description is used to describe the first functional component.

[0091] In some cases, the receiving module 510 may also be configured to present a first interface for interacting with the intelligent system; and to receive a first input on the first interface, the first input including natural language information.

[0092] The modules included in device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some cases, one or more 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 in device 500 can be implemented at least partially 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 standard parts (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and so on.

[0093] Figure 6 A block diagram of an electronic device 600 in which one or more examples may be implemented is shown. It should be understood that... Figure 6 The electronic device 600 shown is merely exemplary and should not be construed as limiting the functionality and scope of the examples described herein. Figure 6 The electronic device 600 shown can be used to implement the electronic device 110, server 130 or device 500 discussed above.

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

[0095] Electronic device 600 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 620 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof). Storage device 630 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media capable of storing information and / or data and accessible within electronic device 600.

[0096] Electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 6 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 620 may include computer program product 625 having one or more program modules configured to perform various methods or actions of various examples.

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

[0098] Input device 650 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 660 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 600 can also communicate with one or more external devices (not shown) via communication unit 640 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 600, or with any device that enables electronic device 600 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via an input / output (I / O) interface (not shown).

[0099] A computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. A computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.

[0100] The flowcharts and / or block diagrams of the methods, apparatus, devices, and computer program products referred to herein describe various aspects. It should be understood that each block of the flowcharts and / or block diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0101] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

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

[0103] The flowcharts and block diagrams in the accompanying figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products under various scenarios. In this respect, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the figures. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

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

Claims

1. A method for interaction, comprising: Receive the first input; as well as The system presents a first component that displays first service information. The first service information corresponds to a first service and originates from an intelligent system. The first service information is obtained based on the first input and a first functional component. The first functional component belongs to either a first type of functional component or a second type of functional component. The first type of functional component and the second type of functional component are used to provide the first service. The first type of functional component is associated with at least one provider, which corresponds to the first service. The second type of functional component is associated with the first provider, which includes the first provider.

2. The method of claim 1, wherein the first functional component is obtained by: Based on the first input, first information is obtained, wherein the first information indicates at least one of the service providers; and Based on the first information, the first functional component is selected from the first type of functional components and the second type of functional components.

3. The method according to claim 2, wherein selecting the first functional component from the first type of functional components and the second type of functional components based on the first information comprises: Based on the first information, the first provider is instructed to select the second type of functional component as the first functional component.

4. The method according to claim 2, wherein selecting the first functional component from the first type of functional components and the second type of functional components based on the first information comprises: Based on the first information, the first service is indicated, and the at least one provider includes only the first provider, and the second type of functional component is selected as the first functional component.

5. The method according to claim 2, wherein selecting the first functional component from the first type of functional components and the second type of functional components based on the first information comprises: Based on the first information, the first service is instructed, and the at least one provider includes multiple providers, and the first type of functional component is selected as the first functional component.

6. The method of claim 2, wherein selecting the first functional component from the first type of functional components and the second type of functional components based on the first information comprises: Obtain at least one tag, the at least one tag indicating at least one service, the at least one tag being associated with the intelligent system, the at least one tag including a first tag, the at least one service including the first service, and the first tag indicating the first service; as well as Based on the first information matching the first tag, the first functional component is selected from the first type of functional components and the second type of functional components.

7. The method according to claim 1, further comprising: Based on the first input, at least one search term is obtained; as well as Based on the at least one search term, select the first type of functional component and the second type of functional component from multiple functional components.

8. The method according to claim 7, wherein obtaining at least one search term comprises: Based on the first input, at least one of a first search term and a second search term is obtained, wherein the first search term indicates a service and the second search term indicates a provider.

9. The method according to claim 1, wherein the first service information is obtained by: Obtain second information, which is used to identify the first functional component; Based on the second information, third information is obtained, the third information indicating the execution rules of the first functional component; and The intelligent system uses the third information and the first input to invoke the first functional component to obtain the first service information.

10. The method of claim 9, wherein the second information includes a first identifier and first description information, the first identifier being used to identify the first functional component, and the first description information being used to describe the first functional component.

11. The method of claim 1, wherein receiving the first input comprises: A first interface is presented, which is used to interact with the intelligent system; as well as The first input is received on the first interface, and the first input includes natural language information.

12. A device for interaction, comprising: The receiving module is configured to receive the first input; as well as The presentation module is configured to present a first component, which displays first service information corresponding to a first service. The first service information comes from an intelligent system and is obtained based on the first input and a first functional component. The first functional component belongs to a first type of functional component or a second type of functional component. The first type of functional component and the second type of functional component are used to provide the first service. The first type of functional component is associated with at least one provider, which corresponds to the first service. The second type of functional component is associated with the first provider, which includes the first provider.

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

14. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 11.

15. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 11.