Method and apparatus for displaying image-text content, and storage medium and computer program product
By displaying graphic content in the media stream and displaying the details page in response to user operations, the problem of users' difficulty in obtaining long text information is solved, and the user's convenient access to information is achieved, which improves information transmission efficiency and user experience.
Patent Information
- Application Number
- PCT/SG2024/050266
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2024-04-24
- Publication Date
- 2024-11-07
AI Technical Summary
In media stream-based applications, it is difficult for users to effectively obtain long text information because media streams are mainly presented in pictures and cannot accommodate a large amount of text, resulting in users' demand for deeper information acquisition not being met.
By displaying graphic content in media streams, including pictures and thumbnail text, it can display the detailed page of graphic content in response to user operations. The details page includes pictures and complete text, and uses automatic playback and adaptive scaling technology to maximize image display , and continue to play background music on the details page of the graphic content, and the thumbnail text logo prompts the user to view the full text.
It realizes users' convenient and efficient access to long text information, improves the efficiency and user experience of information transmission, and expands the content types in the media stream through the display of graphic and text content, meeting users' needs for deeper information acquisition.
Smart Images

Figure SG2024050266_07112024_PF_FP_ABST
Abstract
Description
[0001] Cross-Reference to Related Applications This application is based on and claims priority from Chinese application No. 202310484034.1, filed April 28, 2023. The disclosure of that Chinese application is hereby incorporated by reference in its entirety into this application. Technical Field This disclosure relates to the field of terminal technology, and more particularly to a method, apparatus, storage medium, and computer program product for displaying graphic content. Background: In media feed-based applications, users can browse different media releases through convenient switching operations. These media releases typically include videos or graphic content. In graphic content, text is typically short, used to describe an image or other brief information the publisher wishes to convey. SUMMARY According to a first aspect of some embodiments of the present disclosure, a method for displaying graphic content is provided, comprising: displaying graphic content in a media stream, wherein the graphic content includes an image and thumbnail text; receiving a user operation on an image in the graphic content; and displaying a details page for the graphic content in response to a user's designated operation on the image in the graphic content, wherein the details page includes the image and the full text. In some embodiments, the designated operation includes a swipe operation. In some embodiments, the swipe operation in the designated operation has different swipe information from a swipe operation used to switch between different contents in the media stream, and the swipe information includes at least one of a swipe direction and a swipe distance. In some embodiments, the graphic content includes multiple images, and displaying the details page for the graphic content in response to the user's designated operation on the image includes: displaying the details page for the graphic content in response to a user swipe operation on any one of the multiple images. In some embodiments, the graphic content includes multiple images, and in response to a user's designated operation on an image, displaying a details page for the graphic content includes: displaying the details page for the graphic content in response to a user's swiping operation on the last image in the multiple images, wherein the user's swiping operation on a non-last image in the multiple images switches display to adjacent images. In some embodiments, the display method further includes: displaying the graphic content in the media stream in response to a user's return operation on the details page; and not displaying the details page in response to the user's further swiping operation on the image before switching to content other than the graphic content in the media stream. In some embodiments, the designated operation includes a zoom operation. In some embodiments, the designated operation includes a click operation. In some embodiments, displaying the graphic content in the media stream includes: stopping automatic playback of the image in response to a swiping operation on the image in the media stream if the image is automatically playing.In some embodiments, the automatic play state of an image on the details page of graphic content is consistent with the image's last automatic play state before the details page was accessed. In some embodiments, displaying the details page of graphic content includes: on the details page of the graphic content, if the image is automatically playing, stopping the automatic play of the image in response to a swipe operation on the image. In some embodiments, the graphic content also includes background music, and the display method further includes: on the details page of the graphic content, if the automatic play of the image is stopped, continuing to play the background music. In some embodiments, in the media stream, the aspect ratio of the image in the graphic content is less than a first ratio threshold. In some embodiments, in the graphic content, images larger than the first ratio threshold are cropped to the first ratio threshold before being displayed. In some embodiments, in the media stream, the aspect ratio of an image container for holding the image is equal to the first ratio threshold, and the image in the image container is displayed after adaptive scaling. In some embodiments, in the media stream, the image container for holding the image is placed in a ceiling-mounted manner within the media stream interface. In some embodiments, the abbreviated text includes text of a target length and an abbreviated text identifier, wherein the abbreviated text identifier indicates at least one of a prompt to view details, the length of the abbreviated text, and the reading time of the abbreviated text. In some embodiments, the target length is determined based on the proportions of the image. In some embodiments, when the aspect ratio of at least one image in the graphic content exceeds a second ratio threshold, the target length is a first length; when the aspect ratio of at least one image in the graphic content does not exceed the second ratio threshold, the target length is a second length, and the first length is greater than the second length. According to a second aspect of some embodiments of the present disclosure, a device for displaying graphic content is provided, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute any of the aforementioned methods for displaying graphic content based on instructions stored in the memory. According to a third aspect of some embodiments of the present disclosure, a computer-readable storage medium is provided, storing a computer program, wherein when executed by the processor, the program implements any of the aforementioned methods for displaying graphic content. According to a fourth aspect of some embodiments of the present disclosure, a computer program product is provided. When executed on a computer, the computer program product causes the computer to implement any of the aforementioned methods for displaying graphic content. According to a fifth aspect of some embodiments of the present disclosure, a computer program is provided, comprising instructions that, when executed by a processor, cause the processor to perform any of the aforementioned methods for displaying graphic content. Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings.BRIEF DESCRIPTION OF THE DRAWINGS To more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below only illustrate some embodiments of the present disclosure. Persons skilled in the art can derive other drawings based on these drawings without inventive effort. FIG1 is a flowchart illustrating a method for displaying information according to some embodiments of the present disclosure. FIG2A and FIG2B are schematic diagrams illustrating an interface layout of a media stream. FIG3A is a schematic diagram illustrating a page for graphic content. FIG3B is a schematic diagram illustrating a details page for graphic content. FIG4 is a flowchart illustrating an automatic playback control method according to some embodiments of the present disclosure. FIG5 is a schematic diagram illustrating the structure of a device for displaying graphic content according to some embodiments of the present disclosure. FIG6 is a schematic diagram illustrating the structure of a device for displaying graphic content according to other embodiments of the present disclosure. FIG7 is a schematic diagram illustrating the structure of a device for displaying graphic content according to yet other embodiments of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS The following will provide a clear and complete description of the technical solutions in the embodiments of the present disclosure, in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the embodiments described are only some of the embodiments of the present disclosure, and not all of them. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the present disclosure, its application, or use. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present disclosure without inventive effort are intended to be within the scope of protection of the present disclosure. Unless otherwise specified, the relative arrangement of components and steps, numerical expressions, and values described in these embodiments do not limit the scope of the present disclosure. It should also be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn to scale. Technologies, methods, and devices known to persons of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such technologies, methods, and devices should be considered part of this specification. In all examples shown and discussed herein, any specific values should be interpreted as merely illustrative and not limiting. Therefore, other examples of the exemplary embodiments may have different values. It should be noted that similar reference numerals and letters denote similar items in the following figures; therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures. The media stream includes a large amount of media information, and users can switch between different media information by swiping up, swiping down, and other switching operations.In media streams, aside from switching, users are typically presented with one piece of media content at a time to maximize the information delivered by a single piece of media content. Current media content published in applications such as media streams tends to be short videos (videos with a duration less than a video length threshold, for example, less than one minute) and text and graphics with accompanying short text (text length less than a text length threshold). Information mixed with long text and images is rare. Consequently, such applications can help users quickly access more diverse information, increasing the breadth of information dissemination. Analysis of related technologies reveals that some users also require more in-depth information. Graphics and text with long text (text length greater than a text length threshold) can effectively meet these needs. However, media streams primarily present images and cannot accommodate large amounts of text. Therefore, the technical problem addressed by the present disclosure is how to present graphic and text content so that users can conveniently and efficiently access long text information. Figure 1 illustrates a flow chart of an information display method according to some embodiments of the present disclosure. The method of this embodiment can be executed by a terminal, such as a mobile phone, tablet computer, or personal computer. As shown in FIG1 , the information display method of this embodiment includes steps S102 to S104. In step S102, graphic content is displayed in a media stream, where the graphic content includes images and abbreviated text. Graphic content refers to content in a media stream that includes images and text. However, the complete information of the graphic content is long and cannot be fully displayed on the media stream page. The graphic content may include one or more images. In some embodiments, when the graphic content includes multiple images, the multiple images are displayed one by one in the graphic content, for example, by automatically playing them one by one, or by switching and displaying them in response to user operations. In some embodiments, the aspect ratio of the images in the graphic content in the media stream is less than a first ratio threshold. For example, images with aspect ratios less than the first ratio threshold may be cropped and displayed so that the cropped images meet the first ratio threshold. This improves the consistency of image display. In some embodiments, in the media stream, the aspect ratio of a picture container used to carry the image is equal to the first ratio threshold, and the image in the picture container is displayed after adaptive scaling. After scaling, the top and bottom edges of the image touch the top and bottom edges of the picture container, or the left and right edges of the image touch the left and right edges of the picture container, thereby automatically maximizing the image display within the picture container and displaying the largest possible image to the user within a given layout. In some embodiments, the image is centered within the picture container.In some embodiments, images within the graphic content are placed within an image container, which is located at the top of the graphic content display interface, for example, in a ceiling-mounted layout within the media stream interface. A ceiling-mounted layout refers to a layout in which the top edge of the image container touches the top edge of the interface. This approach allows for full screen utilization. In some embodiments, when the interface includes other controls near the top in addition to the image container, these controls can be made to float above the image container to ensure that the image display is not interfered with by these controls. Displaying the image container in a ceiling-mounted layout can, in some cases, create a "full-screen" effect for a portion of the interface. Figures 2A and 2B illustrate two exemplary display effects for images of different scales. In Figures 2A and 2B, media stream interface 2 includes an image container 20, which is located in a ceiling-mounted layout within interface 2. In addition, the interface also includes a "Follow" control 21 and a "Recommend" control 22. A certain graphic content includes images 201 (as shown in FIG. 2A ) and 202 (as shown in FIG. 2B ), both of which are adaptively displayed within an image container 20. As shown in FIG. 2B , the aspect ratio of image 202 exactly matches that of image container 20. Alternatively, image 202 has been cropped because the original image's aspect ratio was greater than that of image container 20, and the cropped image's aspect ratio now matches that of image container 20. In this case, image 202 fills image container 202 and the upper half of interface 2. Because image container 20 is ceiling-mounted, image 202 is also ceiling-mounted. The "Follow" control 21 and the "Recommend" control 22 float above image 202. This creates a "full-screen" display effect in the upper half of interface 2, maximizing the use of interface space and increasing the amount of information provided to the user. In some embodiments, in the preview interface, the abbreviated text is placed within the text container, and the image container is placed above the text container. However, the two may partially overlap. That is, the center of the image container is higher than the center of the text container. In some cases (for example, when the image is tall and occupies a large portion of the interface space), the abbreviated text may appear to float above the image. For information containing long text, directly presenting the entire text in the media stream would significantly impact the layout and interactivity of the media stream. Therefore, for information containing long text, only the image and abbreviated text content is displayed in the media stream. If the user becomes interested in the image and text content, they can browse to its details page to view the full text.In graphic content, abbreviated text refers to text obtained by abridged full text and may, as needed, include some identifier to indicate that it is abbreviated text. For example, abbreviated text may include abridged text starting from the beginning of the full text, or one or more paragraphs of text from the full text automatically determined based on a natural language processing algorithm. The length of the abbreviated text can be determined based on a target length threshold, which may be expressed in units of words, lines, etc. In some embodiments, the abbreviated text includes text of the target length and an abbreviated text identifier. This allows users to view the detailed information page when text display space is limited within the graphic content. The abbreviated text identifier may have a different format (e.g., bold, font, color, background, etc.) from the rest of the text to facilitate user differentiation. The target length text and the abbreviated text identifier may also be connected by a symbol, such as "...", or the abbreviated text identifier may be enclosed in parentheses. In some embodiments, the abbreviated text identifier indicates at least one of a prompt to view details, the length of the abbreviated text, and the reading time of the abbreviated text. The prompt to view details may be, for example, "More" or "See More," indicating that more abbreviated content is available, or "Long Text," indicating the attributes of the graphic content and prompting the user to view the details page. The abbreviated text length refers to the length of the remaining undisplayed text, which can be expressed in terms of words, lines, etc. For example, if a graphic content has 1,500 words and the abbreviated text includes 150 words, then 1,350 words remain abbreviated. The abbreviated text identifier may be "1,350 words," thereby accurately quantifying the length of the remaining text. The reading time of the abbreviated text refers to the reading time required to read the remaining undisplayed text, indicating how much time the user will need to read the entire text. This time can be the average reading time for a population. For example, the reading duration of the abbreviated text can be determined based on the correspondence between word count and reading time in statistical data. For example, if, based on this correspondence, 120 words require 40 seconds to read, then when 360 words are abbreviated, the abbreviated text identifier can be "2 minutes to read" or "2 minutes remaining to read," etc. This allows the remaining information to be intuitively displayed based on the time gap. Other types of abbreviated text identifiers can be used as needed by those skilled in the art, and these will not be discussed further here. In some embodiments, the target length of the abbreviated text is determined based on the proportions of the image. When the proportions of the image leave more space on the current interface, the target length can be increased accordingly.Thus, the length of the displayed text can be adaptively determined based on the image ratio. In some embodiments, if the aspect ratio of at least one image in the graphic content exceeds a second ratio threshold, the target length is a first length; if the aspect ratio of at least one image in the graphic content does not exceed the second ratio threshold, the target length is a second length, and the first length is greater than the second length. In some embodiments, the media stream also includes video content, which includes both the video and the text within the video. This enriches the media types of the media stream. The text within the video is displayed in abbreviated or full format. For example, when the text exceeds the video text length threshold, the abbreviated text is displayed by default. The full text is then displayed after the user triggers the interactive control to display the full content. In some embodiments, if the aspect ratio of at least one image in the graphic content exceeds the second ratio threshold, the abbreviated text is longer than the abbreviated text in the video content. Images with a larger aspect ratio occupy less space in the height direction, allowing for clearer display of more textual content. In other words, in this case, the graphic content can display more text in the media stream than the video content. For example, graphic content in a media stream can display up to eight lines, while video content displays four lines of text by default. This improves information transmission efficiency while also enabling differentiation between different content types. In some embodiments, the second ratio threshold is greater than the first ratio threshold. In step S104, a user operation on an image within the graphic content is received. In step S106, in response to the user's designated operation on the image within the graphic content, a details page for the graphic content is displayed. The details page includes the image and the complete text. When a user performs a designated operation on an image within the graphic content, it may indicate interest in the graphic content. Therefore, the designated operation can trigger the display of the details page. Furthermore, since the image covers a larger area, user operations are more convenient. The designated operation can include one or more types of operations. In some embodiments, the designated operation is an operation commonly used to view images, such as switching images or zooming in and out. Several specific operations are described below by way of example. In some embodiments, the designated operation includes a sliding operation. In some embodiments, the sliding operation has at least one of a target direction and a target distance. For example, in an app that switches images via horizontal swiping, the swiping operation can also be horizontal. This "horizontal" doesn't have to be absolutely horizontal. For example, if the angle between the swiping direction and the horizontal is within a target range, it can be considered horizontal. The target distance can refer to the distance of other swiping operations, or a separate swiping distance can be set, which can also be a range.In some embodiments, the sliding operation in the designated operation has different sliding information from the sliding operation used to switch between different contents in the media stream. The sliding information includes at least one of a sliding direction and a sliding distance. This allows for differentiation from the content switching operation. A sliding operation is typically used to switch between images. When a user wishes to view images other than the currently displayed image within a graphic or textual content, it indicates that the user may be interested in the graphic or textual content, thus triggering the display of a details page. In some embodiments, the sliding operation's scope is the area covered by the currently displayed image or the area covered by the image container. For example, the scope refers to the entire touch range during the sliding operation or the initial touch point of the sliding operation. Those skilled in the art can configure other settings as needed, which will not be detailed here. In some embodiments, the sliding operation is performed on any image, thereby improving the convenience of accessing the details page. In some embodiments, the sliding operation is performed on the last image among multiple images. Sliding operations on images other than the last image do not trigger the display of the details page, but instead switch to displaying adjacent images. Therefore, if it is confirmed that the user has obtained a sufficient amount of information about the graphic content, i.e., has generated a high level of interest, the details page is triggered. Considering that swiping is a relatively frequent operation, to reduce the probability of misoperation, if the details page is accessed via swiping, the first swiping method will no longer trigger the display of the details page after the user returns to the media stream. In some embodiments, in response to the user's return operation on the details page, the graphic content is displayed in the media stream. Before the user switches to content other than the graphic content in the media stream, in response to the user's subsequent swiping operation on an image, the details page is not displayed, and feedback may be omitted or provided to switch to an adjacent image. If the user wishes to access the details page again, they can do so through other methods. Furthermore, if the user switches to other content in the media stream and then switches back to the graphic content, the swiping operation can be used to trigger the display of the details page again. For example, if the media stream displays the graphic content of graphic content A, the user swipes on the image of A to access A's details page. When a user returns to A's details page and returns to A's image and text content in the media stream, if the user has not switched to A's previous content, B, or next content, C, and then swipes on A's image again, they will not be taken to A's details page. In this case, the swipe action can, for example, switch images. If the user switches to B or C, they can swipe to B's or C's details page.When the user switches back to A from B or C, if they swipe on A's image again, A's details page will be displayed. This reduces the likelihood of user errors if the user has finished reading the details page or has lost interest in the content. This method of triggering the display of the details page through a swipe operation is relatively simple and easy to use, thereby improving the interactivity of the displayed graphic content. In some embodiments, the designated operation includes a zoom operation. When a user intends to zoom in on an image, it indicates that the user is interested in the content. A zoom-out operation often follows a zoom-in operation, or a user may perform a zoom-out operation due to improper operation when intending to zoom in. Therefore, a zoom-out operation can also indirectly reflect user interest. The following describes two exemplary detection processes. In some embodiments, the user first touches the screen with two fingers, then zooms in on the image using a pinch gesture. Finally, when the user stops touching the screen, the display of the details page is triggered. In some embodiments, the user first touches the screen with two fingers, then zooms in on the image using a pinch gesture, then zooms out using a pinch gesture. Finally, when the user stops touching the screen, the display of the details page is triggered. That is, after recognizing that the user has performed a zooming operation, the display of the details page can be triggered when the user stops touching the screen. This method of triggering the display of the details page through zooming in and out has a relatively low frequency of operation, reducing the probability of user error, thereby improving the interactivity of the graphic content display. In some embodiments, the designated operation includes a click operation. For example, a user can click any image in the graphic content to enter the details page of the graphic content. This method of triggering the display of the details page through a click operation is more intuitive and easy for users to understand and operate, thereby improving the interactivity of the graphic content display. Figures 3A and 3B illustrate exemplary diagrams of a graphic content page and a details page. In Figure 3A, the graphic content page 31 includes an image container 311 and a text container 312. Image container 311 contains four images, with the second image currently displayed. Text container 312 contains abbreviated text and the abbreviated text label "2 minutes to read." When the user performs a designated operation on the image, the details page 32 shown in Figure 3B is displayed. On details page 32, image container 321 contains four images, with the second image currently displayed. Text container 322 contains complete text. The above embodiment implements a solution for providing users with both graphic and text content within a media stream. Furthermore, abbreviated text is displayed within the media stream, and a details page containing the complete text is displayed in response to a user's specified operation.Thus, when a user is browsing a media stream and is interested in graphic content, they can use convenient and easy-to-understand operations to further understand the complete information of the graphic content, allowing them to conveniently and efficiently obtain long text information. Furthermore, the above embodiments expand the content types within the media stream while minimizing the impact on the overall architecture of the media stream. In some embodiments, images within graphic content can be automatically played, either within the graphic content or on the details page. This means that images are automatically and rotated in their order. Some graphic content may also include background music. Some embodiments of the present disclosure can control the automatic playback of images based on user operations. An embodiment of a method for controlling the automatic playback of images will be described below with reference to FIG4 . FIG4 illustrates a flow diagram of the automatic playback control method according to some embodiments of the present disclosure. As shown in FIG4 , the automatic playback control method of this embodiment includes steps S402 to S404. In step S402, the graphic content is automatically displayed within the media stream. In step S404, the automatic playback of the image is stopped in response to a sliding operation on the image. If the user does not slide the image or perform any other operation to stop the automatic playback of the image, the image continues to play automatically. When entering the details page, whether to continue automatic playback of the image can be determined based on the last state of the image in the graphic content before entering the details page. This state refers to whether the image is playing automatically. That is, the automatic playback state of the image in the details page of the graphic content is consistent with the last automatic playback state of the image before entering the details page. For example, this embodiment may also include steps S406 or S408. In step S406, if the automatic playback of the image in the graphic content was not stopped before entering the details page, the details page is displayed with the image playing automatically. In step S408, in response to an operation to view the next image, the automatic playback of the image is stopped. If the user does not view the next image or perform any other operation to stop the automatic playback of the image, the image continues to play automatically. For another example, this embodiment may also include step S410. In step S410, if automatic playback of images in the graphic content is stopped before entering the details page, the details page is displayed without automatically playing images. When returning to the media stream's graphic content interface from the details page, the automatic playback status of the images in the graphic content can remain consistent with the last status of the images on the details page. In some embodiments, if automatic playback of images is stopped on the graphic content details page, background music continues to play. Thus, music can continue to play regardless of whether automatic playback is stopped.The above-described automatic playback control scheme can maintain consistency in automatic playback within the media stream and on the details page. An embodiment of a display device for graphic content according to the present disclosure will be described below with reference to Figure 5. Figure 5 shows a schematic structural diagram of a display device for graphic content according to some embodiments of the present disclosure. As shown in Figure 5, the display device 50 of this embodiment includes: a first display module 510 configured to display graphic content in a media stream, wherein the graphic content includes images and abbreviated text; a receiving module 520 configured to receive user operations on images within the graphic content; and a second display module 530 configured to display a details page for the graphic content, wherein the details page includes the image and full text, in response to a user's designated operation on an image within the graphic content. In some embodiments, the designated operation includes a sliding operation. In some embodiments, the sliding operation in the designated operation has different sliding information than the sliding operation used to switch between different contents in the media stream, and the sliding information includes at least one of a sliding direction and a sliding distance. In some embodiments, the graphic content includes multiple images, and the second display module 530 is further configured to display a details page for the graphic content in response to a user swiping operation on any one of the multiple images. In some embodiments, the graphic content includes multiple images, and the second display module 530 is further configured to display a details page for the graphic content in response to a user swiping operation on the last image of the multiple images, wherein a user swiping operation on a non-last image of the multiple images switches display to adjacent images. In some embodiments, the first display module 510 is further configured to display the graphic content in the media stream in response to a user returning to the details page; and to not display the details page in response to a user swiping operation on the image again before the user switches to content other than the graphic content in the media stream. In some embodiments, the designated operation includes a zoom operation. In some embodiments, the designated operation includes a click operation. In some embodiments, the first display module 510 is further configured to stop the automatic playback of an image in the media stream in response to a swiping operation on the image. In some embodiments, the automatic playback state of an image on the details page of graphic content is consistent with the image's last automatic playback state before entering the details page. In some embodiments, the second display module 530 is further configured to stop automatic playback of an image in response to a swipe operation on the image when the image is automatically playing on the details page of graphic content.In some embodiments, the graphic content also includes background music, and the display device 50 further includes a music playback module 540 configured to continue playing the background music on the graphic content details page when the automatic playback of the image is stopped. In some embodiments, in the media stream, the aspect ratio of the image in the graphic content is less than a first ratio threshold. In some embodiments, in the media stream, the image container for holding the image is located at the top of the display interface. In some embodiments, the abbreviated text includes text of a target length and an abbreviated text identifier, the abbreviated text identifier indicating at least one of a prompt to view details, the length of the abbreviated text, and the reading time of the abbreviated text. In some embodiments, the target length is determined based on the image ratio. In some embodiments, if the aspect ratio of at least one image in the graphic content is greater than a second ratio threshold, the target length is a first length; if the aspect ratio of at least one image in the graphic content is not greater than the second ratio threshold, the target length is a second length, and the first length is greater than the second length. Figure 6 shows a schematic structural diagram of a display device for graphic content according to other embodiments of the present disclosure. As shown in Figure 6 , the device 60 for displaying graphic content in this embodiment includes a memory 610 and a processor 620 coupled to the memory 610. The processor 620 is configured to execute the method for displaying graphic content in any of the aforementioned embodiments based on instructions stored in the memory 610. The memory 610 may include, for example, system memory, fixed non-volatile storage media, etc. The system memory may store, for example, an operating system, application programs, a boot loader, and other programs. Figure 7 shows a schematic structural diagram of a device for displaying graphic content in accordance with yet other embodiments of the present disclosure. As shown in Figure 7 , the device 70 for displaying graphic content in this embodiment includes a memory 710 and a processor 720. It may also include an input / output interface 730, a network interface 740, a storage interface 750, and the like. These interfaces 730, 740, 750, as well as the memory 710 and the processor 720, may be connected, for example, via a bus 770. The input / output interface 730 provides a connection interface for input / output devices such as a display, mouse, keyboard, and touch screen. Network interface 740 provides a connection interface for various networked devices. Storage interface 750 provides a connection interface for external storage devices such as SD cards and USB flash drives. Embodiments of the present disclosure also provide a computer-readable storage medium storing a computer program, characterized in that when executed by a processor, the program implements any of the aforementioned methods for displaying graphic content.Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable, non-transitory storage media (including, but not limited to, disk storage, CD-ROMs, optical storage, etc.) containing computer-usable program code. The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, such that execution of the instructions by the processor of the computer or other programmable data processing device generates means for implementing the functions specified in one or more processes in the flowcharts and / or one or more blocks in the block diagrams. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, such that the instructions stored in the computer-readable memory generate an article of manufacture including instruction means that implement the functions specified in one or more flow charts and / or one or more blocks in a block diagram. These computer program instructions may also be loaded onto a computer or other programmable data processing device, causing the computer or other programmable device to execute a series of operational steps to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more flow charts and / or one or more blocks in a block diagram. The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure are intended to be included within the scope of protection of the present disclosure.
Claims
Claims 1. A method for displaying graphic content, comprising: Displaying graphic content in a media stream, wherein the graphic content includes a picture and a thumbnail text; receiving a user's operation on a picture in the graphic content; and displaying a detail page of the graphic content in response to the user's designated operation on the picture in the graphic content, wherein the detail page includes the picture and the complete text.
2. The display method according to claim 1, wherein: The designated operation includes a sliding operation.
3. The display method according to claim 2, wherein: The sliding operation in the designated operation and the sliding operation for switching different contents in the media stream have different sliding information, and the sliding information includes at least one of a sliding direction and a sliding distance.
4. The display method according to claim 2 or 3, wherein: The graphic content includes multiple pictures, and the displaying of the detail page of the graphic content in response to the user's designated operation on the pictures includes: displaying the detail page of the graphic content in response to the user's sliding operation on any one of the multiple pictures.
5. The display method according to any one of claims 2 to 4, wherein: The graphic content includes multiple pictures, and the display of the details page of the graphic content in response to the user's specified operation on the pictures includes: displaying the details page of the graphic content in response to the user's sliding operation on the last picture among the multiple pictures, wherein the user's sliding operation on a non-last picture among the multiple pictures is used to switch display of adjacent pictures of the picture.
6. The display method according to any one of claims 2 to 5, further comprising: In response to a return operation of the user in the detail page, displaying the graphic content in a media stream; Before the user switches to other content in the media stream except the graphic content, in response to the user performing a sliding operation on the picture again, the detail page is not displayed.
7. The display method according to any one of claims 1 to 6, wherein: The specified operation includes a scaling operation.
8. The display method according to any one of claims 1 to 7, wherein: The designated operation includes a click operation.
9. The display method according to any one of claims 1 to 8, wherein: The displaying of graphic content in the media stream includes: in the media stream, when the picture is automatically played, in response to a sliding operation on the picture, stopping the automatic playing of the picture.
10. The display method according to any one of claims 1 to 9, wherein: The automatic play state of the image in the details page of the graphic content is consistent with the last automatic play state of the image before entering the details page.
11. The display method according to claim 10, wherein: The displaying of the details page of the graphic content includes: in the details page of the graphic content, in the case of automatically playing the picture, in response to a sliding operation on the picture, stopping the automatic playing of the picture.
12. The display method according to claim 11, wherein: The graphic content also includes background music, and the display method further includes: in the details page of the graphic content, when the automatic playing of the picture is stopped, the background music continues to be played.
13. The display method according to any one of claims 1 to 12, wherein: In the media stream, the aspect ratio of the picture in the graphic content is smaller than a first ratio threshold.
14. The display method according to claim 13, wherein: In the graphic content, pictures larger than the first ratio threshold are cropped to the first ratio threshold and then displayed.
15. The display method according to claim 13, wherein: In the media stream, the aspect ratio of a picture container for carrying the picture is equal to the first ratio threshold, and the picture in the picture container is displayed after being adaptively scaled.
16. The display method according to any one of claims 1 to 15, wherein: In the media stream, a picture container for carrying the picture is arranged in a ceiling-mounted manner in the interface of the media stream.
17. The display method according to any one of claims 1 to 16, wherein: The abbreviated text includes a text of a target length and an abbreviated text identifier, wherein the abbreviated text identifier indicates at least one of a prompt for viewing details, a length of the abbreviated text, and a reading time of the abbreviated text.
18. The display method according to claim 17, wherein: The target length is determined according to the ratio of the image.
19. The display method according to claim 18, wherein: When the aspect ratio of at least one picture of the graphic content is greater than a second ratio threshold, the target length is the first length; When the aspect ratio of at least one picture of the graphic content is not greater than a second ratio threshold, the target length is the second length, and the first length is greater than the second length.
20. A display device for graphic content, comprising: Memory; and a processor coupled to the memory, wherein the processor is configured to execute the method for displaying graphic content according to any one of claims 1 to 19 based on instructions stored in the memory.
21. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method for displaying graphic content according to any one of claims 1 to 19 is implemented.
22. A computer program product, when the computer program product is run on a computer, 16 A computer implements the method for displaying graphic content as described in any one of claims 1 to 19.
23. A computer program comprising: An instruction, which, when executed by a processor, causes the processor to execute the method for displaying graphic content according to any one of claims 1 to 19. 17
Citation Information
Patent Citations
Method and device for continuing to display views after page switching
CN107341018A
Video display method and device, electronic equipment, server and storage medium
CN112367559A
Interface information switching method and device, electronic equipment and storage medium
CN113115096A
Video display method and device, electronic equipment and readable storage medium
CN113965792A
Video processing method and device, equipment and storage medium
CN114760516A
