A data display method, device, computer device, and system
By setting the association of book attribute dimensions in the online reading application and obtaining and displaying multiple associative words, the problem of single search results in the existing technology is solved, and the need for multi-intention search is achieved.
Patent Information
- Application Number
- CN202211710580.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-12-29
AI Technical Summary
When the existing online reading application inputs single semantic information, the search results are relatively single, which cannot meet the needs of users for searching with multiple intentions.
By setting the association between the first book attribute dimension and at least one second book attribute dimension, the first associative word and the second associative word are obtained based on the search information, and displayed in the interface area outside the search logo to enrich the search associative word.
It realizes diversified search associative terms display, meets the search needs of users with multiple intentions, and improves search efficiency.
Smart Images

Figure CN116010556B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of computers, and in particular, to a data display method, apparatus, computer device, and system. Background Art
[0002] Currently, in existing online reading applications, users can search for information such as corresponding books and articles using the search function in the application. In the existing search function, after detecting the search term entered by the user, content associated with the search term can be searched. When the semantic information of the search term entered by the user is relatively single, the search results of the search term are also relatively single. Therefore, when users have the need for multi-intent search, the existing search methods cannot meet the search needs of users. Summary of the Invention
[0003] Embodiments of the present disclosure provide at least a data display method, apparatus, computer device, and system.
[0004] In a first aspect, an embodiment of the present disclosure provides a data display method, including: receiving search information in response to a trigger operation on a search identifier; where the search information corresponds to at least one first book attribute dimension, and the first book attribute dimension is associated with at least one second book attribute dimension; obtaining search association words based on the search information; where the search association words include a first association word and a second association word, the first association word is determined according to the search information and the first book attribute dimension, and the second association word is determined according to the second book attribute dimension; and displaying the search association words in other interface areas except the search identifier.
[0005] In an optional implementation manner, the at least one first book attribute dimension is determined by the following method: determining first book information including at least part of the search information; determining candidate book attribute dimensions based on the information dimension to which the first book information belongs; and determining the first book attribute dimension based on the candidate book attribute dimensions that match the search target of the search information among the candidate book attribute dimensions.
[0006] In an optional implementation manner, the second book attribute dimension associated with each first book attribute dimension is determined by the following method: determining the feature information of each preset book feature, where the feature information is used to indicate the feature association information between the first book attribute dimension and the preset book feature, and / or, the probability that the search target of the search information is the book information corresponding to the preset book feature; and determining the second book attribute dimension associated with the first book attribute dimension based on the feature information.
[0007] In an alternative embodiment, the method further includes: determining a target book that matches the search information; the determining the second book attribute dimension associated with the first book attribute dimension based on the feature information includes: determining target feature information of the target book for each of the preset book features, and determining the second book attribute dimension associated with the first book attribute dimension based on the target feature information.
[0008] In an alternative embodiment, the number of the first book attribute dimensions is multiple, and the multiple second book attribute dimensions associated with different first book attribute dimensions are not completely the same; the obtaining search association words based on the search information includes: obtaining search association words corresponding to each of the first book attribute dimensions based on the search information, to obtain multiple search association words; wherein, the search association word corresponding to each of the first book attribute dimensions includes a first association word and multiple second association words, and the multiple second association words are determined according to each second book attribute dimension associated with the first book attribute dimension.
[0009] In an alternative embodiment, the first association word and the second association words are determined by the following method: determining, among the alternative association words corresponding to the first book attribute dimension, the alternative association word that contains the search information as the first association word; determining, among each alternative association word corresponding to the second book attribute dimension, the alternative association word that has the same feature as the first association word as the second association word.
[0010] In an alternative embodiment, the displaying the search association words in other interface areas except the search identifier includes: determining a display identifier of the search association words; wherein, the display identifier is an identifier for indicating the book attribute dimension to which the search association words belong; displaying the search association words in the other interface areas according to the display identifier.
[0011] In an alternative embodiment, the determining the display identifier of the search association words includes: determining the display identifier of the first association word based on the first book attribute dimension; determining the display identifier of the second association words based on the second book attribute dimension; wherein, the display identifiers corresponding to different book attribute dimensions are different.
[0012] In an alternative embodiment, the displaying the search association words in the other interface areas according to the display identifier includes: determining a splicing style of the first association word and the second association words based on the first book attribute dimension and the second book attribute dimension; displaying the search association words in a first area of the other interface areas according to the splicing style, and displaying the display identifier of the search association words in a second area of the other interface areas; wherein, the second area is an area adjacent to the first area.
[0013] In an alternative implementation manner, determining the splicing style of the first associated word and the second associated word based on the first book attribute dimension and the second book attribute dimension includes: when the first book attribute dimension and the second book attribute dimension are the same, determining the hierarchical information between the first associated word and the second associated word; determining the splicing order of the first associated word and the second associated word based on the hierarchical information, and determining the splicing style based on the splicing order.
[0014] In a second aspect, an embodiment of the present disclosure provides a data display device, including: a receiving unit, configured to receive search information in response to a trigger operation on a search identifier; wherein the search information corresponds to at least one first book attribute dimension, and the first book attribute dimension is associated with at least one second book attribute dimension; an obtaining unit, configured to obtain search associated words based on the search information; wherein the search associated words include a first associated word and a second associated word, the first associated word is determined according to the search information and the first book attribute dimension, and the second associated word is determined according to the second book attribute dimension; a display unit, configured to display the search associated words in other interface areas except the search identifier.
[0015] In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor. When the computer device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps in the first aspect, or any possible implementation manner in the first aspect are executed.
[0016] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, the steps in the first aspect, or any possible implementation manner in the first aspect are executed.
[0017] In an embodiment of the present disclosure, after detecting a trigger operation on a search identifier, search information corresponding to at least one first book attribute dimension can be received, where the first book attribute dimension is associated with at least one second book attribute dimension. Then, search associated words can be obtained based on the search information, and the search associated words include a first associated word and a second associated word. Among them, the first associated word is determined according to the search information and the first book attribute dimension, and the second associated word is determined according to the second book attribute dimension. After obtaining the search associated words, the search associated words can be displayed in other interface areas except the search identifier.
[0018] In the embodiments of the present disclosure, by setting a first book attribute dimension to be associated with at least one second book attribute dimension, when search information corresponding to at least one book attribute dimension is received, a first associated word can be determined based on the first book attribute dimension, and a second associated word can be determined based on the second book attribute dimension associated with the first book attribute dimension. After that, the first associated word and the second associated word can be displayed for the user at the same time. Through this processing method, the search associated words of the search information can be enriched, and the associated words belonging to multiple attribute dimensions can be obtained, so as to meet the diversified search needs of users.
[0019] To make the above objects, features, and advantages of the present disclosure more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, makes a detailed description as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the accompanying drawings required for use in the embodiments will be briefly introduced below. The accompanying drawings herein are incorporated into the specification and constitute a part of this specification. These drawings illustrate embodiments consistent with the present disclosure and, together with the specification, are used to explain the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain 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.
[0021] Figure 1 Shows a flowchart of a data display method provided by an embodiment of the present disclosure;
[0022] Figure 2 Shows a schematic diagram of the display effect of a search associated word provided by an embodiment of the present disclosure;
[0023] Figure 3 Shows another schematic diagram of the display effect of a search associated word provided by an embodiment of the present disclosure;
[0024] Figure 4 Shows a schematic diagram of a data display device provided by an embodiment of the present disclosure;
[0025] Figure 5 Shows a schematic diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] 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 a part rather than all of the embodiments of the present disclosure. Components of the embodiments of the present disclosure generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Therefore, the detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed present disclosure, but merely represents 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 creative efforts fall within the scope of the present disclosure.
[0027] It should be noted that like reference numerals and letters denote like 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.
[0028] As used herein, the term "and / or" merely describes an association relationship and indicates that three relationships may exist. For example, A and / or B may represent three cases: A exists alone, both A and B exist simultaneously, and B exists alone. In addition, the term "at least one" as used 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, and C may represent selecting any one or more elements from the set composed of A, B, and C.
[0029] Through research, it is found that currently, in existing online reading applications, users can search for corresponding book, article, and other information using the search function in the application. In the existing search function, after detecting the search term input by the user, content associated with the search term can be searched. When the semantic information of the search term input by the user is relatively single, the search results of the search term are also relatively single. Therefore, when users have the need for multi-intent search, the existing search methods cannot meet the search needs of users.
[0030] Based on the above research, the present disclosure provides a data display method, apparatus, computer device, and system. In the embodiments of the present disclosure, after detecting a trigger operation on a search identifier, search information corresponding to at least one first book attribute dimension can be received, where the first book attribute dimension is associated with at least one second book attribute dimension. Then, a search association word can be obtained based on the search information. The search association word includes a first association word and a second association word. The first association word is determined according to the search information and the first book attribute dimension, and the second association word is determined according to the second book attribute dimension. After obtaining the search association word, the search association word can be displayed in other interface areas outside the search identifier.
[0031] In an embodiment of the present disclosure, by setting a first book attribute dimension to be associated with at least one second book attribute dimension, when search information corresponding to at least one book attribute dimension is received, a first associated word can be determined based on the first book attribute dimension, and a second associated word can be determined based on the second book attribute dimension associated with the first book attribute dimension. After that, the first associated word and the second associated word can be displayed for the user at the same time. Through this processing method, the search associated words of the search information can be enriched, and the associated words belonging to multiple attribute dimensions can be obtained, so as to meet the diversified search needs of users.
[0032] To facilitate the understanding of this embodiment, first, a data display method disclosed in an embodiment of the present disclosure will be introduced in detail. The execution subject of the data display method provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities. Such a computer device includes, for example: a terminal device, a server, or other processing devices. The terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementation manners, the data display method can be implemented by a processor calling computer-readable instructions stored in a memory.
[0033] Embodiment 1
[0034] See Figure 1 As shown, it is a flowchart of a data display method provided in an embodiment of the present disclosure. The method includes steps S101 to S105, where:
[0035] S101: In response to a trigger operation on a search identifier, receive search information; where the search information corresponds to at least one first book attribute dimension, and the first book attribute dimension is associated with at least one second book attribute dimension.
[0036] Here, the search identifier can be a "search box" or a "magnifying glass" or other search identifiers on the search page. After detecting the trigger operation of the user on the search identifier, the search information input by the user can be received.
[0037] After receiving the search information, the search information can be sent to the server. After the server obtains the search information, it can determine search associated words for the search information. Among them, the search associated words include a first associated word and a second associated word. Next, the server can send the search associated words to the client and display the search associated words on the search page of the client.
[0038] Here, the search information can be a single character, multiple characters, a single word, multiple words, or can be at least one letter. The present disclosure does not make specific limitations on the search information.
[0039] In the embodiments of the present disclosure, the first book attribute dimension can be dimensions such as book name, author name, book category, protagonist name, etc.; the second book attribute dimension can be dimensions such as author name, book category, book name, protagonist name, etc. Among them, at least one second book attribute dimension associated with the first book attribute dimension is different from the first book attribute dimension.
[0040] S103: Obtain search associated words based on the search information; wherein, the search associated words include a first associated word and a second associated word, the first associated word is determined according to the search information and the first book attribute dimension, and the second associated word is determined according to the second book attribute dimension.
[0041] In the embodiments of the present disclosure, after the server obtains the search information, it can determine at least one first book attribute dimension based on the search information, and then determine the first associated word based on the search information and the first book attribute dimension, and determine the second associated word based on the second book attribute dimension. Then, feedback the first associated word and the second associated word to the client.
[0042] Here, the first associated word can be a word that contains the search information and belongs to the first book attribute dimension. For example, when the search information is "high", at this time, words containing "high" can be searched from at least one first book attribute dimension. For example, the book name "High-quality Communication" is found. Here, the first associated word can also contain all the search information, and can also contain part of the search information. The present disclosure does not make specific limitations on this. In addition, the first associated word can also be a word that contains a synonym of the search information and belongs to the first book attribute dimension.
[0043] After the first associated word is determined, the second book attribute dimension associated with it can be determined according to the first book attribute dimension to which the first associated word belongs, and then the second associated word can be determined from the second book attribute dimension. For example, if the first associated word is the book name "High-quality Communication", and the second book attribute dimension associated with the book name is the author name, then the second associated word is the author name of "High-quality Communication".
[0044] S105: Display the search associated words in other interface areas except the search identifier.
[0045] Here, other interface areas except the search identifier can be the interface area below the search identifier on the search page. For example, as Figure 2 shown, the first associated word and the second associated word can be displayed in the interface area below the search identifier on the search page.
[0046] In an embodiment of the present disclosure, after detecting a trigger operation on a search identifier, search information corresponding to at least one first book attribute dimension can be received, where the first book attribute dimension is associated with at least one second book attribute dimension. Then, search association words can be obtained based on the search information, and the search association words include first association words and second association words. Among them, the first association words are determined according to the search information and the first book attribute dimension, and the second association words are determined according to the second book attribute dimension. After obtaining the search association words, the search association words can be displayed in other interface areas outside the search identifier.
[0047] In an embodiment of the present disclosure, by setting the first book attribute dimension to be associated with at least one second book attribute dimension, when receiving search information corresponding to at least one book attribute dimension, the first association words can be determined based on the first book attribute dimension, and the second association words can be determined based on the second book attribute dimension associated with the first book attribute dimension. Then, the first association words and the second association words can be displayed for the user at the same time. Through this processing method, the search association words of the search information can be enriched, and the association words belonging to multiple attribute dimensions can be obtained, so as to meet the diversified search needs of users.
[0048] In an alternative embodiment, the at least one first book attribute dimension can be determined in the following manner, which specifically includes the following steps:
[0049] Step S11: Determine first book information that includes at least part of the search information;
[0050] Step S12: Determine candidate book attribute dimensions based on the information dimension to which the first book information belongs;
[0051] Step S13: Determine the first book attribute dimension based on the candidate book attribute dimensions that match the search target of the search information among the candidate book attribute dimensions.
[0052] In an embodiment of the present disclosure, first, preset book information is obtained, where the preset book information belongs to at least one information dimension. Then, among the preset book information, the preset book information that includes all or part of the search information can be determined, and this preset book information is determined as the first book information; and the information dimension to which the first book information belongs is determined as the candidate book attribute dimension.
[0053] For example, among the information dimensions of book title and author name, there is preset book information that includes the search information. At this time, both the book title and the author name can be determined as candidate book attribute dimensions. Therefore, the number of dimensions of the candidate book attribute dimensions can be one or multiple.
[0054] Here, the search intent of the user can be determined based on the search information, and then the search target of the search information can be determined based on this search intent. Then, the candidate book attribute dimension that matches the search target in the candidate book attribute dimensions can be determined as the first book attribute dimension.
[0055] In specific implementation, the search intent of the user can be determined according to the user's historical search records on the client. For example, if the user's search intent is to search for romance books by book name, at this time, the search target can be determined as "book name", and then the candidate book attribute dimension "book title" that matches the "book name" can be determined as the first book attribute dimension.
[0056] After determining the first book attribute dimension, the first associated word that contains the search information and belongs to the first book attribute dimension can be determined.
[0057] In the above implementation manner, the first associated word that matches the user's search intent can be recommended to the user more accurately, thereby improving the overall search efficiency of the user.
[0058] In an alternative implementation manner, the second book attribute dimension associated with each of the first book attribute dimensions can be determined by the following method, which specifically includes the following steps:
[0059] Step S21: Determine the feature information of each preset book feature, where the feature information is used to indicate the feature association information between the first book attribute dimension and the preset book feature, and / or, is used to indicate the probability that the search target of the search information is the book information corresponding to the preset book feature;
[0060] Step S22: Determine the second book attribute dimension associated with the first book attribute dimension based on the feature information.
[0061] Here, the preset book features include features such as book title, book category, protagonist name, author name, etc. Among them, the feature information of the preset book features can include a feature association relationship and / or a probability association relationship. The feature association relationship is the association relationship between the first book attribute dimension and the preset book feature set in advance, and the probability association relationship is the probability that the book information corresponding to the preset book feature is the search target. At this time, the second book attribute dimension associated with the first book attribute dimension can be determined based on the feature association relationship and / or the probability association relationship. The following is an introduction by cases.
[0062] Case 1: Feature association relationship.
[0063] In the embodiments of the present disclosure, the association relationship between the first book attribute dimension and the preset book feature can be preset. For example, the following association relationships can be preset:
[0064] Association Relationship 1: Protagonist Name (First Book Attribute Dimension) + Book Title;
[0065] Association Relationship 2: Category Name (First Book Attribute Dimension) + Category Name;
[0066] Association Relationship 3: Book Title (First Book Attribute Dimension) + Author Name.
[0067] After obtaining the above feature association relationships, it is possible to search for the first book attribute dimension of the first associated word based on the above feature association relationships, and determine the preset book features associated with the first book attribute dimension. Suppose the first book attribute dimension is the book title. Then, through the above association relationships, it can be known that the preset book feature associated with the book title is the author name. At this time, the author name can be determined as the second book attribute dimension.
[0068] Case 2: Probability Association Relationship.
[0069] In the embodiments of the present disclosure, the probability association relationship is used to indicate the probability that the search target of the search information is the book information corresponding to the preset book feature in the case of determining the first book attribute dimension corresponding to the search information. Here, this probability association relationship can be determined based on the consumption data of the user for books.
[0070] For example, the search information input by the user is "Gao", and the first book attribute dimension corresponding to the search information is the character name. In this case, it is possible to determine the probability that the search target of the user is the book title 《XXX》 corresponding to the character name (preset book feature), or determine the probability that the search target of the user is the author name of the book (preset book feature). Then, the preset book feature with a larger probability can be determined as the second book attribute dimension associated with the first book attribute dimension.
[0071] Based on the above steps S21 and S22, the method provided by the embodiments of the present disclosure further includes the following steps: determining the target book that matches the search information.
[0072] At this time, the above step S22 determines the second book attribute dimension associated with the first book attribute dimension based on the feature information, including the following steps: determining the target feature information of the target book for each preset book feature, and determining the second book attribute dimension associated with the first book attribute dimension based on the target feature information.
[0073] In the embodiments of the present disclosure, in order to improve the determination accuracy of the second book attribute dimension, it is also possible to determine the target book that matches the search information, and then combine the target book to determine the second book attribute dimension associated with the first book attribute dimension.
[0074] In specific implementation, after receiving the search information, the first book attribute dimension corresponding to the search information can be determined in the manner described above. When it is determined that the first book attribute dimension is the book name, the target book can be determined based on the book name. When it is determined that the first book attribute dimension is not the book name, the target book that matches can be determined based on the first book attribute dimension.
[0075] After determining the target book, the preset book features of the target book can be determined. For example, features such as the book name, character names, author name, book category, etc. of the target book can be determined. Then, the feature association relationship between the preset book features of the target book and the first book attribute dimension can be determined, and / or, the probability that the book information corresponding to each preset book feature of the target book is the search target under the first book attribute dimension (i.e., the probability association relationship) can be determined. Here, the feature association relationship and the probability association relationship can be understood as the target feature information of the target book for each preset book feature.
[0076] In specific implementation, the feature association relationship between each preset book feature of the target book and the first book attribute dimension can be determined according to the pre-set association relationship. Here, the probability association relationship can also be determined based on the operation records of the user on the target book; where the operation records include various types of operation records such as the reading record, search record of the target book, search records of the main characters in the target book, search record of the author of the target book, and search record of the book name of the target book. The operation records can be statistically analyzed through a statistical algorithm, so as to statistically obtain the probability that each preset book feature of the target book is the search target under the first book attribute dimension. Then, based on the preset book features with higher probabilities, the second book attribute dimension associated with the first book attribute dimension is determined.
[0077] In the prior art, when a user enters search information on a search page, the search suggestion words usually displayed on the search page are single-entity suggestion words, and such single-entity suggestion words can no longer meet the diversified search needs of users. In the embodiments of the present disclosure, after determining the second book attribute dimension associated with the first book attribute dimension, the second suggestion words can be determined based on the second book attribute dimension, so as to determine suggestion words corresponding to multiple book attribute dimensions for the user, and further, while improving the search efficiency of the user for books, the diversified search needs of the user can be met.
[0078] In an alternative implementation manner, the number of the first book attribute dimensions is multiple, and the multiple second book attribute dimensions associated with different first book attribute dimensions are not completely the same.
[0079] In this case, the above step S103 obtains search associated words based on the search information, which specifically includes the following steps:
[0080] Obtain search associated words corresponding to each of the first book attribute dimensions based on the search information, obtaining a plurality of search associated words; wherein, the search associated words corresponding to each of the first book attribute dimensions include a first associated word and a plurality of second associated words, and the plurality of second associated words are determined according to each second book attribute dimension associated with the first book attribute dimension.
[0081] In the embodiments of the present disclosure, if it is determined that the number of the first book attribute dimensions is multiple, and a plurality of second book attribute dimensions are associated with each first book attribute dimension, then for each first book attribute dimension and the plurality of second book attribute dimensions associated with the first book attribute dimension, the server can determine corresponding search associated words. At this time, the search associated words can include a first associated word and a plurality of second associated words.
[0082] In the embodiments of the present disclosure, after determining the first book attribute dimension and the second book attribute dimension, the first associated word can be determined based on the search information and the first book attribute dimension, and the second associated word can be determined based on the second book attribute dimension.
[0083] In an alternative implementation manner, the first associated word and the second associated word can be determined by the following method, which specifically includes the following steps:
[0084] Step S31: Determine, among the alternative associated words corresponding to the first book attribute dimension, the alternative associated word that contains the search information as the first associated word;
[0085] Step S32: Determine, among each of the alternative associated words corresponding to the second book attribute dimension, the alternative associated word that has the same feature as the first associated word as the second associated word.
[0086] In the embodiments of the present disclosure, alternative associated words corresponding to the first book attribute dimension can be set in advance. For example, if the first book attribute dimensions are book title and character name, at this time, alternative book titles (alternative associated words) can be set for the first book attribute dimension (book title), and alternative character names (alternative associated words) can be set for the first book attribute dimension (character name).
[0087] Next, among the alternative associated words corresponding to the first book attribute dimension, the alternative associated word that contains at least part of the search information can be determined, and the alternative associated word is determined as the first associated word.
[0088] Here, all alternative associated words corresponding to the first book attribute dimension can be classified according to the first classification label, obtaining multiple associated word classification groups. Among them, the first classification label can be the first character of the alternative associated word, the author of the book corresponding to the alternative associated word, the book category, and other labels. For example, alternative associated words starting with the character "I" can be classified into the same associated word classification group. For another example, alternative associated words corresponding to the same author can be classified into the same associated word classification group.
[0089] After obtaining multiple associated word classification groups, the search information can be matched with the first classification labels of each associated word classification group, so as to determine the alternative associated word classification group among the multiple associated word classification groups according to the matching result, and determine the first associated word in the alternative associated word classification group.
[0090] After determining the first associated word, alternative associated words corresponding to the second book attribute dimension setting can be obtained, and among these alternative associated words, those having the same features as the first associated word are determined as the second associated word. Here, having the same features can be understood as the books corresponding to the first associated word and the second associated word being the same book.
[0091] In specific implementation, corresponding book labels can be set in advance for the alternative associated words of the first book attribute dimension and the alternative associated words of the second book attribute dimension respectively, so as to determine the book corresponding to each alternative associated word through this book label. At this time, the book labels of the alternative associated words in the second book attribute dimension can be matched with the book labels of the alternative associated words in the first book attribute dimension, so as to determine the alternative associated words that match successfully in the second book attribute dimension, and determine the alternative associated words that match successfully as the second associated word.
[0092] After obtaining the search associated words, the search associated words can be displayed in other interface areas except the search identifier, specifically including the following steps:
[0093] Step S41: Determine the display identifier of the search associated word; among them, the display identifier is an identifier used to indicate the book attribute dimension to which the search associated word belongs;
[0094] Step S42: Display the search associated word in the other interface area according to the display identifier.
[0095] In the embodiments of the present disclosure, the display identifiers of the first associated word and the second associated word in the search associated words can be determined. Here, since the display identifier is associated with the book attribute dimension, the display identifier of the first associated word can be determined based on the first book attribute dimension, and the display identifier of the second associated word can be determined based on the second book attribute dimension; among them, the display identifiers corresponding to different book attribute dimensions are different.
[0096] For example, for the name of the protagonist, the display identifier can be an identifier containing the two characters "protagonist"; for another example, for the title of a book, the display identifier can be the symbol "《》"; for another example, for the book category, the display identifier can be an identifier containing the two characters "classification". The present disclosure does not specifically limit the form of the display identifier, as long as it can be implemented.
[0097] For example, as Figure 2 shown, the search associated words include a first associated word (protagonist name Gao Xiao) and a second associated word (becoming the group favorite after the cultivating immortal big shot comes back). Among them, as Figure 2 shown, the display identifier of the protagonist name is a gray square identifier containing the two characters "protagonist", and the display identifier of the book title is the symbol "《》".
[0098] For example, as Figure 3 shown, the search associated words include a first associated word (book category MM urban) and a second associated word (book category NN superpower). Among them, as Figure 3 shown, the display identifier of the book category is a gray square identifier containing the two characters "classification".
[0099] After determining the display identifier of the search associated words, the search associated words can be displayed in the other interface area according to the display identifier.
[0100] For example, as Figure 2 shown, a gray square identifier containing the two characters "protagonist" is displayed on the right side of the first associated word, and the symbol "《》" is added at both ends of the book title of the second associated word. As Figure 3 shown, a gray square identifier containing the two characters "classification" is displayed on the right side of the second associated word.
[0101] In an optional implementation manner, step S42 of displaying the search associated words in the other interface area according to the display identifier specifically includes the following steps:
[0102] Step S421: Determine the splicing style of the first associated word and the second associated word based on the first book attribute dimension and the second book attribute dimension;
[0103] Step S422: Display the search associated words in the first area of the other interface area according to the splicing style, and display the display identifier of the search associated words in the second area of the other interface area; wherein, the second area is an area adjacent to the first area.
[0104] In an embodiment of the present disclosure, after determining the display identifiers of the first associated word and the second associated word, it is necessary to splice the first associated word and the second associated word and display them in the other interface area. At this time, it is necessary to determine the splicing style of the first associated word and the second associated word.
[0105] Specifically, when implementing, the splicing style of the first associated word and the second associated word can be determined according to the first book attribute dimension of the first associated word and the second book attribute dimension of the second associated word. Among them, different combinations of the first book attribute dimension and the second book attribute dimension determine different splicing styles.
[0106] Here, a style table can be set in advance, where the style table includes splicing styles, as well as the first book attribute dimension and the second book attribute dimension corresponding to the splicing styles. Therefore, the splicing style of the first associated word and the second associated word that matches the first book attribute dimension and the second book attribute dimension can be found in the style table.
[0107] After determining the splicing style, the search associated words can be displayed in the first area of the other interface area according to the splicing style, and the display identifiers of the search associated words can be displayed in the second area of the other interface area, where the first area is the display area below the search identifier on the search page, and the second area is the area adjacent to the first area.
[0108] As Figure 2 shown, the search associated words include the first associated word (protagonist name: Gao Xiao) and the second associated word (after the cultivating immortal big shot comes back, she becomes the group favorite). At this time, the splicing style of the first associated word and the second associated word is as Figure 2 shown, that is, the protagonist name and the book title are spliced in a separated manner. At this time, the protagonist name is displayed on the left side of the first area, the book title is displayed on the right side of the first area, and the protagonist name and the book title are not adjacent. As Figure 2 shown, the display identifier of the protagonist name is located on the right side of the protagonist name and is displayed adjacent to the protagonist name, and the display identifier of the book title is located at both ends of the book title.
[0109] As Figure 3 shown, the search associated words include the first associated word (book category MM: urban) and the second associated word (book category NN: supernatural ability). At this time, the splicing style of the first associated word and the second associated word is as Figure 3 shown, that is, the book categories are spliced in an adjacent manner. At this time, book category MM is displayed on the left side of the first area, book category NN is displayed on the right side of the first area, and book category MM and book category NN are adjacent. As Figure 3 shown, the display identifiers of book category MM and book category NN are located on the right side of book category NN and are displayed adjacent to book category NN.
[0110] In an alternative embodiment, the step of determining the splicing pattern of the first associated word and the second associated word based on the first book attribute dimension and the second book attribute dimension in step S421 specifically includes the following steps:
[0111] First, when the first book attribute dimension and the second book attribute dimension are the same, determine the hierarchical information between the first associated word and the second associated word;
[0112] Second, determine the splicing order of the first associated word and the second associated word based on the hierarchical information, and determine the splicing pattern based on the splicing order.
[0113] In the embodiments of the present disclosure, if the first book attribute dimension and the second book attribute dimension are the same, for example, both are book categories, then the hierarchical information between the first associated word (for example, book category MM) and the second associated word (for example, book category NN) can be determined. For example, if book category NN belongs to book category MM, it can be determined that the level of book category MM is higher than that of book category NN; otherwise, it can be determined that the level of book category MM is lower than that of book category NN.
[0114] Next, the splicing order of the first associated word and the second associated word can be determined based on this hierarchical information. For example, the first associated word and the second associated word can be spliced in the order from high to low according to the hierarchical information. If the hierarchical information of the first associated word is higher than that of the second associated word, then the splicing order of the first associated word and the second associated word is: book category MM + book category NN. At this time, this splicing order can be determined as the splicing pattern.
[0115] In the above embodiment, by splicing the first associated word and the second associated word according to the hierarchical information, the search associated words can be more intuitively displayed to the user, thereby further improving the search efficiency of the user for books.
[0116] Those skilled in the art can understand that in the above method of the specific embodiment, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined according to its function and possible internal logic.
[0117] 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. Since the principle of solving problems by the device in the embodiments of the present disclosure is similar to the above data display method in the embodiments of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0118] Refer to Figure 4As shown in the figure, it is a schematic diagram of a data display device provided by an embodiment of the present disclosure. The device includes: a receiving unit 10, an obtaining unit 20, and a displaying unit 30. Among them,
[0119] The receiving unit is configured to receive search information in response to a trigger operation on a search identifier. Among them, the search information corresponds to at least one first book attribute dimension, and the first book attribute dimension is associated with at least one second book attribute dimension.
[0120] The obtaining unit is configured to obtain search associated words based on the search information. Among them, the search associated words include a first associated word and a second associated word. The first associated word is determined according to the search information and the first book attribute dimension, and the second associated word is determined according to the second book attribute dimension.
[0121] The displaying unit is configured to display the search associated words in other interface areas except the search identifier.
[0122] In an embodiment of the present disclosure, after detecting a trigger operation on a search identifier, search information corresponding to at least one first book attribute dimension can be received. Among them, the first book attribute dimension is associated with at least one second book attribute dimension. Then, search associated words can be obtained based on the search information. The search associated words include a first associated word and a second associated word. Among them, the first associated word is determined according to the search information and the first book attribute dimension, and the second associated word is determined according to the second book attribute dimension. After obtaining the search associated words, the search associated words can be displayed in other interface areas except the search identifier.
[0123] In an embodiment of the present disclosure, by setting that the first book attribute dimension is associated with at least one second book attribute dimension, when receiving search information corresponding to at least one book attribute dimension, the first associated word can be determined based on the first book attribute dimension, and the second associated word can be determined based on the second book attribute dimension associated with the first book attribute dimension. Then, the first associated word and the second associated word can be displayed for the user at the same time. Through this processing method, the search associated words of the search information can be enriched, and the associated words belonging to multiple attribute dimensions can be obtained, so as to meet the diversified search needs of users.
[0124] In a possible implementation manner, the device is further configured to determine the at least one first book attribute dimension in the following manner: determine a first book information including at least part of the search information; determine a candidate book attribute dimension based on the information dimension to which the first book information belongs; and determine the first book attribute dimension based on the candidate book attribute dimension that matches the search target of the search information.
[0125] In a possible implementation, the device is further configured to determine the second book attribute dimension associated with each of the first book attribute dimensions in the following manner: determine the feature information of each preset book feature, where the feature information is used to indicate the feature association information between the first book attribute dimension and the preset book feature, and / or, the probability that the search target of the search information is the book information corresponding to the preset book feature; determine the second book attribute dimension associated with the first book attribute dimension based on the feature information.
[0126] In a possible implementation, the device is further configured to: determine the target book that matches the search information; determine the target feature information of the target book for each of the preset book features, and determine the second book attribute dimension associated with the first book attribute dimension based on the target feature information.
[0127] In a possible implementation, the acquisition unit is further configured to: when the number of the first book attribute dimensions is multiple and the multiple second book attribute dimensions associated with different first book attribute dimensions are not completely the same, obtain the search association words corresponding to each of the first book attribute dimensions based on the search information, and obtain multiple search association words; where the search association word corresponding to each of the first book attribute dimensions includes a first association word and multiple second association words, and the multiple second association words are determined according to each second book attribute dimension associated with the first book attribute dimension.
[0128] In a possible implementation, the device is further configured to determine the first association word and the second association word in the following manner: determine the alternative association word that contains the search information among the alternative association words corresponding to the first book attribute dimension as the first association word; determine the alternative association words that have the same features as the first association word among the alternative association words corresponding to the second book attribute dimension as the second association words.
[0129] In a possible implementation, the display unit is further configured to: determine the display identifier of the search association word; where the display identifier is an identifier used to indicate the book attribute dimension to which the search association word belongs; display the search association word in the other interface area according to the display identifier.
[0130] In a possible implementation, the display unit is further configured to: determine the display identifier of the first association word based on the first book attribute dimension; determine the display identifier of the second association word based on the second book attribute dimension; where the display identifiers corresponding to different book attribute dimensions are different.
[0131] In a possible implementation, the display unit is further configured to: determine a splicing style of the first association word and the second association word based on the first book attribute dimension and the second book attribute dimension; display the search association word in a first area of the other interface area according to the splicing style, and display a display identifier of the search association word in a second area of the other interface area; wherein, the second area is an area adjacent to the first area.
[0132] In a possible implementation, the display unit is further configured to: determine hierarchical information between the first association word and the second association word when the first book attribute dimension and the second book attribute dimension are the same; determine a splicing order of the first association word and the second association word based on the hierarchical information, and determine the splicing style based on the splicing order.
[0133] Descriptions of the processing flows of the units in the device and the interaction flows between the units may refer to the relevant descriptions in the above method embodiments, and will not be elaborated here.
[0134] ]>Embodiment 2
[0135] Corresponding to Figure 1 the data display method in, the present disclosure embodiment further provides a computer device 500, as Figure 5 shown, which is a schematic structural diagram of the computer device 500 provided by the present disclosure embodiment, including:
[0136] A processor 51, a memory 52, and a bus 53; the memory 52 is used to store execution instructions, including an internal memory 521 and an external memory 522; here, the internal memory 521 is also called the main memory, which is used to temporarily store the operation data in the processor 51 and the data exchanged with the external memory 522 such as a hard disk. The processor 51 exchanges data with the external memory 522 through the internal memory 521. When the computer device 500 runs, the processor 51 communicates with the memory 52 through the bus 53, so that the processor 51 executes the following instructions:
[0137] In response to a trigger operation on a search identifier, receive search information; wherein, the search information corresponds to at least one first book attribute dimension, and the first book attribute dimension is associated with at least one second book attribute dimension;
[0138] Obtain search association words based on the search information; wherein, the search association words include a first association word and a second association word, the first association word is determined according to the search information and the first book attribute dimension, and the second association word is determined according to the second book attribute dimension;
[0139] Display the search association words in other interface areas except the search identifier.
[0140] Embodiment III
[0141] The embodiments of the present disclosure further provide 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 data display method described in the above method embodiments. Among them, the storage medium may be a volatile or non-volatile computer-readable storage medium.
[0142] The embodiments of the present disclosure further provide a computer program product, which carries program codes. The instructions included in the program codes can be used to execute the steps of the data display method described in the above method embodiments. For details, please refer to the above method embodiments and will not be elaborated here.
[0143] 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.
[0144] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems and devices described above 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 only 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.
[0145] 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.
[0146] In addition, in each of the embodiments of the present disclosure, the functional units may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
[0147] If the above-mentioned 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 such an 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. The 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 the various embodiments of the present disclosure. The aforementioned 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.
[0148] Finally, it should be noted that the above-described embodiments are only specific implementation manners of the present disclosure, used to illustrate the technical solutions of the present disclosure, rather than limiting them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed by the present disclosure can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be covered by the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. A data display method, characterized in that, Including: Receiving search information in response to a trigger operation on a search identifier; wherein, the search information corresponds to at least one first book attribute dimension, and at least one second book attribute dimension is associated with the first book attribute dimension; Obtaining search associated words based on the search information; wherein, the search associated words include first associated words and second associated words, the first associated words are determined according to the search information and the first book attribute dimension, and the second associated words are determined according to the second book attribute dimension; Displaying the search associated words in other interface areas except the search identifier; Wherein, the displaying the search associated words in other interface areas except the search identifier includes: Determining a display identifier of the search associated words; wherein, the display identifier is an identifier used to indicate the book attribute dimension to which the search associated words belong; Displaying the search associated words in the other interface area according to the display identifier; Wherein, the displaying the search associated words in the other interface area according to the display identifier includes: Determining a splicing style of the first associated words and the second associated words based on the first book attribute dimension and the second book attribute dimension; Displaying the search associated words in a first area of the other interface area according to the splicing style.
2. The method according to claim 1, wherein Determining the at least one first book attribute dimension in the following manner: Determining first book information including at least part of the search information; Determining candidate book attribute dimensions based on the information dimension to which the first book information belongs; Determining the first book attribute dimension based on the candidate book attribute dimensions that match the search target of the search information among the candidate book attribute dimensions.
3. The method according to claim 1, characterized in that, Determining the second book attribute dimension associated with each first book attribute dimension in the following manner: Determining the feature information of each preset book feature, wherein the feature information is used to indicate the feature association information between the first book attribute dimension and the preset book feature, and / or, is used to indicate the probability that the search target of the search information is the book information corresponding to the preset book feature; Determining the second book attribute dimension associated with the first book attribute dimension based on the feature information.
4. The method according to claim 3, wherein The method further includes: determining a target book that matches the search information; The determining the second book attribute dimension associated with the first book attribute dimension based on the feature information includes: determining the target feature information of the target book for each preset book feature, and determining the second book attribute dimension associated with the first book attribute dimension based on the target feature information.
5. The method according to claim 1, wherein The number of the first book attribute dimensions is multiple, and the multiple second book attribute dimensions associated with different first book attribute dimensions are not completely the same; The obtaining search associated words based on the search information includes: Obtain search associated words corresponding to each of the first book attribute dimensions based on the search information, obtaining a plurality of search associated words; wherein, the search associated words corresponding to each of the first book attribute dimensions include a first associated word and a plurality of second associated words, and the plurality of second associated words are determined according to each second book attribute dimension associated with the first book attribute dimension.
6. The method according to claim 1, wherein Determine the first associated word and the second associated words in the following manner: Among the alternative associated words corresponding to the first book attribute dimension, determine the alternative associated word containing the search information as the first associated word; Determine the alternative associated words having the same features as the first associated word among each of the alternative associated words corresponding to the second book attribute dimension as the second associated words.
7. The method according to claim 1, wherein The determination of the display identifier of the search associated words includes: Determine the display identifier of the first associated word based on the first book attribute dimension; Determine the display identifier of the second associated words based on the second book attribute dimension; wherein, the display identifiers corresponding to different book attribute dimensions are different.
8. The method according to claim 7, wherein The display of the search associated words in the other interface area according to the display identifier includes: Display the display identifier of the search associated words in the second area of the other interface area; wherein, the second area is an area adjacent to the first area.
9. The method according to claim 8, characterized in that The determination of the splicing style of the first associated word and the second associated words based on the first book attribute dimension and the second book attribute dimension includes: In the case where the first book attribute dimension and the second book attribute dimension are the same, determine the hierarchical information between the first associated word and the second associated words; Determine the splicing order of the first associated word and the second associated words based on the hierarchical information, and determine the splicing style based on the splicing order.
10. A data display device, characterized in that, Includes: A receiving unit, configured to receive search information in response to a trigger operation on a search identifier; wherein, the search information corresponds to at least one first book attribute dimension, and the first book attribute dimension is associated with at least one second book attribute dimension; An obtaining unit, configured to obtain search associated words based on the search information; wherein, the search associated words include a first associated word and a second associated words, the first associated word is determined according to the search information and the first book attribute dimension, and the second associated words are determined according to the second book attribute dimension; A display unit, configured to display the search associated words in an other interface area except the search identifier; Wherein, the display of the search associated words in an other interface area except the search identifier includes: Determine the display identifier of the search associated words; wherein, the display identifier is an identifier for indicating the book attribute dimension to which the search associated words belong; Display the search associated words in the other interface area according to the display identifier; Wherein, the display of the search associated words in the other interface area according to the display identifier includes: Determine the splicing style of the first associated word and the second associated words based on the first book attribute dimension and the second book attribute dimension; Display the search association words in the first area of the other interface area according to the splicing style.
11. A computer device, characterized in that, Including: A processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer 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 data display method according to any one of claims 1 to 9 are executed.
12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is run by the processor, the steps of the data display method according to any one of claims 1 to 9 are executed.
Citation Information
Patent Citations
Search method based on electronic book, electronic equipment and computer storage medium
CN109857853A
Search processing method and system, electronic equipment and storage medium
CN111723282A