Search Filter Option Display Method, Device, Electronic Device, and Storage Medium
By mixing the sorting of recommended search terms and vertical tags in the navigation bar of the search page, the problems of resource consumption and inconvenience of user viewing are solved, and resource saving and user-friendly search filter options are realized.
Patent Information
- Application Number
- CN202310002739.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-03
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2043-01-03
AI Technical Summary
In the prior art, the recommended search terms and vertical labels are displayed in the navigation bar of the search page, which leads to a lot of resource consumption and is inconvenient for users to view and use.
After mixing and sorting the recommended search terms with vertical labels, it is displayed uniformly in the navigation bar of the search page, and the filtering option sequence is optimized through association and priority sorting.
Save page display resources, facilitate users to view and use, and improve the efficiency of search and filtering.
Smart Images

Figure CN116010694B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and more particularly, to a method, apparatus, electronic device, and storage medium for displaying search filter options. Background Art
[0002] Generally, in the navigation bar of a search page, multiple vertical category tags can be displayed, and users can filter search results based on the vertical category tags. In some cases, to better guide users to search, some search terms may also be recommended to users to help them more accurately and quickly find the information they need.
[0003] When displaying the recommended search terms, they are generally shown in a display area outside the navigation bar. This display method has the problems of consuming more page display resources on the one hand, and on the other hand, it is not convenient for users to view and use. Summary of the Invention
[0004] In view of this, the present disclosure provides at least a method, apparatus, electronic device, and storage medium for displaying search filter options.
[0005] In a first aspect, the present disclosure provides a method for displaying search filter options, including:
[0006] Responding to receiving search information, obtaining multiple recommended search terms that match the search information;
[0007] Determining a filter option sequence after mixing and sorting the multiple recommended search terms and each vertical category tag;
[0008] Displaying the mixed and sorted filter option sequence in the navigation bar of the search page.
[0009] In a possible implementation, the determining a filter option sequence after mixing and sorting the multiple recommended search terms and each vertical category tag includes:
[0010] Based on the consumption data of the multimedia content corresponding to each recommended search term under each vertical category tag, determining the association relationship between each recommended search term and each vertical category tag;
[0011] According to the determined association relationship, determining a filter option sequence after mixing and sorting the multiple recommended search terms and each vertical category tag.
[0012] In a possible implementation, the filter option sequence is generated according to the following steps:
[0013] Based on the search information, determining the priority order between the vertical category tags;
[0014] Determine a plurality of pre - vertical tags from the respective vertical tags according to the priority order;
[0015] After mixing and sorting the plurality of pre - vertical tags and the plurality of recommended search terms, use them as the pre - screening options of the screening option sequence, and use the vertical tags other than the pre - vertical tags among the respective vertical tags as the post - screening options of the screening option sequence; the pre - screening options are used to be arranged in front of the post - screening options.
[0016] In a possible implementation manner, determining the priority order among the respective vertical tags based on the search information includes:
[0017] Determine the priority order among the respective vertical tags based on the multimedia content consumption data under the search category to which the search information belongs.
[0018] In a possible implementation manner, the determining a plurality of pre - vertical tags from the respective vertical tags based on the priority order includes:
[0019] Select the first N first vertical tags in descending order of the priority order;
[0020] Perform a union operation on the first N first vertical tags and a preset plurality of second vertical tags, and use each vertical tag in the obtained union as the plurality of pre - vertical tags.
[0021] In a possible implementation manner, the mixing and sorting the plurality of pre - vertical tags and the plurality of recommended search terms and using them as the pre - screening options of the screening option sequence includes:
[0022] When the number of the recommended search terms is greater than M, select M recommended search terms from the plurality of recommended search terms according to the relevance between the plurality of recommended search terms and the search information, and / or the multimedia content consumption data corresponding to the plurality of recommended search terms;
[0023] Mix and sort the plurality of pre - vertical tags and the M recommended search terms, and use them as the pre - screening options of the screening option sequence;
[0024] The using the vertical tags other than the pre - vertical tags among the respective vertical tags as the post - screening options of the screening option sequence includes:
[0025] Use the vertical tags other than the pre - vertical tags, and the recommended search terms other than the M recommended search terms among the plurality of recommended search terms, as the post - screening options of the screening option sequence.
[0026] In a possible implementation, before mixing and sorting the multiple recommended search terms with each vertical label, the following steps are further included:
[0027] Semantically match the multiple recommended search terms with each vertical label to determine whether there are any recommended search terms among the multiple recommended search terms that are semantically matched with the vertical label;
[0028] If any exist, delete the recommended search terms that are semantically matched with the vertical label.
[0029] In a possible implementation, after presenting the sorted filter option sequence after mixing, the following steps are further included:
[0030] Adjust the order of each filter option in the filter option sequence according to the trigger operation data for each filter option in the filter option sequence.
[0031] In a possible implementation, after presenting the sorted filter option sequence after mixing, the following steps are further included:
[0032] Respond to the trigger operation on the target vertical label in the filter option sequence, set the target vertical label to the selected state, and present each search result of the search information under the target vertical label; and / or,
[0033] Respond to the trigger operation on the search recommendation term in the filter option sequence, set the comprehensive label on the search page to the selected state, and present each search result that matches the search information and the search recommendation term.
[0034] For the effect descriptions of the following devices, electronic devices, etc., refer to the descriptions of the above methods and will not be elaborated here.
[0035] In a second aspect, the present disclosure provides a search filter option display device, including:
[0036] An acquisition module, configured to acquire multiple recommended search terms that match the search information in response to receiving the search information;
[0037] A determination module, configured to determine a filter option sequence after mixing and sorting the multiple recommended search terms with each vertical label;
[0038] A first display module, configured to display the sorted filter option sequence after mixing in the navigation bar of the search page.
[0039] In a third aspect, the present disclosure provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the search filter option display method described in the above first aspect or any one of the embodiments are executed.
[0040] In a fourth aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the steps of the search filter option display method described in the above first aspect or any one of the embodiments are executed.
[0041] The above search filter option display method, device, computer device, and storage medium provided by the embodiments of the present disclosure can, in response to receiving search information, obtain a plurality of recommended search terms that match the search information. Furthermore, a filter option sequence after mixing and sorting the plurality of recommended search terms with each vertical category label can be determined; then, the filter option sequence after mixing and sorting can be displayed in the navigation bar of the search page. By displaying the filter option sequence after mixing and sorting the plurality of recommended search terms with each vertical category label in the navigation bar of the search page. Thus, the embodiments of the present disclosure can mix and display the recommended search terms and each vertical category label in the navigation bar, saving page display resources on the one hand and facilitating users to view and use each filter option on the other hand.
[0042] To make the above objects, features, and advantages of the present disclosure more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, detailed descriptions are as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the accompanying drawings required for use in the embodiments. The accompanying drawings are incorporated into the specification and form a part of the specification. These drawings show embodiments that conform to the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0044] Figure 1a Shows a schematic diagram of an interface for displaying vertical category labels on a search page provided by an embodiment of the present disclosure;
[0045] Figure 1b Shows a schematic diagram of an interface for displaying vertical category labels and recommended search terms in a partitioned manner on a search page provided by an embodiment of the present disclosure;
[0046] Figure 2 The figure shows a schematic flowchart of a method for displaying search filter options provided by an embodiment of the present disclosure;
[0047] Figure 3 The figure shows a schematic interface diagram for displaying the filter options after mixed sorting in a method for displaying search filter options provided by an embodiment of the present disclosure;
[0048] Figure 4 The figure shows a schematic architecture diagram of a device for displaying search filter options provided by an embodiment of the present disclosure;
[0049] Figure 5 The figure shows a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. Detailed implementation manners
[0050] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are only some, rather than all, of the embodiments of the present disclosure. Components of the embodiments of the present disclosure described and illustrated herein generally may be arranged and designed in a variety of different configurations. Therefore, the detailed description of the embodiments of the present disclosure provided herein is not intended to limit the scope of the claimed present disclosure, but is merely representative of selected embodiments of the present disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without making creative efforts fall within the protection scope of the present disclosure.
[0051] Generally, when a user conducts information search, vertical tags will be displayed in the navigation bar of the search page for filtering search results; sometimes, to better guide the user to conduct a search, some search terms will also be recommended to the user to guide the user to more accurately and quickly search for the information they need.
[0052] Usually, as Figure 1a shown, in one case, only multiple vertical tags are displayed on the search page, and the display area where these multiple vertical tags are located can be referred to as the navigation bar area. As Figure 1b shown, the vertical tags and recommended search terms are synchronously displayed on the search page, but the vertical tags and recommended search terms are displayed in different areas. In the figure, the vertical tags and recommended search terms are respectively displayed above and below the area where the search box is located; it can be seen that when the recommended search terms are displayed, they are displayed in an additional display area. This display method has problems of consuming more page display resources on the one hand, and on the other hand, it is not convenient for the user to view and use the vertical tags and recommended search terms uniformly.
[0053] Based on this, embodiments of the present disclosure propose a method, apparatus, electronic device, and storage medium for displaying search filter options.
[0054] It should be noted that similar reference numerals and letters denote similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0055] The term "and / or" in this article merely describes an association relationship and indicates that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" in this article means any one of multiple or any combination of at least two of multiple. For example, including at least one of A, B, and C can represent any one or more elements selected from the set composed of A, B, and C.
[0056] For the convenience of understanding the embodiments of the present disclosure, a method for displaying search filter options disclosed in the embodiments of the present disclosure will be introduced in detail first. The execution subject of the search filter option display method provided by the embodiments of the present disclosure is generally a computer device with certain computing capabilities. Such computer devices include, for example: terminal devices, servers, or other processing devices. The terminal device can be a user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, vehicle-mounted device, etc. In some possible implementation manners, the search filter option display method can be implemented by a processor calling computer-readable instructions stored in a memory.
[0057] The search filter option display method provided by the embodiments of the present disclosure will be described below by taking the user side as a terminal device as an example.
[0058] Embodiment 1
[0059] See Figure 2 As shown in the flowchart of the search filter option display method provided by the embodiments of the present disclosure, the method includes: S201 - S203. Specifically:
[0060] S201. In response to receiving search information, obtain multiple recommended search terms that match the search information.
[0061] S202. Determine a filter option sequence after mixing and sorting the multiple recommended search terms with each vertical label.
[0062] S203. Display the filter option sequence after mixing and sorting in the navigation bar of the search page.
[0063] After receiving the search information, multiple recommended search terms that match the search information can be obtained. These multiple recommended search terms can be determined based on historical search data associated with the search information. For example, from the global historical search data, the initial search terms associated with the search information can be extracted, and then, according to the multimedia content consumption data corresponding to each of the extracted initial search terms, each initial search term can be sorted and filtered to obtain the final recommended search terms.
[0064] Each of the vertical category labels can be the original vertical category labels on the search page (including those displayed on the search page and those that can be displayed by sliding and switching, which are not currently displayed), or a certain number of vertical category labels selected from the original vertical category labels.
[0065] After mixing and sorting each recommended search term with each vertical category label, a sequence of filtered options including the mixed and sorted recommended search terms and vertical category labels is obtained. This sequence of filtered options, that is, the sorted recommended search terms and vertical category labels, is synchronously displayed in the same position area on the search page, that is, in the navigation bar where the vertical category labels originally are.
[0066] By using the above method, the recommended search terms and each vertical category label can be mixed and displayed in the same position area. On the one hand, it saves the page display resources, and on the other hand, it also facilitates the user to view and use each filtered option uniformly.
[0067] The following provides a relatively detailed description of the above S201 to S203.
[0068] In the above S201, the search information is the search term or search statement entered by the user in the search bar. Taking the search information "electric bicycle" and "the president of Peking University" as examples, after the user enters the search information, multiple recommended search terms that match the search information can be refined and obtained based on the historical search records. For example, when the search information is "electric bicycle", the recommended search terms can include accessories, brands, reviews, etc.; when the search information is "Peking University", the recommended search terms can include campus videos, rankings, presidents, school history introductions, admission scores, etc.; when the search information is "who is the president of Peking University", the recommended search terms can include presidents, president profiles, etc.
[0069] In the above S202, each vertical tag may include tags corresponding to different content genres, such as videos, short videos, news, pictures, etc., and may also include various tags related to multimedia content types or attributes, such as entertainment, technology, health, hot topics, and so on. After obtaining multiple recommended search terms, the multiple recommended search terms and each vertical tag can be screened and sorted mixedly to determine the screened item sequence after the mixed sorting of the multiple recommended search terms and each vertical tag. Specifically, in implementation, if there is a situation where there is no recommended search term that matches the search information, at this time, only the screened item sequence after the sorting of each vertical tag needs to be determined.
[0070] In a possible implementation manner, when sorting the multiple recommended search terms and each vertical tag mixedly, the recommended search terms and vertical tags with a consumption-related association relationship can be displayed adjacent to each other to meet the user's need for nearby consumption. In this way, after the user triggers a certain recommended search term to conduct a search, the user can nearby select the vertical tag that best meets the consumption demand to further screen the search results. Specifically, the following steps can be executed:
[0071] Step A1, based on the consumption data of the multimedia content corresponding to each recommended search term under each vertical tag, determine the association relationship between each recommended search term and each vertical tag.
[0072] Step A2, according to the determined association relationship, determine the screened item sequence after the mixed sorting of the multiple recommended search terms and each vertical tag.
[0073] In implementation, based on the consumption data of the multimedia content corresponding to each recommended search term under each vertical tag, the association relationship between each recommended search term and each vertical tag can be determined; that is, for each recommended search term, according to the consumption data such as the click-through rate, play volume, and sharing rate of the multimedia content corresponding to this recommended search term under each vertical tag, determine the degree of association between each recommended search term and each vertical tag; among them, each recommended search term can be associated with one or more vertical tags, and each vertical tag can also be associated with one or more recommended search terms.
[0074] Exemplarily, if the vertical tags include news, video, and picture, when the search information is "Peking University", for the recommended search term "president", the reading volume (2000 times) of the multimedia content corresponding to the recommended search term "president" under the vertical tag "news", the playback volume (500 times) under the vertical tag "video", and the view volume (1500 times) under the vertical tag "picture" can be used to determine that the correlation between the recommended search term "president" and the vertical tag "news" is 0.5, that is, 2000 / (2000 + 500 + 1500) = 0.5; the correlation between the recommended search term "president" and the vertical tag "video" is 0.125, that is, 500 / (2000 + 500 + 1500) = 0.125; the correlation between the recommended search term "president" and the vertical tag "picture" is 0.375, that is, 1500 / (2000 + 500 + 1500) = 0.375; in actual implementation, the various data can also be normalized and then weighted and summed, and only a simple illustration is made here.
[0075] Furthermore, according to the determined correlation relationship, the screening item sequence after mixing multiple recommended search terms and each vertical tag can be determined. Continuing with the above example, the screening item sequence after mixing can be determined as president, news, picture, video, that is, the recommended search term "president" can be associated with the vertical tag "news"; or, the screening item sequence after mixing can be determined as news, president, picture, video, that is, the recommended search term "president" can be associated with the vertical tag "news" and the vertical tag "picture".
[0076] Or, when the search information is "Peking University", the correlation between the recommended search term "ranking" and the vertical tag "picture" is higher than the correlation between the recommended search term "ranking" and the vertical tag "news", and the correlation between the recommended search term "ranking" and the vertical tag "news" is higher than the correlation between the recommended search term "ranking" and the vertical tag "video". At this time, the screening item sequence after mixing can be determined as news, president, picture, ranking, video, that is, the vertical tag "news" can be associated with the recommended search term "president", and the vertical tag "picture" can be associated with the recommended search term "president" and the recommended search term "ranking".
[0077] Here, based on the association relationship between the recommended search terms and the vertical tags, multiple recommended search terms and each vertical tag are sorted and displayed. The recommended search terms and vertical tags with a consumption association relationship can be displayed adjacent to each other, so as to meet the user's demand for nearby consumption. For example, if the multimedia content consumption data of a certain recommended search term under a certain vertical tag is relatively large, when the recommended search term and the vertical tag are displayed adjacent to each other, after the user triggers the recommended search term to perform a search and determines that they are most interested in the search results under the vertical tag on the search page, they can quickly trigger the vertical tag at this time to obtain more accurate search results.
[0078] In a possible implementation manner, when the number of vertical tags is relatively large, in order to ensure that the strongly demanded vertical tags and the recommended search terms can be presented on the current page, the important tags in the vertical tags and the recommended search terms can be sorted and displayed in a mixed manner and pre-displayed. Specifically, it includes:
[0079] Step B1, based on the search information, determine the priority order among the vertical tags;
[0080] Step B2, according to the priority order, determine multiple pre-display vertical tags from the vertical tags;
[0081] Step B3, after mixing and sorting the multiple pre-display vertical tags and the multiple recommended search terms, use them as the pre-screening options in the screening option sequence, and use the vertical tags other than the pre-display vertical tags in each vertical tag as the post-screening options in the screening option sequence; the pre-screening options are used to be arranged in front of the post-screening options.
[0082] In the above steps, based on the search information, determine the priority order among the vertical tags, and according to the priority order, determine multiple pre-display vertical tags from the vertical tags; that is, the determined pre-display vertical tags are usually strongly demanded vertical tags that better match the search requirements. By ensuring the priority display of these pre-display vertical tags, the search and screening requirements of users can be better met.
[0083] During implementation, first, based on the search information, determine the priority order among the vertical tags, and according to the priority order, determine multiple pre-display vertical tags from the vertical tags, that is, determine multiple pre-display vertical tags from the vertical tags in the order from high to low priority; among them, the number of pre-display vertical tags can be determined according to actual needs. For example, it can be 3, 4, etc. Further, after mixing and sorting the multiple pre-display vertical tags and the multiple recommended search terms, use them as the pre-screening options in the screening option sequence, and use the vertical tags other than the pre-display vertical tags in each vertical tag as the post-screening options in the screening option sequence; the pre-screening options are arranged in front of the post-screening options.
[0084] In specific implementation, the priority order among the above vertical tags can be determined according to the multimedia content consumption data, that is: based on the multimedia content consumption data under the search category to which the search information belongs, determine the priority order among the vertical tags.
[0085] In implementation, the priority order among the vertical tags can be determined based on the multimedia content consumption data under the search category to which the search information belongs; the search category to which the search information belongs can refer to the field category. For example, if the search information is a mobile phone of a certain brand, the search category can be the mobile phone category or the electrical appliance category. Based on the multimedia content consumption data of each vertical tag under this search category, it is obtained that the consumption data score corresponding to the vertical tag of e-commerce is the highest, followed by live broadcast and video. That is, the priority ranking of the vertical tag of e-commerce is the first, and live broadcast and video are the second.
[0086] Here, based on the multimedia content consumption data under the search category to which the search information belongs, determine the priority order among the vertical tags. While meeting the user's needs, it can ensure that subsequent strong demand vertical tags can be determined from the vertical tags according to the priority order.
[0087] In specific implementation, in step B2, determine multiple pre-vertical tags from the vertical tags based on the priority order, including: select the first first number of first vertical tags in the order from high to low according to the priority order; perform a union operation on the first first number of first vertical tags and a preset multiple second vertical tags, and use each vertical tag in the obtained union as multiple pre-vertical tags.
[0088] Here, the selected first vertical tag with a higher priority, that is, the vertical tag that better matches the search requirements of the search information, and the preset second vertical tags are usually vertical tags with a relatively strong user vertical search intention in terms of experience. For example, some vertical tags such as video and short video. In order to relatively comprehensively cover the vertical tags with strong user demand types, perform a union operation on the first vertical tag and the second vertical tag, that is, obtain vertical tags that include the first vertical tag and the second vertical tag and have no semantic repetition as multiple pre-vertical tags.
[0089] Here, the first number and the preset multiple second vertical tags can be determined according to the actual situation; for example, the first number can be 3, 4, etc.; the preset multiple second vertical tags can include some tags with a relatively strong vertical search intention in terms of experience, such as video, short video, user, and so on.
[0090] Exemplarily, taking the first quantity as 3 as an example: When a preset plurality of second vertical category tags include video, short video, and user, and it is determined that the order of the priorities among the vertical category tags from high to low is picture, video, short video, encyclopedia, user, information, music, and Q&A, the first vertical category tags include picture, video, and short video. Taking the union of the first vertical category tags (picture, video, short video) and the preset plurality of second vertical category tags (video, short video, user), the vertical category tags after taking the union include picture, video, short video, and user, that is, the plurality of pre - vertical category tags include picture, video, short video, and user.
[0091] In specific implementation, when the number of recommended search terms is large, the recommended search terms can be screened by combining the relevance between the recommended search terms and the search information, and the multimedia content consumption data corresponding to the recommended search terms, so as to ensure that the recommended search terms with a higher matching degree with the actual needs are preferentially displayed.
[0092] Specifically, after mixing and sorting the plurality of pre - vertical category tags and the plurality of recommended search terms, they are used as the pre - screening items of the screening item sequence, including:
[0093] Step B31, when the number of recommended search terms is greater than the second quantity, select the second quantity of recommended search terms from the plurality of recommended search terms according to the relevance between the plurality of recommended search terms and the search information, and / or the multimedia content consumption data corresponding to the plurality of recommended search terms.
[0094] Step B32, after mixing and sorting the plurality of pre - vertical category tags and the second quantity of recommended search terms, use them as the pre - screening items of the screening item sequence;
[0095] In step B3, the vertical category tags other than the pre - vertical category tags in each vertical category tag are used as the post - screening items of the screening item sequence, including:
[0096] Step B33, use the vertical category tags other than the pre - vertical category tags, and the recommended search terms other than the second quantity of recommended search terms in the plurality of recommended search terms, as the post - screening items of the screening item sequence.
[0097] In implementation, when the number of recommended search terms is greater than the second quantity, the second quantity of recommended search terms can be selected from the plurality of recommended search terms according to the relevance between the plurality of recommended search terms and the search information; or, the second quantity of recommended search terms can be selected from the plurality of recommended search terms according to the multimedia content consumption data corresponding to the plurality of recommended search terms; or, the second quantity of recommended search terms can be selected from the plurality of recommended search terms according to the relevance between the plurality of recommended search terms and the search information, and the multimedia content consumption data corresponding to the plurality of recommended search terms.
[0098] Specifically, for the relevance between multiple recommended search terms and search information, the Euclidean distance between the semantic feature vectors corresponding to each recommended search term and the semantic feature vector of the search information can be calculated. The smaller the Euclidean distance, the higher the relevance between the recommended search term and the search information. Alternatively, a neural network with the function of calculating text similarity can also be used to determine the relevance between each recommended search term and the search information. For the multimedia content consumption data corresponding to multiple recommended search terms, the multimedia content consumption data corresponding to each recommended search term can be counted. The consumption data can include click-through rate, reading volume, play volume, sharing rate, like volume, and so on. Furthermore, according to the order of the relevance between multiple recommended search terms and search information from high to low, and / or the order of the multimedia content consumption data corresponding to multiple recommended search terms from high to low, the second number of recommended search terms can be selected from multiple recommended search terms. Here, the second number can be determined according to actual needs. For example, it can be 10, 15, etc.
[0099] Then, multiple pre-vertical category labels and the second number of recommended search terms can be mixed and sorted as the pre-screening items of the screening item sequence. The execution process can refer to Step A1 and Step A2 and will not be elaborated here. Further, when using the vertical category labels other than the pre-vertical category labels in each vertical category label as the post-screening items of the screening item sequence, the vertical category labels other than the pre-vertical category labels and the recommended search terms other than the second number of recommended search terms in multiple recommended search terms can be used as the post-screening items of the screening item sequence.
[0100] Exemplarily, if multiple recommended search terms include recommended search term 1, recommended search term 2, …, recommended search term 19, recommended search term 20, and the second number is 5; when the priority order among each vertical category label from high to low is picture, video, short video, encyclopedia, user, information, music, Q&A, and after mixing and sorting multiple pre-vertical category labels (picture, video, short video, user) and the second number of recommended search terms (recommended search term 1 to recommended search term 5), the obtained pre-screening items include picture, recommended search term 1, video, short video, recommended search term 2, recommended search term 3, user, recommended search term 4, recommended search term 5, then the vertical category labels other than the pre-vertical category labels include encyclopedia, information, music, Q&A, and the recommended search terms other than the second number of recommended search terms include recommended search term 6 to recommended search term 20; thus, it can be determined that the post-screening items include encyclopedia, information, music, Q&A, recommended search term 6, recommended search term 7, …, recommended search term 19, recommended search term 20, or it can be determined that the post-screening items include recommended search term 6, recommended search term 7, …, recommended search term 19, recommended search term 20, encyclopedia, information, music, Q&A.
[0101] In specific implementation, when the number of recommended search terms is less than or equal to the second quantity, there is no need to select the second quantity of recommended search terms from multiple recommended search terms. Instead, multiple pre - vertical - category labels and multiple recommended search terms can be directly sorted in a mixed manner and used as the pre - screening options in the screening option sequence. Additionally, the vertical - category labels other than the pre - vertical - category labels can be used as the post - screening options in the screening option sequence.
[0102] Here, when the number of recommended search terms is greater than the second quantity, by combining the relevance between the recommended search terms and the search information, and / or the multimedia content consumption data corresponding to the recommended search terms, the second quantity of recommended search terms is selected from multiple recommended search terms. This can ensure a relatively high matching degree between the selected second quantity of recommended search terms and the actual demand. Furthermore, after sorting multiple pre - vertical - category labels and the second quantity of recommended search terms in a mixed manner, they are used as the pre - screening options in the screening option sequence. That is to say, by placing the recommended search terms and vertical - category labels with relatively higher demand degrees in the front, it is convenient for users to search and use these screening options, which better meets the user's screening and usage needs.
[0103] In a possible implementation manner, before sorting multiple recommended search terms and each vertical - category label in a mixed manner, the recommended search terms can be de - duplicated first.
[0104] Specifically, perform semantic matching between multiple recommended search terms and each vertical - category label to determine whether there are any recommended search terms in the multiple recommended search terms that are semantically matched with the vertical - category label. If so, delete the recommended search terms that are semantically matched with the vertical - category label.
[0105] Considering that multiple recommended search terms match the search information, that is, multiple recommended search terms are determined based on the search information, there may be recommended search terms in the multiple recommended search terms that are semantically similar to each vertical - category label. For example, the recommended search term "photo" and the vertical - category label "picture" are semantically similar recommended search terms, or the recommended search term "recent photo" and the vertical - category label "picture" are semantically similar recommended search terms. Therefore, before sorting multiple recommended search terms and each vertical - category label in a mixed manner, multiple recommended search terms and each vertical - category label can be semantically matched to determine whether there are any recommended search terms in the multiple recommended search terms that are semantically matched with the vertical - category label. If so, the recommended search terms that are semantically matched with the vertical - category label can be deleted. Specifically, a semantic matching algorithm can be used to calculate the text similarity between multiple recommended search terms and each vertical - category label. When the text similarity is greater than the similarity threshold, it can be determined that there are recommended search terms in the multiple recommended search terms that are semantically matched with the vertical - category label, and then the recommended search terms that are semantically matched with the vertical - category label can be deleted.
[0106] Here, since there may be recommended search terms among multiple recommended search terms that are semantically similar to each vertical label, and at the same time, the vertical labels are more standardized than the recommended search terms; therefore, before mixing and sorting multiple recommended search terms with each vertical label, multiple recommended search terms can be semantically matched with each vertical label to determine whether there are recommended search terms among the multiple recommended search terms that are semantically matched with the vertical label; if so, the recommended search terms that are semantically matched with the vertical label are deleted; so that each displayed filter option is more standardized, without redundancy, reduces possible interference to users, and improves the user experience.
[0107] In the above S203, after determining the filter option sequence after mixing and sorting, the filter option sequence after mixing and sorting can be displayed in the navigation bar of the search page, see Figure 3 As shown, the filter option sequence after mixing and sorting includes pictures, Tag1, videos, short videos, Tag2, Tag3, users, Tag4; among them, pictures, videos, short videos, and users are vertical labels, and Tag1, Tag2, Tag3, and Tag4 are recommended search terms. Here, the search page can be the page before initiating a search based on the search information. At this time, specific filter options can be selected first and then the search is initiated, so that the search results directly displayed in the search result page are the search results matched to the filter options. The search page can also be the search result page after initiating a search based on the search information. In this way, after obtaining the search results, filter options can be selected again to further filter and display the search results in the search result page.
[0108] In a possible implementation manner, after displaying the filter option sequence after mixing and sorting, it further includes: adjusting the order of each filter option in the filter option sequence according to the trigger operation data for each filter option in the filter option sequence.
[0109] In implementation, after displaying the filter option sequence after mixing and sorting, the order of each filter option in the filter option sequence can also be adjusted according to the trigger operation data for each filter option in the filter option sequence; that is, the multimedia content consumption data corresponding to each filter option can be statistically analyzed in real time to obtain the new consumption data of the multimedia content corresponding to each filter option, and then the order of each filter option in the filter option sequence is adjusted according to the new consumption data of the multimedia content corresponding to each filter option, and the filter options are displayed in the adjusted order.
[0110] Here, during the user's search process, the sorting of each filter option can be dynamically adjusted based on the user's usage of each displayed filter option, so that the sorting of the filter options better meets the user's current needs.
[0111] In a possible implementation manner, after presenting the screened option sequence obtained by hybrid sorting, the following operations are further included: in response to a trigger operation on a target vertical category label in the screened option sequence, setting the target vertical category label to a selected state, and presenting each search result of the search information under the target vertical category label; and / or, in response to a trigger operation on a search recommendation term in the screened option sequence, setting a comprehensive label on the search page to a selected state, and presenting each search result that matches the search information and the search recommendation term.
[0112] During implementation, after presenting the screened option sequence obtained by hybrid sorting, it is also possible to respond to a trigger operation on a target vertical category label in the screened option sequence, setting the target vertical category label to a selected state. For example, the target vertical category label can be set to be highlighted; and each search result that matches the target vertical category label can be presented. Exemplarily, when the search information is "electric bicycle", after the user clicks on the vertical category label "pictures" in the screened option sequence, in response to the trigger operation on the target vertical category label "pictures" in the screened option sequence, the target vertical category label "pictures" is set to be highlighted, and picture information related to electric bicycles can be presented below the navigation bar on the search page.
[0113] It is also possible to respond to a trigger operation on a search recommendation term in the screened option sequence, setting a comprehensive label on the search page to a selected state, and presenting each search result that matches the search recommendation term. Exemplarily, when the search information is "Peking University", after the user clicks on the search recommendation term "University History Introduction" in the screened option sequence, in response to the trigger operation on the search recommendation term "University History Introduction" in the screened option sequence, the comprehensive label on the search page is set to be highlighted, and information related to the university history introduction of Peking University can be presented below the navigation bar on the search page.
[0114] Here, for the vertical category label and the search recommendation term, the embodiments of the present disclosure support different result presentation methods for the two. After triggering the vertical category label, the search results are the multimedia content under the vertical category label corresponding to the original search information. After triggering the search recommendation term, the combined search information is formed by the original search information and the search recommendation term, and the presented search results are the multimedia content that matches the combined search information.
[0115] Those skilled in the art can understand that in the above method of the specific implementation manner, the writing order of each step does not mean a strict execution order that constitutes any limitation on the implementation process. The specific execution order of each step should be determined according to its function and possible internal logic.
[0116] Embodiment 2
[0117] Based on the same concept, the embodiments of the present disclosure also provide a search screened option presentation device. Refer to Figure 4As shown in the figure, it is a schematic architecture diagram of a search filter option display device provided by an embodiment of the present disclosure, including an acquisition module 401, a determination module 402, and a first display module 403. Specifically:
[0118] The acquisition module 401 is configured to acquire a plurality of recommended search terms that match the search information in response to receiving the search information.
[0119] The determination module 402 is configured to determine a filter option sequence after mixing and sorting the plurality of recommended search terms with each vertical category label.
[0120] The first display module 403 is configured to display the filter option sequence after the mixing and sorting in the navigation bar of the search page.
[0121] In a possible implementation manner, when determining the filter option sequence after mixing and sorting the plurality of recommended search terms with each vertical category label, the determination module 402 is configured to:
[0122] Based on the consumption data of the multimedia content corresponding to each of the recommended search terms under each vertical category label, determine the association relationship between each of the recommended search terms and each vertical category label.
[0123] According to the determined association relationship, determine the filter option sequence after mixing and sorting the plurality of recommended search terms with each vertical category label.
[0124] In a possible implementation manner, the device further includes a generation module 404; the generation module 404 is configured to generate the filter option sequence according to the following steps:
[0125] Based on the search information, determine the priority order between the vertical category labels.
[0126] According to the priority order, determine a plurality of pre-positioned vertical category labels from the vertical category labels.
[0127] After mixing and sorting the plurality of pre-positioned vertical category labels with the plurality of recommended search terms, use them as the pre-filter options of the filter option sequence, and use the vertical category labels other than the pre-positioned vertical category labels among the vertical category labels as the post-filter options of the filter option sequence; the pre-filter options are used to be arranged in front of the post-filter options.
[0128] In a possible implementation manner, when the generation module 404 determines the priority order between the vertical category labels based on the search information, it is configured to:
[0129] Based on the multimedia content consumption data under the search category to which the search information belongs, determine the priority order between the vertical category labels.
[0130] In a possible implementation manner, when determining multiple pre - vertical - category tags from the respective vertical - category tags based on the priority order, the generating module 404 is configured to:
[0131] Select the first first - quantity first - vertical - category tags in descending order of the priority order;
[0132] Take the union of the first - quantity first - vertical - category tags and a preset multiple second - vertical - category tags, and use each vertical - category tag in the obtained union as the multiple pre - vertical - category tags.
[0133] In a possible implementation manner, when the generating module 404 mixes and sorts the multiple pre - vertical - category tags and the multiple recommended search terms and uses them as the pre - screening options of the screening option sequence, it is configured to:
[0134] In the case where the number of the recommended search terms is greater than the second quantity, select the second - quantity recommended search terms from the multiple recommended search terms according to the relevance between the multiple recommended search terms and the search information, and / or the multimedia content consumption data corresponding to the multiple recommended search terms;
[0135] Mix and sort the multiple pre - vertical - category tags and the second - quantity recommended search terms, and use them as the pre - screening options of the screening option sequence;
[0136] When the generating module 404 uses the vertical - category tags other than the pre - vertical - category tags in the respective vertical - category tags as the post - screening options of the screening option sequence, it is configured to:
[0137] Use the vertical - category tags other than the pre - vertical - category tags and the recommended search terms other than the second - quantity recommended search terms in the multiple recommended search terms as the post - screening options of the screening option sequence.
[0138] In a possible implementation manner, the device further includes: a semantic matching module 405; before mixing and sorting the multiple recommended search terms and the respective vertical - category tags, the semantic matching module 405 is further configured to:
[0139] Perform semantic matching between the multiple recommended search terms and the respective vertical - category tags to determine whether there are recommended search terms in the multiple recommended search terms that are semantically matched with the vertical - category tags;
[0140] If there are, delete the recommended search terms that are semantically matched with the vertical - category tags.
[0141] In a possible implementation manner, the device further includes: an adjustment module 406; after displaying the mixed - sorted screening option sequence, the adjustment module 406 is further configured to:
[0142] Adjust the order of each screening option in the screening option sequence according to the trigger operation data for each screening option in the screening option sequence.
[0143] In a possible implementation, the device further includes: a second display module 407; after displaying the screening option sequence after the hybrid sorting, the second display module 407 is further configured to:
[0144] In response to a trigger operation on the target vertical label in the screening option sequence, set the target vertical label to a selected state and display each search result of the search information under the target vertical label; and / or,
[0145] In response to a trigger operation on the search recommendation word in the screening option sequence, set the comprehensive label on the search page to a selected state and display each search result that matches the search information and the search recommendation word.
[0146] In some embodiments, the functions or templates included in the device provided in the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be elaborated here.
[0147] Based on the same technical concept, the embodiments of the present disclosure also provide an electronic device. Referring to Figure 5 As shown, it is a schematic structural diagram of the electronic device provided in the embodiments of the present disclosure, including a processor 501, a memory 502, and a bus 503. Among them, the memory 502 is used to store execution instructions, including an internal memory 5021 and an external memory 5022; here, the internal memory 5021 is also called the main memory, which is used to temporarily store the operation data in the processor 501 and the data exchanged with the external memory 5022 such as the hard disk. The processor 501 exchanges data with the external memory 5022 through the internal memory 5021. When the electronic device 500 runs, the processor 501 communicates with the memory 502 through the bus 503, so that the processor 501 executes the following instructions:
[0148] In response to receiving search information, obtain multiple recommended search words that match the search information;
[0149] Determine a screening option sequence after mixing and sorting the multiple recommended search words with each vertical label;
[0150] Display the screening option sequence after the hybrid sorting in the navigation bar of the search page.
[0151] Among them, the specific processing flow of the processor 501 can refer to the records of the above method embodiments and will not be elaborated here.
[0152] In addition, an embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the steps of the search filter option display method described in the above method embodiment. Among them, the storage medium may be a volatile or non-volatile computer-readable storage medium.
[0153] An embodiment of the present disclosure also provides a computer program product, which carries program code. The instructions included in the program code can be used to execute the steps of the search filter option display method described in the above method embodiment. For details, please refer to the above method embodiment and will not be elaborated here.
[0154] Among them, the above computer program product can be specifically implemented in a manner of hardware, software, or a combination thereof. In an optional embodiment, the computer program product is specifically embodied as a computer storage medium. In another optional embodiment, the computer program product is specifically embodied as a software product, such as a Software Development Kit (SDK), etc.
[0155] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here. In the several embodiments provided by the present disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces. The indirect coupling or communication connection of the devices or units may be in an electrical, mechanical, or other form.
[0156] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0157] In addition, in each embodiment of the present disclosure, the functional units can be integrated into one processing unit, or each unit exists physically alone, or two or more units are integrated into one unit.
[0158] When the above-described functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the present disclosure, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product 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, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0159] The above are only specific implementation manners of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present disclosure can easily think of changes or substitutions, which should all be covered by the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims
1. A method for displaying search filter options, characterized in that, including: Upon receiving search information, obtaining a plurality of recommended search terms that match the search information; Determining a sequence of filtered options after mixing and sorting the plurality of recommended search terms with each vertical category label; On the navigation bar of the search page, displaying the sequence of filtered options after the mixing and sorting, so as to display each recommended search term and each vertical category label in the same position area of the search page; wherein, the search page is the page before initiating a search based on the search information; wherein, the determining the sequence of filtered options after mixing and sorting the plurality of recommended search terms with each vertical category label includes: Based on the consumption data of the multimedia content corresponding to each recommended search term under each vertical category label, determining the association relationship between each recommended search term and each vertical category label; According to the determined association relationship, determining the sequence of filtered options after mixing and sorting the plurality of recommended search terms with each vertical category label, so as to adjacent display the recommended search terms and the vertical category labels with an associated relationship in consumption.
2. The method according to claim 1, wherein The sequence of filtered options is generated according to the following steps: Based on the search information, determining the priority order among the vertical category labels; According to the priority order, determining a plurality of preposed vertical category labels from the vertical category labels; After mixing and sorting the plurality of preposed vertical category labels with the plurality of recommended search terms, using them as the preposed filtered options of the sequence of filtered options, and using the vertical category labels other than the preposed vertical category labels among the vertical category labels as the postposed filtered options of the sequence of filtered options; The preposed filtered options are used to be arranged in front of the postposed filtered options.
3. The method according to claim 2, wherein Based on the search information, determining the priority order among the vertical category labels includes: Based on the multimedia content consumption data under the search category to which the search information belongs, determining the priority order among the vertical category labels.
4. The method according to claim 2 or 3, characterized in that, The determining a plurality of preposed vertical category labels from the vertical category labels according to the priority order includes: Selecting the first first number of first vertical category labels in descending order of the priority order; Performing a union operation on the first first number of first vertical category labels and a preset plurality of second vertical category labels, and using each vertical category label in the obtained union as the plurality of preposed vertical category labels.
5. The method according to claim 2, wherein The mixing and sorting the plurality of preposed vertical category labels with the plurality of recommended search terms and using them as the preposed filtered options of the sequence of filtered options includes: In the case where the number of the recommended search terms is greater than a second number, according to the relevance between the plurality of recommended search terms and the search information, and / or the multimedia content consumption data corresponding to the plurality of recommended search terms, selecting the second number of recommended search terms from the plurality of recommended search terms; After mixing and sorting the plurality of preposed vertical category labels with the second number of recommended search terms, using them as the preposed filtered options of the sequence of filtered options; The using the vertical category labels other than the preposed vertical category labels among the vertical category labels as the postposed filtered options of the sequence of filtered options includes: Use the vertical tags other than the pre - vertical tags and the recommended search terms other than the second - quantity recommended search terms among the multiple recommended search terms as the post - filtering options of the filtering option sequence.
6. The method according to claim 1, wherein Before mixing and sorting the multiple recommended search terms with each vertical tag, it further includes: Semantically match the multiple recommended search terms with each vertical tag to determine whether there are recommended search terms among the multiple recommended search terms that are semantically matched with the vertical tag; If there are, delete the recommended search terms that are semantically matched with the vertical tag.
7. The method according to claim 1, wherein After displaying the filtered option sequence after the mixed sorting, it further includes: Adjust the order of each filtering option in the filtering option sequence according to the trigger operation data for each filtering option in the filtering option sequence.
8. The method according to claim 1, characterized in that, After displaying the filtered option sequence after the mixed sorting, it further includes: In response to a trigger operation on the target vertical tag in the filtering option sequence, set the target vertical tag to the selected state and display each search result of the search information under the target vertical tag; and / or, In response to a trigger operation on the search recommendation term in the filtering option sequence, set the comprehensive tag in the search page to the selected state and display each search result that matches the search information and the search recommendation term.
9. A search filter option display device, characterized in that, It includes: An acquisition module, configured to acquire multiple recommended search terms that match the search information in response to receiving the search information; A determination module, configured to determine a filtering option sequence after mixing and sorting the multiple recommended search terms with each vertical tag; A first display module, configured to display the filtered option sequence after the mixed sorting in the navigation bar of the search page, so as to display each recommended search term and each vertical tag in the same position area of the search page, wherein the search page is the page before initiating a search based on the search information; wherein when determining the filtering option sequence after mixing and sorting the multiple recommended search terms with each vertical tag, the determination module is configured to: Determine the association relationship between each recommended search term and each vertical tag based on the consumption data of the multimedia content corresponding to each recommended search term under each vertical tag; According to the determined association relationship, determine the filtering option sequence after mixing and sorting the multiple recommended search terms with each vertical tag, so as to display the recommended search terms and the vertical tags with an associated relationship in consumption adjacent to each other.
10. An electronic device, characterized in that, It includes: A processor, a memory, and a bus. The memory stores machine - readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine - readable instructions are executed by the processor, the steps of the search filtering option display method according to any one of claims 1 to 8 are executed.
11. A computer-readable storage medium, characterized in that, A computer program is stored on this computer - readable storage medium. When the computer program is run by a processor, the steps of the search filtering option display method according to any one of claims 1 to 8 are executed.
Citation Information
Patent Citations
Content pushing method and device and electronic equipment
CN114817731A
Searching method and device, equipment and storage medium
CN115062216A