Content display method, computing device, storage medium and computer program product
By displaying relevant content and tips for the target published content on the search results page, the problem of inaccurate cover images and titles is solved, improving the user's search experience.
Patent Information
- Application Number
- CN202511070233.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-31
- Publication Date
- 2025-10-17
AI Technical Summary
In existing technologies, the cover and title of content publishing platforms cannot accurately reflect the actual content of the published content, causing users to be unable to obtain the expected answers from the cover and affecting the user's search experience.
Display relevant content and/or relevance tips for the target published content on the search results page, replacing irrelevant cover and title content with relevant content to indicate that the content contains the target content.
It improves the user's search experience, prevents users from missing published content containing their target information, and ensures that users can accurately identify relevant content.
Smart Images

Figure CN120804452A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present specification relate to the technical field of Internet, and particularly relate to a content display method, a computing device, a storage medium and a computer program product. BACKGROUND
[0002] Currently, a user can publish content in a content publishing platform, and can also search for related published content by inputting a query in the content publishing platform. Generally, a search result page of the content publishing platform will show a cover of published content related to the user's search content to the user. The cover can display a title and a cover image of the published content. The user can determine whether to enter the detail page of the published content for viewing according to the information displayed on the cover. However, the title and the cover image of part of the published content cannot accurately reflect the actual content of the published content, so that the user cannot obtain the expected answer related to the query from the cover of the published content, and the user may miss some published content containing the expected answer, which affects the user's search experience. Therefore, there is an urgent need for an effective technical solution to solve the above problems. SUMMARY
[0003] In view of this, the embodiments of the present specification provide a content display method. One or more embodiments of the present specification also relate to a content display device, a computing device, a computer readable storage medium and a computer program product to solve the technical defects in the prior art.
[0004] According to a first aspect of the embodiments of the present specification, a content display method is provided, comprising: displaying a search result page in response to a search operation on search content, wherein the search result page is used to display predetermined content of target published content associated with the search content, and the target published content includes first published content; displaying relevance content and / or relevance prompt of the first published content via the search result page, wherein the relevance content is used to replace the predetermined content of the first published content, the relevance content is obtained based on target content associated with the search content in the first published content, and the relevance prompt is used to indicate that the first published content includes the target content.
[0005] According to a second aspect of the embodiments of the present specification, a content display device is provided, comprising: a first display module configured to display a search result page in response to a search operation on search content, wherein the search result page is used to display predetermined content of target published content associated with the search content, and the target published content includes first published content; displaying, via the search result page, relevance content of the first publishing content and / or a relevance prompt, wherein the relevance content is used to replace the predetermined content of the first publishing content, the relevance content is obtained based on target content in the first publishing content that is associated with the search content, and the relevance prompt is used to indicate that the first publishing content includes the target content.
[0006] According to a third aspect of an embodiment of the present specification, a computing device is provided, comprising: a memory and a processor; the memory is configured to store computer programs / instructions, and the processor is configured to execute the computer programs / instructions, which, when executed by the processor, implement the steps of the content display method described above.
[0007] According to a fourth aspect of an embodiment of the present specification, a computer readable storage medium is provided, which stores computer programs / instructions, which, when executed by a processor, implement the steps of the content display method described above.
[0008] According to a fifth aspect of an embodiment of the present specification, a computer program product is provided, comprising computer programs / instructions, which, when executed by a processor, implement the steps of the content display method described above.
[0009] One embodiment of the present specification provides a content display method, comprising: in response to a search operation on search content, displaying a search result page, wherein the search result page is used to display predetermined content of target publishing content associated with the search content, and the target publishing content includes first publishing content; and displaying, via the search result page, relevance content of the first publishing content and / or a relevance prompt, wherein the relevance content is used to replace the predetermined content of the first publishing content, the relevance content is obtained based on target content in the first publishing content that is associated with the search content, and the relevance prompt is used to indicate that the first publishing content includes the target content.
[0010] In the method, the search result page is displayed in response to the search operation on the search content, the predetermined content of the target publishing content associated with the search content is displayed in the search result page, and the relevance content and / or the relevance prompt of the first publishing content included in the target publishing content are displayed in the search result page. Based on the relevance content, the target content associated with the search content can be displayed in the search result page, and based on the relevance prompt, only the target content included in the first publishing content can be displayed, so that the user can determine whether the target content associated with the search content is included in the target publishing content from the relevance content and / or the relevance prompt displayed in the search result page, avoid missing the publishing content including the target content, and improve the search experience of the user. BRIEF DESCRIPTION OF DRAWINGS
[0011] Figure 1 is a flowchart of a content display method provided by an embodiment of the present specification; Figure 2 is a schematic diagram of a first display mode in a content display method provided by an embodiment of the present specification; Figure 3 is a schematic diagram of a second display mode in a content display method provided by an embodiment of the present specification; Figure 4 is a schematic diagram of a target visual line region in a content display method provided by an embodiment of the present specification; Figure 5 is a schematic diagram of a high-light rectangular frame of target content in a content display method provided by an embodiment of the present specification; Figure 6 is a schematic diagram of a visual line gravity region and a non-visual line gravity region in a content display method provided by an embodiment of the present specification; Figure 7 is a schematic diagram of content positioning in a content display method provided by an embodiment of the present specification; Figure 8 is a schematic diagram of a third display mode in a content display method provided by an embodiment of the present specification; Figure 9 is a flow timing diagram of a content display method provided by an embodiment of the present specification; Figure 10 is a structural schematic diagram of a content display device provided by an embodiment of the present specification; Figure 11 is a structural block diagram of a computing device provided by an embodiment of the present specification. DETAILED DESCRIPTION
[0012] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present description. However, the present description can be practiced without the specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the present description.
[0013] The terminology used in this description is for the purpose of describing particular embodiments only and is not intended to be limiting of one or more embodiments of the present description. As used in this description and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0014] It will be understood that, although the terms first, second, etc. can be used herein to describe various information, these terms are not intended to denote a temporal or chronological order. Rather, these terms are used solely to distinguish one from another only. For example, without departing from the scope of one or more embodiments, first can be termed second, and similarly, second can be termed first. The term "if can be construed to mean "when" or "upon" or "in response to determining" depending on the context, as used herein.
[0015] In addition, it should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in one or more embodiments of the present description are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.
[0016] In one or more embodiments of the present description, a large model refers to a deep learning model with a large number of model parameters, usually containing hundreds of millions, tens of billions, hundreds of billions, tens of billions or even more than one hundred billion model parameters. The large model can also be called a foundation model. Through large-scale unlabeled corpus pre-training of the large model, a pre-trained model with more than one hundred million parameters is output. Such a model can adapt to a wide range of downstream tasks, and the model has good generalization ability, such as large-scale language model (LLM) and multi-modal pre-training model.
[0017] In practical applications, a large model can be applied to different tasks by fine-tuning a pre-trained model with a small number of samples. Large models can be widely used in natural language processing (NLP) and computer vision, and can be applied to computer vision tasks such as visual question answering (VQA), image captioning (IC), image generation, and natural language processing tasks such as text-based sentiment classification, text summarization, and machine translation. The main application scenarios of large models include digital assistants, intelligent robots, search, online education, office software, e-commerce, intelligent design, etc.
[0018] First, the technical terms related to one or more embodiments of the present specification are explained.
[0019] Content application platform: an application platform integrating multiple types of content. The content application platform provides users with a wide variety of multimedia content, including but not limited to live streaming, on-demand video, audio, text and image information, social interaction, shopping, etc.
[0020] Published content: content services provided by the content application platform. Published content refers to any content published by a recommended account on the content platform in advance. For example, the published content can be a product recommendation note published by a recommended account on the content application platform, which can include product images, product videos, product descriptions, product advantages and disadvantages, etc. The product recommendation note can be a combination of text and images, text information, video, etc.
[0021] Response: "in response to" usually means a reaction or response to a certain situation, question, request or event. In the technical field, it refers to the reaction of a system to input information or events. It can be understood as the perception and recognition of the system or software to user input or operation, and the corresponding actions or behaviors generated thereby.
[0022] Trigger operation: refers to the clicking, sliding or other interactive operation of related content, controls and components in the display interface of the content application platform, published content and live streaming page, which can trigger corresponding events and display the page or information corresponding to the trigger operation. For example, clicking the recommendation information block in the product detail page can display a list of recommended accounts.
[0023] Control: an object in a form, report or data access page used to display data, perform operations or serve as decoration. It is a component of software, such as tables, reports and network communication often involved in software, which can be directly used.
[0024] In the specification, a content display method is provided, and the specification also relates to a content display device, a computing device, a computer readable storage medium and a computer program product, which are described in the following embodiments one by one.
[0025] Referring to Figure 1 , Figure 1 A flowchart of a content display method according to one embodiment of the specification is shown, which specifically includes the following steps.
[0026] Step 102: In response to a search operation on search content, a search result page is displayed, wherein the search result page is used to display predetermined content of target published content associated with the search content, and the target published content includes first published content.
[0027] Specifically, the content display method provided by the embodiments of the specification can be applied to a client, and specifically can be applied to a content publishing platform deployed by the client. A user can log in to the content publishing platform through the client, and the published content published on the content publishing platform can include picture content, text content and video content, etc. In actual application, the published content can be a note.
[0028] The search content can be understood as content input by a user and intended to be searched. The search content can be, for example, a keyword or a question, such as “tourist price in a certain region” or “score line of a certain major in a certain school”. The search operation on the search content can be understood as an input operation of inputting the search content in a search page of the content publishing platform and a search operation. The search result page can be understood as a page for displaying target publishing content. In actual applications, the search result page can also be a search page. The target publishing content can be understood as publishing content searched based on the search content and related to the search content. The target publishing content can be publishing content published by a user of the content publishing platform. The predetermined content of the target publishing content can include a title and a cover image of the target publishing content. In actual applications, the search result page can display titles and cover images of a plurality of target publishing content related to the search content. The user can click the target publishing content in the search result page to enter a content detail page for browsing. The first publishing content can be understood as publishing content in the target publishing content, which is not related or not strongly related to the search content in the title and / or the cover image. For example, for the search content “tourist price in a certain region”, eight target publishing content related to the search content is displayed in the search result page. The cover image and the title of a certain target publishing content do not involve “tourist price in a certain region”. However, the content detail page of the target publishing content has a detailed description of the tourist price in a certain region. Therefore, the target publishing content is the first publishing content. It can be understood that the target publishing content can include one or more first publishing content.
[0029] In actual applications, a user can log in to the content publishing platform through a client, input the search content in a search page of the content publishing platform, and click a search control in the search page. The client displays the title and the cover image of the target publishing content related to the search content in a search result page in response to the input operation of the search content and the click operation of the search control.
[0030] In actual implementations, the client can send the search content to the server in response to the search operation on the search content. The server can search the target publishing content related to the search content in a database corresponding to the content publishing platform, and send the target publishing content to the client. The client displays the predetermined content of the target publishing content in the search result page after receiving the target publishing content. The database corresponding to the content publishing platform can store publishing content published by a user of the content publishing platform.
[0031] In actual application, the search result page can display a plurality of target publishing contents associated with the search content, and the plurality of target publishing contents can be displayed in a double-column manner in the search result page. The target publishing content can be any one publishing content having a relevance greater than a preset degree threshold with the search content.
[0032] The preset degree threshold can be understood as a preset threshold of the relevance, and the relevance can be understood as the relevance between the publishing content and the search content. The relevance greater than the preset degree threshold can be understood as the relevance between the publishing content and the search content being high.
[0033] Specifically, in the content publishing platform, there can be a plurality of publishing contents associated with the search content. When the server searches according to the search content, the server can obtain a plurality of publishing contents associated with the search content, determine a publishing content having a relevance greater than a preset degree threshold with the search content as a target publishing content from the plurality of publishing contents, and send the target publishing content to the client. The client can display the cover image and the title of the plurality of target publishing contents in a double-column manner, so as to facilitate subsequent display of target content associated with the search content in the target publishing content.
[0034] In actual application, the relevance between the publishing content and the search content can be calculated according to a semantic analysis result of the publishing content and a semantic analysis result of the search content, or can be determined according to a keyword matching result between the text content contained in the publishing content and the search content. The embodiments of the present specification do not limit this. In addition, the server can also send a plurality of publishing contents to the client, and the client can calculate the relevance between the plurality of publishing contents and the search content, and determine a publishing content having a relevance greater than a preset degree threshold with the search content as a target publishing content from the plurality of publishing contents.
[0035] Specifically, the server can be deployed with a text processing model, and the text processing model can be used to perform semantic analysis on the search content to obtain a semantic analysis result, and determine a plurality of publishing contents associated with the search content according to the semantic analysis result. The text processing model can be a large language model, a neural network model, etc., and the embodiments of the present specification do not limit this.
[0036] In addition, any one of the plurality of publishing contents can be determined as a target publishing content.
[0037] In actual application, for multiple publishing contents searched by the server, the first K publishing contents can be determined according to the preset number K, and it is determined whether the relevance degree of the first K publishing contents and the search content is greater than the preset degree threshold. One or more publishing contents with the relevance degree greater than the preset degree threshold in the first K publishing contents are taken as target publishing contents for subsequent content display processing. The preset number K is a positive integer, which can be determined according to the number of target publishing contents displayed on the search result page of the content publishing platform. For example, 8 target publishing contents can be displayed on the search result page of the content publishing platform, and K is 8. Further, in the multiple publishing contents, there are two continuous publishing contents with the relevance degree greater than the preset degree threshold. One of the two continuous publishing contents can be taken as a target publishing content, for example, any one of the two continuous publishing contents can be taken as a target publishing content, or the publishing content with higher relevance degree in the two continuous publishing contents can be determined as a target publishing content, or the publishing content with the display order in the front in the two continuous publishing contents can be determined as a target publishing content for subsequent content display processing. The two publishing contents are continuous, which means that the display order of the two publishing contents in the content publishing platform is continuous.
[0038] In summary, by determining the publishing content with the relevance degree greater than the preset degree threshold in the multiple publishing contents as a target publishing content, the filtering of the publishing content corresponding to the search content is realized, so that subsequent content display processing is only performed on the target publishing content, which can reduce the resource occupation of content display processing, and can also facilitate the user to clearly and explicitly display the target content related to the search content.
[0039] Step 104: display the relevance content and / or relevance prompt of the first publishing content via the search result page, wherein the relevance content is used to replace the predetermined content of the first publishing content, the relevance content is obtained based on the target content in the first publishing content associated with the search content, and the relevance prompt is used to indicate that the first publishing content includes the target content.
[0040] The target content can be understood as the publishing content related or strongly related to the search content in the first publishing content, which can be the answer searched according to the search content, such as the answer that can directly answer the search content.
[0041] Specifically, since the first publishing content can be understood as publishing content in which the title and the cover image are both irrelevant or weakly relevant to the search content, the relevance content and / or the relevance prompt of the first publishing content can be displayed on the search result page to prompt the user that there is target content associated with the search content in the first publishing content, so as to avoid the user missing the browsing of the target content due to not seeing the direct answer when browsing the title and the cover image on the search result page, and prompting the user to enter the content detail page of the first publishing content for browsing.
[0042] It can be understood that the process of displaying the predetermined content of the target publishing content associated with the search content and the relevance content and / or the relevance prompt of the first publishing content in the search result page is performed simultaneously, that is, after the user searches on the search page of the content publishing platform, the search result page displayed already displays the predetermined content of the target publishing content associated with the search content and the relevance content and / or the relevance prompt of the first publishing content.
[0043] In specific implementation, the displaying of the relevance content of the first publishing content via the search result page includes: displaying, via the search result page, an image containing the target content in the first publishing content as a cover image in the predetermined content; or displaying, via the search result page, an image generated based on the target content as a cover image in the predetermined content; or displaying, via the search result page, text content generated based on the target content and / or the search content as a title in the predetermined content.
[0044] In the actual application, the image content, the title content, and the text content are included in both the target publishing content and the first publishing content. The image content can include a cover image and a non-cover image. The cover image can be displayed on the search result page, and the non-cover image can be displayed on the content detail page of the target publishing content or the first publishing content. There can be multiple non-cover images. In the actual application, the user can browse the title and the cover image of the target publishing content or the first publishing content on the search result page. After the user clicks the target publishing content or the first publishing content to enter the content detail page, the user can perform a sliding trigger operation on the non-cover image on the content detail page to display multiple non-cover images.
[0045] In an embodiment of the present specification, the relevant content can be an image containing the target content. In this case, the image containing the target content related to the search content can be determined from the non-cover image included in the first published content, and the image can be displayed as the cover image in the predetermined content of the first published content, that is, the cover image of the first published content can be replaced with the image containing the target content related to the search content in the non-cover image. Further, in the case where the position of the target content related to the search content is determined in the non-cover image of the first published content, the non-cover image containing the target content can be replaced with the cover image of the first published content, thereby enabling the target content to be displayed in the cover image of the first published content.
[0046] In another embodiment of the present specification, the relevant content can be an image generated based on the target content. In this case, the image can be generated based on the target content related to the search content in the first published content, and the cover image of the first published content can be replaced with the image. Specifically, the target content related to the search content can be text content. In this case, when the image is generated based on the text content, the image containing the text content can be directly generated.
[0047] In another embodiment of the present specification, the relevant content can be text content generated based on the target content and / or the search content. In this case, the target content and / or the search content can be summarized, the text content can be generated, and the text content can be displayed as the title of the first published content. In practical applications, the target content and / or the search content can be summarized based on a text processing model. The language processing model can be, for example, a large language model, a pre-trained machine learning model, a deep learning model, or a neural network model, and the present specification is not limited thereto. Alternatively, the target content and / or the search content can be keyword extracted, and the extracted keywords can be replaced as the generated text content to replace the title of the first published content, thereby enabling the title to be concise.
[0048] In summary, by displaying the image containing the target content or the image generated based on the target content or the title of the text content generated based on the target content and / or the search content in the search result page, it can be prompted to the user that the target content related to the search content exists in the first published content, and the user can be prevented from missing the target content, thereby ensuring the search experience of the user.
[0049] Further, the relevance prompt includes prompt text generated based on the target content and / or the search content. In an embodiment of the present specification, the target content and / or the search content can be summarized, or the target content and / or the search content can be keyword extracted to obtain the prompt text. The specific method is similar to the process of generating the text content described above, and the present specification will not be repeated.
[0050] In actual applications, the prompt text can be displayed in the form of a prompt control in the search result page, in a relevant position of the first published content. In a case where the position of the target content is determined to be in the textual content or the video content of the first published content, the prompt control can be displayed at a relevant position of the title of the target published content, for prompting the user that the target content is in the first published content, and the user can click into the content detail page of the first published content to obtain the target content related to the search content. In actual applications, in a case where the target content is determined to be in the textual content (i.e., the note textual content) of the first published content, and the relevance between the title and the cover image of the first published content and the search content is less than a preset relevance threshold (i.e., not strongly relevant), and the target content related to the search content is not displayed on the cover of the first published content, the prompt control can be displayed at a relevant position of the title of the first published content.
[0051] Further, the prompt control can be displayed at a relevant position of the title of the first published content, for example, the prompt control can be displayed above, below or after the title, and the display area of the prompt control can be within a preset range from the title, to ensure the relevance between the prompt control and the first published content. The embodiments of the present specification do not limit the specific position of the prompt control in the first published content, and optionally, the prompt control can also be displayed on the cover image of the first published content.
[0052] In actual applications, the prompt control can be a prompt label. Specifically, referring to Figure 2 , Figure 2 FIG. 1 shows a schematic diagram of a first display mode in a content display method according to an embodiment of the present specification, as shown in Figure 2 the prompt control can be displayed above the title in the target published content.
[0053] In specific implementations, the step of generating the prompt text comprises: filling a prompt text template according to the search content and / or the target content to obtain the prompt text.
[0054] The prompt text template can be understood as a template for generating the prompt text, and the prompt text template can include template text and to-be-filled text. For example, the prompt text template can be “mentioned XXX”, where “mentioned” is a fixed template and XXX is the text to be filled.
[0055] Specifically, the to-be-filled text in the prompt text template can be filled according to the search content and / or the target content to obtain the prompt text.
[0056] In summary, by setting the prompt text template, the automatic generation of the prompt text is realized, the standardization and normalization of the generated prompt text are ensured, and the resource occupation for generating the prompt text is reduced, further ensuring the performance stability of the content publishing platform.
[0057] Further, the filling of the prompt text template according to the search content and / or the target content to obtain the prompt text comprises: determining an initial prompt text according to the search content and / or the target content; rewriting the initial prompt text to obtain a target prompt text; filling the prompt text template according to the target prompt text to obtain the prompt text.
[0058] Specifically, the initial prompt text can be determined according to the search content and / or the target content, the initial prompt text is rewritten according to the rewriting strategy to obtain the target prompt text, and the prompt text template is filled according to the target prompt text to obtain the prompt text. Alternatively, after determining the initial prompt text, the prompt text template can also be filled according to the initial prompt text to obtain the prompt text.
[0059] Further, the initial prompt text can be determined according to the search content and / or the target content, and in the case that the number of characters of the initial prompt text is greater than a preset character number threshold, the initial prompt text is rewritten according to the rewriting strategy to obtain a target prompt text, and the prompt text template is filled according to the target prompt text to obtain the prompt text. It can be understood that the number of characters of the target prompt text is less than that of the initial prompt text. The target prompt text is filled into the to-be-filled text in the prompt text template to obtain the prompt text. For example, the initial prompt text can be "which hospital in a certain city is good for dermatology", and the rewritten target prompt text can be "a certain city dermatology hospital", and the final generated prompt text is "suggest a certain city dermatology hospital". The preset character number threshold can be understood as the character number threshold of the to-be-filled text in the prompt text template, for example, the preset character number threshold is 9, which means that the to-be-filled text cannot exceed 9 characters. The preset character number threshold can be determined according to the screen width of the client, so that the prompt text can be completely displayed in the search result page.
[0060] Therefore, in the case that the number of characters of the rewritten target prompt text is still greater than the preset character number threshold, the template text in the prompt text template can also be deleted to ensure the complete display of the prompt text.
[0061] In summary, by controlling the number of characters of the prompt text, the high correlation between the prompt text and the search content is ensured, and the prompt text can be completely displayed at the relevant position of the first published content to realize the reminding of the user.
[0062] Further, the relevance prompt further comprises a positioning location of the target content in the first published content. The positioning location of the target content in the first published content can comprise a body part of the target content in the first published content.
[0063] In actual application, the target published content further comprises a second published content. After displaying the search result page in response to the search operation on the search content, the method further comprises: displaying predetermined content of the second published content via the search result page, wherein the relevance of the predetermined content of the second published content to the search content is greater than the relevance of the predetermined content of the first published content to the search content.
[0064] The predetermined content of the second published content can comprise a title and a cover image of the second published content. The second published content can be understood as a published content in the target published content, the title and / or the cover image of which are relevant or strongly relevant to the search content, that is, the title and / or the cover image of the second published content can comprise the target content relevant to the search content.
[0065] Specifically, the target published content displayed in the search result page can comprise the first published content and the second published content, the search result page displays predetermined content of the first published content and predetermined content of the second published content, and further displays relevance content and / or a relevance prompt of the published content. It can be understood that, since the predetermined content of the second published content comprises the target content, the search result page can not display the relevance content and the relevance prompt of the second published content.
[0066] In an embodiment of the present specification, the number of the first published content displayed in the search result page is less than a predetermined number; and / or the first published content does not appear continuously in the search result page. For example, 8 target published contents are displayed in the search result page, 3 of which are the first published content, 5 of which are the second published content, and the first published content and the second published content can be arranged alternately in the search result page, or the first published content can be displayed in the first K in the search result page, where K is a positive integer, for example, K can be 8. It can be understood that the display manner and the number of the first published content and the second published content in the search result page can be determined according to actual needs, and the embodiment of the present specification does not limit the same.
[0067] Further, after displaying the relevance content and / or the relevance prompt of the first published content via the search result page, the method further comprises: In response to the triggering operation on the target publishing content, a content detail page of the target publishing content is displayed, wherein the content detail page is used to display the body content and the cover image of the target publishing content. In response to the triggering operation on the cover image, other images of the target publishing content are displayed in the content detail page.
[0068] The content detail page of the target publishing content can be displayed in response to the triggering operation on the target publishing content. The triggering operation on the target publishing content can be understood as a click operation on the target publishing content. The triggering operation on the cover image can be understood as a switching operation on the cover image, such as a sliding switching operation. The other images of the target publishing content can be understood as non-cover images contained in the target publishing content.
[0069] It can be understood that the target publishing content includes the first publishing content and the second publishing content. The triggering process on the target publishing content is similar to the triggering process on the first publishing content and the triggering process on the second publishing content. The present specification will not be repeated.
[0070] Specifically, referring to Figure 3 , Figure 3 FIG. 2 shows a schematic diagram of a second display mode in a content display method according to an embodiment of the present specification. As shown in Figure 3 , the search page displays a search content input box and a search control. The user can input search content in the search content input box and click the search control. The client displays a plurality of target publishing contents corresponding to the target content in a two-column search result page in response to the search operation on the search content. The plurality of target publishing contents include the first publishing content. The target content related to the search content is in the non-cover image of the first publishing content. At this time, when the first publishing content is displayed, the non-cover image containing the target content can be replaced by the cover image, and the target content is displayed in the cover image of the first publishing content. In response to the click operation on any position of the first publishing content, the search result page can be switched to the content detail page of the first publishing content. The body content, title and cover image of the first publishing content can be displayed in the content detail page. In response to the switching operation of the user on the cover image, other non-cover images of the first publishing content can also be displayed in the content detail page.
[0071] Further, after the user browses the content detail page, the user can click the return control in the content detail page to return to the search result page. At this time, the title of the target publishing content browsed by the user is grayed out, and the cover image is still the image containing the target content as described above.
[0072] In summary, by browsing the body content and non-cover image in the content detail page after the user clicks into the target publishing content, the user's browsing experience is ensured.
[0073] Further, the display of the content detail page of the target publishing content further includes: Displaying the target content in the body content of the target publishing content.
[0074] Specifically, in response to a click operation on the target publishing content, a content detail page of the target publishing content is displayed, the content detail page can display the body content and the cover image of the target publishing content, and the target content related to the search content is displayed in the body content.
[0075] In summary, by displaying the target content in the body content part after the user clicks into the content detail page, the user can accurately locate the position of the target content, and the user's search experience is ensured.
[0076] In practical applications, the display of the target content in the body content of the target publishing content includes: Determining the position information of the target content in the body content; In a case where the position information belongs to the target visual line region, the target content is emphasized and displayed in the body content; or In a case where the position information does not belong to the target visual line region, position prompt information corresponding to the target content is displayed in the content detail page.
[0077] Wherein, the target visual line region can be understood as the visual line center region of the user after entering the content detail page, and the position information not belonging to the target visual line region can be understood as the position information belonging to the non-visual line center region. The emphasized display of the target content in the body content can be understood as the highlighted display of the target content in the body content. The position prompt information is used to prompt the user that the target content is not in the visual line center region, that is, when the user clicks into the content detail page, the target content cannot be immediately seen, and the user may need to browse down or page through the body content to see the target content. In practical applications, the position prompt information can be displayed in the form of a control in the content detail page.
[0078] Specifically, refer to Figure 4 , Figure 4 Fig. 1 shows a schematic diagram of a target visual line region in a content display method according to an embodiment of the present specification, as Figure 4As shown, in the case that the position information of the target content in the body content belongs to the target view area, the position information of the target content can be filled based on the highlight rectangular frame to realize highlight display of the target content. After a preset emphasis time, the highlight rectangular frame disappears, for example, the preset emphasis time can be 3 seconds. When it is determined that the position information belongs to the non-viewing gravity area, the position prompt information "position to mentioned content" can be displayed on the content detail page.
[0079] Further, referring to Figure 5 , Figure 5 Fig. 1 shows a schematic diagram of a highlight rectangular frame of target content in a content display method according to an embodiment of the present specification, as shown in Figure 5 For the target content, the rectangular frame containing the line where the first character of the paragraph where the target content is located is located and the line where the last character is located can be determined as the highlight rectangular frame.
[0080] Further, referring to Figure 6 , Figure 6 Fig. 2 shows a schematic diagram of the division of the view gravity area and the non-view gravity area in a content display method according to an embodiment of the present specification. Specifically, the view gravity area and the non-view gravity area can be determined according to the horizontal center line of the text paragraph of the body content of the target published content. The area above the horizontal center line is the view gravity area, and the area below the horizontal center line is the non-view gravity area.
[0081] In summary, by determining whether the position information of the target content belongs to the target implementation area, the target content is emphasized and displayed or position prompt information is displayed, marking the content highly related to the user's search content, effectively reducing the possibility of missing key content, significantly improving the efficiency of the user obtaining relevant information, facilitating the user to quickly find the target content related to the search content after clicking into the content detail page, and further improving the user's search experience. By formulating partition rules, the note content read by the user is accurately divided. In the user's view gravity area, such as image and text content at the front, the system can directly locate or highlight display to ensure that the user can quickly notice the key information.
[0082] Further, after displaying the target content in the body content of the target published content, the method further comprises: In response to the triggering operation on the position prompt information, the target content is emphasized and displayed on the content detail page.
[0083] Specifically, referring to Figure 7 , Figure 7 Fig. 3 shows a schematic diagram of content positioning in a content display method according to an embodiment of the present specification, as shown in Figure 7As shown, after the user clicks any position of the target published content carrying the position prompt information and enters the content detail page of the target published content, in the case of determining that the target content is in the visual line barycenter area of the first screen of the target published content, the target content is directly highlighted. In the case of determining that the target content is not in the visual line barycenter area of the first screen of the target published content, the position prompt information can be displayed in the lower right corner of the content detail page. After the user clicks the position prompt information, the position of the target content in the text content is displayed through page scrolling. In actual application, the content detail page can be scrolled to a position 64px away from the top navigation bar in the paragraph selection area of the target content, and the target content is highlighted by using a highlighted rectangular frame. And the highlighting is cancelled after a preset time.
[0084] Further, in the case that the text content in the target published content is less and the comments of the target published content are less, it is not enough to support scrolling to a position 64px away from the top navigation bar in the paragraph selection area of the target content. Therefore, scrolling can be stopped at a position closest to the top navigation bar.
[0085] In summary, through the position prompt information, the user's reading experience is not actively interrupted or interfered, and the user can manually position based on the position prompt information. The user can independently choose whether to quickly find the related content and obtain the accurate answer, and realize the positioning and highlighting of the target content.
[0086] Further, the displaying of the position prompt information corresponding to the target content in the content detail page further includes: In response to a triggering operation on other content in the content detail page except the position prompt information, the position prompt information is cancelled.
[0087] In actual application, the triggering operation on other content in the content detail page except the position prompt information can include other consumption behaviors and interactive behaviors of the user in the content detail page. The interactive behaviors can include sliding to view pictures, scrolling the page to browse the text, sharing, liking, collecting, commenting, and jumping to a secondary page, etc. Based on this, in response to these triggering operations, the position prompt information can be passively removed, that is, the position prompt information is cancelled in the content detail page. And in response to the triggering operation of the user on the position prompt information, the position prompt information can also be cancelled.
[0088] In addition, in the case that no triggering operation of the user on the position prompt information is received within a preset time, the position prompt information can also be cancelled, realizing the active removal of the position prompt information. The preset time can be 5 seconds, for example.
[0089] In summary, by setting the passive exit and active exit of the location prompt information, users are prevented from accidentally touching the location prompt information when they do not want to click it, ensuring the user's browsing experience in the content details page of the target published content.
[0090] Furthermore, in the case where the target published content includes video content, after displaying the related content and / or related prompt of the first published content via the search results page, the method further includes: In response to a triggering operation on the target published content, displaying a content details page of the target published content, wherein the content details page is used to display the video content of the target published content and location prompt information of the target content, and the location prompt information is used to indicate the time when the target content is mentioned in the video content; In response to a triggering operation on the location prompt information, the video content is redirected to the mentioned time, and a content location prompt is displayed on the content details page.
[0091] The mention time of the target content in the video content can be understood as the time when the target content is mentioned in the video content. For example, if the video content is 3 minutes long and the target content related to the search content is mentioned at 1 minute and 21 seconds in the video, then the 1 minute and 21 seconds is the mention time. The content location prompt can be used to prompt the user that the video content has been located at the mention time.
[0092] For details, see Figure 8 , Figure 8 FIG. 1 shows a schematic diagram of a third display mode in a content display method provided according to an embodiment of the present specification, such as Figure 8 As shown, in response to the triggering operation on the target published content, the content details page of the target published content can be displayed. The content details page can display the video content of the target published content and the location prompt information of the target content. The location prompt information can be displayed above the video progress bar of the video content. For example, the location prompt information is "XXX is mentioned at 01:21, click to locate". In response to the user's click operation on the location prompt information, the video content can be jumped to the mentioned time 01:21, and the content location prompt "Locate to 01:21" can be displayed on the content details page.
[0093] In summary, by jumping to the mention time of the video content according to the location prompt information, the target content mentioned in the video content can be quickly located, ensuring the user's search efficiency.
[0094] In the method, the search result page is displayed in response to the search operation on the search content, the predetermined content of the target publishing content associated with the search content is displayed in the search result page, and the relevance content and / or the relevance prompt of the first publishing content included in the target publishing content are displayed in the search result page. Based on the relevance content, the target content associated with the search content can be displayed in the search result page, and based on the relevance prompt, only the target content included in the first publishing content can be displayed. Therefore, the user can determine whether the target publishing content contains the target content associated with the search content according to the relevance content and / or the relevance prompt displayed in the search result page, the user can avoid missing the publishing content containing the target content, and the search experience of the user is improved.
[0095] The content display method provided in the specification is further described below with reference to the accompanying drawings. Figure 9 The content display method provided in the specification is further described below with reference to the accompanying drawings. Figure 9 A flow timing diagram of a content display method provided in an embodiment of the specification is shown, and specifically includes the following steps.
[0096] The client sends the search content to the server in response to the search operation on the search content.
[0097] The server determines the target content corresponding to the search content according to the search content, and determines the target publishing content corresponding to the target content.
[0098] The server sends the target publishing content to the client.
[0099] The client displays the target publishing content, and displays the relevance content and / or the relevance prompt of the first publishing content.
[0100] In the method, the search result page is displayed in response to the search operation on the search content, the predetermined content of the target publishing content associated with the search content is displayed in the search result page, and the relevance content and / or the relevance prompt of the first publishing content included in the target publishing content are displayed in the search result page. Based on the relevance content, the target content associated with the search content can be displayed in the search result page, and based on the relevance prompt, only the target content included in the first publishing content can be displayed. Therefore, the user can determine whether the target publishing content contains the target content associated with the search content according to the relevance content and / or the relevance prompt displayed in the search result page, the user can avoid missing the publishing content containing the target content, and the search experience of the user is improved.
[0101] Corresponding to the method embodiment, the specification also provides a content display device embodiment, Figure 10A structural diagram of a content display device is shown. As shown in the figure, the device includes: Figure 10 A first display module 1002 configured to display a search result page in response to a search operation on a search content, wherein the search result page is used to display predetermined content of target published content associated with the search content, and the target published content includes first published content; A second display module 1004 configured to display, via the search result page, relevance content of the first published content and / or a relevance prompt, wherein the relevance content is used to replace the predetermined content of the first published content, the relevance content is obtained based on target content associated with the search content in the first published content, and the relevance prompt is used to indicate that the first published content includes the target content.
[0102] In an optional embodiment, the second display module 1004 is further configured to: display, via the search result page, an image containing the target content in the first published content as a cover image in the predetermined content; or display, via the search result page, an image generated based on the target content as a cover image in the predetermined content; or display, via the search result page, text content generated based on the target content and / or search content as a title in the predetermined content.
[0103] In an optional embodiment, the relevance prompt includes a prompt text, and the prompt text is generated based on the target content and / or search content.
[0104] In an optional embodiment, the device further includes a generation module configured to: fill a prompt text template according to the search content and / or the target content to obtain the prompt text.
[0105] In an optional embodiment, the generation module is further configured to: determine an initial prompt text according to the search content and / or the target content; rewrite the initial prompt text to obtain a target prompt text; fill the prompt text template according to the target prompt text to obtain the prompt text.
[0106] In an optional embodiment, the relevance prompt further includes a positioning position of the target content in the first published content.
[0107] In an optional embodiment, the target publishing content further comprises a second publishing content; The second display module 1004 is further configured to: display predetermined content of the second publishing content via the search result page, wherein the predetermined content of the second publishing content has a greater relevance to the search content than the predetermined content of the first publishing content.
[0108] In an optional embodiment, the second display module 1004 is further configured to: display a content detail page of the target publishing content in response to a triggering operation on the target publishing content, wherein the content detail page is used to display the body content and the cover image of the target publishing content; display other images of the target publishing content in the content detail page in response to a triggering operation on the cover image.
[0109] In an optional embodiment, the second display module 1004 is further configured to: display the target content in the body content of the target publishing content.
[0110] In an optional embodiment, the second display module 1004 is further configured to: determine position information of the target content in the body content; in a case where the position information is determined to belong to a target visual line region, emphasize display of the target content in the body content; or in a case where the position information is determined not to belong to the target visual line region, display position prompt information corresponding to the target content in the content detail page.
[0111] In an optional embodiment, the second display module 1004 is further configured to: emphasize display of the target content in the content detail page in response to a triggering operation on the position prompt information.
[0112] In an optional embodiment, the second display module 1004 is further configured to: cancel display of the position prompt information in response to a triggering operation on other content in the content detail page except the position prompt information.
[0113] In an optional embodiment, the second display module 1004 is further configured to: In response to the triggering operation on the target published content, a content detail page of the target published content is displayed, wherein the content detail page is used to display video content of the target published content and position prompt information of the target content, and the position prompt information is used to prompt a mentioning time of the target content in the video content. In response to the triggering operation on the position prompt information, the video content is jumped to the mentioning time, and content positioning prompt is displayed on the content detail page.
[0114] In an optional embodiment, the number of the first published content displayed on the search result page is less than a predetermined number; and / or the first published content is discontinuously displayed on the search result page.
[0115] In the above device, in response to a search operation on search content, a search result page is displayed, predetermined content of target published content associated with the search content is displayed on the search result page, and for first published content included in the target published content, relevance content and / or relevance prompt of the first published content is displayed on the search result page, based on which the target content associated with the search content can be displayed on the search result page, and based on which only the target content included in the first published content can be included, so that the user can determine from the relevance content and / or the relevance prompt displayed on the search result page whether the target published content contains the target content associated with the search content, avoid missing the published content containing the target content, and improve the search experience of the user.
[0116] The above is a schematic scheme of the content display device according to the embodiment. It should be noted that the technical scheme of the content display device belongs to the same concept as the technical scheme of the content display method described above, and the details of the technical scheme of the content display device which are not described in detail can be referred to the description of the technical scheme of the content display method.
[0117] Figure 11 A structural block diagram of a computing device 1100 according to an embodiment of the present specification is shown. The components of the computing device 1100 include but are not limited to a memory 1110 and a processor 1120. The processor 1120 is connected to the memory 1110 through a bus 1130, and a database 1150 is used to save data.
[0118] The computing device 1100 also includes an access device 1140 that enables the computing device 1100 to communicate via one or more networks 1160. Examples of such networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or combinations of such networks, such as the Internet. The access device 1140 can include one or more of any type of network interface (for example, a network interface card (NIC)) such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, or the like.
[0119] In one embodiment of the present application, the above-mentioned components of the computing device 1100, as well as other components not shown in FIG. 11, can be connected to each other by a bus. It should be understood that Figure 11 the components of the computing device 1100 can be connected to each other by a bus. Figure 11 The computing device structure diagram shown is merely for the purpose of example, and is not a limitation on the scope of the present application. Those skilled in the art can add or replace other components as needed.
[0120] The computing device 1100 can be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (for example, a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, and the like), a mobile phone (for example, a smartphone), a wearable computing device (for example, a smart watch, smart glasses, and the like), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 1100 can also be a mobile or stationary server.
[0121] The processor 1120 is configured to execute computer program / instructions that implement the steps of the content display method described above when the computer program / instructions are executed by the processor.
[0122] The various embodiments in the specification are described in progressive manner, and the same or similar parts among the various embodiments can be mutually referred to, and each embodiment focuses on the difference from other embodiments. In particular, for the computing device embodiments, since they are basically similar to the content display method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the content display method embodiments.
[0123] An embodiment of the specification further provides a computer readable storage medium storing computer programs / instructions, which, when executed by a processor, implement the steps of the above content display method.
[0124] The various embodiments in the specification are described in progressive manner, and the same or similar parts among the various embodiments can be mutually referred to, and each embodiment focuses on the difference from other embodiments. In particular, for the computer readable storage medium embodiments, since they are basically similar to the content display method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the content display method embodiments.
[0125] An embodiment of the specification further provides a computer program product including computer programs / instructions, which, when executed by a processor, implement the steps of the above content display method.
[0126] The above is a schematic scheme of a computer program product of the embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the above content display method belong to the same concept, and the details of the technical scheme of the computer program product which are not described in detail can be referred to the description of the technical scheme of the content display method.
[0127] The above describes specific embodiments of the specification. Other embodiments are within the scope of the appended claims. In some cases, the acts or steps in a claim can be performed in an order different than the order in which the acts or steps are recited, and still accomplish the desired results. Also, the process depicted in the accompanying figures does not necessarily require the particular order shown, or sequential order, to achieve the desired results. In certain implementations, multitasking and parallel processing can be advantageous.
[0128] The computer readable medium can include any entity or apparatus capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium can include appropriate additions or subtractions according to the requirements of patent practice. For example, according to the patent practice in some regions, the computer readable medium does not include electrical carrier signals and telecommunication signals.
[0129] It should be noted that, for the foregoing method embodiments, in order to facilitate description, each is described as a combination of a series of acts, but those skilled in the art should appreciate that the embodiments of the present specification are not limited by the order of the described acts, because according to the embodiments of the present specification, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should appreciate that the embodiments described in the specification are all preferred embodiments, and the acts and modules involved are not necessarily essential to the embodiments of the present specification.
[0130] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0131] The preferred embodiments of the present specification disclosed above are only used to help explain the present specification. The alternative embodiments do not describe all the details and limit the invention to the specific embodiments described. Obviously, according to the content of the embodiments of the present specification, many modifications and changes can be made. The present specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of the present specification, so that those skilled in the art can well understand and use the present specification. The present specification is limited only by the claims and their full scope and equivalents.
Claims
1. A content display method, characterized in that: include: In response to a search operation on the search content, displaying a search result page, wherein the search result page is used to display predetermined content of target published content associated with the search content, the target published content including the first published content; The relevant content and / or relevant prompt of the first published content are displayed via the search results page, wherein the relevant content is used to replace the predetermined content of the first published content, the relevant content is obtained based on the target content associated with the search content in the first published content, and the relevant prompt is used to indicate that the first published content includes the target content.
2. The method according to claim 1, characterized in that The displaying, via the search results page, related content of the first published content includes: displaying, via the search results page, an image in the first published content that includes the target content as a cover image in the predetermined content; or displaying, via the search result page, an image generated based on the target content as a cover image in the predetermined content; or The text content generated based on the target content and / or the search content is displayed as a title in the predetermined content via the search result page.
3. The method according to claim 1, characterized in that The relevance prompt includes a prompt text, and the prompt text is generated based on the target content and / or search content.
4. The method according to claim 3, characterized in that The steps of generating the prompt text include: The prompt text template is filled in according to the search content and / or the target content to obtain the prompt text.
5. The method according to claim 4, characterized in that Filling a prompt text template according to the search content and / or the target content to obtain the prompt text includes: Determining an initial prompt text according to the search content and / or the target content; Rewriting the initial prompt text to obtain a target prompt text; The prompt text template is filled according to the target prompt text to obtain the prompt text.
6. The method according to claim 1, characterized in that The relevance prompt further includes the location of the target content in the first published content.
7. The method according to claim 1, characterized in that The target published content also includes second published content; After displaying the search results page in response to the search operation for the search content, the method further includes: The predetermined content of the second published content is displayed via the search result page, wherein the relevance of the predetermined content of the second published content to the search content is greater than the relevance of the predetermined content of the first published content to the search content.
8. The method according to any one of claims 1 to 7, characterized in that After displaying the related content and / or related prompt of the first published content via the search results page, the method further includes: In response to a triggering operation on the target published content, displaying a content details page of the target published content, wherein the content details page is used to display the main content and cover image of the target published content; In response to a triggering operation on the cover image, other images of the target published content are displayed on the content details page.
9. The method according to claim 8, characterized in that After displaying the content details page of the target published content, the method further includes: The target content is displayed in the main body of the target published content.
10. The method according to claim 9, characterized in that Displaying the target content in the main body of the target published content includes: Determining the location information of the target content in the main text content; When it is determined that the position information belongs to the target sight area, highlighting the target content in the main text; or When it is determined that the location information does not belong to the target visual area, the location prompt information corresponding to the target content is displayed on the content details page.
11. The method according to claim 10, characterized in that After the target content is displayed in the main body of the target published content, the method further includes: In response to a triggering operation on the location prompt information, the target content is highlighted and displayed on the content details page.
12. The method according to claim 10, characterized in that After the location prompt information corresponding to the target content is displayed on the content details page, the method further includes: In response to a triggering operation on other content in the content details page except the location prompt information, the location prompt information is canceled from being displayed.
13. The method according to any one of claims 1 to 7, characterized in that: After displaying the related content and / or related prompt of the first published content via the search results page, the method further includes: In response to a triggering operation on the target published content, displaying a content details page of the target published content, wherein the content details page is used to display the video content of the target published content and location prompt information of the target content, and the location prompt information is used to indicate the time when the target content is mentioned in the video content; In response to a triggering operation on the location prompt information, the video content is redirected to the mentioned time, and a content location prompt is displayed on the content details page.
14. The method according to any one of claims 1 to 7, characterized in that The number of the first published contents displayed on the search result page is less than a predetermined number; and / or the first published contents do not appear continuously on the search result page.
15. A computing device, characterized in that include: memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer program / instructions are executed by the processor, the steps of the method according to any one of claims 1 to 14 are implemented.
16. A computer-readable storage medium, characterized in that It stores a computer program / instruction, which implements the steps of the method according to any one of claims 1 to 14 when executed by a processor.
17. A computer program product, characterized in that The method comprises a computer program / instruction which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 14.