Method, device and equipment for playing multimedia resource and storage medium
By providing multiple playback modes and convenient switching methods in the multimedia resource playback interface, the problem of monotonous playback methods and low human-computer interaction efficiency in the existing technology is solved, realizing rich multimedia resource playback and efficient switching operations.
Patent Information
- Application Number
- CN202510065421.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2045-01-15
AI Technical Summary
The existing multimedia resources have a rather monotonous playback method, low human-computer interaction efficiency, and a single switching operation method, which cannot meet the diverse needs of users.
It offers multiple playback modes and convenient switching methods. By executing the target operation in the playback interface, the mode switching interface can be brought up. It supports different multimedia resource types and operation methods in various playback modes, including automatic continuous playback and fast playback.
It improves the richness of multimedia resource playback and the efficiency of human-computer interaction, simplifies switching operations, and enhances the user experience.
Smart Images

Figure CN119906851B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of multimedia, and particularly relates to a multimedia resource playing method and device, equipment and a storage medium. BACKGROUND
[0002] With the development of multimedia technology, watching multimedia resources such as video works and picture works on a video platform has gradually become a kind of leisure and entertainment way for users. Taking a short video application as an example, after a user starts the short video application through a terminal, the terminal receives information streams pushed by a background server, and plays multimedia resources based on the information streams. In the process of playing the multimedia resources, the user can switch different multimedia resources through up and down sliding operations. However, the above playing method is relatively common, the played multimedia resources and the operation method of switching the multimedia resources are relatively monotonous, and the human-computer interaction efficiency is relatively low. SUMMARY
[0003] The present disclosure provides a multimedia resource playing method, device, equipment and storage medium, which can provide rich multimedia resources and convenient and various operation methods of switching the multimedia resources, and improve the human-computer interaction efficiency. The technical scheme of the present disclosure is as follows:
[0004] According to an aspect of an embodiment of the present disclosure, a multimedia resource playing method is provided, which includes:
[0005] playing multimedia resources in a playing interface;
[0006] in response to a target call-out operation based on the playing interface, displaying a mode switching interface corresponding to the target call-out operation, the mode switching interface including a plurality of playing modes, the types of multimedia resources played in different playing modes being different, or the operation methods of triggering multimedia resource switching in different playing modes being different;
[0007] in response to a selection operation on any playing mode, playing in the playing interface based on the playing mode.
[0008] According to another aspect of an embodiment of the present disclosure, a multimedia resource playing device is provided, which includes:
[0009] a playing unit configured to play multimedia resources in a playing interface;
[0010] a display unit configured to, in response to a target call-out operation based on the playing interface, display a mode switching interface corresponding to the target call-out operation, the mode switching interface including a plurality of playing modes, the types of multimedia resources played in different playing modes being different, or the operation methods of triggering multimedia resource switching in different playing modes being different;
[0011] The playing unit is further configured to play based on the playing mode in the playing interface in response to a selection operation on any playing mode.
[0012] In some embodiments, the display unit is configured to display the mode switching interface in response to a triggering operation on a mode switching control in the playing interface, or display the mode switching interface in response to a voice calling instruction.
[0013] In some embodiments, the target calling operation is a triggering operation on a mode switching control, and the display unit is further configured to display the mode switching control in the playing interface in a case where the multimedia resource is a first multimedia resource.
[0014] In some embodiments, the target calling operation is a triggering operation on a mode switching control, and the display unit is further configured to alternately display the mode switching control and an audio control in a display area of the mode switching control, the audio control being used to trigger display of background music of the multimedia resource.
[0015] In some embodiments, the display unit is further configured to display the plurality of playing modes and the audio control in the mode switching interface in response to the triggering operation on the mode switching control.
[0016] In some embodiments, the display unit is configured to display the mode switching interface on an upper layer of the playing interface, the mode switching interface including the plurality of playing modes, a confirmation control used to trigger switching to a currently selected playing mode, and a cancel control used to trigger exiting the currently selected playing mode.
[0017] In some embodiments, the display unit is configured to display the mode switching interface in a barrage region of the playing interface, the mode switching interface including the plurality of playing modes.
[0018] The playing unit is configured to play based on the playing mode in the playing interface in response to a triggering operation on any playing mode.
[0019] In some embodiments, the display unit is configured to display the mode switching interface in a wheel style in the playing interface, the mode switching interface including a plurality of regions, each region displaying a playing mode.
[0020] The playing unit is configured to highlight a currently selected region in response to a sliding operation in the mode switching interface, and play based on the playing mode displayed in the currently selected region in the playing interface in response to an end of the sliding operation.
[0021] In some embodiments, the display unit is further configured to, in response to a zoom operation on the mode switching interface, zoom the mode switching interface; or, in response to a drag operation on the mode switching interface, display movement of the mode switching interface.
[0022] In some embodiments, the display unit is further configured to, in response to an operation of dragging the mode switching interface to any side edge region, cancel display of the mode switching interface and display a floating control in the edge region; and in response to a triggering operation on the floating control, display the plurality of play modes within a preset range of the floating control.
[0023] In some embodiments, the plurality of play modes includes a first mode.
[0024] The play unit is configured to, in response to a selection operation on the first mode, play a first type of multimedia resource in the play interface, the first type of multimedia resource having a time interval between a publishing time and a current time that is less than a preset interval.
[0025] In some embodiments, the plurality of play modes includes a second mode.
[0026] The play unit is configured to, in response to a selection operation on the second mode, play a second type of multimedia resource in the play interface, the second type of multimedia resource satisfying at least one preset condition, the preset condition including a publishing time being within a historical time period, a play amount being within a preset position, a complete play rate reaching a preset value, and an interaction amount being within a preset position.
[0027] In some embodiments, the plurality of play modes includes an automatic continuous play mode.
[0028] The play unit is configured to, in response to a selection operation on the automatic continuous play mode, continue to play the multimedia resource in the play interface; and in a case where the multimedia resource is played to the end, automatically play a next multimedia resource.
[0029] In some embodiments, the plurality of play modes includes a fast play mode.
[0030] The play unit is configured to, in response to a selection operation on the fast play mode, continue to play the multimedia resource; and in response to a click operation on the multimedia resource, play a next multimedia resource.
[0031] In some embodiments, the play unit is further configured to, in response to an exit operation on the play mode, continue to play the multimedia resource.
[0032] In some embodiments, the exiting operation on the playing mode includes at least one of the following: a return operation on the playing interface; an operation of unselecting the playing mode in the mode switching interface; an operation of triggering a cancel control in a case that the playing mode is selected in the mode switching interface.
[0033] According to another aspect of the embodiments of the present disclosure, an electronic device is provided, which includes:
[0034] one or more processors;
[0035] a memory for storing the program code executable by the processor;
[0036] wherein the processor is configured to execute the program code to implement the playing method of the multimedia resource.
[0037] According to another aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, which, when the program code in the computer readable storage medium is executed by a processor of an electronic device, enables the electronic device to perform the playing method of the multimedia resource.
[0038] According to another aspect of the embodiments of the present disclosure, a computer program product is provided, which includes a computer program, which, when executed by a processor, implements the playing method of the multimedia resource.
[0039] The embodiments of the present disclosure provide a playing scheme of a multimedia resource, which not only supports multiple playing modes, but also provides an efficient and convenient way of switching playing modes. By performing a target callout operation on a playing interface of a multimedia resource, a mode switching interface can be simply and conveniently invoked, and then multiple playing modes displayed in the mode switching interface can be simply and conveniently switched. Further, the types of multimedia resources played in different playing modes are different, or the operation modes of triggering multimedia resource switching in different playing modes are different, so that by using the above playing scheme, not only rich multimedia resources can be played, but also convenient and various operation modes of switching multimedia resources can be supported, and the human-computer interaction efficiency is improved.
[0040] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0041] The accompanying drawings incorporated in and forming a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure without imposing undue limitations on the disclosure.
[0042] Figure 1is a schematic diagram of an implementation environment of a multimedia resource playing method according to an exemplary embodiment.
[0043] Figure 2 is a flowchart of a multimedia resource playing method according to an exemplary embodiment.
[0044] Figure 3 is a flowchart of another multimedia resource playing method according to an exemplary embodiment.
[0045] Figure 4 is a schematic diagram of a mode switching interface according to an exemplary embodiment.
[0046] Figure 5 is a schematic diagram of another mode switching interface according to an exemplary embodiment.
[0047] Figure 6 is a schematic diagram of yet another mode switching interface according to an exemplary embodiment.
[0048] Figure 7 is a block diagram of a multimedia resource playing device according to an exemplary embodiment.
[0049] Figure 8 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] In order for those skilled 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 described clearly and completely below with reference to the drawings.
[0051] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-described drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein. The implementation described in the following exemplary embodiments does not represent all the implementations consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0052] 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 authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the multimedia resources involved in the present disclosure are obtained with full authorization.
[0053] Figure 1 is a schematic diagram of an implementation environment of a multimedia resource playing method according to an example embodiment. Referring to Figure 1 The implementation environment specifically includes a terminal 101 and a server 102. The terminal 101 can be connected to the server 102 through a wireless network or a wired network.
[0054] The terminal 101 can be at least one of a smart phone, a smart watch, a desktop computer, a laptop computer, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, and a laptop computer.
[0055] In some embodiments, the terminal 101 is installed or runs a target application. The target application can be any type of application program with a multimedia resource playing function, such as a short video application, a social application, etc. A user can view multimedia resources recommended by a background server of the target application through a playing interface provided by the target application on the terminal 101. The server 102 can be a background server of the target application, used to provide background services for the target application.
[0056] The terminal 101 can generally refer to one of a plurality of terminals, and the present embodiment takes the terminal 101 as an example. Those skilled in the art can know that the number of the above-mentioned terminals can be more or less. For example, the above-mentioned terminals can be several, or the above-mentioned terminals can be dozens or hundreds, or more, and the number and type of the terminal are not limited in the present embodiment.
[0057] The server 102 is at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. Optionally, the number of the above-mentioned servers can be more or less, and the embodiments of the present disclosure do not limit this. Of course, the server 102 can also include other functional servers in order to provide more comprehensive and diversified services. In some embodiments, the server 102 undertakes the main computing work, and the terminal 101 undertakes the secondary computing work; or the server 102 undertakes the secondary computing work, and the terminal 101 undertakes the main computing work; or the server 102 and the terminal 101 adopt a distributed computing architecture for collaborative computing. The server 102 can be connected with the terminal 101 and other terminals through a wireless network or a wired network, and optionally, the number of the above-mentioned servers can be more or less, and the embodiments of the present disclosure do not limit this.
[0058] Figure 2 FIG. 6 is a flowchart of a multimedia resource playing method according to an example embodiment. As shown in FIG. 6, the method is performed by an electronic device and includes the following steps: Figure 2
[0059] In step 201, the electronic device plays a multimedia resource in a playing interface.
[0060] In the embodiments of the present disclosure, the electronic device installs or runs a target application. The target application is an application program with a resource playing function, such as a short video application, a social application, etc. The playing interface is an interface provided by the target application for playing multimedia resources pushed by the target application. The multimedia resource includes but is not limited to a short video, a long video, a picture-text collection, a video live broadcast, etc.
[0061] In some embodiments, in response to a starting operation of the target application, the electronic device plays a multimedia resource in the playing interface according to an information stream pushed by a background server of the target application. Optionally, the information stream is a feed stream. The feed stream is used to indicate access addresses of a plurality of multimedia resources to be played, that is, the feed stream can include a plurality of access addresses, and the electronic device can obtain the multimedia resource according to the feed stream and play the multimedia resource in the playing interface. In the process of playing the multimedia resource, the electronic device can obtain a multimedia resource corresponding to a previous access address or a next access address in the information stream based on a resource switching operation of the user, so as to switch the multimedia resource in the playing interface.
[0062] In step 202, in response to a target invocation operation based on the playing interface, the electronic device displays a mode switching interface corresponding to the target invocation operation, and the mode switching interface includes a plurality of playing modes.
[0063] In the embodiments of the present disclosure, the target call-out operation can be a direct operation or an indirect operation input in the playing interface. The direct operation refers to an operation directly acting on the playing interface, such as a trigger operation on a mode switching control in the playing interface, a sliding operation in a preset direction on the playing interface, and the like. The indirect operation refers to an operation or instruction that can interact with the playing interface, such as a gesture in the air, a voice instruction, and the like, although it does not directly act on the playing interface.
[0064] The target call-out operation is used to call out a mode switching interface. The mode switching interface includes a plurality of selectable playing modes, and is used to switch the current playing mode. The types of multimedia resources played in different playing modes are different. Alternatively, the types of multimedia resources can be associated with the storage manner of multimedia resources, recall rules, and the like. For example, if the playing mode is an offline mode, the multimedia resources played in the playing interface can be locally stored multimedia resources; if the playing mode is a look at target resource mode, the multimedia resources played in the playing interface can be target resources determined according to corresponding recall rules. Alternatively, the operation manner for triggering multimedia resource switching is different in different playing modes. For example, taking a short video application as an example, the operation for triggering multimedia resource switching is usually an up sliding operation and a down sliding operation. If the playing mode is a fast playing mode, the switching of multimedia resources can be triggered by clicking the multimedia resources, without the need to perform up and down sliding operations, which simplifies the manner of switching multimedia resources and realizes fast switching of multimedia resources.
[0065] In step 203, in response to the selection operation on any playing mode, the electronic device plays in the playing interface based on the playing mode.
[0066] In the embodiments of the present disclosure, the electronic device can play multimedia resources in the playing interface according to any selected playing mode. For example, the playing mode includes an automatic continuous playing mode. After the playing mode is selected, the electronic device can continue to play multimedia resources, and when the multimedia resources are played to the end, the electronic device automatically plays the next multimedia resource without the need for the user to manually perform a resource switching operation. Alternatively, the playing mode includes a look at target resource mode. After the playing mode is selected, the electronic device can play target resources in the playing interface. The target resources are multimedia resources determined according to the recall rules corresponding to the playing mode.
[0067] The embodiment of the present disclosure provides a playing method of a multimedia resource, which not only supports multiple playing modes, but also provides an efficient and convenient mode switching playing mode. By performing a target calling operation on a playing interface of the multimedia resource, a mode switching interface can be simply and conveniently called, and then the multiple playing modes displayed in the mode switching interface can be simply and conveniently switched. Further, the multimedia resources played in different playing modes are different in type, or the operation modes for triggering the switching of the multimedia resources in different playing modes are different, so that the above playing scheme can not only play rich multimedia resources, but also support various and convenient operation modes for switching the multimedia resources, and the human-computer interaction efficiency is improved.
[0068] In some embodiments, the mode switching interface corresponding to the target calling operation is displayed in response to the target calling operation based on the playing interface, including:
[0069] The mode switching interface is displayed in response to a triggering operation on a mode switching control in the playing interface; or
[0070] The mode switching interface is displayed in response to a voice calling instruction.
[0071] In the embodiment of the present disclosure, the mode switching control is displayed on the playing interface, and the mode switching interface is called by triggering the mode switching control, so that the user does not need to manually find the entry of the mode switching, the interaction operation is simplified, and the human-computer interaction efficiency is improved. In addition, by supporting the voice calling mode switching interface, the operation for calling the mode switching interface can be further simplified, and the human-computer interaction efficiency is improved.
[0072] In some embodiments, the target calling operation is a triggering operation on the mode switching control, and the method further includes:
[0073] In a case where the multimedia resource is a first multimedia resource, the mode switching control is displayed in a preset area of the playing interface.
[0074] In the embodiment of the present disclosure, by displaying the mode switching control during playing the first multimedia resource, the mode switching control can be avoided from blocking the multimedia resource due to continuous display, so that the playing effect of the multimedia resource is improved.
[0075] In some embodiments, the target calling operation is a triggering operation on the mode switching control, and the method further includes:
[0076] The mode switching control and an audio control are alternately displayed in a display area of the mode switching control, and the audio control is used to trigger the display of background music of the multimedia resource.
[0077] In this embodiment of the disclosure, since the audio control is used less frequently than interactive controls such as like controls and comment controls, by alternating the display of the mode switching control and the audio control, the area obscured by the mode switching control can be further reduced without affecting the interaction with multimedia resources, thereby saving display space and ensuring the cleanliness of the playback interface.
[0078] In some embodiments, in response to a target call-up operation based on a playback interface, a mode switching interface corresponding to the target call-up operation is displayed, including:
[0079] In response to a trigger operation on the mode switching control, multiple playback modes and audio controls are displayed on the mode switching interface.
[0080] In this embodiment of the disclosure, it is possible to ensure that the audio control can be triggered to view the background music even on the mode switching interface, avoiding the situation where users can only wait on the playback interface for the mode switching control to be updated to the audio control, thus shortening the waiting time and improving the efficiency of human-computer interaction.
[0081] In some embodiments, a mode switching interface corresponding to the target call-up operation is displayed, including:
[0082] The mode switching interface is displayed on top of the playback interface. The mode switching interface includes multiple playback modes, a confirmation control, and a cancellation control. The confirmation control is used to switch to the currently selected playback mode after being triggered, and the cancellation control is used to exit the currently selected playback mode after being triggered.
[0083] In this embodiment of the disclosure, by displaying multiple playback modes and corresponding operation controls on the mode switching interface, it is possible to switch between multiple playback modes on the mode switching interface. This not only clearly and intuitively conveys the applicable playback modes, but also eliminates the need for users to manually find the entry point for each playback mode, simplifying the operation of switching playback modes and improving the amount of information transmitted and the efficiency of human-computer interaction.
[0084] In some embodiments, a mode switching interface corresponding to the target call-up operation is displayed, including:
[0085] The mode switching interface is displayed in the bullet screen area of the playback interface, and the mode switching interface includes multiple playback modes.
[0086] The selection of any playback mode, and playback based on the playback mode in the playback interface, includes: responding to the triggering operation of any playback mode, and playing based on the playback mode in the playback interface.
[0087] In the embodiments of the present disclosure, the mode switching interface is displayed in the barrage area, so that the multimedia resource and other interactive controls in the playing interface are not blocked by the mode switching interface, and the multimedia resource can still be viewed and interacted with during the display of the mode switching interface, thereby improving the playing effect of the multimedia resource. In addition, when the mode switching interface is displayed in the barrage area, the mode switching interface only includes a plurality of playing modes, and does not include other operation controls, thereby reducing the area blocked by the mode switching interface. Accordingly, the playing mode can be switched to the playing mode by triggering the playing mode, thereby simplifying the switching operation of the playing mode and improving the human-computer interaction efficiency.
[0088] In some embodiments, displaying the mode switching interface corresponding to the target call-out operation comprises:
[0089] The mode switching interface is displayed in the playing interface in a wheel style, and the mode switching interface includes a plurality of areas, and each area displays a playing mode;
[0090] The selection operation of any playing mode is performed in the playing interface based on the playing mode, and the playing mode comprises:
[0091] In response to the sliding operation in the mode switching interface, the currently selected area is highlighted;
[0092] In response to the end of the sliding operation, the playing is performed in the playing interface based on the playing mode displayed in the currently selected area.
[0093] In the embodiments of the present disclosure, the mode switching interface is displayed in a wheel style, so that the playing mode can be quickly switched by the sliding operation in the mode switching interface, that is, the sliding wheel operation, thereby improving the efficiency of switching the playing mode.
[0094] In some embodiments, the method further comprises:
[0095] In response to the zooming operation on the mode switching interface, the mode switching interface is zoomed; or
[0096] In response to the dragging operation on the mode switching interface, the mode switching interface is displayed to move.
[0097] In the embodiments of the present disclosure, by supporting the movement and zooming of the mode switching interface, the size and display position of the mode switching interface can be adjusted according to the actual viewing demand, so that the mode switching interface does not block the multimedia resource.
[0098] In some embodiments, the method further comprises:
[0099] In response to the operation of dragging the mode switching interface to any side edge area, the mode switching interface is displayed, and a floating control is displayed in the edge area.
[0100] In response to the triggering operation on the floating control, a plurality of play modes are displayed within a preset range of the floating control.
[0101] In the embodiments of the present disclosure, by supporting the mode switching interface to be suspended by being dragged to the edge region, not only the play mode can be switched by clicking the floating control with a small click area at any time, but also the display of the play interface with a large area can be avoided, thereby avoiding the mode switching interface from blocking the multimedia resources.
[0102] In some embodiments, the plurality of play modes includes a first mode;
[0103] In response to the selection operation on any play mode, the play is performed based on the play mode in the play interface, including:
[0104] In response to the selection operation on the first mode, the first type of multimedia resources is played in the play interface, and a time interval between a publishing time of the first type of multimedia resources and a current time is less than a preset interval.
[0105] In the embodiments of the present disclosure, by providing the first mode, in the case that the recommended multimedia resources are generally watched by users, the first mode can be switched to watch fresh videos with a relatively recent publishing time, thereby being able to provide rich and novel multimedia resources and improving the novelty and timeliness of the recommended multimedia resources.
[0106] In some embodiments, the plurality of play modes includes a second mode;
[0107] In response to the selection operation on any play mode, the play is performed based on the play mode in the play interface, including:
[0108] In response to the selection operation on the second mode, the second type of multimedia resources is played in the play interface, and the second type of multimedia resources satisfies at least one preset condition, and the preset condition includes that a publishing time is located in a historical time period, a play amount is located in a front preset position, a complete play rate reaches a preset value, and an interaction amount is located in a front preset position.
[0109] In the embodiments of the present disclosure, by providing the second mode, the multimedia resources with a higher popularity in the historical time period can be played in the second mode, without the user manually searching for the multimedia resources with a higher popularity through a popular list or a search control, and the user can also avoid missing the video with a higher popularity in the historical time period, thereby improving the human-computer interaction efficiency.
[0110] In some embodiments, the plurality of play modes includes an automatic continuous play mode;
[0111] In response to the selection operation on any play mode, the play is performed based on the play mode in the play interface, including:
[0112] In response to the selection operation on the automatic continuous playing mode, the multimedia resource is continuously played in the playing interface.
[0113] In a case where the multimedia resource is played completely, the next multimedia resource is automatically played.
[0114] In the embodiments of the present disclosure, by providing the automatic continuous playing mode, the next multimedia resource can be automatically switched to when the multimedia resource is played completely, without the need for manual switching by the user, so that the step of manually switching the video is saved in the case where the user's hands are occupied and inconvenient to operate, and the human-computer interaction efficiency is improved.
[0115] In some embodiments, the plurality of playing modes includes a fast playing mode.
[0116] In response to the selection operation on any playing mode, the multimedia resource is played based on the playing mode in the playing interface, including:
[0117] In response to the selection operation on the fast playing mode, the multimedia resource is continuously played.
[0118] In response to the click operation on the multimedia resource, the next multimedia resource is played.
[0119] In the embodiments of the present disclosure, by providing the fast playing mode, the resource switching operation can be further simplified in the fast playing mode, the multimedia resource can be switched through a simple and convenient click operation, and the resource switching efficiency is improved.
[0120] In some embodiments, the method further includes:
[0121] In response to the exit operation on the playing mode, the multimedia resource is continuously played.
[0122] In the embodiments of the present disclosure, by continuously playing the multimedia resource when the playing mode is exited, the user can continue to watch the multimedia resource without manually searching for the multimedia resource in the historical browsing record, so that the remaining content of the multimedia resource is avoided to be missed, and the human-computer interaction efficiency is improved.
[0123] In some embodiments, the exit operation on the playing mode includes at least one of:
[0124] The return operation in the playing interface;
[0125] The operation of unselecting the playing mode in the mode switching interface;
[0126] In a case where the playing mode is selected in the mode switching interface, the triggering operation on the cancel control.
[0127] In the embodiments of the present disclosure, the playing mode is exited by providing the above-mentioned multiple exit operations, which not only meets the operation habits of different users, but also facilitates the use of corresponding exit operations to exit the playing mode in different scenarios. Further, by unchecking the playing mode in the mode switching interface or triggering the cancel control, the operation required to exit the current playing mode can be clearly and intuitively conveyed, without the user exploring the available exit operations, which not only improves the amount of information conveyed, but also improves the human-computer interaction efficiency.
[0128] The above-mentioned Figure 2 The playing process of a multimedia resource is shown, and the playing scheme of the multimedia resource provided by the present disclosure is further described below. Figure 3 is a flowchart of another playing method of a multimedia resource according to an example embodiment, which is executed by an electronic device, see Figure 3 The method comprises the following steps.
[0129] In step 301, the electronic device plays a multimedia resource in a playing interface.
[0130] In the embodiments of the present disclosure, step 301 is the same as step 201 described above, and will not be described here.
[0131] In step 302, in response to a triggering operation on a mode switching control in the playing interface, the electronic device displays a mode switching interface on the upper layer of the playing interface, and the mode switching interface comprises multiple playing modes.
[0132] In the embodiments of the present disclosure, the playing interface comprises a mode switching control, which is used to call up the mode switching interface. Alternatively, the mode switching control can be displayed in any area of the playing interface, such as an interaction area, a navigation area, a playing area, a bullet screen area, etc., which is not limited in the embodiments of the present disclosure. The interaction area is used to display the interaction controls of the multimedia resource, such as a like control, a comment control, etc.; the navigation area is used to display tab labels, such as “Home”, “Selected”, “Friends”, etc.; the playing area is used to play the multimedia resource; and the bullet screen area is used to display the bullet screen of the multimedia resource.
[0133] Alternatively, the mode switching interface can be a half-screen interface, a 1 / 4 screen interface, a 3 / 4 screen interface or a full-screen interface displayed on the upper layer of the playing interface, and the display area of the mode switching interface is not limited in the embodiments of the present disclosure. By displaying the mode switching control in the playing interface and triggering the mode switching control to call up the mode switching interface, the user does not need to manually find the entry of the mode switching, which simplifies the interaction operation and improves the human-computer interaction efficiency.
[0134] The mode switching interface includes a plurality of playing modes. Multimedia resources played in different playing modes are different in type, or operations for triggering switching of multimedia resources are different in different playing modes. In addition, the mode switching interface further includes a confirmation control and a cancel control. The confirmation control is used to trigger switching to the currently selected playing mode, so that the electronic device plays based on the playing mode. The cancel control is used to trigger exiting the currently selected playing mode, so that the electronic device plays according to a default playing mode. By displaying a plurality of playing modes and corresponding operation controls in the mode switching interface, switching between the plurality of playing modes can be implemented in the mode switching interface. Not only can the applicable playing modes be clearly and intuitively conveyed, but the user also does not need to manually find the starting entry of each playing mode, which simplifies the operation of switching playing modes and improves the amount of information conveyed and the human-computer interaction efficiency.
[0135] It should be noted that the above content is described by taking that the mode switching control is continuously displayed in the playing interface as an example. In some embodiments, the electronic device can display the mode switching control in the playing interface in a case where the multimedia resource played in the playing interface is a first multimedia resource. Taking a short video application as an example, in response to a starting operation of the short video application, the electronic device plays a first short video in the playing interface provided by the short video application and displays the mode switching control in the playing interface. In response to an upward sliding operation, the electronic device plays a next short video in the playing interface and cancels the display of the mode switching control. By displaying the mode switching control during playing of the first multimedia resource, the mode switching control can be avoided from causing occlusion to the multimedia resource, thereby improving the playing effect of the multimedia resource.
[0136] Optionally, in a case where the multimedia resource played in the playing interface is a first multimedia resource, the electronic device can display a first mode switching control in the playing interface; and in a case where the multimedia resource played in the playing interface is a non-first multimedia resource, the electronic device can display a second mode switching control in the playing interface. Compared with the first mode, the display area of the second mode switching control is smaller or the transparency is higher, so that the mode switching control can still support one-key triggering of the mode switching interface while reducing occlusion of the multimedia resource caused by the mode switching control.
[0137] In some embodiments, the electronic device can also alternately display the mode switching control and the audio control in the display area of the mode switching control. The audio control is used to display background music of multimedia resources upon triggering. The display style of the audio control can be a dynamic turntable, such as a continuously spinning record. Optionally, the mode switching control and the audio control can alternate periodically. For example, when the display duration of the mode switching control reaches a first duration, the electronic device cancels the display of the mode switching control and displays the audio control in the display area of the mode switching control; when the display duration of the audio control reaches a second duration, the electronic device cancels the display of the audio control and displays the mode switching control in the same display area, thereby achieving alternating display of the two. The first and second durations can be set according to requirements, and can be the same or different, for example, both can be 10 seconds. This embodiment does not limit this. Since the audio control is used less frequently than interactive controls such as like controls and comment controls, alternating the display of the mode switching control and the audio control can further reduce the area obscured by the mode switching control without affecting interaction with multimedia resources, thereby saving display space and ensuring a clean playback interface.
[0138] Correspondingly, when the mode switching control and audio control are displayed alternately, the electronic device can display multiple playback modes and audio controls in response to the triggering operation of the mode switching control. This ensures that the audio control can also be triggered to view the background music in the mode switching interface, avoiding the user having to wait in the playback interface for the mode switching control to switch to the audio control, shortening the waiting time and improving the efficiency of human-computer interaction.
[0139] Figure 4 This is a schematic diagram illustrating a mode switching interface according to an exemplary embodiment. For example... Figure 4 As shown in (a), the playback interface displays multimedia resources and a mode switching control 401. The mode switching control 401 and the audio control are displayed alternately. In response to a trigger operation on the mode switching control 401, the electronic device displays... Figure 4 The mode switching interface 402 is shown in (b) above the playback interface. The mode switching interface 402 includes multiple playback modes, an icon for each playback mode, a confirmation control "Confirm Switch", a cancellation control "Cancel Switch", and an audio control 403. The audio control 403 is a continuously rotating record.
[0140] It should be noted that the above embodiments are mainly described by taking the mode switching interface being triggered by the mode switching control as an example. In some embodiments, the electronic device also supports triggering the mode switching interface by other target calling operations. For example, the electronic device displays the mode switching interface in response to a voice calling instruction. The voice calling instruction can be a voice instruction containing a pre-set calling keyword, such as "open the mode switching interface", "start the mode switching", "mode switching", and the like. By supporting the voice calling mode switching interface, the operation of triggering the mode switching interface can be further simplified, and the human-computer interaction efficiency is improved. Alternatively, the mode switching interface can also be triggered by a pre-set air gesture, shaking the electronic device, and the like, which is not limited in the embodiments of the present disclosure.
[0141] In addition, in addition to the mode switching interface display method described in the above embodiments, the electronic device can also display the mode switching interface in the following any manner.
[0142] Manner one, the mode switching interface is displayed in the barrage area of the playing interface. The barrage area is used to display multiple barrages of the multimedia resource. The mode switching interface includes multiple selectable playing modes.
[0143] By displaying the mode switching interface in the barrage area, the multimedia resource and other interactive controls in the playing interface can be avoided from being blocked by the mode switching interface, so that the viewing and interaction of the multimedia resource are still supported during the display of the mode switching interface, thereby improving the playing effect of the multimedia resource. In addition, when the mode switching interface is displayed in the barrage area, the mode switching interface can only include multiple playing modes, and does not include other operation controls, thereby reducing the area blocked by the mode switching interface.
[0144] For example, Figure 5 is another schematic view of a mode switching interface according to an example embodiment. As shown in Figure 5 , the playing interface displays a multimedia resource and a mode switching control 501. In response to the triggering operation of the mode switching control 501, the electronic device displays a mode switching interface 502 in the barrage area of the playing interface. The mode switching interface 502 includes multiple selectable playing modes.
[0145] In a second mode, a mode switching interface in a wheel disc style is displayed on the playing interface. The mode switching interface in the wheel disc style includes a plurality of regions, and each region displays a playing mode. The shape of each region can be a circular ring, a sector, or the like. Alternatively, the mode switching interface in the wheel disc style can be displayed in any region in the playing interface, such as a barrage region, a playing region, and the like, which is not limited in the embodiments of the present disclosure. By displaying the mode switching interface in the wheel disc style, the mode switching interface can support a sliding operation, that is, a sliding wheel operation, so that the playing mode can be quickly switched, and the efficiency of switching the playing mode is improved.
[0146] For example, Figure 6 is a schematic view of yet another mode switching interface according to an exemplary embodiment. As shown in Figure 6 , the playing interface displays a multimedia resource and a mode switching interface 601 in a wheel disc style. The mode switching interface 601 includes a plurality of regions, and each region displays a playing mode. The currently selected playing mode is playing mode 3. By sliding in the plurality of regions, the currently selected playing mode can be switched.
[0147] The above embodiments mainly introduce several modes of displaying a mode switching interface by an electronic device. In some embodiments, the mode switching interface can also be scaled, moved, and suspended. For example, in response to a scaling operation on the mode switching interface, the electronic device scales the mode switching interface. Alternatively, in response to a dragging operation on the mode switching interface, the electronic device displays the mode switching interface moving. The moving track of the mode switching interface is the same as the dragging track of the dragging operation. By supporting the movement and scaling of the mode switching interface, the size and display position of the mode switching interface can be adjusted according to the actual viewing demand, so that the mode switching interface is prevented from blocking the multimedia resource.
[0148] For another example, in response to an operation of dragging the mode switching interface to any side edge region, the electronic device can cancel the display of the mode switching interface and display a floating control in the edge region. For example, the edge region can be a left side edge of the playing interface. The floating control can be a floating ball, a floating bar, or any shaped control. In response to a triggering operation on the floating control, the electronic device displays a plurality of playing modes in a preset range of the floating control. The preset range of the floating control can be a circular region with the floating control as the center and a preset distance as the radius, or a rectangular region, an elliptical region, or the like, which is not limited in the embodiments of the present disclosure. By supporting the suspension of the mode switching interface by dragging to the edge region, the playing mode can be switched by clicking the floating control with a small area at any time, and the playing interface with a large area is prevented from being continuously displayed, so that the mode switching interface is prevented from blocking the multimedia resource.
[0149] In step 303, in response to the selection operation on any of the play modes, the electronic device plays in the play interface based on the play mode.
[0150] In the embodiments of the present disclosure, if the mode switching interface includes a confirmation control, in the case of selecting any of the play modes, the electronic device plays in the play interface based on the play mode in response to the triggering operation on the confirmation control.
[0151] In some embodiments, in the case that the mode switching interface is displayed in the barrage area, the mode switching interface can only include a plurality of play modes. Therefore, in response to the triggering operation on any of the play modes in the mode switching interface, the electronic device can play in the play interface based on the play mode. By supporting triggering the play mode to quickly switch to the play mode, the switching operation of the play mode can be further simplified, and the human-computer interaction efficiency is improved.
[0152] In some embodiments, in the case that the mode switching interface is in the form of a wheel disc, in response to the sliding operation in the mode switching interface, the electronic device highlights the currently selected area. The highlighting can be high-lighting, bold display, flashing display, etc., so as to enhance the obviousness of the selected play mode. In response to the end of the sliding operation, the electronic device can play in the play interface based on the play mode displayed in the currently selected area. For example, referring to the above Figure 6 , the play mode 3 is the selected play mode.
[0153] The above is the main process of the embodiments of switching the play mode in the mode switching interface. The following describes the process of the electronic device playing based on each play mode by the following steps (1)-(5) taking a short video application as an example.
[0154] (1) Offline mode: The offline mode can ensure that the electronic device can play the locally cached multimedia resources in the play interface in the case that the electronic device is not connected to the network.
[0155] In some embodiments, in response to the selection operation of the offline mode, if the electronic device is connected to a wireless network, the electronic device acquires the recommended multimedia resources from the background server of the short video application and caches the multimedia resources to the local storage space. In response to the selection operation of the offline mode, if the electronic device is connected to a mobile network, the electronic device displays a prompt information, which is used to prompt whether to use the mobile network to cache the multimedia resources. Optionally, the prompt information can also be used to prompt the estimated network traffic, the estimated storage space occupied, etc. In response to the confirmation operation of the prompt information, the electronic device acquires the recommended multimedia resources from the background server and caches the multimedia resources to the local storage space. Accordingly, in response to the selection operation of the offline mode, if the electronic device is not connected to a network, the electronic device can play the locally cached multimedia resources in the play interface.
[0156] In some embodiments, in response to the first selection operation of the offline mode, the electronic device displays a configuration interface in the case of being connected to a network, which is used to configure the cache information. The cache information includes but is not limited to at least one of the preset number, the preset cache space, the interest preference, etc. The preset number is used to represent the number of cached multimedia resources. The preset cache space is used to represent the storage space occupied by the cached multimedia resources. The interest preference is used to represent the theme or category of the cached multimedia resources. For example, the configuration interface displays a plurality of preset categories such as "cute pets", "stars", "films and television", "games", etc. The electronic device can acquire the configuration information such as the preset number and the selected preset category set in the configuration interface, and then subsequently acquire the preset number of multimedia resources of the preset category recommended by the background server according to the configuration information, and cache the multimedia resources to the local storage space, so as to ensure that the local multimedia resources played in the offline mode meet the interest preference of the user.
[0157] In addition, it should be noted that in the case that the configuration information does not include the preset category, the background server can also recall a plurality of multimedia resources according to the historical behavior characteristics of the currently logged-in account on the electronic device, and push the recalled multimedia resources to the electronic device, and the electronic device caches the multimedia resources to the local storage space. Optionally, the historical behavior characteristics include but are not limited to the historical viewing record, the like record, the comment record, etc.
[0158] In addition, in the process of caching the multimedia resources, the electronic device can continue to play the multimedia resources in the play interface. In other words, the electronic device can cache other multimedia resources in the background while playing the multimedia resources, so as to avoid disturbing the user.
[0159] (2) The first mode can also be referred to as a look fresh mode. In the look fresh mode, the electronic device can play a multimedia resource that is recently published.
[0160] In response to the selection operation on the first mode, the electronic device plays the multimedia resource of the first type in the play interface. The time interval between the publishing time of the multimedia resource of the first type and the current time is less than the preset interval. The preset time interval can be set according to actual needs, such as 24 hours, 3 days, 7 days, 30 days, etc. The present embodiment does not limit this. By providing the first mode, in the case that the recommended multimedia resource is generally watched by users, the first mode can be switched to watch fresh videos with a relatively recent publishing time, thereby providing rich and novel multimedia resources and improving the novelty and timeliness of the recommended multimedia resources.
[0161] Optionally, in response to the selection operation on the first mode, the electronic device sends a first resource request to the background server of the short video application. The first resource request is used to request to obtain the multimedia resource of the first type, that is, the multimedia resource with a time interval between the publishing time and the current time less than the preset interval. Correspondingly, the background server recalls the multimedia resource of the first type from the resource library according to the historical behavior characteristics of the account logged in by the electronic device, and pushes the first information stream to the electronic device. The first information stream can indicate the access address of the multimedia resource of the first type, and the electronic device can play the multimedia resource of the first type in the play interface according to the first information stream.
[0162] (3) The second mode can also be referred to as a look classic mode. In the look classic mode, the electronic device can play a multimedia resource with a higher popularity in a historical period of time.
[0163] In some embodiments, in response to the selection operation on the second mode, the electronic device plays the second type of multimedia resource in the playing interface. The second type of multimedia resource satisfies at least one preset condition. The preset condition includes, but is not limited to, a publishing time being within a historical time period, a playing amount being within a front preset position, a complete playing rate reaching a preset value, and an interaction quantity being within a front preset position. The historical time period, the front preset position, the preset value, and the like can be set according to actual needs, and the embodiments of the present disclosure do not limit this. For example, the second type of multimedia resource can be a multimedia resource with a playing amount within the top 1000 in the past 1 year, a multimedia resource with a complete playing rate reaching 90% in the past 1 year, a multimedia resource with a comment number within the top 1000 in the past 1 year, and the like. By providing the second mode, the multimedia resource with a higher popularity in the historical time period can be played in the second mode, without the need for the user to manually search for the multimedia resource with a higher popularity through a popular list or a search control, and the user can also avoid missing the multimedia resource with a higher popularity in the historical time period, thereby improving the human-computer interaction efficiency.
[0164] Optionally, in response to the selection operation on the second mode, the electronic device sends a second resource request to a background server of the short video application. The second resource request is used to request to obtain the second type of multimedia resource, that is, the multimedia resource satisfying at least one preset condition. Correspondingly, the background server recalls a plurality of second type of multimedia resources from a resource library according to the historical behavior characteristics of the account logged in by the electronic device, and pushes a second information stream to the electronic device. The second information stream can indicate the access addresses of the plurality of second type of multimedia resources, and the electronic device can play the plurality of second type of multimedia resources in the playing interface according to the second information stream.
[0165] (4) Automatic continuous playing mode: in the automatic continuous playing mode, the electronic device can automatically switch the multimedia resource without the need for the user to manually switch.
[0166] In some embodiments, in response to the selection operation on the automatic continuous playing mode, the electronic device continues to play the multimedia resource in the playing interface. In the case that the multimedia resource is played completely, the electronic device automatically plays the next multimedia resource. By providing the automatic continuous playing mode, the electronic device can automatically switch to the next multimedia resource when the multimedia resource is played completely, without the need for the user to manually switch, so that the user can save the step of manually switching the video in the case that the user's hands are occupied or the like, thereby improving the human-computer interaction efficiency.
[0167] (5) Fast playing mode: in the fast playing mode, the user can switch the video through a more simple click operation. For example, when the user wants to quickly find the multimedia resource to be watched, the user can quickly switch the multimedia resource through a quick click.
[0168] In some embodiments, in response to the selection of a fast playback mode, the electronic device continues playing multimedia resources. In response to a click on a multimedia resource, the electronic device plays the next multimedia resource. Optionally, in fast playback mode, the electronic device still supports switching multimedia resources via traditional up-and-down swipe operations, such as switching to the previous multimedia resource via a swipe. By providing a fast playback mode, the resource switching operation can be further simplified, allowing switching multimedia resources with simple and convenient click operations, thus improving resource switching efficiency.
[0169] Steps (1)-(5) above describe offline mode, fresh viewing mode, classic viewing mode, automatic continuous playback mode, and fast playback mode, respectively. Correspondingly, the above... Figures 4-6 Playback modes 1-5 shown can represent the five modes mentioned above. It should also be noted that when the current playback mode is any of the offline mode, new content mode, or classic content mode, in response to the selection of an automatic playback mode, the electronic device can activate the automatic playback function based on the current playback mode. For example, if the current playback mode is new content mode, the electronic device will automatically play the next multimedia resource of the same type after the first type of multimedia resource finishes playing. Alternatively, when the current playback mode is any of the offline mode, new content mode, or classic content mode, in response to the selection of a fast playback mode, the electronic device can activate the fast playback function based on the current playback mode, that is, it supports switching multimedia resources by clicking.
[0170] In step 304, in response to the exit operation of the playback mode, the electronic device continues to play the multimedia resource.
[0171] In this embodiment, the exit operation refers to the operation of exiting the current playback mode. The multimedia resource that the electronic device continues to play refers to the multimedia resource played in step 301 above. For example, when the current mode is the "Watch New" mode, in response to the exit operation, the electronic device continues to play the multimedia resource played before entering the "Watch New" mode on the playback interface, and the playback progress remains consistent with that before entering the "Watch New" mode. For example, when the multimedia resource plays for 3 minutes and 40 seconds, the playback mode is switched to the "Watch New" mode, playing the first type of multimedia resource recommended by the server; when exiting the "Watch New" mode, the electronic device continues to play the multimedia resource from 3 minutes and 40 seconds onwards. By continuing to play the multimedia resource when exiting the playback mode, the user does not need to manually search for the multimedia resource in the browsing history to continue watching it, thereby avoiding missing the remaining content of the multimedia resource and improving the efficiency of human-computer interaction.
[0172] In some embodiments, the exiting operation of the playing mode includes, but is not limited to, at least one of the following.
[0173] (1) A returning operation in the playing interface. Optionally, the returning operation can be a triggering operation on a returning control, an operation of sliding from a left edge of the screen to a center of the screen, an operation of sliding from a right edge of the screen to the center of the screen, or the like. For example, in a case where the playing mode is the fresh look mode, the electronic device plays the multimedia resource of the first type in the playing interface, and at this time, in response to the triggering operation on the returning control, the electronic device exits the fresh look mode and continues to play the multimedia resource played before entering the fresh look mode in the playing interface.
[0174] (2) An operation of unselecting the playing mode in the mode switching interface. As shown in the above Figure 5 , in a case where the mode switching interface includes a plurality of playing modes, if a playing mode is selected, the electronic device can play based on the playing mode; if the playing mode is unselected, the electronic device exits the playing mode and continues to play the multimedia resource played before entering the playing mode.
[0175] (3) A triggering operation on a cancel control in a case where a playing mode is selected in the mode switching interface. As shown in the above Figure 4 , the mode switching interface includes a cancel control "cancel switching". In a case where any playing mode is selected, in response to the triggering operation on the "cancel switching" control, the electronic device exits the playing mode and continues to play the multimedia resource played before entering the playing mode.
[0176] By providing the above-mentioned exiting operations to exit the playing mode, not only the operation habits of different users can be met, but also the corresponding exiting operation can be used to exit the playing mode in different scenarios. Further, by unselecting the playing mode in the mode switching interface or triggering the cancel control, the operation required to be performed to exit the current playing mode can be clearly and intuitively conveyed, without the user exploring the available exiting operation, not only the amount of information conveyed is improved, but also the human-computer interaction efficiency is improved.
[0177] The embodiment of the present disclosure provides a playing method of multimedia resources, which supports multiple playing modes such as an offline mode, a fresh mode, a classic mode, an automatic continuous playing mode and a fast playing mode, and further provides a way of efficiently and conveniently switching playing modes. The mode switching interface can be simply and quickly triggered in the playing interface of the multimedia resources, and then the multiple playing modes displayed in the mode switching interface can be intuitively and conveniently switched. Further, the types of the multimedia resources played in different playing modes are different, or the operation modes of triggering the switching of the multimedia resources in different playing modes are different, so that the above playing scheme can not only play rich multimedia resources, but also support various operation modes of switching the multimedia resources, and the human-computer interaction efficiency is improved.
[0178] All the optional technical solutions described above can be combined to form optional embodiments of the present disclosure, which will not be described one by one here.
[0179] Figure 7 is a block diagram of a playing device of multimedia resources according to an exemplary embodiment. As shown in Figure 7 , the device comprises a playing unit 701 and a display unit 702.
[0180] The playing unit 701 is configured to play multimedia resources in a playing interface.
[0181] The display unit 702 is configured to display a mode switching interface corresponding to a target calling operation based on the playing interface in response to the target calling operation, and the mode switching interface comprises multiple playing modes, the types of the multimedia resources played in different playing modes are different, or the operation modes of triggering the switching of the multimedia resources in different playing modes are different.
[0182] The playing unit 701 is further configured to play based on the playing mode in the playing interface in response to a selection operation on any playing mode.
[0183] In some embodiments, the display unit 702 is configured to display the mode switching interface in response to a triggering operation on the mode switching control in the playing interface, or display the mode switching interface in response to a voice calling instruction.
[0184] In some embodiments, the target calling operation is a triggering operation on the mode switching control, and the display unit 702 is further configured to display the mode switching control in the playing interface in a case where the multimedia resources are the first multimedia resources.
[0185] In some embodiments, the target calling operation is a triggering operation on the mode switching control, and the display unit 702 is further configured to alternately display the mode switching control and an audio control in a display area of the mode switching control, and the audio control is used to trigger the display of background music of the multimedia resources.
[0186] In some embodiments, the display unit 702 is further configured to display, in response to a triggering operation on the mode switching control, a plurality of play modes and audio controls in the mode switching interface.
[0187] In some embodiments, the display unit 702 is configured to display, in the upper layer of the play interface, a mode switching interface, the mode switching interface including a plurality of play modes, a confirmation control for triggering a switch to the currently selected play mode, and a cancel control for triggering an exit from the currently selected play mode.
[0188] In some embodiments, the display unit 702 is configured to display, in the barrage region of the play interface, a mode switching interface, the mode switching interface including a plurality of play modes.
[0189] The play unit 701 is configured to play, in the play interface, based on the play mode, in response to a triggering operation on any play mode.
[0190] In some embodiments, the display unit 702 is configured to display, in the play interface, a mode switching interface in the form of a roulette, the mode switching interface including a plurality of regions, each region displaying a play mode.
[0191] The play unit 701 is configured to highlight the currently selected region in response to a sliding operation in the mode switching interface, and play, in the play interface, based on the play mode displayed in the currently selected region, in response to the end of the sliding operation.
[0192] In some embodiments, the display unit 702 is further configured to scale the mode switching interface in response to a scaling operation on the mode switching interface, or display the mode switching interface moving in response to a dragging operation on the mode switching interface.
[0193] In some embodiments, the display unit 702 is further configured to, in response to an operation of dragging the mode switching interface to any side edge region, cancel the display of the mode switching interface and display a floating control in the edge region, and display a plurality of play modes in a preset range of the floating control in response to a triggering operation on the floating control.
[0194] In some embodiments, the plurality of play modes includes a first mode.
[0195] The play unit 701 is configured to play, in the play interface, a first type of multimedia resource in response to a selection operation on the first mode, the first type of multimedia resource having a time interval between a publishing time and a current time less than a preset interval.
[0196] In some embodiments, the plurality of play modes includes a second mode.
[0197] The playing unit 701 is configured to, in response to the selection operation on the second mode, play the second type of multimedia resource in the playing interface, the second type of multimedia resource satisfying at least one preset condition, the preset condition including that the publishing time is within the historical time period, the playing amount is within the front preset position, the complete playing rate reaches the preset value, and the interaction quantity is within the front preset position.
[0198] In some embodiments, the plurality of playing modes includes an automatic continuous playing mode.
[0199] The playing unit 701 is configured to, in response to the selection operation on the automatic continuous playing mode, continue to play the multimedia resource in the playing interface, and automatically play the next multimedia resource when the multimedia resource is played to the end.
[0200] In some embodiments, the plurality of playing modes includes a fast playing mode.
[0201] The playing unit 701 is configured to, in response to the selection operation on the fast playing mode, continue to play the multimedia resource, and play the next multimedia resource in response to the click operation on the multimedia resource.
[0202] In some embodiments, the playing unit 701 is further configured to, in response to the exit operation on the playing mode, continue to play the multimedia resource.
[0203] In some embodiments, the exit operation on the playing mode includes at least one of the following: a return operation in the playing interface; an operation of canceling the selection of the playing mode in the mode switching interface; and a triggering operation on the cancel control in the case that the playing mode is selected in the mode switching interface.
[0204] The embodiments of the present disclosure provide a playing device of multimedia resource, which not only supports a plurality of playing modes, but also provides an efficient and convenient way of switching playing modes. By performing a target callout operation in the playing interface of the multimedia resource, the mode switching interface can be easily and conveniently invoked, and the plurality of playing modes displayed in the mode switching interface can be easily and conveniently switched. Further, the types of the multimedia resources played in different playing modes are different, or the operation modes of triggering the switching of the multimedia resources in different playing modes are different, so that the playing device can not only play rich multimedia resources, but also support convenient and various operation modes of switching multimedia resources, and the human-computer interaction efficiency is improved.
[0205] It should be noted that the multimedia resource playing device provided by the above-mentioned embodiments is only exemplified by the division of the above-mentioned functional units, and in actual application, the above-mentioned functions can be completed by 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 above-described functions. In addition, the multimedia resource playing device and the multimedia resource playing method provided by the above-mentioned embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be described here.
[0206] As to the multimedia resource playing device in the above-mentioned 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 described in detail here.
[0207] Figure 8 is a block diagram of an electronic device according to an exemplary embodiment. Generally, the electronic device 800 includes a processor 801 and a memory 802.
[0208] The processor 801 can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 801 can be implemented in at least one of a hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array). The processor 801 can also include a main processor and a coprocessor, the main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit), and the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 801 can be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content needed to be displayed on the display screen. In some embodiments, the processor 801 can also include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations.
[0209] The memory 802 can include one or more computer-readable storage media. The computer-readable storage media can be non-transitory. The memory 802 can also include high-speed random access memory and can include non-volatile memory, such as one or more magnetic disk storage devices, optical storage devices, flash memory devices, or other non-volatile solid-state storage devices. In some embodiments, the non-transitory computer-readable storage medium of the memory 802 is used for storing the at least one program code for being executed by the processor 801 to implement the multimedia resource playing method provided by the method embodiments of the present disclosure.
[0210] In some embodiments, the electronic device 800 can further optionally include a peripheral device interface 803 and at least one peripheral device. The processor 801, the memory 802, and the peripheral device interface 803 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 803 through a bus, a signal line, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 804, a display screen 805, a camera assembly 806, an audio circuit 807, and a power supply 808.
[0211] The peripheral device interface 803 can be used to connect at least one peripheral device related to input / output (I / O) to the processor 801 and the memory 802. In some embodiments, the processor 801, the memory 802, and the peripheral device interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802, and the peripheral device interface 803 can be implemented on a separate chip or circuit board, and the present embodiment does not limit this.
[0212] The radio frequency circuit 804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 804 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 804 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 the like. The radio frequency circuit 804 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 networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 804 can also include NFC (Near Field Communication) related circuitry, and the present disclosure does not limit this.
[0213] The display screen 805 is configured to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 805 is a touch display screen, the display screen 805 is further configured to capture touch signals on or above the surface of the display screen 805. The touch signals can be input to the processor 801 as control signals for processing. In this case, the display screen 805 can also be configured to provide virtual buttons and / or virtual keyboard, also known as soft buttons and / or soft keyboard. In some embodiments, the display screen 805 can be one, configured to set the front panel of the electronic device 800; in other embodiments, the display screen 805 can be at least two, respectively configured to set different surfaces of the electronic device 800 or in a folding design; in still other embodiments, the display screen 805 can be a flexible display screen, configured to set a curved surface or a folding surface of the electronic device 800. Even, the display screen 805 can also be configured to be an irregular shape other than a rectangle, i.e., a special-shaped screen. The display screen 805 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
[0214] The camera assembly 806 is configured to capture images or videos. Optionally, the camera assembly 806 includes a front camera and a rear camera. Typically, the front camera is configured to set the front panel of the electronic device, and the rear camera is configured to set the back of the electronic device. In some embodiments, the rear camera is at least two, respectively configured to be any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, to realize the background blur function by fusing the main camera and the depth-of-field camera, the panoramic shooting and VR (Virtual Reality) shooting function by fusing the main camera and the wide-angle camera, or other fusion shooting functions. In some embodiments, the camera assembly 806 can further include a flash. The flash can be a single-color-temperature flash or a dual-color-temperature flash. The dual-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.
[0215] The audio circuit 807 can include a microphone and a speaker. The microphone is used to collect sound waves of a user and an environment, and convert the sound waves into an electrical signal input to the processor 801 for processing, or input to the radio frequency circuit 804 to realize voice communication. The microphone can be multiple for the purpose of stereo sound collection or noise reduction, and arranged at different parts of the electronic device 800 respectively. The microphone can also be an array microphone or an omnidirectional collection type microphone. The speaker is used to convert an electrical signal from the processor 801 or the radio frequency circuit 804 into sound waves. The speaker can be a conventional diaphragm speaker, or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only can it convert an electrical signal into a sound wave audible to humans, but also can convert an electrical signal into an inaudible sound wave to humans for ranging purposes, etc. In some embodiments, the audio circuit 807 can also include a headphone jack.
[0216] The power supply 808 is configured to supply power to each component of the electronic device 800. The power supply 808 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 808 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0217] Those skilled in the art can understand that the structure shown in the above description is not a limitation on the electronic device 800, and the electronic device 800 can include more or fewer components than those shown in the figure, or combine certain components, or use different component arrangements. Figure 8 Those skilled in the art can understand that the structure shown in the above description is not a limitation on the electronic device 800, and the electronic device 800 can include more or fewer components than those shown in the figure, or combine certain components, or use different component arrangements.
[0218] In an exemplary embodiment, a computer readable storage medium including instructions, such as the memory 802 including instructions, is also provided, which can be executed by the processor 801 of the electronic device 800 to complete the above-mentioned multimedia resource playing method. Alternatively, the computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0219] A computer program product includes a computer program, which, when executed by a processor, implements the above-mentioned multimedia resource playing method.
[0220] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. The disclosure is intended to cover any variations, uses, or adaptations of the disclosure following the general principles thereof and including such departures from the present disclosure that come within known use or custom in the art to which the disclosure pertains. The specification and examples are to be regarded as illustrative only, and the true scope and spirit of the disclosure are indicated by the following claims.
[0221] It should be understood that the present disclosure is not limited to the precise construction that has been described above and shown in the accompanying drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the present disclosure. 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: Play multimedia resources on the playback interface; In response to a target call-up operation based on the playback interface, a mode switching interface corresponding to the target call-up operation is displayed, the mode switching interface including multiple playback modes; Different playback modes play different types of multimedia resources. In response to the selection of any playback mode, the playback interface stops playing the multimedia resource and switches to play a multimedia resource of the type indicated by the playback mode; or... The operation method for triggering multimedia resource switching differs depending on the playback mode. In response to the selection operation of any playback mode, the multimedia resource continues to play on the playback interface, and the next multimedia resource is switched to play based on the switching method indicated by the playback mode.
2. The method for playing multimedia resources according to claim 1, characterized in that, The step of displaying a mode switching interface corresponding to the target call-up operation in response to the playback interface includes: In response to a trigger operation on the mode switching control in the playback interface, the mode switching interface is displayed; or, In response to a voice command, the mode switching interface is displayed.
3. The method for playing multimedia resources according to claim 1, characterized in that, The target invocation operation is a trigger operation on the mode switching control, and the method further includes: If the multimedia resource is the first multimedia resource, the mode switching control is displayed on the playback interface.
4. The method for playing multimedia resources according to claim 1, characterized in that, The target invocation operation is a trigger operation on the mode switching control, and the method further includes: The mode switching control and the audio control are displayed alternately in the display area of the mode switching control. The audio control is used to display the background music of the multimedia resource when triggered.
5. The method for playing multimedia resources according to claim 4, characterized in that, The step of displaying a mode switching interface corresponding to the target call-up operation in response to the playback interface includes: In response to a trigger operation on the mode switching control, the plurality of playback modes and the audio control are displayed on the mode switching interface.
6. The method for playing multimedia resources according to claim 1, characterized in that, The mode switching interface corresponding to the target call-up operation includes: The mode switching interface is displayed on top of the playback interface. The mode switching interface includes the multiple playback modes, a confirmation control, and a cancellation control. The confirmation control is used to switch to the currently selected playback mode after being triggered, and the cancellation control is used to exit the currently selected playback mode after being triggered.
7. The method for playing multimedia resources according to claim 1, characterized in that, The mode switching interface corresponding to the target call-up operation includes: The mode switching interface is displayed in the bullet screen area of the playback interface, and the mode switching interface includes the multiple playback modes. In response to a selection operation of any playback mode, playback is performed on the playback interface based on the playback mode, including: in response to a trigger operation of any playback mode, playback is performed on the playback interface based on the playback mode.
8. The method for playing multimedia resources according to claim 1, characterized in that, The mode switching interface corresponding to the target call-up operation includes: The playback interface displays a wheel-style mode switching interface, which includes multiple areas, each displaying a playback mode. In response to the selection of any playback mode, playback is performed on the playback interface based on the playback mode, including: In response to a swipe operation in the mode switching interface, the currently selected area is highlighted; In response to the end of the sliding operation, playback is performed on the playback interface based on the playback mode displayed in the currently selected area.
9. The method for playing multimedia resources according to any one of claims 6-8, characterized in that, The method further includes: In response to a zoom operation on the mode switching interface, the mode switching interface is zoomed; or, In response to a drag operation on the mode switching interface, the mode switching interface is displayed as moving.
10. The method for playing multimedia resources according to any one of claims 6-8, characterized in that, The method further includes: In response to the operation of dragging the mode switching interface to any edge area, the mode switching interface is canceled and a floating control is displayed in the edge area; In response to a trigger operation on the floating control, the plurality of playback modes are displayed within a preset range of the floating control.
11. The method for playing multimedia resources according to claim 1, characterized in that, The multiple playback modes include a first mode; In response to the selection of any playback mode, playback is performed on the playback interface based on the playback mode, including: In response to the selection operation of the first mode, a multimedia resource of the first type is played on the playback interface, wherein the time interval between the release time of the multimedia resource of the first type and the current time is less than a preset interval.
12. The method for playing multimedia resources according to claim 1, characterized in that, The multiple playback modes include a second mode; In response to the selection of any playback mode, playback is performed on the playback interface based on the playback mode, including: In response to the selection operation of the second mode, a second type of multimedia resource is played on the playback interface. The second type of multimedia resource satisfies at least one preset condition, including the release time being within a historical time period, the number of plays being in the top preset position, the completion rate reaching a preset value, and the number of interactions being in the top preset position.
13. The method for playing multimedia resources according to claim 1, characterized in that, The multiple playback modes include an automatic continuous playback mode; In response to the selection of any playback mode, playback is performed on the playback interface based on the playback mode, including: In response to the selection of the automatic continuous playback mode, the multimedia resource continues to play on the playback interface; Once the multimedia resource has finished playing, the next multimedia resource will be played automatically.
14. The method for playing multimedia resources according to claim 1, characterized in that, The multiple playback modes include a fast playback mode; In response to the selection of any playback mode, playback is performed on the playback interface based on the playback mode, including: In response to the selection of the fast playback mode, the multimedia resource continues to play; In response to a click operation on the multimedia resource, the next multimedia resource is played.
15. The method for playing multimedia resources according to claim 1, characterized in that, The method further includes: In response to the exit operation of the playback mode, the multimedia resource continues to play.
16. The method for playing multimedia resources according to claim 15, characterized in that, The exit operation for the playback mode includes at least one of the following: The return operation on the playback interface; In the mode switching interface, deselect the playback mode; When the playback mode is selected in the mode switching interface, the cancellation control is triggered.
17. A multimedia resource playback device, characterized in that, The device includes: The playback unit is configured to play multimedia resources on the playback interface; The display unit is configured to display a mode switching interface corresponding to the target call-up operation in response to a target call-up operation based on the playback interface, the mode switching interface including multiple playback modes; Different playback modes play different types of multimedia resources. The playback unit is also configured to, in response to a selection of any playback mode, stop playing the multimedia resource on the playback interface and switch to playing a multimedia resource of the type indicated by the playback mode; or... The operation method for triggering multimedia resource switching differs under different playback modes. The playback unit is also configured to continue playing the multimedia resource on the playback interface in response to the selection operation of any playback mode, and switch to play the next multimedia resource based on the switching method indicated by the playback mode.
18. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the method for playing multimedia resources as described in any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method for playing multimedia resources as described in any one of claims 1 to 16.
20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method for playing multimedia resources as described in any one of claims 1 to 16.
Citation Information
Patent Citations
Multimedia playing method and device, equipment and medium
CN114816140A
Video processing method and device, equipment and storage medium
CN117135392A
Multimedia content display method and device, electronic equipment and storage medium
CN117544825A