Information acquisition method and apparatus, electronic device, storage medium, and program product
Patent Information
- Application Number
- PCT/CN2026/079234
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-20
- Filing Date
- 2026-02-13
- Publication Date
- 2026-08-27
Smart Images

Figure CN2026079234_27082026_PF_FP_ABST
Abstract
Description
Information acquisition methods, devices, electronic equipment, storage media and program products
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510191278.X, filed on February 20, 2025, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application belongs to the field of electronic technology, specifically relating to an information acquisition method, device, electronic device, storage medium, and program product. Background Technology
[0004] In today's rapidly developing digital age, electronic devices have become indispensable tools in people's daily work and life. Various applications with different functions can be installed on electronic devices, allowing people to complete different tasks.
[0005] In related technologies, taking a user searching for travel guides as an example, the user needs to open a travel-related application on their electronic device, then search for information related to the destination within that application, and finally filter the most suitable travel guide from a large amount of information.
[0006] However, the above methods are cumbersome to operate, resulting in low information retrieval efficiency. Summary of the Invention
[0007] The purpose of this application is to provide an information acquisition method, apparatus, electronic device, storage medium, and program product that can simplify the information acquisition process and improve the efficiency of information acquisition.
[0008] In a first aspect, embodiments of this application provide an information acquisition method, the method comprising: receiving a first input to a first interface, the first input being used to input first information; and responding to the first input by displaying a first reply interface, the first reply interface including second information, the second information being information replied by a first component based on the first information, the first component being a program-callable component corresponding to the first interface, and the first reply interface being the interface of the first component.
[0009] Secondly, embodiments of this application provide an information acquisition device, which includes a receiving module and a display module. The receiving module is used to receive a first input to a first interface, the first input being used to input first information. The display module is used to display a first response interface in response to the first input, the first response interface including second information, the second information being information replied to by a first component based on the first information, the first component being a program-callable component corresponding to the first interface, and the first response interface being the interface of the first component.
[0010] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions that can run on the processor, and when the programs or instructions are executed by the processor, they implement the steps of the information acquisition method as described in the first aspect.
[0011] Fourthly, embodiments of this application provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the information acquisition method as described in the first aspect.
[0012] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the steps of the information acquisition method as described in the first aspect.
[0013] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the information acquisition method as described in the first aspect.
[0014] In this embodiment, a first input is received onto a first interface, which is used to input first information. In response to the first input, a first reply interface is displayed. The first reply interface includes second information, which is information replied by a first component based on the first information. The first component is a program-callable component corresponding to the first interface, and the first reply interface is the interface of the first component. Thus, whenever a user needs to obtain a reply to certain information, they only need to input that information on the first interface to trigger a component related to that information to reply, achieving rapid information retrieval without the need to spend time searching for a component or application that can reply to the information and then performing input within the found component or application. Therefore, this solution simplifies the user's information retrieval process and improves the efficiency of information retrieval. Attached Figure Description
[0015] Figure 1 is a flowchart illustrating one of the information acquisition methods provided in an embodiment of this application;
[0016] Figure 2 is one of the schematic diagrams of displaying user-inputted information in the interface of an application provided by an embodiment of this application;
[0017] Figure 3 is a second flowchart illustrating the information acquisition method provided in an embodiment of this application;
[0018] Figure 4 is a flowchart of the information acquisition method provided in the embodiments of this application (the third one).
[0019] Figure 5 is one of the schematic diagrams of the response interface of the component displayed in the application interface provided by the embodiments of this application;
[0020] Figure 6 is a fourth flowchart illustrating the information acquisition method provided in the embodiments of this application;
[0021] Figure 7 is a schematic diagram of one of the response interfaces of the components provided in the embodiments of this application;
[0022] Figure 8 is a fifth flowchart illustrating the information acquisition method provided in the embodiments of this application;
[0023] Figure 9 is a second schematic diagram of the response interface of the component displayed in the application interface provided in the embodiment of this application;
[0024] Figure 10 is a third schematic diagram of the response interface of the component displayed in the application interface provided in the embodiment of this application;
[0025] Figure 11 is a flowchart of the information acquisition method provided in the embodiments of this application, number six;
[0026] Figure 12 is a flowchart of the information acquisition method provided in the embodiments of this application, number seven.
[0027] Figure 13 is a fourth schematic diagram of the response interface of the component displayed in the application interface provided in the embodiment of this application;
[0028] Figure 14 is a fifth schematic diagram of the response interface of the component displayed in the application interface provided in the embodiment of this application;
[0029] Figure 15 is a sixth schematic diagram of the response interface of the component displayed in the application interface provided in the embodiment of this application;
[0030] Figure 16 is a second schematic diagram of the response interface of the component provided in the embodiment of this application;
[0031] Figure 17 is a flowchart of the information acquisition method provided in the embodiments of this application (the eighth one).
[0032] Figure 18 is a second schematic diagram of displaying user-inputted information in the application interface according to an embodiment of this application;
[0033] Figure 19 is a schematic diagram of the structure of the information acquisition device provided in an embodiment of this application;
[0034] Figure 20 is a second schematic diagram of the structure of the information acquisition device provided in the embodiment of this application;
[0035] Figure 21 is a schematic diagram of the structure of the electronic device provided in an embodiment of this application;
[0036] Figure 22 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application. Detailed Implementation
[0037] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0038] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0039] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean:
[0040] The terms “a”, “b”, “c”, “a and b”, “a and c”, “b and c”, and “a, b and c” are used, where a, b, and c can be a single term or multiple terms. Similarly, “at least two (items)” means two or more terms, and its meaning is similar to “at least one (item)”.
[0041] The information acquisition method, apparatus, electronic device, storage medium, and program product provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0042] The information acquisition method provided in this application can be applied to scenarios where users need to obtain information. Through this application, an electronic device can automatically invoke a component capable of responding to the information input by the user, respond based on that information, and display the response information to the user.
[0043] In this embodiment, the aforementioned components can be artificial intelligence (AI) assistants, also known as generative dialogue assistants or intelligent agents. Alternatively, the aforementioned components can be intelligent components, interactive components, or intelligent interactive components.
[0044] In this application embodiment, the above-mentioned components may include, but are not limited to, any of the following: map component, painting component, writing component, wallpaper creation component, tourism component, medical component, travel component, performance ticketing component, payment component, etc.
[0045] The following examples illustrate the information acquisition method provided in this application.
[0046] Scenario 1: User needs to obtain address
[0047] Users can first open the "AI Assistant" application installed on their mobile phones, and then enter question information in the interactive interface of "AI Assistant", such as "Where is the headquarters of AA Company?", to trigger the mobile phone to call the intelligent interactive components (such as map components) related to the question information to display the headquarters address of AA Company.
[0048] Scenario 2: User needs to obtain drawing
[0049] Users can first open the "AI Assistant" application installed on their phones, and then enter question information in the "AI Assistant" interactive interface, such as "Help me draw a landscape painting of spring", to trigger the phone to call the intelligent interactive component (such as the painting component) related to the question information to draw a landscape painting of spring and display it.
[0050] Scenario 3: Writing articles based on user needs
[0051] Users can first open the "AI Assistant" app installed on their phone, and then enter question information in the "AI Assistant" interactive interface, such as "Help me write an article about ideals", to trigger the phone to call intelligent interactive components (such as writing components) related to the question information to write an article about ideals and display it.
[0052] Scenario 4: User-defined wallpaper creation
[0053] Users can first open the "AI Assistant" app installed on their phone, and then enter a question in the "AI Assistant" interface, such as "Help me create a cartoon-style kitten image as wallpaper". This will trigger the phone to call up intelligent interactive components (such as wallpaper creation components) related to the question information to draw and display a cartoon-style kitten image.
[0054] Scenario 5: Obtaining travel guides based on user needs
[0055] Users can first open the "AI Assistant" application installed on their mobile phones. Then, users can enter question information in the interactive interface of the "AI Assistant", such as "two-day and one-night travel guide for City A". This will trigger the mobile phone to call the intelligent interactive components (such as travel components) related to the question information to generate and display a detailed two-day and one-night travel guide for City A.
[0056] Scenario 6: User needs to schedule a physical examination
[0057] Users can first open the "AI Assistant" app installed on their phones, and then enter question information in the "AI Assistant" interactive interface, such as "make an appointment for a physical examination at a hospital within 3 kilometers". This will trigger the phone to call the intelligent interactive components (such as medical components) related to the question information to find hospitals within 3 kilometers and display the physical examination items and appointment times of these hospitals.
[0058] Scenario 7: User travel needs
[0059] Users can first open the "AI Assistant" application installed on their phones, and then enter question information in the "AI Assistant" interactive interface, such as "flight tickets to City B this Friday". This will trigger the phone to call the intelligent interactive components (such as travel components) related to the question information to find and display flight tickets from this city to City B this Friday.
[0060] Scenario 8: User needs to purchase performance tickets
[0061] Users can first open the "AI Assistant" app installed on their phones, and then enter question information in the "AI Assistant" interactive interface, such as "tickets for shows at nearby venues next Saturday". This will trigger the phone to call intelligent interactive components (such as a performance ticketing component) related to the question information to find and display all tickets for shows at nearby venues next Saturday.
[0062] It should be noted that scenarios 1 to 8 above are merely exemplary examples of some scenarios that may be applied to the embodiments of this application. In actual implementation, the embodiments of this application can also be applied to more possible scenarios, and the embodiments of this application are not limited here.
[0063] Based on the scenarios described in the embodiments of this application, the information acquisition method provided in this application can receive a first input to a first interface, which is used to input first information; in response to the first input, a first reply interface is displayed, which includes second information, which is information replied by a first component based on the first information. The first component is a program-callable component corresponding to the first interface, and the first reply interface is the interface of the first component. Thus, whenever a user needs to obtain a reply to certain information, they only need to input the information on the first interface to trigger a component related to that information to reply, achieving rapid information acquisition without the need to spend time searching for a component or application that can reply to the information and then performing input within the found component or application. Therefore, this solution simplifies the user's information acquisition process and improves the efficiency of information acquisition.
[0064] The execution subject of the information acquisition method provided in this application embodiment can be an information acquisition device. Exemplarily, the information acquisition device can be an electronic device, or a functional component or functional entity within the electronic device. The following will use an electronic device as an example to illustrate the information acquisition method provided in this application embodiment.
[0065] Figure 1 is a flowchart illustrating the information acquisition method provided in an embodiment of this application. As shown in Figure 1, the information acquisition method provided in an embodiment of this application may include the following steps 101 and 102.
[0066] Step 101: The electronic device receives the first input to the first interface.
[0067] Optionally, in this embodiment of the application, the first interface can be the interface of the program corresponding to the first interface. Specifically, the first interface can be the interactive interface of the program corresponding to the first interface, that is, the first interface can be the first interactive interface.
[0068] In some embodiments, the program corresponding to the first interface described above may be a smart application installed on an electronic device, a generative dialogue assistant in an application installed on an electronic device, or a mini-program in an application installed on an electronic device.
[0069] For example, the aforementioned intelligent application can be an "AI assistant" application or a generative dialogue assistant application, and the first interface can be the AI interaction interface of the intelligent application.
[0070] The aforementioned "AI assistant" application can be an intelligent software program that utilizes artificial intelligence technology to understand and analyze user instructions and execute specific tasks. It is typically installed in smart electronic devices, allowing users to interact with the "AI assistant" application to receive more intelligent services.
[0071] It should be noted that the program corresponding to the first interface mentioned above can also be called an intelligent agent. An intelligent agent is a system or entity that can perceive its environment, make decisions, and execute actions to achieve a specific goal. Intelligent agents can be software, hardware, or a system. Currently, intelligent agents are widely used in mobile applications, autonomous driving, smart homes, and industrial manufacturing.
[0072] Optionally, in this embodiment of the application, the first input can be any form of input from the user to the first interface via the touch area of the electronic device. For example, the touch area can be the screen of the electronic device.
[0073] Optionally, in this embodiment, the first input includes, but is not limited to: the user using a touch device such as a finger or stylus to input data onto the first interface through the touch area of the electronic device, or voice input, or a specific gesture input by the user, or other feasible input. Specifically, it can be determined according to actual usage needs, and this embodiment does not impose any limitations.
[0074] For example, the above-mentioned touch input can be single-click input, double-click input, or any number of clicks, or it can be long-press input, short-press input, swipe input, or drag input.
[0075] For example, the specific gesture mentioned above can be any one of the following: a single click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, or a double tap gesture.
[0076] In this embodiment of the application, the first input can be used to input first information. For example, the first information can be the question information that the user expects to receive a response to.
[0077] Optionally, in this embodiment of the application, taking the first interface as the interface of a smart application as an example, the user opens the smart application installed on the electronic device, the electronic device displays the interactive interface of the smart application (i.e. the first interface mentioned above), and the user inputs the first information through voice or text on the first interface.
[0078] For example, taking a mobile phone as an electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, as shown in Figure 2, the mobile phone displays the interactive interface 20 of the first application (i.e., the first interface mentioned above). The interactive interface 20 includes a text input box 21 and a voice input control 22. The user can input first information 23 on the interactive interface 20 of the first application by clicking the text input box 21, or the user can input first information 23 by voice on the interactive interface 20 of the first application by clicking the voice input control 22, such as "Where is the headquarters of AA Company?", to trigger the mobile phone to display the reply information based on the first information.
[0079] Step 102: The electronic device responds to the first input and displays the first response interface.
[0080] In this embodiment of the application, the first reply interface may include second information, which may be information replied by the first component based on the first information. The first component may be a program-callable component corresponding to the first interface, and the first reply interface may be the interface of the first component.
[0081] It should be noted that the components that the program corresponding to the first interface can call can also be called intelligent agents. In the embodiments of this application, the program corresponding to the first interface can be called the main intelligent agent, and the components that the program corresponding to the first interface can call can be called sub-intelligent agents.
[0082] Optionally, in this embodiment of the application, the program callable components corresponding to the first interface can be understood as components integrated in the program corresponding to the first interface.
[0083] Optionally, in this embodiment of the application, the program corresponding to the first interface can integrate multiple components, each of which can provide corresponding services to the user, and the first component can be the component related to the first information among the multiple components.
[0084] It is understandable that components related to the first information can provide services related to the first information to the user. In other words, the services provided by components related to the first information are related to the user's intention in inputting the first information.
[0085] For example, suppose the user's first input is "Where is the headquarters of AA Company?", the component related to this first input could be a component that can provide map or navigation services, such as a map component. Suppose the user's first input is "Book tickets for a certain performance", the component related to this first input could be a component that can provide performance ticket booking services, such as a performance ticket purchasing component. Suppose the user's first input is "Plan a travel itinerary in Beijing for the May Day holiday", the component related to this first input could be a component that can provide travel itinerary planning, such as a travel component.
[0086] Optionally, in this embodiment of the application, the electronic device responds to the first input, searches for a component related to the first information (i.e., the first component mentioned above) from the program-callable components corresponding to the first interface, and triggers the found component to reply based on the first information, generates second information, and displays a first reply interface including the second information.
[0087] Optionally, in this embodiment of the application, the specific implementation of the electronic device displaying the first reply interface may include: the electronic device may display the first reply interface including the second information in the first interface; or, the electronic device may completely cover the first reply interface including the second information on the first interface; or, the electronic device may cancel the display of the first interface and display the first reply interface including the second information.
[0088] The information acquisition method provided in this application allows users to input information on a first interface of a smart application, triggering interaction between the user and a first component related to the input information. The first component then displays its response based on the input information. This eliminates the need for users to search through numerous applications or components to find one that can respond to the information before inputting it, simplifying the information acquisition process and improving efficiency. In other words, the electronic device automatically identifies the user's intent based on the input information and schedules components related to that intent to respond. This shortens the path for the user to access components related to their intent, improving the efficiency of information acquisition and enhancing the user experience of using the components accessible by the smart application. Furthermore, this increases the exposure and user base of these components, leading to more user feedback and supporting the iteration and optimization of these components.
[0089] Optionally, in this embodiment of the application, referring to FIG1 and FIG3, after the above step 101, the information acquisition method provided by this embodiment of the application may further include the following step 100, and the "displaying the first reply interface" in the above step 102 may be implemented by the following step 1021.
[0090] Step 100: The electronic device responds to the first input and determines the user intent information corresponding to the first input based on the first information and user preference information.
[0091] Optionally, in this embodiment, the aforementioned user preference information may include, but is not limited to, user-set habit preferences, user's historical usage records, and user basic information. For example, user-set habit preferences may include smart interaction components that the user habitually or prefers to use, user habits or preferred styles, user dialogue preferences, etc. User basic information may include the user's gender, occupation, hobbies, etc.
[0092] Optionally, in this embodiment of the application, the electronic device can input the first information and user preference information into the intent recognition model, and use the intent recognition model to identify the user's intent to obtain the user intent information corresponding to the first input.
[0093] Optionally, in this embodiment of the application, the intent recognition model described above can be trained on a deep learning model using first information, user preference information, and user intent information. The first information and user preference information serve as training samples, and the user intent information serves as training labels.
[0094] For example, assuming the first information is "AA Company headquarters address", the user intent information corresponding to the first input could be navigation. Assuming the first information is "Beijing travel planning for the National Day holiday", the user intent information corresponding to the first input could be finding travel guides. Assuming the first information is "draw a puppy running on the grass", the user intent information corresponding to the first input could be generating a drawing.
[0095] Step 1021: The electronic device displays the first response interface based on the correlation between the user intent information and the service information corresponding to multiple components.
[0096] Optionally, in this embodiment, the aforementioned components are components that can be called by the program corresponding to the first interface, or they can be understood as components integrated into the program corresponding to the first interface. Each component can provide a corresponding service to the user. The service information corresponding to the aforementioned components can be used to indicate the services provided by the components to the user.
[0097] For example, taking the above-mentioned component as an intelligent interaction component, assuming the service information corresponding to the intelligent interaction component is tourism, then the intelligent interaction component can provide users with tourism-related services, including travel route planning, attraction recommendations, restaurant recommendations, etc. Assuming the service information corresponding to the intelligent interaction component is a map, then the intelligent interaction component can provide users with map or navigation-related services, including finding the address of a place, navigating to a place, etc.
[0098] Optionally, in this embodiment of the application, the electronic device can determine the correlation between user intent information and service information corresponding to each of the multiple components, then select a first component from the multiple components based on the multiple correlations, and then trigger the first component to reply based on the first information to obtain the second information, and display a first reply interface including the second information.
[0099] It should be noted that the specific implementation of the electronic device displaying the first reply interface including the second information can be found in the relevant description of the above embodiments, and will not be repeated here to avoid repetition.
[0100] Optionally, in this embodiment of the application, the specific implementation of the electronic device selecting a first component from multiple components may include: the electronic device selecting a component with a correlation greater than a preset threshold from multiple components, and then selecting the component with the highest correlation from the components with a correlation greater than the preset threshold as the first component.
[0101] It should be noted that the aforementioned preset threshold can be set by the default setting of the electronic device or set according to actual needs, and this application embodiment does not limit this. For example, the preset threshold can be 95% or 90%.
[0102] Optionally, in this embodiment of the application, the specific implementation of the electronic device selecting the first component from multiple components may include: the electronic device may select components with a relevance greater than a preset threshold from multiple components, and then score the components with a relevance greater than the preset threshold based on information such as relevance, frequency of use of the component, effect of use of the component, and whether the component has advertising promotion, and determine the component with the highest score as the first component.
[0103] The effectiveness of the aforementioned components can be based on user feedback or a rating generated based on user feedback.
[0104] Optionally, in this embodiment of the application, the specific implementation of the electronic device selecting the first component from multiple components may include: the electronic device may sort the multiple components in descending order of relevance, determine the top N components as components related to the first information, and then determine the first component as the first component.
[0105] Optionally, in this embodiment of the application, the specific implementation of the electronic device selecting the first component from multiple components may include: the electronic device may score each component based on information such as relevance, frequency of use of the component, effect of use of the component, and whether the component has advertising promotion, sort the multiple components in descending order of scores, then determine the top N components as components related to the first information, and then determine the first component as the first component.
[0106] It should be noted that N is an integer greater than 0, which can be set by default by the electronic device or set according to actual needs. This application embodiment does not limit this. For example, N can be 5 or 3.
[0107] For example, an electronic device can use a correlation algorithm to calculate the correlation between user intent information and the service information corresponding to each component. Alternatively, the electronic device can input user intent information into a trained deep learning model, which will then output the correlation between the service information corresponding to each component and the user intent information.
[0108] In this way, electronic devices can identify user intent information based on the first information input by the user, and combine it with user preference information, component usage frequency, component usage effect, whether the component has advertising or promotional information, etc., to select the first component that matches the user intent to reply based on the first information input by the user, and display the reply information. This can improve the accuracy of the reply information, make the conversation meet the user's needs, and improve the user experience.
[0109] Optionally, in this embodiment of the application, referring to FIG1 and FIG4, the "displaying the first reply interface" in step 102 above can be specifically implemented through the following step 1022.
[0110] Step 1022: The electronic device displays the first response interface on the first screen.
[0111] Optionally, in this embodiment of the application, the electronic device may display a first response interface in the form of answering questions on a first interface.
[0112] For example, in a scenario where a user needs to obtain a certain address, taking a mobile phone as the electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, as shown in Figure 5, the mobile phone displays the interactive interface 20 of the first application (i.e., the aforementioned first interface). This interactive interface 20 displays first information 23, such as "Where is the headquarters of AA Company?", triggering the mobile phone to search for the AA Map component related to the first information 23 from the components that the first application can call. The interactive interface 20 of the first application then displays the reply interface 30 of the AA Map component, which displays second information 24 based on the first information 23, such as "AA Company Headquarters" and "AA Industrial Park". Furthermore, the electronic device displays "To answer your question more accurately, I recommend the expert in this field, 'AA Map,' to serve you," informing the user that other intelligent interactive components are interacting with them.
[0113] For example, in a scenario where a user needs to obtain a travel guide for a certain place, taking a mobile phone as the electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, the mobile phone displays the interactive interface of the first application, which displays first information, such as "Three-day, two-night travel guide for City A", to trigger the mobile phone to search for travel components related to the first information from the components that can be called by the first application, and display the first reply interface of the travel component on the interactive interface of the first application. The first reply interface displays the second information of the travel component based on the first information, namely the specific travel route and time plan for the three-day, two-night travel in City A.
[0114] For example, in a scenario where a user requests a painting, taking a mobile phone as the electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, the mobile phone displays the interactive interface of the first application, which displays the first information, such as "paint a landscape ink painting," to trigger the mobile phone to search for a painting component related to the first information from the components that the first application can call, and displays the first response interface of the painting component on the interactive interface of the first application, which displays the landscape ink painting generated by the painting component.
[0115] Optionally, in this embodiment of the application, referring to FIG4 and FIG6, after the above step 1022, the information acquisition method provided by this embodiment of the application may further include the following steps 103 and 104.
[0116] Step 103: The electronic device receives a second input to the first control.
[0117] In this embodiment of the application, the first reply interface may further include a first control, which is used to update the display mode of the first reply interface.
[0118] Optionally, in this embodiment of the application, the second input can be any form of input from the user to the first control via the touch area of the electronic device.
[0119] Optionally, in this embodiment, the second input includes, but is not limited to: a user using a finger or stylus to input the first control via the touch area of an electronic device, or a specific gesture input by the user via the touch area of an electronic device, or other feasible inputs by the user via the touch area of an electronic device. Specifically, it can be determined according to actual usage needs, and this embodiment does not impose any limitations.
[0120] For example, taking the above component as a sub-agent, assuming that the user is satisfied with the second information replied by the first sub-agent and wants to continue the conversation with the first sub-agent, the user can make a second input to the first control in the first interface.
[0121] Step 104: In response to the second input, the electronic device cancels the display of the first interface and displays the first reply interface.
[0122] In this embodiment, the first response interface displayed by the electronic device in response to the second input may include first information and second information. That is, in response to the second input, the electronic device cancels the display of the first interface and updates the display of the first response interface, and the updated first response interface includes the first information and the second information.
[0123] In this embodiment, in step 1022 above, the electronic device displays a first reply interface on a first interface. The first reply interface includes second information, and the first information is displayed on the first interface. In this step, in response to the second input, the electronic device cancels the display of the first interface and displays the first reply interface in full screen. The content displayed on the full-screen first reply interface changes, and the full-screen first reply interface includes the first information and the second information.
[0124] For example, in a scenario where a user needs to obtain a certain address, taking a mobile phone as the electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, Figure 5 shows the interactive interface 20 of the first application. The interactive interface 20 of the first application displays the reply interface 30 of the AA map component (i.e., the aforementioned first reply interface), and the reply interface 30 of the AA map component displays a first control 25. When the user clicks the first control 25 on the reply interface 30 of the AA map component, as shown in Figure 7, the electronic device responds to the user's click input, cancels the display of the interactive interface 20 of the first application, and displays the reply interface 30 of the AA map component. The reply interface 30 of the AA map component may include first information 23 and second information 24, which is the reply from the AA map component based on the first information 23.
[0125] Thus, when a user acknowledges the second message from the first component based on the first message and wishes to continue the conversation with the first component, the user can trigger the electronic device to update and display the first response interface of the first component through the second input. This allows the user to interact directly with the first component without having to search for it among multiple components, reducing the user's operational steps.
[0126] It should be noted that the above explanation of the display of the first reply interface on the first interface is based on the example of the electronic device displaying the first reply interface. In some embodiments of this application, the electronic device can directly cancel the display of the first interface and display the first reply interface including the first information and the second information.
[0127] For example, taking a mobile phone as the electronic device, the program corresponding to the first interface as the first application, and the first interface as the interactive interface of the first application, in a scenario where the user needs to obtain a certain address, as shown in Figure 2, the mobile phone displays the interactive interface 20 of the first application. After the user inputs the first information 23 on the interactive interface 20, as shown in Figure 7, the mobile phone responds to the input and displays the reply interface 30 of the AA map component (i.e., the first component mentioned above) (i.e., the first reply interface mentioned above). The reply interface 30 of the AA map component may include the first information 23 and the second information 24 replied by the AA map component based on the first information 23.
[0128] Optionally, in this embodiment of the application, referring to FIG4 and FIG8, after the above step 101, the information acquisition method provided in this embodiment of the application may further include the following step 105.
[0129] Step 105: In response to the first input, the electronic device displays the identifier of at least one component on the first interface.
[0130] In this embodiment of the application, the above-mentioned at least one component can be a component related to the first information, and the above-mentioned first component can be the component with the greatest relevance to the first information among the at least one components.
[0131] Optionally, in this embodiment, the first input is used to input first information. The electronic device can determine the user intent information corresponding to the first input based on the first information and user preference information, and then determine the correlation between the service information of each component and the user intent information among multiple components to obtain multiple correlations. Then, the electronic device selects the component with a correlation greater than a preset threshold as the component related to the first information, or the electronic device sorts the multiple components in descending order of correlation and determines the top N components as the components related to the first information, or the electronic device scores each component based on correlation, component usage frequency, component usage effect, whether the component has advertising promotion, etc., sorts the multiple components in descending order of score, and then determines the top N components as the components related to the first information.
[0132] Optionally, in this embodiment, the at least one component refers to all components related to the first information determined by the electronic device using the above method, or the at least one component refers to M components among those related to the first information determined by the electronic device using the above method. That is, the electronic device can display the identifiers of all determined components on the first interface, or display the identifiers of M components among all determined components on the first interface. Here, M can be an integer greater than 0, and M can be less than or equal to N. For example, M can be 1, 2, 3, 5, etc.
[0133] For example, when an electronic device displays the identifiers of M components out of all identified components on a first interface, it can sort all identified components in descending order of relevance or score, and then display the identifiers of the top M components.
[0134] Optionally, in this embodiment of the application, if the number of at least one component is one, then the identifier of the at least one component displayed on the first interface is the identifier of the first component.
[0135] For example, taking a mobile phone as the electronic device and the first interface as the interactive interface of the first application, as shown in Figure 5, the interactive interface 20 of the first application displays the identifier 26 of the AA map component.
[0136] Optionally, in this embodiment of the application, if the number of at least one component is multiple, then the identifier of at least one component displayed on the first interface is the identifier of multiple components.
[0137] For example, in a scenario where a user needs to obtain a travel guide for a certain place, taking a mobile phone as an electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, and displaying the identifiers of all determined components in the first interface. As shown in Figure 9, the first information 23 is "Two-day, one-night travel plan for City A". If the electronic device determines two travel components related to the first information from the components that the first application can call, namely travel component A and travel component B, then the interactive interface 20 of the first application can display the identifier 27 of travel component A and the identifier 28 of travel component B.
[0138] For example, in a scenario where a user needs to obtain a travel guide for a certain place, taking a mobile phone as an electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, and displaying the identifiers of all determined components in the first interface. As shown in Figure 10, the first information 23 is "Two-day, one-night travel plan for City A". If the electronic device determines three travel components related to the first information from the components that the first application can call, then the interactive interface 20 of the first application can display the identifier 27 of travel component A, the identifier 28 of travel component B, and the identifier 29 of travel component C.
[0139] For example, in a scenario where a user needs to obtain a travel guide for a certain place, suppose the electronic device determines 6 travel components related to the first information from the components that can be called by the first application, and the first interface can display the identifiers of the top 5 travel components.
[0140] It should be noted that step 105 can be executed before step 1022, or after step 1022, or simultaneously with step 1022. This application embodiment does not limit the execution order of steps 105 and 1022; Figure 8 is only an example illustrating that step 105 is executed after step 1022.
[0141] When steps 105 and 1022 are executed simultaneously, the electronic device performs the following operation: in response to the first input, the electronic device displays a first response interface and the identifier of at least one component on the first interface.
[0142] For example, in a scenario where a user needs to obtain a travel guide for a certain place, as shown in Figures 9 and 10, the interactive interface 20 of the first application also displays the reply interface 40 of the travel component A (i.e., the first reply interface mentioned above), and the reply interface 40 of the travel component A displays the second information 210 of the travel component A's reply based on the first information 23.
[0143] In this way, in response to the user's first input, the electronic device not only displays the second information that the first component replies to based on the first information on the first interface, but also displays the identifiers of components related to the first information, so that the user can select the component they want to interact with, thereby improving the user's operating efficiency.
[0144] Optionally, in this embodiment of the application, referring to FIG8 and FIG11, the step 105 above, "the electronic device displays the identifier of at least one component in the first interface", can be specifically implemented by the following step 1051.
[0145] Step 1051: The electronic device displays the identifier of at least one component on a first interface in a first sequence.
[0146] In this embodiment of the application, the first order can be determined based on the correlation between at least one component and the first information.
[0147] Optionally, in this embodiment, the first order can be an order of decreasing relevance. The electronic device can sort at least one component according to decreasing relevance, and then display the identifier of at least one component on the first interface according to the order of the at least one component.
[0148] For example, in a scenario where a user needs to obtain a travel guide for a certain place, the electronic device is a mobile phone, the program corresponding to the first interface is the first application, and the first interface is the interactive interface of the first application. As shown in Figure 9, the first information 23 is "Two-day, one-night travel plan for City A". At least one component related to the first information includes travel component A and travel component B, and the correlation between the first information and travel component A is greater than the correlation between the first information and travel component B. In the interactive interface 20 of the first application, the identifier 27 of travel component A and the identifier 28 of travel component B are displayed from left to right.
[0149] For example, in a scenario where a user needs to obtain a travel guide for a certain place, the electronic device is a mobile phone, the program corresponding to the first interface is the first application, and the first interface is the interactive interface of the first application. As shown in Figure 10, the first information 23 is "Two-day, one-night travel plan for City A". At least one component related to the first information includes travel component A, travel component B, and travel component C. The correlation between the first information and travel component A is greater than the correlation between the first information and travel component B, and the correlation between the first information and travel component B is greater than the correlation between the first information and travel component C. In the interactive interface 20 of the first application, the identifier 27 of travel component A, the identifier 28 of travel component B, and the identifier 29 of travel component C are displayed from left to right.
[0150] Optionally, in this embodiment, the first order can be based on information such as relevance, frequency of use, effectiveness, and whether the component is advertised, and the scores of at least two components are ranked from largest to smallest. The electronic device can sort at least one component according to the ranking of scores from largest to smallest, and then display the identifier of at least one component on the first interface according to the order of at least one component.
[0151] In this way, the electronic device displays the identifiers of multiple components in sequence on the first interface, so that the user can see multiple components related to the first information, making it easier for the user to select the component that meets their needs for interaction.
[0152] Optionally, in this embodiment of the application, referring to FIG11 and FIG12, after the above step 105, the information acquisition method provided by this embodiment of the application may further include the following steps 106 and 107.
[0153] Step 106: The electronic device receives a third input identifying the second component.
[0154] In this embodiment of the application, the second component can be any component other than the first component.
[0155] Optionally, in this embodiment of the application, the third input can be any form of input from the user through the touch area of the electronic device to identify the second component.
[0156] For example, suppose a user wants to view the information that the second component replies based on the first information, the user can provide a third input for the identifier of the second component.
[0157] Step 107: The electronic device responds to the third input and displays the second response interface of the second component on the first interface.
[0158] In this embodiment of the application, the second reply interface may include third information, which may be information in which the second component replies based on the first information.
[0159] Optionally, in this embodiment of the application, the electronic device displaying the second response interface of the second component on the first interface may include: the electronic device shrinking the first response interface of the first interface and displaying the second response interface on the first interface; or, the electronic device canceling the display of the first response interface and displaying the second response interface on the first interface; or, the electronic device updating the first response interface displayed on the first interface to the second response interface; or, the electronic device overlaying the second response interface on the first response interface of the first interface.
[0160] For example, in a scenario where a user needs to obtain a travel guide for a certain place, taking a mobile phone as the electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, the interactive interface 20 of the first application displays the reply interface 40 of travel component A (i.e., the aforementioned first reply interface), the identifier 27 of travel component A, and the identifier 28 of travel component B. The reply interface 40 of travel component A displays the second information 210 of travel component A's reply based on the first information 23. Then, as shown in Figure 13, the user makes a third input to the identifier 28 of travel component B (i.e., the aforementioned second component), such as clicking the identifier 28 of travel component B. The electronic device displays the reply interface 50 of travel component B (i.e., the aforementioned second reply interface) on the interactive interface 20 of the first application, and the reply interface 50 of travel component B displays the third information 211 of travel component B's reply based on the first information 23.
[0161] For example, in a scenario where a user needs to obtain a travel guide for a certain place, taking a mobile phone as the electronic device, the program corresponding to the first interface as the first application, and the first interface as the interactive interface of the first application, the interactive interface 20 of the first application displays the reply interface 40 of travel component A (i.e., the aforementioned first reply interface), the identifier 27 of travel component A, the identifier 28 of travel component B, and the identifier 29 of travel component C. Furthermore, the reply interface 40 of travel component A displays the second information 210 "travel" as a reply from travel component A based on the first information 23. The identifier 29 of travel component C is not fully displayed. The interactive interface 20 of the first application also displays a sliding icon 212. If the user wants to find out what other travel components exist besides travel component A and travel component B, the user can click the sliding icon 212 displayed on the interactive interface 20 of the first application, as shown in Figure 14. The electronic device then fully displays the identifier 29 of travel component C on the interactive interface 20 of the first application. Then, if the user wants to view the response of the travel component C to the first information, as shown in Figure 15, the user can make a third input to the identifier 29 of the travel component C (i.e., the second component mentioned above). For example, by clicking the identifier 29 of the travel component C, the electronic device displays the response interface 60 of the travel component C (i.e., the second response interface mentioned above) on the interactive interface 20 of the first application. The response interface 60 of the travel component C displays the third information 213 in response to the first information 23.
[0162] Furthermore, when the electronic device displays the second response interface through the first interface, the second response interface includes a second control of the second component. This second control is used to update the display mode of the second response interface, similar to the function of the first control in the above embodiment. If the user wants to continue interacting with the second component, the user can trigger the second component in the second response interface. In response to the user's triggering operation, the electronic device can cancel the display of the first interface and display the second response interface, which includes first information and third information.
[0163] For example, in a scenario where a user needs to obtain a travel guide for a certain place, taking a mobile phone as the electronic device, a first application as the program corresponding to the first interface, and the first interface as the interactive interface of the first application, the interactive interface 20 of the first application displays a reply interface 60 (i.e., the second reply interface) of the travel component C (i.e., the aforementioned second component) and a second control 214. The reply interface 60 of the travel component C displays third information 213, which is the reply from the travel component C based on the first information 23. The second control 214 is used to update the display mode of the reply interface 60 of the travel component C. As shown in Figure 16, when the user clicks the second control 214, the electronic device responds to the click input and displays the reply interface 60 of the travel component C, which displays the first information 23 and the third information 213, which is the reply from the travel component C based on the first information 23.
[0164] In this way, users can input the identifiers of the components on the first interface to trigger the electronic device to switch to display the reply interfaces of other components. The reply interfaces will then display the replies from other components based on the first information, allowing users to quickly view the conversations with each component and choose the most suitable component to obtain information, thus improving information acquisition efficiency.
[0165] Figure 17 is a flowchart illustrating the information acquisition method provided in an embodiment of this application. Taking the scenario of a user needing to obtain a travel guide as an example, the method may include the following steps 501 to 510.
[0166] Step 501: The electronic device displays the AI interactive interface of the "AI Assistant" application.
[0167] It should be noted that the aforementioned "AI assistant" application can be the program corresponding to the first interface in the above embodiments, and the aforementioned AI interaction interface can be the first interface in the above embodiments.
[0168] Step 502: The electronic device receives the question information entered by the user on the AI interactive interface.
[0169] For example, Figure 18 shows the AI interactive interface 20 of the first application, in which the user inputs question information 23, such as "two-day, one-night travel plan for City A".
[0170] It should be noted that the aforementioned problem information can be the first information in the above embodiments.
[0171] Step 503: The electronic device determines the user intent information based on the problem information and user preference information.
[0172] Step 504: The electronic device searches for AI interaction components related to the problem information based on the correlation between the user intent information and the service information corresponding to multiple AI interaction components.
[0173] For example, an electronic device can use a trained deep learning model to determine user intent information based on question information, basic user information, user's historical usage records, user's set habits or preferences, etc., and calculate the correlation between user intent information and service information corresponding to multiple AI interaction components, and find AI interaction components related to question information based on the correlation.
[0174] For example, suppose the question is "Where is the office of Company AA in City A?", the electronic device can identify that the user's intent is navigation. Suppose the question is "Two-day, one-night travel plan for City A", the electronic device can identify that the user's intent is travel.
[0175] Optionally, in this embodiment of the application, the number of AI interactive components related to the problem information can be divided into three intervals: the first interval is 1, the second interval is 2, and the third interval is 3 to 5. Furthermore, when there are multiple AI interactive components related to the problem information, the electronic device can arrange and display the multiple AI interactive components from left to right in order of decreasing relevance, that is, the AI interactive components closer to the left are more relevant to the problem information.
[0176] It should be noted that the AI interaction components mentioned above can be the components in the above embodiments.
[0177] Step 505: If an AI interaction component (such as AI interaction component A) related to the question information is found, the electronic device displays the response interface of AI interaction component A and the logo of AI interaction component A on the AI interaction interface.
[0178] In this embodiment, the response interface of the AI interaction component A includes response information 'a' based on the question information and control 'a'. Control 'a' is used to update the display mode of the response interface of the AI interaction component A.
[0179] It should be noted that the AI interaction component A is the first component, the response interface of the AI interaction component A is the first response interface, the identifier of the AI interaction component A is the identifier of the first component, the response information a is the second information, and the control a is the first control.
[0180] Step 506: If two AI interaction components (such as AI interaction component A and AI interaction component B) are found, the electronic device displays the response interface of AI interaction component A, the logo of AI interaction component A, and the logo of AI interaction component B on the AI interaction interface.
[0181] In this embodiment, the response interface of the AI interaction component A includes response information 'a' based on the question information and control 'a'. Control 'a' is used to update the display mode of the response interface of the AI interaction component A.
[0182] Optionally, in this embodiment, if the relevance of AI interaction component A to the question information is greater than that of AI interaction component B, the electronic device displays the identifier of AI interaction component A on the far left of the AI interaction interface and the identifier of AI interaction component B on the right. Furthermore, the AI interaction interface defaults to displaying the response information provided by AI interaction component A (the AI interaction component with the highest relevance) based on the question information.
[0183] It should be noted that the AI interaction component A is the first component, the response interface of the AI interaction component A is the first response interface, the identifier of the AI interaction component A and the identifier of the AI interaction component A are the identifiers of at least one of the components, the response information a is the second information, and the control a is the first control.
[0184] For example, in a scenario where a user needs to obtain a travel guide for a certain place, if two AI interactive components related to the question information are found, namely travel component A and travel component B, as shown in Figure 9, the electronic device displays the response interface 40 of travel component A (i.e., the first response interface mentioned above), the identifier 27 of travel component A, and the identifier 28 of travel component B on the AI interactive interface of the first application. The response interface 40 of travel component A displays the response information 210 of travel component A based on the question information and control a (the icon in the response interface 40 of travel component A in Figure 9).
[0185] Step 507: If three AI interaction components (such as AI interaction component A, AI interaction component B, and AI interaction component C) are found, the electronic device displays the response interface of AI interaction component A, the logo of AI interaction component A, the logo of AI interaction component B, and the logo of AI interaction component C on the AI interaction interface.
[0186] In this embodiment, the response interface of the AI interaction component A includes response information 'a' based on the question information and control 'a'. Control 'a' is used to update the display mode of the response interface of the AI interaction component A.
[0187] For example, assuming the AI interactive interface can fully display the identifiers of two AI interactive components, when three AI interactive components related to the question information are found, the identifiers of the three AI interactive components can be displayed in descending order of relevance. At the same time, a sliding icon can be displayed, and the user can click the sliding icon to fully display the identifier of the third AI interactive component.
[0188] It should be noted that only one of steps 505 to 507 above may be performed. Furthermore, the above explanation only assumes that one, two, or three components are found. In actual use, more components related to the problem information may be found. The specific implementation method is similar to that for finding three components, and will not be repeated here to avoid repetition.
[0189] For example, in a scenario where a user needs to obtain a travel guide for a certain place, if three AI interactive components related to the question information are found, namely travel component A, travel component B, and travel component C, as shown in Figure 10, the electronic device displays the response interface 40 of travel component A (i.e., the aforementioned first response interface), the identifier 27 of travel component A, the identifier 28 of travel component B, and the identifier 29 of travel component C on the AI interactive interface of the first application. The response interface 40 of travel component A displays the response information 210 of travel component A based on the question information and control a (the icon in the response interface 40 of travel component A in Figure 10). The AI interactive interface also displays a sliding icon 212. When the user clicks the sliding icon 212, as shown in Figure 14, the AI interactive interface fully displays the identifier 29 of travel component C. Then, as shown in Figure 15, when the user clicks the identifier 29 of travel component C, the electronic device displays the response interface 60 of travel component C on the AI interactive interface. The response interface 60 of travel component C includes the response information 213 of travel component C based on the question information and the control 214 of travel component C.
[0190] Step 508: The electronic device receives the user's click input on control a and displays the response interface of AI interaction component A.
[0191] In this embodiment of the application, the response interface of the AI interaction component A displays the question information and the response information a based on the question information.
[0192] It should be noted that step 508 can be executed after steps 505, 506 or 507. Figure 17 illustrates step 508 being executed after step 505.
[0193] Step 509: The electronic device receives the user's click input on the identifier of AI interaction component B and displays the response interface of AI interaction component B.
[0194] In this embodiment of the application, the response interface of the AI interaction component B includes response information b and control b, which are generated by the AI interaction component B based on the question information.
[0195] In this embodiment of the application, the control b is used to update the display mode of the response interface of the AI interaction component B.
[0196] It should be noted that step 509 can be executed after step 506 or step 507. Figure 17 illustrates step 509 being executed after step 506.
[0197] Step 510: The electronic device receives the user's click input on the identifier of the AI interaction component C and displays the response interface of the AI interaction component C.
[0198] In this embodiment of the application, the response interface of the AI interaction component C includes response information c and control c, which are generated by the AI interaction component C based on the question information.
[0199] In this embodiment of the application, the control c is used to update the display mode of the response interface of the AI interaction component C.
[0200] It should be noted that step 510 can be performed after step 507.
[0201] Step 511: The electronic device receives the user's click input on control c, cancels the display of the AI interaction interface, and displays the response interface of the AI interaction component C.
[0202] In this embodiment of the application, the response interface of the AI interaction component C includes question information and response information c, which is the response given by the AI interaction component C based on the question information.
[0203] For example, in a scenario where a user needs to obtain a travel guide for a certain place, the AI interactive interface in Figure 15 displays the response interface 60 of the travel component C. This response interface 60 displays the control 214 of the travel component C. When the user clicks the control 214 in Figure 15, as shown in Figure 16, the electronic device cancels the display of the AI interactive interface and displays the response interface 60 of the travel component C. This response interface 60 includes the question information 23 and the response information 213 provided by the travel component C based on the question information.
[0204] It should be noted that step 511 can be performed after step 510. The specific implementation process of steps 501 to 511 can be found in the relevant description of the above embodiments. To avoid repetition, it will not be repeated here.
[0205] The information acquisition method provided in this application embodiment allows an electronic device to identify user intent information based on user input and combine it with information such as the user's historical usage records, component usage frequency, component usage effect, and whether the component has advertising promotions. The device then calls components related to the input information and interacts with the user on the first interface of the first application. Furthermore, the method supports calling multiple components for responses, and for multiple components of the same type, it supports switching between question and answer, allowing the user to quickly select the appropriate component for interaction. Additionally, the program (main intelligent agent) corresponding to the first interface can schedule multiple components (sub-intelligent agents), increasing component exposure, shortening the user's path to component access, and improving the user experience. Increased component exposure leads to more user feedback, supporting component iteration and optimization, thereby increasing the development willingness of component developers, promoting the development of the intelligent agent ecosystem, and achieving a win-win situation for the application, user, and developer ends.
[0206] For the various scenarios in which the embodiments of this application can be applied, and in conjunction with the various implementation schemes of the embodiments of this application described above, specific examples are given below to illustrate the implementation process of the embodiments of this application in various scenarios:
[0207] Scenario 1: User needs to obtain address
[0208] Users can first open the "AI Assistant" application installed on their mobile phones (i.e., the program corresponding to the first interface mentioned above). Then, users can enter question information (i.e., the first information mentioned above) in the interactive interface of "AI Assistant" (i.e., the first interface mentioned above). For example, if a user enters "Where is the headquarters of AA Company?", the mobile phone, based on the question information, calls the map component (i.e., the first component mentioned above) related to the question information and displays the reply interface (i.e., the first reply interface mentioned above) on the interactive interface of "AI Assistant". The reply interface includes the map component's reply information to the question information (i.e., the second information mentioned above) "The headquarters address of AA Company" and the map component's control (i.e., the first control mentioned above). After the user clicks the control of the map component, the mobile phone cancels the display of the interactive interface of "AI Assistant" and displays the interactive interface of the map component (i.e., the first reply interface mentioned above) in full screen. The interactive interface of the map component displays the question information and the map component's reply information to the question information.
[0209] Scenario 2: User needs to obtain drawing
[0210] Users can first open the "AI Assistant" application installed on their phones (i.e., the program corresponding to the first interface mentioned above). Then, users can enter question information (i.e., the first information mentioned above) in the interactive interface of the "AI Assistant" (i.e., the first interface mentioned above). For example, if a user enters "Help me draw a landscape painting of spring", the phone will call the painting component (i.e., the first component mentioned above) related to the question information to display a reply interface (i.e., the first reply interface mentioned above) in the interactive interface of the "AI Assistant". The reply interface includes the painting component's reply information to the question information (i.e., the second information mentioned above) "a landscape painting of spring" and the control of the painting component (i.e., the first control mentioned above). After the user clicks the control of the painting component, the phone will cancel the display of the interactive interface of the "AI Assistant" and display the interactive interface of the painting component (i.e., the first reply interface mentioned above) in full screen. The interactive interface of the painting component displays the question information and a landscape painting of spring.
[0211] Scenario 3: Writing articles based on user needs
[0212] Users can first open the "AI Assistant" application installed on their phones (i.e., the program corresponding to the first interface mentioned above). Then, users can enter question information (i.e., the first information mentioned above) in the interactive interface of the "AI Assistant" (i.e., the first interface mentioned above). For example, if a user enters "Help me write an article about ideals," the phone will call the writing component (i.e., the first component mentioned above) related to the question information and display a reply interface (i.e., the first reply interface mentioned above) on the interactive interface of the "AI Assistant." This reply interface includes the writing component's reply to the question information (i.e., the second information mentioned above), "an article about ideals," as well as the writing component's controls (i.e., the first controls mentioned above). After the user clicks on the control of the writing component, the phone will cancel the display of the "AI Assistant" interactive interface and display the writing component's interactive interface (i.e., the first reply interface mentioned above) in full screen. The writing component's interactive interface displays the question information and an article about ideals.
[0213] Scenario 4: User-defined wallpaper creation
[0214] Users can first open the "AI Assistant" application installed on their phones (i.e., the program corresponding to the first interface mentioned above). Then, users can enter question information (i.e., the first information mentioned above) in the interactive interface of the "AI Assistant" (i.e., the first interface mentioned above). For example, if a user enters "Help me create a cartoon-style kitten image as wallpaper," the phone, based on the question information, calls the wallpaper creation component (i.e., the first component mentioned above) related to the question information and displays a reply interface (i.e., the first reply interface mentioned above) on the interactive interface of the "AI Assistant." This reply interface includes the wallpaper creation component's reply to the question information (i.e., the second information mentioned above) "a cartoon-style kitten image" and the control of the wallpaper creation component (i.e., the first control mentioned above). After the user clicks the control of the wallpaper creation component, the phone cancels the display of the interactive interface of the "AI Assistant" and displays the interactive interface of the wallpaper creation component (i.e., the first reply interface mentioned above) in full screen. The interactive interface of the wallpaper creation component displays the question information and a cartoon-style kitten image.
[0215] Scenario 5: Obtaining travel guides based on user needs
[0216] Users can first open the "AI Assistant" application installed on their mobile phones (i.e., the program corresponding to the first interface mentioned above). Then, users can enter question information (i.e., the first information mentioned above) in the interactive interface of "AI Assistant" (i.e., the first interface mentioned above). For example, if a user enters "Two-day, one-night travel guide for City A", the mobile phone will call the travel component related to the question information (i.e., the first component mentioned above) to display a reply interface (i.e., the first reply interface mentioned above) in the interactive interface of "AI Assistant". The reply interface includes the travel component's reply information to the question information (i.e., the second information mentioned above) "Detailed content of a two-day, one-night travel guide for City A" and the control of the travel component (i.e., the first control mentioned above). After the user clicks the control of the travel component, the mobile phone will cancel the display of the interactive interface of "AI Assistant" and display the interactive interface of the travel component (i.e., the first reply interface mentioned above) in full screen. The interactive interface of the travel component displays the question information and the detailed content of a two-day, one-night travel guide for City A.
[0217] Scenario 6: User needs to schedule a physical examination
[0218] Users can first open the "AI Assistant" application installed on their mobile phones (i.e., the program corresponding to the first interface mentioned above). Then, users can enter question information (i.e., the first information mentioned above) in the interactive interface of the "AI Assistant" (i.e., the first interface mentioned above). For example, if a user enters "make an appointment for a physical examination at a hospital within 3 kilometers", the mobile phone will call the medical component related to the question information (i.e., the first component mentioned above) to display a reply interface (i.e., the first reply interface mentioned above) on the interactive interface of the "AI Assistant". This reply interface includes the medical component's reply information to the question information (i.e., the second information mentioned above) "hospitals within 3 kilometers and their physical examination items and appointment times" as well as the medical component's controls (i.e., the first controls mentioned above). After the user clicks on the control of the medical component, the mobile phone will cancel the display of the interactive interface of the "AI Assistant" and display the interactive interface of the medical component (i.e., the first reply interface mentioned above) in full screen. The interactive interface of the medical component displays the question information, hospitals within 3 kilometers, and their physical examination items and appointment times.
[0219] Scenario 7: User travel needs
[0220] Users can first open the "AI Assistant" application installed on their phones (i.e., the program corresponding to the first interface mentioned above). Then, users can enter question information (i.e., the first information mentioned above) in the interactive interface of the "AI Assistant" (i.e., the first interface mentioned above). For example, if a user enters "flight tickets to City B this Friday", the phone will call the travel component related to the question information (i.e., the first component mentioned above) to display a reply interface (i.e., the first reply interface mentioned above) on the interactive interface of the "AI Assistant". This reply interface includes the travel component's reply information to the question information (i.e., the second information mentioned above) "flight tickets from this city to City B this Friday" and the control of the travel component (i.e., the first control mentioned above). After the user clicks the control of the travel component, the phone will cancel the display of the interactive interface of the "AI Assistant" and display the interactive interface of the travel component (i.e., the first reply interface mentioned above) in full screen. The interactive interface of the travel component displays the question information and the flight tickets from this city to City B this Friday.
[0221] Scenario 8: User needs to purchase performance tickets
[0222] Users can first open the "AI Assistant" application installed on their mobile phones (i.e., the program corresponding to the first interface mentioned above). Then, users can enter question information (i.e., the first information mentioned above) in the interactive interface of "AI Assistant" (i.e., the first interface mentioned above). For example, if a user enters "tickets for performances at nearby venues next Saturday", the mobile phone will call the performance ticketing component related to the question information (i.e., the first component mentioned above) and display a reply interface (i.e., the first reply interface mentioned above) on the interactive interface of "AI Assistant". This reply interface includes the reply information of the performance ticketing component to the question information (i.e., the second information mentioned above) "tickets for all performances at nearby venues next Saturday" and the control of the performance ticketing component (i.e., the first control mentioned above). After the user clicks the control of the performance ticketing component, the mobile phone displays the interactive interface of "AI Assistant" and displays the interactive interface of the performance ticketing component (i.e., the first reply interface mentioned above) in full screen. The interactive interface of the performance ticketing component displays the question information and tickets for all performances at nearby venues next Saturday.
[0223] It should be noted that each of the above method embodiments, or various possible implementations of each method embodiment, can be executed individually or in combination of any two or more. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.
[0224] The information acquisition method provided in this application can be executed by an information acquisition device. This application uses an information acquisition device executing the information acquisition method as an example to illustrate the information acquisition device provided in this application.
[0225] Figure 19 is a schematic diagram of the structure of the information acquisition device provided in the embodiment of this application. The information acquisition device includes a receiving module 601 and a display module 602.
[0226] The receiving module 601 is used to receive a first input to the first interface, which is used to input first information.
[0227] The display module 602 is used to respond to the first input and display a first reply interface. The first reply interface includes second information, which is information that the first component replies to based on the first information. The first component is a program-callable component corresponding to the first interface, and the first reply interface is the interface of the first component.
[0228] Optionally, in the embodiments of this application,
[0229] The aforementioned display module 602 is specifically used to display a first reply interface in a first interface. The first reply interface also includes a first control, which is used to update the display mode of the first reply interface.
[0230] The aforementioned receiving module 601 is also used to receive a second input to the first control.
[0231] The aforementioned display module 602 is also used to respond to the second input by canceling the display of the first interface and displaying a first reply interface, which includes first information and second information.
[0232] Optionally, in this embodiment of the application, as shown in FIG19 and FIG20, the above-mentioned information acquisition device may further include a processing module 603.
[0233] The aforementioned processing module 603 is used to determine the user intent information corresponding to the first input based on the first information and user preference information after receiving the first input to the first interface.
[0234] The aforementioned display module 602 is specifically used to display the first response interface based on the correlation between user intent information and service information corresponding to multiple components.
[0235] Optionally, in this embodiment of the application, the display module 602 is further configured to display the identifier of at least one component in the first interface, wherein the at least one component is a component related to the first information, and the first component is the component with the greatest relevance to the first information among the at least one components.
[0236] Optionally, in this embodiment of the application, the display module 602 is specifically used to display the identifier of at least one component on the first interface in a first order, the first order being determined based on the correlation between at least one component and first information.
[0237] Optionally, in this embodiment of the application, the receiving module 601 is further configured to receive a third input identifying the second component, wherein the second component is any component other than the first component among at least one component.
[0238] The aforementioned display module 602 is also configured to respond to a third input by displaying a second response interface of the second component in the first interface. The second response interface includes third information, which is information in which the second component responds based on the first information.
[0239] The information acquisition device provided in this application embodiment receives a first input on a first interface, which is used to input first information. In response to the first input, a first component is triggered to reply to the first information and display the reply information. Thus, whenever a user needs to obtain a reply to certain information, they only need to input that information on the first interface to trigger a component related to that information to reply, achieving rapid information acquisition without the need to spend time searching for a component or application that can reply and then performing input within that component or application. Therefore, this solution simplifies the user's information acquisition process and improves the efficiency of information acquisition.
[0240] The information acquisition device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device, augmented reality / virtual reality device, robot, wearable device, super mobile personal computer, netbook, or personal digital assistant, etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific device.
[0241] The information acquisition device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system.
[0242] The information acquisition device provided in this application embodiment can realize the various processes implemented in the various embodiments of the above information acquisition method. To avoid repetition, it will not be described again here.
[0243] Optionally, as shown in FIG21, this application embodiment also provides an electronic device 900, including a processor 901 and a memory 902. The memory 902 stores a program or instructions that can run on the processor 901. When the program or instructions are executed by the processor 901, they implement the various steps of the above-described information acquisition method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0244] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0245] Figure 22 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of this application.
[0246] The electronic device 1000 includes, but is not limited to, components such as: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
[0247] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 1010 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The electronic device structure shown in Figure 22 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0248] The user input unit 1007 is used to receive a first input to the first interface, which is used to input first information.
[0249] The display unit 1006 is used to display a first response interface in response to a first input. The first response interface includes second information, which is information that the first component replies to based on the first information. The first component is a program-callable component corresponding to the first interface. The first response interface is the interface of the first component.
[0250] Optionally, in the embodiments of this application,
[0251] The aforementioned display unit 1006 is specifically used to display a first reply interface in a first interface. The first reply interface also includes a first control, which is used to update the display mode of the first reply interface.
[0252] The aforementioned user input unit 1007 is also used to receive a second input to the first control.
[0253] The aforementioned display unit 1006 is also configured to, in response to the second input, cancel the display of the first interface and display a first reply interface, the first reply interface including first information and second information.
[0254] Optionally, in this embodiment of the application, the processor 1010 is configured to, after receiving the first input to the first interface, determine the user intent information corresponding to the first input based on the first information and user preference information. The display unit 1006 is specifically configured to display the first response interface based on the correlation between the user intent information and service information corresponding to multiple components.
[0255] Optionally, in this embodiment of the application, the display unit 1006 is further configured to display the identifier of at least one component in the first interface, wherein the at least one component is a component related to the first information, and the first component is the component with the greatest relevance to the first information among the at least one components.
[0256] Optionally, in this embodiment of the application, the display unit 1006 is specifically used to display the identifier of at least one component on the first interface in a first order, the first order being determined based on the correlation between at least one component and first information.
[0257] Optionally, in this embodiment, the user input unit 1007 is further configured to receive a third input identifying the second component, wherein the second component is any component other than the first component among at least one component. The display unit 1006 is further configured to, in response to the third input, display a second response interface of the second component on a first interface, the second response interface including third information, which is information in which the second component responds based on the first information.
[0258] The electronic device provided in this application embodiment receives a first input on a first interface, which is used to input first information. In response to the first input, a first component is triggered to reply to the first information and display the reply. Thus, whenever a user needs a reply to certain information, they only need to input that information on the first interface to trigger a component related to that information to reply, achieving rapid information retrieval without the need to spend time searching for a component or application that can reply and then performing input within that component or application. Therefore, this solution simplifies the user's information retrieval process and improves the efficiency of information acquisition.
[0259] It should be understood that, in this embodiment, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The GPU 10041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0260] The memory 1009 can be used to store software programs and various data. The memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1009 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0261] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor 1010.
[0262] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described information acquisition method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0263] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0264] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described information acquisition method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0265] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0266] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the information acquisition method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0267] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0268] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0269] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. An information acquisition method, the method comprising: Receive a first input to the first interface, the first input being used to input first information; In response to the first input, a first reply interface is displayed. The first reply interface includes second information, which is information replied by a first component based on the first information. The first component is a program-callable component corresponding to the first interface, and the first reply interface is the interface of the first component.
2. The method according to claim 1, wherein, The first reply interface is displayed, including: The first reply interface is displayed in the first interface, and the first reply interface further includes a first control, which is used to update the display mode of the first reply interface; The method further includes: Receive a second input to the first control; In response to the second input, the first interface is canceled and the first reply interface is displayed, which includes the first information and the second information.
3. The method according to claim 1, wherein, After receiving the first input to the first interface, the method further includes: Based on the first information and the user preference information, determine the user intent information corresponding to the first input; The first reply interface is displayed, including: Based on the correlation between the user intent information and the service information corresponding to multiple components, the first response interface is displayed.
4. The method according to claim 2, wherein, The method further includes: The first interface displays the identifier of at least one component, which is a component related to the first information, and the first component is the component among the at least one components that is most relevant to the first information.
5. The method according to claim 4, wherein, Displaying the identifier of at least one component in the first interface includes: The identifiers of at least one component are displayed on the first interface in a first order, the first order being determined based on the relevance of the at least one component to the first information.
6. The method according to claim 4 or 5, wherein, The method further includes: Receive a third input identifying a second component, wherein the second component is any one of the at least one components other than the first component; In response to the third input, a second response interface of the second component is displayed on the first interface. The second response interface includes third information, which is information in which the second component responds based on the first information.
7. An information acquisition device, the device comprising a receiving module and a display module; The receiving module is used to receive a first input to the first interface, wherein the first input is used to input first information; The display module is used to respond to the first input and display a first reply interface. The first reply interface includes second information, which is information replied by a first component based on the first information. The first component is a program-callable component corresponding to the first interface, and the first reply interface is the interface of the first component.
8. The apparatus according to claim 7, wherein, The display module is specifically used to display the first reply interface in the first interface. The first reply interface further includes a first control, which is used to update the display mode of the first reply interface. The receiving module is also used to receive a second input to the first control; The display module is further configured to, in response to the second input, cancel the display of the first interface and display the first reply interface, wherein the first reply interface includes the first information and the second information.
9. The apparatus according to claim 7, wherein, The device also includes a processing module; The processing module is used to determine the user intent information corresponding to the first input based on the first information and user preference information after receiving the first input to the first interface. The display module is specifically used to display the first response interface based on the correlation between the user intent information and the service information corresponding to multiple components.
10. The apparatus according to claim 8, wherein, The display module is further configured to display the identifier of at least one component in the first interface, wherein the at least one component is a component related to the first information, and the first component is the component among the at least one components that is most relevant to the first information.
11. The apparatus according to claim 10, wherein, The display module is specifically used to display the identifiers of at least one component in the first interface in a first order, wherein the first order is determined based on the correlation between the at least one component and the first information.
12. The apparatus according to claim 10 or 11, wherein, The receiving module is further configured to receive a third input identifying the second component, wherein the second component is any component other than the first component among the at least one component; The display module is further configured to respond to the third input by displaying a second response interface of the second component on the first interface. The second response interface includes third information, which is information in which the second component responds based on the first information.
13. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the information acquisition method as described in any one of claims 1 to 6.
14. A readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the information acquisition method as described in any one of claims 1 to 6.
15. A computer program product stored in a storage medium, the computer program product being executed by at least one processor to implement the steps of the information acquisition method as claimed in any one of claims 1 to 6.
16. A chip, the chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to run a program or instructions to implement the information acquisition method of any one of claims 1 to 6.