Multimedia resource playing method and device, equipment and storage medium
By displaying the mode switching interface of the multimedia resource playback interface, supporting multiple playback modes, the problems of monotonous playback methods and low human-computer interaction efficiency are solved, and convenient multimedia resource switching and rich entertainment experience are achieved.
Patent Information
- Application Number
- CN202510065421.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2045-01-15
AI Technical Summary
The playback method of existing multimedia resources is relatively monotonous, and the human-computer interaction efficiency is low, making it difficult for users to switch multimedia resources easily.
It provides a multimedia resource playback method, which performs target call-out operations on the playback interface, displays mode switching interface, and supports multiple playback modes, including offline mode, fresh mode, classic mode, automatic continuous play mode and fast play mode. In different playback modes, the types and switching operations of multimedia resources are different.
It improves human-computer interaction efficiency, provides rich multimedia resources and convenient switching operation methods, allowing users to quickly switch between different playback modes to meet diverse entertainment needs.
Smart Images

Figure CN119906851A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of multimedia technology, and in particular to a method, device, equipment and storage medium for playing multimedia resources. Background Art
[0002] With the development of multimedia technology, watching multimedia resources such as video works and photo albums on video platforms has gradually become a form of leisure and entertainment for users. Taking the video platform as an example of a short video application, after the user starts the short video application through the terminal, the terminal receives the information stream pushed by the background server and plays the multimedia resources based on the information stream. In the process of playing multimedia resources, users can switch between different multimedia resources by sliding up and down. However, the above-mentioned playback method is relatively common, and the multimedia resources played and the operation method of switching multimedia resources are relatively monotonous, and the human-computer interaction efficiency is low. Summary of the invention
[0003] The present disclosure provides a multimedia resource playback method, device, equipment and storage medium, which can provide rich multimedia resources and convenient and diverse operation modes for switching multimedia resources, thereby improving the efficiency of human-computer interaction. The technical solution of the present disclosure is as follows:
[0004] According to one aspect of an embodiment of the present disclosure, a method for playing multimedia resources is provided, including:
[0005] Play multimedia resources in the playback interface;
[0006] In response to a target calling operation based on the playback interface, a mode switching interface corresponding to the target calling operation is displayed, wherein the mode switching interface includes a plurality of playback modes, and different types of multimedia resources played in different playback modes are different, or different operation modes for triggering multimedia resource switching are different;
[0007] In response to a selection operation of any play mode, the play is performed based on the play mode in the play interface.
[0008] According to another aspect of an embodiment of the present disclosure, a multimedia resource playback device is provided, including:
[0009] A playback unit, configured to play multimedia resources on a playback interface;
[0010] A display unit is configured to, in response to a target calling operation based on the playback interface, display a mode switching interface corresponding to the target calling operation, wherein the mode switching interface includes a plurality of playback modes, and different types of multimedia resources played in different playback modes are different, or different operation modes for triggering multimedia resource switching are different in different playback modes;
[0011] The playback unit is further configured to respond to a selection operation of any playback mode and perform playback based on the playback mode in the playback interface.
[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 playback interface; or to display the mode switching interface in response to a voice call 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 on the playback interface when the multimedia resource is the first multimedia resource.
[0014] In some embodiments, the target call-up operation is a trigger 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, wherein the audio control is used to display background music of the multimedia resource after being triggered.
[0015] In some embodiments, the display unit is further configured to display the multiple playback modes and the audio control on the mode switching interface in response to a 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 playback interface, wherein the mode switching interface includes the multiple playback modes, a confirmation control, and a cancel control, wherein the confirmation control is used to switch to the currently selected playback mode after being triggered, and the cancel control is used to exit the currently selected playback mode after being triggered.
[0017] In some embodiments, the display unit is configured to display the mode switching interface in the bullet screen area of the playback interface, wherein the mode switching interface includes the plurality of playback modes;
[0018] The playback unit is configured to respond to a triggering operation on any playback mode and to perform playback based on the playback mode on the playback interface.
[0019] In some embodiments, the display unit is configured to display the mode switching interface in a roulette style on the play interface, wherein the mode switching interface includes a plurality of areas, each area displays a play mode;
[0020] The playback unit is configured to highlight a currently selected area in response to a sliding operation in the mode switching interface; and in response to the end of the sliding operation, play the playback mode displayed in the currently selected area in the playback interface.
[0021] In some embodiments, the display unit is further configured to scale the mode switching interface in response to a scaling operation on the mode switching interface; or to display the movement of the mode switching interface in response to a dragging operation on the mode switching interface.
[0022] In some embodiments, the display unit is further configured to, in response to the operation of dragging the mode switching interface to any side edge area, cancel the display of the mode switching interface and display the floating control in the edge area; in response to the triggering operation of the floating control, display the multiple playback modes within a preset range of the floating control.
[0023] In some embodiments, the plurality of play modes include a first mode;
[0024] The playback unit is configured to play a first type of multimedia resource on the playback interface in response to a selection operation of the first mode, wherein the time interval between a release time of the first type of multimedia resource and a current time is less than a preset interval.
[0025] In some embodiments, the plurality of play modes include a second mode;
[0026] The playback unit is configured to play a second type of multimedia resource on the playback interface in response to a selection operation of the second mode, and the second type of multimedia resource meets at least one preset condition, and the preset condition includes that the release time is within a historical time period, the playback volume is at a previous preset position, the completion rate reaches a preset value, and the number of interactions is at a previous preset position.
[0027] In some embodiments, the plurality of play modes include an automatic serial play mode;
[0028] The playback unit is configured to continue playing the multimedia resource on the playback interface in response to a selection operation of the automatic serial playback mode; and automatically play the next multimedia resource when the multimedia resource is finished playing.
[0029] In some embodiments, the plurality of play modes include a fast play mode;
[0030] The playback unit is configured to continue playing the multimedia resource in response to a selection operation on the fast playback mode; and to play a next multimedia resource in response to a click operation on the multimedia resource.
[0031] In some embodiments, the playback unit is further configured to continue playing the multimedia resource in response to an exit operation on the playback mode.
[0032] In some embodiments, the exit operation of the playback mode includes at least one of the following: a return operation in the playback interface; an operation of deselecting the playback mode in the mode switching interface; and a triggering operation of a cancel control when the playback mode is selected in the mode switching interface.
[0033] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0034] one or more processors;
[0035] A memory for storing program codes executable by the processor;
[0036] The processor is configured to execute the program code to implement the above-mentioned multimedia resource playback method.
[0037] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When a program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device can execute the above-mentioned method for playing multimedia resources.
[0038] According to another aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned multimedia resource playback method.
[0039] The disclosed embodiments provide a multimedia resource playback solution that not only supports multiple playback modes, but also provides an efficient and convenient way to switch playback modes. By performing a target call-up operation in the playback interface of the multimedia resource, the mode switching interface can be simply and conveniently called up, and then multiple playback modes displayed by the mode switch can be easily switched. Furthermore, the types of multimedia resources played in different playback modes are different, or the operation methods for triggering multimedia resource switching in different playback modes are different. Therefore, the above-mentioned playback solution can not only play rich multimedia resources, but also support convenient and diverse operation methods for switching multimedia resources, thereby improving the efficiency of human-computer interaction.
[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0042] Figure 1The present invention is a schematic diagram of an implementation environment of a method for playing multimedia resources according to an exemplary embodiment.
[0043] Figure 2 The figure is a flowchart of a method for playing multimedia resources according to an exemplary embodiment.
[0044] Figure 3 The figure is a flow chart of another method for playing multimedia resources 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 The present invention is a block diagram of a multimedia resource playback device according to an exemplary embodiment.
[0049] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0051] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, 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 used for analysis, stored data, displayed data, etc.) and signals involved in this disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the multimedia resources involved in this disclosure are obtained with full authorization.
[0053] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a multimedia resource playback method according to an exemplary embodiment. Figure 1 The implementation environment specifically includes: a terminal 101 and a server 102. The terminal 101 can be connected to the server 102 via a wireless network or a wired network.
[0054] Terminal 101 can be at least one of a smart phone, a smart watch, a desktop computer, a laptop computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, and a laptop computer.
[0055] In some embodiments, a target application is installed or running on the terminal 101. The target application may be any type of application with a multimedia resource playback function, such as a short video application, a social application, etc. The user can view the multimedia resources recommended by the background server of the target application through the playback interface provided by the terminal 101 in the target application. Among them, the server 102 may be the background server of the target application, which is used to provide background services for the target application.
[0056] The terminal 101 may generally refer to one of a plurality of terminals. This embodiment is described by taking the terminal 101 as an example. Those skilled in the art may know that the number of the above terminals may be more or less. For example, the above terminals may be several, or the above terminals may be dozens or hundreds, or a greater number. The embodiment of the present disclosure does not limit the number and device type of the terminals.
[0057] The server 102 is at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Optionally, the number of the above servers may be more or less, which is not limited in the embodiments of the present disclosure. Of course, the server 102 may also include other functional servers 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 use a distributed computing architecture for collaborative computing. The server 102 can be connected to the terminal 101 and other terminals via a wireless network or a wired network. Optionally, the number of the above servers may be more or less, which is not limited in the embodiments of the present disclosure.
[0058] Figure 2 is a flowchart of a method for playing multimedia resources according to an exemplary embodiment. Figure 2 As shown, the method is performed by an electronic device and includes the following steps:
[0059] In step 201, the electronic device plays multimedia resources on a play interface.
[0060] In the disclosed embodiment, the electronic device is installed or running a target application. The target application is an application with a resource playback function, such as a short video application, a social application, etc. The playback interface is an interface provided by the target application, which is used to play the multimedia resources pushed by the target application. The multimedia resources include but are not limited to short videos, long videos, picture and text collections, live video, etc.
[0061] In some embodiments, in response to a start-up operation on a target application, the electronic device plays multimedia resources on a playback 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 the access addresses of multiple multimedia resources to be played, that is, the feed stream may include multiple access addresses, and the electronic device can obtain multimedia resources based on the feed stream and play the multimedia resources on the playback interface. In the process of playing multimedia resources, the electronic device can obtain the multimedia resources corresponding to the previous access address or the next access address in the information stream based on the user's resource switching operation, thereby switching multimedia resources on the playback interface.
[0062] In step 202, in response to a target calling operation based on a play interface, the electronic device displays a mode switching interface corresponding to the target calling operation, where the mode switching interface includes a plurality of play modes.
[0063] In the disclosed embodiments, the target call-up operation may be a direct operation or an indirect operation inputted in the playback interface. A direct operation refers to an operation directly acting on the playback interface, such as a trigger operation on a mode switching control in the playback interface, a sliding operation in a preset direction in the playback interface, etc. An indirect operation refers to an operation or instruction that does not directly act on the playback interface but can interact with the playback interface, such as air gestures, voice commands, etc.
[0064] The target call-up operation is used to call up the mode switching interface. The mode switching interface includes multiple optional playback modes for switching the current playback mode. The types of multimedia resources played in different playback modes are different. Optionally, the type of multimedia resources can be associated with the storage method, recall rules, etc. of the multimedia resources. For example, if the playback mode is offline mode, the multimedia resources played on the playback interface can be locally stored multimedia resources; if the playback mode is to view the target resource mode, the multimedia resources played on the playback interface can be target resources determined according to the corresponding recall rules. Alternatively, the operation method for triggering multimedia resource switching is different in different playback modes. For example, taking short video applications as an example, the operations that trigger multimedia resource switching are usually swiping up and swiping down. If the playback mode is fast playback mode, the switching of multimedia resources can be triggered by clicking on the multimedia resource without performing up and down sliding operations, which simplifies the method of switching multimedia resources and realizes fast switching of multimedia resources.
[0065] In step 203, in response to the selection operation of any play mode, the electronic device plays the video based on the play mode in the play interface.
[0066] In an embodiment of the present disclosure, the electronic device can play multimedia resources in a playback interface according to any selected playback mode. For example, the playback mode includes an automatic continuous playback mode. After selecting the playback mode, the electronic device can continue to play multimedia resources. When the multimedia resources are finished playing, the electronic device automatically plays the next multimedia resource without the user having to manually perform a resource switching operation. Alternatively, the playback mode includes a target resource viewing mode. After selecting the playback mode, the electronic device can play the target resource in the playback interface. The target resource is the multimedia resource determined according to the recall rule corresponding to the playback mode.
[0067] The disclosed embodiments provide a method for playing multimedia resources, which not only supports multiple playback modes, but also provides an efficient and convenient way to switch playback modes. By performing a target call-up operation in the playback interface of the multimedia resource, the mode switching interface can be simply and conveniently called up, and then multiple playback modes displayed by the mode switch can be easily switched. Furthermore, the types of multimedia resources played in different playback modes are different, or the operation methods for triggering multimedia resource switching in different playback modes are different. Therefore, the above-mentioned playback scheme can not only play rich multimedia resources, but also support convenient and diverse operation methods for switching multimedia resources, thereby improving the efficiency of human-computer interaction.
[0068] In some embodiments, in response to the target calling operation based on the playback interface, displaying the mode switching interface corresponding to the target calling operation includes:
[0069] In response to a triggering operation on a mode switching control in the playback interface, displaying a mode switching interface; or,
[0070] In response to the voice call command, a mode switching interface is displayed.
[0071] In the disclosed embodiment, by displaying the mode switching control on the playback interface and triggering the mode switching control to call up the mode switching interface with one click, the user does not need to manually find the mode switching entrance, which simplifies the interactive operation and improves the human-computer interaction efficiency. In addition, by supporting voice calling of the mode switching interface, the operation of calling up the mode switching interface can be further simplified, thereby improving the human-computer interaction efficiency.
[0072] In some embodiments, the target call-out operation is a trigger operation on the mode switching control, and the method further includes:
[0073] When the multimedia resource is the first multimedia resource, a mode switching control is displayed in a preset area of the playback interface.
[0074] In the disclosed embodiment, by displaying the mode switching control during the playback of the first multimedia resource, it is possible to avoid blocking the multimedia resource due to the continuous display of the mode switching control, thereby improving the playback effect of the multimedia resource.
[0075] In some embodiments, the target call-out operation is a trigger operation on the mode switching control, and the method further includes:
[0076] The mode switching control and the audio control are alternately displayed in the display area of the mode switching control. The audio control is used to display the background music of the multimedia resource after being triggered.
[0077] In the disclosed embodiment, since the frequency of use of audio controls is relatively low compared to interactive controls such as like controls and comment controls, by alternating the display of mode switching controls and audio controls, the area blocked by the mode switching controls can be further reduced without affecting the interaction with multimedia resources, thereby saving display space and ensuring a neat playback interface.
[0078] In some embodiments, in response to a target calling operation based on a playback interface, displaying a mode switching interface corresponding to the target calling operation includes:
[0079] In response to a triggering operation on a mode switching control, a plurality of play modes and audio controls are displayed on the mode switching interface.
[0080] In the disclosed embodiment, it can be ensured that the audio control can also be triggered in the mode switching interface to view the background music, avoiding the user having to wait for the mode switching control to be updated to the audio control in the playback interface, thereby shortening the waiting time and improving the efficiency of human-computer interaction.
[0081] In some embodiments, displaying a mode switching interface corresponding to the target call-out operation includes:
[0082] A mode switching interface is displayed on the upper layer of the playback interface. The mode switching interface includes multiple playback modes, a confirmation control, and a cancel control. The confirmation control is used to switch to the currently selected playback mode after being triggered, and the cancel control is used to exit the currently selected playback mode after being triggered.
[0083] In the disclosed embodiment, by displaying multiple playback modes and corresponding operation controls on the mode switching interface, it is possible to support switching between multiple playback modes on the mode switching interface. This not only can clearly and intuitively convey the applicable playback modes, but also eliminates the need for users to manually find the activation entrance for each playback mode, thereby 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, displaying a mode switching interface corresponding to the target call-out operation includes:
[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 operation of any play mode plays the video based on the play mode in the play interface, including: responding to the trigger operation of any play mode, playing the video based on the play mode in the play interface.
[0087] In the disclosed embodiment, by displaying the mode switching interface in the bullet screen area, it is possible to avoid the mode switching interface blocking the multimedia resources and other interactive controls in the playback interface, thereby ensuring that in the process of displaying the mode switching interface, it is still possible to support viewing and interacting with multimedia resources, thereby improving the playback effect of multimedia resources. In addition, when the mode switching interface is displayed in the bullet screen area, the mode switching interface may only include multiple playback modes without other operating controls, thereby reducing the area blocked by the mode switching interface. Accordingly, by triggering the playback mode, the playback mode can be quickly switched to, which can simplify the switching operation of the playback mode and improve the efficiency of human-computer interaction.
[0088] In some embodiments, displaying a mode switching interface corresponding to the target call-out operation includes:
[0089] A roulette-style mode switching interface is displayed on the playback interface. The mode switching interface includes multiple areas, each area displays a playback mode;
[0090] For any playback mode selection operation, in the playback interface, playback is performed based on the playback mode, including:
[0091] In response to a sliding operation in the mode switching interface, highlighting a currently selected area;
[0092] In response to the sliding operation ending, in the play interface, the play is performed based on the play mode displayed in the currently selected area.
[0093] In the disclosed embodiment, by displaying a mode switching interface in a roulette style, it is possible to support a sliding operation on the mode switching interface, that is, a sliding roulette operation, so that the playback mode can be quickly switched, thereby improving the efficiency of switching the playback mode.
[0094] In some embodiments, the method further comprises:
[0095] In response to a zoom operation on the mode switching interface, zooming the mode switching interface; or,
[0096] In response to the drag operation on the mode switching interface, the display mode switching interface moves.
[0097] In the embodiments of the present disclosure, by supporting the movement and scaling of the mode switching interface, it is possible to adjust the size and display position of the mode switching interface according to actual viewing needs, thereby avoiding the mode switching interface from blocking multimedia resources.
[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, canceling the display of the mode switching interface and displaying a floating control in the edge area;
[0100] In response to a triggering operation on the floating control, a plurality of play modes are displayed within a preset range of the floating control.
[0101] In the disclosed embodiment, by supporting the mode switching interface to be dragged to the edge area for suspension, not only can the playback mode be switched at any time by clicking a smaller floating control, but also the continuous display of a larger playback interface can be avoided, thereby avoiding the mode switching interface from blocking multimedia resources.
[0102] In some embodiments, the plurality of play modes include a first mode;
[0103] In response to a selection operation of any play mode, playing is performed based on the play mode in the play interface, including:
[0104] In response to the selection operation of the first mode, a multimedia resource of the first type is played on the play interface, and 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.
[0105] In the disclosed embodiment, by providing the first mode, when the recommended multimedia resources are generally viewed by users, the first mode can be switched to watch fresh videos that were recently released, thereby providing 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 include a second mode;
[0107] In response to a selection operation of any play mode, playing is performed based on the play mode in the play interface, including:
[0108] In response to the selection operation of the second mode, the second type of multimedia resources are played in the playback interface, and the second type of multimedia resources meet at least one preset condition, and the preset conditions include that the release time is within the historical time period, the playback volume is at a previous preset position, the completion rate reaches a preset value, and the number of interactions is at a previous preset position.
[0109] In the embodiments of the present disclosure, by providing a second mode, multimedia resources that are popular within a historical period can be played in the second mode, without the need for users to manually search for popular multimedia resources through hot lists or search controls. This can also prevent users from missing out on popular videos within the historical period, thereby improving human-computer interaction efficiency.
[0110] In some embodiments, the plurality of play modes include an automatic serial play mode;
[0111] In response to a selection operation of any play mode, playing is performed based on the play mode in the play interface, including:
[0112] In response to the selection operation of the automatic continuous broadcast mode, continue to play the multimedia resource on the playback interface;
[0113] When the multimedia resource is finished playing, the next multimedia resource is automatically played.
[0114] In the embodiments of the present disclosure, an automatic continuous broadcast mode is provided, which can automatically switch to the next multimedia resource when the multimedia resource is finished playing, without the need for manual switching by the user. This can save the step of manually switching videos in situations where the user's hands are occupied or other inconvenient operations, thereby improving the efficiency of human-computer interaction.
[0115] In some embodiments, the plurality of play modes include a fast play mode;
[0116] In response to a selection operation of any play mode, playing is performed based on the play mode in the play interface, including:
[0117] In response to the selection operation of the fast play mode, continue to play the multimedia resource;
[0118] In response to a click operation on a multimedia resource, the next multimedia resource is played.
[0119] In the embodiments of the present disclosure, by providing a quick play mode, the resource switching operation can be further simplified in the quick play mode, and multimedia resources can be switched through simple and convenient click operations, thereby improving the resource switching efficiency.
[0120] In some embodiments, the method further comprises:
[0121] In response to the exit operation of the play mode, the multimedia resource continues to be played.
[0122] In the embodiment of the present disclosure, by continuing to play the multimedia resource when exiting the playback mode, the user can continue to watch the multimedia resource without having to manually search for the multimedia resource in the historical browsing record, thereby avoiding missing the remaining content of the multimedia resource and improving the efficiency of human-computer interaction.
[0123] In some embodiments, the exit operation of the play mode includes at least one of the following:
[0124] Return operation in the playback interface;
[0125] Uncheck the playback mode in the mode switching interface;
[0126] When the play mode is selected in the mode switching interface, the triggering operation of the cancel control is performed.
[0127] In the disclosed embodiment, by providing the above-mentioned multiple exit operations to exit the play mode, it is not only possible to meet the operating habits of different users, but also possible to use the corresponding exit operations to exit the play mode in different scenarios. Furthermore, by deselecting the play mode or triggering the cancel control in the mode switching interface, the operation required to exit the current play mode can be clearly and intuitively conveyed, without the user having to explore the available exit operations, which not only increases the amount of information transmitted, but also improves the efficiency of human-computer interaction.
[0128] Above Figure 2 The figure shows a playback process of a multimedia resource disclosed in the present invention. The playback solution of the multimedia resource provided by the present invention is further described below. Figure 3 is a flowchart of another method for playing multimedia resources according to an exemplary embodiment, the method is executed by an electronic device, see Figure 3 , the method comprising:
[0129] In step 301, the electronic device plays multimedia resources on a play interface.
[0130] In the embodiment of the present disclosure, step 301 is the same as the above step 201 and will not be described again here.
[0131] In step 302, in response to a triggering operation on a mode switching control in the play interface, the electronic device displays a mode switching interface on an upper layer of the play interface, where the mode switching interface includes a plurality of play modes.
[0132] In the disclosed embodiment, the playback interface includes a mode switching control, and the mode switching control is used to call up the mode switching interface. Optionally, the mode switching control can be displayed in any area of the playback interface, such as the interactive area, the navigation area, the playback area, the bullet screen area, etc., and the disclosed embodiment does not limit this. Among them, the interactive area is used to display interactive controls for multimedia resources, such as like controls, comment controls, etc.; the navigation area is used to display tab labels, such as "Home", "Featured", "Friends", etc.; the playback area is used to play multimedia resources; the bullet screen area is used to display bullet screens of multimedia resources.
[0133] Optionally, 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, etc., displayed on the upper layer of the playback interface. The embodiment of the present disclosure does not limit the display area of the mode switching interface. By displaying the mode switching control on the playback interface and triggering the mode switching control to call up the mode switching interface with one click, the user does not need to manually find the entrance to the mode switching, which simplifies the interactive operation and improves the efficiency of human-computer interaction.
[0134] The mode switching interface includes multiple playback modes, and the types of multimedia resources played in different playback modes are different, or the operation methods for triggering multimedia resource switching in different playback modes are different. In addition, the mode switching interface also includes a confirmation control and a cancel control. Among them, the confirmation control is used to switch to the currently selected playback mode after triggering, so that the electronic device plays based on the playback mode. The cancel control is used to exit the currently selected playback mode after triggering, so that the electronic device plays according to the default playback mode. By displaying multiple playback modes and corresponding operation controls on the mode switching interface, it is possible to support switching between multiple playback modes on the mode switching interface, which can not only clearly and intuitively convey the applicable playback modes, but also eliminate the need for users to manually find the opening entrance of each playback mode, simplifying the operation of switching playback modes, and improving the amount of information transmitted and the efficiency of human-computer interaction.
[0135] It should be noted that the above content is explained by taking the continuous display of the mode switching control on the playback interface as an example. In some embodiments, the electronic device can display the mode switching control on the playback interface when the multimedia resource played on the playback interface is the first multimedia resource. Taking the short video application as an example, in response to the start-up operation of the short video application, the electronic device plays the first short video on the playback interface provided by the short video application, and displays the mode switching control on the playback interface. In response to the swipe up operation, the electronic device plays the next short video on the playback interface and cancels the display of the mode switching control. By displaying the mode switching control during the playback of the first multimedia resource, it is possible to avoid blocking the multimedia resource due to the continuous display of the mode switching control, thereby improving the playback effect of the multimedia resource.
[0136] Optionally, when the multimedia resource played on the playback interface is the first multimedia resource, the electronic device may display a first form of mode switching control on the playback interface; when the multimedia resource played on the playback interface is not the first multimedia resource, the electronic device may display a second form of mode switching control on the playback interface. Compared with the first form, the second form of mode switching control has a smaller display area or higher transparency, thereby reducing the occlusion of the multimedia resource by the mode switching control while still supporting the one-click calling of the mode switching interface through 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. Among them, the audio control is used to display the background music of the multimedia resource after being triggered. The display style of the audio control can be a dynamic turntable, such as a continuously rotating record. Optionally, the mode switching control and the audio control can be periodically alternated, such as when the display duration of the mode switching control reaches the 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 the second duration, the electronic device cancels the display of the audio control and displays the mode switching control in the display area, thereby realizing the alternating display of the two. Among them, the first duration and the second duration can be set according to demand, and the first duration and the second duration can be the same or different, such as both can be 10 seconds, and the embodiment of the present application does not limit this. Since the use frequency of the audio control is relatively low compared to interactive controls such as like controls and comment controls, by alternately displaying the mode switching control and the audio control, the area blocked by the mode switching control can be further reduced without affecting the interaction with the multimedia resources, thereby saving display space and ensuring the neatness of the playback interface.
[0138] Accordingly, when the mode switching control and the audio control are displayed alternately, in response to the triggering operation of the mode switching control, the electronic device can display multiple playback modes and audio controls on the mode switching interface, thereby ensuring that the audio control can also be triggered on the mode switching interface to view background music, avoiding the user having to wait on the playback interface for the mode switching control to switch to the audio control, thereby shortening the waiting time and improving the efficiency of human-computer interaction.
[0139] Figure 4 is a schematic diagram of a mode switching interface according to an exemplary embodiment. Figure 4 As shown in (a) of FIG. 1 , 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 the triggering operation of the mode switching control 401, the electronic device displays Figure 4 The mode switching interface 402 shown in (b) of FIG. 4 is displayed on the upper layer of the playback interface, and the mode switching interface 402 includes multiple playback modes, an icon of each playback mode, a confirmation control "confirm switching", a cancel control "cancel switching", 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 example of calling up the mode switching interface through the mode switching control. In some embodiments, the electronic device also supports the use of other target call-up operations to call up the mode switching interface. For example, in response to a voice call-up instruction, the electronic device displays the mode switching interface. The voice call-up instruction can be a voice instruction containing pre-set call-up keywords, such as "open the mode switching interface", "turn on mode switching", "mode switching", etc. By supporting voice call-up of the mode switching interface, the operation of calling up the mode switching interface can be further simplified, thereby improving the efficiency of human-computer interaction. Alternatively, it can also support calling up the mode switching interface through pre-set target call-up operations such as air gestures and shaking the electronic device, which is not limited in the embodiments of the present disclosure.
[0141] In addition, in addition to the method of displaying the mode switching interface described in the above embodiment, the electronic device can also use any of the following methods to display the mode switching interface.
[0142] Method 1: Display a mode switching interface in the bullet screen area of the playback interface. The bullet screen area is used to display multiple bullet screens of multimedia resources. The mode switching interface includes multiple optional playback modes.
[0143] By displaying the mode switching interface in the bullet screen area, it is possible to avoid the mode switching interface blocking the multimedia resources and other interactive controls in the playback interface, thereby ensuring that in the process of displaying the mode switching interface, it is still possible to view and interact with multimedia resources, thereby improving the playback effect of multimedia resources. In addition, when the mode switching interface is displayed in the bullet screen area, the mode switching interface can only include multiple playback modes without other operating controls, thereby reducing the area blocked by the mode switching interface.
[0144] For example, Figure 5 FIG. 1 is a schematic diagram of another mode switching interface according to an exemplary embodiment. Figure 5 As shown, the play interface displays multimedia resources 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 bullet screen area of the play interface. The mode switching interface 502 includes multiple optional play modes.
[0145] Method 2: Display a roulette-style mode switching interface in the playback interface. Among them, the roulette-style mode switching interface includes multiple areas, and each area displays a playback mode. The shape of each area can be a ring, a sector, etc. Optionally, the roulette-style mode switching interface can be displayed in any area in the playback interface, such as the barrage area, the playback area, etc., which is not limited in the embodiments of the present disclosure. By displaying a roulette-style mode switching interface, it is possible to support sliding operations in the mode switching interface, that is, sliding the roulette wheel, to quickly switch the playback mode, thereby improving the efficiency of switching the playback mode.
[0146] For example, Figure 6 FIG. 1 is a schematic diagram of another mode switching interface according to an exemplary embodiment. Figure 6 As shown, the play interface displays multimedia resources and a roulette-style mode switching interface 601. The mode switching interface 601 includes multiple areas, each area displays a play mode, and the currently selected play mode is play mode 3. By sliding operations in multiple areas, the currently selected play mode can be switched.
[0147] The above embodiments mainly introduce several ways of displaying a mode switching interface of 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 drag operation on the mode switching interface, the electronic device displays the mode switching interface to move. The movement trajectory of the mode switching interface is the same as the drag trajectory of the drag operation. By supporting the movement and scaling of the mode switching interface, it is possible to facilitate the adjustment of the size and display position of the mode switching interface according to actual viewing needs, thereby avoiding the mode switching interface from blocking multimedia resources.
[0148] For another example, in response to the operation of dragging the mode switching interface to the edge area on either side, the electronic device can cancel the display of the mode switching interface and display the floating control in the edge area. For example, the edge area can be the left edge of the playback interface. The floating control can be a floating ball, a floating bar, or a control of any shape. In response to the triggering operation of the floating control, the electronic device displays multiple playback modes within the preset range of the floating control. The preset range of the floating control can be a circular area with the floating control as the center and a preset distance as the radius, or a rectangular area, an elliptical area, etc. where the floating control is located, and the embodiments of the present disclosure are not limited to this. By supporting the mode switching interface to be suspended by dragging to the edge area, not only can the playback mode be switched at any time by clicking a smaller floating control, but also the continuous display of a larger playback interface can be avoided, thereby avoiding the mode switching interface from blocking multimedia resources.
[0149] In step 303, in response to the selection operation of any play mode, the electronic device plays based on the play mode in the play interface.
[0150] In an embodiment of the present disclosure, if the mode switching interface includes a confirmation control, then when any playback mode is selected, in response to a triggering operation on the confirmation control, the electronic device plays based on the playback mode in the playback interface.
[0151] In some embodiments, when the mode switching interface is displayed in the bullet screen area, the mode switching interface may only include multiple play modes. Therefore, in response to the triggering operation of any play mode in the mode switching interface, the electronic device can play based on the play mode in the play interface. By supporting the triggering of the play mode to quickly switch to the play mode, the switching operation of the play mode can be further simplified, and the efficiency of human-computer interaction is improved.
[0152] In some embodiments, when the mode switching interface is in a wheel style, in response to a sliding operation in the mode switching interface, the electronic device highlights the currently selected area. The highlighting may be highlighting, bolding, flashing, etc., so as to enhance the visibility of the selected play mode. In response to the end of the sliding operation, the electronic device can play the play mode displayed in the play interface based on the currently selected area. For example, see the above Figure 6 , playback mode 3 is the selected playback mode.
[0153] The above embodiment mainly introduces the process of switching the playback mode in the mode switching interface. Taking the short video application as an example, the following steps (1)-(5) are used to respectively describe the process of the electronic device playing based on each playback mode.
[0154] (1) Offline mode: The offline mode ensures that when the electronic device is not connected to the network, the electronic device can play the locally cached multimedia resources on the playback interface.
[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 obtains multiple recommended multimedia resources from the background server of the short video application, and caches the multiple multimedia resources to a 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 message, and the prompt message is used to prompt whether to use the mobile network to cache multimedia resources. Optionally, the prompt message can also be used to prompt the expected network traffic, the expected storage space occupied, etc. In response to the confirmation operation of the prompt message, the electronic device obtains multiple recommended multimedia resources from the background server, and caches the multiple multimedia resources to a local storage space. Accordingly, in response to the selection operation of the offline mode, if the electronic device is not connected to the network, the electronic device can play the locally cached multimedia resources on the playback interface.
[0156] In some embodiments, in response to the first selection operation of the offline mode, the electronic device displays a configuration interface when it is connected to the network, and the configuration interface is used to configure cache information. Among them, the cache information includes but is not limited to at least one of a preset number, a preset cache space, and interest preferences. Among them, the preset number is used to indicate the number of cached multimedia resources. The preset cache space is used to indicate the storage space occupied by the cached multimedia resources. Interest preferences are used to indicate the theme, category, etc. of the cached multimedia resources. For example, the configuration interface displays multiple preset categories such as "cute pets", "celebrity", "film and television", and "games". The electronic device can obtain the preset number set in the configuration interface, the selected preset category, and other configuration information, and then can subsequently obtain the preset number of preset categories of multimedia resources recommended by the background server according to the configuration information, and cache the above multimedia resources to the local storage space, thereby ensuring that the local multimedia resources played in offline mode meet the user's interest preferences.
[0157] It should also be noted that, when the configuration information does not include a preset category, the backend server can also recall multiple multimedia resources that meet the historical behavior characteristics based on the historical behavior characteristics of the current login account on the electronic device, and push the recalled multiple multimedia resources to the electronic device, and the electronic device caches the above multimedia resources to the local storage space. Optionally, the historical behavior characteristics include but are not limited to: historical viewing records, like records, comment records, etc.
[0158] In addition, during the process of caching multimedia resources, the electronic device can continue to play the multimedia resources on the play interface. In other words, the electronic device can silently cache other multimedia resources in the background while playing multimedia resources, thereby avoiding disturbing the user.
[0159] (2) First mode: The first mode may also be called a fresh viewing mode. In the fresh viewing mode, the electronic device can play recently released multimedia resources.
[0160] In response to the selection operation of the first mode, the electronic device plays the multimedia resource of the first type in the playback interface. Among them, the time interval between the release 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., which is not limited in the embodiment of the present disclosure. By providing the first mode, when the recommended multimedia resources are generally watched by users, they can switch to the first mode to watch fresh videos with a relatively recent release time, thereby providing rich and novel multimedia resources, thereby improving the novelty and timeliness of the recommended multimedia resources.
[0161] Optionally, in response to the selection operation of the first mode, the electronic device sends a first resource request to the background server of the short video application, and the first resource request is used to request to obtain a first type of multimedia resource, that is, a multimedia resource whose time interval between the release time and the current time is less than a preset interval. Correspondingly, the background server recalls multiple multimedia resources of the first type from the resource library based on the historical behavior characteristics of the account logged in by the electronic device, and pushes the first information stream to the electronic device. Among them, the first information stream can indicate the access address of multiple multimedia resources of the first type, and the electronic device can play multiple multimedia resources of the first type on the playback interface according to the first information stream.
[0162] (3) Second mode: The second mode can also be called the classic viewing mode. In the classic viewing mode, the electronic device can play multimedia resources that have been popular for a period of time in history.
[0163] In some embodiments, in response to the selection operation of the second mode, the electronic device plays the second type of multimedia resources in the playback interface. Among them, the second type of multimedia resources meets at least one preset condition. The preset conditions include but are not limited to: the release time is within the historical time period, the playback volume is at the previous preset position, the completion rate reaches the preset value, and the number of interactions is at the previous preset position. Among them, the historical time period, the previous preset position, the preset value, etc. can be set according to actual needs, and the embodiment of the present disclosure does not limit this. For example, the second type of multimedia resources can be multimedia resources with a playback volume in the top 1000 in the past year, a multimedia resource with a completion rate of 90% in the past year, and a multimedia resource with a number of comments in the top 1000 in the past year. By providing a second mode, multimedia resources with high popularity in the historical time can be played in the second mode, without the user manually searching for multimedia resources with high popularity through a hot list or a search control, and it can also prevent users from missing videos with high popularity in the historical time period, thereby improving the efficiency of human-computer interaction.
[0164] Optionally, in response to the selection operation of the second mode, the electronic device sends a second resource request to the background server of the short video application, and the second resource request is used to request the acquisition of the second type of multimedia resources, that is, multimedia resources that meet at least one preset condition. Correspondingly, the background server recalls multiple multimedia resources of the second type from the resource library based on the historical behavior characteristics of the account logged in by the electronic device, and pushes the second information stream to the electronic device. Among them, the second information stream can indicate the access address of multiple multimedia resources of the second type, and the electronic device can play multiple multimedia resources of the second type on the playback interface according to the second information stream.
[0165] (4) Automatic continuous broadcast mode: In the automatic continuous broadcast mode, the electronic device can automatically switch multimedia resources without the need for manual switching by the user.
[0166] In some embodiments, in response to the selection operation of the automatic continuous broadcast mode, the electronic device continues to play the multimedia resource in the playback interface. When the multimedia resource is finished playing, the electronic device automatically plays the next multimedia resource. By providing the automatic continuous broadcast mode, it is possible to automatically switch to the next multimedia resource when the multimedia resource is finished playing without the need for manual switching by the user. In the case of inconveniences such as the user's hands being occupied, the step of manually switching the video can be omitted, thereby improving the efficiency of human-computer interaction.
[0167] (5) Quick Play Mode: In the quick play mode, users can switch videos by a simple click operation. For example, when a user wants to quickly find a multimedia resource to watch, they can quickly switch multimedia resources by a quick click.
[0168] In some embodiments, in response to the selection operation of the fast play mode, the electronic device continues to play the multimedia resource. In response to the click operation on the multimedia resource, the electronic device plays the next multimedia resource. Optionally, in the fast play mode, the electronic device still supports switching multimedia resources through traditional up and down sliding operations, such as switching to the previous multimedia resource through a sliding operation. By providing a fast play mode, the resource switching operation can be further simplified in the fast play mode, and multimedia resources can be switched through a simple and convenient click operation, thereby improving the efficiency of resource switching.
[0169] The above steps (1)-(5) respectively introduce the offline mode, the fresh mode, the classic mode, the automatic continuous broadcast mode and the fast playback mode. Figure 4-Figure 6 The play mode 1-play mode 5 shown in the figure can respectively represent the above five modes. It should also be noted that, in the case where the current play mode is any one of the offline mode, fresh mode, and classic mode, in response to the selection operation of the automatic continuous broadcast mode, the electronic device can enable the automatic continuous broadcast function based on the current play mode. For example, if the current play mode is the fresh mode, when the first type of multimedia resource currently being played is finished, the electronic device automatically plays the next multimedia resource of the first type. Alternatively, in the case where the current play mode is any one of the offline mode, fresh mode, and classic mode, in response to the selection operation of the fast play mode, the electronic device can enable the fast continuous broadcast function based on the current play mode, that is, support switching multimedia resources by clicking.
[0170] In step 304, in response to the exit operation of the play mode, the electronic device continues to play the multimedia resource.
[0171] In the disclosed 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 the above step 301. For example, when the current mode is the fresh viewing mode, in response to the exit operation, the electronic device continues to play the multimedia resource played before entering the fresh viewing mode in the playback interface, and the playback progress remains consistent with that before entering the fresh viewing mode. For example, when the multimedia resource is played to 3 minutes and 40 seconds, the playback mode is switched to the fresh viewing mode, and the first type of multimedia resource recommended by the server is played; when the fresh viewing mode is exited, the electronic device continues to play the multimedia resource from the 3rd minute and 40 seconds. By continuing to play the multimedia resource when exiting the playback mode, the user can continue to watch the multimedia resource without manually searching for the multimedia resource in the historical browsing record, thereby avoiding missing the remaining content of the multimedia resource and improving the efficiency of human-computer interaction.
[0172] In some embodiments, the operation of exiting the play mode includes but is not limited to at least one of the following.
[0173] (1) Return operation on the playback interface. Optionally, the return operation can be a trigger operation on the return control, an operation of sliding from the left edge of the screen to the center of the screen, an operation of sliding from the right edge of the screen to the center of the screen, etc. For example, when the playback mode is the fresh mode, the electronic device plays a first type of multimedia resource on the playback interface. At this time, in response to the trigger operation on the return control, the electronic device exits the fresh mode and continues to play the multimedia resource played before entering the fresh mode on the playback interface.
[0174] (2) Cancel the operation of selecting the play mode in the mode switching interface. Figure 5 As shown, when the mode switching interface includes multiple playback modes, if a playback mode is selected, the electronic device can play based on the playback mode; if the playback mode is deselected, the electronic device exits the playback mode and continues to play the multimedia resources played before entering the playback mode.
[0175] (3) When the play mode is selected in the mode switching interface, the trigger operation of the cancel control is performed. Figure 4 As shown, the mode switching interface includes a cancel control "Cancel Switch". When any play mode is selected, in response to the triggering operation of the "Cancel Switch" control, the electronic device exits the play mode and continues to play the multimedia resource played before entering the play mode.
[0176] By providing the above-mentioned multiple exit operations to exit the play mode, it can not only meet the operating habits of different users, but also facilitate the use of corresponding exit operations to exit the play mode in different scenarios. Furthermore, by deselecting the play mode or triggering the cancel control in the mode switching interface, the operation required to exit the current play mode can be clearly and intuitively conveyed, without the user having to explore the available exit operations, which not only increases the amount of information transmitted, but also improves the efficiency of human-computer interaction.
[0177] The disclosed embodiments provide a method for playing multimedia resources, which not only supports multiple playback modes such as offline mode, fresh mode, classic mode, automatic serial playback mode, and fast playback mode, but also provides a method for efficiently and conveniently switching playback modes. By being able to simply and quickly call up the mode switching interface in the playback interface of the multimedia resource, it is possible to intuitively and conveniently switch between multiple playback modes displayed by the mode switching. Furthermore, the types of multimedia resources played in different playback modes are different, or the operation methods for triggering multimedia resource switching in different playback modes are different. Therefore, the above-mentioned playback scheme can not only play rich multimedia resources, but also support convenient and diverse operation methods for switching multimedia resources, thereby improving the efficiency of human-computer interaction.
[0178] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present disclosure, and will not be described in detail here.
[0179] Figure 7 FIG. 1 is a block diagram of a multimedia resource playback device according to an exemplary embodiment. Figure 7 As shown, the device includes: a playing unit 701 and a display unit 702.
[0180] The playing unit 701 is configured to play multimedia resources on the playing interface;
[0181] The display unit 702 is configured to display a mode switching interface corresponding to the target calling operation based on the playback interface in response to the target calling operation based on the playback interface, wherein the mode switching interface includes multiple playback modes, and the types of multimedia resources played in different playback modes are different, or the operation methods for triggering multimedia resource switching in different playback modes are different;
[0182] The playback unit 701 is further configured to respond to a selection operation of any playback mode and perform playback based on the playback mode in the playback interface.
[0183] In some embodiments, the display unit 702 is configured to display a mode switching interface in response to a trigger operation on a mode switching control in the playback interface; or to display a mode switching interface in response to a voice call instruction.
[0184] In some embodiments, the target calling operation is a triggering operation on a mode switching control, and the display unit 702 is further configured to display the mode switching control on the playback interface when the multimedia resource is the first multimedia resource.
[0185] In some embodiments, the target call-out operation is a trigger operation on a mode switching control, and the display unit 702 is further configured to alternately display a mode switching control and an audio control in a display area of the mode switching control, wherein the audio control is used to display background music of a multimedia resource after being triggered.
[0186] In some embodiments, the display unit 702 is further configured to display multiple playback modes and audio controls on the mode switching interface in response to a triggering operation on the mode switching control.
[0187] In some embodiments, the display unit 702 is configured to display a mode switching interface on an upper layer of the playback interface. The mode switching interface includes multiple playback modes, a confirmation control, and a cancel control. The confirmation control is used to switch to the currently selected playback mode after being triggered, and the cancel control is used to exit the currently selected playback mode after being triggered.
[0188] In some embodiments, the display unit 702 is configured to display a mode switching interface in the bullet screen area of the play interface, where the mode switching interface includes a plurality of play modes;
[0189] The playback unit 701 is configured to respond to a triggering operation on any playback mode and perform playback based on the playback mode in the playback interface.
[0190] In some embodiments, the display unit 702 is configured to display a mode switching interface in a roulette style on the play interface, the mode switching interface including a plurality of areas, each area displaying a play mode;
[0191] The playback unit 701 is configured to highlight the currently selected area in response to a sliding operation in the mode switching interface; in response to the end of the sliding operation, play the video based on the playback mode displayed in the currently selected area in the playback interface.
[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 to display the mode switching interface to move in response to a dragging operation on the mode switching interface.
[0193] In some embodiments, the display unit 702 is further configured to cancel display of the mode switching interface and display a floating control in the edge area in response to an operation of dragging the mode switching interface to an edge area on either side; and to display multiple playback modes within 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 include a first mode;
[0195] The playback unit 701 is configured to play a first type of multimedia resource on a playback interface in response to a selection operation of the first mode, wherein the time interval between a release time of the first type of multimedia resource and a current time is less than a preset interval.
[0196] In some embodiments, the plurality of play modes include a second mode;
[0197] The playback unit 701 is configured to play a second type of multimedia resource on the playback interface in response to a selection operation of the second mode. The second type of multimedia resource satisfies at least one preset condition, and the preset condition includes that the release time is within a historical time period, the playback volume is at a previous preset position, the completion rate reaches a preset value, and the number of interactions is at a previous preset position.
[0198] In some embodiments, the plurality of play modes include an automatic serial play mode;
[0199] The playback unit 701 is configured to continue to play the multimedia resource on the playback interface in response to the selection operation of the automatic continuous playback mode; when the multimedia resource is finished playing, automatically play the next multimedia resource.
[0200] In some embodiments, the plurality of play modes include a fast play mode;
[0201] The playing unit 701 is configured to continue playing the multimedia resource in response to a selection operation on the fast play mode; and to play the next multimedia resource in response to a click operation on the multimedia resource.
[0202] In some embodiments, the playback unit 701 is further configured to continue playing the multimedia resource in response to an exit operation on the playback mode.
[0203] In some embodiments, the exit operation of the play mode includes at least one of the following: a return operation in the play interface; an operation of deselecting the play mode in the mode switching interface; and a triggering operation of a cancel control when the play mode is selected in the mode switching interface.
[0204] The disclosed embodiments provide a multimedia resource playback device that not only supports multiple playback modes, but also provides an efficient and convenient way to switch playback modes. By performing a target call-up operation in the playback interface of the multimedia resource, the mode switching interface can be simply and conveniently called up, and then multiple playback modes displayed by the mode switch can be easily switched. Furthermore, the types of multimedia resources played in different playback modes are different, or the operation methods for triggering multimedia resource switching in different playback modes are different. Therefore, the above-mentioned playback device can not only play rich multimedia resources, but also support convenient and diverse operation methods for switching multimedia resources, thereby improving the efficiency of human-computer interaction.
[0205] It should be noted that the multimedia resource playback device provided in the above embodiment is only illustrated by the division of the above functional units. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device is divided into different functional units to complete all or part of the functions described above. In addition, the multimedia resource playback device provided in the above embodiment and the multimedia resource playback method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0206] Regarding the multimedia resource playback device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0207] Figure 8 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 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 801 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 801 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0209] The memory 802 may include one or more computer-readable storage media, which may be non-transitory. The memory 802 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 802 is used to store at least one program code, which is used to be executed by the processor 801 to implement the multimedia resource playback method provided in the method embodiment of the present disclosure.
[0210] In some embodiments, the electronic device 800 may 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 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 803 via 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 may be used to connect at least one peripheral device related to I / O (Input / Output) 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 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[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 communication networks 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 user 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: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 804 may also include circuits related to NFC (Near Field Communication), which is not limited in the present disclosure.
[0213] The display screen 805 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 805 is a touch display screen, the display screen 805 also has the ability to collect touch signals on the surface or above the surface of the display screen 805. The touch signal can be input to the processor 801 as a control signal for processing. At this time, the display screen 805 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 805 can be one, and the front panel of the electronic device 800 is set; in other embodiments, the display screen 805 can be at least two, which are respectively set on different surfaces of the electronic device 800 or are folded; in some other embodiments, the display screen 805 can be a flexible display screen, which is set on the curved surface or folded surface of the electronic device 800. Even, the display screen 805 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 805 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
[0214] The camera assembly 806 is used to capture images or videos. Optionally, the camera assembly 806 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the electronic device, and the rear camera is arranged on the back of the electronic device. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 806 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A 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 at different color temperatures.
[0215] The audio circuit 807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 801 for processing, or input them into the radio frequency circuit 804 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the electronic device 800. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 801 or the radio frequency circuit 804 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 807 may also include a headphone jack.
[0216] The power supply 808 is used to power various components in 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 will understand that Figure 8 The structure shown in the figure does not constitute a limitation on the electronic device 800, and may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0218] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 802 including instructions, and the instructions can be executed by a processor 801 of an electronic device 800 to complete the above-mentioned multimedia resource playback method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0219] A computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned multimedia resource playback method.
[0220] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0221] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for playing multimedia resources, characterized in that: The method comprises: Play multimedia resources in the playback interface; In response to a target calling operation based on the playback interface, a mode switching interface corresponding to the target calling operation is displayed, wherein the mode switching interface includes a plurality of playback modes, and different types of multimedia resources played in different playback modes are different, or different operation modes for triggering multimedia resource switching are different; In response to a selection operation of any play mode, the play is performed based on the play mode in the play interface.
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 calling operation in response to the target calling operation based on the playback interface includes: In response to a triggering operation on a mode switching control in the playback interface, displaying the mode switching interface; or, In response to the voice call instruction, the mode switching interface is displayed.
3. The method for playing multimedia resources according to claim 1, characterized in that: The target calling operation is a triggering operation on the mode switching control, and the method further includes: In a case where 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 calling operation is a triggering operation on the mode switching control, and the method further includes: The mode switching control and the audio control are alternately displayed in the display area of the mode switching control, and the audio control is used to display the background music of the multimedia resource after being 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 calling operation in response to the target calling operation based on the playback interface includes: In response to a triggering operation on the mode switching control, the multiple play 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 displaying of the mode switching interface corresponding to the target calling operation includes: The mode switching interface is displayed on the upper layer of the playback interface, and the mode switching interface includes the multiple playback modes, a confirmation control and a cancel control. The confirmation control is used to switch to the currently selected playback mode after being triggered, and the cancel 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 displaying of the mode switching interface corresponding to the target calling operation includes: Displaying the mode switching interface in the bullet screen area of the playback interface, wherein the mode switching interface includes the multiple playback modes; The selection operation of any play mode, and playing based on the play mode on the play interface, include: responding to a trigger operation of any play mode, and playing based on the play mode on the play interface.
8. The method for playing multimedia resources according to claim 1, characterized in that: The displaying of the mode switching interface corresponding to the target calling operation includes: Displaying the mode switching interface in a roulette style on the playing interface, wherein the mode switching interface includes a plurality of areas, each area displays a playing mode; The operation of selecting any play mode, in the play interface, plays the video based on the play mode, including: In response to a sliding operation in the mode switching interface, highlighting a currently selected area; In response to the sliding operation ending, the playback is performed in 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 to 8, characterized in that: The method further comprises: In response to a zooming operation on the mode switching interface, zooming the mode switching interface; or, In response to a drag operation on the mode switching interface, displaying the mode switching interface moves.
10. The method for playing multimedia resources according to any one of claims 6 to 8, characterized in that: The method further comprises: In response to an operation of dragging the mode switching interface to any side edge area, canceling the display of the mode switching interface and displaying a floating control in the edge area; In response to a triggering operation on the floating control, the multiple play 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 plurality of play modes include a first mode; In response to the selection operation of any play mode, playing based on the play mode in the play interface includes: In response to the selection operation of the first mode, a first type of multimedia resource is played on the playback interface, and the time interval between the release time of the first type of multimedia resource 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 plurality of play modes include a second mode; In response to the selection operation of any play mode, playing based on the play mode in the play interface includes: In response to the selection operation of the second mode, a second type of multimedia resource is played on the playback interface, and the second type of multimedia resource satisfies at least one preset condition, and the preset condition includes that the release time is within the historical time period, the playback volume is at a previous preset position, the completion rate reaches a preset value, and the number of interactions is at a previous preset position.
13. The method for playing multimedia resources according to claim 1, characterized in that: The multiple play modes include an automatic continuous play mode; In response to the selection operation of any play mode, playing based on the play mode in the play interface includes: In response to a selection operation of the automatic serial broadcast mode, continuing to play the multimedia resource on the playback interface; When the multimedia resource is finished playing, the next multimedia resource is automatically played.
14. The method for playing multimedia resources according to claim 1, characterized in that: The plurality of play modes include a fast play mode; In response to the selection operation of any play mode, playing based on the play mode in the play interface includes: In response to a selection operation of the fast play mode, continue to play the multimedia resource; 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 comprises: In response to an exit operation on the play mode, the multimedia resource continues to be played.
16. The method for playing multimedia resources according to claim 15, characterized in that: The exit operation of the play mode includes at least one of the following: Return operation in the playback interface; In the mode switching interface, cancel the operation of selecting the play mode; When the play mode is selected in the mode switching interface, a trigger operation of the cancel control is performed.
17. A multimedia resource playback device, characterized in that: The device comprises: A playback unit, configured to play multimedia resources on a playback interface; A display unit is configured to, in response to a target calling operation based on the playback interface, display a mode switching interface corresponding to the target calling operation, wherein the mode switching interface includes a plurality of playback modes, and different types of multimedia resources played in different playback modes are different, or different operation modes for triggering multimedia resource switching are different in different playback modes; The playback unit is further configured to respond to a selection operation of any playback mode and perform playback based on the playback mode in the playback interface.
18. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the multimedia resource playback method 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 a processor of an electronic device, the electronic device is enabled to execute 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, the method for playing multimedia resources according to any one of claims 1 to 16 is implemented.
Citation Information
Patent Citations
Play mode toggle method and device
CN108182017A
Music playing method, device, terminal and storage medium
CN109302538A
Program mixed playing method and equipment
CN113542817A
Multimedia playing method and device, equipment and medium
CN114816140A
Multimedia playing method and device, storage medium and program product
CN115150654A
Cited By
Media resource playing method and device, equipment, medium and program product
CN121334118A