Searching method and device

By realizing multi-information source retrieval and automatic generation of service plug-ins in the search system, the problem of poor search results caused by errors in user-specified information source plug-ins in the prior art is solved, and higher search accuracy and user experience are achieved.

CN119903133APending Publication Date: 2025-04-29HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311375027.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

When generating search results in the existing question-and-answer search system, users need to specify the information source plug-in in advance, and the accuracy of the search results is poor when the error is specified.

Method used

By realizing multi-information source retrieval in the search system, search results with service plug-ins are generated, and the user does not need to specify the information source plug-ins in advance, thereby improving search accuracy.

Benefits of technology

Improve the accuracy and richness of search results, reduce errors in users specifying information source plug-ins, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119903133A_ABST
    Figure CN119903133A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a search method and device which are used for improving the accuracy of search results. The method comprises the steps that search content is received, wherein the search content comprises words or questions input by a user; a search result is generated based on the search content, the search result comprises a text result and a service slot position, the text result is used for displaying an answer corresponding to the search content, the service slot position is used for linking a service plug-in, the service plug-in corresponds to the search content, and the search result comprises service plug-ins from different information sources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and in particular to a search method and device. Background Art

[0002] With the development of information retrieval technology, search systems are gradually evolving towards more accurate and intelligent question-answering search systems. Question-answering search systems are an advanced form of search systems that can retrieve corresponding web documents based on the user's search content, extract and fuse the content of web documents based on deep learning models, and directly generate search results.

[0003] In the current question-and-answer search system, when the search system generates search results corresponding to the search content, the user needs to pre-specify the information source plug-in required to generate the search results, and the number of information source plug-ins that the user can specify is limited. When the user makes an error in specifying the information source plug-in, the search system can only generate search results based on the specified information source plug-in, resulting in poor accuracy of the search results. Summary of the invention

[0004] The embodiment of the present application provides a search method, in which the search system can retrieve service plug-ins corresponding to the search words through multiple information sources based on the search words, and generate search results carrying the service plug-ins, thereby improving the search accuracy of the search system. The embodiment of the present application also provides a search device, a computing device, a computing device cluster, a terminal device, a computer-readable storage medium, and a computer program product corresponding to the search method.

[0005] In the first aspect, an embodiment of the present application provides a search method, which can be executed by a search system, or by a component of the search system, such as a processor, chip or chip system of the search system, or by a logic module or software that can implement all or part of the functions of the search system. The search method provided in the first aspect includes: a search system receives search content, and the search content includes words or questions input by a user. The search system generates search results based on the search content, and the search results include text results and service slots, wherein the text results are used to display the answers corresponding to the search content, and the service slots are used to link service plug-ins, and the service plug-ins correspond to the search content. The search results include service plug-ins from different information sources, and the multiple information sources include one or more of the following: web page data, local data, historical data, and application service data.

[0006] In the embodiment of the present application, the search system can generate search results containing text and service plug-ins based on the search content input by the user, wherein the service plug-ins in the search results can be service plug-ins from different information sources. Compared with the search results generated by the current search system based on the specified service plug-in, the embodiment of the present application generates search results based on the meta-service obtained by retrieving multiple information sources, without the need to specify a service plug-in, thereby improving the accuracy of the search results.

[0007] In a possible implementation, multiple search terms are generated based on the search content, and the multiple search terms include at least one first search term, which indicates semantics not included in the search content. The multiple search terms are used to perform multi-information source retrieval, thereby retrieving service plug-ins corresponding to the search terms.

[0008] In the embodiment of the present application, the search system can generate multiple search terms based on the search content, and the multiple search terms include search terms that are potentially related to the search content. The potentially related search terms can indicate semantics that are not included in the search content, thereby expanding the search scope of the service plug-in and improving the richness of the service plug-in in the search results.

[0009] In a possible implementation manner, the multiple search terms are related to the search content and context information input by the user, and the context information includes one or more of the following: the user's historical search content and historical search results.

[0010] In the embodiment of the present application, the search system can analyze the search terms related to the user's current search content in combination with the user's historical search content and historical search results, thereby improving the accuracy of the search terms corresponding to the search content.

[0011] In one possible implementation, the search system provides a user display interface, which is used to display search content, multiple search terms, and search results. The multiple search terms are displayed before the search results. When the multiple search terms do not meet the user's search intent, the user can interrupt the search on the user display interface, or modify the search content and regenerate multiple search terms.

[0012] In the embodiment of the present application, the search system can provide a user display interface to display search content, multiple search terms and search results, thereby improving the interactive performance of the search system.

[0013] In a possible implementation, the search system selects a target service plug-in from multiple service plug-ins corresponding to the search term according to a screening rule, and the target service plug-in is used to fill the service slot, and the screening rule includes one or more of the following: user-defined screening and bidding ranking screening. Among them, user-defined screening includes user preference screening and user manual screening, and the search system fills the target service plug-in into the service slot in the search results.

[0014] In the embodiment of the present application, when a search term corresponds to multiple service plug-ins, the search system can filter out a target service plug-in from the multiple service plug-ins based on the filtering rules, and fill the target service plug-in into the corresponding service slot of the search results, thereby improving the accuracy of the target service plug-in and further improving the accuracy of the search results.

[0015] In one possible implementation, in the process of generating search results corresponding to search content based on the service plug-in, the search system generates structured search results based on a custom schema, and the custom schema defines the data format of the search results as text results with service slots. The text results are text search results generated by processing the search content input by the user based on a deep learning model. The deep learning model can be a language model based on large-scale pre-training, which can acquire language knowledge and context understanding capabilities by learning from massive text data.

[0016] In the embodiment of the present application, the search system can generate structured search results based on a custom structural pattern, and can generate text results in the search results based on a deep learning model, thereby improving the accuracy of the search results.

[0017] In a possible implementation, the search system verifies the accuracy of the search results based on the evaluation model, and the accuracy is used to indicate the relevance of the target service plug-in to the search results, including the relevance of the target service plug-in to the corresponding text results, and the matching degree between different target service plug-ins. When the accuracy is lower than a preset threshold, the target service plug-in is rescreened, and search results are generated based on the rescreened target service plug-in. When the accuracy is lower than a preset threshold, the target service plug-in is rescreened, and search results are generated based on the rescreened target service plug-in. When the accuracy is greater than or equal to the preset threshold, the search result is output.

[0018] In the embodiment of the present application, the search system can verify the accuracy of the search results based on the evaluation model, thereby improving the accuracy of the search results.

[0019] In a possible implementation, the search system displays a mark of the service slot on the display interface of the search results, and the mark is used to guide the user device to call the service plug-in corresponding to the service slot. The mark of the service slot can be marked based on font color, text highlight color display, adding a border or adding a button.

[0020] In the embodiment of the present application, the search system can highlight the service slot based on the mark of the service slot, thereby guiding the user to call the service slot and the service plug-in, thereby improving the click rate of the service slot.

[0021] In a possible implementation, the search system calls the application program interface corresponding to the service plug-in in the service slot based on the user operation on the service slot, and the user operation includes: clicking or selecting. When the user operation is clicking, after the user clicks the service slot, the search system can jump to the page of the service plug-in corresponding to the service slot in the display interface. When the user operation is selecting, after the user moves the cursor to the service slot, the search system can display detailed information of the service plug-in corresponding to the service slot in the display interface.

[0022] In the embodiment of the present application, the search system can call the service plug-in in the service slot based on the user's operation on the service slot, thereby improving the convenience of the user calling the service plug-in in the search results and further improving the user's search efficiency.

[0023] In a possible implementation, the search system recommends one or more next search contents to the user based on the search results, and the next search contents are search contents that the user may be interested in. The search system can generate corresponding search results based on the next search contents based on the user's request for the next search contents.

[0024] In the embodiment of the present application, the search system can recommend the next search content to the user based on the search results, thereby improving the search efficiency of the user.

[0025] In a possible implementation, the services provided by the service plug-in include one or more of: detail page query service, ordering service and weather service. The ordering service includes, for example, air ticket booking service, hotel booking service, ticket booking service, car rental booking service and meal ordering service.

[0026] In the embodiment of the present application, the search system can generate search results based on a variety of different types of service plug-ins, thereby improving the accuracy of the search results.

[0027] In a possible implementation, the search system identifies different types of service plug-ins based on different service slot markings. For example, the search system distinguishes query services, ordering services, and weather services based on different service slot colors.

[0028] In the embodiment of the present application, the search system can identify different types of service plug-ins based on the markings of different service slots, thereby improving the user's selection efficiency of the service plug-in.

[0029] In the second aspect, an embodiment of the present application provides a search method, which can be executed by a terminal device, or by a component of the terminal device, such as a processor, chip or chip system of the terminal device, or can be implemented by a logic module or software that can implement all or part of the functions of the terminal device. The search method provided in the first aspect includes: the terminal device displays a user display interface, and the user display interface is used to display a search input box. The terminal device receives the search content entered by the user through the search input box, and the search content includes words or questions entered by the user. In response to the user's click search operation on the search content, the terminal device displays the search results corresponding to the search content on the user display interface, and the search results include text results and service slots. The service slots are used to link service plug-ins. The service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

[0030] In an embodiment of the present application, a terminal device can provide a user display interface for search results, wherein the search results include text results and service slots, and the service slots can link service plug-ins from different information sources, thereby improving the accuracy of search results.

[0031] In a possible implementation, the terminal device displays a mark of the service slot on a user display interface, and the mark is used to guide the user to perform a user operation on the service slot, and the user operation includes: clicking or selecting.

[0032] In one possible implementation, the terminal device displays the services provided by the service plug-in corresponding to the service slot on the user display interface in response to the user's operation on the service slot, and the services provided by the service plug-in include one or more of the following: details page query service, ordering service and weather service.

[0033] In a possible implementation, the terminal device displays recommended search content on a user display interface, where the recommended search content is one or more search contents that may be of interest to the user, generated based on the search results.

[0034] In a possible implementation, in response to a user clicking operation on the recommended search content, the terminal device displays search results corresponding to the recommended search content on a user display interface, where the search results corresponding to the recommended search content include text results and service slots.

[0035] In a third aspect, an embodiment of the present application provides a search device, which includes a transceiver unit, a processing unit, and a display unit. The transceiver unit is used to receive search content, and the search content includes words or questions input by a user. The processing unit is used to generate search results based on the search content, and the search results include text results and service slots. The text results are used to display the answers corresponding to the search content. The service slots are used to link service plug-ins. The service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

[0036] In a possible implementation, the processing unit is specifically configured to generate multiple search terms based on the search content, wherein the multiple search terms include at least one first search term, and the first search term indicates a semantic meaning not included in the search content. Different information sources are searched based on the multiple search terms to obtain service plug-ins corresponding to the multiple search terms.

[0037] In a possible implementation manner, the multiple search terms are related to the search content and context information input by the user, and the context information includes one or more of the following: the user's historical search content and historical search results.

[0038] In a possible implementation, the display unit is used to provide a user display interface, and the user display interface is used to display search content, multiple search terms and search results.

[0039] In a possible implementation, the processing unit is further used to verify the accuracy of the search results based on the evaluation model, and the accuracy is used to indicate the relevance of the service plug-in to the search results. When the accuracy is lower than a preset threshold, the search results are regenerated.

[0040] In a possible implementation, the display unit is further used to display a mark of the service slot on the user display interface, where the mark is used to guide the user device to call a service plug-in corresponding to the service slot, and service slots corresponding to different types of service plug-ins have different marks.

[0041] In a possible implementation, the processing unit is further configured to call an application program interface corresponding to a service plug-in in a service slot based on a user operation on the service slot, where the user operation includes: clicking or selecting.

[0042] In a possible implementation manner, the processing unit is further configured to recommend one or more next search contents to the user based on the search results, where the next search contents are search contents that may be of interest to the user.

[0043] In a possible implementation manner, the services provided by the service plug-in include one or more of the following: detail page query service, ordering service, and weather service.

[0044] In a fourth aspect, an embodiment of the present application provides a search device, which includes a transceiver unit, a processing unit, and a display unit. Among them, the display unit is used to display a user display interface, and the user display interface is used to display a search input box. The transceiver unit is used to receive search content entered by the user through the search input box, and the search content includes words or questions entered by the user. The processing unit is used to respond to the user's click search operation on the search content, and the display unit is also used to display the search results corresponding to the search content on the user display interface. The search results include text results and service slots. The service slots are used to link service plug-ins. The service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

[0045] In a possible implementation, the display unit is further used to display a mark of the service slot on the user display interface, where the mark is used to guide the user to perform a user operation on the service slot, where the user operation includes: clicking or selecting.

[0046] In one possible implementation, the processing unit is also used to respond to user operations on the service slot, and the display unit is also used to display the services provided by the service plug-in corresponding to the service slot on the user display interface, and the services provided by the service plug-in include one or more of the following: details page query service, ordering service and weather service.

[0047] In a possible implementation, the display unit is further configured to display recommended search content on the user display interface, where the recommended search content is one or more search contents that may be of interest to the user, generated based on the search results.

[0048] In a possible implementation, the processing unit is further used to respond to a user's click operation on the recommended search content, and the display unit is further used to display the search results corresponding to the recommended search content on the user display interface, and the search results corresponding to the recommended search content include text results and service slots.

[0049] In a fifth aspect, an embodiment of the present application provides an electronic device, which includes a processor, the processor is coupled to a memory, and the processor is used to store instructions. When the instructions are executed by the processor, the electronic device executes the method described in the first aspect or any possible implementation of the first aspect, or the electronic device executes the method described in the second aspect or any possible implementation of the second aspect.

[0050] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed, the computer executes the method described in the first aspect or any possible implementation of the first aspect, or the computer executes the method described in the second aspect or any possible implementation of the second aspect.

[0051] In the seventh aspect, an embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed, the computer implements the method described in the first aspect or any possible implementation of the first aspect, or the computer implements the method described in the second aspect or any possible implementation of the second aspect.

[0052] It can be understood that the beneficial effects that can be achieved by any of the search devices, electronic devices, computer-readable media or computer program products provided above can refer to the beneficial effects in the corresponding methods and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic diagram of the system architecture of a search system provided in an embodiment of the present application;

[0054] Figure 2 A flowchart of a search method provided in an embodiment of the present application;

[0055] Figure 3 A flowchart of another search method provided in an embodiment of the present application;

[0056] Figure 4 A schematic diagram of a search display interface provided for the implementation of this application;

[0057] Figure 5 A schematic diagram of a multi-information source retrieval provided in an embodiment of the present application;

[0058] Figure 6 A schematic diagram of generating search results provided in an embodiment of the present application;

[0059] Figure 7 A schematic diagram of filling a service slot provided in an embodiment of the present application;

[0060] Figure 8 A schematic diagram of a process for generating search results provided in an embodiment of the present application;

[0061] Fig. 9 A schematic diagram of a search device provided in an embodiment of the present application;

[0062] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0063] The embodiments of the present application provide a search method and device for improving the search accuracy of a search system.

[0064] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0065] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0066] First, some terms involved in the embodiments of the present application are introduced to facilitate technical personnel in this field to understand the technical solution.

[0067] A query is a search term that a user enters into a search box when using a search system. Query terms include words and questions.

[0068] Personalized search refers to providing users with more personalized search results based on user settings and historical search records. For example, based on the existing text search, clickable buttons are added, allowing users to click to call the background service to perform related operations.

[0069] A service slot is a variable in the search results that is used to store related service plugins or data. For example, if a user wants to book a flight, a button can be used as a service slot, and clicking the button can call the related ticket booking service. In a broad sense, a service slot can be a variable that stores any information, such as a variable that stores user input information. A service slot can be optional content in the search results, and a service slot can be set with a default value.

[0070] Context refers to the user's historical query terms, the search results returned by the search system, and other related information.

[0071] Conversational search refers to a search system that adds multi-round dialogue capabilities to question-and-answer search. The search system can understand the context, thereby realizing multi-round continuous question-and-answer functions.

[0072] Query generation means that the search system outputs one or more search terms that are easier for the search system to understand based on the query terms and context entered by the user. For example, the user enters the query term "I am leaving for Xinjiang for a trip tomorrow, please help me plan my trip." The search system query generation outputs "Xinjiang travel guide", "Xinjiang folk customs", "Xinjiang weather" and "Xinjiang air tickets".

[0073] In order to make the technical solution of the present application clearer and easier to understand, the system architecture of the present application is introduced below with reference to the accompanying drawings.

[0074] See also Figure 1 , Figure 1 A schematic diagram of the system architecture of a search system provided as an example of this application. Figure 1 In the example shown, the search system 10 includes a terminal device 100 and a server 200, wherein the server 200 includes a query generation module 201, an answer generation module 202 and a service slot filling module 203. The functions of each part of the search system 10 are described in detail below.

[0075] The terminal device 100 is used to provide the user with an electronic device for using the search system. A browser and a search application can be deployed in the terminal device 100, and the browser and the search application can call the interface of the search engine in the server 200. Specifically, the user can access the search engine in the server 200 through the browser or the search application on the terminal device 100, thereby completing the search for the search content input by the user. The search content input by the user can be a word or a question.

[0076] The terminal device 100 is also used to provide a display interface for search results. The display interface is used to display the search results generated by the search engine in the server 200 based on the search content, wherein the search results include text results and service slots. The user can view the search results through the display interface, and can also click on the service slots in the search results through the display interface to directly access the corresponding service. At the same time, the user can also realize the function of continuing the search through the display interface.

[0077] The terminal device 100 in the embodiment of the present application can be an electronic device such as a mobile phone, a computer, a tablet computer, a laptop computer, a netbook, a personal digital assistant (PDA), a wearable electronic device, a smart watch, etc., without specific limitation.

[0078] The server 200 is used to provide a search engine for users and generate search results based on the search content input by the user. Specifically, the server 200 identifies the search term based on the search content input by the user, and searches multiple information sources based on the identified search term to obtain the meta-service corresponding to the search term. The server 200 generates the search result corresponding to the search content based on the meta-service, and the search result includes the service slot of the service plug-in.

[0079] The query generation module 201 is used to determine the search term according to the search content input by the user, and perform multi-information source retrieval based on the search term to determine one or more service plug-ins corresponding to the search term. The multi-information source includes one or more of the following: web page data, local data, historical data and application service data, historical data such as historical search content and historical search results, application service data such as news applications, weather applications, stock applications and question-and-answer box applications, etc.

[0080] The answer generation module 202 is used to generate search results with service slots according to the search content input by the user. Specifically, the answer generation module 202 generates text results of the search results based on the deep learning model, and generates service slots at corresponding positions of the text results based on the search terms determined by the query generation module 201.

[0081] The service slot filling module 203 is used to fill the service slots in the search results generated by the answer generation module 202 with service plug-ins. Specifically, the service slot filling module 203 can determine the service plug-ins that need to fill the service slots from one or more service plug-ins corresponding to the search terms. Specifically, the service slot filling module 203 can determine the service plug-ins that need to fill the service slots based on user-defined screening or competitive ranking screening.

[0082] It should be noted that in some possible system architectures, all or part of the functions implemented by the server 200 in the above-mentioned search system 10 in the search method can also be implemented in the terminal device 100, and all or part of the functions implemented by the terminal device 100 in the search method can also be implemented in the server 200, and this embodiment of the present application does not limit this.

[0083] In addition to personalized search, the search system 10 provided in the embodiment of the present application can also be applied to application scenarios such as voice assistants, virtual assistants, and conversational robots, without specific limitation.

[0084] based on Figure 1 The present application also provides a search method for the search system 10 shown. The search method provided by the present application embodiment is introduced below in conjunction with the embodiment.

[0085] See also Figure 2 , Figure 2 A flowchart of a search method provided in an embodiment of the present application. Figure 2 In the example shown, the method includes the following steps:

[0086] 201. The terminal device 100 sends the search content input by the user to the server 200.

[0087] The user inputs the search content through the user display interface provided by the terminal device 100. The search content is the query input by the user, and the search content includes the words or questions input by the user. The terminal device 100 sends a search request to the server 200, and the search request includes the search content input by the user.

[0088] 202. The server 200 generates a plurality of search terms based on the search content, the plurality of search terms including at least one first search term, the first search term indicating semantics not included in the search content.

[0089] The server 200 identifies search terms based on the search content input by the user, and obtains multiple search terms, wherein the multiple search terms include at least one first search term, and the first search term indicates semantics that are not included in the search content. That is, multiple search terms can indicate search terms that are not included in the search content but may be potentially associated with the search content. This enables the server 200 to further search for service plug-ins based on the search terms, and retrieve service plug-ins that the user may need. In the embodiment of the present application, the search terms can also be understood as sub-query terms obtained by analyzing the potential search intent based on the query terms.

[0090] Specifically, during the process of searching word recognition, the server 200 can search based on the search content and context information input by the user to determine multiple search words, wherein the context information includes one or more of the following: user historical search content and historical search results.

[0091] See also Figure 3 , Figure 3 A flowchart based on a search method is provided in an embodiment of the present application. Figure 3 In steps a to b shown, after the user inputs the search content through the terminal device 100, the terminal device 100 sends the search content to the server 200. The server 200 performs user intent analysis based on the search content and context information, and determines one or more search terms corresponding to the user intent.

[0092] See also Figure 4 , Figure 4 A schematic diagram based on a user display interface provided in an embodiment of the present application. Figure 4In the example shown, the search content input by the user is such as "I am leaving for Xinjiang for a trip tomorrow, please help me plan my trip." After receiving the search term input by the user, the server 200 analyzes the user's search intent based on the search content and generates one or more search terms. The search terms generated by the server 200 are such as "Xinjiang travel guide", "Xinjiang folk customs", "Xinjiang weather" and "Xinjiang air tickets". Among them, the search content "I am leaving for Xinjiang for a trip tomorrow, please help me plan my trip." does not include semantics such as "Xinjiang folk customs", "Xinjiang weather" and "Xinjiang air tickets". The server 200 identifies "Xinjiang folk customs", "Xinjiang weather" and "Xinjiang air tickets" as search terms that are potentially related to the search content.

[0093] exist Figure 4 In the example shown, during the process of generating search terms, the server 200 performs search intent analysis based on the search content and context information input by the user to determine the user's search intent. For example, before searching for "I am leaving for Xinjiang for a trip tomorrow, please help me plan my trip.", the user also searched for information such as "What is the weather in Xinjiang" and "What ethnic minorities are there in Xinjiang". Based on the search content "I am leaving for Xinjiang for a trip tomorrow, please help me plan my trip." and context information, the server 200 can determine that the user's possible search intent is to search for travel guides, folk customs, weather, and air tickets related to Xinjiang. Therefore, the server 200 generates the search terms "Xinjiang travel guide", "Xinjiang folk customs", "Xinjiang weather", and "Xinjiang air tickets" based on the above search intents.

[0094] 203. The server 200 sends multiple search words to the terminal device 100.

[0095] After the server 200 obtains multiple search words according to the search content input by the user, it sends the generated multiple search words to the terminal device 100. The terminal device 100 first searches for multiple search words corresponding to the content on the user display interface.

[0096] Please continue reading Figure 4 ,exist Figure 4 In the example shown, when the user enters the search content in the search box of the user display interface and clicks the search operation, the server 200 can determine multiple search terms based on the search content and context information, and display the search terms on the search display interface. For example, the user enters the search content "I will travel to Xinjiang tomorrow, please help me plan the itinerary." and clicks the search operation, and the user display interface displays multiple search terms corresponding to the search content, "Xinjiang folk customs", "Xinjiang weather" and "Xinjiang air tickets".

[0097] 204. The server 200 searches different information sources based on the multiple search terms to obtain service plug-ins corresponding to the multiple search terms.

[0098] After the server 200 identifies multiple search terms from the search content, the server 200 performs a multi-information source search based on the search terms to obtain multiple service plug-ins corresponding to the search terms. The service plug-ins provide services such as detail page query service, ordering service and weather service, among which the ordering services include air ticket booking service, hotel booking service, attraction ticket booking service and meal ordering service.

[0099] The multiple information sources include one or more of the following: web page data, local data, historical data, and application service data. Web page data includes text, images, and links in a browser, local data includes data stored in the terminal device 100, historical data includes historical search content and historical search results, and application service data includes data provided by different applications, such as news applications, weather applications, and stock applications.

[0100] Please continue reading Figure 3 ,exist Figure 3 In step c of the example shown, after the server 200 determines one or more search terms, the server 200 performs a multi-information source search for each search term to determine multiple service plug-ins corresponding to the search term. For example, after the server 200 determines that the search term is "Xinjiang air tickets", the server 200 searches for meta-services related to "Xinjiang air tickets" in different information sources, and the server 200 retrieves one or more service plug-ins that can provide ticket booking services.

[0101] See also Figure 5 , Figure 5 A schematic diagram of a search system for performing multi-information source retrieval provided in an embodiment of the present application. Figure 5 In the example shown, after the server 200 determines one or more search terms based on the search content, it performs a multi-information source search on the search terms. For example, the server 200 searches for the search terms "Xinjiang travel guide", "Xinjiang folk customs", "Xinjiang weather" and "Xinjiang air tickets" in information sources such as web page data, local data, and application service data to obtain one or more meta-services corresponding to the search terms.

[0102] exist Figure 5In the example shown, the service plug-in 1 retrieved by the server 200 based on the search term "Xinjiang travel guide" is a detail page query service plug-in, such as a web link for a travel introduction, and the service plug-in 2 retrieved by the server 200 based on the search term "Xinjiang folk customs" is a detail page query service plug-in, such as a web link for an introduction to ethnic customs. The service plug-in 3 retrieved by the server 200 based on the search term "Xinjiang weather" is a weather service plug-in, such as a weather application that provides weather forecast services for various cities in Xinjiang, and the service plug-in 4 retrieved by the server 200 based on the search term "Xinjiang air tickets" is a reservation service plug-in, such as a Xinjiang-related flight reservation service provided by a ticket booking application.

[0103] It should be noted that, in the embodiment of the present application, the server 200 does not rely on the description document of the service plug-in to determine the service plug-in corresponding to the search term, but instead performs a real-time online search of multiple information sources. At the same time, the server 200 in the embodiment of the present application does not limit the number of information sources for multi-information source retrieval.

[0104] 205. The server 200 generates search results based on the search content and the service plug-in corresponding to the search term. The search results include text and a service slot, and the service slot is used to link the service plug-in.

[0105] After server 200 obtains the service plug-in based on the search term, server 200 generates search results corresponding to the search content based on the service plug-in, wherein the search results include text results and service slots, the text results are used to display the answers corresponding to the search content generated based on the deep learning model, and the service slots are used to fill in the service plug-in obtained based on the multi-information source retrieval.

[0106] Specifically, in the process of the server 200 generating search results corresponding to the search content based on the service plug-in, the server 200 generates structured search results based on a custom schema, and the custom schema defines the data format of the search results as text results with service slots. Among them, the text results are text search results generated by the server 200 processing the search content input by the user based on the deep learning model. The deep learning model can be a language model based on large-scale pre-training, and the deep learning model can acquire language knowledge and context understanding capabilities by learning from massive text data.

[0107] At the same time, the server 200 identifies the text associated with the search term in the text result, and generates a service slot at the corresponding position, which is used to fill the service plug-in corresponding to the search term. For different types of service plug-ins, the server 200 can use different service slot tags to distinguish different types of service plug-ins.

[0108] See also Figure 6 , Figure 6 A schematic diagram of a server generating search results provided in an embodiment of the present application. Figure 6 In the example shown, Figure (a) shows the service plug-ins retrieved by the server 200 based on the search term, and the meta-services provided by different service plug-ins are, for example, detail page query service, weather server, and ticket booking service. Figure (b) shows the search results with service slots generated by the server 200, where the text results of the search results are, for example, "route introduction", "item preparation", and precautions, etc., and the service slots are, for example, slot boxes embedded in the text results. The service slots of the search results in Figure (b) have not yet been filled with service plug-ins.

[0109] exist Figure 6 In the example shown, Figure (c) is the search result after the service slots are filled. The filled service slots include service plug-ins such as "Learn More", "Book" and "Buy" embedded in the text results. Users can obtain meta-services corresponding to the service plug-ins based on these service slots. For example, when a user needs to book a "5-day 4-night northern route", the user can directly obtain meta-services such as air ticket booking service, hotel booking service and car rental service through the service slot corresponding to the "5-day 4-night northern route".

[0110] It should be noted that when the server 200 performs multi-information source retrieval based on a search term, when a search term retrieves multiple corresponding service plug-ins, the server 200 selects a target service plug-in from the multiple service plug-ins corresponding to the search term according to the screening rules. The target service plug-in is used to fill the service slot, and the screening rules include one or more of the following: user-defined screening and bidding ranking screening. User-defined screening includes screening based on user historical preferences and user manual screening. After the server 200 screens and obtains the target service plug-in, it fills the target service plug-in into the service slot in the search results.

[0111] Please continue reading Figure 3 ,exist Figure 3 In steps d to f of the example shown, the server 200 generates search results based on filling of service slots, and verifies the accuracy of the search results based on the evaluation model. When the accuracy of the search results is greater than a preset threshold, the server 200 outputs the search results on the display interface.

[0112] See also Figure 7 , Figure 7 A schematic diagram of a server filling a service slot provided in an embodiment of the present application. Figure 7 In the example shown, the server 200 can filter out a target service plug-in from a plurality of candidate services corresponding to the search term based on a filtering rule.

[0113] exist Figure 7 In the example shown, taking the air ticket service as an example, if the screening rule is based on user historical preference screening, if the user expresses in the historical conversation that he does not like to travel in the morning, the server 200 will screen noon or afternoon flights from the multiple flights corresponding to the search term as the target service plug-in. If the screening rule is manual screening by the user, when the user specifies a flight from 12:00 to 15:00, the server 200 will screen flights from 12:00 to 15:00 from the multiple flights corresponding to the search term as the target service plug-in. If the screening rule is screening in the form of bidding ranking, the server 200 determines the corresponding flight as the target service plug-in based on the comprehensive rules of bidding ranking.

[0114] In a possible implementation, after the server 200 generates the search results, the server 200 needs to optimize the content of the search results. Specifically, the server 200 inputs the search results including the text results and the service slots into the evaluation model, which can verify the accuracy of the search results, wherein the accuracy is used to indicate the relevance between the target service plug-in and the text results in the search results, and the matching degree between different target service plug-ins. When the accuracy is lower than the preset threshold, the server 200 re-screens the target service plug-in and regenerates the search results.

[0115] See also Figure 8 , Figure 8 A schematic diagram of a process flow of a server generating search results provided in an embodiment of the present application. Figure 8 In the example shown, after the server 200 generates a search result with a service slot, the server 200 needs to retrieve multiple candidate service plug-ins based on multiple information sources to fill the service slot in the search result.

[0116] exist Figure 8 In the example shown, before filling the service slot, the server 200 selects a target service plug-in from multiple candidate service plug-ins based on user-defined filtering or competitive ranking filtering, and fills the target service plug-in into the service slot in the search results.

[0117] exist Figure 8 In the example shown, after the server 200 fills the target service plug-in into the service slot of the search result, it further optimizes the content of the search result including the text result and the service slot. Specifically, the server 200 verifies the accuracy of the search result based on the evaluation model. If the accuracy is lower than the preset threshold, the server 200 re-screens the target service plug-in and generates the search result. The accuracy of the search result includes the relevance between the text result and the target service plug-in in the search result, and the matching degree between different target service plug-ins in the search result.

[0118] exist Figure 8 In the example shown, the search results for the air ticket booking meta-service show that the flight is booked on May 10, while the search results for the scenic spot ticket booking service show that the booking time for the scenic spot ticket is May 9. The air ticket booking service does not match the scenic spot ticket booking service, so the meta-server 200 re-screens the target service plug-in and generates search results. The regenerated search results for the scenic spot ticket booking service show the scenic spot ticket booking service on or after May 10.

[0119] 206. The server 200 sends the search results to the terminal device 100.

[0120] After the server 200 generates search results according to the search content, the server 200 sends the search results to the terminal device 100 .

[0121] 207. The terminal device 100 displays the search results corresponding to the search content on the user display interface.

[0122] The terminal device 100 searches for search results corresponding to the content on the user display interface. The search results include text and service slots, wherein the text results are used to display the answers corresponding to the search content, and the service slots are used to link service plug-ins. The service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources. In one possible implementation, the terminal device 100 displays a mark of the service slot on the user display interface of the search results, and the mark is used to guide the user device to call the meta-service corresponding to the service slot. The mark of the service slot can highlight the mark of the service slot based on font color, text highlight color display, adding a border to the text, or adding a button.

[0123] Please continue reading Figure 4 ,exist Figure 4 In the example shown, the terminal device 100 generates a search result in which the service slot mark highlights the service slot filled with the meta-service. For example, after the text result "The southern route is mainly desert, next door, ancient city, and folk customs" of the search result, a border is added by text to display the service slot "Learn more". For another example, after the text result "You can choose a 7-day and 6-night southern route" of the search result, a border is added by text to display the service slot "Book".

[0124] In a possible implementation, the terminal device 100 calls the application program interface corresponding to the meta-service in the service slot based on the user operation on the service slot, and the user operation includes: clicking or selecting. For example, when the user operation is a click, after the user clicks the service slot, the terminal device 100 can jump to the meta-service page corresponding to the service slot in the display interface. When the user operation is a selection, after the user's cursor moves to the service slot, the terminal device 100 can display the detailed information of the meta-service corresponding to the service slot in the display interface.

[0125] Please continue reading Figure 3 ,exist Figure 3 In step g of the illustrated example, after the user display interface outputs the search results with the service slot, the user can click on the service slot or obtain the corresponding meta-service. Even if the user does not click on the service slot or obtain the corresponding meta-service, the server 200 can use the output search results as context information to perform user intent analysis in the next search and determine the corresponding search term of the user's intent.

[0126] Please continue reading Figure 4 ,exist Figure 4 In the example shown, the terminal device 100 calls the application program interface corresponding to the service plug-in in the service slot based on the user's operation on the service slot. For example, the user moves the cursor to the service slot "Learn more" after the text result "The southern route is mainly desert, next door, ancient city, and folk customs", and the server 200 can display more detailed routes of the southern route in the display interface. For another example, the user clicks on the service slot "Book" after the text result "You can choose a 7-day and 6-night southern route" in the search result, and the terminal device 100 can jump to the air ticket booking service and hotel booking service related to the southern route in the display interface.

[0127] exist Figure 4 In the example shown, a service slot that can call meta-services in batches is also provided in the user display interface of the terminal device 100. For example, the user display interface displays "one-click reservation" and "one-click purchase" service slots, and the user can call all "reservation" meta-services in the search results through the "one-click reservation" service slot, thereby realizing batch calling of meta-services.

[0128] In a possible implementation, after the server 200 generates search results, the server 200 recommends one or more next search contents to the user based on the search results, and the next search contents are search contents that the user may be interested in. The terminal device 100 displays the recommended search contents on the user display interface, and the recommended search contents are the one or more search contents that the user may be interested in generated by the server 200 based on the search results.

[0129] Please continue reading Figure 4 ,exist Figure 4 In the example shown, after the server 200 generates search results including text results and service slots, the server 200 recommends to the user one or more content that the user may search for next time based on the search results. For example, after the server 200 generates search results for the search content "I'm going to travel to Xinjiang tomorrow, please help me plan my itinerary", the server 200 can also recommend other search content to the user based on the search results. For example, the server 200 recommends "Can you recommend other places to me?", "What to eat in Xinjiang" and "Book the most beautiful homestays in Xinjiang" on the user display interface of the terminal device 100.

[0130] It can be seen from the above embodiments that the search system in the embodiments of the present application can identify search terms based on the search content input by the user, and perform multi-information source retrieval on the search terms, determine the meta-service corresponding to the search terms, and thus generate search results containing text and meta-services, thereby improving the accuracy of the search results and search efficiency.

[0131] Based on the above method embodiment, the embodiment of the present application further provides a search device. The following specifically introduces the meta-service-based search device provided by the embodiment of the present application.

[0132] See also Fig. 9 , Fig. 9 A schematic diagram of the structure of a search device provided in an embodiment of the present application. Fig. 9 In the example shown, the search device 900 is used to implement the steps performed by the terminal device 100 or the server 200 in the above embodiments. The search device 900 includes a transceiver unit 901 , a processing unit 902 and a display unit 903 .

[0133] In some optional implementations of the present application, the search device 900 is used to implement the steps performed by the server 200 in the above embodiments. The following is a detailed description:

[0134] When the search device 900 is used to implement the steps performed by the server 200 in the above embodiments, the transceiver unit 901 is used to receive search content, which includes words or questions input by the user. The processing unit 902 is used to generate search results based on the search content, and the search results include text results and service slots. The text results are used to display the answers corresponding to the search content, and the service slots are used to link service plug-ins. The service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

[0135] In a possible implementation, the processing unit 902 is specifically configured to generate multiple search terms based on the search content, wherein the multiple search terms include at least one first search term, and the first search term indicates a semantic meaning not included in the search content. Different information sources are searched based on the multiple search terms to obtain service plug-ins corresponding to the multiple search terms.

[0136] In a possible implementation manner, the multiple search terms are related to the search content and context information input by the user, and the context information includes one or more of the following: the user's historical search content and historical search results.

[0137] In a possible implementation, the display unit 903 is used to provide a user display interface, and the user display interface is used to display search content, multiple search terms and search results.

[0138] In a possible implementation, the processing unit 902 is further configured to verify the accuracy of the search results based on the evaluation model, and the accuracy is used to indicate the relevance of the service plug-in to the search results. When the accuracy is lower than a preset threshold, the search results are regenerated.

[0139] In a possible implementation, the display unit 903 is also used to display a mark of the service slot on the user display interface, where the mark is used to guide the user device to call the service plug-in corresponding to the service slot, and different types of service plug-ins have different marks on the service slots.

[0140] In a possible implementation, the processing unit 902 is further configured to call an application program interface corresponding to a service plug-in in a service slot based on a user operation on the service slot, where the user operation includes: clicking or selecting.

[0141] In a possible implementation, the processing unit 902 is further configured to recommend one or more next search contents to the user based on the search results, where the next search contents are search contents that the user may be interested in.

[0142] In a possible implementation manner, the services provided by the service plug-in include one or more of the following: detail page query service, ordering service, and weather service.

[0143] It should be noted that when the search device 900 is used to implement the steps performed by the server 200 in the above embodiments, the processing unit 902 may include the above Figure 1 The query generation module, answer generation module and service slot filling module in the illustrated embodiment.

[0144] In some optional implementations of the present application, the search device 900 is used to implement the steps performed by the terminal device 100 in the above embodiments. The following is a detailed description:

[0145] When the search device 900 is used to implement the various steps performed by the terminal device 100 in the above-mentioned embodiments, the display unit 903 is used to display the user display interface, and the user display interface is used to display the search input box. The transceiver unit 901 is used to receive the search content entered by the user through the search input box, and the search content includes the words or questions entered by the user. The processing unit 902 is used to respond to the user's click search operation on the search content, and the display unit 903 is also used to display the search results corresponding to the search content on the user display interface. The search results include text results and service slots. The service slots are used to link service plug-ins. The service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

[0146] In a possible implementation, the display unit 903 is further configured to display a mark of the service slot on the user display interface, where the mark is used to guide the user to perform a user operation on the service slot, where the user operation includes: clicking or selecting.

[0147] In one possible implementation, the processing unit 902 is also used to respond to user operations on the service slot, and the display unit 903 is also used to display the services provided by the service plug-in corresponding to the service slot on the user display interface, and the services provided by the service plug-in include one or more of the following: details page query service, ordering service and weather service.

[0148] In a possible implementation, the display unit 903 is further configured to display recommended search content on the user display interface, where the recommended search content is one or more search contents that may be of interest to the user, generated based on the search results.

[0149] In a possible implementation, the processing unit 902 is further used to respond to a user's click operation on the recommended search content, and the display unit 903 is further used to display the search results corresponding to the recommended search content on the user display interface, and the search results corresponding to the recommended search content include text results and service slots.

[0150] It should be understood that the division of the units in the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And the units in the device can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some units can also be implemented in the form of software calling through processing elements, and some units can be implemented in the form of hardware. For example, each unit can be a separately established processing element, or it can be integrated in a certain chip of the device. In addition, it can also be stored in the memory in the form of a program, and called and executed by a certain processing element of the device. The function of the unit. In addition, all or part of these units can be integrated together, or they can be implemented independently. The processing element described here can also be a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each unit above can be implemented by an integrated logic circuit of hardware in the processor element or in the form of software calling through a processing element.

[0151] It is worth noting that, for the above method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required for the present application.

[0152] Other reasonable step combinations that can be thought of by those skilled in the art based on the above description also fall within the scope of protection of this application. Secondly, those skilled in the art should also be familiar with the fact that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by this application.

[0153] See also Fig.10 , Fig.10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device 1000 includes: a processor 1001, a memory 1002, a communication interface 1003 and a bus 1004. The processor 1001, the memory 1002 and the communication interface 1003 are coupled via a bus (not marked in the figure). The memory 1002 stores instructions. When the execution instructions in the memory 1002 are executed, the electronic device 1000 executes the method executed by the terminal device 100 or the server 200 in the above method embodiment.

[0154] The electronic device 1000 may be one or more integrated circuits configured to implement the above method, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA), or a combination of at least two of these integrated circuit forms. For another example, when the unit in the device can be implemented in the form of a processing element scheduler, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0155] The processor 1001 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.

[0156] The memory 1002 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0157] The memory 1002 stores executable program codes, and the processor 1001 executes the executable program codes to respectively implement the functions of the aforementioned identification unit 901, the retrieval unit 902, and the processing unit 903, thereby implementing the aforementioned meta-service-based search method. That is, the memory 1002 stores instructions for executing the aforementioned meta-service-based search method.

[0158] The communication interface 1003 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the electronic device 1000 and other devices or a communication network.

[0159] In addition to the data bus, the bus 1004 may also include a power bus, a control bus, a status signal bus, etc. The bus may be a peripheral component interconnect express (PCIe) bus, or an extended industry standard architecture (EISA) bus, a unified bus (Ubus or UB), a compute express link (CXL), a cache coherent interconnect for accelerators (CCIX), etc. The bus may be divided into an address bus, a data bus, a control bus, etc.

[0160] In another embodiment of the present application, a computer-readable storage medium is also provided, in which computer execution instructions are stored. When the processor of the device executes the computer execution instructions, the device executes the method executed by the terminal device 100 or the server 200 in the above method embodiment.

[0161] In another embodiment of the present application, a computer program product is further provided, the computer program product comprising computer executable instructions, the computer executable instructions being stored in a computer readable storage medium. When the processor of the device executes the computer executable instructions, the device executes the method executed by the terminal device 100 or the server 200 in the above method embodiment.

[0162] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0163] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0164] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0165] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0166] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A search method, characterized in that: include: receiving search content, wherein the search content includes words or questions input by a user; Search results are generated based on the search content, and the search results include text results and service slots. The text results are used to display answers corresponding to the search content, and the service slots are used to link service plug-ins. The service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

2. The method according to claim 1, characterized in that: The method further comprises: generating a plurality of search terms based on the search content, wherein the plurality of search terms include at least one first search term, and the first search term indicates semantics not included in the search content; The different information sources are searched based on the multiple search terms to obtain service plug-ins corresponding to the multiple search terms.

3. The method according to claim 2, characterized in that The multiple search terms are related to search content input by the user and context information, and the context information includes one or more of the following: user historical search content and historical search results.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: A user display interface is provided, wherein the user display interface is used to display the search content, the multiple search terms and the search results.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Verifying the accuracy of the search results based on the evaluation model, wherein the accuracy is used to indicate the relevance of the service plug-in to the search results; When the accuracy is lower than a preset threshold, the search result is regenerated.

6. The method according to claim 4, characterized in that The method further comprises: The mark of the service slot is displayed on the user display interface, and the mark is used to guide the user device to call the service slot corresponding to the service plug-in, which is different from the mark of the service slot corresponding to the service slot.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Based on the user operation on the service slot by the user, an application program interface corresponding to the service plug-in in the service slot is called, and the user operation includes: clicking or selecting.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: One or more next search contents are recommended to the user according to the search results, and the next search contents are search contents that the user may be interested in.

9. The method according to any one of claims 1 to 8, characterized in that The services provided by the service plug-in include one or more of the following: detail page query service, ordering service and weather service.

10. A search method, characterized in that: The method comprises: Displaying a user display interface, wherein the user display interface is used to display a search input box; Receiving search content input by a user through the search input box, wherein the search content includes a term or question input by the user; In response to the user's click search operation on the search content, search results corresponding to the search content are displayed on the user display interface, the search results include text results and service slots, the service slots are used to link service plug-ins, the service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

11. The method according to claim 10, characterized in that The method further comprises: The mark of the service slot is displayed on the user display interface, and the mark is used to guide the user to perform a user operation on the service slot, and the user operation includes: clicking or selecting.

12. The method according to claim 11, characterized in that The method further comprises: In response to the user operation on the service slot, the service provided by the service plug-in corresponding to the service slot is displayed on the user display interface, and the services provided by the service plug-in include one or more of the following: detail page query service, ordering service and weather service.

13. The method according to any one of claims 10 to 12, characterized in that The method further comprises: Recommended search content is displayed on the user display interface, where the recommended search content is search content that one or more users may be interested in, generated based on the search results.

14. The method according to claim 13, characterized in that The method further comprises: In response to the user clicking on the recommended search content, the search results corresponding to the recommended search content are displayed on the user display interface, and the search results corresponding to the recommended search content include the text result and the service slot.

15. A search device, characterized in that: include: A transceiver unit, configured to receive search content, wherein the search content includes a term or question input by a user; A processing unit is used to generate search results based on the search content, the search results include text results and service slots, the text results are used to display answers corresponding to the search content, the service slots are used to link service plug-ins, the service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

16. The device according to claim 15, characterized in that The processing unit is specifically used for: generating a plurality of search terms based on the search content, wherein the plurality of search terms include at least one first search term, and the first search term indicates semantics not included in the search content; The different information sources are searched based on the multiple search terms to obtain service plug-ins corresponding to the multiple search terms.

17. The device according to claim 16, characterized in that The multiple search terms are related to search content input by the user and context information, and the context information includes one or more of the following: user historical search content and historical search results.

18. The device according to any one of claims 15 to 17, characterized in that The device also includes: The display unit is used to provide a user display interface, wherein the user display interface is used to display the search content, the multiple search terms and the search results.

19. The device according to any one of claims 15 to 18, characterized in that The processing unit is also used for: Verifying the accuracy of the search results based on the evaluation model, wherein the accuracy is used to indicate the relevance of the service plug-in to the search results; When the accuracy is lower than a preset threshold, the search result is regenerated.

20. The device according to claim 18, characterized in that The display unit is also used for: The mark of the service slot is displayed on the user display interface, and the mark is used to guide the user device to call the service plug-in corresponding to the service slot. The service slots corresponding to different types of service plug-ins have different marks.

21. The device according to any one of claims 15 to 20, characterized in that: The processing unit is also used for: Based on the user operation on the service slot by the user, an application program interface corresponding to the service plug-in in the service slot is called, and the user operation includes: clicking or selecting.

22. The device according to any one of claims 15 to 21, characterized in that: The processing unit is also used for: One or more next search contents are recommended to the user according to the search results, and the next search contents are search contents that the user may be interested in.

23. The device according to any one of claims 15 to 22, characterized in that The services provided by the service plug-in include one or more of the following: detail page query service, ordering service and weather service.

24. A search device, characterized in that: The device comprises: A display unit, used to display a user display interface, wherein the user display interface is used to display a search input box; A transceiver unit, configured to receive search content input by a user through the search input box, wherein the search content includes a term or question input by the user; The processing unit is used to respond to the user's click search operation on the search content, and the display unit is also used to display the search results corresponding to the search content on the user display interface, the search results include text results and service slots, the service slots are used to link service plug-ins, the service plug-ins correspond to the search content, and the search results include service plug-ins from different information sources.

25. The device according to claim 24, characterized in that The display unit is also used for: The mark of the service slot is displayed on the user display interface, and the mark is used to guide the user to perform a user operation on the service slot, and the user operation includes: clicking or selecting.

26. The device according to claim 25, characterized in that The processing unit is also used for: In response to the user's operation on the service slot, the display unit is also used to display the services provided by the service plug-in corresponding to the service slot on the user display interface, and the services provided by the service plug-in include one or more of the following: details page query service, ordering service and weather service.

27. The device according to any one of claims 24 to 26, characterized in that The display unit is also used for: Recommended search content is displayed on the user display interface, where the recommended search content is search content that one or more users may be interested in, generated based on the search results.

28. The device according to claim 27, characterized in that The processing unit is also used for: In response to the user clicking on the recommended search content, the display unit is further configured to display search results corresponding to the recommended search content on the user display interface, where the search results corresponding to the recommended search content include the text results and the service slot.

29. An electronic device, characterized in that: The invention comprises a processor coupled to a memory, wherein the processor is used to store instructions, and when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 9, or the computing device executes the method according to any one of claims 10 to 14.

30. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed, the computer is caused to execute the method according to any one of claims 1 to 9, or the computer is caused to execute the method according to any one of claims 10 to 14.

31. A computer program product, comprising instructions, characterized in that: When the instructions are executed, the computer implements the method according to any one of claims 1 to 9, or the computer implements the method according to any one of claims 10 to 14.

Citation Information

Cited By

  • Search method and apparatus

    EP4787184A1

  • Search method and apparatus

    WO2025082399A1