Search interaction method and apparatus, electronic device, and program product
By using an auxiliary input panel and a first panel component to display search results on the target interface, the problem of slow response speed and unsmooth experience caused by page jumps in traditional search interactions is solved, resulting in faster search result display and a smoother interactive experience.
Patent Information
- Application Number
- PCT/CN2025/111628
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-02
- Filing Date
- 2025-07-30
- Publication Date
- 2026-02-05
AI Technical Summary
Traditional search interaction methods require multiple page jumps, resulting in slow response speeds and an unsmooth interactive experience.
It adopts a multi-layered, overlapping vertical architecture, and displays search results through auxiliary input panel components and first panel components on the target interface to avoid page jumps. It uses a large model to process user search requests and directly displays search results on the target interface.
It improves the speed of search result retrieval, reduces lag during page switching, and enhances the smoothness and responsiveness of search interaction.
Smart Images

Figure CN2025111628_05022026_PF_FP_ABST
Abstract
Description
Search interaction method and device, electronic device and program product
[0001] The present disclosure claims priority to a Chinese patent application No. 202411061381.4, filed on August 2, 2024, and entitled "Search interaction method, device, electronic device and program product", the entire content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present disclosure relates to the technical field of interaction, and in particular to a search interaction method, device, electronic device and program product. BACKGROUND
[0003] Under the traditional search interaction framework, the search behavior of a user often follows the following interaction link: after the user clicks on a search box, the terminal displays a history page carrying the user's historical search records; after the user inputs a search term, the terminal displays a recommendation page carrying recommended content; after the user clicks on a search confirmation button, the terminal jumps to a search result page displaying search results.
[0004] The inventor found in the process of implementing search interaction that this kind of interaction method needs to jump to a search result page to display search results, which is slow in displaying search results and not smooth in interaction experience.
[0005] Therefore, it is urgent to improve the existing search interaction link to improve the speed of obtaining search results and the search interaction experience. SUMMARY
[0006] The present disclosure provides a search interaction method, device, electronic device and program product, which displays search results by using a panel component, avoids page jumping, and improves the speed of search response and the smoothness of search interaction.
[0007] In a first aspect, the present disclosure provides a search interaction method, comprising:
[0008] generating a search request in response to an interaction operation on a target interface; the search request carrying search content;
[0009] displaying a first panel component on the target interface in response to a first search result returned by a first search engine for the search content;
[0010] The first panel component is configured to display the first search result.
[0011] In a second aspect, the present disclosure provides a search interaction device, comprising:
[0012] a search request generation module configured to generate a search request in response to an interaction operation on a target interface; the search request carrying search content;
[0013] a first panel display module, configured to display a first panel component on the target interface in response to a first search result returned by a first search engine for the search content.
[0014] The first panel component is configured to display the first search result.
[0015] In a third aspect, the present disclosure provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the electronic device to perform the method provided in the first aspect of the present disclosure.
[0016] In a fourth aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method provided in the first aspect of the present disclosure is implemented.
[0017] In a fifth aspect, the present disclosure provides a program product, comprising a computer program, and when a processor executes the computer program, the method provided in the first aspect of the present disclosure is implemented.
[0018] The search interaction method, device, electronic device, and program product provided by the present disclosure provide a scheme for displaying search results by using a panel component. Specifically, in response to an interaction operation on a target interface, a search request is obtained. After obtaining the search request, in response to a first search result returned by a first search engine for a search word carried in the search request, a first panel component is displayed on an upper layer of the target interface, and the first search result is presented in the first panel component. In this way, after obtaining the first search result returned by the first search engine, the first search result can be directly displayed in the first panel component without opening a new page to display the first search result, thereby improving the speed of obtaining the search result. At the same time, the lag caused by opening a new page can be weakened, and the smoothness of the interaction is improved. BRIEF DESCRIPTION OF DRAWINGS
[0019] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
[0020] FIG. 1 is a schematic diagram of a search interaction process;
[0021] FIG. 2 is a flowchart of a search interaction method according to an embodiment of the present disclosure;
[0022] FIG. 3 is a structural schematic diagram of an auxiliary input panel component according to an embodiment of the present disclosure;
[0023] FIG. 4 is a flow diagram of another search interaction method according to an embodiment of the present disclosure;
[0024] FIG. 5 is a schematic diagram of a result display interface according to an embodiment of the present disclosure;
[0025] FIG. 6 is a schematic diagram of a transition container according to an embodiment of the present disclosure;
[0026] FIG. 7 is a flow diagram of another search interaction method according to an embodiment of the present disclosure;
[0027] FIG. 8 is a schematic diagram of an interaction process in a multi-round search according to an embodiment of the present disclosure;
[0028] FIG. 9 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure.
[0029] The above-described figures have shown specific embodiments of the present disclosure, which will be described in more detail hereinafter. These figures and descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concept of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0030] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The same or similar components are denoted by the same reference numerals throughout the drawings and the following description, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the present disclosure, as detailed in the appended claims.
[0031] First, some of the terms involved in the present disclosure are explained:
[0032] Pop-up: also known as pop, is an interface element that displays in the form of pop-up on the interface, which can realize the stripping of part of the interface functions, thereby simplifying the interface. The pop-up usually includes three layers, the bottom layer is the mask layer, which is used to cover the page to prevent the user from accessing other pages when interacting with the pop-up; the middle layer is the parent element, which is usually transparent and coincides with the mask layer; the top layer is the main content of the pop-up, which is usually a custom DOM (Document Object Model) element, used to display information, receive user input, etc.
[0033] Large Model (also referred to as Foundation Model): refers to a deep learning model with large-scale parameters and complex structure, capable of processing massive data and learning its inherent rules and characteristics, with strong knowledge representation, reasoning and generation capabilities, capable of completing relatively complex tasks such as image processing, speech recognition, natural language processing, etc. In this disclosure, the large model is used to process the user's search request or process the search results recalled by the search engine, and generate personalized search results such as recommended content. Generally, the large model has tens of millions or even hundreds of millions of parameters.
[0034] The large model is widely used in search systems due to its superior understanding ability and comprehensive search ability. The emergence of the large model allows users to search with colloquial and broad search terms without needing to master accurate keywords; at the same time, the large model has the ability to integrate, refine and link information, greatly reducing the redundant information in the search results and improving the accuracy of the search results.
[0035] Traditional search functions, such as search functions within applications, often follow a fixed link pattern, and the search interaction process will sequentially display the history page (HIS, History), the recommendation page (SUG, Suggestion), and the list page (List).
[0036] Taking the search interaction within the application as an example, FIG. 1 is a schematic diagram of a search interaction process, as shown in FIG. 1, when the user needs to search for some information, such as searching for interesting goods or places, finding answers to questions, etc., the search box on the application interface can be selected first to generate a trigger instruction of the search box. In response to the trigger instruction, the history page is opened, and the search box can float on the upper side of the history page or be embedded in the history page. The history page can display the user's search history, such as history search term 1 to history search term 5 in FIG. 1; the user can select the desired search content from the history record, such as history search term 3, or input a new search term in the search box.
[0037] During the period when the user inputs the search term in the search box, the history page can be jumped to the recommendation page based on the search term that has been input in the search box, and the display content of the recommendation page is constantly updated with the search term that has been input in the search box. The recommendation page is used to display the search terms associated with the search term that has been input in the search box, such as associated search term 1 to associated search term 7 in FIG. 1, the user can quickly determine the desired search term through the associated search terms displayed by the recommendation page, or directly select one of the associated search terms as the desired search term.
[0038] After the input of the search words is completed, the user can click a search button beside the search box to trigger a corresponding search request, or after the user selects one of the historical search words or the associated search words, a corresponding search request is triggered; in response to the search request, the search results are displayed through a new page, i.e., a list page.
[0039] As can be seen from the above, since the history page, the recommendation page and the list page are all independent pages, each operation of the user during the search interaction triggers a page jump, and the page jump causes the display of the content to be interrupted, which is not smooth. Meanwhile, the multiple loading and page jumps result in a slow response speed of the search interactive operation, which cannot meet the user experience.
[0040] Based on this, the present disclosure provides a search interaction method, which realizes the modification of the framework structure of the search interaction, adjusts the original horizontal page-to-page jump architecture to a multi-layered vertical architecture, realizes the search result display through the architecture of the bottom interface and the upper panel component, avoids the frequent page jumps, and improves the search operation response efficiency. Meanwhile, the panel component is more closely related to the elements on the previous interface, reduces the interruption of the search result display, and improves the smoothness of the search interaction.
[0041] FIG. 2 is a flowchart of a search interaction method provided by an embodiment of the present disclosure, which can be executed by an electronic device with corresponding data processing capability, such as a mobile terminal, a computer, a service terminal, etc.
[0042] As shown in FIG. 2, the search interaction method includes the following steps:
[0043] Step S201: In response to an interactive operation on a target interface, a search request is generated; the search request carries search content.
[0044] The target interface can be an interface in an application software, a small program or the like, or a webpage on a browser. The interactive operation can be any operation that can trigger a search request, including but not limited to a text input operation, a voice input operation, a touch screen input operation, etc.
[0045] For example, the target interface can display an electronic map, such as an electronic map of the vicinity of the user's location.
[0046] The search content carried in the search request can be one or more keywords separated by a delimiter, or a sentence described in natural language.
[0047] For example, the interactive operation of the target interface can include triggering a search box of the target interface, inputting search words in the search box and clicking a search button beside the search box in sequence.
[0048] The search box on the target interface can be located on the top side, the bottom side or other positions of the target interface. The trigger instruction of the search box can be generated after the user selects the search box, or after the user clicks a search entry such as a search button beside the search box, or by using other interactive manners, which are not limited in the present disclosure.
[0049] After detecting the trigger instruction of the search box on the target interface, the auxiliary input panel component is displayed on the upper layer of the target interface, and the search history information is displayed through the auxiliary input panel component.
[0050] The search history information is the record of the user's historical search, and can store the search content of each search in the historical time. In order to distinguish, the search content in the search history information is recorded as the historical search content. The historical search content in the search history information can be sorted in the order from late to early according to the search time.
[0051] The auxiliary input panel component can be any interface element for displaying information, such as a dialog box, a pop-up layer, etc.
[0052] For example, the auxiliary input panel component can be a pop-up layer located on the upper layer of the target interface. Located on the upper layer of the target interface means located above the hierarchical structure of the target interface, or the level is higher than the level of the target interface. The design of multi-level elements can realize the superimposed display of multiple layers of elements and improve the flexibility of the interface.
[0053] The search box can be floating above the auxiliary input panel component or embedded in the auxiliary input panel component. The auxiliary input panel component can include multiple layers, and the bottom layer of the auxiliary input panel component is a mask layer, which is similar to a mask and is used to block the target interface. The mask layer can be transparent, semi-transparent or opaque; the display box is disposed on the uppermost layer of the auxiliary input panel component, and the search history information such as the historical search content list is displayed in the display box. The search box can be floating above the display box of the auxiliary input panel component or embedded in the display box of the auxiliary input panel component, so as to facilitate the user to input the search word.
[0054] For example, FIG. 3 is a structural schematic diagram of an auxiliary input panel component provided by an embodiment of the present disclosure. As shown in FIG. 3, after a user clicks a search box displayed on a target interface, a trigger instruction for the search box is generated, and in response to the trigger instruction, an auxiliary input panel component is displayed on an upper layer of the target interface. The auxiliary input panel component includes a bottommost mask layer, a parent element (usually transparent, not shown in the figure) in the middle layer, and a display box in the uppermost layer. The search box and the display box of the auxiliary input panel component are in the same layer and above the display box. The search box can be embedded in the layer where the display box of the auxiliary input panel component is located. A plurality of historical records are displayed in the display box of the auxiliary input panel component, each historical record corresponding to a search at a historical time, and the content of the historical record being historical search content, such as "science museum within 5 kilometers", "place suitable for children to play", "zoo", and the like in FIG. 3.
[0055] The user can select one of the historical search content displayed in the auxiliary input panel component as the search content for this time, and a search request can be generated in response to the user-selected historical search content, the search content carried in the search request being the selected historical search content. Or the user can click a search button beside the search box after selecting a historical search content, and a search request carrying the user-selected historical search content can be generated in response to the click operation of the search button. Or the user can input new search content in the search box, and click the search button beside the search box after the input of the search content is completed, and a search request carrying the user-input search content can be generated in response to the click operation of the search button.
[0056] For the case where the user inputs search content in the search box, the method further includes:
[0057] In response to the search words that have been input in the search box on the target interface, associated search information is displayed through the auxiliary input panel component.
[0058] The associated search information includes at least one associated search word associated with the search words that have been input in the search box, the associated search word being an associated search word of the search words that have been input in the search box.
[0059] After the user triggers the search box, the user can further click the search box to switch the state of the search box from the triggered state to an input state, at which time the search term that has been input in the search box is empty, and the display content of the auxiliary input panel component remains unchanged, i.e., the search history information is still displayed. After the state of the search box is the input state, the user can input a desired search term in the search box. When the search term that has been input in the search box exists, the associated search information is determined based on the search term that has been input in the search box, and the display content of the auxiliary input panel component is updated to the associated search information. During the input of the search term by the user, the associated search information of the auxiliary input panel component is constantly updated along with the update of the search term that has been input in the search box.
[0060] Through the display of the associated search information, the user is assisted to quickly determine the desired search term, and the user search operation is simplified.
[0061] The user can select one of the associated search terms in the associated search information as the search content of this search, and then a search request is generated in response to the selected associated search term, wherein the search content carried in the search request is the selected associated search term. Alternatively, after the user selects an associated search term, the user clicks a search button beside the search box, and a search request carrying the selected associated search term is generated in response to the click operation of the search button. Alternatively, after the associated search information is displayed through the auxiliary input panel component, the user can input new search content in the search box, and then clicks the search button beside the search box, and a search request carrying the input search content is generated in response to the click operation of the search button.
[0062] The search request can be generated in any of the following ways:
[0063] After the input of the search content, the user can click the search button beside the search box to trigger the search request carrying the input search content. After the user selects any one of the historical search contents in the search history information, a search request carrying the selected historical search content is generated. After the user selects any one of the associated search terms in the associated search information, a search request carrying the selected associated search term is generated.
[0064] After the search request is detected, the currently displayed auxiliary input panel component is closed.
[0065] In step S202, a first panel component is displayed on the target interface in response to a first search result returned by a first search engine for the search content.
[0066] The first panel component is used to display the first search result.
[0067] In some embodiments, the first panel component is used to display the first search result and the search content, so as to improve the comprehensiveness of the displayed information and avoid the user forgetting the search content.
[0068] For example, in the first panel component, the displayed search content is located above the first search result of the search content output by the first search engine.
[0069] The first panel component can be any interface element for displaying information, such as a pop-up layer, a dialog box, etc.
[0070] Taking the first panel component as a pop-up layer, the mask layer of the first panel component covers the target interface, and the first search result is displayed in a display box above the mask layer.
[0071] After detecting the request, in response to the search request, the displayed auxiliary input panel component is closed, and the first panel component is displayed on the target interface. At this time, the display content of the first panel component can be blank, or some default content such as "thinking" is displayed; or after the auxiliary input panel component is closed, after obtaining the first search result, the first panel component with the first search result is displayed on the target interface.
[0072] For example, the first search engine can be an AI (Artificial Intelligence) large model-based search engine.
[0073] Optionally, the method further comprises:
[0074] In response to the second search result returned by the second search engine for the search content, a search result page carrying the second search result is displayed on the target interface.
[0075] The second search engine and the first search engine are different search engines. For example, the first search engine can be a large model-based search engine, and the second search engine can not rely on a model, such as returning search results through keyword matching, or the second search engine can rely on other models that are not large models.
[0076] The first search result output by the first search engine can be the output of the first search engine based on the second search result output by the second search engine, for example, the first search engine integrates the input data of the search content and the second search result to output the obtained content.
[0077] In the case that both the first search engine and the second search engine output search results of the search content, i.e., in the case that the first search result and the second search result are obtained, the search result page with the second search result and the first panel component with the first search result can be displayed together on an upper layer of the target interface.
[0078] The layout of the first panel component and the search result page can be any one of the following manners, for example, the first panel component is floated above the search result page, or the first panel is embedded in the search result page.
[0079] Optionally, the first panel component is located on an upper layer of the search result page, or the first panel component is located on the same layer as the search result page.
[0080] In the hierarchical layout of the first panel component and the search result page, the hierarchical level of the first panel component is equal to or higher than that of the search result page.
[0081] In the position layout of the first panel component and the search result page on the target interface, the position of the first panel component relative to the search result page can be above, below or other positions of the search result page.
[0082] By limiting the first panel component to be displayed on the upper layer of the search result page, the content displayed by the first panel component can be prevented from being blocked by the search result page, and the first search result can be highlighted.
[0083] By limiting the first panel component to be displayed on the same layer as the search result page, the first panel component and the search result page can be located at different positions, for example, the first panel component is located on the upper side of the search result page. By arranging the first panel component and the search result page on the same layer, the first panel component can be embedded in the search result page, and the adjustment of the height of the first panel component can affect the adjustment of the height of the search result page, and the adjustment of the height of the search result page can also affect the adjustment of the height of the first panel component, so that the first panel component and the search result page are compatible and integrated, and the user can pay more attention to the first search result in the first panel component or the search result displayed in the search result page according to the user's own needs.
[0084] For the case that the first panel component and the search result page are displayed on the same layer, when the user interacts with the displayed first panel component, for example, clicks, long presses, slides, etc., the height of the first panel component can be increased and the height of the search result page can be reduced without blocking each other, so as to highlight the display content of the first panel component; when the user interacts with the displayed search result page, for example, slides upward, the height of the search result page can be increased and the height of the first panel component can be reduced without blocking each other, so as to highlight the display content of the search result page and facilitate the user to check.
[0085] The first search engine outputs a first search result for the search content under the premise that the search content meets a preset condition. The preset condition is a triggering condition of the first search engine. If the search content does not meet the preset condition, the first search engine does not need to be triggered, and the search can be performed only through the second search engine. If the search content meets the preset condition, the first search engine is triggered, and the search is performed through the second search engine and the first search engine.
[0086] The search content carried in the search request can be input through a search box or historical search content in search history information, can also be an associated search word in associated search information, and can of course be voice input content.
[0087] In an embodiment, the first search engine and the second search engine are deployed on a server, and the first search engine is a large model-based search engine. After receiving a search request, the server can first input search content carried in the search request into a shunting model. The shunting model is used to determine whether the search content is shunted to the first search engine, that is, to determine whether the search content carried in the search request meets a preset condition. If the search content meets the preset condition, the large model is triggered. After obtaining the output of the large model for the search content carried in the search request, that is, a first search result, the first search result is displayed through the first panel component.
[0088] Of course, when the preset condition is met, the search content can be first sent to the second search engine. If the second search engine recalls a second search result of the search content, the second search result and the search content are sent to the large model, a result output by the large model after integrating the second search result is obtained as a first search result, and the first search result is displayed through the first panel component.
[0089] In the case where the second search engine does not recall the second search result of the search content, the search content can be sent to the large model, the large model is used to recall the search result, and the result recalled by the large model, that is, the first search result, is displayed through the first panel component.
[0090] In addition, whether the search content is shunted to the first search engine or not, the search content can be sent to the second search engine, the second search result of the search content is recalled by the second search engine, and the second search result is displayed through a search result page. Under the premise that the second search result of the search content is recalled by the second search engine, the server sends the second search result to the first search engine, the first search engine integrates the second search result, and a first search result is obtained. Under the premise that the second search result of the search content is not recalled by the second search engine, the server sends the search content to the first search engine, and the first search engine recalls the first search result of the search content.
[0091] In the case of being shunted to the first search engine based on the large model, the search content can be reworded by the large model to obtain more concise and fluent modified search content, and the modified search content is sent to the second search engine to recall the second search result. Correspondingly, the first search engine can recall the first search result based on the modified search content and the second search result recalled by the second search engine.
[0092] Optionally, the search content carried in the search request includes a colloquial description word or a functional description word.
[0093] The colloquial description word is a word that conforms to the habit of natural language description, such as a colloquial word, a slang, a colloquial abbreviation, etc. For example, “where”, “compare”, “have”, “what”, “know”, “666”, “foodie”, etc.
[0094] The functional description word is used to describe the function of a noun, such as “suitable for children”, “with a swimming pool”, “can cook”, etc.
[0095] If the search content includes a colloquial description word or a functional description word, it is determined that the search content meets the preset condition.
[0096] For example, the search content “what is there to play nearby ah” contains the colloquial description words “what” and “play”, so it meets the preset condition.
[0097] For example, the search content “suitable for taking children to the scenic spot” contains the functional description word “suitable for taking children”, so it meets the preset condition.
[0098] For example, if the search content only includes an exact location, such as “Beijing South Railway Station”, or the search content only includes a general category of nouns, such as “food”, “hotel”, etc., it is determined that the search content does not meet the preset condition, and the first search engine is not triggered, so the first panel component does not need to be displayed.
[0099] In addition, the second search engine can be triggered to search. The second search engine can recall the search result of the search content by keyword matching, which is recorded as the second search result. The second search result recalled by the second search engine, such as a recommendation list, can be displayed through a page, such as a page located on the upper layer of the target interface (recorded as a search result page).
[0100] In combination with the characteristics of the large model, the colloquial search words and the search words with ambiguous search intent are preferentially processed by the large model, which avoids the waste of computing resources caused by frequent calling of the large model under the premise of ensuring the quality of the displayed search results.
[0101] The output of the large model, i.e., the first search result, can be divided into two categories: one is the output when no relevant content is searched, and the other is the output when relevant content is searched.
[0102] For example, the output when no relevant content is searched can be a default text such as "Sorry, no relevant content is searched", and personalized output can also be implemented, such as combining the user's own characteristics, search scenarios and other parameters to customize the output of the large model when no relevant content is searched.
[0103] When relevant content is searched, the first search result can be the searched relevant content, or the searched relevant content and the corresponding search content.
[0104] The search interaction method provided by the present disclosure provides a scheme for displaying search results by using panel components. Specifically, in response to an interactive operation on a target interface, a search request is obtained; after obtaining the search request, in response to a first search result of a first search engine for a search word carried by the search request, a first panel component is displayed on an upper layer of the target interface, and the first search result is presented in the first panel component. In this way, after obtaining the first search result returned by the first search engine, the first search result can be directly displayed in the first panel component without opening a new page to display the first search result, thereby improving the speed of obtaining the search result. At the same time, the lag caused by opening a new page can be weakened, and the smoothness of the interaction is improved.
[0105] Optionally, the target interface displays an electronic map, and for any one of the first panel component, the auxiliary input panel component and the subsequent second panel component, the panel component includes a mask layer and a display frame located on an upper layer of the mask layer, the mask layer has the same size as the target interface, the display frame of the same panel component has a size smaller than that of the mask layer, and the mask layer is semi-transparent.
[0106] The display frame of the auxiliary input panel component is used to display search history information and associated search information; and the display frame of the first panel component and the second panel component is used to display the first search result output by the first search engine.
[0107] The display frame in the panel component is the uppermost layer of the panel component and is used to display the content of the panel component.
[0108] By setting the semi-transparent mask layer, the user can still see part of the underlying electronic map when searching, so that the panel component on the upper layer is associated with the underlying electronic map or the previously displayed interface, so that the interface has clear visual levels, and it is also conducive to concentrating the user's attention on the display frame of the panel component.
[0109] FIG. 4 is a flow diagram of another search interaction method provided by an embodiment of the present disclosure. The embodiment is based on the embodiment shown in FIG. 2, and refines the interaction operation of triggering the search request, adds relevant steps of determining the search content, and specific steps of responses of the first search engine and the second search engine under various determination results. The search interaction method provided by the embodiment can be executed by any interaction device, which is in communication connection with the server.
[0110] As shown in FIG. 4, the search interaction method provided by the embodiment can specifically include the following steps:
[0111] In step S401, in response to a triggering instruction of a search box on a target interface, display search history information through an auxiliary input panel component on an upper layer of the target interface.
[0112] In step S402, in response to a search word input in the search box, display associated search information through the auxiliary input panel component.
[0113] In step S403, in response to a search request, close the auxiliary input panel component.
[0114] In step S404, when the server determines that the search content carried in the search request meets a preset condition, display a first panel component on an upper layer of the target interface.
[0115] In step S405, before obtaining a first search result output by a first search engine, display transition information in the first panel component.
[0116] The transition information can be default information such as “thinking……”, or personalized customized information, which can be determined based on the attributes of the user and the scene of the search interaction, such as “let me think for a moment”, “thinking”, “this question is a bit difficult”, etc. The scene of the search interaction can be determined based on the time, location of the search request, and the search content carried in the search request.
[0117] The first search result output by the first search engine can be a second search result recalled by a search engine integrated by the first search engine, or a search result of the search content recalled by the first search engine.
[0118] Before the output result of the first search engine, that is, the thinking stage of the first search engine, the transition information is displayed in the first panel component, so that the user can master the progress of the search of the first search engine, and reduce the feeling of impatience of the user waiting for the output of the search result.
[0119] Step S406, in response to the second search results returned by the second search engine for the search content, displaying a search result page carrying the second search results on the target interface, and sending the second search results to the first search engine by the server.
[0120] In the case where the server determines that the search content carried in the search request meets the preset condition, the server can first send the search content to the second search engine for preliminary search; if the second search engine recalls the search results of the search content, i.e., the second search results, the search result page is displayed simultaneously on the premise of displaying the first panel component, and the second search results recalled by the second search engine are displayed through the search result page, such as a recommendation list.
[0121] The search result page is a page displayed on the upper layer of the target interface. The first panel component can be located on the upper layer of the search result page, or in a different area on the same layer as the search result page. The display of the first panel component should not affect the display of the content of the search result page, and any arrangement can be used to achieve this, which is not limited in the present disclosure.
[0122] Optionally, the simultaneously displayed first panel component floats above the search result page, or the simultaneously displayed first panel component is embedded in the search result page.
[0123] For example, FIG. 5 is a schematic diagram of a result display interface provided by an embodiment of the present disclosure. The result display interface is a display interface of the outputs of the first search engine and the second search engine, and is a final display interface of one round of search, such as a display interface for displaying the first panel component and the search result page. FIG. 5 takes the search content “recommend several weekend-worthy science museums” as an example. As the search content includes colloquial description words such as “several” and “worthy to go”, the first search engine is triggered, and the first panel component is displayed on the result display interface. At this time, the first search engine has not output the first search results, and the content displayed by the first panel component is a transition text such as “weekend…”. The server sends the search content carried in the search request to the second search engine, and the second search engine recalls a search result of the search content, i.e., the second search results, such as a science museum list. The science museum list includes science museum 1 to science museum 6, and the search result page can be displayed on the result display interface to display a recommendation list composed of science museum 1 to science museum 6.
[0124] Referring to the right drawing in FIG. 5, in the result display interface, the first panel component floats on the upper layer of the search result page, and the picture layer is located on the lower layer of the search result page. The picture layer can display the target interface before the search box is triggered, such as displaying the home page of the application software, displaying the electronic map near the user, etc.
[0125] The second search result recalled by the second search engine is rich in information and can include various elements such as images, texts and links, so that the page displays the second search result recalled by the second search engine, thereby facilitating the jump between different pages.
[0126] After the second search engine completes the preliminary search and obtains the second search result, the server sends the second search result to the first search engine based on the large model, and the first search engine integrates and refines the second search result, thereby improving the richness of the displayed search result. By using the superior analysis capability of the large model, the second search result can be simplified and integrated to obtain more concise and in-depth first search results, so that the search result is more in line with the user's expectation.
[0127] In response to the first search result returned by the first search engine for the search content, the display content of the first panel component is updated based on the first search result.
[0128] The first search result can be pure text or rich text, such as text containing links.
[0129] After sending the second search result recalled by the second search engine to the first search engine and obtaining the reply content of the second search result output by the first search engine, i.e., the first search result, the display content of the first panel component is updated based on the reply content output by the first search engine, such as updating the content of the first panel component to the reply content. The display style of the first panel component in the present disclosure is not limited.
[0130] Before obtaining the first search result, the display content of the first panel component is transition information; after obtaining the first search result, the display content of the first panel component is emptied, and the display content of the first panel component is updated along with the update of the first search result output by the first search engine.
[0131] The first search engine can output the first search result in segments, and each segment is displayed in the first panel component. For example, the current segment can be displayed in the first panel component at a certain speed, or the complete first search result can be displayed at one time. The display mode of the first search result can be determined based on the length of the first search result. For example, for a first search result with a short length, such as a first search result that can be completely displayed in the first panel component, the first search result can be completely displayed in the first panel component at one time; for a first search result with a long length, such as a first search result that cannot be completely displayed in the first panel component, the first search result can be displayed in segments or character by character.
[0132] Step S408, if the second search engine does not recall the second search result of the search content, the server sends the search content carried in the search request to the first search engine.
[0133] Step S409, in response to the reply content of the search content recalled by the first search engine, the display content of the first panel component is updated based on the reply content.
[0134] For the case that the second search engine does not recall the second search result, the search result page does not need to be displayed on the result display interface, and only the first panel component can be displayed.
[0135] For the case that the second search engine does not recall the second search result, in order to improve the comprehensiveness of the search, the search content carried in the search request can be sent to the first search engine based on a large model for secondary search. After obtaining the reply content (an example of the first search result) of the search content recalled by the large model, the display content of the first panel component is updated based on the reply content. For example, the display content of the first panel component is updated to the reply content, or the search content and the reply content.
[0136] Step S410, if the server determines that the search content carried in the search request does not meet the preset condition, in response to the second search result returned by the second search engine for the search content, a search result page carrying the second search result is displayed on the target interface.
[0137] If the search content carried in the search request does not meet the preset condition for triggering the first search engine, the first search engine does not need to be triggered, that is, the search through the first search engine is not needed, so that the first panel component is not displayed on the result display interface. In this case, only the second search engine can respond to the search request.
[0138] In the case that the second search engine recalls the relevant result of the search content, the second search result is the recalled relevant result; in the case that the second search engine does not recall the relevant result of the search content, the second search result can be empty or a default text such as "Sorry, no relevant content is searched".
[0139] In the case that the first search engine is not triggered, after obtaining the response of the second search engine for the search content, the response is displayed through the search result page on the upper layer of the target interface.
[0140] In the embodiment, in the case that the search system includes the first search engine and the second search engine, it is determined whether to trigger two search engines or one when searching by the preset condition, the accuracy and necessity of triggering the first search engine are improved, and the computing resources are saved; the search results of the first search engine are displayed by the panel component, and the response speed is fast; the search results recalled by the second search engine are displayed by the page, which can carry more rich information such as links, rich texts and the like, and is convenient for jumping; in the way that the first search engine is preliminarily searched by the second search engine and then integrated by the large model, various search results are obtained, the richness of the search results is improved, the large model is used to integrate and refine the second search results recalled by the second search engine, the display of the search results is more concise and in-depth, and the user satisfaction with the search results is improved; meanwhile, when the second search engine fails to search, the large model can be used for remediation, and the success rate of the search is improved.
[0141] Optionally, when the search content carried in the search request meets the preset condition, before the first panel component is displayed on the target interface in response to the first search results returned by the first search engine for the search content, the method further includes:
[0142] Before the first search results are obtained, a transition container is displayed on the upper layer of the target interface, and transition information is displayed in the transition container.
[0143] Correspondingly, displaying the first panel component on the target interface in response to the first search results returned by the first search engine for the search content includes: in response to the first search results returned by the first search engine for the search content, closing the transition container and displaying the first panel component on the target interface, so as to display the first search results by the first panel component.
[0144] In the case that the search content carried in the search request meets the preset condition, that is, meets the condition of triggering the first search engine, in addition to the solutions provided in the foregoing embodiments, in order to improve the richness of the response of the first search engine and visually reflect different stages of the response of the first search engine, a transition container can be displayed before the first panel component or the second panel component used to display the output of the first search engine is displayed, and the foregoing transition information is displayed in the transition container, so as to indicate that the first search engine is currently in a thinking state and has not obtained the first search results. After the first search engine recalls the first search results, the transition container is closed, and the foregoing first panel component or second panel component is displayed.
[0145] In some embodiments, a digital human corresponding to the first search engine can also be displayed beside the transition container.
[0146] For example, the transition information displayed in the transition container can include a text, and the content of the text can be "thinking", "let me think", or the like.
[0147] For example, the transition container can be a display box displaying the transition information, or the transition container can be a card component for displaying the transition information.
[0148] For example, the transition container can be in a capsule state, and the shape and size of the transition container can change with the progress of the first search engine.
[0149] For example, the transition container can be located in the same layer as the first panel component. The transition container can be horizontally arranged at the top of the layer, and the shape of the transition container can be a rectangle, a rounded rectangle, or other shapes.
[0150] For example, FIG. 6 is a schematic diagram of a transition container provided by an embodiment of the present disclosure. After a user inputs "restaurants with good environment nearby" in a search box of a target interface displaying an electronic map and clicks a "search" button, a search request is generated. The search content carried by the search request contains the colloquial description word "good", and thus satisfies the preset condition. Before obtaining the first search result, a transition container is displayed on the upper layer of the target interface. The style of the transition container is shown in FIG. 6. The transition container is a rectangular container, and the transition container displays the text "thinking". The right side of the transition container displays a digital human corresponding to the first search engine, and can also display some icons, such as the light bulb icon in FIG. 6, or set the background color of the transition container to the gradient color in FIG. 6.
[0151] After obtaining the second search result recalled by the second search engine and the first search result recalled by the first search engine, the displayed transition container is closed, and a search result page and the first panel component are displayed above the target interface to respectively display the second search result recalled by the second search engine and the first search result recalled by the first search engine.
[0152] In the case where the second search engine does not recall the second search result, the first search result of the search content carried by the search request can be recalled by the first search engine. After obtaining the first search result, the transition container is closed, and the first panel component is displayed above the target interface to display the first search result. If the first search engine also does not recall the search result, the transition container is closed, and the first panel component is displayed above the target interface, and the default text is displayed through the first panel component.
[0153] FIG. 7 is a flow diagram of another search interaction method provided by the embodiments of the present disclosure. As shown in FIG. 7, the embodiment is based on the foregoing embodiments, and is directed to the case of multi-round search. After a round of search is completed by the method provided by the foregoing embodiments, i.e., the result display interface of the round of search is displayed, the interaction of multi-round search can be realized by the steps provided by the embodiment. As shown in FIG. 7, the search interaction method can further include the following steps:
[0154] In step S701, in response to the interaction operation on the target interface, a new round of search request is acquired.
[0155] In step S702, in response to the first search result of the search content carried by the first search engine for the new round of search request, a second panel component covering the first panel component is displayed.
[0156] In step S703, in response to the closing or returning instruction for the second panel component, the second panel component is closed and the first panel component is displayed.
[0157] After a round of search is completed, in response to the trigger instruction of the search box of the next round of search, the auxiliary input panel component is displayed on the upper layer of the first panel component and / or the search result page displayed in the previous round of search, and the search history information is displayed through the auxiliary input panel component.
[0158] After the previous round of search is completed, i.e., the result display interface of the previous round of search is obtained, the result display interface of the previous round of search can display the first panel component and / or the search result page. When the user performs the next round of search, such as selecting the search box on the target interface again, the next round of search starts, the trigger instruction of the search box of the next round of search is generated, and the search system displays the auxiliary input panel component on the upper layer of the result display interface displayed in the previous round of search in response to the trigger instruction of the next round of search, and displays the latest or current search history information through the auxiliary input panel component.
[0159] The search history information is the search history information updated in the next round of search, which includes the search content in the previous round of search.
[0160] Further, in the next round of search, if it is detected that the user inputs the search term in the search box, the associated search information is displayed through the auxiliary input panel component in response to the search term input in the search box in the next round of search.
[0161] If the return instruction is detected before the search request of the next round of search is detected after the trigger instruction of the search box of the next round of search is received, the displayed auxiliary input panel component is closed to display the result display interface of the previous round of search.
[0162] During the next round of search, the user can issue a return instruction to return to the result display interface of the previous round of search. During the first round of search, if the user issues a return instruction, the target interface at the start of the first round of search is returned, such as the home page.
[0163] Since the auxiliary input panel component displayed during the next round of search covers the result display interface of the previous round, if the return instruction is detected after the trigger instruction of the search box of the next round of search and before the search request of the next round of search, the displayed auxiliary input panel component can be directly closed to return to the result display interface of the previous round of search. At this time, if the second search engine does not recall the second search result for the next round of search, the second search result of the previous round of search can be continued to be displayed.
[0164] By setting the auxiliary input panel component of the next round of search to cover the result display interface of the previous round during multiple rounds of search, the return of the result display interface of the previous round is facilitated, and the user operation is simplified.
[0165] During the next round of search, if the search request of the next round of search is detected, the displayed auxiliary input panel component is closed in response to the search request of the next round of search.
[0166] The search request trigger mode during different rounds of search is similar, and the search request can be generated according to the trigger mode provided in the foregoing embodiments, which will not be described herein.
[0167] If the search content carried in the search request of the next round of search meets the preset condition, a second panel component covering the first panel component displayed during the previous round of search is displayed in response to the first search result of the first search engine for the search content carried in the search request of the next round of search.
[0168] The first panel component and the second panel component are panel components used to display the first search result output by the first search engine during adjacent two rounds of search, and the display positions and layout attributes thereof can be the same, and the display content is the first search result during different rounds of search. The naming manner of the first panel component and the second panel component is only used to distinguish the order of appearance of the panel components, and is not considered as a limitation on other attributes.
[0169] The panel component used to display the first search result is different each time the search is performed, and in some embodiments, the naming of the panel component can be performed according to the number of rounds of search based on the first panel component and the second panel component. For example, the panel component used to display the first search result during the third round of search can be named as the third panel component, and the panel component used to display the first search result during the fifth round of search can be named as the fifth panel component.
[0170] The display of the second panel component covering the first panel component can be achieved by updating the display content of the same element.
[0171] To facilitate the return operation, the panel component used to display the first search results of the first search engine output in the last few searches can be stored.
[0172] Suppose that the result display interface of the last round of search displays a search result page. If the search content carried in the search request of the next round of search meets the preset condition, and the second search engine does not recall the second search results of the search content carried in the search request of the next round of search, the search result page displayed in the last round of search does not need to be updated, that is, the second panel component is displayed on the basis of the search result page displayed in the last round of search, and the first search results are displayed in the second panel component. If the search content carried in the search request of the next round of search meets the preset condition, and the second search engine recalls the second search results of the search content carried in the search request of the next round of search, in addition to the display of the second panel component, the search result page also needs to be updated, for example, by page jumping, the second search engine recalls the second search results of the search content carried in the search request of the next round of search.
[0173] If the search content carried in the search request of the next round of search does not meet the preset condition, the response of the search engine to the search request of the next round of search is displayed through the search result page.
[0174] In the multiple rounds of search, after obtaining the output of the first search engine to the search request of the next round of search or the response of the second search engine to the search request of the next round of search, the content of the corresponding part in the current result display interface is updated, for example, the first panel component is updated to the second panel component, the search result page is jumped, and the like, so as to realize the display of the search result page of the next round of search.
[0175] After the second panel component is displayed, if a return instruction or a closing instruction of the second panel component is detected, the second panel component is closed, the first panel component is loaded and displayed, and the first search results output by the first search engine in the last round of search are displayed.
[0176] Taking the first panel component and the search result page displayed in the result display interface of the last round of search as an example, if the output of the first search engine is obtained in the next round of search, the first panel component is updated to the second panel component based on the output of the first search engine; if the second search results recalled by the second search engine are obtained in the next round of search, the search result page is jumped to display the search result page corresponding to the second search results of the next round of search.
[0177] If the result display interface of the previous round does not display the search result page, after the second search result recalled by the second search engine is obtained in the next round of search, the result display interface of the next round of search displays the search result page, and the second search result is displayed through the search result page.
[0178] If the result display interface of the previous round does not display the first panel component, after the output of the first search engine, i.e., the first search result, is obtained in the next round of search, the result display interface of the next round of search displays the second panel component, and the first search result is displayed through the second panel component.
[0179] FIG. 8 is a schematic diagram of an interactive process in multiple rounds of search provided by an embodiment of the present disclosure. As shown in FIG. 8, taking the first round of search and the second round of search as examples, before the first round of search starts, the target interface displayed by the software is the homepage of the software, which includes the bottommost figure layer such as an electronic map layer, and some controls (such as controls 1 to 9) and a search box located above the figure layer. The user selects the search box of the homepage, the first round of search starts, the trigger instruction of the search box of the first round of search is obtained, and then the upper layer of the figure layer displays an auxiliary input panel component. The auxiliary input panel component displays a plurality of recent historical search contents such as HIS81 to HIS86. The user inputs a search word in the search box, and then the display content of the auxiliary input panel component is updated to the associated search words of the search word input in the search box, such as SUG811 to SUG818. After detecting the search request of the first round of search, the auxiliary input panel component is closed. Assuming that the search content carried in the search request meets the preset condition, a transition container is displayed in the upper layer of the figure layer, and the transition container displays transition information such as “thinking”. After the second search result recalled by the second search engine and the first search result output by the first search engine after integrating the second search result are obtained, the second search result is displayed through the search result page in the upper layer of the figure layer, and the first search result is displayed through the first panel component in the upper layer of the figure layer. After the first search engine outputs and displays the complete first search result, the result display interface of the first round of search is obtained, and the first round of search is completed.
[0180] Continuing to refer to FIG. 8, on this basis, if the user clicks the search box again, the next round (second round) of search is started, the trigger instruction of the search box of the second round of search is obtained, the new auxiliary input panel component is displayed on the upper layer of the result display interface of the first round of search, and the recent multiple pieces of historical search content such as HIS81 to HIS88 are displayed in the new auxiliary input panel component, wherein HIS88 is the search content when the first round of search is performed; the user inputs the search word in the search box, the display content of the new auxiliary input panel component is updated to the associated search word such as SUG821 to SUG826 of the search word that has been input in the search box; if the user clicks the back button beside the search box during the input of the search word, the new auxiliary input panel component is closed, and the result display interface of the first round of search is returned to be displayed.
[0181] If the second round of search is normally performed, the result display interface of the first round of search is not returned, after the search request of the second round of search is detected, the displayed auxiliary input panel component is closed, it is assumed that the search content carried in the search request of the second round of search also satisfies the preset condition, the transition container is displayed, it is assumed that the second search engine fails to recall the second search result of the search content of the second round of search, the search result page does not need to be updated, that is, the second search result recalled by the second search engine when the first round of search is performed is maintained to be displayed; after the first search result of the search content of the second round of search recalled by the first search engine is obtained, the first search result is displayed through the second panel component that covers the first panel component, after the first search engine outputs and displays the complete first search result, the result display interface of the second round of search is obtained. In FIG. 8, the display content of the second panel component displayed in the result display interface of the second round of search is the first search result of the search content of the second round of search recalled by the first search engine, and the display content of the search result page is the second search result recalled by the second search engine when the first round of search is performed.
[0182] Taking the correlation of search words of adjacent two rounds of search as an example, on the premise that the second search result of the next round of search does not exist, the second search result recalled by the second search engine when the last round of search is performed is maintained to be displayed, the correlation between multiple rounds of search can be established, so that the user can refer to the second search result recalled by the second search engine when the last round of search is performed, obtain the required information, or determine the search content when the next round of search is performed.
[0183] Taking an electronic map application as an example, a figure layer can display an electronic map near a location of a user. Taking a search content of a previous round of search of the user as "recommended nearby popular scenic spots" and a search content of a next round of search as "what interesting projects are there in XX scenic spot" as an example, wherein, "XX scenic spot" is an item in the second search result recalled by the second search engine in the previous round of search. Assuming that the second search engine does not recall a search result in the next round of search, since the second search result recalled by the second search engine in the previous round of search, such as a recommended popular scenic spot list, is maintained in the next round of search, the user can quickly perform multiple rounds of search by switching the scenic spot in the search content to other scenic spots in the recommended popular scenic spot list. Meanwhile, information of the scenic spots displayed in the recommended popular scenic spot list in the previous round of search can assist the user in selecting a scenic spot of interest, thereby providing convenience for the user in the next search.
[0184] Corresponding to the search interaction method provided in the foregoing embodiments, the embodiments of the present disclosure further provide a search interaction device, which comprises: a search request generation module configured to generate a search request in response to an interactive operation on a target interface; the search request carries a search content; a first panel display module configured to display a first panel component on the target interface in response to a first search result returned by a first search engine for the search content; wherein, the first panel component is configured to display the first search result.
[0185] Optionally, the search interaction device further comprises a search result page display module configured to:
[0186] display a search result page carrying the second search result on the target interface in response to a second search result returned by a second search engine for the search content.
[0187] Optionally, the first panel component is located in an upper layer of the search result page, or the first panel component and the search result page are located in the same layer.
[0188] Optionally, the search interaction device further comprises a multiple-round search interaction module configured to:
[0189] in response to an interactive operation on a target interface, acquire a new round of search request; in response to a first search result of the first search engine for a search content carried by the new round of search request, display a second panel component covering the first panel component; the second panel component is configured to display the first search result of the first search engine for the search content carried by the new round of search request; in response to a close or return instruction for the second panel component, close the second panel component and display the first panel component.
[0190] Optionally, the target interface displays an electronic map, the first panel component includes a mask layer and a display frame located on the mask layer, the mask layer has the same size as the target interface, and the display frame has a size smaller than the mask layer, and the mask layer is semi-transparent.
[0191] Optionally, the first panel component is configured to display the first search result of the first search engine for the search content and the search content.
[0192] Optionally, the first search engine is a large model-based search engine, and the search content carried in the search request includes a colloquial description word or a functional description word.
[0193] The search interaction apparatus provided by the embodiments of the present disclosure can be used to execute the search interaction method provided by the user end in any of the above embodiments of the present disclosure, and has similar implementation principles and technical effects, which will not be described here again in this embodiment.
[0194] FIG. 9 is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 9, the electronic device of the present embodiment can include at least one processor 901 and a memory 902 in communication connection with the at least one processor; wherein the memory 902 stores instructions executable by the at least one processor 901, and the instructions are executed by the at least one processor 901 to enable the electronic device to execute the method described in any of the above embodiments.
[0195] Optionally, the memory 902 can be independent or integrated with the processor 901.
[0196] The implementation principles and technical effects of the electronic device provided by the present embodiment can be referred to the above-mentioned embodiments, which will not be described here again.
[0197] The present embodiment further provides a computer readable storage medium, which stores computer execution instructions, and when a processor executes the computer execution instructions, the method described in any of the above embodiments is implemented.
[0198] The present embodiment further provides a computer program product, which includes a computer program, and when a processor executes the computer program, the method described in any of the above embodiments is implemented.
[0199] In several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other manners. For example, the embodiments of the device described above are merely schematic. For example, the division of the modules is merely a logical function division. There can be another division manner for the actual implementation. For example, a plurality of modules or features can be combined or integrated into another system, or some features can be ignored or not executed. In this way, the actual implementation can be divided into other ways.
[0200] The integrated modules with the form of software functional modules as mentioned above can be stored in a computer readable storage medium. The software functional modules stored in the storage medium can include a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods described in the various embodiments of the present disclosure.
[0201] It should be understood that the processor can be a central processing unit (CPU) or can also be other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), or the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor or the like. The steps of the methods disclosed in conjunction with the application can be directly embodied as executed by a hardware processor or be executed by a combination of hardware and software modules in the processor. The memory can include a random access memory (RAM) and can also include a non-volatile memory (NVM), such as at least one disk memory, and can also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0202] The aforementioned storage medium can be realized by any type of volatile or nonvolatile storage devices or a combination thereof, such as a Static Random-Access Memory (SRAM), an Electrically Erasable Programmable Read Only Memory (EEPROM), an Erasable Programmable Read Only Memory (EPROM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a magnetic storage, a flash memory, a magnetic disk or a optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0203] An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can be a part of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium can exist as separate components in the electronic device or the host device.
[0204] It should be noted that, in this document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0205] The above-mentioned sequence numbers of the embodiments of the present disclosure are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0206] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, or network device, etc.) execute the methods described in various embodiments of the present disclosure.
[0207] The above is only the preferred embodiment of the present disclosure, and does not limit the patent scope of the present disclosure, and any equivalent structure or equivalent flow transformation made by using the content of the present disclosure specification and drawings, or directly or indirectly applied to other related technical fields, are also included in the patent protection scope of the present disclosure.
Claims
1. A search interaction method, wherein, include: Generate a search request in response to interactive actions on the target interface; The search request carries the search content; In response to the first search result returned by the first search engine for the search content, a first panel component is displayed on the target interface; The first panel component is used to display the first search result.
2. The method according to claim 1, wherein, Also includes: In response to the second search result returned by the second search engine for the search content, a search results page carrying the second search result is displayed on the target interface.
3. The method according to claim 2, wherein, The first panel component is located on top of the search results page, or the first panel component is located on the same layer as the search results page.
4. The method according to any one of claims 1-3, wherein, The method further includes: In response to interactive actions on the target interface, a new round of search requests is obtained; In response to the first search result of the first search engine carrying the search content for the new round of search requests, a second panel component is displayed that covers the first panel component; the second panel component is used to display the first search result of the first search engine carrying the search content for the new round of search requests. In response to a close or return command for the second panel component, the second panel component is closed and the first panel component is displayed.
5. The method according to any one of claims 1-4, wherein, The target interface displays an electronic map. The first panel component includes a mask layer and a display frame located on top of the mask layer. The size of the mask layer is the same as the size of the target interface, the size of the display frame is smaller than the size of the mask layer, and the mask layer is semi-transparent.
6. The method according to any one of claims 1-5, wherein, The first panel component is used to display the first search result of the first search engine for the search content and the search content.
7. The method according to any one of claims 1-6, wherein, The first search engine is a large-model-based search engine, and the search content carried in the search request includes colloquial descriptive words or functional descriptive words.
8. A search interaction device, wherein, include: The search request generation module is used to generate search requests in response to interactive operations on the target interface. The search request carries the search content; The first panel display module is used to display the first panel component on the target interface in response to the first search result returned by the first search engine for the search content. The first panel component is used to display the first search result.
9. An electronic device, wherein, include: At least one processor; as well as A memory that is communicatively connected to the at least one processor; The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, cause the electronic device to perform the method as described in any one of claims 1-7.
10. A computer program product, wherein, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-7.
11. A computer-readable storage medium, wherein, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Content retrieval method and device, equipment and medium
CN116501960A
Information search method and device, equipment and storage medium
CN116992149A
Content display method and device based on artificial intelligence, equipment and storage medium
CN117194814A
Search result page display method and device, equipment and medium
CN118332206A
Search interaction method and device, electronic equipment and program product
CN119166883A