Content display method and device, equipment and medium
By updating and generating summary content in real time within the search result page, the problem of low correlation between summary content and search result page in the prior art is solved, and higher correlation and flexibility are achieved.
Patent Information
- Application Number
- CN202510058299.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-05-13
AI Technical Summary
When intelligently summarizing the prior art, the summary content and the search result page are relatively low and fixed, and cannot adapt to the changes in search results.
By displaying published content matching the search terms on the search result page and updating the summary content in real time, the summary content is dynamically generated and displayed based on user operations and changes in search results.
It improves the relevance of summary content and search result pages, enhances the flexibility of generation and display of summary content, and can better meet the actual needs of users.
Smart Images

Figure CN119988714A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, specifically to the field of data display technology, and in particular to a content display method, device, equipment and medium. Background Art
[0002] Currently, the smart summary function can be opened to users when they search. For example, when the results obtained from the on-site search are displayed on the search results page, the key content can be extracted and summarized through the smart summary function to facilitate quick acquisition of key information. However, when performing smart summarization, it is usually done by summarizing the relevant information obtained from the search on the entire platform (that is, in addition to the information from the current site, it also includes information from other platforms). This means that the summary content is usually fixed and has low relevance to the content displayed on the search results page. Summary of the invention
[0003] The embodiments of the present application provide a content display method, apparatus, device and medium, which can improve the relevance between summary content in a search scenario and search results on a search result page.
[0004] On the one hand, an embodiment of the present application provides a content display method, the method comprising:
[0005] In response to a search operation for a search term, displaying a search result page corresponding to the search term, and displaying first published content matching the search term in a result area within the search result page;
[0006] Displaying first summary content obtained by summarizing the first published content in a summary area in the search result page;
[0007] In response to a content update operation on the first published content, updating the published content in the result area from the first published content to the second published content;
[0008] In response to a triggering operation on a content summary control in the search result page, second summary content obtained by summarizing the second published content is displayed in the summary area; the second summary content is different from the first summary content.
[0009] On the other hand, an embodiment of the present application provides a content display method, the method comprising:
[0010] receiving a search request for a search term, and when searching the search term to obtain a first published content matching the search term, summarizing the first published content to obtain a first summarized content; the search request is generated by a search operation for the search term;
[0011] In response to the search request, the first published content and the first summary content are returned, so that the first published content is displayed in a result area in a search result page corresponding to the search term, and the first summary content is displayed in a summary area in the search result page;
[0012] Upon receiving a content update request, obtaining a second published content indicated by the content update request, and returning the second published content in response to the content update request, so as to update and display the second published content in the result area; the content update request is generated by a content update operation on the first published content;
[0013] When a content summary request is received, the second published content is summarized to obtain second summary content, and in response to the content summary request, the second summary content is returned to display the second summary content in the summary area; the content summary request is generated by a trigger operation on a content summary control in the search result page.
[0014] On the one hand, an embodiment of the present application provides a content display device, the device comprising:
[0015] A content display module, configured to display a search result page corresponding to the search word in response to a search operation for the search word, and to display a first published content matching the search word in a result area of the search result page;
[0016] The content display module is further used to display the first summary content obtained by summarizing the first published content in the summary area of the search result page;
[0017] A content update module, configured to update the published content in the result area from the first published content to the second published content in response to a content update operation on the first published content;
[0018] The content display module is also used to respond to the triggering operation of the content summary control in the search result page, and display the second summary content obtained after summarizing the second published content in the summary area; the second summary content is different from the first summary content.
[0019] On the other hand, an embodiment of the present application provides a content display device, the device comprising:
[0020] A request receiving module, configured to receive a search request for a search word, and when searching the search word and obtaining a first published content matching the search word, summarize the first published content to obtain a first summarized content; the search request is generated by a search operation for the search word;
[0021] A content acquisition module, configured to return a first published content and a first summary content in response to a search request, so as to display the first published content in a result area in a search result page corresponding to the search term, and to display the first summary content in a summary area in the search result page;
[0022] The content acquisition module is further used to, upon receiving a content update request, acquire the second published content indicated by the content update request, and in response to the content update request, return the second published content so as to update and display the second published content in the result area; the content update request is generated by a content update operation on the first published content;
[0023] The content acquisition module is further used to summarize the second published content when receiving a content summary request to obtain second summary content, and return the second summary content in response to the content summary request to display the second summary content through the summary area; the content summary request is generated by a trigger operation on the content summary control in the search result page.
[0024] On the one hand, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute some or all of the steps in the above method.
[0025] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program includes program instructions, which, when executed by a processor, are used to execute some or all of the steps in the above method.
[0026] Accordingly, according to one aspect of the present application, a computer program product or a computer program is provided, wherein the computer program product or the computer program comprises computer instructions, and when the computer instructions are executed by a processor, some or all of the steps in the above method can be implemented.
[0027] In an embodiment of the present application, the first published content matched with the search term obtained by the search can be displayed on the result area of the search result page corresponding to the search term, and when a summary area is displayed, the first summary content obtained after the content summary of the first published content is displayed; in addition, the search result page may also include a content summary control; at this time, after the content of the first published content is updated, the search result page may display the updated second published content, and by triggering the content summary control, a real-time summary can be performed based on the second published content to obtain the second summary content adapted to the published content on the current search result page. In other words, the summary content can be obtained in real time based on the current search result (i.e., the currently displayed published content), and when the search results on the search result page change, the summary content can change according to the new search results to meet the actual needs of the user, improve the relevance between the summary content in the search scenario and the search results on the search result page, and enhance the generation flexibility and display richness of the summary content. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0029] Figure 1 A schematic diagram of a network architecture provided for an embodiment of the present application;
[0030] Figure 2 A schematic diagram of a content display scenario provided in an embodiment of the present application;
[0031] Figure 3 A flowchart of a content display method provided in an embodiment of the present application;
[0032] Figure 4a-4e A schematic diagram of a display scenario of summary content provided in an embodiment of the present application;
[0033] Figure 5a-5f A schematic diagram of an update scenario of publishing content provided in an embodiment of the present application;
[0034] Figure 6 A flowchart of another content display method provided in an embodiment of the present application;
[0035] Figure 7a-7d A schematic diagram of a scene in which a content summary control is fixed provided in an embodiment of the present application;
[0036] Figure 8a-8cA schematic diagram of a scenario for displaying summary content provided in an embodiment of the present application;
[0037] Fig. 9 A flowchart of another content display method provided in an embodiment of the present application;
[0038] Fig.10 A schematic diagram of an interactive process of content display provided in an embodiment of the present application;
[0039] Fig.11 A schematic diagram of the structure of a content display device provided in an embodiment of the present application;
[0040] Fig.12 A schematic diagram of the structure of another content display device provided in an embodiment of the present application;
[0041] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The content display method proposed in the embodiment of the present application is implemented in an electronic device, which can be a server or a terminal. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this.
[0043] In the description of the embodiments of the present application, the search results displayed on the search results page involved may have multiple result types, such as published content (such as notes, articles, etc.), product type, user type, etc. The search results page may display the published content (such as notes) in the form of content cards, or may display the published content (such as articles) in the form of links.
[0044] The summary content involved refers to the content obtained by summarizing the published content obtained by the search. For example, when the search term is an objective factual issue or a life decision-making issue, when the published content is obtained by the search, the intelligent summarization capability can be called (for example, through the AIGC (Artificial Intelligence Generated Content) model for intelligent summarization) to summarize the published content and obtain the summary content related to the search term, so that users can extract useful information faster.
[0045] Among them, the server can perform secondary processing on the summary content output by the intelligent summarizing capability according to a preset template (for example, defining how to display the title, how to display the subtitle, how to display the text, how to add emoticons, etc.), and obtain the summary content displayed according to the preset template, which can then be displayed on the search results page.
[0046] Among them, a network architecture diagram proposed by the content display method can be shown as follows Figure 1 As shown, the network architecture may include a server 100 (with no limitation on the number of servers) and a terminal device cluster (with no limitation on the number of terminal devices, such as terminal device 200a, terminal device 200b, ..., terminal device 200n), wherein there may be a communication connection between the servers. At the same time, the server may have a communication connection with any terminal device, so that the server can exchange data with the terminal device through the communication connection. The above-mentioned communication connection does not limit the connection method, and may be directly or indirectly connected through a wired communication method, or directly or indirectly connected through a wireless communication method, or through other methods, which are not limited in this application. In addition, it can be understood that the electronic device involved in the embodiments of the present application may be Figure 1 The terminal device shown can also be Figure 1 The server shown.
[0047] It should be understood that Figure 1 Each terminal device in the terminal device cluster shown may be installed with an application client for content search. The application client may be any type of client, such as a social client, an instant messaging client (e.g., a conference client), an entertainment client (e.g., a live broadcast client), a multimedia client (e.g., a video client), an information client (e.g., a news client), a shopping client, a multimedia client, etc., which has the function of displaying data information such as text, images, audio, and video. The specific type of the application client is not limited here.
[0048] For example, an application client refers to a client that can instantly send and receive Internet messages and has a content search function. Figure 1 A search page is displayed on the application client on the terminal device 200a) shown in the figure, and a search operation for the search term is performed on the search page to instruct the server to search for the search term. At this time, when the server searches for published content related to the search term, it can further call the intelligent summary function to summarize the relevant published content. The application client can display the relevant published content and the corresponding summary content on the search results page.
[0049] Optionally, the terminal device and the server may be based on logical division. Therefore, when the terminal device and the server are mentioned below, they may be physically the same device or different devices.
[0050] For further understanding, please refer to Figure 2 , Figure 2 A schematic diagram of a content display scenario provided by an embodiment of the present application, wherein, by searching for a search term (such as "what does UPF mean"), a search result page 20a corresponding to the search term can be displayed.
[0051] The search result page 20a includes a summary area and a result area. The result area can be used to display the search results obtained by searching the search term, such as published content (such as the first published content 21a). For example, one published content corresponds to one content card. A content card can display the title, cover, publishing account, number of likes, etc. of the published content.
[0052] The summary area may display first summary content 22a obtained by summarizing the first published content.
[0053] For example, the intelligent summarizing capability summarizes the first published content based on the search terms. For example, the server can generate prompt text based on the search terms (such as used to instruct the intelligent model to summarize the content related to the search terms from the given published content), input the prompt text and the first published content into the AIGC model, and the AIGC model summarizes the first published content based on the instruction of the prompt text.
[0054] Optionally, part of the published content may be selected from the first published content for content summary, such as selecting the first 20 published content, or selecting the 20 published content with the highest content quality from the first 50 published content. This is not limited here.
[0055] The search result page may include a content summary control 23a, and the content summary control 23a is used to trigger a content summary operation on the published content in the current result area.
[0056] After the first published content is updated (the search result page is 20b), the published content in the result area can be updated from the first published content to the second published content 22b. The second published content is still the published content obtained by searching the search term.
[0057] Optionally, after the content is updated, the summary area may still be displayed on the search result page, or may not be displayed on the search result page.
[0058] At this time, by triggering the content summary control, when a summary area is displayed on the search results page, the second summary content 21b obtained by summarizing the second published content can be displayed, that is, the summary content of the latest published content on the current search results page.
[0059] Optionally, after the content is updated, the second published content may be automatically summarized and displayed.
[0060] The second published content may be different from the first published content, such as the published content included in the second published content is different or partially different from the published content included in the first published content, or the published content included in the second published content is the same as the published content included in the first published content, but in a different order. The second summary content is also different from the first summary content.
[0061] In this way, based on the published content currently displayed on the search results page, adaptive summary content can be generated in real time for display. It is not fixed, but can be updated according to the update of the published content on the search results page, so that the summary content can be strongly related to the search results on the search results page, that is, when performing a search and displaying the search results, the published content obtained by this search can be summarized at the same time, which can improve the display richness and reliability of the summary content, as well as the interactivity with users. For example, after updating the published content, the user can choose whether to trigger the smart summary function according to their needs to obtain the latest summary content.
[0062] Among them, in the specific implementation of the present application, when it comes to the scene of obtaining relevant data such as user information, such as obtaining user information (such as the search terms involved, published content, etc.), it is necessary to obtain user permission or consent. That is, when the embodiments of the present application are applied to specific products or technologies, the collection, use and processing of relevant user data comply with the relevant laws, regulations and standards of the relevant regions. For example, a prompt message can be issued in the form of an interactive page to prompt which data will be collected or obtained. Specifically, the type and content of these data can be prompted to the user through a list or other means. Only after receiving a confirmation operation or instruction allowing the collection of data on the interactive page, the collection and processing of relevant data will be further performed.
[0063] The above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, those skilled in the art will know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0064] Based on the above description, the present application embodiment proposes a content display method, which can be executed by the electronic device mentioned above, and specifically can be Figure 1 See the terminal equipment shown. Figure 3 , Figure 3 A flow chart of a content display method provided in an embodiment of the present application. Figure 3 As shown, the process of the content display method in the embodiment of the present application may include the following:
[0065] S101. In response to a search operation for a search term, a search result page corresponding to the search term is displayed, and a first published content matching the search term is displayed in a result area of the search result page.
[0066] Among them, a search operation for a search term may be triggered to obtain a search result page. The search result page may display search results of one or more result types, such as one or more published content, users, products, group chats, etc.
[0067] Optionally, the search result page may refer to a page obtained by triggering a search operation after entering a search term in a search entry field of a search page. Alternatively, it may refer to a page obtained by triggering a search operation after entering a new search term in a search entry field of an existing search result page. Alternatively, it may refer to a page obtained by triggering a search operation after triggering a specified search term in a related search term on an existing search result page (a search term recommended for a search term corresponding to an existing search result page), etc. This is not limited here.
[0068] The search result page may include a result area, which may be used to display published content that matches the search term, such as the first published content.
[0069] S102: Displaying first summary content obtained by summarizing the first published content in a summary area in a search result page.
[0070] Optionally, the search results page may also display a summary area, such as being embedded in the search results page and being on the same page as the published content in the result area, rather than displaying it as a floating layer or a new page (such as associating the content summary through a separate control, and after triggering the control, switching the current page to a new page for displaying the summary content). This can highlight the relevance of the summary content to the search results, as well as the convenience of viewing the summary content, thereby improving the efficiency of users in obtaining information and answers.
[0071] Optionally, for any search term, the summary area may be displayed (ie, the content may be summarized), or the summary area may be displayed only for specific search terms (eg, the content may be summarized only when the search term belongs to a specific type).
[0072] For example, when the server obtains the search term, it can determine whether the search term contains specified keywords (for example, words with higher search frequency can be used as specific keywords, or some words expressing questions can be used as specific keywords, such as "what is", "how", etc.). If it contains the specified keywords, it is determined to be of a specific type.
[0073] For another example, the question type of the search term can be determined (e.g., if the searched information is large or complex, and the type of information needs to be refined and summarized). For example, when the search term belongs to the objective fact category (e.g., "How to make an appointment for a tourist attraction in X"), the multi-answer decision category (e.g., "a romantic movie suitable for couples"), the material creation category (e.g., "New Year's greetings"), etc., it can be determined to belong to a specific type. For example, the server can determine the question type of the search term by whether the search term contains keywords related to the question type, or it can be determined by an intelligent model. No limitation is made here.
[0074] The search result page may include a content summary control, which is used to summarize the published content displayed in the result area.
[0075] Optionally, when the first published content is displayed in the result area, if the summary area is not actively displayed, the content summary control can be triggered to implement real-time content summary of the first published content. At this time, the summary area can be displayed, and the first summary content can be displayed.
[0076] Optionally, when the first summary content is displayed, the first published content can be summarized again by triggering the content summary control again, and the first summary content can be updated to the new first summary content. Therefore, when the user is not satisfied with the summary content, he can choose to summarize the content again.
[0077] Optionally, when the content summary is to select part of the published content from the first published content for content summary, the published content used for the new content summary may be the same as or different from the published content used for the previous content summary. For example, when re-summarizing the content, the strategy for selecting part of the published content is changed, or when selecting, repeated selection is not allowed (or the number of repeated selections cannot exceed a preset number).
[0078] For example, the previous content summary used the first 20 out of 100 published content. The new content summary can be the first 20 out of the last 80 out of 100 published content (or the first 20 out of the last 90 articles); or it can be the 20 articles with the highest content quality out of 100 published content.
[0079] Alternatively, the same published content may be used, but the prompt text input into the AIGC model may be different (e.g., used to instruct the intelligent model to re-summarize content related to the search term from the given published content and different from the previous summary content), in which case the previous first summary content may be input into the AIGC model together. This is not limited here.
[0080] S103: In response to the content update operation on the first published content, update the published content in the result area from the first published content to the second published content.
[0081] Optionally, the first published content may be updated on the search result page. The second published content is different from the first published content, for example, the specific published content included may be different, or the order of arrangement of the included published content may be different.
[0082] The content update operation may include at least one of the following: a content refresh operation on the search results page, a re-search operation for a search term on the search results page, a content tag switching operation on the search results page, and a content filtering operation on the search results page.
[0083] The second published content corresponding to the content refresh operation may be the same as the specific published content included in the first published content, but in a different arrangement order (eg, the first published content in the first published content is updated to the second published content in the second published content).
[0084] The content refresh operation may be a sliding down operation on the search results page, a triggering operation of a refresh control on the search results page, a specified gesture operation, and the like.
[0085] The re-search operation is used to indicate to search the search term again. For example, the trigger operation of the search control corresponding to the search entry bar in the search results page is used to search the search term in the search entry bar. The published content in the second published content after the re-search is different from the published content in the first published content.
[0086] The search result page may include a content tag area, which may include content tags related to the search term. For example, tags related to the search keyword in the search term are used to filter published content. For example, if the search term is "what does UPF mean", the content tags may be "sunscreen" or "sun-proof clothing". The content tags are used to filter and display published content related to the current content tags.
[0087] Each content tag has associated published content. For example, the correlation between the content tag and the published content can be determined. If the correlation is greater than a preset value, it is determined that the published content is related to the content tag. Alternatively, if the information in the content tag appears in the published content, it is determined that the published content is related to the content tag.
[0088] The content tag may be intelligently generated for the search term, or may be extracted from the published content obtained through the search. For example, the keyword (such as a noun) mentioned most times in the published content obtained through the search may be used as the content tag.
[0089] The result area may display the published content under the target content tag. The target content tag is the content tag selected in the content tag area. Therefore, the published content in the result area may be updated by switching the selected content tag.
[0090] The content tag switching operation may be used to indicate that the target content tag is switched from a first content tag corresponding to the first published content to a second content tag corresponding to the second published content; the second content tag is different from the first content tag. For example, the second content tag may be triggered to be selected, thereby updating the published content in the result area.
[0091] Among them, the second published content can be the published content filtered out from the first published content. For example, the first content label is all labels, and the corresponding first published content is all published content matched with the search term obtained by search. At this time, the second content label is triggered, and content that meets the second content label can be selected from the first published content.
[0092] Alternatively, the second published content and the first published content may be published content selected from all published content matching the search term. For example, by triggering the first content tag, content matching the first content tag may be selected from all published content matching the search term. By triggering the second content tag, content matching the second content tag may be selected from all published content matching the search term.
[0093] Among them, content filtering conditions can also be configured on the search results page. For example, a content filtering control is displayed on the search results page. By triggering the content filtering control, the content filtering panel can be displayed. Multiple content filtering controls (such as the "most likes" control, the "most comments" control, etc.) are displayed on the content filtering panel. At this time, you can select the content filtering control on the content filtering panel, and the filtering condition corresponding to the selected content filtering control is the configured content filtering condition.
[0094] For example, if you select the "Most Likes" control, the content filtering condition will filter and display the published content in descending order of the number of likes. For another example, if you select the "Most Comments" control, the content filtering condition will filter and display the published content in descending order of the number of comments.
[0095] The result area may display the published content that meets the content screening condition obtained from all published content that matches the search term. Therefore, the published content in the result area may be updated by configuring or changing the content screening condition.
[0096] The content screening operation is used to indicate that the content screening condition is switched from a first screening condition corresponding to the first published content to a second screening condition corresponding to the second published content; the second screening condition is different from the first screening condition.
[0097] The first published content is the published content that meets the first screening condition, and the second published content is the published content that meets the second screening condition.
[0098] S104: In response to a triggering operation on a content summary control in the search result page, displaying second summary content obtained by summarizing the second published content in a summary area.
[0099] The second summary content is different from the first summary content, and the method for determining the second summary content is the same as the method for determining the first summary content.
[0100] In order to view the summary content adapted to the currently published content, the user can trigger the content summary control.
[0101] Optionally, after the content is updated, the summary area may still be displayed on the search results page (the first summary content is displayed at this time). Therefore, the second summary content may be displayed directly based on the summary area. Alternatively, after the content is updated, the summary area may disappear on the search results page, so the second summary content may be displayed after the summary area is redisplayed.
[0102] Optionally, the second summary content can be directly displayed in the summary area or displayed based on a preset display mode. For example, since the second summary content is generated in real time, the preset display mode can be used to represent the animation effects of summary content loading, summary content generation, and summary content display end.
[0103] Optionally, when the summary area needs to be displayed, the preset display mode can also represent the animation effect of the summary area appearing (i.e., the summary area appears from the specified position, and then displays the summary content loading status, summary content generation status, and summary content display end status).
[0104] For example, displaying the second summary content in the summary area may be, when the first title content is displayed in the summary area, playing a content loading animation in the summary area; the first title content is used to indicate that content summary is in progress; when the second summary content is obtained, the summary area switches from playing the content loading animation to displaying the second summary content in sequence; after the second summary content is displayed, the first title content is switched to the second title content; the second title content is used to indicate that the content summary is completed.
[0105] Among them, the content loading animation is used to indicate that the summary content is loading.
[0106] The server may transmit the second summary content once or continuously, and the client may display the summary content when receiving a complete summary content, while continuing to receive the summary content transmitted by the server.
[0107] The second title content may be obtained based on the publishing information of the second published content. For example, one or more of the number of published contents, the number of publishing accounts, and the avatar of the publishing account used in the content summary may be displayed.
[0108] Therefore, when the server is summarizing the content, the summary area enters a summary content loading state. When the server returns the summary content to the client, the client enters a summary content generating state after receiving the summary content (at this time, the client may display a section of summary content while receiving the next section of summary content from the server; or display it after complete reception. At this time, when the client displays a section of summary content, it may erase the text line by line and display a content waiting mark to indicate that the summary content will continue to be displayed later). After the summary content is displayed, it enters a summary content display ending state.
[0109] Optionally, when the content summary is performed by triggering the content summary control, the obtained summary content can be displayed according to the above preset display mode. When the content summary is actively performed by the server, it can be directly displayed.
[0110] For example, Figure 4a-4e As shown, Figure 4a-4e A schematic diagram of a display scenario of a summary content provided in an embodiment of the present application; wherein, Figure 4a In the search result page 40a (eg Figure 2 The illustrated search result page 20b) includes a content summary control 41a. By triggering the content summary control, a summary area 41b is displayed above the result area.
[0111] The summary area 41b enters a summary content loading state, at which time the first title content 42a can be displayed, and a content loading animation 42b (such as an animation of two rows of rectangles flowing alternately) can be played.
[0112] When the second summary content is obtained, the summary area enters the summary content generation state, that is, dynamically displays a summary content 43a in sequence, and displays a content waiting mark 43b (such as a dot at the end of the text at a uniform speed (similar to a cursor)).
[0113] After the second summary content is displayed, the summary content display ends. At this time, the second title content 44a can be displayed.
[0114] Among them, Figure 4b In the summary content loading state, the first title content "Search. Summarizing for you..." can be displayed on the summary area 41b, and the height of the summary area is increased to display the content loading animation on the summary area.
[0115] In the summary content generation state, the summary content is displayed line by line on the summary area 41b, and after a section of summary content is displayed, a content waiting mark is displayed. After the next section of summary content is displayed, the content waiting mark is displayed again at the end.
[0116] In the summary content display end state, the complete second summary content is displayed, and the second title content "Search. Summary of 241 people's real experience" can be displayed. Optionally, after the display is completed, the user can be fed back by vibration or prompt sound.
[0117] exist Figure 4c In the embodiment, the summary content on the summary area 41b of the search result page 40a is obtained by triggering the content summary control. At this time, the second summary content can be directly and completely displayed, and when the height of the summary area exceeds the first preset height, the area folding control 45a (such as a "collapse" control) can be displayed. By triggering the area folding control to fold the content, that is, the height of the summary area can be folded to the first preset height, and part of the content in the second summary content will also be folded.
[0118] Among them, the area folding control is changed to an "expand" control, and triggering the "expand" control can expand the summary area again (that is, fully display the second summary content).
[0119] For example, the summary content displayed by the triggering content summary control is directly displayed in full. For the summary content obtained by the server actively summarizing the content, the summary area can be folded when the height of the summary area reaches a second preset height when it is displayed.
[0120] Among them, for user-initiated triggering (i.e. triggering method one), it means that the user is interested in the summary content. At this time, it can be directly displayed in full, and the user can choose whether to fold it, and the degree of folding can be relatively large at this time (because the user may have finished reading the summary content and wants to pay more attention to the published content).
[0121] As for the server active triggering (i.e. triggering mode 2: user passive triggering), you can choose to fold a part of it appropriately only when the summary content takes up too much space. This allows users to view useful information without affecting the viewing of other information.
[0122] For example, a search term is entered in the search entry field of the search page 40a' (in addition, related search terms for the search term may be displayed, such as "what does UPF mean for sun protection clothing" etc.) and search is clicked to enter the search result page 41a' (such as Figure 2 In the example of the search result page 20a), the first summary content in the summary area of the search result page 41a' is obtained by the server actively triggering the content summary of the first published content. At this time, when the summary area is folded, the area height x1 can be greater than (or equal to or less than) the area height x2 of the summary area in the search result page 40a.
[0123] Among them, Figure 4d In the example, if after the content is updated, the summary area of the search result page 40a still displays the previous first summary content 401a (such as the summary content on the search result page 41a'), when the content summary control is triggered, the fallback disappearance animation of the first summary content can be displayed first, and after the first summary content disappears (optionally, the second title content of the message "Search. Summary of 220 People's Real Experiences" can be further rolled back), and then the second summary content is displayed. At this time, it can be displayed directly, or it can be displayed according to the above-mentioned preset display mode (for example, the first title content is displayed at the beginning and the content loading animation is played, etc.).
[0124] Among them, Figure 4e If the user is not satisfied with the second summary content, the user can trigger the content summary control again to re-summarize the second published content (similar to re-summarizing the first published content as described above).
[0125] For example, in response to a trigger operation on the content summary control, a third summary content obtained by re-summarizing the second published content may be updated and displayed in the summary area.
[0126] When the summary area is blocked, the search result page may be positioned to the area of the summary area to update and display the third summary content.
[0127] For example, when the search result page 40a displays the second summary content 46a, when browsing the published content in the result area through a sliding operation, the summary area is blocked. If the content summary control is clicked, the search result page can be quickly slid until it slides to the area position of the summary area 47a.
[0128] The third summary content is generated in real time, so it can be displayed in the above-mentioned preset display mode (such as starting to display the first title content and playing the content loading animation, etc.) until the third summary content 46b is displayed. The third summary content may be different from the second summary content.
[0129] Optionally, in response to a trigger operation on the content summary control, when the summary area is blocked, the search result page can be positioned to the area position of the summary area to view the summary content in the current summary area. For example, on the search result page, when browsing the published content in the result area, if you double-click the content summary control, you can quickly slide the search result page until you slide to the area position of the summary area.
[0130] Among them, Figure 5a-5f As shown, Figure 5a-5f A schematic diagram of a scenario for updating published content provided in an embodiment of the present application; wherein, Figure 5a In the search result page 50a (such as Figure 4c The summary area 511a on the search result page 40a in the example can directly display the first summary content. At this time, in response to a content refresh operation (such as a swipe operation) on the search result page, the first published content can be updated and displayed as the second published content (the search result page is now the search result page 50b (such as Figure 4c The search result page 41a' shown in the example) wherein the search result page 50b still displays the summary area 511a.
[0131] Or, in Figure 5bIn the embodiment of the present invention, when it is necessary to generate the first summary content in real time, the summary area 512a on the search result page 50a can display the first summary content in the above-mentioned preset display mode (for example, start to display the first title content and play the content loading animation, etc.). At this time, in response to the content refresh operation on the search result page, the search result page 50b is obtained. Among them, the search result page 50b still displays the summary area 512a and continues to maintain the real-time summary state (that is, the generation of the first summary content is not interrupted).
[0132] exist Figure 5c In the example, the search result page 50a includes a search control 52a corresponding to the search entry column (including the search word), and the search control is triggered to search the search word again. At this time, the search result page 50b can display the published content obtained by the repeated search.
[0133] In addition, the search result page 50b may not display the summary area (eg Figure 5a The summary area 511a or Figure 5b The summary area 512a) shown in the example can interrupt the real-time summary process.
[0134] exist Figure 5d In the embodiment, the search result page 50a includes a content tag area 53a, which may include content tags related to the search terms, and may also include a comprehensive tag for displaying all published contents.
[0135] At this time, when the target content tag is a comprehensive tag (i.e., all tags for displaying all published content), the published content displayed on the search result page 50a is the published content under the comprehensive tag. The tag switching can be performed by triggering other content tags. For example, by triggering the "sun-proof clothing" content tag, the published content on the search result page 50a can be updated and displayed as the published content under the "sun-proof clothing" content tag (obtaining the search result page 50b).
[0136] Optionally, the search result page 50b may not display the summary area (eg Figure 5a The summary area 511a or Figure 5b The summary area 512a) shown in the example can interrupt the real-time summary process.
[0137] exist Figure 5e In the search result page 50a, the result type switching area 54a and the summary area (such as Figure 5aThe summary area 511a shown in the example). The result type switching area may include multiple result type controls for displaying different types of search results. For example, for search results such as published content, a first result type control ("all" control) may correspond. The result type switching area may also include a second result type control, such as a "user" control for filtering and displaying search results such as users, a "product" control for filtering and displaying search results such as products, and so on.
[0138] Among them, a content filtering control (such as the first result type control) may be displayed on the search result page, and the content filtering panel 55a may be displayed by triggering the first result type control. The content filtering panel may display a variety of content filtering controls, and content filtering conditions may be configured by selecting a content filtering control.
[0139] For example, the content filtering panel can display the selected content filtering controls corresponding to the current content filtering conditions. For example, the selected content filtering controls include: "comprehensive" control under sorting basis, "unlimited" control under content form, "unlimited" control under release time, and "unlimited control" under search range, which represents the initial filtering condition, that is, to display all the published content obtained by the search (such as the first published content).
[0140] Among them, you can select a content filtering control (i.e. switch the selected content filtering control), such as switching to select the "most likes" control under the sorting basis. This means that a new filtering condition is obtained, such as filtering and displaying the searched published content in the order of the number of likes from large to small.
[0141] At this time, after switching to select the content filtering control, the first published content on the search result page 50a will be updated in real time to display the second published content corresponding to the current filtering condition on the content filtering panel (obtaining the search result page 50b). Optionally, the search result page 50b may not display the summary area.
[0142] Optionally, if in the above summary area is Figure 5b The summary area 512a shown in the example will not be displayed, which interrupts the real-time summary process.
[0143] Among them, Figure 5f In the example, when a content filtering panel is displayed on the search result page 50b, if the content summary control is triggered here, the content filtering panel can be automatically collapsed, and the summary content obtained by real-time content summary of the current published content can be displayed. For example, the first title content and the content loading animation can be displayed until the corresponding summary content is displayed.
[0144] In an embodiment of the present application, the first published content matched with the search term obtained by the search can be displayed on the result area of the search result page corresponding to the search term, and when a summary area is displayed, the first summary content obtained after the content summary of the first published content is displayed; in addition, the search result page may also include a content summary control; at this time, after the content of the first published content is updated, the search result page may display the updated second published content, and by triggering the content summary control, a real-time summary can be performed based on the second published content to obtain the second summary content adapted to the published content on the current search result page. In other words, the summary content can be obtained in real time based on the current search result (i.e., the currently displayed published content), and when the search results on the search result page change, the summary content can change according to the new search results to meet the actual needs of the user, improve the relevance between the summary content in the search scenario and the search results on the search result page, and enhance the generation flexibility and display richness of the summary content.
[0145] Based on the above description, the present application embodiment proposes a content display method, which can be executed by the electronic device mentioned above, and specifically can be Figure 1 See the terminal equipment shown. Figure 6 , Figure 6 A flow chart of a content display method provided in an embodiment of the present application. Figure 6 As shown, the process of the content display method in the embodiment of the present application may include the following:
[0146] S201. In response to a search operation for a search term, a search result page corresponding to the search term is displayed, and a first published content matching the search term is displayed in a result area of the search result page.
[0147] S202: Displaying the first summary content obtained by summarizing the first published content in the summary area of the search result page. The specific implementation of steps S201-S202 can refer to the relevant description of the above embodiment, which will not be repeated here.
[0148] S203: Before displaying the content summary control, determine whether to display the content summary control on the search results page based on the control display switch information; if the content summary control is not displayed on the search results page, display or trigger the display control fixed component via the summary area.
[0149] The search result page includes a content summary control, which may be fixedly displayed on the search result page or may be fixedly displayed through user operation.
[0150] For example, the control display switch information of the current account can be obtained, and the control display switch information is used to indicate the configuration information of the control display switch for the content summary control. If the control display switch is turned on, the content summary control can be regarded as being fixedly displayed at the first preset position on the search result page. Alternatively, the control display switch information indicates that the control display switch is turned off, and the content summary control may not be fixedly displayed.
[0151] The control fixing component is used to configure whether to fix the content summary control on the search result page to obtain the corresponding control display switch information. Therefore, the switch state of the control display switch can be controlled by the control fixing component.
[0152] The control fixed component may be directly displayed in the summary area, or displayed through a trigger operation on the summary area.
[0153] Optionally, when the content summary control is not pinned, the summary area may display a summary icon to indicate that the content summary control is not pinned at this time.
[0154] Optionally, when the summary area does not fixedly display the content summary control, fixed prompt information for the content summary control may be displayed, where the fixed prompt information includes a control fixed component, such as a confirmation control.
[0155] Among them, in response to the triggering operation of the control fixed component in the fixed prompt information, it can be confirmed to turn on the control display switch, and then the content summary control is fixedly displayed on the search result page to obtain the corresponding control display switch information.
[0156] Optionally, when the content summary control is fixedly displayed on the search results page, the summary icon can be hidden so that the user can better focus on the content summary control. Therefore, the user can choose whether to fix the content summary control and trigger the content summary control according to actual needs to use the smart summary function.
[0157] Optionally, when the content summary control is fixed, use guidance information for the content summary control may also be displayed to guide the user to fix the content summary control.
[0158] Optionally, the control fixing component can also be displayed in the form of a fixed switch. In this way, in response to turning on the fixed switch in the summary area, it can be confirmed that the control display switch is turned on. Or, in response to turning off the fixed switch in the summary area, it is confirmed that the control display switch is turned off. At this time, the content summary control is canceled, that is, when the content summary control is hidden, the summary icon can be displayed again in the summary area.
[0159] It can be understood that when the control display switch is turned on through the fixed prompt information, the fixed switch is also turned on.
[0160] In this way, by fixing the prompt information and setting a fixed switch, users can keep the content summary control "permanently" on the search results page (that is, users tend to use the smart summary function when searching) to form a stable cognition. In this way, when the summary content does not appear on the search results page or the user is not satisfied with the original summary content, he can click the content summary control at any time to summarize the content for him. This maintains stability in the framework without interfering with users' active input and search behaviors.
[0161] For example, Figure 7a-7d As shown, Figure 7a-7d A schematic diagram of a scene in which a content summary control is fixed provided in an embodiment of the present application; Figure 7a In the embodiment, before the content summary control is fixed, the summary area 71a of the search result page 70a may display a summary icon 72a, fixed prompt information 73a, and summary content.
[0162] Among them, by confirming the confirmation control (control fixed component) in the fixed prompt information 73a, it is confirmed to turn on the control display switch to obtain the corresponding control display switch information.
[0163] When the summary icon 72a is hidden, the content summary control 74a may be synchronously displayed on the search result page 70a. In addition, usage guidance information 75a for the content summary control may also be displayed.
[0164] In this way, when the user manually fixes the content summary control, the user needs to be reminded that the content summary control is fixed and can be found and used at any time. Therefore, when confirming the fixation, the summary icon can exit from the summary area and appear at the first preset position, and then the use guidance information appears.
[0165] In this way, when the search result page is displayed next time, the control display switch information of the current account can be obtained to determine whether to display the content summary control or the summary icon based on the control display switch information.
[0166] exist Figure 7b In the example, when there are too many summary contents displayed in the summary area 71a, there will be a regional folding control, which is used to fold the displayed summary contents. The folded summary contents belong to the folding area. At this time, the display mode of the fixed prompt information 73a can be displayed in the folding area (such as below the summary contents). At this time, the folding area needs to be unfolded to be displayed (that is, the regional folding control is a "folding" control). After the regional folding control is triggered to fold the folding area, the fixed prompt information is not displayed.
[0167] Alternatively, the fixed prompt information 73a can be displayed outside the folding area (such as below the area folding control). At this time, the fixed prompt information can be displayed regardless of whether the folding area is in an expanded state (display mode two) or a folded state (display mode three).
[0168] exist Figure 7c In the second title content on the summary area of the search result page 70a, a more function trigger control 76a can be displayed. Triggering the more function trigger control 76a can display more function-related controls, such as a control fixed component (fixed switch 77a), a sharing control, a feedback control, etc.
[0169] At this time, the summary icon can be fixed to the content summary control by turning on the fix switch 77a. At this time, the fix switch 77a is in the on state, and the summary icon 72a is hidden, and the content summary control 74a is displayed.
[0170] Optionally, after closing the panel for displaying more function-related controls, usage guidance information for the content summary control may also be displayed.
[0171] Optionally, in Figure 7d In the embodiment, the fixed switch 77a can also be directly displayed on the summary area of the search result page 70a (for example, the original more function trigger control is replaced with the fixed switch 77a corresponding to the summary icon). By turning on the fixed switch 77a, the summary icon is fixed with the content summary control. At this time, the fixed switch 77a is in the turned-on state, the summary icon 72a is hidden, and the content summary control 74a is displayed.
[0172] Optionally, after the content summary control is fixed, usage guidance information 75a for the content summary control may also be displayed.
[0173] S204: In response to the content update operation on the first published content, the published content in the result area is updated from the first published content to the second published content. The specific implementation of step S203 can refer to the relevant description of the above embodiment, which will not be repeated here.
[0174] S205: In response to a triggering operation on a content summary control in the search result page, displaying second summary content obtained by summarizing the second published content in a summary area.
[0175] The second published content may be summarized by triggering a content summary control.
[0176] Optionally, the content summary may be automatically performed based on the second published content after the content is updated, or the content summary may be automatically performed based on the second published content after the user fixes the content summary control.
[0177] In the process of displaying the second published content in the summary area, if the user continues to browse the published content in the result area, it will not affect the display of the second published content. In addition, when only the published content is displayed on the search result page, even if the second published content continues to be displayed, it will not affect the display position of the published content.
[0178] If, while browsing published content, the summary area on the search results page comes back into view (i.e., it is exposed on the client interface, i.e., it is not blocked or is only partially blocked, i.e., it is not within the visible range or is partially not within the visible range), then the display position of the published content will change with the height of the summary area. For example, if the height of the summary area increases, the display position of the published content will move down by a corresponding height (i.e., the result area moves down) until the second summary content is displayed.
[0179] For example, Figure 8a-8c As shown, Figure 8a-8c A schematic diagram of a scene for displaying summary content provided in an embodiment of the present application; wherein, Figure 8a In the search result page 80a (such as Figure 4e On the search result page 40a), when the summary area is displaying the second summary content 81a, the search result page is slid to browse the published content on the result area until the summary area leaves the user's field of view. At this time, the summary area continues to display the second summary content without affecting the display position of the current published content.
[0180] The search result page is slid to bring the summary area back into the field of view, and the second summary content 81a displayed in this process can be viewed in the summary area.
[0181] If the second summary content continues to be displayed, the display position of the published content will change with the height of the summary area until the second summary content is completely displayed.
[0182] Optionally, the search result page includes a result type switching area. The result type switching area includes result type controls corresponding to search results of multiple result types matching the search term; the result types include at least: published content type, and other types other than published content type. For example, in addition to the result type control corresponding to the published content, it may also include the result type control corresponding to the user, the result type control corresponding to the product, and so on.
[0183] In response to a triggering operation on a result type control corresponding to another type, the search results of another type matching the search term are switched to be displayed in the result area, for example, users matching the search term are switched to be displayed.
[0184] Subsequently, in response to a trigger operation on a content summary control, when the display of published content matching the search term is switched on the search results page (such as all published content matching the search term, or switched to the published content displayed before triggering a result type control corresponding to another type), a summary area is displayed so that the summary content obtained by summarizing the current published content in the result area is displayed in the summary area.
[0185] For example, the summary area is used to display the second summary content when the published content in the result area is the second published content. Optionally, the second summary content at this time can be obtained by re-summarizing the content based on the second published content (i.e., the same as triggering the content summary control to re-summarize the content), or the originally displayed summary content.
[0186] For example, in Figure 8b In the figure, the search result page 80a includes a result type switching area, which includes multiple result type controls, such as the "All" control 82a for displaying search results of the published content type (i.e., published content), the "User" control 83a for displaying search results of the user type (i.e., user), and so on.
[0187] Among them, when the "User" control is triggered on the search results page 80a (the "User" control 83a is in a selected state), the user search results corresponding to the "User" control can be displayed on the search results page 80a, such as multiple users related to the search term in sequence (for example, users whose user names are related to the search term, or users who publish content related to the search term).
[0188] Among them, by triggering the content summary control 84a, the search results on the search results page 80a can be switched to the content search results corresponding to the "All" control (the "All" control 82a is switched to the selected state), that is, the published content is switched to be displayed in the result area, such as the second published content.
[0189] At the same time, a summary area 85a may be displayed, on which second summary content obtained by summarizing the real-time content is displayed (for example, the first title content is displayed initially and a content loading animation is played, etc.).
[0190] Among them, the search results page may include an information area for displaying other object information related to the search term. For example, it may be a brand advertising area (for example, it may appear when searching for a brand, for displaying brand information), a user card (for example, it may appear when searching for a user, for displaying user information), an operation activity entrance (for example, it may appear when searching for an operation activity, for displaying activity information), a hot event container (for example, it may appear when searching for a hot event, for displaying event information), a product advertising card (for example, it may appear when searching for a specified keyword, for displaying product information related to the specified search term), etc. No limitation is made here.
[0191] The information area can be a special module above the result area, which can be used as a thumbnail display or jump entry to other pages. For example, you can enter the brand homepage, activity homepage, event homepage, product details page, etc.
[0192] Optionally, when there is other object information related to the search term, the information area is displayed on the search results page, and the server may not actively display the summary area (for example, when a search operation is performed on the search term and the search results page is displayed, if the information area needs to be displayed, the summary area is not displayed); or they do not affect each other.
[0193] In this case, when summarizing the content, it is necessary to display a summary area in the search result page. Specifically, in response to a trigger operation on the content summary control, when the search result page is located at a second preset position related to the result area, the summary area is displayed, so that the summary content obtained by summarizing the current published content in the result area is displayed in the summary area.
[0194] The summary area is located between the information area and the result area.
[0195] Alternatively, when the summary area is displayed, the area position of the summary area can be located by triggering the content summary control.
[0196] For example, in Figure 8c In the search result page 80a, the information area 86a and the result area can be displayed. By triggering the content summary control, the specified position can be located (for example, the page automatically scrolls to the top of the result area), and the summary area 87a can be displayed above the result area, and the summary content of the real-time content summary can be displayed (for example, the first title content is displayed and the content loading animation is played, etc.). In the above process, the search result page can also be slid to view the information area.
[0197] Among them, other object information related to the search term is related product information, and the information area is used to display product advertising cards, such as multiple products (such as sun protection clothing 1, sun protection clothing 2, sun protection clothing 3, etc.). By triggering a product, you can enter the product details page.
[0198] In an embodiment of the present application, the second published content after the content update of the first published content can be displayed in the result area of the search results page, and the content summary control can be triggered so that a real-time summary can be performed based on the second published content to obtain the second summary content adapted to the published content on the current search results page. In other words, the summary content can be obtained in real time based on the current search results (i.e., the currently displayed published content), and when the search results on the search results page change, the summary content can change according to the new search results to meet the actual needs of the user, improve the relevance between the summary content in the search scenario and the search results on the search results page, as well as the generation flexibility and display richness of the summary content.
[0199] Based on the above description, the present application embodiment proposes a content display method, which can be executed by the electronic device mentioned above, and specifically can be Figure 1 See the server shown. Fig. 9 , Fig. 9 A flow chart of a content display method provided in an embodiment of the present application. Fig. 9 As shown, the process of the content display method in the embodiment of the present application may include the following:
[0200] S301: receiving a search request for a search word, searching the search word and obtaining a first published content, summarizing the first published content to obtain a first summarized content matching the search word.
[0201] The client may generate a search request through a search operation for a search term and send the request to the server.
[0202] When the server searches for the search term and obtains search results of various result types, such as including the first published content, the server may summarize the first published content. Alternatively, the server may summarize the content only when it is determined that the search term belongs to a specific type. The method for determining whether the search term belongs to a specific type can refer to the relevant description of the above embodiment.
[0203] Optionally, when it is determined that there is a relevant key event according to the search term, key generation information corresponding to the key event may be obtained and returned to the client, and the client displays the information area to display the key event information.
[0204] For example, the server determines that the search term is used to search for a brand, indicating that a brand search event is triggered, and the brand information can be obtained as key generation information.
[0205] For another example, the server determines that the search term is used to search for a user, indicating that a user search event is triggered, and the server can obtain user information as key generation information.
[0206] For another example, the server determines that the search word is used to search for a specified keyword, indicating that a keyword search event is triggered, and then the product information related to the specified search word can be obtained as key generation information, etc., which is not limited here.
[0207] Optionally, the content summary may not be performed at this time, or the content summary may still be performed.
[0208] S302: In response to the search request, return the first published content and the first summary content, so as to display the first published content in the result area of the search result page corresponding to the search term, and display the first summary content in the summary area of the search result page.
[0209] The first published content and the first summary content may be returned to the client and displayed by the client.
[0210] S303: upon receiving the content update request, obtaining the second published content indicated by the content update request, returning the second published content in response to the content update request, and updating and displaying the second published content in the result area.
[0211] The content update request is generated by a content update operation on the first published content. For example, the client can generate a content refresh request when detecting a content refresh operation, and the server refreshes the first published content according to the content refresh request to obtain the second published content.
[0212] For example, when the client detects a repeated search operation, it may generate a search request for the same search term again, and the server may search the search term again based on the first published content, so that the second published content obtained by the search is different from the first published content.
[0213] For example, when the client detects a tag switching operation, it may generate a tag switching request, and the server acquires the second published content under the second content tag indicated by the tag switching request.
[0214] For example, when the client detects a content screening operation, it may generate a content screening request, and the server may obtain the second published content that meets the second screening condition indicated by the content screening request.
[0215] S304: upon receiving the content summary request, summarize the second published content to obtain second summary content, and in response to the content summary request, return the second summary content to display the second summary content in the summary area.
[0216] The content summary request is generated by the client through a trigger operation on a content summary control in the search result page. At this time, the server can perform content summary on the second published content.
[0217] Alternatively, the server may automatically summarize the second published content and return it synchronously with the second published content. Alternatively, the server may obtain the control display switch information of the current account, determine that the content summary control needs to be displayed on the search result page based on the control display switch information, summarize the second published content, and return it synchronously with the second published content.
[0218] Optionally, when acquiring the second summary content, the server may perform display processing on the second summary content to obtain displayable second summary content and return the displayable second summary content to the client, which is then displayed in sequence by the client.
[0219] For example, the second summary content is processed according to a preset template that matches the second summary content, and the preset template defines a display method of different summary contents.
[0220] For example, if the second summary content is a simple text type, it can be displayed in sections with the first sentence bolded. For example, if the second summary content is a short answer type, the answer can be bolded, and the supplementary text can be displayed in a smaller font. For another example, if the second summary content is an enumeration type in a list text, the title can be bolded, and then the text can be displayed, and expressions can be configured for the title (for example, expressions corresponding to titles in different orders can be preset, or relevant expressions can be automatically matched according to the content of the title, etc.). For another example, if the second summary content is a step type in a list text, the title can be bolded, and then the text can be displayed.
[0221] The text type can be determined according to the specific content and structure of the second summary content and the search term, and then a matching preset template is selected. The text type and preset template are not limited here.
[0222] When the client triggers the content summary card again, a content summary request (transition content summary request) can be regenerated, and the server re-summarizes the content, such as reselecting the published content for content summary, or instructing the AICG model to generate summary content different from the original summary content.
[0223] For example, Fig.10 As shown, Fig.10A schematic diagram of an interactive process for displaying content provided in an embodiment of the present application; wherein, S11, a terminal device (client) generates a search request in response to a search operation for a search term, and sends the request to a server; S12, the server searches the search term to obtain a first published content; S13, when the server determines that the search term belongs to a specific type, summarizes the first published content to obtain an initial first summary content, and processes the initial first summary content according to a preset template matching the first summary content to obtain a displayable first summary content; S14, the server returns the first published content and the processed first summary content; S15, the terminal device displays the first published content in a result area in a search result page corresponding to the search term, and displays the first summary content in a summary area in a search result page; S16, the terminal device generates a content refresh request in response to a content refresh operation for the first published content, and sends the request to the server; S17, the server refreshes the first published content to obtain a second published content; S18, the server returns the second published content to the terminal device. terminal device; S19, the terminal device updates and displays the second published content through the result area; S110, the terminal device generates a content summary request in response to the trigger operation of the content summary control on the search result page, and sends it to the server; S111, the server summarizes the second published content to obtain the initial second summary content, and processes the initial second summary content according to the preset template matching the second summary content to obtain the displayable second summary content; S112, the server returns the processed second summary content; S113, the terminal device displays the second summary content through the summary area; S114, the terminal device generates a content summary request in response to the trigger operation of the content summary control on the search result page, and sends it to the server; S115, the server instructs the intelligent model to re-summarize the second published content, and generate a third summary content different from the original second summary content, and processes it according to the preset model; S116, the server returns the processed third summary content to the terminal device; S117, the terminal device displays the third summary content through the summary area.
[0224] In an embodiment of the present application, the second published content after the content update of the first published content can be displayed in the result area of the search results page, and the content summary control can be triggered so that a real-time summary can be performed based on the second published content to obtain the second summary content adapted to the published content on the current search results page. In other words, the summary content can be obtained in real time based on the current search results (i.e., the currently displayed published content), and when the search results on the search results page change, the summary content can change according to the new search results to meet the actual needs of the user, improve the relevance between the summary content in the search scenario and the search results on the search results page, as well as the generation flexibility and display richness of the summary content.
[0225] See also Fig.11 , Fig.11 This is a schematic diagram of the structure of a content display device provided in an embodiment of the present application. It should be noted that: Fig.11 The content display device shown is used to execute the present application Figure 3 , Figure 6 , Fig. 9 For the convenience of explanation, only the part related to the embodiment of the present application is shown, and the specific technical details are not disclosed. Figure 3 , Figure 6 , Fig. 9 The content display device 900 may include: a content display module 901 and a content update module 902.
[0226] The content display module 901 is used to display a search result page corresponding to the search word in response to a search operation for the search word, and to display the first published content matching the search word in a result area of the search result page;
[0227] The content display module 901 is further used to display the first summary content obtained by summarizing the first published content in the summary area of the search result page;
[0228] A content update module 902, configured to update the published content in the result area from the first published content to the second published content in response to a content update operation on the first published content;
[0229] The content display module 901 is further configured to respond to a trigger operation on a content summary control in the search result page and display second summary content obtained by summarizing the second published content in the summary area; the second summary content is different from the first summary content.
[0230] The content display module 901 is also used for:
[0231] Before displaying the content summary control, determining whether to display the content summary control on the search result page based on the control display switch information;
[0232] When the content summary control is not displayed on the search results page, the summary area displays or triggers the display control fixed component, which is used to configure whether to display the content summary control fixedly on the search results page to obtain the corresponding control display switch information.
[0233] The content display module 901 is also used for:
[0234] When the summary area is blocked, in response to a trigger operation on the content summary control, the search result page is located at the area position of the summary area, and in the summary area, a third summary content obtained by re-summarizing the second published content is updated and displayed.
[0235] The content update operation includes at least one of the following: a content refresh operation on the search results page, a re-search operation for a search term on the search results page, a content tag switching operation on the search results page, and a content filtering operation on the search results page.
[0236] The search result page includes a result type switching area; the result type switching area includes result type controls corresponding to search results of multiple result types matching the search term; the result types include at least: published content type, and other types except the published content type;
[0237] The method also includes:
[0238] In response to a triggering operation on a result type control corresponding to another type, switching to display another type of search results matching the search term in the result area;
[0239] In response to a trigger operation on the content summary control, when the published content matching the search term is switched to be displayed in the result area, a summary area is displayed so as to display the summary content obtained by summarizing the current published content in the result area.
[0240] Wherein, the search result page includes an information area for displaying other object information related to the search term;
[0241] If there is other object information related to the search term, the information area is displayed on the search result page, and the summary area is not displayed;
[0242] In response to a trigger operation on the content summary control, a second preset position related to the result area is located on the search result page, and the summary area is displayed so as to display the summary content obtained by summarizing the current published content in the result area through the summary area. The summary area is located between the information area and the result area.
[0243] The specific implementation of the content display module and the content update module can be found in the description of the above embodiments, and will not be described in detail here. It should be understood that the description of the beneficial effects obtained by adopting the same method will not be described in detail either.
[0244] See also Fig.12 , Fig.12 This is a schematic diagram of the structure of a content display device provided in an embodiment of the present application. It should be noted that: Fig.12 The content display device shown is used to execute the present application Figure 3 , Figure 6 , Fig. 9 For the convenience of explanation, only the part related to the embodiment of the present application is shown, and the specific technical details are not disclosed. Figure 3 , Figure 6 , Fig. 9 The content display device 1000 may include: a request receiving module 1001 and a content obtaining module 1002. Among them:
[0245] The request receiving module 1001 is used to receive a search request for a search word, and when searching the search word and obtaining a first published content matching the search word, summarize the first published content to obtain a first summarized content; the search request is generated by a search operation for the search word;
[0246] The content acquisition module 1002 is used to return the first published content and the first summary content in response to the search request, so as to display the first published content in the result area of the search result page corresponding to the search term, and to display the first summary content in the summary area of the search result page;
[0247] The content acquisition module 1002 is further configured to, upon receiving a content update request, acquire the second published content indicated by the content update request, and in response to the content update request, return the second published content so as to update and display the second published content in the result area; the content update request is generated by a content update operation on the first published content;
[0248] The content acquisition module 1002 is further used to summarize the second published content to obtain second summary content when receiving a content summary request, and return the second summary content in response to the content summary request to display the second summary content through the summary area; the content summary request is generated by a trigger operation on the content summary control in the search result page.
[0249] The specific implementation of the request receiving module and the content obtaining module can be found in the description of the above embodiment, which will not be described in detail here. It should be understood that the description of the beneficial effects obtained by adopting the same method will not be described in detail either.
[0250] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0251] See also Fig.13 , Fig.13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.13 As shown, the electronic device 1100 includes: at least one processor 1101 and a memory 1102. Optionally, the electronic device may further include a network interface. Among them, the processor 1101, the memory 1102 and the network interface can exchange data, the network interface is controlled by the processor 1101 for sending and receiving messages, the memory 1102 is used to store computer programs, the computer programs include program instructions, and the processor 1101 is used to execute the program instructions stored in the memory 1102. Among them, the processor 1101 is configured to call the program instructions to execute the above method. The memory 1102 may include a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM); the memory 1102 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (solid-state drive, SSD), etc.; the memory 1102 may also include a combination of the above-mentioned types of memory.
[0252] The processor 1101 may be a central processing unit (CPU). In one embodiment, the processor 1101 may also be a graphics processing unit (GPU). The processor 1101 may also be a combination of a CPU and a GPU. The processor 1101 may be used to call the device control application stored in the memory 1102 to execute the above Figure 3 , Figure 6 , Fig. 9 The description of the content display method in the corresponding embodiment can also be performed as described above. Fig.11 and Fig.12 The description of the content display device in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here.
[0253] In a specific implementation, the device, processor, memory, etc. described in the embodiments of the present application can execute the implementation described in the above method embodiments, and can also execute the implementation described in the embodiments of the present application, which will not be repeated here.
[0254] A computer (readable) storage medium is also provided in the embodiment of the present application, and the computer storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by the processor, the processor can execute some or all of the steps performed in the above method embodiment. Optionally, the computer storage medium can be volatile or non-volatile. The computer readable storage medium can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to the use of the blockchain node, etc.
[0255] An embodiment of the present application provides a computer program product, which may include a computer program. When the computer program is executed by a processor, it can implement some or all of the steps in the above method, which are not described in detail here.
[0256] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0257] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a computer storage medium, which can be a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0258] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of implementing the above embodiments and equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A content display method, characterized in that: The method comprises: In response to a search operation for a search word, displaying a search result page corresponding to the search word, and displaying first published content matching the search word in a result area within the search result page; Displaying, in a summary area in the search result page, first summary content obtained by summarizing the first published content; In response to a content update operation on the first published content, updating the published content in the result area from the first published content to the second published content; In response to a triggering operation on a content summary control in the search result page, second summary content obtained by summarizing the second published content is displayed in the summary area; the second summary content is different from the first summary content.
2. The method according to claim 1, characterized in that The method further comprises: Before displaying the content summary control, determining whether to display the content summary control on the search result page based on the control display switch information; In the case where the search result page does not display the content summary control, a control fixing component is displayed or triggered via the summary area, and the control fixing component is used to configure whether to fix the content summary control on the search result page to obtain corresponding control display switch information.
3. The method according to claim 1, characterized in that The method further comprises: When the summary area is blocked, in response to a trigger operation on the content summary control, the search result page is positioned at the area position of the summary area, and in the summary area, a third summary content obtained by re-summarizing the second published content is updated and displayed.
4. The method according to claim 1, characterized in that: The content update operation includes at least one of the following: a content refresh operation on the search result page, a re-search operation for the search term on the search result page, a content tag switching operation on the search result page, and a content screening operation on the search result page.
5. The method according to claim 1, characterized in that The search result page includes a result type switching area; the result type switching area includes result type controls corresponding to search results of multiple result types matching the search term; The result types include at least: published content type and other types except published content type; The method further comprises: In response to a triggering operation on a result type control corresponding to the other type, switching and displaying the search results of the other type matching the search term in the result area; In response to a trigger operation on the content summary control, when the published content matching the search term is switched to be displayed in the result area, the summary area is displayed so that summary content obtained by summarizing the current published content in the result area is displayed via the summary area.
6. The method according to claim 1, characterized in that The search result page includes an information area for displaying other object information related to the search term; If there is other object information related to the search term, display the information area on the search result page and do not display the summary area; In response to a triggering operation on the content summary control, the search result page is positioned at a second preset position related to the result area, and the summary area is displayed so as to display summary content obtained by summarizing the current published content in the result area through the summary area; the summary area is located between the information area and the result area.
7. A content display method, characterized in that: The method comprises: receiving a search request for a search word, and when searching for the search word and obtaining a first published content matching the search word, summarizing the first published content to obtain a first summarized content; the search request is generated by a search operation for the search word; In response to the search request, returning the first published content and the first summary content, so as to display the first published content in a result area of a search result page corresponding to the search term, and display the first summary content in a summary area of the search result page; Upon receiving a content update request, obtaining a second published content indicated by the content update request, and in response to the content update request, returning the second published content so as to update and display the second published content in the result area; the content update request is generated by a content update operation on the first published content; When a content summary request is received, the second published content is summarized to obtain second summary content, and in response to the content summary request, the second summary content is returned to display the second summary content in the summary area; the content summary request is generated by a trigger operation on a content summary control in the search result page.
8. A content display device, characterized in that: The device comprises: A content display module, configured to, in response to a search operation for a search word, display a search result page corresponding to the search word, and display a first published content matching the search word in a result area within the search result page; The content display module is further configured to display, in a summary area within the search result page, first summary content obtained by summarizing the first published content; a content updating module, configured to update the published content in the result area from the first published content to the second published content in response to a content updating operation on the first published content; The content display module is further configured to, in response to a triggering operation on a content summary control in the search result page, display in the summary area a second summary content obtained by summarizing the second published content; the second summary content is different from the first summary content.
9. A content display device, characterized in that: The device comprises: a request receiving module, configured to receive a search request for a search word, and when searching for the search word and obtaining a first published content matching the search word, summarize the first published content to obtain a first summarized content; the search request is generated by a search operation for the search word; a content acquisition module, configured to return the first published content and the first summary content in response to the search request, so as to display the first published content in a result area in a search result page corresponding to the search term, and to display the first summary content in a summary area in the search result page; The content acquisition module is further configured to, upon receiving a content update request, acquire a second published content indicated by the content update request, and in response to the content update request, return the second published content so as to update and display the second published content in the result area; the content update request is generated by a content update operation on the first published content; The content acquisition module is further configured to summarize the second published content to obtain second summary content upon receiving a content summary request, and return the second summary content in response to the content summary request so as to display the second summary content in the summary area; the content summary request is generated by a trigger operation on a content summary control in the search result page.
10. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.
12. A computer program product, characterized in that The method comprises a computer program, wherein the computer program comprises program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.