Multimedia resource playing method and device, equipment and storage medium

By directly playing the multimedia resources of the resource collection in response to the switching conditions in the playback page of the information flow, the problem of jumping in the resource collection playback in the information flow is solved, and a flexible and efficient multimedia resource playback experience is achieved.

CN120378679AActive Publication Date: 2025-07-25BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510614650.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-13
Publication Date
2025-07-25
Estimated Expiration
2045-05-13

AI Technical Summary

Technical Problem

In the prior art, the multimedia resource playback of promoting resource collection in the information flow needs to jump to the resource collection page, which is highly limited and cannot play the multimedia resource in the resource collection without leaving the information flow.

Method used

In the play page of the information flow, in response to the switching playback conditions, the multimedia resources of the resource collection are directly played, and the playback of the resource collection resources is realized through sliding operations or automatic switching, and interactive components and prompt information are displayed in the information flow page.

Benefits of technology

It improves the flexibility and operation efficiency of multimedia resource playback, avoids unnecessary page jumps, and provides a more coherent and convenient playback experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378679A_ABST
    Figure CN120378679A_ABST
Patent Text Reader

Abstract

The invention provides a multimedia resource playing method and device, equipment and a storage medium, and belongs to the technical field of multimedia. In the method, a first multimedia resource in an information stream is played in a playing page of the information stream, and at least one multimedia resource belonging to a resource set is directly played in the playing page of the information stream under the condition that a switching playing condition is satisfied. The multimedia resources in the resource set do not need to be played after jumping from the information flow to the resource set, playing of the multimedia resources in the resource set can be achieved in the playing page of the information flow, namely, the multimedia resources belonging to the resource set can be played under the condition that the information flow is not separated, the flexibility is improved, and the user experience is improved. In addition, the possibility is provided for continuously playing other multimedia resources in the information flow, the operation of skipping to the information flow from the resource set is avoided, and the operation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of multimedia technologies, and particularly to a method, apparatus, device, and storage medium for playing multimedia resources. Background Art

[0002] An information stream is a data form for pushing multimedia resources to users, which can intuitively display multimedia resources in front of users, saving the process for users to select and click into multimedia resources, and can continuously play different multimedia resources.

[0003] The information stream may include promotion resources for promoting resource collections. For example, the promotion resource is a trailer or a highlight clip of the multimedia resources in the resource collection. Usually, an end page of the promotion resource is displayed when the promotion resource finishes playing. After clicking the control for playing the resource collection on the end page, the information stream can be left and the play page of the resource collection can be jumped to, so as to play the multimedia resources in the resource collection. However, the above method needs to jump from the information stream to the resource collection first to play the multimedia resources in the resource collection, and has strong limitations. Summary of the Invention

[0004] The present disclosure provides a method, apparatus, device, and storage medium for playing multimedia resources, which can play the multimedia resources belonging to the resource collection without jumping from the information stream to the resource collection, and can play the multimedia resources belonging to the resource collection without leaving the information stream, improving flexibility. The technical solutions of the present disclosure are as follows:

[0005] According to one aspect of the embodiments of the present disclosure, a method for playing multimedia resources is provided, including:

[0006] Based on the play page of the information stream, play a first multimedia resource in the information stream, where the first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources;

[0007] In response to meeting the switching play condition, based on the play page of the information stream, play at least one multimedia resource belonging to the resource collection.

[0008] According to another aspect of the embodiments of the present disclosure, a device for playing multimedia resources is provided, including:

[0009] A first play unit configured to play a first multimedia resource in the information stream based on the play page of the information stream, where the first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources;

[0010] A second play unit configured to play at least one multimedia resource belonging to the resource collection based on the play page of the information stream in response to meeting the switching play condition.

[0011] In some embodiments, the second playback unit is configured to perform at least one of the following: in response to the end of playback of the first multimedia resource, based on the playback page of the information stream, play at least one multimedia resource belonging to the resource collection; in response to a sliding operation in a first direction on the playback page of the information stream, based on the playback page of the information stream, play at least one multimedia resource belonging to the resource collection.

[0012] In some embodiments, the second playback unit is further configured to, in response to a sliding operation in the first direction on the playback page of the information stream, based on the playback page of the information stream, play the multimedia resources located after the current multimedia resource.

[0013] In some embodiments, the second playback unit is further configured to, in response to a sliding operation in a second direction on the playback page of the information stream, based on the playback page of the information stream, play the multimedia resources located before the current multimedia resource, where the first direction and the second direction are opposite directions.

[0014] In some embodiments, the first playback unit is further configured to, in response to a sliding operation in a third direction or a fourth direction on the playback page of the information stream, based on the playback page of the information stream, play the other multimedia resources in the information stream except the first multimedia resource, where the third direction and the fourth direction are opposite directions, and the third direction is perpendicular to the first direction.

[0015] In some embodiments, the information stream includes the first multimedia resource and a resource combination associated with the first multimedia resource, and the multimedia resources in the resource combination all belong to the resource collection;

[0016] The second playback unit is configured to, in response to meeting the switching playback condition, based on the playback page of the information stream, automatically play the multimedia resources in the resource combination in sequence according to the playback order of the multimedia resources in the resource combination.

[0017] In some embodiments, the second playback unit is configured to, in response to meeting the switching playback condition, based on the playback page of the information stream, start from the playback node indicated by the historical playback progress of the current account, and automatically play at least one multimedia resource belonging to the resource collection in sequence according to the playback order of the multimedia resources in the resource collection.

[0018] In some embodiments, the second playback unit is configured to, in response to meeting the switching playback condition, display the second multimedia resource belonging to the resource collection moving into the playback page of the information stream from any edge, and display the first multimedia resource starting from the edge being covered by the second multimedia resource until the first multimedia resource is completely covered by the second multimedia resource, and then play the second multimedia resource; or, in response to meeting the switching playback condition, display the first multimedia resource moving out of one side edge of the playback page of the information stream, and display the second multimedia resource belonging to the resource collection moving into the playback page of the information stream from the other side edge until the first multimedia resource completely moves out, and then play the second multimedia resource.

[0019] In some embodiments, a first interaction component is displayed on the playback page of the information stream;

[0020] The second playback unit is configured to, in response to meeting the switching playback condition, play at least one multimedia resource belonging to the resource collection based on the playback page of the information stream, and display a first prompt message in the first interaction component, where the first prompt message is used to prompt the progress of playing at least one multimedia resource belonging to the resource collection.

[0021] In some embodiments, the first interaction component further includes at least one of an identifier of the resource collection, a name of the resource collection, and a quantity of multimedia resources in the resource collection.

[0022] In some embodiments, a first interaction component is displayed on the playback page of the information stream; the apparatus further includes:

[0023] A jump unit, configured to, in response to a trigger operation on the first interaction component, jump from the playback page of the information stream to the playback page of the resource collection, and play the multimedia resources in the resource collection based on the playback page of the resource collection.

[0024] In some embodiments, a second interaction component is displayed on the playback page of the information stream, and different multimedia elements in the second interaction component correspond to different playable multimedia resources on the playback page of the information stream;

[0025] The second playback unit is further configured to, when the currently displayed multimedia resource on the playback page of the information stream is switched, display the second interaction component switching from a first form to a second form, where the first form is used to highlight the multimedia element corresponding to the multimedia resource before switching, and the second form is used to highlight the multimedia element corresponding to the multimedia resource after switching.

[0026] In some embodiments, the jump unit is further configured to, when the currently played multimedia resource is a target type resource, in response to a sliding operation in a first direction on the playback page of the information stream, jump from the playback page of the information stream to the playback page of the resource collection, and based on the playback page of the resource collection, start playing the multimedia resources in the resource collection from the multimedia resource; wherein, the target type resource is a resource for which playback permission is obtained by playing an incentive resource.

[0027] In some embodiments, the apparatus further comprises:

[0028] A third playback unit, configured to, when the currently played multimedia resource is a target type resource, in response to the multimedia resource being played to a preset playback node, play an incentive resource based on the playback page of the information stream; wherein, the target type resource is a resource for which playback permission is obtained by playing an incentive resource.

[0029] In some embodiments, the third playback unit is further configured to, in response to the multimedia resource being played to the preset playback node, display the incentive resource moving into the playback page of the information stream from any edge, and display the multimedia resource starting to be covered by the incentive resource from the edge until the multimedia resource is completely covered by the incentive resource, and then play the incentive resource; or, in response to the multimedia resource being played to the preset playback node, display the multimedia resource moving out of one side edge of the playback page of the information stream, and display the incentive resource moving into the playback page of the information stream from the other side edge until the multimedia resource completely moves out, and then play the incentive resource.

[0030] In some embodiments, the third playback unit is further configured to, in response to an operation to exit playback during the playback of the incentive resource, display a prompt component on the playback page of the information stream, and the prompt component is used to prompt that the playback permission of the multimedia resource can be obtained after the playback duration of the incentive resource reaches a reference duration.

[0031] In some embodiments, the third playback unit is further configured to perform at least one of the following: in response to a trigger operation on a first interaction control included in the prompt component, cancel the display of the prompt component and continue playing the incentive resource on the playback page of the information stream; or, in response to a trigger operation on a second interaction control included in the prompt component, cancel the playback of the incentive resource and the display of the prompt component, and display a second prompt message on the playback page of the information stream, where the second prompt message is used to prompt playing the incentive resource to obtain the playback permission of the multimedia resource; or, in response to a trigger operation on a third interaction control included in the prompt component, cancel the playback of the incentive resource and the display of the prompt component, and display an information display page associated with the incentive resource, where the information display page is used to display information about the object included in the incentive resource.

[0032] According to another aspect of the embodiments of the present disclosure, there is provided an electronic device, which includes:

[0033] One or more processors;

[0034] A memory for storing program code executable by the processor;

[0035] Wherein, the processor is configured to execute the program code to implement the above-mentioned multimedia resource playback method.

[0036] According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, when the program code in the computer-readable storage medium is executed by a processor of an electronic device, enabling the electronic device to execute the above-mentioned multimedia resource playback method.

[0037] According to another aspect of the embodiments of the present disclosure, there is provided a computer program product, including a computer program, which implements the above-mentioned multimedia resource playback method when executed by a processor.

[0038] The embodiments of the present disclosure provide a method for playing a multimedia resource, which plays a first multimedia resource in an information stream on a playback page of the information stream, and when the switching playback condition is met, directly plays at least one multimedia resource belonging to a resource collection on the playback page of the information stream, without having to jump from the information stream to the resource collection and then play the multimedia resources in the resource collection. The multimedia resources in the resource collection can be played on the playback page of the information stream, that is, it is possible to play the multimedia resources belonging to the resource collection without leaving the information stream, which improves flexibility, and also provides the possibility to continue playing other multimedia resources in the information stream, avoiding the operation of jumping from the resource collection to the information stream again and improving the operation efficiency.

[0039] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit the present disclosure. Brief Description of the Drawings

[0040] The drawings herein are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an undue limitation to the present disclosure.

[0041] Figure 1 is a schematic diagram of an implementation environment shown according to an exemplary embodiment.

[0042] Figure 2 is a flowchart of a method for playing multimedia resources shown according to an exemplary embodiment.

[0043] Figure 3 is a flowchart of another method for playing multimedia resources shown according to an exemplary embodiment.

[0044] Figure 4 is a schematic diagram of a playing page of an information stream shown according to an exemplary embodiment.

[0045] Figure 5 is a schematic diagram of another playing page of an information stream shown according to an exemplary embodiment.

[0046] Figure 6 is a schematic diagram of yet another playing page of an information stream shown according to an exemplary embodiment.

[0047] Figure 7 is a flowchart of yet another method for playing multimedia resources shown according to an exemplary embodiment.

[0048] Figure 8 is a flowchart of still another method for playing multimedia resources shown according to an exemplary embodiment.

[0049] Figure 9 is a schematic diagram of a playing page during a switching process shown according to an exemplary embodiment.

[0050] Figure 10 is a schematic diagram of another playing method during a switching process shown according to an exemplary embodiment.

[0051] Figure 11 is a block diagram of a playing device for multimedia resources shown according to an exemplary embodiment.

[0052] Figure 12 is a block diagram of another playing device for multimedia resources shown according to an exemplary embodiment.

[0053] Figure 13 It is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation manners

[0054] In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0055] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data used can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described here can be implemented in an order other than those illustrated or described here. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0056] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the present disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the first multimedia resource, the multimedia resource belonging to the resource collection, and the incentive resource and other resources involved in the present disclosure are all obtained under sufficient authorization.

[0057] Figure 1 It is a schematic diagram of an implementation environment shown according to an exemplary embodiment. Taking the electronic device being provided as a terminal as an example, see Figure 1 , the implementation environment specifically includes: a terminal 101 and a server 102. The terminal 101 and the server 102 can be directly or indirectly connected through a wired or wireless communication method, which is not limited herein in the present disclosure.

[0058] The terminal 101 can be at least one of devices such as a smart phone, a smart watch, a desktop computer, a laptop computer, and a notebook portable computer. The terminal 101 is installed with and runs a target application, and the target application can be any application program with a resource playback function, such as a video application, a novel application, a social application, a shopping application, etc. During the process of running the target application, the terminal 101 can play multimedia resources on the playback page of the information stream provided by the target application.

[0059] The terminal 101 can generally refer to one of multiple terminals. In this embodiment, the terminal 101 is used as an example for illustration. Those skilled in the art can understand that the number of the above terminals can be more or less. For example, the above terminals can be several, or dozens or hundreds of the above terminals, or a larger number. The embodiments of the present disclosure do not limit the number and device type of the terminals.

[0060] The server 102 is at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server 102 is used to provide background services for the target application. The server 102 can be connected to the terminal 101 through a wireless network or a wired network. The server 102 can push multimedia resources to the terminal 101 so that the terminal 101 can play the multimedia resources on the playback page. In some embodiments, the number of the above servers can be more or less, and the embodiments of the present disclosure do not limit this. Of course, the server 102 also includes other functional servers to provide more comprehensive and diverse services.

[0061] Figure 2 is a flowchart of a method for playing multimedia resources according to an exemplary embodiment, as Figure 2 shown. This method is executed by an electronic device, and this method includes the following steps:

[0062] In step 201, the electronic device plays the first multimedia resource in the information flow based on the playback page of the information flow. The first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources.

[0063] In the embodiments of the present disclosure, the information flow refers to the streaming data continuously pushed to the electronic device. The information flow includes multimedia resources located at multiple resource positions, and the multiple resource positions are arranged in sequence. The electronic device can receive the information flow and play the multimedia resources corresponding to each resource position in sequence based on the playback page of the information flow. And the electronic device supports switching to play different multimedia resources in the information flow through a sliding operation on the playback page based on the information flow. Among them, the multimedia resources can be various types such as videos, pictures, and audios, and the embodiments of the present disclosure do not limit this.

[0064] In an embodiment of the present disclosure, taking the currently played first multimedia resource in the playback page of the information stream as an example, the first multimedia resource is any multimedia resource in the information stream, and the first multimedia resource is used to promote a resource collection. The resource collection includes multiple multimedia resources, and the multimedia resources in the resource collection may include at least one type of resource among video, picture, and audio. For example, the resource collection includes multiple short videos with continuous plot; or, the resource collection includes audio tutorials with an associated relationship; or, the resource collection includes multiple pictures, etc. The first multimedia resource may be a resource for describing the resource collection, or may be a part of the resources selected from the resource collection. For example, when the resource collection is a TV series that includes multiple short videos with continuous plot, the first multimedia resource may be a preview clip of the TV series, or a wonderful clip selected from the TV series; when the resource collection is an album that includes multiple songs, the first multimedia resource may be a preview video of the song; when the resource collection includes course videos with an associated relationship, the first multimedia resource may be a preview video of the online course, or an explanatory clip selected from the course videos, etc.; when the resource collection includes multiple photographic works, the first multimedia resource may be an introduction video or a promotional video of the photographic works, etc.

[0065] In step 202, the electronic device responds to the satisfaction of the switching playback condition, and based on the playback page of the information stream, plays at least one multimedia resource belonging to the resource collection.

[0066] In the embodiment of the present disclosure, the switching playback condition refers to the condition for switching from playing the first multimedia resource to playing at least one multimedia resource belonging to the resource collection in the playback page of the information stream. The switching playback condition may refer to a condition based on a user interaction operation, such as a user performing a specific interaction operation in the playback page of the information stream; the switching playback condition may also refer to a condition based on automation or a preset condition, such as the playback progress of the first multimedia resource in the playback page of the information stream satisfying a specific progress.

[0067] It should be noted that both the first multimedia resource and at least one multimedia resource belonging to the resource collection correspond to the same resource position in the information stream. That is, in the process of the electronic device switching from playing the first multimedia resource to playing at least one multimedia resource belonging to the resource collection in response to the satisfaction of the switching playback condition, the resource position corresponding to the resource played in the playback page of the information stream does not switch or change.

[0068] An embodiment of the present disclosure provides a method for playing multimedia resources. In a playback page of an information stream, a first multimedia resource in the information stream is played, and when the switching playback condition is met, at least one multimedia resource belonging to a resource collection is directly played in the playback page of the information stream, without having to jump from the information stream to the resource collection and then play the multimedia resources in the resource collection. The multimedia resources in the resource collection can be played in the playback page of the information stream, that is, the multimedia resources belonging to the resource collection can be played without leaving the information stream, which improves flexibility and also provides the possibility to continue playing other multimedia resources in the information stream, avoiding the operation of jumping from the resource collection back to the information stream and improving the operation efficiency.

[0069] In some embodiments, in response to the switching playback condition being met, based on the playback page of the information stream, playing at least one multimedia resource belonging to a resource collection includes at least one of the following:

[0070] In response to the end of playback of the first multimedia resource, based on the playback page of the information stream, playing at least one multimedia resource belonging to a resource collection;

[0071] In response to a sliding operation in a first direction in the playback page of the information stream, based on the playback page of the information stream, playing at least one multimedia resource belonging to a resource collection.

[0072] In an embodiment of the present disclosure, when the playback of the first multimedia resource ends, without additional operation by the user, the multimedia resources in the resource collection can be automatically played in the playback page of the information stream, maintaining the continuity of playback. It also supports triggering the playback of the multimedia resources in the resource collection by a sliding operation in a first direction in the playback page of the information stream, which is intuitive and easy to operate, improving the convenience of playback. Through the above two switching playback conditions, diverse playback trigger methods are provided, enabling users to flexibly select the multimedia resources to be played in the playback page of the information stream, thereby enhancing the flexibility and convenience of playback and improving the user's viewing experience.

[0073] In some embodiments, the method further includes:

[0074] In response to a sliding operation in a first direction in the playback page of the information stream, based on the playback page of the information stream, playing the multimedia resource located after the current multimedia resource.

[0075] In the embodiments of the present disclosure, the user is supported to switch the currently played multimedia resource in the play page of the information stream to the next multimedia resource in the resource collection adjacent in the play order by a sliding operation in the first direction in the play page of the information stream. This enables different multimedia resources to be switched and played at the same resource position in the information stream on the play page of the information stream, without affecting the multimedia resources at other resource positions in the information stream. This not only enriches the user's interaction experience, but also enhances the flexibility and interactivity of playing, and improves the viewing experience of multimedia resources.

[0076] In some embodiments, the method further includes:

[0077] In response to a sliding operation in the second direction in the play page of the information stream, based on the play page of the information stream, play the multimedia resource before the current multimedia resource, where the first direction and the second direction are opposite directions.

[0078] In the embodiments of the present disclosure, the user is supported to switch the currently played multimedia resource in the play page of the information stream to the previous multimedia resource adjacent in the play order by a sliding operation in the second direction in the play page of the information stream. This enables different multimedia resources to be switched and played at the same resource position in the information stream on the play page of the information stream, without affecting the multimedia resources at other resource positions in the information stream. This not only enriches the user's interaction experience, but also enhances the flexibility and interactivity of playing, and improves the viewing experience of multimedia resources.

[0079] In some embodiments, the method further includes:

[0080] In response to a sliding operation in the third direction or the fourth direction in the play page of the information stream, based on the play page of the information stream, play other multimedia resources in the information stream except the first multimedia resource, where the third direction and the fourth direction are opposite directions, and the third direction is perpendicular to the first direction.

[0081] In the embodiments of the present disclosure, it is supported to switch and play multimedia resources at different resource positions in the information stream by a sliding operation in the third or fourth direction, and to switch and play the first multimedia resource or the multimedia resources belonging to the resource collection while occupying the same resource position in the information stream by a sliding operation in the first or second direction. The two switching and playing methods do not interfere with each other, realizing diversified playing methods and enhancing flexibility.

[0082] In some embodiments, the information stream includes a first multimedia resource and a resource combination associated with the first multimedia resource, and the multimedia resources in the resource combination all belong to the resource collection. In response to meeting the condition for switching and playing, based on the play page of the information stream, play at least one multimedia resource belonging to the resource collection, including:

[0083] In response to meeting the switching playback condition, based on the playback page of the information stream, the multimedia resources in the resource combination are automatically played continuously in the playback order of the multimedia resources in the resource combination.

[0084] In the embodiments of the present disclosure, a first multimedia resource and a resource combination associated with the first multimedia resource are set in the information stream, and when the switching playback condition is met, on the playback page of the information stream, the playback is switched from the first multimedia resource in the playing information stream to automatically playing continuously the multimedia resources within the resource combination in the information stream. This not only improves the coherence of the multimedia resource playback but also avoids problems such as playback interruption or loading delay that may occur when switching resources, providing a better viewing experience for users.

[0085] In some embodiments, in response to meeting the switching playback condition, based on the playback page of the information stream, at least one multimedia resource belonging to a resource collection is played, including:

[0086] In response to meeting the switching playback condition, based on the playback page of the information stream, in accordance with the playback order of the multimedia resources in the resource collection, starting from the playback node indicated by the historical playback progress of the current account, at least one multimedia resource belonging to the resource collection is automatically played continuously.

[0087] In the embodiments of the present disclosure, the historical playback progress of the current account can provide a personalized playback experience for users. At the same time, the above method enables users to start watching the multimedia resources in the resource collection not from a fixed playback node but from the playback node where they ended watching last time, so that they do not need to repeat watching the played content in the resource collection but can directly jump to the unplayed part and play continuously. This ensures the continuity of playback and enhances the user's viewing experience.

[0088] In some embodiments, in response to meeting the switching playback condition, based on the playback page of the information stream, at least one multimedia resource belonging to a resource collection is played, including:

[0089] In response to meeting the switching playback condition, it is displayed that a second multimedia resource belonging to the resource collection moves into the playback page of the information stream from any edge, and it is displayed that the first multimedia resource starts to be covered by the second multimedia resource from the edge until the first multimedia resource is completely covered by the second multimedia resource, and then the second multimedia resource is played; or,

[0090] In response to meeting the switching playback condition, it is displayed that the first multimedia resource moves out from one side edge of the playback page of the information stream, and it is displayed that a second multimedia resource in the resource collection moves into the playback page of the information stream from the other side edge until the first multimedia resource completely moves out, and then the second multimedia resource is played.

[0091] In the embodiments of the present disclosure, by displaying dynamic effects such as the second multimedia resource moving into and covering the first multimedia resource from any edge of the playback page of the information stream, or the first multimedia resource moving out and the second multimedia resource moving in, etc., the switching of multimedia resources in the playback page of the information stream is realized. This facilitates the user to intuitively understand the changes in the multimedia resources being played on the current playback page, enhances the visual effect of the playback page, improves the fluency and naturalness of content conversion, and provides a smooth and natural playback experience for the user.

[0092] In some embodiments, a first interaction component is displayed on the playback page of the information stream. In response to meeting the switching playback condition, based on the playback page of the information stream, at least one multimedia resource belonging to a resource collection is played, including:

[0093] In response to meeting the switching playback condition, based on the playback page of the information stream, at least one multimedia resource belonging to a resource collection is played, and a first prompt message is displayed in the first interaction component. The first prompt message is used to prompt the progress of playing at least one multimedia resource belonging to the resource collection.

[0094] In the embodiments of the present disclosure, by displaying the first prompt message in the first interaction component and providing instant feedback, the user can understand the progress of the currently played multimedia resource in real time, which facilitates the user to more precisely control the playback progress, such as selecting to skip the current resource, going back to the previous resource, or fast-forwarding to the next resource, etc. This improves the user's viewing experience and playback transparency, and also facilitates promoting the interaction between the user and the playback page.

[0095] In some embodiments, the first interaction component further includes at least one of an identifier of the resource collection, a name of the resource collection, and the number of multimedia resources in the resource collection.

[0096] In the embodiments of the present disclosure, by including relevant information of the resource collection in the first interaction component, not only is the transparency of information display improved, the information transmission efficiency is increased, but also the user's cognition and understanding of the currently played content are enhanced, which is beneficial to promoting the interaction between the user and the playback page and improving the user's viewing experience in the playback page of the information stream.

[0097] In some embodiments, a first interaction component is displayed on the playback page of the information stream. The method further includes:

[0098] In response to a trigger operation on the first interaction component, the page jumps from the playback page of the information stream to the playback page of the resource collection, and based on the playback page of the resource collection, the multimedia resources in the resource collection are played.

[0099] In the embodiments of the present disclosure, by setting a first interaction component on the playback page of the information stream and enabling it to respond to a trigger operation to achieve a page jump between the playback page of the information stream and the playback page of the resource collection. This not only improves the user experience and content coherence, but also provides an entrance to jump to the resource collection on the basis of playing the resource on the playback page of the information stream, facilitating the user to independently choose whether to jump, and realizing the connection between the playback page of the information stream and the playback page of the resource collection.

[0100] In some embodiments, a second interaction component is displayed on the playback page of the information stream, and different multimedia elements in the second interaction component correspond to different multimedia resources that can be played on the playback page of the information stream. The method further includes:

[0101] When the multimedia resource currently displayed on the playback page of the information stream is switched, it is displayed that the second interaction component is switched from a first form to a second form. The first form is used to prominently display the multimedia element corresponding to the multimedia resource before the switch, and the second form is used to prominently display the multimedia element corresponding to the multimedia resource after the switch.

[0102] In the embodiments of the present disclosure, by setting a second interaction component on the playback page of the information stream and switching the form of the second interaction component according to the switching situation of the currently played multimedia resource. This provides an intuitive visual feedback, enabling the user to clearly identify that the currently played multimedia resource has changed, thereby improving the user experience, optimizing the information display effect, and improving the information transmission efficiency.

[0103] In some embodiments, the method further includes:

[0104] When the currently played multimedia resource is a target type resource, in response to a sliding operation in a first direction on the playback page of the information stream, jump from the playback page of the information stream to the playback page of the resource collection, and based on the playback page of the resource collection, start playing the multimedia resources in the resource collection from the multimedia resource;

[0105] Wherein, the target type resource is a resource that obtains the playback permission by playing the incentive resource.

[0106] In the embodiments of the present disclosure, when playing a target type resource on the playback page of the information stream, realize a page jump between the playback page of the information stream and the playback page of the resource collection through a sliding operation, and continue playing the multimedia resources in the resource collection. This ensures the playback coherence, and also facilitates the user to play the resource collection, which helps to improve the playback rate.

[0107] In some embodiments, the method further includes:

[0108] When the currently played multimedia resource is a target type resource, in response to the multimedia resource playing to a preset playing node, based on the playing page of the information stream, play the incentive resource;

[0109] Wherein, the target type resource is a resource that obtains the playing permission by playing the incentive resource.

[0110] In the embodiments of the present disclosure, by automatically accessing the playing of the incentive resource during the playing of the target type resource. This not only improves the smoothness and efficiency of viewing, but also facilitates the promotion and display of the incentive resource, improves the information transmission efficiency, and at the same time is convenient for providing instant reward feedback to the user, thereby enhancing the user's incentive experience.

[0111] In some embodiments, in response to the multimedia resource playing to a preset playing node, based on the playing page of the information stream, playing the incentive resource includes:

[0112] In response to the multimedia resource playing to a preset playing node, display the incentive resource moving in from any edge of the playing page of the information stream, and display the multimedia resource starting to be covered by the incentive resource from the edge until the multimedia resource is completely covered by the incentive resource, and then play the incentive resource; or,

[0113] In response to the multimedia resource playing to a preset playing node, display the multimedia resource moving out from one side edge of the playing page of the information stream, and display the incentive resource moving in from the other side edge of the playing page of the information stream until the multimedia resource completely moves out, and then play the incentive resource.

[0114] In the embodiments of the present disclosure, by displaying the incentive resource moving in from any edge of the playing page of the information stream and covering the multimedia resource, or displaying the multimedia resource moving out and the incentive resource moving in and other dynamic transition effects, to play the incentive resource. This not only enhances the visual effect of the playing page, improves the smoothness and naturalness of content conversion, but also facilitates the user to intuitively understand that the currently played content is switched to the incentive resource, providing a smooth and natural playing experience for the user.

[0115] In some embodiments, the method further includes:

[0116] In response to an exit playing operation during the playing of the incentive resource, display a prompt component in the playing page of the information stream, and the prompt component is used to prompt that the playing permission of the multimedia resource can be obtained after the playing duration of the incentive resource reaches the reference duration.

[0117] In the embodiments of the present disclosure, by displaying the prompt component to prompt the user that the playing permission of the multimedia resource can be obtained after playing the incentive resource for a certain duration, it is beneficial to encourage the user to continue watching the incentive resource, thereby increasing the user's participation.

[0118] In some embodiments, the method further includes at least one of the following:

[0119] In response to a trigger operation on a first interactive control included in the prompt component, cancel the display of the prompt component and continue playing the incentive resource on the playback page of the information stream; or,

[0120] In response to a trigger operation on a second interactive control included in the prompt component, cancel the playback of the incentive resource and the display of the prompt component, and display a second prompt message on the playback page of the information stream, where the second prompt message is used to prompt playing the incentive resource to obtain the playback permission of the multimedia resource; or,

[0121] In response to a trigger operation on a third interactive control included in the prompt component, cancel the playback of the incentive resource and the display of the prompt component, and display an information display page associated with the incentive resource, where the information display page is used to display information about the object included in the incentive resource.

[0122] In the embodiments of the present disclosure, by adding various interactive controls in the prompt component and executing corresponding response logics according to the trigger operations of users, this can meet various playback needs of users, such as continuing to play the incentive resource, quickly exiting the playback, etc., improving the flexibility and personalization of the user experience, and also being beneficial to enhancing the initiative of user interaction.

[0123] The above Figure 2 shows a method for playing a multimedia resource of the present disclosure. Next, on the basis of Figure 2 further elaborate on the switching playback conditions and the multimedia resources that can be displayed on the playback page based on the information stream in the method for playing a multimedia resource provided by the present disclosure. Figure 3 is a flowchart of another method for playing a multimedia resource shown according to an exemplary embodiment. This method is executed by an electronic device. Refer to Figure 3 and this method includes the following steps:

[0124] In step 301, the electronic device plays a first multimedia resource in the information stream on the playback page of the information stream. The first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources.

[0125] In the embodiments of the present disclosure, the process of the electronic device playing the first multimedia resource in the information stream in step 301 is the same as that in step 201 above and will not be elaborated here.

[0126] For ease of description, refer to Figure 4 , Figure 4 is a schematic diagram of a playback page of an information stream shown according to an exemplary embodiment. Among them, the first multimedia resource is being played on the playback page of the information stream.

[0127] The following step 302 and step 303 are two ways for the electronic device to play at least one multimedia resource belonging to a resource collection based on the playback page of the information stream in response to meeting the switching playback condition. Among them, the switching playback conditions in step 302 and step 303 are different. In the case of meeting any switching playback condition, the electronic device can perform subsequent responses.

[0128] In step 302, the electronic device plays at least one multimedia resource belonging to a resource collection based on the playback page of the information stream in response to the end of playback of the first multimedia resource.

[0129] In the embodiments of the present disclosure, when the playback of the first resource ends in the playback page of the information stream, and at this time, the information stream has not been left and the resource position in the information stream has not changed, the multimedia resources belonging to the resource collection are switched for playback, so that the first multimedia resource and the multimedia resources in the associated resource collection occupy the same resource position for playback, and the playback can be automatically switched without the user's interaction operation, maintaining the continuity of playback.

[0130] It should be noted that in the case where the resource collection includes one multimedia resource, after playing this multimedia resource, it can prompt the end of playback, or automatically replay the first multimedia resource. In the case where the resource collection includes multiple multimedia resources, multiple multimedia resources can be automatically played continuously until the last multimedia resource in the order is played and then the first multimedia resource is replayed. For the playback order and replay order of the above multimedia resources, those skilled in the art can set them by themselves.

[0131] At this time, the switching playback condition is based on an automated or preset condition. In addition to the end of playback of the first multimedia resource, the switching playback condition can also be that the first multimedia resource plays to a preset playback node or a preset screen. Correspondingly, the electronic device plays at least one multimedia resource belonging to a resource collection based on the playback page of the information stream in response to the first multimedia resource playing to a preset playback node or a preset screen.

[0132] In step 303, the electronic device plays at least one multimedia resource belonging to a resource collection based on the playback page of the information stream in response to a sliding operation in the first direction in the playback page of the information stream.

[0133] In the embodiments of the present disclosure, in response to a sliding operation in the first direction, and at this time, the information stream has not been left and the resource position in the information stream has not changed, the multimedia resources belonging to the resource collection are switched for playback, so that the first multimedia resource and the multimedia resources in the associated resource collection occupy the same resource position for playback, which is intuitive and easy to operate, improving the convenience of playback.

[0134] At this time, the playback condition is switched to a condition based on user interaction operations. In addition to the sliding operation in the first direction, the playback condition can also be a triggering operation on the switching control, a dragging operation on the target control, etc. Correspondingly, the electronic device responds to the triggering operation on the switching control or the dragging operation on the target control, and plays at least one multimedia resource belonging to the resource collection based on the playback page of the information stream.

[0135] It should be noted that through the above two switching playback conditions, diversified playback triggering methods are provided, enabling users to flexibly select the multimedia resources to be played on the playback page of the information stream, thereby enhancing the flexibility and convenience of playback and improving the user's viewing experience.

[0136] In the above steps 302 and 303, the process of the electronic device playing the multimedia resources belonging to the resource collection based on the playback page of the information stream is the same as that in step 202 above, and will not be elaborated here. The following supplements the multimedia resource acquisition methods adopted in the process of playing the multimedia resources belonging to the resource collection. Please refer to the following methods (1) and (2).

[0137] Method (1): Play multimedia resources based on the resource combinations provided in the information stream, and the resource collection is not accessed during this process. Among them, each resource position in the information stream can correspond to a multimedia resource combination in addition to a multimedia resource. The multimedia resource combination includes multiple multimedia resources with a preset playback order. At this time, the information stream includes a resource combination, and the multimedia resources in the resource combination all belong to the resource collection. Optionally, the resource combination is part of the multimedia resources in the resource collection or all of the multimedia resources.

[0138] Method (2): Obtain the multimedia resources in the resource collection associated with the first multimedia resource from the server and play them. At this time, there is only the first multimedia resource at this resource position in the information stream, and the multimedia resources to be played at this resource position subsequently need to be obtained from the server in real time.

[0139] When the currently played multimedia resource on the playback page of the information stream is a target type resource, the electronic device can respond according to steps 304-305 and step 306. Among them, the target type resource is a resource that obtains the playback permission by playing the incentive resource. The target type resource can also be called a multimedia resource of the target type. Steps 304-305 are used to introduce the process of switching between playing the target type resource and playing the incentive resource, and step 306 is used to introduce the process of jumping from the playback page of the information stream to the playback page of the resource collection.

[0140] In step 304, when the currently played multimedia resource is a target type resource, the electronic device plays an incentive resource based on the playback page of the information stream in response to the multimedia resource being played to a preset playback node.

[0141] In the embodiments of the present disclosure, the electronic device can play at least one multimedia resource belonging to a resource collection on the playback page of the information stream. When the currently played multimedia resource of the electronic device is a target type resource, since the playback permission for this multimedia resource has not been obtained, it is necessary to play an incentive resource to obtain the playback permission for this multimedia resource in order to successfully complete the playback of this multimedia resource.

[0142] Among them, the preset playback node can be a playback node corresponding to a preset duration or a playback node corresponding to a preset picture. The incentive resource is an incentive video introducing and demonstrating a certain object, and the incentive resource is used to promote the object it introduces and demonstrates. The object can be an item, an account, an application, or a virtual resource, etc.

[0143] It should be noted that by automatically accessing the playback of the incentive resource during the playback of the target type resource, this not only improves the viewing fluency and efficiency, but also helps to promote and display the incentive resource, improves the information transmission efficiency, and at the same time facilitates providing instant reward feedback to the user, thereby enhancing the user's incentive experience.

[0144] To facilitate the description of the playback process of the target type resource on the playback page of the information stream, see Figure 5 as shown Figure 5 is a schematic diagram of another playback page of the information stream shown according to an exemplary embodiment. See Figure 5 As shown in Figure (a) in

[0145] In some embodiments, when the user exits the playback of the incentive resource, the electronic device displays a prompt component. Correspondingly, the electronic device displays a prompt component on the playback page of the information stream in response to an exit playback operation during the playback of the incentive resource. At the same time, in response to this exit playback operation, the playback of the incentive resource on the playback page of the information stream is stopped. Among them, the prompt component is used to prompt that the playback permission for the multimedia resource can be obtained after the playback duration of the incentive resource reaches the reference duration. For example, the words "Watch for another n seconds and immediately unlock m episodes" are displayed in the prompt component, where "n seconds" is used to indicate the gap between the currently played duration of the incentive resource and the reference duration, and "m episodes" is used to indicate the multimedia resource for which the playback permission can be obtained after the playback duration of the incentive resource reaches the reference duration.

[0146] It should be noted that by displaying a prompt component to prompt the user that they can obtain the playback permission of the multimedia resource after playing the incentive resource for a certain duration, it is beneficial to encourage the user to continue watching the incentive resource, thereby increasing user participation.

[0147] It should be noted that the prompt component includes at least one interactive control and supports the user to trigger it. The following introduces the interactive control in the prompt component and the response logic after the interactive control is triggered.

[0148] In some embodiments, in response to a trigger operation on the first interactive control included in the prompt component, the electronic device cancels the display of the prompt component and continues to play the incentive resource on the playback page of the information stream. Among them, the first interactive control is used to cancel the exit of the playback and connect to the playback progress when the exit playback operation is performed, and continue to play the incentive resource. For example, the words "Continue watching" are displayed in the first interactive control.

[0149] In some embodiments, in response to a trigger operation on the second interactive control included in the prompt component, the electronic device cancels the playback of the incentive resource and the display of the prompt component, and displays a second prompt message on the playback page of the information stream. Among them, the second interactive control is used to confirm the exit of the playback of the incentive resource, and the second prompt message is used to prompt to play the incentive resource to obtain the playback permission of the multimedia resource. For example, the words "Give up unlocking" are displayed in the second interactive control, and the second prompt message refers to adding a gray mask layer to the playback page of the information stream and displaying the words "Watch the incentive resource to unlock this episode", where "this episode" is used to indicate the multimedia resource that can obtain the playback permission after the playback duration of the incentive resource reaches the reference duration. See Figure 5 As shown in Figure (b) in , 501 is used to indicate the second prompt message.

[0150] In some embodiments, in response to a trigger operation on the third interactive control included in the prompt component, the electronic device cancels the playback of the incentive resource and the display of the prompt component, and displays an information display page associated with the incentive resource. Among them, the third interactive control is used to jump from the playback page of the information stream to the information display page associated with the incentive resource management, and the information display page is used to display the information of the object included in the incentive resource. For example, the words "Learn more" are displayed in the third interactive control, and the information display page is the details page or purchase page of the item included in the incentive resource, the account homepage of the account included in the incentive resource, the download page of the application included in the incentive resource, the acquisition page of the virtual resource included in the incentive resource, etc.

[0151] It should be noted that by adding various interactive controls to the prompt component and executing corresponding response logics according to the triggering operations of users, this can meet various playback needs of users, such as continuing to play incentive resources, quickly exiting playback, etc., improving the flexibility and personalization of the user experience, and also being conducive to enhancing the initiative of user interaction.

[0152] For the convenience of describing the process of incentive resources, refer to Figure 6 as shown in Figure 6 is a schematic diagram of a playback page of another information stream shown according to an exemplary embodiment. Refer to Figure 6 as shown in Figure (a) therein, an incentive resource is being played in the playback page of the information stream. At this time, the gap between the duration of the incentive resource that has been played and the reference duration is 20 seconds, that is, the countdown for obtaining the playback permission is 20 seconds. Then continue to play the incentive resource. If the user performs an operation to exit playback when the countdown is 15 seconds, refer to Figure 6 as shown in Figure (b) therein, the playback of the incentive resource stops. 601 is used to indicate the prompt component, 602 is used to indicate the first interactive control, 603 is used to indicate the second interactive control, and 604 is used to indicate the third interactive control.

[0153] In step 305, in response to the duration of playing the incentive resource reaching the reference duration, based on the playback page of the information stream, the electronic device resumes playing the multimedia resource from the preset playback node.

[0154] In the embodiments of the present disclosure, when the duration of playing the incentive resource reaches the reference duration, it indicates that the playback permission for the multimedia resource of the target type corresponding to the incentive resource has been obtained, and the playback of the incentive resource can be ended. Since the electronic device started to insert and play the incentive resource from the preset playback node of the multimedia resource of this target type, when ending the playback of the incentive resource, the previously played target type resource is resumed from this preset node.

[0155] In some embodiments, when the playback of the target type resource ends, the target type resource can be automatically replayed based on the playback page of the information stream; or the next multimedia resource in the sequence after the target type resource can be automatically played continuously based on the playback page of the information stream, which will not be elaborated here.

[0156] In step 306, when the currently played multimedia resource is a target type resource, in response to a sliding operation in the first direction on the playback page of the information stream, the electronic device jumps from the playback page of the information stream to the playback page of the resource collection, and based on the playback page of the resource collection, starts playing the multimedia resources in the resource collection from this multimedia resource.

[0157] In an embodiment of the present disclosure, a user can trigger a sliding operation in a first direction before playing an incentive resource while a target type resource is being played, or trigger a sliding operation in a target direction after playing an incentive resource and continuing to play a target type resource, and the embodiment of the present disclosure does not limit this. The playback page of a resource collection is different from the playback page of an information stream. By sliding in a specific direction on the playback page of an information stream, it is possible to switch between multimedia resources or multimedia resource combinations corresponding to different resource positions in the information stream. By sliding in a specific direction on the playback page of a resource collection, it is possible to switch between different multimedia resources included in the resource collection.

[0158] Optionally, when jumping to the playback page of a resource collection, the playback progress of the multimedia resource in the playback page of the information flow before the jump is connected, and the multimedia resource continues to be played in the playback page of the resource collection; or, when jumping to the playback page of a resource collection, the multimedia resource is played from the starting point of the multimedia resource, and there is no restriction on this.

[0159] It should be noted that when playing the target type of resource in the playback page of the information stream, the page jump between the playback page of the information stream and the playback page of the resource collection is realized through the sliding operation, and the multimedia resources in the resource collection are played continuously. This ensures the continuity of the playback, facilitates the user to play the resource collection, and helps to improve the playback rate.

[0160] The disclosed embodiment provides a method for playing multimedia resources, supports multiple switching playback conditions in the playback page of an information stream, and can display the first multimedia resources, multimedia resources belonging to a playback collection, and incentive resources, etc. in the playback page of the information stream, with high flexibility and improved user experience.

[0161] Above Figure 2 and Figure 3 The embodiment of the invention introduces a method for playing multimedia resources. On this basis, the following describes a method for playing multimedia resources belonging to a resource collection, such as automatic continuous broadcasting and responding to user interaction. Figure 7 is a flowchart of another method for playing multimedia resources according to an exemplary embodiment, the method is executed by an electronic device, see Figure 7 , the method comprises the following steps:

[0162] In step 701, the electronic device plays a first multimedia resource in the information stream based on the play page of the information stream, where the first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources.

[0163] In the embodiments of the present disclosure, the process of the electronic device playing the first multimedia resource in the information stream in step 701 is the same as that in step 201 above, and will not be elaborated here.

[0164] In step 702, the electronic device responds to meeting the switching playback condition and plays at least one multimedia resource belonging to the resource collection based on the playback page of the information stream.

[0165] In the embodiments of the present disclosure, the process of the electronic device playing the multimedia resource belonging to the resource collection based on the playback page of the information stream in step 702 is the same as that in step 202 above, and will not be elaborated here. The following is a supplementary description of this process.

[0166] In some embodiments, the electronic device responds to meeting the switching playback condition and automatically plays the multimedia resources in the resource combination in sequence based on the playback page of the information stream, according to the playback order of the multimedia resources in the resource combination. The information stream includes the first multimedia resource and the resource combination associated with the first multimedia resource, and the multimedia resources in the resource combination all belong to the resource collection. It should be noted that the first multimedia resource, the resource combination associated with the first multimedia resource, and the incentive resources corresponding to the multimedia resources in the resource combination belong to the multimedia resource combination corresponding to the same resource position in the information stream.

[0167] For example, the resource collection includes 100 short videos with connected plots, and the first multimedia resource is a highlight video of these 100 short videos. The resource combination includes the 50th, 51st, and 52nd short videos, and the playback order of the multimedia resources in the resource combination is that the 51st short video is played after the 50th short video, and the 52nd short video is played after the 51st short video. Among them, the 50th and 51st short videos do not belong to the multimedia resources of the target type and can be directly watched without incentive resources; the 52nd short video is a multimedia resource of the target type and requires an incentive resource to obtain the playback permission. At this time, the electronic device switches from playing the first multimedia resource in the information stream to playing the 50th short video on the playback page of the information stream, and without being affected by user interaction operations, sequentially plays from the 50th short video to the 52nd short video, and during the process of playing the 52nd short video, steps 304 to 305 above are executed, which will not be elaborated here.

[0168] It should be noted that the first multimedia resource and the resource combination associated with the first multimedia resource are set in the information stream, and when the switching playback condition is met, on the playback page of the information stream, the playback of the first multimedia resource in the information stream is switched to automatically playing the multimedia resources in the resource combination in the information stream in sequence. This not only improves the coherence of multimedia resource playback but also avoids problems such as playback interruption or loading delay that may occur when switching resources, providing a better viewing experience for users.

[0169] In some embodiments, in response to meeting the condition for switching playback, based on the playback page of the information stream, starting from the playback node indicated by the historical playback progress of the current account, the electronic device automatically plays in sequence at least one multimedia resource belonging to the resource collection according to the playback order of the multimedia resources in the resource collection.

[0170] It should be noted that after playing the multimedia resource where the playback node is located, the electronic device may play the multimedia resources after this multimedia resource according to the preset playback order of the multimedia resources in the resource collection. Optionally, when the number of multimedia resources in the resource collection played on the playback page of the information stream reaches a preset number threshold, the automatic sequential playback of the multimedia resources belonging to the resource collection stops. At this time, a prompt message is displayed to prompt the user to perform an interaction operation and jump from the playback page of the information stream to the playback page of the resource collection, or automatically jump from the playback page of the information stream to the playback page of the resource collection, and there is no limitation on this.

[0171] For example, the resource collection includes 100 short videos with connected plots, and the first multimedia resource is an exciting clip video of these 100 short videos. The current account last played to a certain playback node in the 66th episode. At this time, on the playback page of the information stream, the electronic device switches from playing the first multimedia resource to playing the multimedia resource of the 66th episode, and automatically plays the multimedia resources of the 66th episode and subsequent episodes from this playback node. After playing the multimedia resource of the 68th episode, it indicates that the user is interested in the resource collection and hopes to continue playing the multimedia resources in the resource collection, rather than hoping to play other multimedia resources in the information stream after the first multimedia resource. Therefore, the electronic device automatically jumps from the playback page of the information stream to the playback page of the resource collection.

[0172] It should be noted that the historical playback progress of the current account can provide a personalized playback experience for the user. At the same time, the above method enables the user to start watching the multimedia resources in the resource collection not from a fixed playback node, but to continue watching from the playback node where the last viewing ended, so that there is no need to repeat watching the content that has been played in the resource collection, but directly jump to the unplayed part and automatically play in sequence. This ensures the continuity of playback and improves the user's viewing experience.

[0173] During the process of playing the multimedia resources belonging to the resource collection on the playback page of the information stream, in response to the sliding operations in different directions on the playback page of the information stream, the electronic device makes different responses, as shown in the following steps 703 and step 704.

[0174] In step 703, the electronic device responds to a sliding operation in the first direction on the playback page of the information stream, and based on the playback page of the information stream, plays a multimedia resource that is after the current multimedia resource.

[0175] In the embodiments of the present disclosure, the multimedia resource that is after the current multimedia resource may refer to the multimedia resource whose playback order is after the current multimedia resource in the resource combination, or may refer to the multimedia resource whose playback order is after the current multimedia resource in the resource collection, and no limitation is imposed thereon.

[0176] It should be noted that the user is supported to switch the currently played multimedia resource on the playback page of the information stream to the next multimedia resource in the resource collection with adjacent playback order by means of a sliding operation in the first direction on the playback page of the information stream. This enables different multimedia resources to be switched and played at the same resource position in the information stream on the playback page of the information stream without affecting the multimedia resources at other resource positions in the information stream. This not only enriches the user's interaction experience, but also enhances the flexibility and interactivity of playback and improves the viewing experience of multimedia resources.

[0177] In step 704, the electronic device responds to a sliding operation in the second direction on the playback page of the information stream, and based on the playback page of the information stream, plays a multimedia resource that is before the current multimedia resource, where the first direction and the second direction are opposite directions.

[0178] In the embodiments of the present disclosure, when the current multimedia resource is the first multimedia resource played after the first multimedia resource, the multimedia resource that is before the current multimedia resource refers to the first multimedia resource; when the current multimedia resource is not the first multimedia resource played after the first multimedia resource, the multimedia resource that is before the current multimedia resource is the multimedia resource whose playback order is before the current multimedia resource in the resource combination.

[0179] That is to say, on the playback page of the information stream, the switching process between the first multimedia resource and the multimedia resources before the multimedia resources belonging to the resource collection, as well as the switching process between different multimedia resources belonging to the resource collection, both support the sliding operations in the first direction and in the second direction.

[0180] It should be noted that the user is supported to switch the currently played multimedia resource in the playback page of the information stream to the previous multimedia resource adjacent in the playback order by swiping in the second direction in the playback page of the information stream. This enables different multimedia resources to be switched and played at the same resource position in the information stream without affecting the multimedia resources at other resource positions in the information stream. This not only enriches the user's interaction experience, but also enhances the flexibility and interactivity of playback, improving the viewing experience of multimedia resources.

[0181] In some embodiments, the electronic device supports swiping operations in other directions. Accordingly, the electronic device responds to a swiping operation in the third direction or the fourth direction in the playback page of the information stream, and plays other multimedia resources in the information stream except the first multimedia resource based on the playback page of the information stream. Wherein, the third direction and the fourth direction are opposite directions, and the third direction is perpendicular to the first direction.

[0182] For example, the third direction and the fourth direction are respectively any one of the upper side direction and the lower side direction. By swiping up and down in the playback page of the information stream, it is possible to switch and play the multimedia resources corresponding to different resource positions in the information stream.

[0183] It should be noted that it is supported to switch and play the multimedia resources at different resource positions in the information stream by swiping in the third or fourth direction, and to switch and play the first multimedia resource or the multimedia resources belonging to the resource collection while occupying the same resource position in the information stream by swiping in the first or second direction. The two switching and playing methods do not interfere with each other, realizing diversified playing methods and enhancing flexibility.

[0184] It should be noted that there are various combination forms for the first direction, the second direction, the third direction and the fourth direction in the present disclosure. For example, the first direction and the second direction are respectively any one of the left side and the right side, and the third direction and the fourth direction are the upper side and the lower side; or, the first direction and the second direction are respectively any one of the upper side and the lower side, and the third direction and the fourth direction are respectively the left side and the right side. The embodiments of the present disclosure do not limit this.

[0185] The embodiments of the present disclosure provide a method for playing multimedia resources, which supports automatic continuous playback during the playback of multimedia resources belonging to a resource collection or responds to the user's swiping operations in different directions, so that the user is no longer limited to a single playback order, but can flexibly switch the multimedia resources played in the playback page of the information stream according to interests and preferences. This not only enriches the user's interaction experience, but also enhances the flexibility and interactivity of playback, improving the viewing experience of multimedia resources.

[0186] Any combination of the above optional technical solutions can form an optional embodiment of the present disclosure, which will not be elaborated one by one here.

[0187] The above Figure 2 , Figure 3 , Figure 7 The embodiments of... introduce the method for playing multimedia resources. On this basis, the following introduces the resource switching method on the playback page of the information stream and the changes of components during the resource switching process. Figure 8 is a flowchart of another method for playing multimedia resources shown according to an exemplary embodiment. This method is executed by an electronic device. Refer to Figure 8 This method includes the following steps:

[0188] In step 801, the electronic device plays a first multimedia resource in the information stream based on the playback page of the information stream. The first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources.

[0189] In the embodiments of the present disclosure, the process of the electronic device playing the first multimedia resource in the information stream in step 801 is the same as that in step 201 above, which will not be elaborated here.

[0190] In step 802, in response to meeting the switching playback condition, the electronic device displays the first multimedia resource moving out from one side edge of the playback page of the information stream, and displays the second multimedia resource in the resource collection moving in from the other side edge of the playback page of the information stream. After the first multimedia resource completely moves out, the second multimedia resource is played.

[0191] In the embodiments of the present disclosure, in order to improve the user's visual experience, the electronic device may display the first multimedia resource moving out from the left side edge of the playback page of the information stream, and display the second multimedia resource in the resource collection moving in from the right side edge of the playback page of the information stream.

[0192] It should be noted that the above step 802 is only an exemplary manner for the electronic device to play at least one multimedia resource belonging to the resource collection based on the playback page of the information stream in response to meeting the switching playback condition. Another exemplary manner is introduced below.

[0193] In some embodiments, in response to meeting the switching playback condition, the electronic device displays the second multimedia resource belonging to the resource collection moving in from any edge of the playback page of the information stream, and displays the first multimedia resource starting to be covered by the second multimedia resource from the edge. After the first multimedia resource is completely covered by the second multimedia resource, the second multimedia resource is played. For example, in order to improve the user's visual experience, the electronic device may display the second multimedia resource in the resource collection moving in from the right side edge of the playback page of the information stream.

[0194] Among them, during the process of the first multimedia resource being covered or removed, the first multimedia resource can be displayed in a state of stopped playback or still playing, and there is no restriction on this. During the process of the second multimedia resource being moved in, the second multimedia resource is displayed in a state of stopped playback, and starts playing until the second multimedia resource is completely moved in.

[0195] It should be noted that by displaying dynamic effects such as the second multimedia resource gradually covering the first multimedia resource, or the first multimedia resource moving out while the second multimedia resource moves in, etc., the switching of multimedia resources in the playback page of the information stream is realized. This facilitates the user to intuitively understand the changes of the multimedia resources played in the current playback page, enhances the visual effect of the playback page, improves the fluency and naturalness of content conversion, and provides a smooth and natural playback experience for the user.

[0196] For the convenience of describing the above switching process, refer to Figure 9 as shown in Figure 9 is a schematic diagram of a playback page during a switching process shown according to an exemplary embodiment. Refer to Figure 9 as shown in (a) therein, at this time, it is shown that the second multimedia resource moves in from the right and gradually covers the first multimedia resource. Refer to Figure 9 as shown in (b) therein, at this time, it is shown that the second multimedia resource moves in from the right, and the first multimedia resource is shown to move out from the left.

[0197] A first interaction component and a second interaction component are displayed on the playback page of the information stream, and the user can interact with them or obtain the prompt information displayed therein. Refer to the following steps 803 and 804, wherein step 803 is the response corresponding to the first interaction component, and step 804 is the response corresponding to the second interaction component.

[0198] In step 803, the electronic device responds to the trigger operation on the first interaction component in the playback page of the information stream, jumps from the playback page of the information stream to the playback page of the resource collection, and plays the multimedia resources in the resource collection based on the playback page of the resource collection.

[0199] In the embodiments of the present disclosure, the first interaction component can be used to implement the page jump function. It should be noted that by setting the first interaction component in the playback page of the information stream and enabling it to respond to the trigger operation to realize the page jump between the playback page of the information stream and the playback page of the resource collection. This not only improves the user experience and content coherence, but also provides an entrance for jumping to the resource collection on the basis of playing resources on the playback page of the information stream, facilitating the user to independently choose whether to jump, and realizing the connection between the playback page of the information stream and the playback page of the resource collection.

[0200] For ease of describing the first interaction component, refer to FIG. 4, where 401 is the first interaction component.

[0201] In some embodiments, during the process of switching multimedia resources on the playback page of the information stream, the information displayed in the first interaction component changes on the electronic device. The first interaction component is displayed on the playback page of the information stream. Correspondingly, in response to meeting the switching playback condition, the electronic device plays at least one multimedia resource belonging to the resource collection based on the playback page of the information stream, and displays a first prompt message in the first interaction component, or switches the original prompt message to a first display message in the first interaction component. The first prompt message is used to prompt the progress of playing at least one multimedia resource belonging to the resource collection.

[0202] For example, the first interaction component is a full-width bar component located at the bottom of the playback page of the information stream. The first prompt message in the first interaction component is displayed as the words "Switched to the next episode" or "Switched to episode ×". The original prompt message is displayed as the words "Limited-time free". Optionally, the first interaction component may also display words such as "About to switch to the next episode" and "Currently playing episode ×", which are not limited herein.

[0203] It should be noted that by displaying the first prompt message in the first interaction component and providing instant feedback, the user can understand the progress of the currently played multimedia resource in real time, which is convenient for the user to more precisely control the playback progress, such as selecting to skip the current resource, going back to the previous resource, or fast-forwarding to the next resource, etc. This improves the user's viewing experience and playback transparency, and also facilitates promoting the interaction between the user and the playback page.

[0204] In some embodiments, the first interaction component further includes at least one of the identifier of the resource collection, the name of the resource collection, and the number of multimedia resources in the resource collection. It should be noted that by including the relevant information of the resource collection in the first interaction component, not only the transparency of information display is improved, the information transmission efficiency is increased, but also the user's cognition and understanding of the currently played content are enhanced, which is beneficial to promoting the interaction between the user and the playback page and improving the user's viewing experience on the playback page of the information stream.

[0205] In step 804, when the currently displayed multimedia resource on the playback page of the information stream is switched, the electronic device displays that the second interaction component switches from the first form to the second form.

[0206] In the embodiments of the present disclosure, different multimedia elements in the second interaction component correspond to different multimedia resources playable in the playback page of the information stream. The first form is used to highlight the multimedia element corresponding to the multimedia resource before switching, and the second form is used to highlight the multimedia element corresponding to the multimedia resource after switching. It should be noted that the switching of the currently displayed multimedia resource here means that the resource position in the information stream does not change, and the multimedia resource corresponding to this resource position is switched and played at the same resource position.

[0207] It should be noted that by setting the second interaction component in the playback page of the information stream and switching the form of the second interaction component according to the switching situation of the currently played multimedia resource, this provides an intuitive visual feedback, enabling users to clearly identify that the currently played multimedia resource has changed, thereby enhancing the user experience, optimizing the information display effect, and improving the information transmission efficiency.

[0208] For the convenience of describing the second interaction component, see Figure 4 As shown, 402 is a second interaction component in one form. At this time, the second interaction component indicates that the first multimedia resource is being played. For the convenience of describing the morphological change process of the second interaction component, see Figure 9 As shown, 901 is a second interaction component in another form. At this time, the second interaction component indicates the playback of the second multimedia resource, such as the 49th short video. See Figure 5 As shown, 502 is another form of the second interaction component. At this time, the second interaction component indicates the playback of the target type resource, such as the 52nd short video.

[0209] In step 805, when the currently played multimedia resource is a target type resource, the electronic device responds to the multimedia resource being played to a preset playback node, displays the multimedia resource moving out from one side edge of the playback page of the information stream, and displays the incentive resource moving in from the other side edge of the playback page of the information stream. After the multimedia resource has completely moved out, the incentive resource is played.

[0210] In the embodiments of the present disclosure, in order to improve the user's visual experience, the electronic device may display the multimedia resource moving out from the left side edge of the playback page of the information stream and display the incentive resource moving in from the right side edge of the playback page of the information stream.

[0211] It should be noted that the above step 805 is only an exemplary manner for the electronic device to play the incentive resource based on the playback page of the information stream when the currently played multimedia resource is a target type resource and the multimedia resource is played to a preset playback node. Another exemplary manner is introduced below.

[0212] In some embodiments, when the currently played multimedia resource is a target type resource, in response to the multimedia resource being played to a preset playback node, the electronic device displays an incentive resource moving into the playback page of the information stream from any edge, and displays the multimedia resource starting to be covered by the incentive resource from the edge until the multimedia resource is completely covered by the incentive resource, and then plays the incentive resource. To improve the user's visual experience, the electronic device may display the incentive resource moving into the playback page of the information stream from the right edge.

[0213] During the process of the multimedia resource being covered or moved out, the multimedia resource may be displayed in a stopped playback state or still in a playing state, and there is no limitation on this. During the process of the incentive resource moving in, the incentive resource is displayed in a stopped playback state until the incentive resource is completely moved in, and then the incentive resource starts to be played.

[0214] It should be noted that the incentive resource is played by displaying the incentive resource moving in and covering the multimedia resource, or displaying the multimedia resource moving out while the incentive resource moves in and other dynamic transition effects. This not only enhances the visual effect of the playback page, improves the smoothness and naturalness of content conversion, but also facilitates the user to intuitively understand that the currently played content is switched to the incentive resource, providing a smooth and natural playback experience for the user.

[0215] For ease of describing the above switching process, refer to Figure 10 as shown in Figure 10 is a schematic diagram of a playback page during a switching process shown according to an exemplary embodiment. Refer to Figure 10 as shown in (a) therein, at this time, it is displayed that the incentive resource moves in from the right and gradually covers the multimedia resource of the target type. Refer to Figure 10 as shown in (b) therein, at this time, it is displayed that the incentive resource moves in from the right, and the multimedia resource of the target type is displayed as moving out from the left. For ease of description, at this time, the multimedia resource of the target type is Figure 5 the target type resource being played therein.

[0216] The embodiments of the present disclosure provide a method for playing a multimedia resource, which transmits information to the user through multiple interactive components in the playback page of the information stream and responds to the user's interactive operations, enabling the user to clearly identify the changes in the currently played multimedia resource and intuitively understand the playback progress, thereby improving the efficiency of information transmission. At the same time, the multimedia resource is switched in a smooth transition manner, enhancing the visual effect and improving the user experience.

[0217] All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and will not be elaborated herein one by one.

[0218] Figure 11It is a block diagram of a playback device for multimedia resources shown according to an exemplary embodiment. As Figure 11 shown, the device includes: a first playback unit 1101 and a second playback unit 1102.

[0219] The first playback unit 1101 is configured to play a first multimedia resource in the information stream based on the playback page of the information stream, where the first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources;

[0220] The second playback unit 1102 is configured to play at least one multimedia resource belonging to the resource collection based on the playback page of the information stream in response to meeting the switching playback condition.

[0221] In some embodiments, the second playback unit 1102 is configured to at least one of the following: play at least one multimedia resource belonging to the resource collection based on the playback page of the information stream in response to the end of the playback of the first multimedia resource; play at least one multimedia resource belonging to the resource collection based on the playback page of the information stream in response to a sliding operation in a first direction on the playback page of the information stream.

[0222] In some embodiments, the second playback unit 1102 is further configured to play the multimedia resource located after the current multimedia resource based on the playback page of the information stream in response to a sliding operation in a first direction on the playback page of the information stream.

[0223] In some embodiments, the second playback unit 1102 is further configured to play the multimedia resource located before the current multimedia resource based on the playback page of the information stream in response to a sliding operation in a second direction on the playback page of the information stream, where the first direction and the second direction are opposite directions.

[0224] In some embodiments, the first playback unit 1101 is further configured to play other multimedia resources in the information stream except the first multimedia resource based on the playback page of the information stream in response to a sliding operation in a third direction or a fourth direction on the playback page of the information stream, where the third direction and the fourth direction are opposite directions, and the third direction is perpendicular to the first direction.

[0225] In some embodiments, the information stream includes a first multimedia resource and a resource combination associated with the first multimedia resource, and the multimedia resources in the resource combination all belong to the resource collection;

[0226] The second playback unit 1102 is configured to automatically play the multimedia resources in the resource combination in sequence based on the playback page of the information stream in response to meeting the switching playback condition.

[0227] In some embodiments, the second playback unit 1102 is configured to, in response to meeting the switching playback condition, based on the playback page of the information stream, start from the playback node indicated by the historical playback progress of the current account, and automatically play at least one multimedia resource belonging to the resource collection in the playback order of the multimedia resources in the resource collection.

[0228] In some embodiments, the second playback unit 1102 is configured to, in response to meeting the switching playback condition, display the second multimedia resource belonging to the resource collection moving into the playback page of the information stream from either edge, and display the first multimedia resource being covered by the second multimedia resource starting from the edge until the first multimedia resource is completely covered by the second multimedia resource, and then play the second multimedia resource; or, in response to meeting the switching playback condition, display the first multimedia resource moving out of one side edge of the playback page of the information stream, and display the second multimedia resource in the resource collection moving into the playback page of the information stream from the other side edge until the first multimedia resource is completely moved out, and then play the second multimedia resource.

[0229] In some embodiments, a first interaction component is displayed on the playback page of the information stream;

[0230] The second playback unit 1102 is configured to, in response to meeting the switching playback condition, based on the playback page of the information stream, play at least one multimedia resource belonging to the resource collection, and display a first prompt message in the first interaction component, where the first prompt message is used to prompt the progress of playing at least one multimedia resource belonging to the resource collection.

[0231] In some embodiments, the first interaction component further includes at least one of the identifier of the resource collection, the name of the resource collection, and the number of multimedia resources in the resource collection.

[0232] In some embodiments, Figure 12 is a block diagram of another multimedia resource playback device shown according to an exemplary embodiment. A first interaction component is displayed on the playback page of the information stream; the device further includes:

[0233] The jump unit 1103 is configured to, in response to a trigger operation on the first interaction component, jump from the playback page of the information stream to the playback page of the resource collection, and based on the playback page of the resource collection, play the multimedia resources in the resource collection.

[0234] In some embodiments, a second interaction component is displayed on the playback page of the information stream, and different multimedia elements in the second interaction component correspond to different playable multimedia resources on the playback page of the information stream;

[0235] The second playback unit 1102 is further configured to, when the multimedia resource currently displayed in the playback page of the information stream is switched, display that the second interactive component is switched from the first form to the second form. The first form is used to highlight the multimedia element corresponding to the multimedia resource before the switch, and the second form is used to highlight the multimedia element corresponding to the multimedia resource after the switch.

[0236] In some embodiments, the jump unit 1103 is further configured to, when the currently played multimedia resource is a target type resource, in response to a sliding operation in the first direction on the playback page of the information stream, jump from the playback page of the information stream to the playback page of the resource collection, and based on the playback page of the resource collection, start playing the multimedia resources in the resource collection from the multimedia resource; wherein, the target type resource is a resource that obtains the playback permission by playing the incentive resource.

[0237] In some embodiments, the apparatus further includes:

[0238] The third playback unit 1104 is configured to, when the currently played multimedia resource is a target type resource, in response to the multimedia resource being played to a preset playback node, play the incentive resource based on the playback page of the information stream; wherein, the target type resource is a resource that obtains the playback permission by playing the incentive resource.

[0239] In some embodiments, the third playback unit 1104 is further configured to, in response to the multimedia resource being played to a preset playback node, display the incentive resource moving in from any edge of the playback page of the information stream, and display the multimedia resource being covered by the incentive resource starting from the edge until the multimedia resource is completely covered by the incentive resource, and then play the incentive resource; or, in response to the multimedia resource being played to a preset playback node, display the multimedia resource moving out from one side edge of the playback page of the information stream, and display the incentive resource moving in from the other side edge of the playback page of the information stream until the multimedia resource is completely moved out, and then play the incentive resource.

[0240] In some embodiments, the third playback unit 1104 is further configured to, in response to an exit playback operation during the playback of the incentive resource, display a prompt component on the playback page of the information stream, and the prompt component is used to prompt that the playback permission of the multimedia resource is obtained after the duration of playing the incentive resource reaches the reference duration.

[0241] In some embodiments, the third playback unit 1104 is further configured to perform at least one of the following: in response to a trigger operation on the first interaction control included in the prompt component, cancel the display of the prompt component and continue playing the incentive resource on the playback page of the information stream; or, in response to a trigger operation on the second interaction control included in the prompt component, cancel the playback of the incentive resource and the display of the prompt component, and display a second prompt message on the playback page of the information stream, where the second prompt message is used to prompt to play the incentive resource to obtain the playback permission of the multimedia resource; or, in response to a trigger operation on the third interaction control included in the prompt component, cancel the playback of the incentive resource and the display of the prompt component, and display an information display page associated with the incentive resource, where the information display page is used to display information about the object included in the incentive resource.

[0242] The embodiments of the present disclosure provide a playback device for multimedia resources, which plays the first multimedia resource in the information stream on the playback page of the information stream, and directly plays at least one multimedia resource belonging to the resource collection on the playback page of the information stream when the switching playback condition is met, without having to jump from the information stream to the resource collection and then play the multimedia resources in the resource collection. The multimedia resources in the resource collection can be played on the playback page of the information stream, that is, the multimedia resources belonging to the resource collection can be played without leaving the information stream, which improves flexibility and also provides the possibility to continue playing other multimedia resources in the information stream, avoiding the operation of jumping from the resource collection to the information stream again and improving the operation efficiency.

[0243] It should be noted that, for the playback device for multimedia resources provided in the above embodiments, only the division of the above functional units is used for illustration. In practical applications, the above functions can be allocated to different functional units according to needs, that is, the internal structure of the electronic device is divided into different functional units to complete all or part of the functions described above. In addition, the playback device for multimedia resources provided in the above embodiments and the embodiments of the playback method for multimedia resources belong to the same concept, and the specific implementation process is detailed in the method embodiments and will not be elaborated here.

[0244] Regarding the playback device for multimedia resources in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be elaborated here.

[0245] Figure 13 is a block diagram of an electronic device shown according to an exemplary embodiment. Generally, the electronic device 1300 includes a processor 1301 and a memory 1302.

[0246] The processor 1301 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 1301 may be implemented in at least one of the following hardware forms: DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a co-processor. The main processor is used to process data in the wake state and is also called the CPU (Central Processing Unit). The co-processor is a low-power processor used to process data in the standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may further include an AI (Artificial Intelligence) processor, which is used to process computational operations related to machine learning.

[0247] The memory 1302 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1302 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1302 is used to store at least one program code, and the at least one program code is used to be executed by the processor 1301 to implement the multimedia resource playback method provided in the method embodiments of the present disclosure.

[0248] In some embodiments, the electronic device 1300 may further optionally include: a peripheral device interface 1303 and at least one peripheral device. The processor 1301, the memory 1302, and the peripheral device interface 1303 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1303 through a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1304, a display screen 1305, a camera module 1306, an audio circuit 1307, and a power supply 1308.

[0249] The peripheral device interface 1303 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.

[0250] The radio frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1304 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1304 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 1304 can communicate with other electronic devices through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: metropolitan area network, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area network, and / or WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1304 may further include a circuit related to NFC (Near Field Communication), and this disclosure does not limit this.

[0251] The display screen 1305 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1305 is a touch display screen, the display screen 1305 also has the ability to collect touch signals on or above the surface of the display screen 1305. The touch signals can be input as control signals to the processor 1301 for processing. At this time, the display screen 1305 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1305, which is provided on the front panel of the electronic device 1300; in other embodiments, there may be at least two display screens 1305, which are respectively provided on different surfaces of the electronic device 1300 or are in a folding design; in still other embodiments, the display screen 1305 may be a flexible display screen, which is provided on a curved surface or a folding surface of the electronic device 1300. Even, the display screen 1305 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 1305 can be prepared from materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0252] The camera module 1306 is used to capture images or videos. Optionally, the camera module 1306 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the electronic device, and the rear camera is provided on the back of the electronic device. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera respectively, so as to realize the function of background blurring by fusing the main camera and the depth-of-field camera, the function of panoramic shooting by fusing the main camera and the wide-angle camera, and the VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera module 1306 may further include a flash. The flash can be a single-color-temperature flash or a two-color-temperature flash. A two-color-temperature flash refers to a combination of a warm-light flash and a cold-light flash, which can be used for light compensation under different color temperatures.

[0253] The audio circuit 1307 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 1301 for processing, or input to the radio frequency circuit 1304 to enable voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the electronic device 1300. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 1301 or the radio frequency circuit 1304 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 1307 may further include a headphone jack.

[0254] The power supply 1308 is used to supply power to each component in the electronic device 1300. The power supply 1308 may be alternating current, direct current, a primary battery or a rechargeable battery. When the power supply 1308 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charging technology.

[0255] Those skilled in the art can understand that Figure 13 the structure shown in

[0256] does not constitute a limitation on the electronic device 1300, and may include more or fewer components than shown in the figure, or combine some components, or adopt a different component arrangement.

[0257] A computer program product includes a computer program, and when the computer program is executed by a processor, it implements the above-mentioned multimedia resource playing method.

[0258] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0259] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for playing multimedia resources, characterized in that, The method includes: Based on the playback page of the information stream, play the first multimedia resource in the information stream, where the first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources; In response to meeting the switching playback condition, based on the playback page of the information stream, play at least one multimedia resource belonging to the resource collection.

2. The method for playing multimedia resources according to claim 1, wherein, The step of, in response to meeting the switching playback condition, based on the playback page of the information stream, playing at least one multimedia resource belonging to the resource collection includes at least one of the following: In response to the end of the playback of the first multimedia resource, based on the playback page of the information stream, play at least one multimedia resource belonging to the resource collection; In response to a sliding operation in a first direction on the playback page of the information stream, based on the playback page of the information stream, play at least one multimedia resource belonging to the resource collection.

3. The method for playing multimedia resources according to claim 2, wherein The method further includes: In response to a sliding operation in the first direction on the playback page of the information stream, based on the playback page of the information stream, play the multimedia resource after the current multimedia resource.

4. The playback method of the multimedia resource according to claim 2, wherein, The method further includes: In response to a sliding operation in a second direction on the playback page of the information stream, based on the playback page of the information stream, play the multimedia resource before the current multimedia resource, where the first direction and the second direction are opposite directions.

5. The method for playing a multimedia resource according to claim 4, wherein, The method further includes: In response to a sliding operation in a third direction or a fourth direction on the playback page of the information stream, based on the playback page of the information stream, play the other multimedia resources in the information stream except the first multimedia resource, where the third direction and the fourth direction are opposite directions, and the third direction is perpendicular to the first direction.

6. The method for playing multimedia resources according to claim 1, characterized in that The information stream includes the first multimedia resource and a resource combination associated with the first multimedia resource, and all the multimedia resources in the resource combination belong to the resource collection. The step of, in response to meeting the switching playback condition, based on the playback page of the information stream, playing at least one multimedia resource belonging to the resource collection includes: In response to meeting the switching playback condition, based on the playback page of the information stream, automatically play the multimedia resources in the resource combination in sequence according to the playback order of the multimedia resources in the resource combination.

7. The method for playing multimedia resources according to claim 1, wherein The step of, in response to meeting the switching playback condition, based on the playback page of the information stream, playing at least one multimedia resource belonging to the resource collection includes: In response to meeting the switching playback condition, display the second multimedia resource belonging to the resource collection moving into the playback page of the information stream from any edge, and display the first multimedia resource starting to be covered by the second multimedia resource from the edge until the first multimedia resource is completely covered by the second multimedia resource, and then play the second multimedia resource; or, In response to satisfying the switching playback condition, display the first multimedia resource moving out from one side edge of the playback page of the information stream, and display the second multimedia resource in the resource collection moving in from the other side edge of the playback page of the information stream. After the first multimedia resource has completely moved out, play the second multimedia resource.

8. The method for playing multimedia resources according to claim 1, wherein A first interaction component is displayed on the playback page of the information stream. The playing, in response to satisfying the switching playback condition, of at least one multimedia resource belonging to the resource collection based on the playback page of the information stream includes: In response to satisfying the switching playback condition, play at least one multimedia resource belonging to the resource collection based on the playback page of the information stream, and display first prompt information in the first interaction component, where the first prompt information is used to prompt the progress of playing at least one multimedia resource belonging to the resource collection.

9. The method for playing multimedia resources according to claim 1, wherein A first interaction component is displayed on the playback page of the information stream. The method further includes: In response to a triggering operation on the first interaction component, jump from the playback page of the information stream to the playback page of the resource collection, and play the multimedia resources in the resource collection based on the playback page of the resource collection.

10. The method for playing multimedia resources according to claim 1, wherein A second interaction component is displayed on the playback page of the information stream. Different multimedia elements in the second interaction component correspond to different playable multimedia resources on the playback page of the information stream. The method further includes: When the multimedia resource currently displayed on the playback page of the information stream is switched, display the second interaction component switching from a first form to a second form. The first form is used to prominently display the multimedia element corresponding to the multimedia resource before switching, and the second form is used to prominently display the multimedia element corresponding to the multimedia resource after switching.

11. The method for playing multimedia resources according to claim 1, characterized in that, The method further includes: When the currently played multimedia resource is a target type resource, in response to a sliding operation in a first direction on the playback page of the information stream, jump from the playback page of the information stream to the playback page of the resource collection, and play the multimedia resources in the resource collection starting from the multimedia resource based on the playback page of the resource collection; where the target type resource is a resource for which the playback permission is obtained by playing an incentive resource.

12. The method for playing a multimedia resource according to claim 1, wherein The method further includes: When the currently played multimedia resource is a target type resource, in response to the multimedia resource playing to a preset playback node, play the incentive resource based on the playback page of the information stream; where the target type resource is a resource for which the playback permission is obtained by playing an incentive resource.

13. The method for playing multimedia resources according to claim 12, wherein The playing of the incentive resource based on the playback page of the information stream in response to the multimedia resource playing to a preset playback node includes: In response to the multimedia resource playing to the preset playback node, display the incentive resource moving in from any edge of the playback page of the information stream, and display the multimedia resource starting from the edge being covered by the incentive resource. After the multimedia resource is completely covered by the incentive resource, play the incentive resource; or, In response to the multimedia resource being played to the preset playback node, display the multimedia resource moving out from one side edge of the playback page of the information stream, and display the incentive resource moving in from the other side edge of the playback page of the information stream. After the multimedia resource has completely moved out, play the incentive resource.

14. The method for playing multimedia resources according to claim 12, wherein The method further includes: In response to an exit playback operation during the playback of the incentive resource, display a prompt component in the playback page of the information stream. The prompt component is used to prompt that the playback permission of the multimedia resource can be obtained after the playback duration of the incentive resource reaches a reference duration.

15. The method for playing multimedia resources according to claim 14, characterized in that, The method further includes at least one of the following: In response to a trigger operation on a first interaction control included in the prompt component, cancel the display of the prompt component and continue playing the incentive resource in the playback page of the information stream; or, In response to a trigger operation on a second interaction control included in the prompt component, cancel the playback of the incentive resource and the display of the prompt component, and display a second prompt message in the playback page of the information stream. The second prompt message is used to prompt that playing the incentive resource is required to obtain the playback permission of the multimedia resource; Or, In response to a trigger operation on a third interaction control included in the prompt component, cancel the playback of the incentive resource and the display of the prompt component, and display an information display page associated with the incentive resource. The information display page is used to display information about the object included in the incentive resource.

16. A playback device for multimedia resources, characterized in that, The apparatus includes: A first playback unit configured to play a first multimedia resource in the information stream based on a playback page of the information stream. The first multimedia resource is used to promote a resource collection, and the resource collection includes multiple multimedia resources; A second playback unit configured to, in response to meeting a switching playback condition, play at least one multimedia resource belonging to the resource collection based on the playback page of the information stream.

17. An electronic device, characterized in that, The electronic device includes: One or more processors; A memory for storing program code executable by the processor; Wherein, the processor is configured to execute the program code to implement the method for playing a multimedia resource according to any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for playing a multimedia resource according to any one of claims 1 to 15.

19. A computer program product, including a computer program which, when executed by a processor, implements the method for playing a multimedia resource according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Video switching method and device, electronic equipment and storage medium

    CN111770384A

  • Video playing method and device and electronic equipment

    CN112672220A

  • Video processing method and device, equipment and storage medium

    CN114697752A

  • Display content unlocking method and device, equipment and readable storage medium

    CN114764720A

  • Media content publishing method and device and computer readable storage medium

    CN117633379A