Content display method and device, computer equipment, readable storage medium and program product
By integrating graphic and video content in information display, combining text layout and picture display parameters, dynamically adjusting content display, the problems of singleness and intuitiveness of information display in traditional technology are solved, and the diversity of information display and users are improved. Experience.
Patent Information
- Application Number
- CN202411138951.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-03
AI Technical Summary
In traditional technology, information display forms are single and lack intuitiveness, which cannot meet users' diverse information acquisition needs.
By responding to information display requests, the content display results are determined and the matching parameters containing graphics and/or video content is fused and displayed, including text layout and picture display parameters, dynamically adjusting the size and layout of the content to improve information Diversity and intuitiveness of display.
It realizes more intuitive and diversified information display, improving user experience and information acquisition efficiency.
Smart Images

Figure CN119066285A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a content display method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of Internet technology, people have an increasingly higher demand for information in their daily production and life.
[0003] In traditional technology, in response to user information searches and queries, the searched content is spliced and output for display in the form of text or pictures.
[0004] However, in traditional technologies, the display form of the acquired content is often relatively simple, and the displayed content is not intuitive and cannot meet the needs of users. Summary of the invention
[0005] Based on this, it is necessary to provide a content display method, device, computer equipment, computer-readable storage medium and computer program product that can improve the intuitiveness and diversity of information display in response to the above technical problems.
[0006] In a first aspect, the present application provides a content display method, the method comprising:
[0007] In response to the information display request, determining a content display result corresponding to the information display request;
[0008] Based on the content display parameters that include the graphic, text and / or video content in the content display result and match the content display result, the graphic, text and / or video content is displayed in a fusion manner.
[0009] In one embodiment, the content display parameters include text arrangement parameters and / or image display parameters.
[0010] In one embodiment, when the content display result includes multiple pictures, after the text, graphic and / or video content is integrated and displayed based on the text, graphic and / or video content included in the content display result and the content display parameter matching the content display result, the method further includes:
[0011] In response to a triggering operation on a first target image among the multiple images, displaying the first target image on the image details page; or,
[0012] In response to a triggering operation on a second target image or a batch query option among the multiple images, the multiple images are displayed on the image details page.
[0013] In one of the embodiments, when the content display parameter includes a text arrangement parameter and an image display parameter, displaying the content display result corresponding to the information display request based on the content display result and the content display parameter matching the content display result includes:
[0014] Based on the text arrangement parameters, determining the arrangement of the text in the target text format in the content display result;
[0015] Based on the image display parameters, determine the size and arrangement of the image and / or video matching each paragraph or each point in the text;
[0016] Based on the arrangement of the text, the size and arrangement of the picture and / or video, a content display result corresponding to the information display request is displayed.
[0017] In one embodiment, the content display result includes paragraphs or points of the text, and pictures and / or videos matching each paragraph or point; and determining the size and arrangement of the pictures and / or videos matching each paragraph or point in the text based on the picture display parameters includes:
[0018] Determine a target picture group having the largest number of pictures among the picture groups matched by each of the paragraphs or each of the sub-points in the content display result, and / or determine a target video group having the largest number of videos among the video groups matched by each of the paragraphs or each of the sub-points in the content display result;
[0019] The size and arrangement of the pictures and / or videos matched to each of the paragraphs or each of the points are determined according to the picture display parameters, the number of pictures in the target picture group and / or the number of videos in the target video group.
[0020] In one embodiment, in response to the information display request, determining a content display result corresponding to the information display request includes:
[0021] In response to an information display request, determining material information and a query type corresponding to the information display request;
[0022] Based on the material information and the query type, a content display result is determined.
[0023] In one embodiment, determining the content display result based on the material information and the query type includes:
[0024] Based on the query type, obtain text, pictures and videos in the material information, and identify the text format of the text, where the text format includes paragraph information or point information of the text;
[0025] Based on the text format, the pictures and / or videos that match each paragraph or each point in the text are determined to generate a content display result.
[0026] In a second aspect, the present application also provides a content display device,
[0027] The device comprises:
[0028] A determination module, configured to determine, in response to an information display request, a content display result corresponding to the information display request;
[0029] The display module is used to display the graphic, text and / or video content in a fused manner based on the content display parameters matching the graphic, text and / or video content in the content display result.
[0030] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0031] In response to the information display request, determining a content display result corresponding to the information display request; the content display result includes graphic and / or video content;
[0032] Based on the content display parameters that include the graphic, text and / or video content in the content display result and match the content display result, the graphic, text and / or video content is displayed in a fusion manner.
[0033] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0034] In response to the information display request, determining a content display result corresponding to the information display request;
[0035] Based on the content display parameters that include the graphic, text and / or video content in the content display result and match the content display result, the graphic, text and / or video content is displayed in a fusion manner.
[0036] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0037] In response to the information display request, determining a content display result corresponding to the information display request;
[0038] Based on the content display parameters that include the graphic, text and / or video content in the content display result and match the content display result, the graphic, text and / or video content is displayed in a fusion manner.
[0039] The above-mentioned content display method, apparatus, computer device, computer-readable storage medium and computer program product, in response to an information display request, determine the content display result corresponding to the information display request; based on the content display parameters that match the text, image and / or video content in the content display result and the content display result, display the text, image and / or video content in a fusion manner. With this method, by determining the content display result corresponding to the information display request, and then matching the content display parameters with the content display result, the content display result can be displayed more intuitively based on the matched content display parameters, and the diversity of the content display result display is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0041] FIG1 is a diagram of an application environment of a content display method according to an embodiment;
[0042] Figure 2 is a signaling interaction diagram between a user and a terminal in a content display method in an embodiment;
[0043] Figure 3 is a flow chart of a content display method in one embodiment;
[0044] Figure 4 A schematic diagram of a flow chart of interactive steps for content display results in one embodiment;
[0045] Figure 5 A flowchart of a step of displaying content display results corresponding to an information display request in one embodiment;
[0046] Figure 6 A flowchart of the steps of determining the size and arrangement of pictures and / or videos in one embodiment;
[0047] Figure 7 A schematic diagram of an interface showing the size of a single image in a horizontal row of images in an embodiment;
[0048] Figure 8 A schematic diagram of an interface for displaying the sizes of multiple images in a horizontal row in an embodiment;
[0049] Fig. 9 A schematic diagram of an interface showing common sizes in a horizontal row of diagrams in an embodiment;
[0050] Fig.10 A schematic diagram of an interface for displaying the sizes of multiple images in a grid diagram in one embodiment;
[0051] Fig.11 A schematic diagram of a flow chart of a step of determining content display result based on material information and query type in one embodiment;
[0052] Fig.12 A schematic diagram of a flow chart of a step of generating content display results in one embodiment;
[0053] Fig.13 is a structural block diagram of a content display device in an embodiment;
[0054] Fig.14 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0056] The content display method provided in the embodiment of the present application can be applied to the application environment as shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Specifically, the terminal 102 responds to the information display request and determines the content display result corresponding to the information display request. Among them, the content display result includes graphics and / or video content. Furthermore, the terminal 102 integrates and displays the graphics and / or video content based on the content display parameters that match the graphics and / or video content in the content display results and the content display results. In this way, the content display results are displayed more intuitively based on the matched content display parameters, thereby improving the diversity of the content display results.
[0057] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.
[0058] In an exemplary embodiment, Figure 2 As shown, Figure 2 The signaling interaction diagram between a user and a terminal in a content display method is shown in FIG. 1 , wherein the signaling interaction process specifically includes:
[0059] Step 201: A user sends an information display request to a terminal.
[0060] Step 202: In response to the information display request, the terminal identifies the user's information display intention based on the big model and determines the content display result corresponding to the information display request.
[0061] Step 203: the terminal displays and arranges the graphics, text and / or video content contained in the content display result based on the content display result and the content display parameters corresponding to the content display result, and displays the graphics, text and / or video content in the content display result in a fusion manner on the terminal display interface.
[0062] In an exemplary embodiment, Figure 3 As shown, a content display method is provided, which is described by taking the method applied to the terminal 102 in FIG. 1 as an example, and includes the following steps 302 to 306. Among them:
[0063] Step 302: In response to the information display request, determine a content display result corresponding to the information display request.
[0064] The content display results include graphic, text and / or video content.
[0065] In implementation, users can browse and query information through the terminal. When users browse information, they can query the content of interest. For example, if a user wants to view certain information, the user can initiate an information display request. Alternatively, the user can conduct a conversation on the question-and-answer platform. During the conversation with the question-and-answer platform, the user sends an information display request to the terminal. Specifically, the terminal is integrated with a question-and-answer platform, which displays various types of information content, and the user can obtain information through the question-and-answer platform integrated in the terminal. Optionally, the question-and-answer platform can also install the application plug-in on the user's terminal in the form of an application plug-in, and obtain information in the question-and-answer platform through the application plug-in. Therefore, when the user browses and obtains information on the question-and-answer platform, a request for information display can be initiated. In response to the information display request, the terminal identifies the information display intention in the user's information display request based on the large model, and determines the content display result corresponding to the information display request based on the information display intention.
[0066] Step 304: Based on the content display result and the content display parameter that matches the content display result, the content display result corresponding to the information display request is displayed.
[0067] In implementation, content display parameters are also pre-set in the terminal, and the content display policy includes display parameter settings for content in various media forms. After the terminal determines the content display result, the corresponding content display parameters can be matched based on the content in the media form included in the content display result. Thus, the terminal can display and arrange the content display results based on the matched content display parameters, and display the content display results corresponding to the information display request on the display page of the terminal.
[0068] In the above content display method, in response to the information display request, the content display result corresponding to the information display request is determined; based on the content display result and the content display parameter matched by the content display result, the content display result corresponding to the information display request is displayed. With this method, the content display result corresponding to the information display request is estimated to obtain the content display result, and then the content display parameter is matched with the content display result. In this way, the content display result can be displayed more intuitively based on the matched content display parameter, and the diversity of the content display result display is improved.
[0069] In an exemplary embodiment, the content display parameters include text arrangement parameters and / or image display parameters. Optionally, the text arrangement parameters include parameter settings for arranging and displaying text content in paragraphs or points. The image display parameters include image arrangement style and image display size parameter settings. The present disclosure embodiment does not limit the content display parameters.
[0070] In an exemplary embodiment, Figure 4 As shown, after the terminal displays the content display result, the user can further interact based on the displayed content display result. For example, when the content display result includes multiple pictures, the method further includes:
[0071] Step 402, in response to a triggering operation on a first target image among the multiple images, display the first target image on the image details page.
[0072] In implementation, a content display result is displayed in the display interface of the terminal, and the query structure includes multiple pictures. When a user wants to view a first target picture among the multiple pictures in the content display result, the user can directly trigger the first target picture among the multiple pictures displayed in the terminal. In response to the triggering operation on the first target picture, the terminal displays the triggered first target picture on the picture details page.
[0073] Step 404, in response to a triggering operation on a second target image among the multiple images or a batch query option, the multiple images are displayed on the image details page.
[0074] In implementation, a content display result is displayed in the display interface of the terminal, and the query structure includes multiple pictures. If the user wants to query all the displayed multiple pictures, the user can directly trigger the second target picture among the multiple pictures, wherein the second target picture can be the last picture among the multiple pictures. Alternatively, the user can trigger the batch query option corresponding to each picture among the multiple pictures. Thus, the terminal responds to the trigger operation on the second target picture, or the terminal responds to the batch query option, and displays multiple pictures on the picture details page.
[0075] In this embodiment, after displaying the content display results, the user can still interact based on the pictures or texts in the content display results to achieve further query and acquisition of pictures or texts, thereby improving the efficiency of information acquisition.
[0076] In an exemplary embodiment, Figure 5 As shown, in the case where the content display parameters include text arrangement parameters and image display parameters, step 304 includes steps 501 to 502. Among them:
[0077] Step 501: Determine the arrangement of text in a target text format in a content display result based on text arrangement parameters.
[0078] In implementation, the terminal responds to the user's information display request, searches the entire network and the entire platform to obtain material data, and screens and performs data analysis on the material data to obtain the content display result. Therefore, the terminal first determines the arrangement of the text in the target text format in the content display result based on the text arrangement parameters. Specifically, the text arrangement parameters include parameter settings for arranging and displaying the text content in paragraphs or points. Therefore, the terminal first analyzes whether the text in the content display result belongs to the segment format or the point format. For example, when it is determined that the text in the content display result belongs to the point format, the text in the content display result is arranged according to the point arrangement parameter settings.
[0079] Step 502, based on the picture display parameters, determine the size and arrangement of the picture and / or video matching each paragraph or each point in the text.
[0080] In implementation, the content display result also includes pictures or videos. After determining the text arrangement in the content display result, the number and size of pictures that match the text arrangement of the content display result are determined based on the picture display parameters. For example, if it is determined that the text arrangement in the content display result is arranged in a point-by-point form, the number, size and arrangement of pictures that match each point are determined. If it is determined that the text in the content display result is arranged in a segmented (paragraph) form, the number, size and arrangement of pictures that match each point are determined. Among them, the picture arrangement method includes a horizontal format and a grid format. The picture arrangement method is adapted to the text content and the text arrangement method. The present disclosure does not limit the picture arrangement method.
[0081] Step 503: Based on the arrangement of the text, the size and arrangement of the picture and / or video, a content display result corresponding to the information display request is displayed.
[0082] In implementation, the terminal displays the text, image and / or video content contained in the content display result in a fusion display based on the determined text arrangement, image size and arrangement. For example, if the text arrangement included in the content display parameters is arranged in paragraphs, each paragraph matches a single image, and the image size is: the maximum height is 200px, the display aspect ratio = the material aspect ratio, and the image display ratio limit is limited to 3:4 to 2:1. If the image arrangement is a horizontal image, the text content is fused with images and / or videos paragraph by paragraph based on the content display parameters.
[0083] In an exemplary embodiment, Figure 6 As shown, the content display result includes paragraphs or points of text, and pictures and / or videos matching each paragraph or point. The specific processing process of step 502 includes:
[0084] Step 602: determine the target picture group with the largest number among the picture groups matching each paragraph or each sub-point in the content display result, and / or determine the target video group with the largest number among the video groups matching each paragraph or each sub-point in the content display result.
[0085] In implementation, in order to ensure that the display format of each picture or video included in the content display result is uniform, the terminal determines the target picture group with the largest number of pictures among the picture groups matched by each paragraph or each sub-point in the content display result. Alternatively, in the case where the text content matches the video, the terminal determines the target video group with the largest number of pictures among the video groups matched by each paragraph or each sub-point in the content display result.
[0086] Step 604: Determine the size and arrangement of the pictures and / or videos that match each paragraph or each point according to the picture display parameters, the number of pictures in the target picture group, and / or the number of videos in the target video group.
[0087] In implementation, the terminal determines the size and arrangement of the pictures / videos matched at each sub-point or each paragraph included in the content display result according to the picture display parameters, the number of pictures included in the target picture group and / or the number of videos included in the target video group. Specifically, the display styles of pictures and videos are similar, except that pictures are static display content, and videos can be video cover pages, that is, static display content, or videos in playback state, that is, dynamic playback content. Therefore, the size and arrangement of videos and pictures can be the same, so the picture display parameters are explained using pictures as an example, and videos can also be arranged in this way, and the present disclosure will no longer repeat the picture display parameters of video content. The picture display parameters include picture arrangement and information such as the size of the picture to be matched at each segment or sub-point in the text format, wherein the picture arrangement includes horizontal pictures and grid pictures. The image size of the matching image for each segment or point in the text format is determined based on the image arrangement and the number of images, including the single image size, multiple image size and general size in horizontal rows; and the single image size and multiple image size in grid patterns.
[0088] Specifically, for the arrangement format of horizontal images, the single image size, multi-image size, and general size of the matching images in each segment or point are:
[0089] The image size of a single image includes: Figure 7 As shown, the maximum height of the material is limited to 200px, the display aspect ratio = the material aspect ratio, and the image display ratio limit is limited to 3:4 to 2:1;
[0090] The image sizes of multiple images include: Figure 8 As shown, the material width = (screen width - 44px) / 3, the aspect ratio remains 1:1, and the image spacing is 6px;
[0091] Common sizes include: Fig. 9 As shown, no matter a single image or multiple images appear in a paragraph or point, they are displayed according to the image size or video size corresponding to the target image group (i.e., the image group with the largest number) and / or the target video group (i.e., the video group with the largest number) in the content display result.
[0092] Specifically, the single image size and multi-image image size of the matching image in each segment or point under the grid layout format are:
[0093] The size of a single image includes: 2≥container aspect ratio=image aspect ratio≥3 / 4, maximum width=screen size-32-2a, maximum height=width of a single image in multi-image mode*2+4 [Note: a=paragraph point indent value].
[0094] The image sizes of multiple images include: Fig.10 As shown, there are multiple pictures 2-6, and the pictures are displayed in a 1:1 size, with a length and width of (screen width-40-2a) / 3.
[0095] In an exemplary embodiment, Fig.11 As shown, the specific processing process of step 302 includes:
[0096] Step 1101: In response to an information display request, determine the material information and query type corresponding to the information display request.
[0097] In implementation, after the user sends an information display request, the terminal responds to the information display request, identifies the information display intention reflected in the user's information display request based on the big model, and determines the material information and query type corresponding to the information display request. Among them, the query type corresponding to the information display request includes but is not limited to chatting, evaluation, comparison, recommendation, tutorial guide, information retrieval, creation and mathematics, and others. The material information required for the query result includes a variety of graphic and / or video content, etc., which is not limited in the embodiments of the present disclosure.
[0098] Step 1102: Determine content display results based on the material information and the query type.
[0099] In implementation, the terminal determines the content display result based on the material information and the query type. Specifically, for different query types, the corresponding material information requirements are not exactly the same, and in the process of matching the material information based on the query type, the material information needs to be screened. For example, for the image content contained in the material information, the large model pre-integrated in the terminal identifies and removes duplicate images, high-similarity images, spliced images, unclear images, and images with more (for example, more than 10 words) text, etc., to obtain the screened images for generating content display results. Regarding the display timing of the image in the material information, that is, determining whether each segment or each point in the text content under the query type matches the image, the terminal will also determine based on the query type and the matching effect. For example, when displaying the image does not cause congestion of the text content, or does not cause a high degree of duplication of the text and image content, the image can be matched for the paragraph of text.
[0100] In an exemplary embodiment, Fig.12 As shown, the specific processing process of step 1102 includes:
[0101] Step 1201, based on the query type, obtain the text, picture and video in the material information, and identify the text format of the text.
[0102] The text format includes paragraph information or point information of the text.
[0103] In implementation, the terminal identifies the information display intention reflected in the user's information display request based on the large model, and then obtains a large amount of material information across the entire network and platform based on the information display intention. Then, the terminal further obtains matching text, pictures and videos in the material information based on the query type determined in the information display intention. Then, the terminal identifies the text format of the text. For example, for the tutorial guide type, the text content of the tutorial guide is obtained, and then the terminal needs to determine the text format in the text as a point format, and divide the text content information according to each point or each step.
[0104] Step 1202, based on the text format, determine the pictures and / or videos that match each paragraph or each point in the text, and generate a content display result.
[0105] In implementation, the terminal determines the pictures and / or videos that match each paragraph or each sub-point in the text based on the text format, and generates content display results. For example, for different query types: there are no special requirements for texts of query types such as chat and evaluation, and the comparison type requires at least one picture of the objects of the comparison for the comparison text content (sub-point or segmented text). In the recommendation type, pictures are provided under each recommended item text, with at least 2 and up to 6 pictures to meet the recommendation requirements. For the tutorial guide type, text introductions are required for each sub-point and step, and each sub-point or each step in the text is matched with pictures. Information retrieval type: If an appropriate picture can be found under each sub-point in the text content of the material content, it is necessary to match the relevant picture under each sub-point, but it is not mandatory. Therefore, based on the requirements of this query type, the material information is searched and spliced, and finally the content display result for the information display request is generated.
[0106] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0107] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0108] Based on the same inventive concept, the embodiment of the present application also provides a content display device for implementing the content display method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more content display device embodiments provided below can refer to the limitations on the content display method above, and will not be repeated here.
[0109] In an exemplary embodiment, Fig.13 As shown, a content display device is provided, including: a determination module 1301 and a determination module 1302, wherein:
[0110] Determination module 1301, for determining, in response to the information display request, a content display result corresponding to the information display request; the content display result includes graphic and / or video content;
[0111] The display module 1302 is used to display the graphic, text and / or video content in an integrated manner based on the content display parameters that match the graphic, text and / or video content in the content display result and the content display result.
[0112] In one embodiment, the content display parameters include text arrangement parameters and / or image display parameters.
[0113] In one of the embodiments, when the content display result includes multiple pictures, the device further includes:
[0114] A first display module is configured to display the first target image on the image details page in response to a triggering operation on a first target image among the multiple images; or
[0115] The second display module is used to display multiple pictures on the picture details page in response to a trigger operation on a second target picture among the multiple pictures or a batch query option.
[0116] In one embodiment, when the content display parameters include text arrangement parameters and image display parameters, the display module 1302 is specifically configured to:
[0117] Based on the text arrangement parameters, determining the arrangement of the text in the target text format in the content display result;
[0118] Based on the image display parameters, determine the size and arrangement of the images and / or videos and / or videos that match each paragraph or each subpoint in the text;
[0119] Based on the arrangement of text, the size and arrangement of pictures and / or videos, the content display result corresponding to the information display request is displayed.
[0120] In one embodiment, the content display result includes paragraphs or points of text, and pictures and / or videos matched to each paragraph or point; the display module 1302 is specifically used to: determine the target picture group with the largest number of pictures in the picture groups matched to each paragraph or point in the content display result, and / or determine the target video group with the largest number of videos matched to each paragraph or point in the content display result;
[0121] The size and arrangement of the pictures and / or videos matching each paragraph or each point are determined according to the picture display parameters, the number of pictures in the target picture group and / or the number of videos in the target video group.
[0122] In one embodiment, the determination module 1301 is specifically configured to:
[0123] In response to the information display request, determining the material information and the query type corresponding to the information display request;
[0124] Based on the material information and query type, determine the content display results.
[0125] In one embodiment, the determination module 1301 is specifically configured to:
[0126] Based on the query type, obtain the text, pictures and videos in the material information, and identify the text format of the text, which includes paragraph information or point information of the text;
[0127] Based on the text format, the images and / or videos that match each paragraph or each subpoint in the text are determined to generate content display results.
[0128] Each module in the above content display device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0129] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.14As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a content display method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0130] Those skilled in the art will understand that Fig.14 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0131] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0132] In response to the information display request, determining a content display result corresponding to the information display request; the content display result includes graphic and / or video content;
[0133] Based on the content display parameters that match the graphic, text and / or video content in the content display result and the content display result, the graphic, text and / or video content is integrated and displayed.
[0134] In one embodiment, the content display parameters include text arrangement parameters and / or image display parameters.
[0135] In one embodiment, when the content display result includes multiple pictures, the processor further implements the following steps when executing the computer program:
[0136] In response to a triggering operation on a first target image among the multiple images, displaying the first target image on the image details page; or,
[0137] In response to a triggering operation on a second target image among the multiple images or a batch query option, the multiple images are displayed on the image details page.
[0138] In one embodiment, when the content display parameters include text arrangement parameters and image display parameters, the processor further implements the following steps when executing the computer program:
[0139] Based on the text arrangement parameters, determining the arrangement of the text in the target text format in the content display result;
[0140] Based on the image display parameters, determine the size and arrangement of the images and / or videos and / or videos that match each paragraph or each subpoint in the text;
[0141] Based on the arrangement of text, the size and arrangement of pictures and / or videos, the content display result corresponding to the information display request is displayed.
[0142] In one embodiment, the content display result includes paragraphs or points of text, and pictures and / or videos matching each paragraph or point; when the processor executes the computer program, the following steps are also implemented:
[0143] Determine a target picture group having the largest number of pictures among picture groups matching each paragraph or each subpoint in the content display result, and / or determine a target video group having the largest number of videos among video groups matching each paragraph or each subpoint in the content display result;
[0144] The size and arrangement of the pictures and / or videos matching each paragraph or each point are determined according to the picture display parameters, the number of pictures in the target picture group and / or the number of videos in the target video group.
[0145] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0146] In response to the information display request, determining the material information and the query type corresponding to the information display request;
[0147] Based on the material information and query type, determine the content display results.
[0148] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0149] Based on the query type, obtain the text, pictures and videos in the material information, and identify the text format of the text, which includes paragraph information or point information of the text;
[0150] Based on the text format, the images and / or videos that match each paragraph or each subpoint in the text are determined to generate content display results.
[0151] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0152] In response to the information display request, determining a content display result corresponding to the information display request; the content display result includes graphic and / or video content;
[0153] Based on the content display parameters that match the graphic, text and / or video content in the content display result and the content display result, the graphic, text and / or video content is integrated and displayed.
[0154] In one embodiment, the content display parameters include text arrangement parameters and / or image display parameters.
[0155] In one embodiment, when the content display result includes multiple pictures, the computer program further implements the following steps when executed by the processor:
[0156] In response to a triggering operation on a first target image among the multiple images, displaying the first target image on the image details page; or,
[0157] In response to a triggering operation on a second target image among the multiple images or a batch query option, the multiple images are displayed on the image details page.
[0158] In one embodiment, when the content display parameters include text arrangement parameters and image display parameters, the computer program further implements the following steps when executed by the processor:
[0159] Based on the text arrangement parameters, determining the arrangement of the text in the target text format in the content display result;
[0160] Based on the image display parameters, determine the size and arrangement of the images and / or videos and / or videos that match each paragraph or each subpoint in the text;
[0161] Based on the arrangement of text, the size and arrangement of pictures and / or videos, the content display result corresponding to the information display request is displayed.
[0162] In one embodiment, the content display result includes paragraphs or points of text, and pictures and / or videos matching each paragraph or point; when the computer program is executed by the processor, the following steps are also implemented:
[0163] Determine a target picture group having the largest number of pictures among picture groups matching each paragraph or each subpoint in the content display result, and / or determine a target video group having the largest number of videos among video groups matching each paragraph or each subpoint in the content display result;
[0164] The size and arrangement of the pictures and / or videos matching each paragraph or each point are determined according to the picture display parameters, the number of pictures in the target picture group and / or the number of videos in the target video group.
[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0166] In response to the information display request, determining the material information and the query type corresponding to the information display request;
[0167] Based on the material information and query type, determine the content display results.
[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0169] Based on the query type, obtain the text, pictures and videos in the material information, and identify the text format of the text, which includes paragraph information or point information of the text;
[0170] Based on the text format, the images and / or videos that match each paragraph or each subpoint in the text are determined to generate content display results.
[0171] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0172] In response to the information display request, determining a content display result corresponding to the information display request; the content display result includes graphic and / or video content;
[0173] Based on the content display parameters that match the graphic, text and / or video content in the content display result and the content display result, the graphic, text and / or video content is integrated and displayed.
[0174] In one embodiment, the content display parameters include text arrangement parameters and / or image display parameters.
[0175] In one embodiment, when the content display result includes multiple pictures, the computer program further implements the following steps when executed by the processor:
[0176] In response to a triggering operation on a first target image among the multiple images, displaying the first target image on the image details page; or,
[0177] In response to a triggering operation on a second target image among the multiple images or a batch query option, the multiple images are displayed on the image details page.
[0178] In one embodiment, when the content display parameters include text arrangement parameters and image display parameters, the computer program further implements the following steps when executed by the processor:
[0179] Based on the text arrangement parameters, determining the arrangement of the text in the target text format in the content display result;
[0180] Based on the image display parameters, determine the size and arrangement of the images and / or videos and / or videos that match each paragraph or each subpoint in the text;
[0181] Based on the arrangement of text, the size and arrangement of pictures and / or videos, the content display result corresponding to the information display request is displayed.
[0182] In one embodiment, the content display result includes paragraphs or points of text, and pictures and / or videos matching each paragraph or point; when the computer program is executed by the processor, the following steps are also implemented:
[0183] Determine a target picture group having the largest number of pictures among picture groups matching each paragraph or each subpoint in the content display result, and / or determine a target video group having the largest number of videos among video groups matching each paragraph or each subpoint in the content display result;
[0184] The size and arrangement of the pictures and / or videos matching each paragraph or each point are determined according to the picture display parameters, the number of pictures in the target picture group and / or the number of videos in the target video group.
[0185] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0186] In response to the information display request, determining the material information and the query type corresponding to the information display request;
[0187] Based on the material information and query type, determine the content display results.
[0188] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0189] Based on the query type, obtain the text, pictures and videos in the material information, and identify the text format of the text, which includes paragraph information or point information of the text;
[0190] Based on the text format, the images and / or videos that match each paragraph or each subpoint in the text are determined to generate content display results.
[0191] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0192] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0193] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0194] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A content display method, characterized in that: The method comprises: In response to the information display request, determining a content display result corresponding to the information display request; the content display result includes graphic and / or video content; Based on the content display parameters that include the graphic, text and / or video content in the content display result and match the content display result, the graphic, text and / or video content is displayed in a fusion manner.
2. The method according to claim 1, characterized in that The content display parameters include text arrangement parameters and / or image display parameters.
3. The method according to claim 1, characterized in that When the content display result includes multiple pictures, after the graphic, text and / or video content is integrated and displayed based on the content display parameters matching the graphic, text and / or video content included in the content display result and the content display result, the method further includes: In response to a triggering operation on a first target image among the multiple images, displaying the first target image on the image details page; or, In response to a triggering operation on a second target image or a batch query option among the multiple images, the multiple images are displayed on the image details page.
4. The method according to claim 2, characterized in that: In the case where the content display parameters include text arrangement parameters and image display parameters, the fusing and displaying of the graphic, text and / or video content based on the content display result including the graphic, text and / or video content and the content display parameters matching the content display result includes: Based on the text arrangement parameters, determining the arrangement of the text in the target text format in the content display result; Based on the image display parameters, determine the size and arrangement of the image and / or video and / or video matching each paragraph or each subpoint in the text; Based on the arrangement of the text, the size and arrangement of the picture and / or video, a content display result corresponding to the information display request is displayed.
5. The method according to claim 4, characterized in that The content display result includes paragraphs or points of the text, and pictures and / or videos matching each paragraph or point; the determining, based on the picture display parameters, the size and arrangement of the pictures and / or videos matching each paragraph or point in the text includes: Determine a target picture group having the largest number of pictures among the picture groups matched by each of the paragraphs or each of the sub-points in the content display result, and / or determine a target video group having the largest number of videos among the video groups matched by each of the paragraphs or each of the sub-points in the content display result; The size and arrangement of the pictures and / or videos matched to each of the paragraphs or each of the points are determined according to the picture display parameters, the number of pictures in the target picture group and / or the number of videos in the target video group.
6. The method according to claim 1, characterized in that The step of determining, in response to the information display request, a content display result corresponding to the information display request includes: In response to an information display request, determining material information and a query type corresponding to the information display request; Based on the material information and the query type, a content display result is determined.
7. The method according to claim 6, characterized in that The determining of the content display result based on the material information and the query type includes: Based on the query type, obtain text, pictures and videos in the material information, and identify the text format of the text, where the text format includes paragraph information or point information of the text; Based on the text format, the pictures and / or videos that match each paragraph or each point in the text are determined to generate a content display result.
8. A content display device, characterized in that: The device comprises: A determination module, configured to determine, in response to an information display request, a content display result corresponding to the information display request; the content display result includes graphic and / or video content; The display module is used to display the graphic, text and / or video content in a fused manner based on the content display parameters matching the graphic, text and / or video content in the content display result.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
