Disclosure of Invention
The embodiment of the disclosure at least provides a search result display method, a search result display device, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a search result display method, including:
receiving search information;
acquiring a plurality of recommended words corresponding to the search information; the plurality of recommended words comprise a first recommended word and a second recommended word; each first recommended word represents an object under the target object type indicated by the search information, and each second recommended word represents an associated object type corresponding to the target object type indicated by the search information;
and displaying the plurality of recommended words on a search result page.
In an optional implementation manner, the search information is commodity search information, and the plurality of recommended words are determined according to the following steps:
determining the first recommended word corresponding to the commodity object belonging to the target commodity type according to the target commodity type indicated by the commodity searching information; and/or the presence of a gas in the gas,
and determining a related commodity type corresponding to the target commodity type according to the target commodity type indicated by the commodity searching information, and determining the second recommended word representing the related commodity type.
In an alternative embodiment, the presenting the plurality of recommended words in the search result page includes:
displaying commodity cards corresponding to a plurality of commodity objects and recommendation word cards corresponding to a plurality of recommendation words on the search result page;
the recommended word cards comprise a first recommended word card and a second recommended word card; the first recommended word card comprises a plurality of first recommended words, and the second recommended word card comprises a plurality of second recommended words; alternatively, the first and second electrodes may be,
the recommended word cards comprise third recommended word cards; the third recommended word card comprises a plurality of second recommended words and a plurality of spliced search words, and the spliced search words are formed by splicing the first recommended words and the search words contained in the search information.
In an optional embodiment, in a case that the recommended word card includes a first recommended word card and a second recommended word card, the presenting the plurality of recommended words in the search result page includes:
determining the correlation degree between the first recommended word card and the second recommended word card and the search information according to the search information and the recommended words in the recommended word cards;
determining the display sequence between the first recommended word card and the second recommended word card according to the relevancy and the operation data aiming at the relevant commodities; the related commodities are commodities related to the commodity searching information;
and inserting the recommended word cards into the commodity cards in the search result page according to the display sequence between the first recommended word card and the second recommended word card.
In an optional implementation manner, determining, according to a target commodity type indicated by the commodity search information, a first recommended word corresponding to a commodity belonging to the target commodity type includes:
determining commodity attribute characteristics corresponding to each commodity belonging to the target commodity type in a commodity library according to the target commodity type indicated by the commodity searching information, and taking the determined plurality of commodity attribute characteristics as first recommended words;
the determining, according to the target commodity type corresponding to the commodity search information, an associated commodity type corresponding to the target commodity type and determining a second recommended word representing the associated commodity type include:
determining a related commodity type corresponding to the target commodity type according to the target commodity type corresponding to the commodity searching information and a pre-stored matching relation between the commodity types; and taking the recommending words representing the associated commodity types as second recommending words.
In an optional embodiment, the receiving search information includes: receiving the search information input into a search box in the search result page;
after the search result page displays the plurality of recommended words, the method further comprises:
responding to a trigger operation aiming at any one first recommended word in the first recommended word card, and splicing the first recommended word and a search word contained in the search information to obtain a spliced search word; the spliced search words are displayed in a search frame of a search result page in an updating mode, and search results matched with the spliced search words are displayed in a search result display area; alternatively, the first and second electrodes may be,
responding to a trigger operation aiming at any second recommended word in the second recommended word card, updating and displaying the second recommended word in a search box of a search result page, and displaying a search result matched with the second recommended word in a search result display area; alternatively, the first and second electrodes may be,
responding to the triggering operation aiming at any one second recommended word or spliced search word in the third recommended word card, updating and displaying the second recommended word or spliced search word in a search frame of a search result page, and displaying a search result matched with the second recommended word or spliced search word in a search result display area.
In an optional embodiment, the method further comprises:
responding to the trigger operation aiming at the first recommended word, and displaying a detail page matched with the first recommended word; alternatively, the first and second electrodes may be,
responding to the trigger operation aiming at the second recommended word, and displaying a search result containing a plurality of associated recommended words corresponding to the second recommended word; the plurality of associated recommended words comprise a first associated recommended word and a second associated recommended word; each first associated recommended word represents an object under the object type indicated by the second recommended word, and each second associated recommended word represents an associated object type corresponding to the object type indicated by the second recommended word.
In a second aspect, an embodiment of the present disclosure further provides a search result display apparatus, including:
the receiving module is used for receiving the search information;
the acquisition module is used for acquiring a plurality of recommended words corresponding to the search information; the plurality of recommended words comprise a first recommended word and a second recommended word; each first recommended word represents an object under the target object type indicated by the search information, and each second recommended word represents an associated object type corresponding to the target object type indicated by the search information;
and the first display module is used for displaying the plurality of recommended words on a search result page.
In an optional implementation manner, the search information is search information of a commodity, and the apparatus further includes a determining module, configured to determine a plurality of recommended words according to the following steps:
determining the first recommended word corresponding to the commodity object belonging to the target commodity type according to the target commodity type indicated by the commodity searching information; and/or the presence of a gas in the gas,
and determining a related commodity type corresponding to the target commodity type according to the target commodity type indicated by the commodity searching information, and determining the second recommended word representing the related commodity type.
In an optional implementation manner, the first display module is configured to display, on the search result page, commodity cards corresponding to a plurality of commodity objects respectively and recommendation word cards corresponding to the plurality of recommendation words;
the recommended word cards comprise a first recommended word card and a second recommended word card; the first recommended word card comprises a plurality of first recommended words, and the second recommended word card comprises a plurality of second recommended words; alternatively, the first and second electrodes may be,
the recommended word cards comprise third recommended word cards; the third recommended word card comprises a plurality of second recommended words and a plurality of spliced search words, and the spliced search words are formed by splicing the first recommended words and the search words contained in the search information.
In an optional implementation manner, in a case that the recommended word cards include a first recommended word card and a second recommended word card, the first display module is configured to determine, according to the search information and recommended words in the recommended word cards, a degree of correlation between each of the first recommended word card and the search information and between each of the second recommended word card and the search information;
determining the display sequence between the first recommended word card and the second recommended word card according to the relevancy and the operation data aiming at the relevant commodities; the related commodities are commodities related to the commodity searching information;
and inserting the recommended word cards into the commodity cards in the search result page according to the display sequence between the first recommended word card and the second recommended word card.
In an optional implementation manner, the determining module is configured to determine, according to a target commodity type indicated by the commodity search information, commodity attribute features respectively corresponding to commodities in a commodity library, where the commodities belong to the target commodity type, and use the determined commodity attribute features as first recommendation words;
determining a related commodity type corresponding to the target commodity type according to the target commodity type corresponding to the commodity searching information and a pre-stored matching relation between the commodity types; and taking the recommending words representing the associated commodity types as second recommending words.
In an optional embodiment, the receiving module is configured to receive the search information input into a search box in the search result page;
the device further comprises a second display module, which is used for responding to the triggering operation of any one first recommended word in the first recommended word card after the plurality of recommended words are displayed on a search result page, splicing the first recommended word and the search word contained in the search information to obtain a spliced search word; the spliced search words are displayed in a search frame of a search result page in an updating mode, and search results matched with the spliced search words are displayed in a search result display area; alternatively, the first and second electrodes may be,
responding to a trigger operation aiming at any second recommended word in the second recommended word card, updating and displaying the second recommended word in a search box of a search result page, and displaying a search result matched with the second recommended word in a search result display area; alternatively, the first and second electrodes may be,
responding to the triggering operation aiming at any one second recommended word or spliced search word in the third recommended word card, updating and displaying the second recommended word or spliced search word in a search frame of a search result page, and displaying a search result matched with the second recommended word or spliced search word in a search result display area.
In an optional implementation manner, the second presentation module is further configured to present a detail page matched with the first recommended word in response to a trigger operation for the first recommended word; alternatively, the first and second electrodes may be,
responding to the trigger operation aiming at the second recommended word, and displaying a search result containing a plurality of associated recommended words corresponding to the second recommended word; the plurality of associated recommended words comprise a first associated recommended word and a second associated recommended word; each first associated recommended word represents an object under the object type indicated by the second recommended word, and each second associated recommended word represents an associated object type corresponding to the object type indicated by the second recommended word.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device runs, the processor and the memory communicate with each other through the bus, and when the machine-readable instructions are executed by the processor, the processor performs the steps of the first aspect or any one of the possible search result presentation methods of the first aspect.
In a fourth aspect, this disclosed embodiment further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the first aspect described above, or any one of the possible search result presentation methods in the first aspect.
For the description of the effect of the above search result presentation apparatus, computer device and storage medium, reference is made to the description of the above search result presentation method, which is not repeated here.
The search result display method, the search result display device, the computer equipment and the storage medium provided by the embodiment of the disclosure receive search information; acquiring a plurality of recommended words corresponding to the search information; the plurality of recommended words comprise a first recommended word and a second recommended word; each first recommended word represents an object under the target object type indicated by the search information, and each second recommended word represents an associated object type corresponding to the target object type indicated by the search information; and displaying a plurality of recommended words on a search result page.
That is, in the embodiment of the present disclosure, a plurality of recommended words corresponding to the search information are displayed in the search result page, where a first recommended word represents an object in the target object type indicated by the search information, and therefore, a relatively detailed object in the target object type indicated by the search information can be provided for the user by displaying the first recommended word; the second recommended word represents the associated object type corresponding to the target object type indicated by the search information, so that the associated object type extended on the basis of the target object type can be provided for the user by showing the second recommended word. Based on the method, the user can quickly find the content meeting the search desire through the recommendation words respectively corresponding to the refined object and the extended associated object types, the search time is reduced, and the information search efficiency is improved.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
Furthermore, the terms "first," "second," and the like in the description and in the claims, and in the drawings described above, in the embodiments of the present disclosure are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein.
Reference herein to "a plurality or a number" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Research shows that a user can search information in application software or a webpage to obtain a search result meeting the requirement. In some cases, the user has limited information on the target object desired to be searched, and when a search request is initiated, the target object desired to be searched may not be described very accurately.
In this case, the obtained search results often relate to diversified target objects, and at this time, it is difficult to quickly find content meeting the search intention from the search results, which takes a long time to find, and the search target achievement rate is low.
Based on the research, the present disclosure provides a search result displaying method, in which a plurality of recommended words corresponding to search information are displayed in a search result page, wherein a first recommended word represents an object in a target object type indicated by the search information, and thus a relatively detailed object in the target object type indicated by the search information can be provided for a user by displaying the first recommended word; the second recommended word represents the associated object type corresponding to the target object type indicated by the search information, so that the associated object type extended on the basis of the target object type can be provided for the user by showing the second recommended word. Based on the method, the user can quickly find the content meeting the search desire through the recommendation words respectively corresponding to the refined object and the extended associated object types, the search time is reduced, and the information search efficiency is improved.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solutions proposed by the present disclosure to the above-mentioned problems should be the contribution of the inventor in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
To facilitate understanding of the present embodiment, first, a search result presentation method disclosed in the embodiments of the present disclosure is described in detail, where an execution subject of the search result presentation method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability, and the computer device includes, for example: terminal equipment or servers or other processing devices. In some possible implementations, the search result presentation method may be implemented by a processor calling computer readable instructions stored in a memory.
A search result display method provided by the embodiment of the present disclosure is described in detail below.
Referring to fig. 1, a flowchart of a search result displaying method provided in the embodiment of the present disclosure is shown, where the method includes steps S101 to S103, where:
s101: search information is received.
In this step, the search information may include information of a search target object that is requested to be input by a user based on a search intention of the user on a web page or an Application (APP) page that provides various information.
For example, the search term may be a search term, or a query sentence, or a query voice, etc. input at a query entry at the search end. The search end may include, but is not limited to: a web page side of the target web page, an application client side, and the like.
Here, the query entry may include a search box, and in particular implementations, search information entered into the search box in the search results page may be received.
Different search scenes can correspond to different search information, and the search information in the comprehensive search scene can include search information of commodities, information, articles, videos, live broadcasts and the like.
S102: acquiring a plurality of recommended words corresponding to the search information; the plurality of recommended words comprise a first recommended word and a second recommended word; each first recommended word represents an object under the target object type indicated by the search information, and each second recommended word represents an associated object type corresponding to the target object type indicated by the search information.
In implementation, a plurality of recommended words can be preset and stored in a database; the first recommended word can represent an object in the target object type; the second recommended word may characterize an associated object type corresponding to the target object type. Here, the associated object type may be extended on the basis of the target object type.
Taking the search information as the commodity search information as an example, it is known that the target object type is lipstick, the objects under the target object type may include lipsticks of various color numbers, and the associated object type may include color cosmetics, makeup tools, and the like.
Taking the search information as video search information as an example, knowing that the type of the target object is a certain variety program A, the object under the type of the target object can be a certain period of the variety program A; the associated object type corresponding to the target object type may include other hedging programs B with the same program attribute, where the program attribute may include other hedging programs B with the same exploration category hedging, food category hedging, reasoning category hedging, competition category hedging, and the like.
And determining the type of the target object indicated by the search information, wherein in some embodiments, a semantic recognition algorithm may be used to recognize a keyword in the search information, and determine the type of the target object corresponding to the keyword, that is, the type of the target object indicated by the search information.
S103: and displaying a plurality of recommended words on a search result page.
A plurality of recommended words are displayed on the search result page, and the plurality of recommended words may be displayed in different regions, for example, the first recommended word and the second recommended word are displayed in different regions respectively. In each region, the display sequence of each recommended word can be randomly set; or, the display order may also be determined according to the height of the corresponding interactive data volume, for example, the higher the corresponding search volume is, the more forward the display position is; or, the display order may also be determined by combining the correlation between each recommended word and the search information and/or the operation data (such as the number of purchases and the number of recommendations) for the object related to the recommended word.
In one embodiment, a recommendation word card may be set in the search result page to display the obtained multiple recommendation words. A plurality of recommended words can be displayed in each recommended word card.
In a specific implementation, different types of recommendation word cards may be set, for example, a first recommendation word card including a plurality of first recommendation words and a second recommendation word card including a plurality of second recommendation words are set. In implementation, fixed insertion positions may be set for the first recommended word card and the second recommended word card, respectively, for example, the first recommended word card is fixedly inserted between the mth search result and the M +1 th search result, the second recommended word card is fixedly inserted between the nth search result and the N +1 th search result, and M and N are rounded. Alternatively, the presentation order between each search result and the recommended word card may be determined according to one or more of interaction data (for example, search volume) corresponding to each search result in the search result page and each recommended word in the first recommended word card and the second recommended word card, a degree of correlation between each search result and the search information, and operation data (for example, purchase frequency and recommendation frequency) for a related object. The display sequence of the recommended word cards will be further explained in the following, and details are not repeated here.
In the foregoing S101 to S103, a plurality of recommended words corresponding to the search information are displayed in the search result page, where a first recommended word represents an object in the target object type indicated by the search information, and therefore, a relatively detailed object in the target object type indicated by the search information can be provided for the user by displaying the first recommended word; the second recommended word represents the associated object type corresponding to the target object type indicated by the search information, so that the associated object type extended on the basis of the target object type can be provided for the user by showing the second recommended word. Based on the method, the user can quickly find the content meeting the search desire through the recommendation words respectively corresponding to the refined object and the extended associated object types, the search time is reduced, and the information search efficiency is improved.
Next, S102 will be further described by taking the search information as the product search information as an example.
In the case where the search information is commodity search information, the plurality of recommended words may be determined according to the following steps:
step 1, determining a first recommendation word corresponding to a commodity object belonging to the target commodity type according to the target commodity type indicated by the commodity search information.
In specific implementation, according to the target commodity type indicated by the commodity search information, commodity attribute features corresponding to each commodity belonging to the target commodity type in the commodity library are determined, and the determined plurality of commodity attribute features are used as the first recommendation words.
The target commodity type indicated by the commodity search information may be identified based on a semantic recognition algorithm. The product library may be pre-stored with a plurality of different product types, each product in each product type, and product attribute characteristics corresponding to each product. The merchandise attribute characteristics may include, for example, a brand of the merchandise, a model of the merchandise, and the like. For example, it is determined that the target commodity type indicated by the commodity search information is a down jacket, different brands of the down jacket may be used as the first recommended word, and for example, it is determined that the target commodity type indicated by the commodity search information is lipstick, and then, different brands of the lipstick may be used as the first recommended word.
And/or step 2, determining a related commodity type corresponding to the target commodity type according to the target commodity type indicated by the commodity search information, and determining a second recommended word representing the related commodity type.
In specific implementation, the associated commodity type corresponding to the target commodity type can be determined according to the target commodity type corresponding to the commodity search information and the pre-stored matching relationship between the commodity types; and taking the recommending words representing the associated commodity types as second recommending words.
Continuing the above example, the commodity types under the dressing requirement of adding clothes in winter are stored in advance, that is, the commodity types meeting the dressing requirement of adding clothes in winter are determined to be the commodity types with the matching relationship, and when the search information is the down jacket, the associated commodity types matched with the down jacket can be obtained and comprise thermal underwear, windproof coats and the like. For another example, a commodity type having a similar or complete set of makeup requirements such as a lipstick and a photo tray, a cosmetic kit, and the like may be used as the commodity type having a matching relationship.
In the search result page, the plurality of recommended words may be presented in synchronization with each search result. Specifically, commodity cards (corresponding to the search results) corresponding to the plurality of commodity objects and recommendation word cards corresponding to the plurality of recommendation words are displayed on the search result page. The recommended word cards can comprise a first recommended word card and a second recommended word card; the first recommendation word card may include a plurality of first recommendation words, that is, a commodity object representing a target commodity type indicated by the commodity search information; the second recommendation word card may include a plurality of second recommendation words, that is, the associated product types corresponding to the target product types indicated by the representation product search information.
Referring to fig. 2, a schematic diagram of a specific display of a first recommended word card and a second recommended word card is shown. Including a search results page 20, a first recommended word card 21, a second recommended word card 22, and a plurality of merchandise cards 23.
Here, the presentation order of the first recommended word card 21 and the second recommended word card 22 in the search result page 20 may be random; alternatively, the relative display order of the first recommended word card 21 and the second recommended word card 22 in the search result page 20 may also be determined according to the interaction data (such as the search volume) of the first recommended word or each recommended word in the recommended word cards, for example, the recommended word cards corresponding to a larger search volume in the first recommended word a and the second recommended word a are preferentially displayed. Besides, the recommendation information may be determined according to the degree of correlation between each recommendation word card and the search information, and the like, which is described in detail below.
In an implementation manner, according to search information and recommended words in recommended word cards, determining the correlation between the first recommended word card and the search information and the correlation between the second recommended word card and the search information respectively; determining the display sequence between the first recommended word card and the second recommended word card according to the relevancy and the operation data aiming at the relevant commodities; the related commodities are commodities related to commodity searching information; and inserting recommended word cards into the commodity cards in the search result page according to the sequence of display between the first recommended word card and the second recommended word card.
Here, the relevancy may include a matching degree between the product information corresponding to each of the first recommendation word in the first recommendation word card and the second recommendation word in the second recommendation word card and the product corresponding to the product search information. For example, the degree of correlation may be calculated as semantic similarity between the first recommended word and the keyword corresponding to the item indicated by the search information, respectively. Alternatively, the degree of similarity between the search result using the first recommended word as the search information and the search result using the second recommended word as the search information and the search result of the received item search information may be calculated as the degree of correlation.
The search result using the recommended word as the search information may include multimedia content, such as a video, a live broadcast, a picture, a text, and other article introduction content.
The related goods may be goods related to the goods search information, for example, goods in the search result with the recommendation word as the search information. The operation data for the related product may be, for example, a collection operation or a purchase operation for the related product.
Determining the display sequence between the first recommended word card and the second recommended word card, specifically, if operation data for related commodities exist, displaying the recommended word cards including the corresponding related commodities in advance; if the first recommended word card and the second recommended word card both have corresponding operation data for the related commodities, the degree of correlation is further judged, and the recommended word card with the larger degree of correlation is displayed in advance.
In the above, recommended word cards are inserted into the plurality of commodity cards in the search result page. Specifically, the recommended word cards displayed earlier can be inserted between the L-th and L + 1-th commodity cards according to the sequence of display between the first recommended word card and the second recommended word card, the recommended word cards displayed later are inserted between the W-th and W + 1-th commodity cards, L and W are rounded, and L < W.
In other embodiments, all recommended words may be put into one recommended word card. Specifically, the recommended word cards may include a third recommended word card; the third recommended word card can contain a plurality of second recommended words and a plurality of spliced search words; the spliced search word may be formed by splicing the first recommended word and a search word included in the search information.
Taking the search information as lipstick as an example, the search word corresponding to the search information is lipstick, and the first recommendation word may include brand a, brand B, and brand C under the lipstick. The concatenated search terms may include lipstick + brand a, lipstick + brand B, and lipstick + brand C.
Referring to fig. 3, a specific illustration of the third recommended word card is shown. Including a search results page 30, a third recommended word card 31, and a plurality of merchandise cards 32.
Here, the display order of each recommended word (i.e., the second recommended word and the concatenated search word) in the third recommended word card may be random, or may also be determined based on the interactive data corresponding to each recommended word, the correlation between the search information, the operation data for the related commodity object, and the like.
And step S103, after the search result page shows a plurality of recommended words, initiating a search request by using the recommended words as search information.
In some embodiments, the search request is initiated by taking the spliced search word obtained by splicing the first recommended word in the first recommended word card and the search word in the commodity search information as new search information. In specific implementation, in response to a trigger operation for any first recommended word in the first recommended word card, the first recommended word and a search word contained in the search information can be spliced to obtain a spliced search word; and then, updating and displaying the spliced search word in a search box of the search result page, and displaying the search result matched with the spliced search word in a search result display area.
Referring to fig. 4, a schematic diagram of a page for initiating a search request for a first recommended word is shown; obtaining a concatenated search term 41 (i.e., the search term and the first recommended word a shown in fig. 4) by clicking the first recommended word a; search results matching the concatenated search terms are presented in search result presentation area 42.
Here, the search result matched with the concatenated search term may be a plurality of merchandise cards shown in fig. 4, that is, a merchandise card E, a merchandise card F, a merchandise card G, a merchandise card H, a merchandise card I, and a merchandise card J; or, the search term may also be a detail page matching the concatenated search term (the same as the detail page matching the first recommended term shown in fig. 5, and repeated descriptions are omitted).
Or, taking the second recommended word in the second recommended word card as the search information to initiate the search request. In specific implementation, in response to a trigger operation for any second recommended word in the second recommended word card, the second recommended word is updated and displayed in a search box of the search result page, and a search result matched with the second recommended word is displayed in a search result display area.
Here, the search result matched with the second recommendation word may include a plurality of merchandise cards in which merchandise displayed is associated with the second recommendation word.
Or the second recommended word in the second recommended word card or the spliced search word is used as search information to initiate a search request. In specific implementation, in response to a trigger operation for any second recommended word or spliced search word in the third recommended word card, the second recommended word or spliced search word is displayed in a search frame of a search result page in an updating manner, and a search result matched with the second recommended word or spliced search word is displayed in a search result display area.
Here, the search result matched with the second recommended word may include a plurality of merchandise cards, or associated recommended word cards composed of a plurality of merchandise cards and a plurality of associated recommended words corresponding to the second recommended word (e.g., a first associated recommended word card 61 and a second associated recommended word card 62 shown in fig. 6).
The search results matched with the spliced search terms may include a plurality of merchandise cards; or, a detail page matching the concatenated search terms. For example, in response to a triggering operation for splicing the search term a in the third recommended term card, the spliced search term is presented in the search box of the search result page in an updated manner, and a detail page (such as the detail page 52 shown in fig. 5) matching the spliced search term a is presented in the search result presentation area.
In other embodiments, the search request is initiated by using the first recommended word in the first recommended word card as the search information. In specific implementation, a detail page matched with the first recommended word is displayed in response to the trigger operation aiming at the first recommended word.
The first recommended word can be directly used as search information to initiate a search request, and a detail page matched with the first recommended word is displayed. Here, the detail page may include therein a video introduction for the item matching the first recommended word and item detail information.
Or, a spliced search term obtained by splicing the first recommended term and the search term in the commodity search information may be used as new search information to initiate a search request, and a detail page matched with the first recommended term, that is, a detail page matched with the spliced search term, is displayed, as shown in fig. 5, which is a schematic view illustrating a display of a detail page matched with the spliced search term. Including concatenating the search terms 51 and the details page 52. Here, the detail page may include video introduction and article detail information for the article matching the concatenated search term.
In other embodiments, the search request is initiated with the second recommended word in the second recommended word card as the search information. In specific implementation, responding to the trigger operation aiming at the second recommended word, and displaying a search result containing a plurality of associated recommended words corresponding to the second recommended word; the plurality of associated recommended words comprise a first associated recommended word and a second associated recommended word; each first associated recommended word represents an object under the object type indicated by the second recommended word, and each second associated recommended word represents an associated object type corresponding to the object type indicated by the second recommended word.
Here, the determination manner of the first associated recommended word and the second associated recommended word is the same as that of the first associated recommended word and the second associated recommended word, and repeated descriptions are omitted.
Referring to fig. 6, a schematic diagram of a page for initiating a search request for the second recommended word is shown. And displaying the search result containing a plurality of associated recommended words corresponding to the second recommended word in the search result display area by clicking the second recommended word D.
Here, the search result may be a plurality of merchandise cards shown in fig. 6, i.e., merchandise card K, merchandise card M, merchandise card L, merchandise card N; and a first associated recommended word card 61 and a second associated recommended word card 62. The first associated recommended word card comprises a plurality of first associated keywords, and the second associated recommended word card comprises a plurality of second associated recommended words.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, a search result display device corresponding to the search result display method is also provided in the embodiments of the present disclosure, and because the principle of solving the problem of the device in the embodiments of the present disclosure is similar to the search result display method in the embodiments of the present disclosure, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 7, a schematic diagram of a search result display apparatus provided in an embodiment of the present disclosure is shown, where the apparatus includes: a receiving module 701, an obtaining module 702 and a first display module 703; wherein the content of the first and second substances,
a receiving module 701, configured to receive search information;
an obtaining module 702, configured to obtain a plurality of recommended words corresponding to the search information; the plurality of recommended words comprise a first recommended word and a second recommended word; each first recommended word represents an object under the target object type indicated by the search information, and each second recommended word represents an associated object type corresponding to the target object type indicated by the search information;
the first display module 703 is configured to display the plurality of recommended words on a search result page.
In an optional implementation manner, the search information is article search information, and the apparatus further includes a determining module 704, configured to determine a plurality of recommended words according to the following steps:
determining the first recommended word corresponding to the commodity object belonging to the target commodity type according to the target commodity type indicated by the commodity searching information; and/or the presence of a gas in the gas,
and determining a related commodity type corresponding to the target commodity type according to the target commodity type indicated by the commodity searching information, and determining the second recommended word representing the related commodity type.
In an optional implementation manner, the first display module 703 is configured to display, on the search result page, commodity cards corresponding to a plurality of commodity objects respectively and recommendation word cards corresponding to the plurality of recommendation words;
the recommended word cards comprise a first recommended word card and a second recommended word card; the first recommended word card comprises a plurality of first recommended words, and the second recommended word card comprises a plurality of second recommended words; alternatively, the first and second electrodes may be,
the recommended word cards comprise third recommended word cards; the third recommended word card comprises a plurality of second recommended words and a plurality of spliced search words, and the spliced search words are formed by splicing the first recommended words and the search words contained in the search information.
In an optional implementation manner, in a case that the recommended word cards include a first recommended word card and a second recommended word card, the first display module 703 is configured to determine, according to the search information and recommended words in the recommended word cards, the correlation between the search information and each of the first recommended word card and the second recommended word card;
determining the display sequence between the first recommended word card and the second recommended word card according to the relevancy and the operation data aiming at the relevant commodities; the related commodities are commodities related to the commodity searching information;
and inserting the recommended word cards into the commodity cards in the search result page according to the display sequence between the first recommended word card and the second recommended word card.
In an optional implementation manner, the determining module 704 is configured to determine, according to a target commodity type indicated by the commodity search information, commodity attribute features respectively corresponding to commodities in a commodity library, where the commodities belong to the target commodity type, and use the determined commodity attribute features as first recommendation words;
determining a related commodity type corresponding to the target commodity type according to the target commodity type corresponding to the commodity searching information and a pre-stored matching relation between the commodity types; and taking the recommending words representing the associated commodity types as second recommending words.
In an optional embodiment, the receiving module 701 is configured to receive the search information input into a search box in the search result page;
the device further includes a second display module 705, configured to, after the plurality of recommended words are displayed on a search result page, respond to a trigger operation for any one of the first recommended words in the first recommended word card, splice the first recommended word and a search word included in the search information to obtain a spliced search word; the spliced search words are displayed in a search frame of a search result page in an updating mode, and search results matched with the spliced search words are displayed in a search result display area; alternatively, the first and second electrodes may be,
responding to a trigger operation aiming at any second recommended word in the second recommended word card, updating and displaying the second recommended word in a search box of a search result page, and displaying a search result matched with the second recommended word in a search result display area; alternatively, the first and second electrodes may be,
responding to the triggering operation aiming at any one second recommended word or spliced search word in the third recommended word card, updating and displaying the second recommended word or spliced search word in a search frame of a search result page, and displaying a search result matched with the second recommended word or spliced search word in a search result display area.
In an optional embodiment, the second presentation module 705 is further configured to present, in response to a trigger operation for the first recommended word, a detail page matched with the first recommended word; alternatively, the first and second electrodes may be,
responding to a trigger operation aiming at the second recommended word, and displaying a search result containing a plurality of associated recommended words corresponding to the second recommended word; the plurality of associated recommended words comprise a first associated recommended word and a second associated recommended word; each first associated recommended word represents an object under the object type indicated by the second recommended word, and each second associated recommended word represents an associated object type corresponding to the object type indicated by the second recommended word.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Based on the same technical concept, the embodiment of the application also provides computer equipment. Referring to fig. 8, a schematic structural diagram of a computer device provided in an embodiment of the present application includes:
a processor 81, a memory 82, and a bus 83. Wherein the memory 82 stores machine-readable instructions executable by the processor 81, the processor 81 is configured to execute the machine-readable instructions stored in the memory 82, and when the machine-readable instructions are executed by the processor 81, the processor 81 performs the following steps: s101: receiving search information; s102: acquiring a plurality of recommended words corresponding to the search information; the plurality of recommended words comprise a first recommended word and a second recommended word; each first recommended word represents an object under the target object type indicated by the search information, and each second recommended word represents an associated object type corresponding to the target object type indicated by the search information; s103: and displaying a plurality of recommended words on a search result page.
The memory 82 includes a memory 821 and an external memory 822; the memory 821 is also referred to as an internal memory and is used for temporarily storing the operation data in the processor 81 and the data exchanged with the external storage 822 such as a hard disk, the processor 81 exchanges data with the external storage 822 through the memory 821, and when the computer device is operated, the processor 81 communicates with the storage 82 through the bus 83, so that the processor 81 executes the execution instructions mentioned in the above method embodiments.
The embodiment of the present disclosure further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the search result presentation method described in the above method embodiment are executed. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiment of the present disclosure further provides a computer program product, which includes computer instructions, and the computer instructions, when executed by a processor, implement the steps of the above-mentioned search result display method. In this case, the computer program product may be any product capable of implementing the search result presentation method, and some or all aspects of the computer program product that contribute to the prior art may be embodied in the form of a Software product (e.g., Software Development Kit (SDK)), which may be stored in a storage medium and causes an associated device or processor to execute some or all of the steps of the search result presentation method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is only one logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present disclosure may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present disclosure, which are essential or part of the technical solutions contributing to the prior art, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.