CN113238828A - Content display method, device, equipment and storage medium - Google Patents

Content display method, device, equipment and storage medium Download PDF

Info

Publication number
CN113238828A
CN113238828A CN202110570785.6A CN202110570785A CN113238828A CN 113238828 A CN113238828 A CN 113238828A CN 202110570785 A CN202110570785 A CN 202110570785A CN 113238828 A CN113238828 A CN 113238828A
Authority
CN
China
Prior art keywords
multimedia
multimedia resource
resources
resource
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110570785.6A
Other languages
Chinese (zh)
Other versions
CN113238828B (en
Inventor
宋龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110570785.6A priority Critical patent/CN113238828B/en
Publication of CN113238828A publication Critical patent/CN113238828A/en
Application granted granted Critical
Publication of CN113238828B publication Critical patent/CN113238828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a content display method, a content display device, a content display apparatus and a content display storage medium, and relates to the field of content community application. The content display method includes: receiving a first switching operation implemented on a display page of a first multimedia resource; if the first multimedia resource is the last multimedia resource in the target set, acquiring and displaying a second multimedia resource corresponding to the first switching operation from the multimedia resources to be displayed; the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence.

Description

Content display method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of content community applications, and in particular, to a content display method, device, apparatus, and storage medium.
Background
For short video type applications, a video stream corresponding to the viewing preference may be recommended to the user according to the viewing preference of the user. The video stream comprises a plurality of videos, and after receiving the video stream, the terminal can respond to the switching operation such as up/down sliding performed by the user to switch and display the videos in the video stream.
The video stream may include a collection video. The video collection is a collection formed by editing a certain video into a plurality of videos and distributing the videos for a plurality of times; or multiple releases of a collection of video related to the same event or type of event.
If the video stream comprises the video of the collection and the ordinary video (namely, the video of the non-collection), when a user performs switching operations such as up/down sliding and the like, the terminal cannot switch and display the video in the video of the collection; or only one video in the video collection is displayed.
When a user wants to view the videos in the video album, the user needs to click to enter a video stream page of the video album, and view the videos in the video album through switching operations such as up/down sliding. When the user wants to view the common video again, the user needs to exit from the video stream page of the video of the collection, and view the common video again through switching operations such as sliding up/down and the like. This results in a complicated operation procedure when the user watches the video, thereby reducing the user experience.
Disclosure of Invention
The present disclosure provides a content display method, apparatus, device, and storage medium, which can display each video of a common video and a collective video when a user performs a switching operation such as an up/down slide, and enrich user experience.
The technical scheme of the embodiment of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a content display method, which may be applied to a terminal. The method can comprise the following steps: receiving a first switching operation implemented on a display page of a first multimedia resource; if the first multimedia resource is the last multimedia resource in the target set, acquiring and displaying a second multimedia resource corresponding to the first switching operation from the multimedia resources to be displayed; the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence.
Optionally, before the receiving the first switching operation performed on the display page of the first multimedia resource, the method further includes: receiving a second handover operation performed at a third multimedia asset; if the third multimedia resource is a multimedia resource outside the target collection, acquiring and displaying a fourth multimedia resource corresponding to the second switching operation from the multimedia resources to be displayed; the fourth multimedia resource is a multimedia resource in the target set; the display sequence of the third multimedia resource is adjacent to that of the fourth multimedia resource; receiving a third handover operation performed on a fourth multimedia resource; if the fourth multimedia resource is a target set, acquiring and displaying a fifth multimedia resource corresponding to the third switching operation from the multimedia resources to be displayed except the last multimedia resource; the fifth multimedia resource is a multimedia resource in the target set, which is adjacent to the display order of the fourth multimedia resource.
Optionally, before the receiving is performed in the second handover operation of the third multimedia resource, the method further includes: receiving multimedia resources to be displayed and a display sequence of the multimedia resources to be displayed, which are sent by a server; the multimedia resource to be displayed comprises: a first multimedia asset, a second multimedia asset, a third multimedia asset, a fourth multimedia asset and a fifth multimedia asset; and storing the multimedia resources to be displayed in a cache of the terminal in an array form.
Optionally, if the multimedia resources to be displayed include a target set, and the multimedia resources in the target set are a first multimedia resource, a fourth multimedia resource, and a fifth multimedia resource, the display order of the multimedia resources to be displayed sequentially is: a third multimedia asset, a fourth multimedia asset, a fifth multimedia asset, a first multimedia asset, and a second multimedia asset.
Optionally, if the multimedia resource to be displayed does not include all multimedia resources in the target set; the method for storing the multimedia resources to be displayed in the cache of the terminal in the form of an array specifically includes: acquiring a multimedia resource type of each multimedia resource in the multimedia resources to be displayed; the multimedia resource types include: a collection type and a non-collection type; grouping the multimedia resources to be displayed based on the multimedia resource type of each multimedia resource and the display sequence of the multimedia resources to be displayed to obtain at least two groups of multimedia resources; the at least two groups of multimedia assets comprise a first group of multimedia assets and a second group of multimedia assets; the first group of multimedia resources and the second group of multimedia resources are any two groups of multimedia resources which are adjacent in sequence; the multimedia resource type of the last multimedia resource in the first group of multimedia resources is a collection type; at least two groups of multimedia resources are respectively stored in different partitions of the cache in an array form.
Optionally, if the last multimedia resource in the first group of multimedia resources is a fourth multimedia resource; the method for acquiring and displaying the fifth multimedia resource corresponding to the third switching operation specifically includes: sending a first data request to a server; the first data request is used for requesting to acquire the display sequence of the target set, other multimedia resources except the fourth multimedia resource and other multimedia resources except the fourth multimedia resource; receiving a first subset sent by a server and a display sequence of multimedia resources in the first subset; the first subset includes: at least one multimedia resource of the other multimedia resources except the fourth multimedia resource in the target aggregate; acquiring a multimedia resource which is adjacent to the fourth multimedia resource and corresponds to the third switching operation from the first subset based on the display sequence of the multimedia resources in the first subset, and determining the multimedia resource as a fifth multimedia resource; and displaying the fifth multimedia resource.
Optionally, if the number of the multimedia resources in the first subset is smaller than the number of other multimedia resources in the target aggregation except the fourth multimedia resource; after the above-mentioned "receiving the first subset sent by the server and the display order of the multimedia resources in the first subset", the method further includes: sending a second data request to the server; the second data request is used for requesting to acquire the display sequence of the target aggregate, other multimedia resources except the fourth multimedia resource and the first subset, and other multimedia resources except the fourth multimedia resource and the first subset; receiving the second subset and the display sequence of the multimedia resources in the second subset sent by the server; the second subset includes: at least one multimedia asset of the other multimedia assets in the target collection, except for the fourth multimedia asset and the first subset.
Optionally, if the number of multimedia resources in the second subset is equal to the number of other multimedia resources in the target set, excluding the fourth multimedia resource and the first subset; after the step of receiving the second subset sent by the server and the display order of the multimedia resources in the second subset, the method further includes: determining a display order of the multimedia resources to be displayed based on the display order of the first group of multimedia resources, the display order of the second group of multimedia resources, the display order of the multimedia resources in the first subset and the display order of the multimedia resources in the second subset; the display sequence of the multimedia resources to be displayed is as follows: a first set of multimedia assets, multimedia assets in the first subset, multimedia assets in the second subset, and a second set of multimedia assets.
According to a second aspect of the embodiments of the present disclosure, there is provided a content display apparatus that can be applied to a terminal. The apparatus may include: a receiving unit and a display unit; a receiving unit, configured to receive a first switching operation implemented on a display page of a first multimedia resource; the display unit is used for acquiring and displaying a second multimedia resource corresponding to the first switching operation from the multimedia resources to be displayed if the first multimedia resource is the last multimedia resource in the target set; the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence.
Optionally, the receiving unit is further configured to receive a second handover operation implemented on a third multimedia resource; the display unit is further used for acquiring and displaying a fourth multimedia resource corresponding to the second switching operation from the multimedia resources to be displayed if the third multimedia resource is a multimedia resource outside the target collection; the fourth multimedia resource is a multimedia resource in the target set; the display order of the first multimedia resource and the fourth multimedia resource is adjacent; a receiving unit, further configured to receive a third switching operation implemented in a fourth multimedia resource; the display unit is further used for acquiring and displaying a fifth multimedia resource corresponding to the third switching operation from the multimedia resources to be displayed if the fourth multimedia resource is a target set and is a multimedia resource except the last multimedia resource; the fifth multimedia resource is a multimedia resource in the target set, which is adjacent to the display order of the first multimedia resource.
Optionally, the receiving unit is further configured to receive the multimedia resource to be displayed and a display sequence of the multimedia resource to be displayed, where the display sequence is sent by the server; the multimedia resource to be displayed comprises: a first multimedia asset, a second multimedia asset, a third multimedia asset, a fourth multimedia asset and a fifth multimedia asset; the content display apparatus further includes: a storage unit; and the storage unit is used for storing the multimedia resources to be displayed in the cache of the terminal in an array form.
Optionally, if the multimedia resources to be displayed include a target set, and the multimedia resources in the target set are a first multimedia resource, a fourth multimedia resource, and a fifth multimedia resource, the display order of the multimedia resources to be displayed sequentially is: a third multimedia asset, a fourth multimedia asset, a fifth multimedia asset, a first multimedia asset, and a second multimedia asset.
Optionally, if the multimedia resource to be displayed does not include all multimedia resources in the target set; a storage unit, specifically configured to: acquiring a multimedia resource type of each multimedia resource in the multimedia resources to be displayed; the multimedia resource types include: a collection type and a non-collection type; grouping the multimedia resources to be displayed based on the multimedia resource type of each multimedia resource and the display sequence of the multimedia resources to be displayed to obtain at least two groups of multimedia resources; the at least two groups of multimedia assets comprise a first group of multimedia assets and a second group of multimedia assets; the first group of multimedia resources and the second group of multimedia resources are any two groups of multimedia resources which are adjacent in sequence; the multimedia resource type of the last multimedia resource in the first group of multimedia resources is a collection type; at least two groups of multimedia resources are respectively stored in different partitions of the cache in an array form.
Optionally, if the last multimedia resource in the first group of multimedia resources is a fourth multimedia resource; a display unit, specifically configured to: sending a first data request to a server; the first data request is used for requesting to acquire the display sequence of the target set, other multimedia resources except the fourth multimedia resource and other multimedia resources except the fourth multimedia resource; receiving a first subset sent by a server and a display sequence of multimedia resources in the first subset; the first subset includes: at least one multimedia resource of the other multimedia resources except the fourth multimedia resource in the target aggregate; acquiring a multimedia resource which is adjacent to the fourth multimedia resource and corresponds to the third switching operation from the first subset based on the display sequence of the multimedia resources in the first subset, and determining the multimedia resource as a fifth multimedia resource; and displaying the fifth multimedia resource.
Optionally, if the number of the multimedia resources in the first subset is smaller than the number of other multimedia resources in the target aggregation except the fourth multimedia resource; the content display apparatus further includes: a transmitting unit; a sending unit, configured to send a second data request to the server; the second data request is used for requesting to acquire the display sequence of the target aggregate, other multimedia resources except the fourth multimedia resource and the first subset, and other multimedia resources except the fourth multimedia resource and the first subset; the receiving unit is further used for receiving the second subset and the display sequence of the multimedia resources in the second subset, which are sent by the server; the second subset includes: at least one multimedia asset of the other multimedia assets in the target collection, except for the fourth multimedia asset and the first subset.
Optionally, if the number of multimedia resources in the second subset is equal to the number of other multimedia resources in the target set, excluding the fourth multimedia resource and the first subset; the content display apparatus further includes: a determination unit; the display control device comprises a determining unit, a display unit and a display unit, wherein the determining unit is used for determining the display sequence of the multimedia resources to be displayed based on the display sequence of the first group of multimedia resources, the display sequence of the second group of multimedia resources, the display sequence of the multimedia resources in the first subset and the display sequence of the multimedia resources in the second subset; the display sequence of the multimedia resources to be displayed is as follows: a first set of multimedia assets, multimedia assets in the first subset, multimedia assets in the second subset, and a second set of multimedia assets.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having instructions stored thereon, which, when executed by a processor of a terminal, enable the terminal to perform any one of the above-mentioned optional content display methods of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which includes computer instructions that, when run on a terminal, cause the terminal to perform the content display method according to any one of the optional implementations of the second aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
based on any one of the above aspects, in the present disclosure, after receiving the first switching operation implemented on the display page of the first multimedia resource, if the first multimedia resource is the last multimedia resource in the target set, the second multimedia resource corresponding to the first switching operation is acquired from the multimedia resources to be displayed and displayed. Wherein the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence. In this way, the terminal may switch the display from the collective multimedia resource to the non-collective multimedia resource (e.g., switch the display from the first multimedia resource to the second multimedia resource) after receiving the switching operation. Under the condition, the user can sequentially check each multimedia resource in the non-aggregation multimedia resources and the aggregation multimedia resources only by executing switching operations such as upward/downward sliding and the like, so that the smooth effect is realized, and the user experience is enriched.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present disclosure;
fig. 2 is a flow chart illustrating a content display method provided by an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating a further method for displaying content according to an embodiment of the disclosure;
FIG. 4 is a flow chart illustrating a further method for displaying content according to an embodiment of the disclosure;
FIG. 5 is a flow chart illustrating a further method for displaying content according to an embodiment of the disclosure;
FIG. 6 is a flow chart illustrating a further method for displaying content according to an embodiment of the disclosure;
FIG. 7 is a flow chart illustrating a further method for displaying content according to an embodiment of the disclosure;
FIG. 8 is a flow chart illustrating a further method for displaying content according to an embodiment of the disclosure;
FIG. 9 is a flow chart illustrating a further method for displaying content according to an embodiment of the disclosure;
fig. 10 is a schematic structural diagram illustrating a content display device according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a terminal provided in an embodiment of the present disclosure;
fig. 12 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components.
The data to which the present disclosure relates may be data that is authorized by a user or sufficiently authorized by parties.
As described in the background art, when a user wants to view a video in a video album, the user needs to click into a video stream page of the video album, and view the video in the video album by a switching operation such as up/down sliding. When the user wants to view the common video again, the user needs to exit from the video stream page of the video of the collection, and view the common video again through switching operations such as sliding up/down and the like. This results in a complicated operation procedure when the user watches the video, thereby reducing the user experience.
Based on this, an embodiment of the present disclosure provides a content display method, where after a first switching operation implemented on a display page of a first multimedia resource is received, if the first multimedia resource is a last multimedia resource in a target set, a second multimedia resource corresponding to the first switching operation is acquired from multimedia resources to be displayed and displayed. Wherein the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence. In this way, the terminal may switch the display from the collective multimedia resource to the non-collective multimedia resource (e.g., switch the display from the first multimedia resource to the second multimedia resource) after receiving the switching operation. Under the condition, the user can sequentially check each multimedia resource in the non-aggregation multimedia resources and the aggregation multimedia resources only by executing switching operations such as upward/downward sliding and the like, so that the smooth effect is realized, and the user experience is enriched.
The content display method provided by the embodiment of the disclosure is exemplarily described below with reference to the accompanying drawings:
fig. 1 is a schematic diagram of a communication system according to an embodiment of the present disclosure, as shown in fig. 1, the communication system may include: a server 110 and a terminal 120, wherein the server 110 can be connected with the terminal 120 through a wired network or a wireless network.
The server 110 may be a data server of some multimedia resource service platform, and may be used for storing and processing multimedia resources. For example, the multimedia resource service platform may be a short video application service platform, a news service platform, a live broadcast service platform, a shopping service platform, a take-away service platform, a shared service platform, a functional website, and the like. The multimedia resources provided by the short video application service platform can be some short video works, the multimedia resources provided by the news service platform can be some news information, the multimedia resources provided by the live broadcast service platform can be live broadcast works and the like, and the rest are not repeated one by one. The present disclosure is not limited to a particular type of multimedia asset service platform.
In the present disclosure, the server 110 may include a plurality of short video application service platforms, each of which uniquely corresponds to one application program. The application program is installed on the terminal and displays the multimedia resources on a content display interface of the terminal. The server 110 is mainly configured to store data related to a content community application installed on the terminal 120, and may send corresponding data to the terminal when receiving a data acquisition request sent by the terminal 120.
In some embodiments, the server 110 may be a single server or a server cluster composed of a plurality of servers. In some embodiments, the server cluster may also be a distributed cluster. The present disclosure is also not limited to a particular implementation of the server 110.
In still other embodiments, the server 110 may further comprise or be coupled to a database in which the multimedia assets of the multimedia asset service platform may be stored. The terminal 120 may perform an access operation to the multimedia resource in the database through the server 110.
The terminal 120 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) Virtual Reality (VR) device, and the like, which can install and use a content community application (e.g., a fast hand), and the specific form of the terminal is not particularly limited by the present disclosure. The system can be used for man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment and the like.
Alternatively, in the communication system shown in fig. 1, the server 110 may be connected to at least one terminal 120. The present disclosure is not limited to the number or type of terminals 120.
The content display method provided by the embodiment of the present disclosure may be applied to the terminal in the application scenario shown in fig. 1.
As shown in fig. 2, when the content display method is applied to a terminal, the content display method may include: S201-S203.
S201, a terminal receives a first switching operation implemented on a display page of a first multimedia resource;
specifically, the user account may perform a play operation when using a short video type application. And the terminal responds to the play operation executed by the user account and displays the first multimedia resource.
Optionally, the playing operation may be that the user account clicks a display icon of the application program to start the application program. In this case, the terminal starts the application and directly displays the first multimedia asset in response to the play operation performed by the user account.
Optionally, the playing operation may be that the user account clicks the first multimedia resource in the search list.
Specifically, after the application program is started, the user account may click a search control in the application program, and input a search word to perform a search operation. In this case, the terminal displays a search list corresponding to the search word. Subsequently, the user account may select a multimedia resource (e.g., a first multimedia resource) of interest to the user from the search list, and perform a click operation. And the terminal responds to the click operation executed by the user and displays the first multimedia resource.
Optionally, the playing operation may be a user account clicking a collection of multimedia resources. In this case, the terminal displays one multimedia asset of the collective multimedia assets.
In the process of playing the first multimedia resource, if the user wants to switch to watch the next or previous multimedia resource, the first switching operation can be executed on the display page of the first multimedia resource. In this case, the terminal receives a first switching operation implemented on a display page of a first multimedia asset.
Optionally, the switching operation may be an operation such as sliding up/down, or other switching operations, which is not limited in this disclosure.
S202, if the first multimedia resource is the last multimedia resource in the target aggregation, the terminal acquires and displays a second multimedia resource corresponding to the first switching operation from the multimedia resources to be displayed.
Wherein the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence.
Specifically, the terminal may receive a plurality of multimedia resources to be displayed in advance, and store the received multimedia resources to be displayed in the cache of the terminal.
Optionally, the terminal may store the multimedia resource to be displayed in the cache in an array form. Because the array is an ordered element sequence, the terminal can store the multimedia resources to be displayed in the cache in the form of the array according to the display sequence of the multimedia resources to be displayed.
And the multimedia resources to be displayed comprise a first multimedia resource and a second multimedia resource. The user account may perform a play operation while using the short video type application. And the terminal responds to the play operation executed by the user account, acquires the first multimedia resource from the cache and displays the first multimedia resource.
In the process of displaying the first multimedia resource, the user account may further perform a switching operation on a display page on which the first multimedia resource is displayed. In this case, after receiving the first switching operation performed on the display page of the first multimedia resource, if the first multimedia resource is the last multimedia resource in the target set, the terminal acquires and displays the second multimedia resource corresponding to the first switching operation from the multimedia resources to be displayed.
Generally, when the user account performs the switching operation of the upward sliding, the terminal may switch the next multimedia resource in response to the user account performing the upward sliding operation. Correspondingly, when the user account performs the switching operation of the downward sliding, the terminal can respond to the user account to perform the downward sliding operation and switch the last multimedia resource.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S201 to S202, after receiving the first switching operation performed on the display page of the first multimedia resource, if the first multimedia resource is the last multimedia resource in the target set, the second multimedia resource corresponding to the first switching operation is acquired from the multimedia resources to be displayed and displayed. Wherein the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence. In this way, the terminal may switch the display from the collective multimedia resource to the non-collective multimedia resource (e.g., switch the display from the first multimedia resource to the second multimedia resource) after receiving the switching operation. Under the condition, the user can sequentially check each multimedia resource in the non-aggregation multimedia resources and the aggregation multimedia resources only by executing switching operations such as upward/downward sliding and the like, so that the smooth effect is realized, and the user experience is enriched.
In an embodiment, as shown in fig. 3 in conjunction with fig. 2, before S201 described above, the content display method further includes S301 to S304.
S301, the terminal receives a second switching operation performed on a third multimedia resource.
Specifically, in the process of displaying the third multimedia resource, if the user wants to view the next multimedia resource, the user account may perform the second switching operation on the display page on which the third multimedia resource is displayed. In this case, the terminal receives a second switching operation implemented on the display page of the third multimedia asset.
And S302, if the third multimedia resource is a multimedia resource out of the target collection, the terminal acquires and displays a fourth multimedia resource corresponding to the second switching operation from the multimedia resources to be displayed.
Wherein, the fourth multimedia resource is a multimedia resource in the target set; the third multimedia asset and the fourth multimedia asset are displayed sequentially adjacent to each other.
Specifically, after receiving a second switching operation performed on a third multimedia resource, if the third multimedia resource is a multimedia resource outside the target collection, the terminal acquires and displays a fourth multimedia resource corresponding to the second switching operation from the multimedia resources to be displayed.
Since the third multimedia resource is a multimedia resource outside the target aggregation, the fourth multimedia resource is a multimedia resource in the target aggregation, and the display order of the third multimedia resource and the fourth multimedia resource is adjacent, the terminal can display the common non-aggregation multimedia resource (such as the third multimedia resource) and can also display the multimedia resource in the target aggregation (such as the fourth multimedia resource) after receiving the switching operation. In this case, when the user account performs switching operations such as up/down sliding, the terminal can display the multimedia resource in the target set, and also can display a certain multimedia resource in the target set, thereby enriching the user experience.
S303, the terminal receives a third switching operation performed on a fourth multimedia resource.
Specifically, in the process of displaying the fourth multimedia resource, if the user wants to view the next multimedia resource, the user account may perform the third switching operation on the display page on which the fourth multimedia resource is displayed. In this case, the terminal receives a third switching operation implemented on the display page of the fourth multimedia asset.
And S304, if the fourth multimedia resource is the multimedia resource except the last multimedia resource in the target aggregation, the terminal acquires and displays a fifth multimedia resource corresponding to the third switching operation from the multimedia resources to be displayed.
And the fifth multimedia resource is a multimedia resource in the target aggregate and adjacent to the display sequence of the fourth multimedia resource.
Specifically, after receiving a third switching operation performed on a fourth multimedia resource, if the fourth multimedia resource is a target set, and the fourth multimedia resource is a multimedia resource other than the last multimedia resource, the terminal acquires and displays a fifth multimedia resource corresponding to the third switching operation from the multimedia resources to be displayed.
Since the fourth multimedia resource is a multimedia resource in the target set, and the fifth multimedia resource is a multimedia resource in the target set adjacent to the display order of the fourth multimedia resource, the terminal may display each multimedia resource (e.g., the fourth multimedia resource and the fifth multimedia resource) in the target set after receiving the switching operation. In this case, when the user account performs a switching operation such as up/down sliding, the terminal may display each multimedia resource in the target collection, enriching the user experience.
Exemplarily, with reference to fig. 2 and fig. 3, it is preset that the first multimedia resource is a last video M in the target collection, the second multimedia resource is a normal video a, the third multimedia resource is a normal video B, the fourth multimedia resource is a collection video a in the target collection video, and the fifth multimedia resource is a collection video B in the target collection video. There are M videos in the target collection.
In the process of displaying the third multimedia resource, if the user performs the operation of sliding upwards all the time (corresponding to switching the next video), the terminal sequentially displays the third multimedia resource (common video B), the fourth multimedia resource (aggregate video a), the fifth multimedia resource (aggregate video B), …, the first multimedia resource (aggregate video M), and the second multimedia resource (common video a).
In this way, the user can sequentially watch each video in the common video and the collective video by performing the switching operation of the upward sliding (i.e. the sliding operation) for multiple times, thereby enriching the user experience.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S301-S304, since the third multimedia resource is a multimedia resource outside the target set, the fourth multimedia resource is a multimedia resource in the target set, the display sequence of the third multimedia resource is adjacent to that of the fourth multimedia resource, the fourth multimedia resource is a multimedia resource in the target set, and the fifth multimedia resource is a multimedia resource in the target set adjacent to that of the fourth multimedia resource, the terminal can switch the display from the non-aggregate multimedia resource to the aggregate multimedia resource (e.g., switch the display from the third multimedia resource to the fourth multimedia resource), switch each multimedia resource in the display aggregate multimedia resource (e.g., switch the display from the fourth multimedia resource to the fifth multimedia resource), and switch the display from the aggregate multimedia resource to the non-aggregate multimedia resource (e.g., switch the display from the first multimedia resource to the second multimedia resource) Source). Under the condition, the user can sequentially check each multimedia resource in the non-aggregation multimedia resources and the aggregation multimedia resources only by executing switching operations such as upward/downward sliding and the like, so that the smooth effect is realized, and the user experience is enriched.
In an embodiment, as shown in fig. 4 in conjunction with fig. 3, before S301, the content display method further includes S401-S402.
S401, the terminal receives the multimedia resource to be displayed and the display sequence of the multimedia resource to be displayed, which are sent by the server.
The multimedia resource to be displayed comprises: a first multimedia asset, a second multimedia asset, a third multimedia asset, a fourth multimedia asset, and a fifth multimedia asset.
Specifically, the terminal may receive the multimedia resource to be displayed and the display sequence of the multimedia resource to be displayed, which are sent by the server, before the second switching operation of the third multimedia resource is performed.
For example, when the terminal starts the application program, it may send a data request to the server to request to acquire the multimedia resource to be displayed. And after receiving the data request sent by the terminal, the server sends the multimedia resource to be displayed to the terminal. Correspondingly, the terminal receives the multimedia resource to be displayed sent by the server.
Optionally, if the multimedia resources to be displayed include the target set, and the multimedia resources in the target set are the first multimedia resource, the fourth multimedia resource, and the fifth multimedia resource, the display order of the multimedia resources to be displayed sequentially is: a third multimedia asset, a fourth multimedia asset, a fifth multimedia asset, a first multimedia asset, and a second multimedia asset. Therefore, after receiving the switching operation, the terminal can read the multimedia resource which corresponds to the switching operation and is adjacent to the display sequence of the multimedia resource displayed in the current multimedia resource display page from the cache, and the display efficiency of the multimedia resource is improved.
S402, the terminal stores the multimedia resources to be displayed in the cache of the terminal in an array form.
Specifically, after receiving the multimedia resource to be displayed and the display sequence of the multimedia resource to be displayed, which are sent by the server, the terminal may store the multimedia resource to be displayed in the cache of the terminal in the form of an array. Because the array is an ordered element sequence, the terminal can store the multimedia resources to be displayed in the cache in the form of the array according to the display sequence of the multimedia resources to be displayed.
The technical scheme provided by the embodiment at least has the following beneficial effects: S301-S302 show that the terminal can receive the multimedia resources to be displayed and the display sequence of the multimedia resources to be displayed sent by the server in advance, and store the multimedia resources to be displayed in the cache of the terminal in the form of an array. Since the multimedia resources to be displayed include: the first multimedia resource, the second multimedia resource, the third multimedia resource, the fourth multimedia resource and the fifth multimedia resource, so that the terminal can read the multimedia resource corresponding to the switching operation from the cache after receiving the switching operation, and the display efficiency of the multimedia resource is improved.
In an embodiment, with reference to fig. 4, as shown in fig. 5, if the multimedia resource to be displayed does not include all multimedia resources in the target set; in the above S402, the method for the terminal to store the multimedia resource to be displayed in the buffer of the terminal in the form of an array specifically includes:
s501, the terminal obtains the multimedia resource type of each multimedia resource in the multimedia resources to be displayed.
Wherein, the multimedia resource types include: a collection type and a non-collection type.
Specifically, when the server sends the multimedia resources to be displayed to the terminal, an identifier may be added to each multimedia resource to indicate the multimedia resource type of each multimedia resource.
Illustratively, the server may add an identifier of "1" for the collection-type multimedia asset. I.e., the identifier of "1" is used to indicate that the multimedia asset type of the multimedia asset is a collection type. Accordingly, the server may add an identifier of "0" for a non-aggregation type multimedia asset. I.e., the identifier of "0" is used to indicate that the multimedia resource type of the multimedia resource is a non-aggregation type.
S502, the terminal groups the multimedia resources to be displayed based on the multimedia resource type of each multimedia resource and the display sequence of the multimedia resources to be displayed so as to obtain at least two groups of multimedia resources.
After the multimedia resource type of each multimedia resource in the to-be-displayed multimedia resources is acquired, the to-be-displayed multimedia resources do not include all multimedia resources in the target set, so that the terminal can group the multiple multimedia resources based on the multimedia resource type of each multimedia resource and the display sequence of the multiple multimedia resources to obtain at least two groups of multimedia resources under the condition that the to-be-displayed multimedia resources only include the first multimedia resource in the target set.
Wherein the at least two groups of multimedia resources comprise a first group of multimedia resources and a second group of multimedia resources; the first group of multimedia resources and the second group of multimedia resources are any two groups of multimedia resources which are adjacent in sequence; the multimedia asset type of the last multimedia asset in the first set of multimedia assets is a collection type.
Illustratively, the multimedia assets to be displayed include: normal video a, aggregate video a, and normal video B. The display sequence of the three videos is a common video A, a collection video A and a common video B in sequence. In this case, the terminal may divide the normal video a, the collection video a, and the normal video B into two groups. Wherein the first set of multimedia resources is: a normal video A and a collection video A; the second set of multimedia resources is: and a normal video B.
S503, the terminal stores at least two groups of multimedia resources in different partitions of the cache in an array form.
Specifically, after the multimedia resources to be displayed are grouped based on the multimedia resource type of each multimedia resource and the display sequence of the multimedia resources to be displayed to obtain at least two groups of multimedia resources, the terminal respectively stores the at least two groups of multimedia resources in different cached partitions in an array form.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S501 to S503, if the terminal receives that the plurality of multimedia resources sent by the server do not include all multimedia resources in the target set, the terminal may obtain a multimedia resource type of each multimedia resource in the multimedia resources to be displayed, then group the multimedia resources to be displayed based on the multimedia resource type of each multimedia resource and a display sequence of the multimedia resources to be displayed, so as to obtain at least two groups of multimedia resources, and store the at least two groups of multimedia resources in different partitions of the cache in an array form. Therefore, the terminal can divide the multimedia resources to be displayed into at least two groups, and store the multimedia resources to be displayed in the cache of the terminal in an array form, so that the subsequent terminal can obtain the multimedia resources except the first multimedia resource in the target set, and determine the combination of the multimedia resources except the first multimedia resource and the at least two groups of multimedia resources in the target set as the multimedia resources to be displayed.
In an embodiment, referring to fig. 5, as shown in fig. 6, in the above step S304, if the last multimedia resource in the first set of multimedia resources is a fourth multimedia resource; the method for the terminal to acquire and display the fifth multimedia resource corresponding to the third switching operation specifically includes:
s601, the terminal sends a first data request to the server.
The first data request is used for requesting to acquire the display sequence of the target set, other multimedia resources except the fourth multimedia resource and other multimedia resources except the fourth multimedia resource.
Specifically, if the terminal receives that the plurality of multimedia resources sent by the server does not include the target set, the terminal may send a first data request to the server to request to acquire the display order of the target set, the multimedia resources other than the fourth multimedia resource, and the multimedia resources other than the fourth multimedia resource.
Optionally, the terminal may send the first data request to the server in a process of displaying the fourth multimedia resource, or may send the first data request to the server in a process of displaying the third multimedia resource, which is not limited in this disclosure.
S602, the terminal receives the first subset sent by the server and the display sequence of the multimedia resources in the first subset.
Wherein the first subset comprises: at least one multimedia asset of the other multimedia assets than the fourth multimedia asset in the target collection.
Optionally, after receiving the first data request, the server may send all multimedia resources except the fourth multimedia resource in the target set to the terminal.
Optionally, after receiving the first data request, if the target set has a large number of other multimedia resources except the fourth multimedia resource or occupies a large memory, the server may send part of the multimedia resources in the target set and other multimedia resources except the fourth multimedia resource to the terminal.
In this case, the terminal receives the first subset transmitted by the server. Wherein the first subset comprises: at least one multimedia asset of the other multimedia assets than the fourth multimedia asset in the target collection.
It is to be understood that the server may also send the order of the multimedia resources in the first subset to the terminal when sending the first subset to the terminal. In this case, the terminal receives the display order of the multimedia assets in the first subset.
S603, the terminal acquires the multimedia resource which is adjacent to the fourth multimedia resource and corresponds to the third switching operation from the first subset based on the display sequence of the multimedia resources in the first subset, and determines the multimedia resource as the fifth multimedia resource.
Specifically, after receiving the first subset sent by the server and the display order of the multimedia resources in the first subset, the terminal acquires, from the first subset, a multimedia resource that is adjacent to the fourth multimedia resource and corresponds to the third switching operation based on the display order of the multimedia resources in the first subset, and determines the multimedia resource as a fifth multimedia resource.
And S604, displaying the fifth multimedia resource by the terminal.
For example, the preset third switching operation is a sliding-up operation (i.e. for switching the next multimedia asset), the fourth multimedia asset in the target collection is a collection video a, and the fifth multimedia asset is a collection video B. The terminal receives the first subset sent by the server in advance and the display sequence of the multimedia resources in the first subset, and the video B in the first subset is: the next multimedia asset (i.e., the fifth multimedia asset) adjacent to the aggregate video a. Accordingly, the terminal may acquire the video B of the collection from the first subset based on the display order of the multimedia assets in the first subset, and display the video B of the collection.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S601-S604, if the terminal receives that the plurality of multimedia resources sent by the server does not include all multimedia resources in the target set, the terminal may send a first data request to the server to request to obtain the display order of the target set, multimedia resources other than the fourth multimedia resource, and multimedia resources other than the fourth multimedia resource. Then, the terminal receives the first subset transmitted by the server and the display order of the multimedia resources in the first subset. Then, the terminal acquires a multimedia resource adjacent to the fourth multimedia resource and corresponding to the third switching operation from the first subset based on the display order of the multimedia resources in the first subset, and determines the multimedia resource as a fifth multimedia resource. And subsequently, the terminal displays the fifth multimedia resource, and a specific implementation mode for acquiring and displaying the fifth multimedia resource is provided.
As can be seen from the above, since the fourth multimedia resource and the fifth multimedia resource are both multimedia resources in the target aggregation, the terminal may switch to display each multimedia resource in the aggregated multimedia resources (for example, switch to display the fourth multimedia resource as the fifth multimedia resource) after receiving the switching operation. Under the condition, the user can sequentially check each multimedia resource in the collection of multimedia resources only by executing switching operations such as upward/downward sliding and the like, so that the smooth effect is realized, and the user experience is enriched.
In an embodiment, referring to fig. 6, as shown in fig. 7, if the number of the multimedia resources in the first subset is smaller than the number of the multimedia resources except for the fourth multimedia resource in the target subset, after S602, the content displaying method further includes S701-S702.
S701, the terminal sends a second data request to the server.
And the second data request is used for requesting to acquire the display sequence of the target set, other multimedia resources except the fourth multimedia resource and the first subset, and other multimedia resources except the fourth multimedia resource and the first subset.
Specifically, after receiving the first data request, if the target set has a large number of other multimedia resources except the fourth multimedia resource or occupies a large memory, the server may further send part of the multimedia resources in the target set and other multimedia resources except the fourth multimedia resource to the terminal. That is, the number of the multimedia resources in the first subset is smaller than the number of the other multimedia resources except the fourth multimedia resource in the target set.
And if the number of the multimedia resources in the first subset is smaller than the number of other multimedia resources except the fourth multimedia resource in the target set, the terminal sends a second data request to the server to continuously request to acquire the multimedia resources and the sequence thereof which are not acquired in the target set.
S702, the terminal receives the second subset sent by the server and the display sequence of the multimedia resources in the second subset.
Wherein the second subset comprises: at least one multimedia asset of the other multimedia assets in the target collection, except for the fourth multimedia asset and the first subset.
And after receiving the second data request, the server sends the multimedia resources and the sequence thereof which are not sent in the target set to the terminal.
Optionally, after receiving the second data request, the server may send all the multimedia resources except the fourth multimedia resource and the first subset in the target set to the terminal.
Optionally, after receiving the second data request, if the target set has a larger number of other multimedia resources except the fourth multimedia resource and the first subset, or occupies a larger memory, the server may further send a part of the multimedia resources in the target set, except the fourth multimedia resource and the first subset, to the terminal.
In this case, the terminal receives the second subset transmitted by the server. Wherein the second subset comprises: at least one multimedia asset of the other multimedia assets in the target collection, except for the fourth multimedia asset and the first subset.
It will be appreciated that the server may also transmit the order of the multimedia assets in the second subset to the terminal when transmitting the second subset to the terminal. In this case, the terminal receives the display order of the multimedia assets in the second subset.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S701-S702, if the terminal receives the number of the multimedia resources in the first subset sent by the server, and the number is smaller than the number of the multimedia resources in the target aggregation except for the fourth multimedia resource, the terminal may send a second data request to the server to request to acquire the display sequence of the target aggregation, the multimedia resources except for the fourth multimedia resource and the first subset, and the multimedia resources except for the fourth multimedia resource and the first subset. Then, the terminal receives the second subset sent by the server and the display sequence of the multimedia resources in the second subset, and provides a specific implementation mode for acquiring the multimedia resources and the display sequence thereof which are not acquired in the target set.
Therefore, the terminal can communicate with the server to acquire the multimedia resources and the display sequence thereof which are not acquired in the target set. Under the condition, the user can sequentially check each multimedia resource in the collection of multimedia resources only by executing switching operations such as upward/downward sliding and the like, so that the smooth effect is realized, and the user experience is enriched.
In an embodiment, referring to fig. 7, as shown in fig. 8, if the number of the multimedia resources in the second subset is equal to the number of the multimedia resources in the target subset except for the fourth multimedia resource and the first subset, after S702, the content displaying method further includes S801.
S801, the terminal determines the display sequence of the multimedia resources to be displayed based on the display sequence of the first group of multimedia resources, the display sequence of the second group of multimedia resources, the display sequence of the multimedia resources in the first subset and the display sequence of the multimedia resources in the second subset.
The display sequence of the multimedia resources to be displayed is as follows: a first set of multimedia assets, multimedia assets in the first subset, multimedia assets in the second subset, and a second set of multimedia assets.
In connection with the above example, the first set of multimedia resources is: a normal video A and a collection video A; the second set of multimedia resources is: and a normal video B. The preset multimedia resources in the first subset are sequentially as follows according to the display sequence: a collection video B and a collection video C. The multimedia resources in the second subset are sequentially as follows according to the display order: a collection video D and a collection video E. The video is collected for 5 videos.
In this case, the terminal determines that the display order of the multimedia resources to be displayed is: the video processing method comprises the following steps of a common video A, a collection video B, a collection video C, a collection video D, a collection video E and a common video B.
In this way, the user can sequentially watch each video in the common video and the collective video by performing the switching operation of the upward sliding (i.e. the sliding operation) for multiple times, thereby enriching the user experience.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S801-S802, since the display order of the multimedia resources to be displayed is the first group of multimedia resources, the multimedia resources in the first subset, the multimedia resources in the second subset, and the second group of multimedia resources, and the multimedia resources in the first subset and the multimedia resources in the second subset are the multimedia resources in the target set, the terminal may display the common non-set multimedia resources (e.g., the second multimedia resources) and may also display the multimedia resources in the target set (e.g., the fourth multimedia resources, the fifth multimedia resources, and the first multimedia resources) after receiving the switching operation. In this case, the present disclosure solves the problem in the prior art that when a user performs a switching operation such as up/down sliding, the terminal does not switch the multimedia resource in the display target set; or only one multimedia resource in the target set is displayed, thereby enriching the user experience.
The following describes the present embodiment with reference to fig. 9, with a specific process of interaction between the server and the terminal.
Fig. 9 shows another flowchart of a content display method provided by the embodiment of the present disclosure. As shown in fig. 9, the content display method may include S901-S904.
S901, the server sends the multimedia resources to be displayed and the display sequence of the multimedia resources to be displayed to the terminal.
The multimedia resource to be displayed comprises: a first multimedia asset and a second multimedia asset; the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence.
S902, the terminal responds to the first switching operation implemented on the display page of the first multimedia resource, and acquires and displays a second multimedia resource corresponding to the first switching operation.
S903, the terminal receives a first switching operation implemented on a display page of the first multimedia resource.
And S904, if the first multimedia resource is the last multimedia resource in the target set, the terminal acquires and displays a second multimedia resource corresponding to the first switching operation from the multimedia resources to be displayed.
It is understood that, in practical implementation, the terminal/server according to the embodiments of the present disclosure may include one or more hardware structures and/or software modules for implementing the corresponding content display method, and these hardware structures and/or software modules may constitute an electronic device. Those of skill in the art will readily appreciate that the present disclosure can be implemented in hardware or a combination of hardware and computer software for implementing the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Based on such understanding, the embodiment of the present disclosure also correspondingly provides a content display device, which can be applied to a terminal. Fig. 10 shows a schematic structural diagram of a content display device provided in an embodiment of the present disclosure. As shown in fig. 10, the content display apparatus may include: a receiving unit 1001 and a display unit 1002.
A receiving unit 1001 is configured to receive a first switching operation implemented on a display page of a first multimedia resource. For example, in conjunction with fig. 2, the receiving unit 1001 is configured to perform S201.
A display unit 1002, configured to, if the first multimedia resource is the last multimedia resource in the target aggregation, obtain and display a second multimedia resource corresponding to the first switching operation from the multimedia resources to be displayed; the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to the display sequence. For example, in conjunction with fig. 2, the display unit 1002 is configured to perform S202.
Optionally, the receiving unit 1001 is further configured to receive a second switching operation implemented in a third multimedia resource. For example, in conjunction with fig. 3, the receiving unit 1001 is configured to perform S301.
The display unit 1002 is further configured to, if the third multimedia resource is a multimedia resource other than the target collection, obtain and display a fourth multimedia resource corresponding to the second switching operation from the multimedia resources to be displayed; the fourth multimedia resource is a multimedia resource in the target set; the third multimedia asset and the fourth multimedia asset are displayed sequentially adjacent to each other. For example, in conjunction with fig. 3, the display unit 1002 is configured to perform S302.
The receiving unit 1001 is further configured to receive a third switching operation implemented on a fourth multimedia resource. For example, in conjunction with fig. 3, the receiving unit 1001 is configured to perform S303.
The display unit 1002 is further configured to, if the fourth multimedia resource is a target set, obtain and display a fifth multimedia resource corresponding to the third switching operation from the multimedia resources to be displayed, where the fourth multimedia resource is a multimedia resource other than the last multimedia resource; the fifth multimedia resource is a multimedia resource in the target set, which is adjacent to the display order of the fourth multimedia resource. For example, in conjunction with fig. 3, the display unit 1002 is configured to perform S304.
Optionally, the receiving unit 1001 is further configured to receive the multimedia resource to be displayed and a display sequence of the multimedia resource to be displayed, where the display sequence is sent by the server; the multimedia resource to be displayed comprises: a first multimedia asset, a second multimedia asset, a third multimedia asset, a fourth multimedia asset, and a fifth multimedia asset. For example, in conjunction with fig. 4, the display unit 1002 is configured to perform S401.
The content display apparatus further includes: a storage unit 1003;
the storage unit 1003 is configured to store the multimedia resource to be displayed in the buffer of the terminal in an array form. For example, in conjunction with fig. 4, the storage unit 1003 is used to execute S402.
Optionally, if the multimedia resources to be displayed include a target set, and the multimedia resources in the target set are a first multimedia resource, a fourth multimedia resource, and a fifth multimedia resource, the display order of the multimedia resources to be displayed sequentially is: a third multimedia asset, a fourth multimedia asset, a fifth multimedia asset, a first multimedia asset, and a second multimedia asset.
Optionally, if the multimedia resource to be displayed does not include all multimedia resources in the target set; the storage unit 1003 is specifically configured to:
acquiring a multimedia resource type of each multimedia resource in the multimedia resources to be displayed; the multimedia resource types include: a collection type and a non-collection type. For example, in conjunction with fig. 5, the storage unit 1003 is used to perform S501.
Grouping the multimedia resources to be displayed based on the multimedia resource type of each multimedia resource and the display sequence of the multimedia resources to be displayed to obtain at least two groups of multimedia resources; the at least two groups of multimedia assets comprise a first group of multimedia assets and a second group of multimedia assets; the first group of multimedia resources and the second group of multimedia resources are any two groups of multimedia resources which are adjacent in sequence; the multimedia resource type of the last multimedia resource in the first group of multimedia resources is a collection type;
at least two groups of multimedia resources are respectively stored in different partitions of the cache in an array form. For example, in conjunction with fig. 5, the storage unit 1003 is used to execute S502.
Optionally, if the last multimedia resource in the first group of multimedia resources is a fourth multimedia resource; the display unit 1002 is specifically configured to:
sending a first data request to a server; the first data request is used for requesting to acquire the display sequence of the target set, other multimedia resources except the fourth multimedia resource and other multimedia resources except the fourth multimedia resource. For example, in conjunction with fig. 6, the display unit 1002 is configured to perform S601.
Receiving a first subset sent by a server and a display sequence of multimedia resources in the first subset; the first subset includes: at least one multimedia asset of the other multimedia assets than the fourth multimedia asset in the target collection. For example, in conjunction with fig. 6, the display unit 1002 is configured to perform S602.
And acquiring a multimedia resource which is adjacent to the fourth multimedia resource and corresponds to the third switching operation from the first subset based on the display sequence of the multimedia resources in the first subset, and determining the multimedia resource as a fifth multimedia resource. For example, in conjunction with fig. 6, the display unit 1002 is configured to perform S603.
And displaying the fifth multimedia resource. For example, in conjunction with fig. 6, the display unit 1002 is configured to perform S604.
Optionally, if the number of the multimedia resources in the first subset is smaller than the number of other multimedia resources in the target aggregation except the fourth multimedia resource; the content display apparatus further includes: a transmitting unit 1004;
a sending unit 1004, configured to send a second data request to the server; the second data request is used for requesting to acquire the display sequence of the target set, other multimedia resources except the fourth multimedia resource and the first subset, and other multimedia resources except the fourth multimedia resource and the first subset. For example, in conjunction with fig. 7, the transmitting unit 1004 is configured to execute S701.
A receiving unit 1001, further configured to receive the second subset and a display order of the multimedia resources in the second subset sent by the server; the second subset includes: at least one multimedia asset of the other multimedia assets in the target collection, except for the fourth multimedia asset and the first subset. For example, in conjunction with fig. 7, the receiving unit 1001 is configured to perform S702.
Optionally, if the number of multimedia resources in the second subset is equal to the number of other multimedia resources in the target set, excluding the fourth multimedia resource and the first subset; the content display apparatus further includes: a determination unit 1005;
a determining unit 1005, configured to determine a display order of the multimedia resources to be displayed based on the display order of the first group of multimedia resources, the display order of the second group of multimedia resources, the display order of the multimedia resources in the first subset, and the display order of the multimedia resources in the second subset; the display sequence of the multimedia resources to be displayed is as follows: a first set of multimedia assets, multimedia assets in the first subset, multimedia assets in the second subset, and a second set of multimedia assets. For example, in conjunction with fig. 8, the determination unit 1005 is configured to perform S801.
As described above, the embodiments of the present disclosure may perform division of functional modules on a server/terminal according to the above method examples. The integrated module can be realized in a hardware form, and can also be realized in a software functional module form. In addition, it should be further noted that the division of the modules in the embodiments of the present disclosure is schematic, and is only a logic function division, and there may be another division manner in actual implementation. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one processing block.
Regarding the content display apparatus in the foregoing embodiment, the specific manner in which each module performs operations and the beneficial effects thereof have been described in detail in the foregoing method embodiment, and are not described herein again.
The embodiment of the disclosure also provides a terminal, which can be a user terminal such as a mobile phone, a computer and the like. Fig. 11 shows a schematic structural diagram of a terminal provided in an embodiment of the present disclosure. The terminal, which may be a content display device, may include at least one processor 61, a communication bus 62, a memory 63, and at least one communication interface 64.
The processor 61 may be a Central Processing Unit (CPU), a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs according to the present disclosure. As an example, in connection with fig. 10, the display unit 1002 and the determination unit 1005 in the terminal implement the same functions as those implemented by the processor 61 in fig. 11.
The communication bus 62 may include a path that carries information between the aforementioned components.
The communication interface 64 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as a server, an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc. As an example, in connection with fig. 10, the functions implemented by the receiving unit 1001 and the transmitting unit 1004 in the terminal are the same as those implemented by the communication interface 64 in fig. 11.
The memory 63 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and connected to the processing unit by a bus. The memory may also be integrated with the processing unit. As an example, in connection with fig. 10, the function realized by the storage unit 1003 in the terminal is the same as the function realized by the memory 63 in fig. 11.
The memory 63 is used for storing application program codes for executing the disclosed solution, and is controlled by the processor 61. The processor 61 is configured to execute application program code stored in the memory 63 to implement the functions in the disclosed method.
In particular implementations, processor 61 may include one or more CPUs such as CPU0 and CPU1 in fig. 11, for example, as one embodiment.
In particular implementations, the content display terminal may include multiple processors, such as processor 61 and processor 65 in FIG. 11, as one example. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In one implementation, the content display terminal may further include an input device 66 and an output device 67, as an example. The input device 66 communicates with the output device 67 and may accept user input in a variety of ways. For example, the input device 66 may be a mouse, a keyboard, a touch screen device or a sensing device, and the like. The output device 67 is in communication with the processor 61 and may display information in a variety of ways. For example, the output device 61 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, or the like.
Those skilled in the art will appreciate that the configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the disclosure also provides a server. Fig. 12 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure. The server may be a content display device. The server, which may vary widely in configuration or performance, may include one or more processors 71 and one or more memories 72. At least one instruction is stored in the memory 72, and the at least one instruction is loaded and executed by the processor 71 to implement the content display method provided by each of the above-mentioned method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The present disclosure also provides a computer-readable storage medium including instructions stored thereon, which, when executed by a processor of a computer device, enable a computer to perform the content display method provided by the above-described illustrative embodiment. For example, the computer readable storage medium may be a memory 63 comprising instructions executable by the processor 61 of the terminal to perform the above described method. Also for example, the computer readable storage medium may be a memory 72 comprising instructions executable by a processor 71 of the server to perform the above-described method. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present disclosure also provides a computer program product comprising computer instructions which, when run on a terminal, cause the terminal to perform the content display method shown in any of the above figures 2-8.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A content display method applied to a terminal is characterized by comprising the following steps:
receiving a first switching operation implemented on a display page of a first multimedia resource;
if the first multimedia resource is the last multimedia resource in the target set, acquiring and displaying a second multimedia resource corresponding to the first switching operation from the multimedia resources to be displayed; the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to a display sequence.
2. The content display method according to claim 1, wherein the receiving is performed before the first switching operation of the display page of the first multimedia resource, and further comprising:
receiving a second handover operation performed at a third multimedia asset;
if the third multimedia resource is a multimedia resource outside the target collection, acquiring and displaying a fourth multimedia resource corresponding to the second switching operation from the multimedia resources to be displayed; the fourth multimedia resource is a multimedia resource in the target set; the display order of the third multimedia resource and the fourth multimedia resource is adjacent;
receiving a third handover operation performed on a fourth multimedia resource;
if the fourth multimedia resource is a multimedia resource except the last multimedia resource in the target set, acquiring and displaying a fifth multimedia resource corresponding to the third switching operation from the multimedia resources to be displayed; the fifth multimedia resource is a multimedia resource in the target set, which is adjacent to the display sequence of the fourth multimedia resource.
3. The content display method according to claim 2, wherein the receiving is performed before the second switching operation of the third multimedia resource, and further comprising:
receiving the multimedia resources to be displayed and the display sequence of the multimedia resources to be displayed, which are sent by a server; the multimedia resource to be displayed comprises: the first multimedia asset, the second multimedia asset, the third multimedia asset, the fourth multimedia asset, and the fifth multimedia asset;
and storing the multimedia resources to be displayed in a cache of the terminal in an array form.
4. The content display method according to claim 3, wherein if the multimedia resource to be displayed includes the target set, and the multimedia resources in the target set are the first multimedia resource, the fourth multimedia resource, and the fifth multimedia resource, the display order of the multimedia resource to be displayed sequentially is: the third multimedia asset, the fourth multimedia asset, the fifth multimedia asset, the first multimedia asset, and the second multimedia asset.
5. The content display method according to claim 3, wherein if the multimedia resource to be displayed does not include all multimedia resources in the target set; the storing the multimedia resource to be displayed in the buffer memory of the terminal in an array form comprises:
acquiring the multimedia resource type of each multimedia resource in the multimedia resources to be displayed; the multimedia resource types include: a collection type and a non-collection type;
grouping the multimedia resources to be displayed based on the multimedia resource type of each multimedia resource and the display sequence of the multimedia resources to be displayed to obtain at least two groups of multimedia resources; the at least two groups of multimedia assets comprise a first group of multimedia assets and a second group of multimedia assets; the first group of multimedia resources and the second group of multimedia resources are any two groups of multimedia resources which are adjacent in sequence; the multimedia resource type of the last multimedia resource in the first group of multimedia resources is the aggregation type;
and respectively storing the at least two groups of multimedia resources in different partitions of the cache in an array form.
6. The method of claim 5, wherein if the last multimedia resource in the first set of multimedia resources is the fourth multimedia resource; the acquiring and displaying a fifth multimedia resource corresponding to the third switching operation includes:
sending a first data request to the server; the first data request is used for requesting to acquire the display sequence of the other multimedia resources except the fourth multimedia resource in the target set and the other multimedia resources except the fourth multimedia resource;
receiving a first subset sent by the server and a display sequence of multimedia resources in the first subset; the first subset includes: at least one multimedia resource of the other multimedia resources in the target set except the fourth multimedia resource;
acquiring a multimedia resource which is adjacent to the fourth multimedia resource and corresponds to the third switching operation from the first subset based on the display sequence of the multimedia resources in the first subset, and determining the multimedia resource as the fifth multimedia resource;
and displaying the fifth multimedia resource.
7. A content display device applied to a terminal, comprising: a receiving unit and a display unit;
the receiving unit is used for receiving a first switching operation implemented on a display page of a first multimedia resource;
the display unit is used for acquiring and displaying a second multimedia resource corresponding to the first switching operation from multimedia resources to be displayed if the first multimedia resource is the last multimedia resource in the target set; the second multimedia resource is a multimedia resource outside the target collection; the display order of the first multimedia resource and the second multimedia resource is adjacent; the multimedia resources to be displayed are multimedia resources which are pre-stored according to a display sequence.
8. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the content display method of any one of claims 1-6.
9. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by a processor of a terminal, enable the terminal to perform the content display method of any one of claims 1-6.
10. A computer program product comprising instructions for causing a terminal to perform a content display method according to any one of claims 1-6 when the instructions are run on the terminal.
CN202110570785.6A 2021-05-25 2021-05-25 Content display method, device, equipment and storage medium Active CN113238828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110570785.6A CN113238828B (en) 2021-05-25 2021-05-25 Content display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110570785.6A CN113238828B (en) 2021-05-25 2021-05-25 Content display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113238828A true CN113238828A (en) 2021-08-10
CN113238828B CN113238828B (en) 2024-07-12

Family

ID=77138754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110570785.6A Active CN113238828B (en) 2021-05-25 2021-05-25 Content display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113238828B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030035478A1 (en) * 2000-12-21 2003-02-20 David Taubman Method and apparatus for scalable compression of video
CN111787392A (en) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 Video screen projection method and device, electronic equipment and storage medium
CN111782097A (en) * 2020-06-30 2020-10-16 北京达佳互联信息技术有限公司 Image resource switching method and device
CN111813313A (en) * 2020-06-30 2020-10-23 北京达佳互联信息技术有限公司 Multimedia resource switching method, device, terminal equipment and storage medium
CN112153454A (en) * 2020-09-25 2020-12-29 北京字跳网络技术有限公司 Method, device and equipment for providing multimedia content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030035478A1 (en) * 2000-12-21 2003-02-20 David Taubman Method and apparatus for scalable compression of video
CN111782097A (en) * 2020-06-30 2020-10-16 北京达佳互联信息技术有限公司 Image resource switching method and device
CN111813313A (en) * 2020-06-30 2020-10-23 北京达佳互联信息技术有限公司 Multimedia resource switching method, device, terminal equipment and storage medium
CN111787392A (en) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 Video screen projection method and device, electronic equipment and storage medium
CN112153454A (en) * 2020-09-25 2020-12-29 北京字跳网络技术有限公司 Method, device and equipment for providing multimedia content

Also Published As

Publication number Publication date
CN113238828B (en) 2024-07-12

Similar Documents

Publication Publication Date Title
CN113094521A (en) Multimedia resource searching method, device, system, equipment and storage medium
CN113568699B (en) Content display method, device, equipment and storage medium
WO2024027606A1 (en) Information recommendation method and apparatus, and electronic device and storage medium
CN113094141A (en) Page display method and device, electronic equipment and storage medium
CN109597929A (en) Methods of exhibiting, device, terminal and the readable medium of search result
CN112437318A (en) Content display method, device and system and storage medium
CN112000911A (en) Page management method and device, electronic equipment and storage medium
US12063264B2 (en) Information indicating method and apparatus, electronic device and storage medium
CN112732652A (en) Information display method and device and electronic equipment
CN110908752A (en) Control setting method and device, electronic equipment and interaction system
KR102250135B1 (en) Method and apparatus for providind recommandation video contents
CN112492399B (en) Information display method and device and electronic equipment
CN111552715A (en) User query method and device
CN114979686A (en) Live broadcast interaction method and device, electronic equipment and storage medium
CN115146087A (en) Resource recommendation method, device, equipment and storage medium
CN113238828B (en) Content display method, device, equipment and storage medium
CN113992989A (en) Content display method, device, system, equipment and storage medium
CN114302207A (en) Bullet screen display method, device, system, equipment and storage medium
KR20220163573A (en) Method, computer device, and computer program to display grouped image message
CN114302250B (en) Resource processing method, device, system, equipment and storage medium
CN115065866B (en) Video generation method, device, equipment and storage medium
CN113747185B (en) Information interaction method, device, system, equipment and storage medium
US11902340B2 (en) Data processing method, apparatus, electronic device and storage medium
CN116708544B (en) Function pushing method and device
WO2024041566A1 (en) Information processing method and apparatus, and electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant