Entity search result display method, entity search result generation method, entity search result display device, entity search result generation device, equipment and medium
By displaying sub-search results corresponding to user search needs in the search result page partition, the problem of low accuracy of entity search results in the prior art is solved, and higher search result accuracy and user experience are achieved.
Patent Information
- Application Number
- CN202311091578.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, the search results of entity classes are not accurate, especially because the search terms are short and the information provided is limited, resulting in the returned results that may only be literally related, but the accuracy is not high.
By responding to the user's search operation, the first search result corresponding to the target search term is obtained from the server, and the first search result is displayed in the result display area of the search result page. The first search result includes at least one sub-search result, and different sub-search results correspond to different target search requirements, and are displayed in different sub-expression areas of the result display area according to the demand intensity.
It improves the accuracy and practicality of entity search results, displays search results through partitions, meets users' diverse search needs and improves users' search experience.
Smart Images

Figure CN119537716A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method for displaying, a method for generating, an apparatus, a device, and a medium for displaying entity search results. Background Art
[0002] Entity search refers to searching for an entity object, such as searching for an entity object based on a name. In the prior art, when a search engine receives a user's search term, it usually calls the inverted index to query the results that are more closely matched with the search term. However, since entity search terms are usually short and provide limited information, the returned results may only be literally related but not very accurate. Summary of the invention
[0003] The embodiments of the present disclosure provide a method for displaying entity search results, a method for generating entity search results, an apparatus, a device and a medium to improve the accuracy of entity search results.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for displaying entity search results, including:
[0005] In response to a search operation of a current user for a target search word, obtaining a first search result corresponding to the target search word from a server, wherein the target search word is a search word for an entity object;
[0006] The first search result is displayed in a result display area of the search result page. The first search result includes at least one sub-search result. Different sub-search results correspond to different target search requirements. The target search requirement is the search requirement of the current user. Different sub-search results are displayed in different sub-display areas of the result display area according to the demand intensity of the corresponding target search requirement.
[0007] In a second aspect, the present disclosure also provides a method for generating entity search results, including:
[0008] Obtaining a target search term entered by the current user in the client, wherein the target search term is a search term for an entity object;
[0009] Determine at least one target search requirement of the current user according to the target search term and the attribute information of the current user;
[0010] Get the sub-search results corresponding to each target search requirement;
[0011] Generate a first search result including the sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page.
[0012] In a third aspect, the present disclosure also provides a display device for entity search results, including:
[0013] A first result acquisition module, configured to, in response to a current user's search operation for a target search term, acquire from a server a first search result corresponding to the target search term, wherein the target search term is a search term for an entity object;
[0014] A result display module is used to display the first search result in a result display area of a search result page, wherein the first search result includes at least one sub-search result, and different sub-search results correspond to different target search requirements. The target search requirement is the search requirement of the current user, and different sub-search results are displayed in different sub-display areas of the result display area according to the demand intensity of the corresponding target search requirement.
[0015] In a fourth aspect, the embodiment of the present disclosure further provides a device for generating entity search results, including:
[0016] A search term acquisition module, used to acquire a target search term input by the current user in the client, wherein the target search term is a search term for an entity object;
[0017] A first demand determination module, used to determine at least one target search demand of the current user according to the target search term and attribute information of the current user;
[0018] The second result acquisition module is used to obtain the sub-search results corresponding to each target search requirement;
[0019] A result sending module is used to generate a first search result including the sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page.
[0020] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, including:
[0021] one or more processors;
[0022] a memory for storing one or more programs,
[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for displaying entity search results or the method for generating entity search results as described in the embodiments of the present disclosure.
[0024] In a sixth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for displaying entity search results or a method for generating entity search results as described in an embodiment of the present disclosure.
[0025] The display method, generation method, device, equipment and medium of entity search results provided by the embodiments of the present disclosure, in response to the current user's search operation for the target search word, obtain the first search result corresponding to the target search word from the server, the target search word is a search word for the entity object; display the first search result in the result display area of the search result page, the first search result includes at least one sub-search result, different sub-search results correspond to different target search requirements, the target search requirement is the search requirement of the current user, and different sub-search requirements are displayed in different sub-areas of the result display area according to the demand intensity of the corresponding target search requirement. And, obtain the target search word entered by the current user in the client, the target search word is a search word for the entity object; determine at least one target search requirement of the current user according to the target search word and the attribute information of the current user; obtain the sub-search result corresponding to each target search requirement; generate the first search result including the obtained sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search requirement, and the sub-display area is a sub-area of the result display area in the search result page. The disclosed embodiment adopts the above technical solution to display sub-search results in search results based on the search needs of users who perform search operations, which can improve the accuracy and practicality of the displayed search results and thus enhance the user's search experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0027] Figure 1 A flowchart of a method for displaying entity search results provided by an embodiment of the present disclosure;
[0028] Figure 2 A schematic diagram showing entity search results provided by an embodiment of the present disclosure;
[0029] Figure 3 A schematic diagram showing another entity search result provided by an embodiment of the present disclosure;
[0030] Figure 4 A flowchart of a method for generating entity search results provided by an embodiment of the present disclosure;
[0031] Figure 5 A structural block diagram of a display device for entity search results provided in an embodiment of the present disclosure;
[0032] Figure 6 A structural block diagram of a device for generating entity search results provided by an embodiment of the present disclosure;
[0033] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0035] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0036] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0037] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0038] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0039] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0040] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0041] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0042] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0043] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0044] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0045] Figure 1 A flowchart of a method for displaying entity search results provided in an embodiment of the present disclosure. The method can be executed by a display device for entity search results, wherein the device can be implemented by software and / or hardware and can be configured in an electronic device, typically, a mobile phone or a tablet computer. The method for displaying entity search results provided in an embodiment of the present disclosure is suitable for scenarios where entity objects are searched, and is particularly suitable for scenarios where entity objects are searched based on a video search engine in a video application.
[0046] Entity search refers to searching for a name, such as a person's name, place name, organization, event, work, product, etc. This type of search term is short and has very diverse requirements for entities. For example, when searching for a person's name, you may want to know basic information such as height and weight, or you may want to find the latest news, or even want to check comments about the person on the Internet. The requirements are many and diverse. Usually, when a search engine receives a user's search term, it will call the inverted index query and search terms to match more results, but entity words are usually short and can provide limited information. Therefore, the returned results may be very literally related, but the results that meet the user's expectations may not necessarily be provided.
[0047] In the process of search engine development, general search engines often rely on knowledge graphs to meet their needs. Through knowledge graphs, all aspects of information about the entity are stored in advance and displayed to users in a well-organized way, so that no matter what type of needs the user has, they can find them in a relatively comprehensive knowledge graph panel. However, this way of displaying through the form of knowledge graphs is not suitable for search engines that focus on videos. The main reason is that in video search engines, videos are the main consumer, and the traditional knowledge graph display form still basically relies on pictures and texts to satisfy users.
[0048] Based on this, this embodiment provides a method for displaying entity search results, which displays search results based on user needs to improve the accuracy of the displayed search results, thereby meeting the user's search needs.
[0049] like Figure 1 As shown, the method for displaying entity search results provided in this embodiment may include:
[0050] S101. In response to a search operation of a current user for a target search word, a first search result corresponding to the target search word is obtained from a server, where the target search word is a search word for an entity object.
[0051] Among them, the search operation may be a trigger operation for indicating a search, such as an operation of triggering a search control after a search term is input. The target search term is a search term corresponding to the search operation, that is, a search term indicated by the search operation to be searched. The target search term may be a search term input into the search box by the current user, such as a search term input into the search box by the current user through character input, or a search term input into the search box by the current user by triggering a candidate search term. The target search term is a search term for an entity object. The entity object may be considered as a non-virtual object, such as a person, a place, an event, a work or a product. The current user may be considered as a user who performs a search operation for the target search term. The first search result may be a search result corresponding to the target search term, such as a search result returned by the server based on the target search term. The first search result may include at least one sub-search result, and different sub-search results may correspond to different search requirements of the current user.
[0052] Specifically, when a search operation for a target search term from the current user is received, the first search result corresponding to the target search term can be obtained from the server, such as sending a search request carrying the target search term to the server, and receiving the first search result returned by the server based on the search request and the search needs of the current user.
[0053] S102. Display the first search result in a result display area of the search result page, wherein the first search result includes at least one sub-search result, and different sub-search results correspond to different target search requirements, wherein the target search requirement is the search requirement of the current user, and different sub-search results are displayed in different sub-display areas of the result display area according to the requirement intensity of the corresponding target search requirement.
[0054] The search results page can be understood as a page for displaying search results. The search results page can include a result display area, which can be considered as an area in the search results page for displaying sub-search results corresponding to the search requirements of the current user. The result display area can include one or more sub-display areas, and different sub-display areas can be used to display different sub-search results in the first search result corresponding to different search requirements of the current user. The target search requirement can be the search requirement of the current user, such as the search requirement of the current user that has a corresponding sub-search result in the first sub-search result.
[0055] Optionally, the search result page also includes a demand display area and / or an object display area, wherein the demand display area displays a demand identifier of at least one target search demand, and the object display area displays object information of a target entity object in the current application, and the target entity object is the entity object corresponding to the target search term.
[0056] Among them, the demand display area can be considered as an area in the search results page for displaying the demand identification of the target search demand of the current user. The demand identification is an identification of the target search demand, and different demand identifications correspond to different target search demands. The demand identification can be used to trigger the display of search results corresponding to the corresponding search demand. When the current user has multiple target search demands, the display order of the demand identification of each target search demand in the demand display area can be set as needed. Optionally, the demand identification of at least one target search demand is displayed according to the demand strength of the corresponding target search demand. For example, the demand identification of each target search demand can be displayed in the demand display area in the order of the corresponding demand strength from high to low.
[0057] The object display area can be considered as an area in the search result page for displaying the object information of the target entity object in the current application, such as an area for displaying the basic information of the target entity object in the current application. The basic information may include, for example, an object identifier of the target entity object and / or introduction information of the target entity object. The object identifier may be understood as an identifier of the target entity object, such as the name of the target entity object and / or the avatar of the target entity object. The target entity object may be an entity object corresponding to the target search term.
[0058] The relative positions of the result display area, the demand display area and the object display area can be set as needed. For example, the object display area, the demand display area and the result display area can be set in sequence from top to bottom on the search results page. In other words, in the display direction of the search results page, the object display area is located above the demand display area, and the result display area is located below the demand display area.
[0059] Specifically, after obtaining the first search result corresponding to the target search term, the first search result can be displayed in the result display area of the search result page. Exemplarily, the sub-search results corresponding to different target search needs in the first search result are displayed in different sub-areas of the result display area according to the demand intensity of the corresponding target search need. For example, the sub-search results corresponding to each target search need are displayed in different sub-areas of the result display area in order of demand intensity from high to low.
[0060] In this embodiment, the display format of the first search result can be set as needed. For example, Figure 2 As shown, a search result card 20 may be used to display sub-search results corresponding to the target search requirements in the first search result in the search result card 20, such as displaying sub-search results corresponding to the target search requirements of the current user in the result display area 21 of the search result card 20 according to the requirement intensity of the corresponding target search requirements.
[0061] Please continue to refer to Figure 2 , it is also possible to further display a demand identification 23 of at least one target search demand of the current user in the demand display area 22 of the search result card 20 according to the demand intensity of the corresponding target search demand; and / or, display object information of the target entity object in the object display area 24 of the search result card 20, such as displaying the identification information and / or introduction information of the target entity object.
[0062] In addition, in a preset scenario, such as an activity promotion scenario, the card background of the search result card can also be displayed as a background image associated with the current promotion activity, so as to further enrich the display form of the search result card and the content displayed in the search result card. Among them, the current promotion activity can be a promotion activity associated or unassociated with the target search term and / or the target entity object. Optionally, the current promotion activity can be a promotion activity associated with the target search term and / or the target entity object.
[0063] In this embodiment, the search results can be displayed based on the search needs of the user who performs the search operation. When the users who perform the search operation are different, even if they search for the same search term, the sub-search results contained in the displayed search results and / or the displayed need identifiers may be different. Therefore, based on the user's search needs, the search results and / or need identifiers corresponding to the user's search needs can be displayed, which can improve the accuracy and practicality of the displayed search results and enhance the user's search experience.
[0064] In some embodiments, after displaying the first search result in the result display area of the search results page, it also includes at least one of the following: in response to a first trigger operation for the requirement identifier, obtaining a second search result corresponding to the target search term and the current search requirement from a server, and displaying the second search result in the result display area of the search results page, wherein the current search requirement is a target search requirement corresponding to the requirement identifier triggered by the first trigger operation; in response to a second trigger operation for the target object identification information contained in the object information, displaying the object page of the target entity object.
[0065] Among them, the first trigger operation can be an operation of triggering a certain demand identifier displayed in the demand display area. The second trigger operation can be an operation of triggering the target object identification information displayed in the object display area. The current search demand can be a search demand corresponding to the demand identifier triggered by the first trigger operation. The second search result can be a search result corresponding to the target search term and the current search demand. The target object identification information can be identification information of the target entity object used to trigger the display of the object page of the target entity object. For example, when the target entity object has a corresponding account in the current application, the target object identification information can be the avatar of the target entity object in the current application.
[0066] Specifically, when a first trigger operation for a certain requirement identifier is received, a second search result corresponding to the target search term and the current search requirement corresponding to the requirement identifier can be obtained from the server, and the second search result can be displayed in the result display area of the search results page to further simplify the operations required for users to obtain search results corresponding to their needs.
[0067] For example, when a second trigger operation for a certain requirement identifier is received, a search request carrying a target search term and the requirement identifier of the current search requirement can be sent to the server, a second search result returned by the server based on the search request is received, and the current search result displayed in the result display area 21 of the search result card 20 is switched to the second search result, such as Figure 3 shown.
[0068] When a second trigger operation for the target object identification information is received, the current page can be switched from the search results page to the object page of the target entity object. For example, when the target entity object has a corresponding account in the current application, the current page can be switched from the search results page to the personal page of the target entity object in the current application, so that the current user can view the detailed information of the target entity object and / or the media content published by the target entity object in the personal page.
[0069] The entity search result display method provided in this embodiment, in response to the current user's search operation for the target search word, obtains the first search result corresponding to the target search word from the server, and the target search word is a search word for the entity object; displays the first search result in the result display area of the search result page, and the first search result includes at least one sub-search result, and different sub-search results correspond to different target search requirements, and the target search requirements are the search requirements of the current user. Different sub-search requirements are displayed in different sub-areas of the result display area according to the demand intensity of the corresponding target search requirements. This embodiment adopts the above technical solution to partition the sub-search results in the search results based on the search requirements of the user who performs the search operation, which can improve the accuracy and practicality of the displayed search results, thereby improving the user's search experience.
[0070] Figure 4 A flowchart of a method for generating entity search results provided in an embodiment of the present disclosure. The method can be executed by a device for generating entity search results, wherein the device can be implemented by software and / or hardware, and can be configured in an electronic device, typically, in a server. The method for generating entity search results provided in an embodiment of the present disclosure is suitable for scenarios where entity objects are searched, and is particularly suitable for scenarios where entity objects are searched based on a video search engine in video applications. Figure 4 As shown, the method for generating entity search results provided in this embodiment may include:
[0071] S201. Obtain a target search term input by a current user in a client, where the target search term is a search term for an entity object.
[0072] Specifically, when the client receives a search operation for a target search term from the current user, it may send a search request carrying the target search term to the server. Correspondingly, after receiving the search request sent by the client, the server may parse the search request and obtain the target search term carried in the search request.
[0073] S202: Determine at least one target search requirement of the current user according to the target search term and attribute information of the current user.
[0074] Currently, entity-type search terms often account for a relatively high proportion in search engines. This is mainly due to the following reasons: entity-type search terms are easy to remember and express, and usually only short words such as names of people and places need to be remembered; entity-type search terms can match a larger range of content. For users who do not know how to express specific needs, just entering simple names of people and places is a more convenient way to search. Therefore, a very typical feature of entity-type search terms is that user needs are diverse. Therefore, for entity-type search terms, if the current search terms have multiple dimensions of needs, it is necessary to determine the current user's search needs based on the user's attribute information, so as to present search results that meet the user's needs as much as possible.
[0075] The target search requirement may be a search requirement for which the corresponding sub-search results need to be generated and displayed, such as a search requirement with a relatively high demand intensity of the current user, in other words, a search requirement that the current user wants to find more. The attribute information of the current user may be information used to characterize the attributes of the current user, and the type of the attribute is not limited and can be specifically set as needed.
[0076] Specifically, when parsing the search request sent by the client, you can further obtain the user identification information of the current user carried in the search request, obtain the attribute information of the current user based on the user identification information, and perform a demand analysis on the current user based on the target search terms and the attribute information of the current user to determine the target search demand with higher demand intensity of the current user.
[0077] In this embodiment, the user behavior information corresponding to the target search term may be ignored, and the needs analysis of the current user may be performed based on the target search term and the attribute information of the current user. Alternatively, the user behavior information corresponding to the target search term may be considered, and the needs analysis of the current user may be performed based on the target search term, the user behavior information corresponding to the target search term, and the attribute information of the current user, so as to improve the accuracy of the determined target search needs, thereby further improving the accuracy of the generated search results.
[0078] At this time, optionally, determining at least one target search need of the current user based on the target search term and the attribute information of the current user includes: determining at least one target search need of the current user based on the target search term, user behavior information corresponding to the target search term, and the attribute information of the current user, the user behavior information including trigger behavior information of the user in the current application for the search result corresponding to the target search term.
[0079] Among them, the user behavior information corresponding to a certain search term (such as the target search term) can be the trigger behavior information of the user in the current application for the search results corresponding to the target search term, such as the trigger frequency information of the sub-search results corresponding to each search requirement under the target search term by the user in the current application.
[0080] In some embodiments, determining at least one target search requirement of the current user based on the target search term, user behavior information corresponding to the target search term, and attribute information of the current user includes: determining at least one candidate search requirement of the current user and the requirement strength of the candidate search requirement based on the target search term, user behavior information corresponding to the target search term, and attribute information of the current user; and determining a target candidate requirement among the at least one candidate search requirement based on the requirement strength of the candidate search requirement.
[0081] The candidate search requirements may be understood as search requirements to be selected, such as original search requirements obtained through requirement analysis.
[0082] In the above implementation, at least one candidate search demand of the current user and the demand intensity of each candidate search demand can be determined based on the target search term, the user behavior information corresponding to the target search term, and the attribute information of the current user; and according to the demand intensity of each candidate search demand, a candidate search demand with higher demand intensity among the at least one candidate search demand is determined as the target search demand of the current user.
[0083] Exemplarily, keyword analysis and demand ranking analysis can be performed based on the target search terms. When performing keyword analysis, for example, the target search terms can be corrected, generalized, segmented and / or semantically analyzed to clean and normalize the target search terms, and at the same time, key semantics can be extracted from the target search terms to facilitate subsequent processing. When performing demand ranking analysis, the target search terms can be classified into demand categories, and combined with the statistical behavior characteristics corresponding to the target search terms (i.e., user behavior information), and combined with the current user's attribute information and special scenarios (such as whether there is timeliness, authority, diversity appeal, etc.), the intensity of each search demand can be obtained (i.e., the demand intensity of each candidate search demand is obtained), and each search demand can be ranked in order from high to low in terms of demand intensity to obtain the final demand ranking result. Here, the method of performing keyword analysis and demand ranking analysis is not limited, such as keyword analysis can be performed through a pre-trained keyword analysis model, and / or, demand ranking analysis can be performed through a pre-trained demand ranking analysis module.
[0084] After obtaining the demand ranking result, the target search demand of the current user can be determined based on the demand ranking result, such as obtaining the first m search demands in the demand ranking result as the target search demand, obtaining the search demands whose demand strength is greater than or equal to the first demand strength threshold in the demand ranking result as the target search demand, or obtaining the first n search demands whose sum of demand strength is greater than or equal to the second demand strength threshold and whose n value is the smallest as the target search demand, etc. Here, m and n are positive integers, and both the first demand strength threshold and the second demand strength threshold can be flexibly set, and this embodiment does not limit them.
[0085] For example, when one of the search requirements is absolutely dominant, only that search requirement can be used as the target search requirement; when the search requirements are relatively diverse and evenly distributed, that is, no one search requirement is the main search requirement, all of the multiple search requirements can be used as target search requirements; when the search requirements are diverse but have a clear primary and secondary relationship, the main search requirement can be used as the target search requirement, and the secondary search requirements can be scattered and displayed in the preset search results obtained based on the existing technology search. The display location of the preset search results is not limited, for example, Figure 2 and 3 As shown, the preset search results can be displayed after the search result card displayed on the search result page. The preset search results and the search results generated by the method for generating entity search results provided in this embodiment (such as the first search results and / or the second search results, etc.) can be deduplicated or not, which can be set according to needs.
[0086] S203: Obtain sub-search results corresponding to each target search requirement.
[0087] In this embodiment, after determining the target search requirement of the current user, sub-search results corresponding to each target search requirement may be generated.
[0088] Taking the target entity object as a star or celebrity as an example, for the target search demand of understanding the basic situation of the target entity object, the publicly available profile, date of birth, height and weight of the target entity object and other structured data can be obtained to generate sub-search results corresponding to the target search demand; for the target search demand of understanding the media content published by the target entity object in the current application, the account query and related content query of the target entity object in the current application can be called and organized into a media content stream to generate sub-search results corresponding to the target search demand; for the target search demand of understanding the works of the target entity object (assuming it is a film and television demand), the professional film and television database can be called to obtain the profile and link of its main works to generate sub-search results corresponding to the target search demand; for the target search demand of understanding the latest news of the target entity object, the index of the news website and the news category video in the current application can be called to generate sub-search results containing the latest news information of the target entity object. Thus, a comprehensive display form of "mainly based on media content and supplemented by multiple genres" is formed.
[0089] In some embodiments, obtaining the sub-search results corresponding to each target search requirement includes: for each target search requirement, determining a target resource library corresponding to the target search requirement, wherein different resource libraries are used to store resources corresponding to different search requirements; querying the target resource corresponding to the target search term from the target resource library, and generating the sub-search results corresponding to the target search requirement based on the target resource.
[0090] In the above implementation, different resource libraries can be used to store resources corresponding to different search needs. For example, a structured database can be used to store basic data such as a person's age, birthplace, profile, and relationships, or data about objective information, such as scores, parameters of the natural world, etc., to meet searches corresponding to search needs for objective information queries; a database of user links and content within the site can be used to store personal homepages of entity objects within the current application, and personal homepages and content can be associated to meet searches corresponding to search needs for understanding media content published by target entity objects within the current application; various media resources published within the current application can be stored through an in-site media content resource library to meet searches corresponding to search needs for various dimensions related to media content; external resources that are not in the current application but are introduced from the outside, such as news resources, can be stored through a resource library for introducing resources to meet searches corresponding to search needs for news of the target object; and / or new resources summarized and generated by combining the capabilities of AI with large models can be stored through an artificial intelligence (AI) resource database to meet searches corresponding to search needs for AI content.
[0091] The target resource library may be a resource library corresponding to the target search requirement, and different resource libraries may be used to store resources corresponding to different search requirements. The target resource may be a resource stored in the target resource library and corresponding to the target search term.
[0092] Exemplarily, for each target search requirement, a target resource library corresponding to the target search requirement can be determined, and target resources matching the target search term can be queried in the target resource library based on the target search term, and a sub-search result containing at least part of the target resource can be generated as the sub-search result corresponding to the target search requirement.
[0093] S204, generating a first search result including the sub-search results, and sending the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page.
[0094] In this embodiment, after the sub-search results corresponding to each target search requirement are obtained, a first search result including each sub-search result may be generated, and the first search result may be sent to the client for display.
[0095] Exemplarily, for the case where the current user has only one target search demand, such as the case where one of the search demands is absolutely dominant, only the sub-search result corresponding to the target search demand can be sent to the client, and accordingly, the client can only display the sub-search result in the result display area of the search results page; for the case where the current user has multiple target search demands, such as the case where the current user's search demands are diverse but relatively evenly distributed, and / or the case where the current user's search demands are diverse but have obvious primary and secondary relationships, the sub-search results corresponding to multiple target search demands can all be sent to the client, and accordingly, the client can display the sub-search results corresponding to each target search demand in the result display area of the search results page in different regions.
[0096] In this embodiment, the first search result may further include the requirement identifier of each target search requirement and / or the object information of the target entity object in the current application, so that the current user can view or perform corresponding interactive operations based on the requirement identifier and / or the object information. At this time, optionally, the first search result also includes the requirement identifier of the target search requirement corresponding to the sub-search result and / or the object information of the target entity object in the current application, and the target entity object is the entity object corresponding to the target search term.
[0097] In addition, in preset scenarios, such as event promotion scenarios, the server can also obtain the picture information of the background picture associated with the current promotion activity and add it to the first search result, so that the client generates and displays the background picture of the search result card based on the picture information.
[0098] In some implementations, users are supported to view search results corresponding to a target search requirement by triggering a requirement identifier of a target search requirement displayed on the search results page, so as to further simplify the operations required for users to view the search results they actually want to find. At this time, optionally, after sending the first search result to the client for display, it also includes: determining the current search requirement corresponding to the requirement identifier triggered by the current user on the client; generating a second search result corresponding to the target search term and the current search requirement, and sending the second search result to the client for display.
[0099] The current search requirement may be a target search requirement corresponding to a requirement identifier triggered by the current user in the search result page. The second search result may be a search result corresponding to the target search term and the current search requirement. The second search result may or may not include resources included in the sub-search result corresponding to the current search request in the first search result.
[0100] Exemplarily, when the client receives a trigger operation from the current user for a displayed demand identifier, it can generate a search request carrying a target search term and the demand identifier, and send the search request to the server. Correspondingly, after receiving the search request sent by the client, the server can obtain the target search term and the demand identifier carried in the search request, determine the current search demand corresponding to the demand identifier and the resource library corresponding to the current search demand, query the resource library for resources matching the target search term, and generate a second search result containing at least part of the resources obtained by the query.
[0101] The method for generating entity search results provided in this embodiment obtains the target search term entered by the current user in the client, and the target search term is a search term for an entity object; determines at least one target search requirement of the current user according to the target search term and the attribute information of the current user; obtains the sub-search result corresponding to each target search requirement; generates a first search result including the obtained sub-search results, and sends the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page. This embodiment adopts the above technical solution to partition the sub-search results in the search results based on the search demand of the user performing the search operation, which can improve the accuracy and practicality of the displayed search results, thereby improving the user's search experience.
[0102] Figure 5 This is a structural block diagram of a display device for entity search results provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a mobile phone or a tablet computer, and can search for entity objects by executing the display method for entity search results, such as searching for entity objects based on a video search engine in a video application. Figure 5 As shown, the entity search result display device provided in this embodiment may include: a first result acquisition module 501 and a result display module 502, wherein:
[0103] A first result acquisition module 501 is used to obtain a first search result corresponding to a target search word from a server in response to a search operation of a current user for the target search word, where the target search word is a search word for an entity object;
[0104] The result display module 502 is used to display the first search result in the result display area of the search result page, where the first search result includes at least one sub-search result, and different sub-search results correspond to different target search requirements. The target search requirement is the search requirement of the current user, and different sub-search results are displayed in different sub-display areas of the result display area according to the demand intensity of the corresponding target search requirement.
[0105] The display device of entity search results provided in this embodiment, in response to the current user's search operation for the target search word through the first result acquisition module, obtains the first search result corresponding to the target search word from the server, and the target search word is a search word for the entity object; the first search result is displayed in the result display area of the search result page through the result display module, and the first search result includes at least one sub-search result, and different sub-search results correspond to different target search requirements, and the target search requirements are the search requirements of the current user. Different sub-search requirements are displayed in different sub-areas of the result display area according to the demand intensity of the corresponding target search requirements. This embodiment adopts the above technical solution to partition the sub-search results in the search results based on the search requirements of the user who performs the search operation, which can improve the accuracy and practicality of the displayed search results, thereby improving the user's search experience.
[0106] In the above scheme, the search result page may also include a demand display area and / or an object display area. The demand display area may display a demand identifier of at least one target search demand, and the object display area may display object information of the target entity object in the current application. The target entity object is the entity object corresponding to the target search term.
[0107] Furthermore, the display device for entity search results provided in this embodiment may also include: a third result acquisition module, which is used to obtain a second search result corresponding to the target search term and the current search requirement from the server in response to a first trigger operation for the requirement identifier after displaying the first search result in the result display area of the search result page, and display the second search result in the result display area of the search result page, wherein the current search requirement is the target search requirement corresponding to the requirement identifier triggered by the first trigger operation; and an object page display module, which is used to display the object page of the target entity object in response to a second trigger operation for the target object identification information contained in the object information after displaying the first search result in the result display area of the search result page.
[0108] In the above solution, the requirement identifier of the at least one target search requirement may be displayed according to the requirement intensity of the corresponding target search requirement.
[0109] The display device for entity search results provided in the embodiment of the present disclosure can execute the display method for entity search results provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the display method for entity search results. For technical details not fully described in this embodiment, please refer to the display method for entity search results provided in any embodiment of the present disclosure.
[0110] Figure 6 This is a structural block diagram of a device for generating entity search results provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically, in a server, and can search for entity objects by executing the method for generating entity search results, such as searching for entity objects based on a video search engine in a video application. Figure 6 As shown, the entity search result generation device provided in this embodiment may include: a search term acquisition module 601, a first requirement determination module 602, a second result acquisition module 603 and a result sending module 604, wherein:
[0111] A search term acquisition module 601 is used to acquire a target search term currently input by a user in the client, where the target search term is a search term for an entity object;
[0112] A first demand determination module 602, configured to determine at least one target search demand of the current user according to the target search term and attribute information of the current user;
[0113] The second result acquisition module 603 is used to acquire sub-search results corresponding to each target search requirement;
[0114] The result sending module 604 is used to generate a first search result including the sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page.
[0115] The entity search result generation device provided in this embodiment obtains the target search word entered by the current user in the client through the search word acquisition module, and the target search word is a search word for the entity object; determines at least one target search demand of the current user according to the target search word and the attribute information of the current user through the first demand determination module; obtains the sub-search result corresponding to each target search demand through the second result acquisition module; generates a first search result including the obtained sub-search result through the result sending module, and sends the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page. This embodiment adopts the above technical solution to partition the sub-search results in the search results based on the search demand of the user who performs the search operation, which can improve the accuracy and practicality of the displayed search results, thereby improving the user's search experience.
[0116] In the above scheme, the first demand determination module 602 can be used to determine at least one target search demand of the current user based on the target search term, user behavior information corresponding to the target search term and attribute information of the current user, wherein the user behavior information includes the trigger behavior information of the user in the current application for the search result corresponding to the target search term.
[0117] In the above scheme, the first demand determination module 602 may include: a first determination unit, used to determine at least one candidate search demand of the current user and the demand strength of the candidate search demand based on the target search term, user behavior information corresponding to the target search term and attribute information of the current user; a second determination unit, used to determine the target candidate demand among the at least one candidate search demand based on the demand strength of the candidate search demand.
[0118] In the above scheme, the second result acquisition module 603 can be used to: determine the target resource library corresponding to each target search requirement, wherein different resource libraries are used to store resources corresponding to different search requirements; query the target resource corresponding to the target search term from the target resource library, and generate the sub-search result corresponding to the target search requirement based on the target resource.
[0119] In the above solution, the first search result may also include a requirement identifier of the target search requirement corresponding to the sub-search result and / or object information of a target entity object in the current application, where the target entity object is the entity object corresponding to the target search term.
[0120] Furthermore, the entity search result generation device provided in this embodiment may also include: a second demand determination module, used to determine the current search demand corresponding to the demand identifier triggered by the current user on the client after sending the first search result to the client for display; a result generation module, used to generate a second search result corresponding to the target search term and the current search demand, and send the second search result to the client for display.
[0121] The device for generating entity search results provided in the embodiments of the present disclosure can execute the method for generating entity search results provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the method for generating entity search results. For technical details not fully described in this embodiment, please refer to the method for generating entity search results provided in any embodiment of the present disclosure.
[0122] Reference below Figure 7, which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 700 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0123] like Figure 7 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0124] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0125] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0126] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0127] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0128] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0129] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: responds to the current user's search operation for the target search word, obtains the first search result corresponding to the target search word from the server, and the target search word is a search word for an entity object; displays the first search result in the result display area of the search result page, and the first search result contains at least one sub-search result, and different sub-search results correspond to different target search requirements. The target search requirement is the search requirement of the current user, and different sub-search results are displayed in different sub-display areas of the result display area according to the demand intensity of the corresponding target search requirement. Or
[0130] Obtain a target search term input by a current user in a client, wherein the target search term is a search term for an entity object; determine at least one target search requirement of the current user based on the target search term and attribute information of the current user; obtain sub-search results corresponding to each target search requirement; generate a first search result including the sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of a search result page according to the demand intensity of the corresponding search requirement, and the sub-display area is a sub-area of a result display area in the search result page.
[0131] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0132] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0133] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, constitute a limitation on the unit itself.
[0134] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0135] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0136] According to one or more embodiments of the present disclosure, Example 1 provides a method for displaying entity search results, including:
[0137] In response to a search operation of a current user for a target search word, obtaining a first search result corresponding to the target search word from a server, wherein the target search word is a search word for an entity object;
[0138] The first search result is displayed in a result display area of the search result page. The first search result includes at least one sub-search result. Different sub-search results correspond to different target search requirements. The target search requirement is the search requirement of the current user. Different sub-search results are displayed in different sub-display areas of the result display area according to the demand intensity of the corresponding target search requirement.
[0139] According to one or more embodiments of the present disclosure, Example 2 is based on the method described in Example 1, and the search results page also includes a demand display area and / or an object display area, the demand display area displays a demand identification of at least one target search demand, and the object display area displays object information of the target entity object in the current application, and the target entity object is the entity object corresponding to the target search term.
[0140] According to one or more embodiments of the present disclosure, Example 3 is a method according to Example 2, and further includes at least one of the following after displaying the first search result in the result display area of the search result page:
[0141] In response to the first trigger operation for the requirement identifier, obtaining a second search result corresponding to the target search term and the current search requirement from the server, and displaying the second search result in a result display area of the search result page, wherein the current search requirement is the target search requirement corresponding to the requirement identifier triggered by the first trigger operation;
[0142] In response to a second trigger operation on the target object identification information included in the object information, an object page of the target entity object is displayed.
[0143] According to one or more embodiments of the present disclosure, Example 4 is based on the method described in Example 2, and the requirement identifier of at least one target search requirement is displayed according to the requirement intensity of the corresponding target search requirement.
[0144] According to one or more embodiments of the present disclosure, Example 5 provides a method for generating entity search results, including:
[0145] Obtaining a target search term entered by the current user in the client, wherein the target search term is a search term for an entity object;
[0146] Determine at least one target search requirement of the current user according to the target search term and the attribute information of the current user;
[0147] Get the sub-search results corresponding to each target search requirement;
[0148] Generate a first search result including the sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page.
[0149] According to one or more embodiments of the present disclosure, Example 6, according to the method described in Example 5, wherein determining at least one target search requirement of the current user according to the target search term and the attribute information of the current user includes:
[0150] At least one target search requirement of the current user is determined based on the target search term, user behavior information corresponding to the target search term, and attribute information of the current user. The user behavior information includes trigger behavior information of the user in the current application for the search result corresponding to the target search term.
[0151] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 6, wherein determining at least one target search requirement of the current user according to the target search term, user behavior information corresponding to the target search term, and attribute information of the current user includes:
[0152] Determine at least one candidate search requirement of the current user and the requirement intensity of the candidate search requirement according to the target search term, user behavior information corresponding to the target search term, and attribute information of the current user;
[0153] A target candidate requirement among the at least one candidate search requirement is determined based on the requirement strength of the candidate search requirement.
[0154] According to one or more embodiments of the present disclosure, Example 8 is the method according to Example 5, wherein obtaining sub-search results corresponding to each target search requirement includes:
[0155] For each target search requirement, determine a target resource library corresponding to the target search requirement, wherein different resource libraries are used to store resources corresponding to different search requirements;
[0156] The target resource corresponding to the target search term is searched from the target resource library, and a sub-search result corresponding to the target search requirement is generated based on the target resource.
[0157] According to one or more embodiments of the present disclosure, Example 9 is based on the method described in any one of Examples 5-8, wherein the first search result also includes a requirement identifier of the target search requirement corresponding to the sub-search result and / or object information of the target entity object in the current application, and the target entity object is the entity object corresponding to the target search term.
[0158] According to one or more embodiments of the present disclosure, Example 10 is the method according to Example 9, after sending the first search result to the client for display, further comprising:
[0159] Determine a current search demand corresponding to a demand identifier triggered by the current user at the client;
[0160] Generate a second search result corresponding to the target search term and the current search requirement, and send the second search result to the client for display.
[0161] According to one or more embodiments of the present disclosure, Example 11 provides a display device for entity search results, including:
[0162] A first result acquisition module, configured to, in response to a current user's search operation for a target search term, acquire from a server a first search result corresponding to the target search term, wherein the target search term is a search term for an entity object;
[0163] A result display module is used to display the first search result in a result display area of a search result page, wherein the first search result includes at least one sub-search result, and different sub-search results correspond to different target search requirements. The target search requirement is the search requirement of the current user, and different sub-search results are displayed in different sub-display areas of the result display area according to the demand intensity of the corresponding target search requirement.
[0164] According to one or more embodiments of the present disclosure, Example 12 provides a device for generating entity search results, including:
[0165] A search term acquisition module, used to acquire a target search term input by the current user in the client, wherein the target search term is a search term for an entity object;
[0166] A first demand determination module, used to determine at least one target search demand of the current user according to the target search term and attribute information of the current user;
[0167] The second result acquisition module is used to obtain the sub-search results corresponding to each target search requirement;
[0168] A result sending module is used to generate a first search result including the sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page.
[0169] According to one or more embodiments of the present disclosure, Example 13 provides an electronic device, including:
[0170] one or more processors;
[0171] a memory for storing one or more programs,
[0172] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for displaying entity search results or the method for generating entity search results as described in any one of Examples 1-10.
[0173] According to one or more embodiments of the present disclosure, Example 14 provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for displaying entity search results or a method for generating entity search results as described in any one of Examples 1-10.
[0174] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0175] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0176] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for displaying entity search results, characterized in that: include: In response to a search operation of a current user for a target search word, obtaining a first search result corresponding to the target search word from a server, wherein the target search word is a search word for an entity object; The first search result is displayed in a result display area of the search result page. The first search result includes at least one sub-search result. Different sub-search results correspond to different target search requirements. The target search requirement is the search requirement of the current user. Different sub-search results are displayed in different sub-display areas of the result display area according to the demand intensity of the corresponding target search requirement.
2. The method according to claim 1, characterized in that The search results page also includes a demand display area and / or an object display area, wherein the demand display area displays a demand identifier of at least one target search demand, and the object display area displays object information of a target entity object in the current application, wherein the target entity object is the entity object corresponding to the target search term.
3. The method according to claim 2, characterized in that After displaying the first search result in the result display area of the search result page, the method further includes at least one of the following: In response to the first trigger operation for the requirement identifier, obtaining a second search result corresponding to the target search term and the current search requirement from the server, and displaying the second search result in a result display area of the search result page, wherein the current search requirement is the target search requirement corresponding to the requirement identifier triggered by the first trigger operation; In response to a second trigger operation on the target object identification information included in the object information, an object page of the target entity object is displayed.
4. The method according to claim 2, characterized in that: The requirement identifier of the at least one target search requirement is displayed according to the requirement intensity of the corresponding target search requirement.
5. A method for generating entity search results, characterized in that: include: Obtaining a target search term entered by the current user in the client, wherein the target search term is a search term for an entity object; Determine at least one target search requirement of the current user according to the target search term and the attribute information of the current user; Get the sub-search results corresponding to each target search requirement; Generate a first search result including the sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page.
6. The method according to claim 5, characterized in that The determining at least one target search requirement of the current user according to the target search term and the attribute information of the current user includes: At least one target search requirement of the current user is determined based on the target search term, user behavior information corresponding to the target search term, and attribute information of the current user. The user behavior information includes trigger behavior information of the user in the current application for the search result corresponding to the target search term.
7. The method according to claim 6, characterized in that The determining at least one target search requirement of the current user according to the target search term, user behavior information corresponding to the target search term, and attribute information of the current user includes: Determine at least one candidate search requirement of the current user and the requirement intensity of the candidate search requirement according to the target search term, user behavior information corresponding to the target search term, and attribute information of the current user; A target candidate requirement among the at least one candidate search requirement is determined based on the requirement strength of the candidate search requirement.
8. The method according to claim 5, characterized in that The obtaining of sub-search results corresponding to each target search requirement includes: For each target search requirement, determine a target resource library corresponding to the target search requirement, wherein different resource libraries are used to store resources corresponding to different search requirements; The target resource corresponding to the target search term is searched from the target resource library, and a sub-search result corresponding to the target search requirement is generated based on the target resource.
9. The method according to any one of claims 5 to 8, characterized in that: The first search result also includes a requirement identifier of a target search requirement corresponding to the sub-search result and / or object information of a target entity object in a current application, wherein the target entity object is an entity object corresponding to the target search term.
10. The method according to claim 9, characterized in that After sending the first search result to the client for display, the method further includes: Determine a current search demand corresponding to a demand identifier triggered by the current user at the client; Generate a second search result corresponding to the target search term and the current search requirement, and send the second search result to the client for display.
11. A display device for entity search results, characterized in that: include: A first result acquisition module, configured to, in response to a current user's search operation for a target search term, acquire from a server a first search result corresponding to the target search term, wherein the target search term is a search term for an entity object; A result display module is used to display the first search result in a result display area of a search result page, wherein the first search result includes at least one sub-search result, and different sub-search results correspond to different target search requirements. The target search requirement is the search requirement of the current user, and different sub-search results are displayed in different sub-display areas of the result display area according to the demand intensity of the corresponding target search requirement.
12. A device for generating entity search results, characterized in that: include: A search term acquisition module, used to acquire a target search term input by the current user in the client, wherein the target search term is a search term for an entity object; A first demand determination module, used to determine at least one target search demand of the current user according to the target search term and attribute information of the current user; The second result acquisition module is used to obtain the sub-search results corresponding to each target search requirement; A result sending module is used to generate a first search result including the sub-search results, and send the first search result to the client for display, wherein different sub-search results are displayed in different sub-display areas of the search result page according to the demand intensity of the corresponding search demand, and the sub-display area is a sub-area of the result display area in the search result page.
13. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for displaying entity search results or the method for generating entity search results described in any one of claims 1-10.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for displaying entity search results or the method for generating entity search results described in any one of claims 1 to 10 when executed.
Citation Information
Cited By
Entity search result display method, generation method, apparatus, device and medium
EP4773022A1
Entity search result display method, generation method, apparatus, device and medium
WO2025045040A1