CN115048408A - Data display method and device, computer equipment and storage medium - Google Patents
Data display method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115048408A CN115048408A CN202210666281.9A CN202210666281A CN115048408A CN 115048408 A CN115048408 A CN 115048408A CN 202210666281 A CN202210666281 A CN 202210666281A CN 115048408 A CN115048408 A CN 115048408A
- Authority
- CN
- China
- Prior art keywords
- display
- semantic association
- search
- words
- association
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000002776 aggregation Effects 0.000 claims abstract description 14
- 238000004220 aggregation Methods 0.000 claims abstract description 14
- 230000009191 jumping Effects 0.000 claims abstract description 5
- 238000012163 sequencing technique Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
- G06F16/24534—Query rewriting; Transformation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2428—Query predicate definition using graphical user interfaces, including menus and forms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9532—Query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure provides a data display method, apparatus, computer device, and storage medium, wherein the method comprises: after the triggering operation related to the search result page is detected, obtaining semantic association words matched with the search words in the search result page; the search probability of the semantic association words of the user at the future time meets the requirement of preset probability; displaying a search middle page, and displaying a display identifier of a semantic association word on a target display column of the search middle page; wherein the target display field is positioned in the lower area of a search box in the search middle page; and responding to the triggering operation aiming at the display identification in the target display bar, and jumping to an article aggregation page displaying the semantic association words corresponding to the display identification.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data display method and apparatus, a computer device, and a storage medium.
Background
In the related scheme of searching according to the search terms, a user inputs the search terms on a search page and starts searching, a search engine searches for a corresponding search result according to the search terms of the user and displays the search result to the user on a result page.
However, in the above scheme of performing retrieval according to the search term, when finding that the search result does not satisfy the retrieval intention, the user needs to return to the search page to modify the search term and initiate retrieval again, which results in a longer retrieval path for the user, thereby affecting the user experience when performing retrieval.
Disclosure of Invention
The embodiment of the disclosure at least provides a data display method, a data display device, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a data display method, including:
after the triggering operation related to the search result page is detected, obtaining semantic association words matched with the search words in the search result page; the search probability of the semantic association words of the user at the future time meets the requirement of preset probability;
displaying a search middle page, and displaying a display identifier of a semantic association word on a target display column of the search middle page; wherein the target display field is located in a lower area of a search box in the search middle page;
and responding to the triggering operation aiming at the display identification in the target display bar, and jumping to an article aggregation page displaying the semantic association words corresponding to the display identification.
In an optional embodiment, the number of the semantic association words is multiple, and the displaying of the semantic association words in the target display column of the search intermediate page includes:
acquiring the display width of the target display bar and the identification width of the display identification of each semantic association word;
determining at least partial semantic association words matched with the display width in the plurality of semantic association words based on the display width and the identification width, and displaying the display identification of the at least partial semantic association words in the target display bar.
In an alternative embodiment, the determining at least some semantic associative words matching the presentation width in the plurality of semantic associative words based on the presentation width and the identification width includes:
grouping a plurality of semantic association words based on the identification width of the display identification of each semantic association word to obtain at least one alternative association phrase; wherein, the sum of the mark widths of the display marks of all the semantic association words in each alternative association phrase is less than or equal to the display width;
and determining a target association phrase in the at least one candidate association phrase, and determining the semantic association words in the target association phrase as the at least partial semantic association words.
In an alternative embodiment, the determining a target association phrase among the at least one alternative association phrase includes:
acquiring a first selection probability of each semantic association word, wherein the first selection probability is used for indicating the probability that a user selects to trigger each semantic association word;
determining a second selection probability for each of the candidate associated phrases based on the first selection probability; the second selection probability is determined based on the first selection probability of each semantic association word in the candidate association phrase;
and determining the candidate association phrases with the second selection probability meeting the preset probability requirement as the target association phrase in the plurality of candidate association phrases.
In an optional embodiment, the number of the semantic association words is multiple, and the displaying of the semantic association words in the target display column of the search intermediate page includes:
acquiring a first selection probability of each semantic association word, wherein the first selection probability is used for indicating the probability that a user selects to trigger each semantic association word;
sequencing the semantic associative words based on the first selection probability to obtain a sequencing result, and creating an associative word list based on the sequencing result, wherein the associative word list comprises part or all of the semantic associative words;
and determining at least part of semantic association words to be displayed in the association word list, and displaying display marks of the at least part of semantic association words in the target display column.
In an optional embodiment, the method further comprises:
detecting the sliding operation of a user on the target display bar;
determining semantic association words matched with the operation types of the sliding operation in the association word list, and determining display identifications of the matched semantic association words;
and switching to display the display identifier of the matched semantic association word in the target display bar.
In an optional embodiment, the detecting a trigger operation on the search result page includes:
under the condition that clicking operation of a user on a search box in the search result page is detected, determining that triggering operation related to the search result page is detected; or
Determining that a trigger operation with respect to the search result page is detected in a case where a page-back operation in which a user backs to an upper page of the search result page is detected.
In an optional embodiment, the displaying the display identifier of the semantic association word in the target display column of the search intermediate page includes:
acquiring a state identifier of the semantic association word, wherein the state identifier is used for indicating the article sales state of an article associated with the semantic association word;
displaying the display identification of the semantic association word on the target display bar, and displaying the state identification at the display position corresponding to the display identification in the target display bar.
In a second aspect, an embodiment of the present disclosure further provides a data display device, including:
the detection unit is used for acquiring semantic association words matched with the search words in the search result page after detecting the triggering operation related to the search result page; the search probability of the semantic association words of the user at the future time meets the requirement of preset probability;
the display unit is used for displaying a search middle page and displaying a display identifier of the semantic association word on a target display column of the search middle page; wherein the target display field is located in a lower area of a search box in the search middle page;
and the skipping unit is used for responding to the triggering operation aiming at the display identifier in the target display column and skipping to the item aggregation page displaying the semantic association words corresponding to the display identifier.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
The embodiment of the disclosure provides a data display method, a data display device, computer equipment and a storage medium. In the embodiment of the disclosure, after the trigger operation on the search result page is detected, the semantic association word matched with the search word is acquired, the display identifier of the semantic association word is displayed through the target display column of the search intermediate page, and after the trigger operation on the display identifier by the user is detected, the article aggregation page displaying the semantic association word corresponding to the display identifier is skipped to. By the processing mode, the searching page does not need to be returned for re-searching under the condition that the searching result does not meet the requirement, the searching path of the user is shortened, and the searching use experience of the user 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.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 illustrates a flow chart of a data display method provided by an embodiment of the present disclosure;
FIG. 2 illustrates a schematic diagram of a search intermediate page provided by an embodiment of the present disclosure;
FIG. 3 illustrates a schematic diagram of a search results page provided by an embodiment of the present disclosure;
FIG. 4a is a schematic diagram illustrating a presentation identifier for presenting the at least partial semantic associative word in a target presentation bar according to an embodiment of the disclosure;
FIG. 4b is a diagram illustrating a presentation identification for switching to presenting matching semantic associativity words in a target presentation bar, provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating a data display device provided by an embodiment of the present disclosure;
fig. 6 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in 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.
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.
The term "and/or" herein merely describes an associative relationship, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Research shows that in the related scheme of searching according to the search terms, the process is that a user inputs the search terms in a search page, the search is initiated, a search engine searches for the corresponding search results according to the search terms of the user, and the search results are displayed to the user in a result page.
However, in the above scheme of performing retrieval according to the search term, when finding that the search result does not satisfy the retrieval intention, the user needs to return to the search page to modify the search term and initiate retrieval again, which results in a longer retrieval path for the user, thereby affecting the user experience when performing retrieval.
Based on the above research, the present disclosure provides a data display method, apparatus, computer device, and storage medium. In the embodiment of the disclosure, after the trigger operation on the search result page is detected, the semantic association word matched with the search word is acquired, the display identifier of the semantic association word is displayed through the target display column of the search intermediate page, and after the trigger operation on the display identifier by the user is detected, the article aggregation page displaying the semantic association word corresponding to the display identifier is skipped to. By the processing mode, the searching page does not need to be returned for re-searching under the condition that the searching result does not meet the requirement, the searching path of the user is shortened, and the searching use experience of the user is improved.
The data display method provided by the disclosure can be used for an application program containing a retrieval function, wherein a user can input a search word in a search page of the application program and initiate a search request. After the search request is detected, a plurality of search results corresponding to the search term can be determined, and the plurality of search results are displayed through a search result page.
In one possible usage scenario, the retrieval function of the application may be an online shopping function. Specifically, the user may input a search term for an item desired to be purchased on the search page, after detecting the search request initiated by the user, may determine a plurality of search results corresponding to the search term, and present the plurality of search results through the search result page, so that the user selects the item desired to be purchased among the plurality of search results.
To facilitate understanding of the present embodiment, first, a data display method disclosed in the embodiments of the present disclosure is described in detail, where an execution subject of the data display 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 other processing equipment. In some possible implementations, the data display method may be implemented by a processor calling computer readable instructions stored in a memory.
Referring to fig. 1, a flowchart of a data display method provided in an embodiment of the present disclosure is shown, where the method includes steps S101 to S105, where:
s101: after the triggering operation related to the search result page is detected, obtaining semantic association words matched with the search words in the search result page; and the search probability of the semantic association words of the user at the future time meets the preset probability requirement.
After detecting the search term input by the user in the search page of the application program, a search request may be initiated based on the search term, so as to jump to a search result page corresponding to the search term. If the user wants to modify the search terms and re-initiate the search, the user can return to the search page by performing triggering operation on the search result page. Thus, upon detecting a triggering operation on the search results page, it may be determined that the user has an intent to modify the search terms and re-initiate the search.
At this time, after a trigger operation on the search result page is detected, a semantic association word matching the search word may be acquired. Here, the semantic association word is understood to be: and searching words with the searching probability of the semantic association words meeting the preset probability requirement by the user at the future time. Therefore, the search intention of the user can be better accepted through the method of obtaining the semantic association words.
S103: displaying a search middle page, and displaying a display identifier of a semantic association word on a target display column of the search middle page; and the target display field is positioned in the lower area of the search box in the search middle page.
In the embodiment of the present disclosure, display identifiers may be determined for the obtained semantic association words, where the display identifiers may be identifiers in the form of cards, and each display identifier includes information for indicating a corresponding semantic association word.
After the semantic association words are obtained, a search intermediate page shown in fig. 2 may be displayed, so that display identifiers of the semantic association words are displayed through a target display column of the search intermediate page. As can be seen from FIG. 2, the target presentation field is located below the search box in the middle page of the search. If the search word is the 'sweater' in the search box, the exhibition marks are respectively a card containing the semantic association word 'sweater women', a card containing the semantic association word 'sweater men' and a card containing the semantic association word 'sweater tide brand'.
S105: and responding to the triggering operation aiming at the display identification in the target display bar, and jumping to an article aggregation page displaying the semantic association words corresponding to the display identification.
After detecting a trigger operation of a user for a display identifier in a target display bar, determining a semantic association word corresponding to the trigger operation. For example, if the exhibition identifier triggered by the trigger operation is the exhibition identifier corresponding to the semantic association word "women in the clothing, the semantic association word corresponding to the trigger operation may be determined to be" women in the clothing.
Then, the search term may be updated based on the semantic association term corresponding to the trigger operation, and the search is performed based on the updated search term to obtain a plurality of items corresponding to the updated search term, and the obtained plurality of items are displayed through the item aggregation page.
As can be seen from the above description, in the embodiment of the present disclosure, after the trigger operation on the search result page is detected, the semantic association word matched with the search word is acquired, the display identifier of the semantic association word is displayed through searching the target display column of the middle page, and after the trigger operation on the display identifier by the user is detected, the article aggregation page displaying the semantic association word corresponding to the display identifier is skipped to. By the processing mode, the searching page does not need to be returned for re-searching under the condition that the searching result does not meet the requirement, the searching path of the user is shortened, and the searching use experience of the user is improved.
In an optional embodiment, in step S101, the detecting of the trigger operation on the search result page specifically includes the following several ways:
the first method is as follows: and under the condition that the clicking operation of the user on the search box in the search result page is detected, determining that the triggering operation related to the search result page is detected.
In the embodiment of the present disclosure, the search result page is as shown in fig. 3, and the search result page is used for displaying a search result obtained by searching according to the search term "sweater". The search box is contained above the search result page, and after the clicking operation of the user on the area corresponding to the search box is detected, the triggering operation about the search result page can be determined to be detected.
The second method comprises the following steps: determining that a trigger operation with respect to the search result page is detected in a case where a page-back operation in which a user backs to an upper page of the search result page is detected.
When the current display page of the application program is the search result page, the upper page of the search result page may be the search page. Here, the search result page is as shown in fig. 3, where the search result page includes a fallback identifier, and after a trigger operation of the user for the fallback identifier is detected, it may be determined that a page fallback operation of the user to the search page is detected. In addition, a return button can be arranged on the terminal device displaying the search result page, and the return button is used for indicating return to an upper page of the current display page. When the current display page is the search result page, after the triggering operation of the user for the return button is detected, the page return operation that the user returns to the search page is determined to be detected.
In the embodiment of the present disclosure, when a click operation of a user on a search box in a search result page is detected, or a page returning operation of the user to a higher-level page of the search result page is detected, it may be determined that a trigger operation related to the search result page is detected, so that the manner of detecting the trigger operation related to the search result page is various, and the method and the device may be applicable to different operation habits of the user.
In an optional embodiment, in the case that the number of semantic association words is multiple, in step S103, displaying a display identifier of the semantic association word in the target display column of the search middle page specifically includes the following steps:
s1031: and acquiring the display width of the target display bar, and acquiring the identification width of the display identification of each semantic association word.
S1032: determining at least partial semantic association words matched with the display width in the plurality of semantic association words based on the display width and the identification width, and displaying the display identification of the at least partial semantic association words in the target display bar.
In the embodiment of the present disclosure, fig. 2 is a display manner of displaying a display identifier of a semantic association word through a target display bar, where the display identifier of the semantic association word is in a form of a card shown in fig. 2, and at least a part of the semantic association word matching with the display width of the target display bar is "women in sweater", "men in sweater," and "tide board in sweater.
Due to the limitation of the display width of the target display bar, the display identifiers of all the semantic association words may not be displayed in the target display bar, and therefore, the display width of the target display bar and the identifier width of the display identifier of each semantic association word need to be obtained. It should be understood that, since the number of characters included in a semantic association word may be different, the identifier width of the presentation identifier of each semantic association word may also be different, so that the identifier width of the presentation identifier of each semantic association word needs to be obtained.
In the process of determining at least part of the semantic association words matching the presentation width, presentation identifications identifying the width and at least part of the semantic association words less than or equal to the presentation width of the target presentation bar may be presented in the target presentation bar.
For example, if the display width of the target display bar is 600px, the plurality of semantic association words includes five semantic association words, and the identifier widths of the display identifiers of the five semantic association words are respectively display identifier 1, display identifier 2, display identifier 3, display identifier 4, and display identifier 5, specifically, the identifier width of display identifier 1 is 120px, the identifier width of display identifier 2 is 120px, the identifier width of display identifier 3 is 120px, the identifier width of display identifier 4 is 120px, and the identifier width of display identifier 5 is 280 px. At this time, since the sum of the display widths of the display identifier 1-the display identifier 4 is 480px, and 480px is smaller than the display width 600px of the target display bar, the display identifier 1-the display identifier 4 may be determined as at least a part of semantic association words matching the display width of the target display bar, and the display identifier 1-the display identifier 4 may be displayed in the target display bar.
In the embodiment of the disclosure, in consideration of the limitation of the identification width of the target display bar, at least part of the semantic association words can be determined that the identification width of the display identification in the plurality of semantic association words is matched with the display width of the target display bar, so that the situation that the semantic association words cannot be completely displayed due to the fact that the identification width is not matched with the display width, and the information acquisition and browsing experience of a user are influenced is reduced.
In an optional embodiment, in step S1032, based on the presentation width and the identification width, determining at least a part of semantic association words matching the presentation width in the plurality of semantic association words, specifically includes the following steps:
(1) grouping a plurality of semantic association words based on the identification width of the display identification of each semantic association word to obtain at least one alternative association phrase; wherein, the sum of the mark widths of the display marks of all the semantic association words in each alternative association phrase is less than or equal to the display width;
(2) and determining a target associated phrase in the at least one candidate associated phrase, and determining the semantic associated words in the target associated phrase as the at least partial semantic associated words.
In the embodiment of the disclosure, the identifier width of the display identifier of each semantic association word may be obtained first, and the plurality of semantic association words are grouped based on the identifier width to obtain a plurality of candidate association phrases, where the candidate association phrases include at least one semantic association word, and a sum of the identifier widths of the display identifiers of all the semantic association words in each association phrase is less than or equal to the display width of the target display column.
In an optional implementation manner, in the process of determining the candidate association phrases, a preset number of association words may be preset, where the preset number of association words is used to indicate the number of semantic association words included in each candidate association phrase. Here, if a preset number of associated words is preset, in the process of determining the at least one candidate associated word group, an associated word group satisfying the preset number of associated words, that is, an associated word group including the number of semantic associated words equal to the preset number of associated words, may be determined among the plurality of semantic associated words based on the preset number of associated words. Then, determining that the association phrase with the sum of the display identifier width smaller than or equal to the display width is the at least one alternative association phrase in the determined association phrases.
In another optional implementation manner, if the preset number of associated words is preset, in the process of determining the at least one candidate associated phrase, an associated phrase including a semantic associated word whose number is greater than or equal to the preset number of associated words may be determined as an associated phrase satisfying the preset number of associated words. Then, determining that the association phrase with the sum of the display width of the display marks smaller than or equal to the display width is the at least one candidate association phrase in the determined association phrases.
For example, if the preset number of associated words is 5, associated phrases including 5 or more semantic associated words are determined as associated phrases satisfying the preset number of associated words.
In the embodiment of the disclosure, a plurality of semantic association words may be grouped to obtain at least one candidate association phrase, so as to determine a target association phrase in the at least one candidate association phrase, thereby improving the efficiency of determining the target association phrase.
In an optional implementation manner, in step S1032, the determining a target association phrase in the at least one candidate association phrase specifically includes the following processes:
(1) acquiring a first selection probability of each semantic association word, wherein the first selection probability is used for indicating the probability of triggering each semantic association word selected by a user;
(2) determining a second selection probability of each candidate associated phrase based on the first selection probability; the second selection probability is determined based on the first selection probability of each semantic association word in the candidate association phrase;
(3) and determining the candidate association phrases of which the second selection probability meets the preset probability requirement as the target association phrases.
In the embodiment of the present disclosure, a first selection probability of each semantic associative word may be obtained first, where the first selection probability may be determined based on historical search terms triggered by a user in the above application program. For example, the above history search words may be obtained, and the association degree of each semantic association word and the history search word may be calculated, and the first selection probability of the semantic association word may be determined based on the association degree. It should be understood that the higher the associated semantic word with the historical search word, the higher the probability of being selected by the user, i.e. the higher the first selection probability of the semantic word.
After determining the first selection probability for each semantic association, a second selection probability for each candidate association group may be determined based on the first selection probability. In specific implementation, an average value of the first selection probabilities of all semantic association words in each candidate association phrase may be calculated, and the average value may be used as the second selection probability of the candidate association phrase.
After the second selection probability of each candidate associated phrase is determined, a preset probability requirement may be obtained. Here, the candidate association phrase with the second selection probability greater than or equal to the target probability value may be determined as the candidate association phrase meeting the preset probability requirement; or the candidate association phrase with the highest second selection probability in the candidate association phrases may be determined as the candidate association phrase meeting the preset probability requirement.
In the embodiment of the disclosure, a second selection probability of each candidate association phrase may be determined based on the first selection probability of each semantic association word, and the candidate association phrase of which the second selection probability meets a preset probability requirement is determined as the target association phrase, so that the probability that the determined target association phrase is selected by the user is higher, and the retrieval intention of the user is better met.
In an optional embodiment, in the case that the number of semantic association words is multiple, in step S103, displaying a display identifier of the semantic association word in a target display column of the search middle page includes:
s11: and acquiring a first selection probability of each semantic association word, wherein the first selection probability is used for indicating the probability that a user selects to trigger each semantic association word.
In the embodiment of the present disclosure, a first selection probability of each semantic associative word may be obtained first, where the first selection probability may be determined based on historical search terms triggered by a user in the above application program. For example, the above history search words may be obtained, and the association degree of each semantic association word and the history search word may be calculated, and the first selection probability of the semantic association word may be determined based on the association degree. It should be understood that the higher the probability that a semantic association word associated with a historical search word is selected by the user, the higher the probability that the semantic association word is selected by the user, the higher the first selection probability of the semantic association word.
S12: and sequencing the plurality of semantic association words based on the first selection probability to obtain a sequencing result, and creating an association word list based on the sequencing result, wherein the association word list comprises part or all of the semantic association words.
In this disclosure, the plurality of semantic association words may be sorted based on the first selection probability, specifically, a descending order arrangement mode may be adopted in the process of sorting the plurality of semantic association words, for example, the plurality of semantic association words may be sorted in descending order according to the order of the first selection probability from large to small, so as to obtain the sorting result.
In the process of creating the association word list based on the above sorting result, at least part of semantic association words of the plurality of semantic association words, the first selection probability of which meets the probability requirement, may be determined. For example, at least part of semantic association words with the first selection probability being greater than or equal to the probability value can be determined based on the above ordering result, and an association word list can be created based on the at least part of semantic association words.
S13: and determining at least part of semantic association words to be displayed in the association word list, and displaying display marks of the at least part of semantic association words in the target display column.
In the embodiment of the present disclosure, first, the number of presentations set for the target presentation bar may be determined, where the number of presentations is used to indicate the number of presentation identifiers that can be presented in the target presentation bar. Then, at least part of semantic association words to be displayed can be determined in the association word list based on the display number, and display identification of the at least part of semantic association words is displayed in the target display column.
Here, a schematic diagram of the display marks displaying the at least part of the semantic association words in the target display bar is shown in fig. 4a, and it should be understood that all the display marks cannot be displayed in the target display bar at the same time due to a large number of the display marks, where the at least part of the semantic association words are "lipstick X brand", "lipstick subsidized goods", "lipstick autumn and winter", respectively, and the display marks currently displayed in the target display bar are the display marks corresponding to "lipstick X brand" and "lipstick subsidized goods", respectively. Based on this, the user can also interact with the target display bar so as to view the remaining display identifiers in the target display bar, namely the display identifiers corresponding to the lipstick, the autumn and the winter, and the specific interaction mode is as follows, and is not described herein any more.
In the embodiment of the disclosure, the plurality of semantic association words may be sorted based on the first selection probability of each semantic association word in the plurality of semantic association words, and the association word list may be created based on the sorting result, so as to display at least part of the semantic association words in the association word list in the target display bar, thereby enabling the user to browse more semantic association words through the target display bar, and further improving the possibility of receiving the retrieval intention of the user.
In an optional implementation manner, in the case that the target display bar displays the display identifier of at least part of the semantic association words in the association word list, the step S103 may further include the following process:
(1) detecting the sliding operation of the user on the target display bar;
(2) determining semantic association words matched with the operation types of the sliding operation in the association word list, and determining display identifications of the matched semantic association words;
(3) and switching to display the display identification of the matched semantic association word in the target display bar.
In specific implementation, after detecting the sliding operation of the user on the target display bar, the application program may determine the sliding direction and the sliding distance of the sliding operation, so as to determine the semantic association word matched with the operation type of the sliding operation in the association word list based on the sliding direction and the sliding distance, and switch to display the display identifier of the matched semantic association word in the target display bar.
Specifically, if the schematic diagram of the target display bar displaying the display identifier of at least part of the semantic association words is shown in fig. 4a, after the sliding operation of the user is detected, in response to the sliding operation, the schematic diagram of the target display bar switching to displaying the display identifier of the matched semantic association words is shown in fig. 4b, where the semantic association words matched with the sliding operation are "red, autumn and winter".
In the embodiment of the disclosure, a user can switch the display identifier displayed in the target display bar through sliding operation, so that all the associated words in the associated word list can be browsed, the user can browse more semantic associated words through the target display bar, and the use experience of the user is improved.
In an optional implementation manner, in step S103, displaying a display identifier of a semantic association word in a target display column of the search intermediate page specifically includes the following steps:
s21: and acquiring a state identifier of the semantic association word, wherein the state identifier is used for indicating the article sales state of the article associated with the semantic association word.
After the semantic association words displayed in the target display bar are determined, the article sales state of the associated articles corresponding to each semantic association word can be obtained, wherein the article sales state can be live broadcast, goods failure, preferential benefit, subsidy, second killing and the like.
S22: displaying the display identification of the semantic association word on the target display bar, and displaying the state identification at the display position corresponding to the display identification in the target display bar.
In the embodiment of the present disclosure, a status flag may be set for at least some of the above all article sales statuses. Under the condition that the commodity sales state of the semantic association words displayed in the target display bar corresponds to the state identifier, the state identifier can be displayed at the display position corresponding to the display identifier of the semantic association words in the target display bar. For example, the status indicator may be located on either of the left and right sides of the presentation indicator.
In the embodiment of the disclosure, the display position corresponding to the display identifier in the target display bar may display the state identifier, so that the user can know the associated item of the semantic association word corresponding to the display identifier through the target display bar and know the sales state of the associated item, thereby improving the information browsing efficiency of the user and further improving the browsing experience of the user.
In summary, in the embodiment of the present disclosure, after the trigger operation on the search result page is detected, the semantic association word matched with the search word may be acquired, the display identifier of the semantic association word is displayed through the target display column of the search intermediate page, and after the trigger operation on the display identifier by the user is detected, the article aggregation page displaying the semantic association word corresponding to the display identifier is skipped to. By the processing mode, the searching page does not need to be returned for re-searching under the condition that the searching result does not meet the requirement, the searching path of the user is shortened, and the searching use experience of the user is improved.
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 data display device corresponding to the data display method is also provided in the embodiments of the present disclosure, and as the principle of solving the problem of the device in the embodiments of the present disclosure is similar to the data display method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
Referring to fig. 5, a schematic diagram of a data display device provided in an embodiment of the present disclosure is shown, where the device includes: a detection unit 51, a display unit 52 and a skip unit 53; wherein the content of the first and second substances,
the detection unit 51 is used for acquiring semantic association words matched with the search words in the search result page after detecting the triggering operation related to the search result page; the search probability of the semantic association words of the user at the future time meets the requirement of preset probability;
the display unit 52 is configured to display a search intermediate page, and display a display identifier of a semantic association word in a target display column of the search intermediate page; wherein the target display field is located in a lower area of a search box in the search middle page;
and the skipping unit 53 is configured to skip to an item aggregation page displaying the semantic association word corresponding to the display identifier in response to a trigger operation for the display identifier in the target display bar.
In the embodiment of the disclosure, after the trigger operation on the search result page is detected, the semantic association word matched with the search word is acquired, the display identifier of the semantic association word is displayed through the target display column of the search intermediate page, and after the trigger operation on the display identifier by the user is detected, the article aggregation page displaying the semantic association word corresponding to the display identifier is skipped to. By the processing mode, the searching page does not need to be returned for re-searching under the condition that the searching result does not meet the requirement, the searching path of the user is shortened, and the searching use experience of the user is improved.
In a possible embodiment, the number of semantic associative words is multiple, and the presentation unit 52 is further configured to:
acquiring the display width of the target display bar and the identification width of the display identification of each semantic association word;
determining at least partial semantic association words matched with the display width in the plurality of semantic association words based on the display width and the identification width, and displaying the display identification of the at least partial semantic association words in the target display bar.
In one possible embodiment, the display unit 52 is further configured to:
grouping a plurality of semantic association words based on the identification width of the display identification of each semantic association word to obtain at least one alternative association phrase; wherein, the sum of the mark widths of the display marks of all the semantic association words in each alternative association phrase is less than or equal to the display width;
and determining a target association phrase in the at least one candidate association phrase, and determining the semantic association words in the target association phrase as the at least partial semantic association words.
In one possible embodiment, the display unit 52 is further configured to:
acquiring a first selection probability of each semantic association word, wherein the first selection probability is used for indicating the probability that a user selects to trigger each semantic association word;
determining a second selection probability for each of the candidate associated phrases based on the first selection probability; the second selection probability is determined based on the first selection probability of each semantic association word in the candidate association phrase;
and determining the candidate association phrases with the second selection probability meeting the preset probability requirement as the target association phrases in the plurality of candidate association phrases.
In a possible embodiment, the number of semantic associative words is multiple, and the presentation unit 52 is further configured to:
acquiring a first selection probability of each semantic association word, wherein the first selection probability is used for indicating the probability that a user selects to trigger each semantic association word;
sequencing the plurality of semantic association words based on the first selection probability to obtain a sequencing result, and creating an association word list based on the sequencing result, wherein the association word list comprises part or all of the semantic association words;
and determining at least part of semantic association words to be displayed in the association word list, and displaying display marks of the at least part of semantic association words in the target display column.
In one possible embodiment, the display unit 52 is further configured to:
detecting the sliding operation of a user on the target display bar;
determining semantic association words matched with the operation types of the sliding operation in the association word list, and determining display identifications of the matched semantic association words;
and switching to display the display identifier of the matched semantic association word in the target display bar.
In a possible embodiment, the detecting unit 51 is further configured to:
under the condition that clicking operation of a user on a search box in the search result page is detected, determining that triggering operation related to the search result page is detected; or
Determining that a trigger operation with respect to the search result page is detected in a case where a page-back operation in which a user backs to an upper page of the search result page is detected.
In one possible embodiment, the display unit 52 is further configured to:
acquiring a state identifier of the semantic association word, wherein the state identifier is used for indicating the article sales state of an article associated with the semantic association word;
displaying the display identification of the semantic association word on the target display bar, and displaying the state identification at the display position corresponding to the display identification in the target display bar.
Corresponding to the data display method in fig. 1, an embodiment of the present disclosure further provides a computer device 600, as shown in fig. 6, a schematic structural diagram of the computer device 600 provided in the embodiment of the present disclosure includes:
a processor 61, a memory 62, and a bus 63; the memory 62 is used for storing execution instructions and includes a memory 621 and an external memory 622; the memory 621 is also referred to as an internal memory, and is used for temporarily storing the operation data in the processor 61 and the data exchanged with the external memory 622 such as a hard disk, the processor 61 exchanges data with the external memory 622 through the memory 621, and when the computer device 600 operates, the processor 61 communicates with the memory 62 through the bus 63, so that the processor 61 executes the following instructions:
after the triggering operation related to the search result page is detected, obtaining semantic association words matched with the search words in the search result page; the search probability of the semantic association words of the user at the future time meets the requirement of preset probability;
displaying a search middle page, and displaying a display identifier of a semantic association word on a target display column of the search middle page; wherein the target display field is located in a lower area of a search box in the search middle page;
and responding to the triggering operation aiming at the display identification in the target display bar, and jumping to an article aggregation page displaying the semantic association words corresponding to the display identification.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the data display method described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute the steps of the data display method in the foregoing method embodiments, which may be referred to specifically in the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, 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 units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, 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 units 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 place, or may be distributed on a plurality of 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 units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units 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 solution of the present disclosure 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 method according to 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: those skilled in the art can still make modifications or changes to the embodiments described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the technical scope of the 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.
Claims (11)
1. A method of displaying data, comprising:
after the triggering operation related to the search result page is detected, obtaining semantic association words matched with the search words in the search result page; the search probability of the semantic association words of the user at the future time meets the requirement of preset probability;
displaying a search middle page, and displaying a display identifier of a semantic association word on a target display column of the search middle page; wherein the target display field is positioned in the lower area of a search box in the search middle page;
and responding to the triggering operation aiming at the display identification in the target display bar, and jumping to an article aggregation page displaying the semantic association words corresponding to the display identification.
2. The method according to claim 1, wherein the number of the semantic association words is multiple, and the displaying the display identifier of the semantic association words in the target display column of the search intermediate page comprises:
acquiring the display width of the target display bar and the identification width of the display identification of each semantic association word;
determining at least partial semantic association words matched with the display width in the plurality of semantic association words based on the display width and the identification width, and displaying the display identification of the at least partial semantic association words in the target display bar.
3. The method according to claim 2, wherein determining at least a portion of the semantic associations that match the presentation width among the plurality of semantic associations based on the presentation width and the identification width comprises:
grouping a plurality of semantic association words based on the identification width of the display identification of each semantic association word to obtain at least one alternative association phrase; wherein, the sum of the mark widths of the display marks of all the semantic association words in each alternative association phrase is less than or equal to the display width;
and determining a target association phrase in the at least one candidate association phrase, and determining the semantic association words in the target association phrase as the at least partial semantic association words.
4. The method of claim 3, wherein the determining a target association phrase among the at least one alternative association phrase comprises:
acquiring a first selection probability of each semantic association word, wherein the first selection probability is used for indicating the probability that a user selects to trigger each semantic association word;
determining a second selection probability for each of the candidate associated phrases based on the first selection probability; the second selection probability is determined based on the first selection probability of each semantic association word in the candidate association phrase;
and determining the candidate association phrases with the second selection probability meeting the preset probability requirement as the target association phrase in the plurality of candidate association phrases.
5. The method according to claim 1, wherein the number of the semantic association words is multiple, and the displaying the display identifier of the semantic association words in the target display column of the search intermediate page comprises:
acquiring a first selection probability of each semantic association word, wherein the first selection probability is used for indicating the probability that a user selects to trigger each semantic association word;
sequencing the plurality of semantic association words based on the first selection probability to obtain a sequencing result, and creating an association word list based on the sequencing result, wherein the association word list comprises part or all of the semantic association words;
and determining at least part of semantic association words to be displayed in the association word list, and displaying display marks of the at least part of semantic association words in the target display column.
6. The method of claim 5, further comprising:
detecting the sliding operation of a user on the target display bar;
determining semantic association words matched with the operation types of the sliding operation in the association word list, and determining display identifications of the matched semantic association words;
and switching to display the display identifier of the matched semantic association word in the target display bar.
7. The method of claim 1, wherein detecting a trigger operation with respect to a search results page comprises:
under the condition that clicking operation of a user on a search box in the search result page is detected, determining that triggering operation related to the search result page is detected; or
Determining that a trigger operation with respect to the search result page is detected in a case where a page-back operation in which a user backs to an upper page of the search result page is detected.
8. The method according to claim 1, wherein the displaying the display identifier of the semantic association word in the target display column of the search intermediate page comprises:
acquiring a state identifier of the semantic association word, wherein the state identifier is used for indicating the article sales state of an article associated with the semantic association word;
displaying the display identification of the semantic association word on the target display bar, and displaying the state identification at the display position corresponding to the display identification in the target display bar.
9. A data display device, comprising:
the detection unit is used for acquiring semantic association words matched with the search words in the search result page after detecting the triggering operation related to the search result page; the search probability of the semantic association words of the user at the future time meets the requirement of preset probability;
the display unit is used for displaying a search middle page and displaying a display identifier of the semantic association word on a target display column of the search middle page; wherein the target display field is located in a lower area of a search box in the search middle page;
and the skipping unit is used for responding to the triggering operation aiming at the display identifier in the target display column and skipping to the item aggregation page displaying the semantic association words corresponding to the display identifier.
10. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the data display method of any one of claims 1 to 8.
11. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the data display method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210666281.9A CN115048408A (en) | 2022-06-14 | 2022-06-14 | Data display method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210666281.9A CN115048408A (en) | 2022-06-14 | 2022-06-14 | Data display method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115048408A true CN115048408A (en) | 2022-09-13 |
Family
ID=83161952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210666281.9A Pending CN115048408A (en) | 2022-06-14 | 2022-06-14 | Data display method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115048408A (en) |
-
2022
- 2022-06-14 CN CN202210666281.9A patent/CN115048408A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111815419B (en) | Recommendation method and device for virtual commodity in game and electronic equipment | |
CN113975788A (en) | Entry indexing method and device, computer equipment and storage medium | |
CN110688009B (en) | Application program access method and device for folding screen terminal | |
CN113849748A (en) | Information display method and device, electronic equipment and readable storage medium | |
CN111753210B (en) | Resource pushing method and device, computer equipment and computer readable storage medium | |
CN114942971B (en) | Extraction method and device of structured data | |
CN114168865A (en) | Search result display method and device, computer equipment and storage medium | |
CN113836448A (en) | Information display method and device, computer equipment and storage medium | |
CN113378058A (en) | Information searching method and device, computer equipment and storage medium | |
CN111428120B (en) | Information determination method and device, electronic equipment and storage medium | |
CN106469184B (en) | Data object label processing and displaying method, server and client | |
WO2023236742A1 (en) | Search result display method and apparatus, computer device, and storage medium | |
CN115048408A (en) | Data display method and device, computer equipment and storage medium | |
CN114595404B (en) | Recommendation data display method and device, computer equipment and storage medium | |
CN114742616A (en) | Information display method and device, computer equipment and storage medium | |
JPWO2014196063A1 (en) | Product search system and product search program | |
CN114417157B (en) | Data pushing method and device, computer equipment and computer medium | |
CN115860865A (en) | Commodity combination construction method and device, equipment, medium and product thereof | |
CN113704622B (en) | Book recommendation method and device, computer equipment and storage medium | |
CN112307298B (en) | Method and device for generating personal brand label | |
JP5478229B2 (en) | Data analysis system and method | |
CN114841781A (en) | Commodity information recommendation method, device, equipment and medium | |
CN110502690B (en) | Classified search method and device | |
CN113065929A (en) | Display processing method and device for list page | |
CN114996499A (en) | Interaction method, interaction device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing. Applicant after: Douyin Vision Co.,Ltd. Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing. Applicant before: Tiktok vision (Beijing) Co.,Ltd. |
|
CB02 | Change of applicant information |