Multimedia resource playing and displaying method and device and electronic equipment

By displaying the progress bar in the multimedia playback page and responding to the speed lock operation, convenient speed locking and unlocking functions are provided, which solves the problems of inconvenient operation and untimely speed locking in the existing technology, and improves user experience and application scenarios.

CN119325014APending Publication Date: 2025-01-17BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411571358.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

In the prior art, the operation of long pressing the screen to adjust the playback speed is not convenient enough, and the process of locking the playback speed in a fast-forward scenario is not timely enough, so the application scenario is limited.

Method used

When there is a dragging playback progress bar in the multimedia playback page, display the progress bar page and play multimedia resources at the target speed lock operation in response to the playback speed lock operation. Provide double-speed lock controls and unlock controls, allowing users to operate conveniently through sliding or touch Lock and unlock playback speed.

Benefits of technology

The convenience and application scenarios of double-speed locking are improved, and users can adjust and restore playback speed in time, which is suitable for more double-speed locking scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119325014A_ABST
    Figure CN119325014A_ABST
Patent Text Reader

Abstract

The invention relates to a multimedia resource playing and displaying method and device and electronic equipment. The method comprises the steps that under the condition that a playing progress bar is dragged in a multimedia playing page, a progress bar page is displayed, and target multimedia resources played at a default speed are displayed in the progress bar page; the default multiplied speed is the default multiplied speed for playing multimedia resources in the multimedia playing page; and playing the target multimedia resource at a target speed in response to a playing speed locking operation on the progress bar page, the target multiplied speed is a multiplied speed correspondingly locked by the playing multiplied speed locking operation; and in response to an instruction of returning to the multimedia playing page, playing the target multimedia resource in the multimedia playing page at the target speed. According to the technical scheme provided by the invention, speed multiplication locking is more convenient, and the application range is wider.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of multimedia technology, and in particular to a method, device and electronic device for playing and displaying multimedia resources. Background Art

[0002] With the development of multimedia technology, such as the development of short video technology, more and more users are using short videos to learn more information and interact with other users. When browsing short videos, users sometimes need to browse at different playback speeds to meet different browsing needs. Generally, long pressing the screen is set to fast-forward the short video to adjust the playback speed, but releasing the long press will restore the original playback speed. Based on this, in the related art, other trigger operations are selected during the duration of the long press to lock the speed corresponding to the long press, but this operation of performing other trigger operations during the duration of the long press to lock the speed is not convenient enough; and this locking of the fast-forward playback speed corresponding to the long press operation under the long press operation requires the long press operation to be performed first, and it is already in the fast-forward scenario, resulting in the playback speed being locked in time, and the application scenario is also relatively limited. Summary of the invention

[0003] The present disclosure provides a method, device and electronic device for playing and displaying multimedia resources, which can at least improve the convenience and application scenarios of speed locking. The technical solution of the present disclosure is as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, a method for playing and displaying multimedia resources is provided, including:

[0005] In the case where there is a drag play progress bar in the multimedia playback page, a progress bar page is displayed, wherein the progress bar page displays a target multimedia resource played at a default speed; the default speed is the default speed of playing the multimedia resource in the multimedia playback page;

[0006] On the progress bar page, in response to a playback speed locking operation, the target multimedia resource is played at a target speed; the target speed is the speed corresponding to the playback speed locking operation;

[0007] In response to the instruction to return to the multimedia playback page, the target multimedia resource is played at the target speed in the multimedia playback page.

[0008] In a possible implementation, after the step of playing the target multimedia resource at the target speed in the multimedia playback page in response to the instruction to return to the multimedia playback page, the method further includes:

[0009] When the play progress bar is dragged, the target multimedia resource is played at the default speed.

[0010] In a possible implementation, in response to the instruction to return to the multimedia playback page, when the target multimedia resource is played at the target speed in the multimedia playback page, a speed indication control corresponding to the target speed is also displayed in the multimedia playback page; the method further includes:

[0011] In response to a closing operation of the speed indication control, the target multimedia resource is played at the default speed in the multimedia playback page.

[0012] In a possible implementation, the method further includes:

[0013] When the speed indication control is triggered, multiple speed options are displayed;

[0014] When any speed option among the multiple speed options is selected, the target multimedia resource is played at a speed corresponding to the selected speed option.

[0015] In a possible implementation, the progress bar page further displays at least one speed lock control, and the playback speed lock operation is an operation in which a target speed lock control among the at least one speed lock control is selected; and in response to the playback speed lock operation, playing the target multimedia resource at the target speed on the progress bar page includes:

[0016] When a target speed lock control among the at least one speed lock control is selected, the target multimedia resource is played at the target speed; the speed locked corresponding to the target speed lock control is the target speed.

[0017] In a possible implementation, the at least one speed lock control is a plurality of speed lock controls, the plurality of speed lock controls are displayed in a scrolling manner, and when a target speed lock control in the at least one speed lock control is selected, playing the target multimedia resource at the target speed includes:

[0018] When the target speed lock control is scrolled and displayed in the scroll selection area, the target multimedia resource is played at the target speed.

[0019] In a possible implementation, the progress bar page further displays at least one speed option and a lock control corresponding to each speed option; in response to a playback speed lock operation, playing the target multimedia resource at a target speed on the progress bar page includes:

[0020] On the progress bar page, in response to a touch operation on the first page, switching a target speed option corresponding to the target speed in the at least one speed option to a selected state;

[0021] In response to the touch operation on the second page, the lock control corresponding to the target speed option is switched to a selected state, and the target multimedia resource is played at the target speed.

[0022] In a possible implementation, the playback speed locking operation is a sliding operation in a first direction; and in response to the playback speed locking operation, playing the target multimedia resource at a target speed on the progress bar page includes:

[0023] On the progress bar page, in response to a sliding operation in the first direction, the target multimedia resource is played at a target speed.

[0024] In a possible implementation, the method further includes:

[0025] In response to a sliding operation in a second direction, the target multimedia resource is played at the default speed, the second direction being opposite to the first direction.

[0026] In a possible implementation, in response to a playback speed locking operation, playing the target multimedia resource at a target speed on the progress bar page includes:

[0027] On the progress bar page, in response to the playback speed locking operation, the target multimedia resource is played at the target speed, and a speed unlocking control corresponding to the target speed is displayed;

[0028] The method further includes: in response to the speed unlocking control being triggered, switching to the default speed to play the target multimedia resource.

[0029] In a possible implementation, the instruction to return to the multimedia playback page is triggered by at least one of the following operations, including:

[0030] Stop dragging the playback progress bar on the progress bar page;

[0031] Alternatively, stop the playback speed locking operation;

[0032] Alternatively, when the playback speed locking operation is a sliding operation, a sliding back operation is performed.

[0033] According to a second aspect of an embodiment of the present disclosure, a multimedia resource playback and display device is provided, including:

[0034] The page display module is configured to display a progress bar page when a playback progress bar in a multimedia playback page is dragged, wherein the progress bar page displays a target multimedia resource played at a default speed; the default speed is a default speed for playing multimedia resources in the multimedia playback page;

[0035] A speed locking module is configured to be executed on the progress bar page, and in response to a playback speed locking operation, play the target multimedia resource at a target speed; the target speed is a speed corresponding to the playback speed locking operation;

[0036] The page return module is configured to execute an instruction in response to returning to the multimedia playback page, and play the target multimedia resource at the target speed in the multimedia playback page.

[0037] In a possible implementation manner, the device further includes:

[0038] The first speed recovery module is configured to switch to the default speed to play the target multimedia resource when the play progress bar is dragged.

[0039] In a possible implementation, a speed indication control corresponding to the target speed is also displayed in the multimedia playback page; and the device further includes:

[0040] The second speed recovery module is configured to execute a closing operation in response to the speed indication control, and switch to the default speed to play the target multimedia resource in the multimedia playback page.

[0041] In a possible implementation manner, the device further includes:

[0042] A speed option display module is configured to display a plurality of speed options when the speed indication control is triggered;

[0043] The speed switching module is configured to switch to playing the target multimedia resource at a speed corresponding to any selected speed option when any speed option among the multiple speed options is selected.

[0044] In a possible implementation, the progress bar page further displays at least one speed lock control, and the playback speed lock operation is an operation in which a target speed lock control among the at least one speed lock control is selected; and the speed lock module includes:

[0045] The first speed locking unit is configured to play the target multimedia resource at the target speed when a target speed locking control in the at least one speed locking control is selected; the speed locked corresponding to the target speed locking control is the target speed.

[0046] In a possible implementation, the at least one speed lock control is a plurality of speed lock controls, the plurality of speed lock controls are displayed in a scrolling manner, and the first speed lock unit includes:

[0047] The speed locking subunit is configured to play the target multimedia resource at the target speed when the target speed locking control is scrolled and displayed in the scroll selection area.

[0048] In a possible implementation, the progress bar page further displays at least one speed option and a lock control corresponding to each speed option; the speed lock module includes:

[0049] A speed selection unit is configured to execute on the progress bar page, in response to a first page touch operation, switching a target speed option corresponding to the target speed in the at least one speed option to a selected state;

[0050] The second speed locking unit is configured to execute, in response to a touch operation on the second page, switching the locking control corresponding to the target speed option to a selected state, and playing the target multimedia resource at the target speed.

[0051] In a possible implementation, the playback speed locking operation is a sliding operation in a first direction; and the speed locking module includes:

[0052] The third speed locking unit is configured to be executed on the progress bar page, and in response to the sliding operation in the first direction, play the target multimedia resource at a target speed.

[0053] In a possible implementation manner, the device further includes:

[0054] The third speed recovery module is configured to execute a sliding operation in response to a second direction to play the target multimedia resource at the default speed, and the second direction is opposite to the first direction.

[0055] In a possible implementation, the speed locking module is further configured to be executed on the progress bar page, in response to the playback speed locking operation, play the target multimedia resource at the target speed, and display a speed unlocking control corresponding to the target speed;

[0056] Correspondingly, the device further includes: a speed unlocking module configured to execute switching to the default speed to play the target multimedia resource in response to the speed unlocking control being triggered.

[0057] In one possible implementation, the instruction to return to the multimedia playback page is triggered by at least one of the following operations, including: stopping dragging the playback progress bar on the progress bar page; or, stopping the playback speed lock operation; or, when the playback speed lock operation is a sliding operation, performing a sliding back operation.

[0058] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a method as described in any one of the above-mentioned first aspects.

[0059] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any method described in the first aspect of the embodiment of the present disclosure.

[0060] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising computer instructions, which, when executed by a processor, enable a computer to execute any one of the methods described in the first aspect of an embodiment of the present disclosure.

[0061] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0062] In the case of dragging a progress bar in a multimedia playback page, a progress bar page is displayed, and in response to a playback speed lock operation, the target multimedia resource is played at a target speed on the progress bar page; the target speed is the speed corresponding to the playback speed lock operation; in response to an instruction to return to the multimedia playback page, the target multimedia resource is played at the target speed on the multimedia playback page. Speed ​​locking based on the scenario of dragging the playback progress bar is implemented, and a speed locking function is provided when the playback progress bar is dragged, so that users who may need to adjust the playback speed when dragging the progress bar can obtain the speed locking function in time, making the speed locking more timely and convenient; and the playback speed locking operation on the progress bar page is not limited to the duration of a certain operation, and can also be applied to more speed locking application scenarios.

[0063] 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

[0064] 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.

[0065] Figure 1 It is a schematic diagram of an application environment according to an exemplary embodiment.

[0066] Figure 2 The present invention is a flowchart of a method for playing and displaying multimedia resources according to an exemplary embodiment.

[0067] Figure 3 It is a schematic diagram showing a speed locking process according to an exemplary embodiment.

[0068] Figure 4 The following is a schematic diagram showing a playback speed lock operation in a progress bar page according to an exemplary embodiment. Figure 1 .

[0069] Figure 5 The following is a schematic diagram showing a playback speed lock operation in a progress bar page according to an exemplary embodiment. Figure 2 .

[0070] Figure 6 The following is a schematic diagram showing a playback speed lock operation in a progress bar page according to an exemplary embodiment. Figure 3 .

[0071] Figure 7 It is a schematic diagram showing the display and triggering of a speed indication control according to an exemplary embodiment.

[0072] Figure 8 The present invention is a block diagram of a multimedia resource playback and display device according to an exemplary embodiment.

[0073] Fig. 9 It is a block diagram of an electronic device for playing and displaying multimedia resources according to an exemplary embodiment. DETAILED DESCRIPTION

[0074] 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.

[0075] 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.

[0076] See also Figure 1 , Figure 1 is a schematic diagram of an application environment according to an exemplary embodiment. Figure 1 As shown, the application environment may include a server 01 and a terminal 02 .

[0077] In an optional embodiment, the terminal 02 can be used for playing and displaying multimedia resources. Specifically, the terminal 02 can include but is not limited to smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices and other types of electronic devices. Optionally, the operating system running on the electronic device can include but is not limited to Android system, IOS system, Linux, Windows, etc.

[0078] In an optional embodiment, server 01 can be used for background support of multimedia resource playback and display. Specifically, server 01 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0079] In addition, it should be noted that Figure 1 What is shown is only one application environment of the multimedia resource playback and display method provided by the present disclosure.

[0080] In the embodiments of this specification, the server 01 and the terminal 02 may be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitation thereto.

[0081] It should be noted that the following figure shows a possible order of steps, which is not actually limited to this order. Some steps can be executed in parallel without relying on each other. The user information (including but not limited to user device information, user personal information, user behavior information, etc.) and data (including but not limited to data for display, training data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0082] Figure 2 FIG. 1 is a flowchart of a method for playing and displaying multimedia resources according to an exemplary embodiment. Figure 2 As shown, the following steps may be included.

[0083] In step S201, when there is a drag play progress bar in the multimedia playback page, a progress bar page is displayed, in which a target multimedia resource played at a default speed is displayed; the default speed is the default speed for playing multimedia resources in the multimedia playback page.

[0084] In the embodiments of this specification, the multimedia playback page may refer to a page for playing multimedia resources. The multimedia resources may include but are not limited to videos, pictures and texts, etc. The videos may include but are not limited to short videos, film and television videos, etc. For example, the multimedia playback page may be a video stream recommendation page in a short video application, such as Figure 3 The single-column video stream page shown in the upper left figure can be swiped up and down to view different recommended short videos. It should be noted that the embodiments of the specification and the accompanying drawings take the video stream recommendation page in the short video application to display recommended short videos as an example, and do not limit the present disclosure. Optionally, the progress bar page can keep displaying the progress bar page with or without releasing the dragging of the playback progress bar. Accordingly, the method of keeping the progress bar page displayed when releasing the dragging of the playback progress bar can make the operation more flexible and convenient.

[0085] Reference Figure 3 , as an example, Figure 3 In the multimedia playback page shown in the upper left figure, short video A is playing. If the playback progress bar is dragged, the progress bar page can be displayed, for example Figure 3 The progress bar page here can be the display after the multimedia playback page is cleared. Short video A is played at the default speed in the multimedia playback page. After entering the progress bar page, short video A can inherit the default speed and the playback of short video A, and still play short video A at the default speed.

[0086] In step S203, on the progress bar page, in response to the playback speed locking operation, the target multimedia resource is played at a target speed; the target speed may be a speed corresponding to the playback speed locking operation.

[0087] In the embodiments of this specification, the playback speed lock operation can be pre-set, and the playback speed lock operation can be used to lock the target speed, so that the target multimedia resource can be played at the speed locked corresponding to the playback speed lock operation on different pages, that is, the playback speed of the target multimedia resource can be locked. For example, the playback speed lock operation may include but is not limited to sliding operations, double-clicking operations, clicking on the corresponding speed lock control, etc., and the present disclosure does not limit this. Optionally, in response to the playback speed lock operation, the target multimedia resource is played at the target speed, and the lock prompt information of the target speed can also be displayed, for example Figure 3 to Figure 5 The present disclosure does not limit the "2x locked" in the text.

[0088] In a possible implementation, the playback speed locking operation may be a sliding operation in a first direction, for example Figure 3 The swiping up operation shown in the upper right figure of the present disclosure is not limited to this. Based on this, the above-mentioned on the progress bar page, in response to the playback speed locking operation, playing the target multimedia resource at the target speed may include: on the progress bar page, in response to the sliding operation in the first direction, playing the target multimedia resource at the target speed. For example, the target speed can be locked by swiping up on the progress bar page. Exemplarily, the target speed can be one of a plurality of speeds, for example, it can be pre-set, or sliding operations in different directions can be set to correspond to different speed locks, or sliding operations in different orders can be set to correspond to different speed locks, for example, the first sliding operation corresponds to 2x speed, the second sliding operation corresponds to 2.5 speed, and so on, the present disclosure is not limited to this. By setting the sliding operation in the first direction to lock the target speed, the user can smoothly and conveniently lock the target speed when dragging the progress bar, whether to let go or not, and the operation is more flexible and convenient.

[0089] Optionally, the method may further include: in response to a sliding operation in a second direction, playing the target multimedia resource at a default speed, and the second direction may be opposite to the first direction. For example, in the case where the target speed is locked by a sliding operation in the first direction, if a sliding operation is performed in the opposite second direction, that is, a back sliding operation corresponding to the sliding operation in the first direction is performed, the target speed is unlocked by sliding back, thereby restoring the default speed before locking the target speed. By setting a second direction opposite to the first direction, the target speed can be unlocked quickly and conveniently to restore the default speed playback; this method of sliding back to unlock the speed lock is easy to understand and conforms to operating habits, so that speed locking and unlocking can be more convenient and effective, and the interactive experience is better.

[0090] In another possible implementation, the progress bar page further displays at least one speed lock control, and the playback speed lock operation is an operation in which a target speed lock control in the at least one speed lock control is selected. Accordingly, in the progress bar page, in response to the playback speed lock operation, the target multimedia resource is played at the target speed, which may include: when a target speed lock control in at least one speed lock control is selected, the target multimedia resource is played at the target speed; the speed locked by the target speed lock control is the target speed. Wherein, any speed lock control is used to lock the corresponding speed, for example, the corresponding locked speed may be displayed in the speed lock control, for example Figure 4 The "2x Lock" speed lock control shown on the left side of the figure is used to lock the 2x speed.

[0091] Reference Figure 4 , Figure 4 The left image of the figure can be a progress bar page, in which a small window can be used to play a static image or a dynamic image, that is, a small window follows the dragging of the playback progress bar. Optionally, the small window may not be displayed, and the target multimedia resource may be played and displayed following the dragging of the playback progress bar, which is not limited in the present disclosure. For example, the progress bar page also displays at least one speed lock control, which can be as follows: Figure 4 The "2x lock" and "3x lock" shown in the left figure are just examples, and other speed lock controls may also be included. The target speed lock control in at least one speed lock control may be selected by any of the following operations: clicking the target speed lock control, triggering a sliding operation (different sliding operations correspond to different speed lock controls), long pressing the target speed lock control, etc., which is not limited in this disclosure. Optionally, as Figure 4 As shown in the figure on the right, when the target speed is locked, the speed unlocking control corresponding to the target speed can also be displayed. Here, the speed unlocking control corresponding to the target speed is displayed incrementally, for example Figure 4 By displaying at least one speed lock control on the progress bar page, the speed lock operation can be effectively guided, so that the visual guidance of speed lock is better, thereby improving the convenience and experience of speed lock operation.

[0092] In one example, at least one speed lock control may be a plurality of speed lock controls, and the plurality of speed lock controls are displayed in a scrolling manner, for example Figure 5 Based on this, when a target speed lock control in at least one speed lock control is selected, playing the target multimedia resource at the target speed may include: when the target speed lock control is scrolled and displayed in the scroll selection area, playing the target multimedia resource at the target speed. That is, when multiple speed lock controls are scrolled and displayed, for example Figure 5 As shown, the multiple speed lock controls can be slid to achieve scrolling display. When a speed lock control is slid to a scroll selection area, the speed lock control in the scroll selection area can be regarded as the selected target speed lock control. Figure 5 51 in FIG. By scrolling and displaying multiple speed lock controls, the display diversity of the speed lock controls can be improved, and the richness of the speed lock operation can be improved.

[0093] Alternatively, if Figure 5 As shown in the figure on the right, when the target speed is locked, the speed unlocking control corresponding to the target speed can also be displayed. Here, "2x Lock" can be switched to display the speed unlocking control "2x Unlock" corresponding to the target speed, for example Figure 5 "2x Unlock" as shown on the right side of the screen.

[0094] In an optional implementation, the progress bar page may also display at least one speed option and a lock control corresponding to each speed option. Figure 6 As shown, at least one speed option may include "2x" and "3x", and the lock control corresponding to each speed option may include "lock" corresponding to "2x" and "3x", for example, "2x" corresponds to "lock" on its right side, and "3x" corresponds to "lock" on its right side. Based on this, in the above-mentioned progress bar page, in response to the playback speed lock operation, playing the target multimedia resource at the target speed may include:

[0095] On the progress bar page, in response to the touch operation on the first page, a target speed option corresponding to a target speed in at least one speed option is switched to a selected state;

[0096] In response to the touch operation on the second page, the lock control corresponding to the target speed option is switched to a selected state, and the target multimedia resource is played at the target speed.

[0097] For example, the touch operation on the first page and the touch operation on the second page may be different, for example, they may be different touch operations under the same type of touch operation, such as but not limited to click, long press, slide, etc., which is not limited in the present disclosure. For example, the touch operation on the first page may be swiping up, and the touch operation on the second page may be swiping horizontally, which is not limited in the present disclosure. Figure 6 As shown, you can swipe up to fast forward 2x, and swipe sideways to lock 2x, as shown in Figure 6 As an example, the target speed option corresponding to the target speed can be switched to the selected state as follows Figure 6As shown in the upper right picture of the , the background color becomes darker and the text color in the control changes. Switch the lock control corresponding to the target speed option to the selected state, and you can Figure 6 As shown in the lower right figure, the background color of the lock control corresponding to the target speed option becomes darker, and the text color in the control changes. By setting the first page touch operation and the second page touch operation, first implement the speed fast forward, then implement the speed lock, making the speed lock operation more layered, the interaction more flexible and diverse, and avoiding the speed lock misoperation.

[0098] Optionally, in response to the playback speed locking operation on the progress bar page, playing the target multimedia resource at the target speed may include: in response to the playback speed locking operation on the progress bar page, playing the target multimedia resource at the target speed, and displaying a speed unlocking control corresponding to the target speed, for example Figure 4 "2x Unlock" as shown on the right side of the screen. Figure 5 The "2x Unlock" shown on the right side of the picture and Figure 6 Click on "2x Unlock" in the lower right image.

[0099] Accordingly, the method may further include: in response to the speed unlocking control being triggered, switching to a default speed to play the target multimedia resource. Figure 4 The "2x unlock" shown on the right side of the screen can unlock the 2x lock, thereby switching to the default speed to play the target multimedia resource and returning to Figure 4 Or, for example, click Figure 6 The "2x unlock" shown in the lower right figure can unlock the 2x lock, thereby switching to the default speed to play the target multimedia resource. Figure 6 By displaying the speed unlocking control corresponding to the target speed when the speed is locked, and switching to the default speed to play the target multimedia resource in response to the speed unlocking control being triggered, the speed lock can be unlocked flexibly and conveniently, and the default speed can be restored, making speed retracing more convenient and efficient.

[0100] In step S205, in response to the instruction to return to the multimedia play page, the target multimedia resource is played at the target speed in the multimedia play page.

[0101] In the embodiment of the present specification, you can return to the multimedia playback page from the progress bar page. If the speed is locked in the multimedia playback page, the locked target speed can be inherited in the multimedia playback page, that is, the target multimedia resource is played at the target speed in the multimedia playback page, for example, from Figure 3 The upper right picture to Figure 3Optionally, return to the multimedia playback page, and display the prompt information of the target speed playback on the multimedia playback page, for example Figure 3 As shown in 31, the present disclosure is not limited to this.

[0102] Exemplarily, the above-mentioned instruction to return to the multimedia playback page can be triggered by at least one of the following operations, for example, it may include: stopping dragging the playback progress bar on the progress bar page; or stopping the playback speed lock operation; or, when the playback speed lock operation is a sliding operation, performing a sliding back operation. That is to say, when the progress bar page stops touching the screen, an instruction to return to the multimedia playback page can be generated, or the playback speed lock operation can be stopped; or, when the playback speed lock operation is a sliding operation, a sliding back operation can be performed, or the return control to return to the multimedia playback page can be clicked, for example Figure 5 The control in the upper right corner of the progress bar page shown is not limited in the present disclosure. By setting a variety of operations to trigger the instruction to return to the multimedia playback page, the way to return to the multimedia playback page is more flexible and diverse, and the interaction is more interesting and convenient.

[0103] In the case of dragging a progress bar in a multimedia playback page, a progress bar page is displayed, and in response to a playback speed lock operation, the target multimedia resource is played at a target speed on the progress bar page; the target speed is the speed corresponding to the playback speed lock operation; in response to an instruction to return to the multimedia playback page, the target multimedia resource is played at the target speed on the multimedia playback page. Speed ​​locking based on the scenario of dragging the playback progress bar is implemented, and a speed locking function is provided when the playback progress bar is dragged, so that users who may need to adjust the playback speed when dragging the progress bar can obtain the speed locking function in time, making the speed locking more timely and convenient; and the playback speed locking operation on the progress bar page is not limited to the duration of a certain operation, and can also be applied to more speed locking application scenarios.

[0104] In a possible implementation, after locking the target speed and returning to the multimedia playback page, the method may further include: when the playback progress bar is dragged, switching to the default speed to play the target multimedia resource. That is, after locking the target speed and returning to the multimedia playback page, the multimedia playback page inherits the target speed. In this case, if the playback progress bar is dragged again, the target multimedia resource will be switched to the default speed. By dragging the progress bar at the target speed to restore the default speed, convenient speed recovery is achieved in the scenario of dragging the progress bar.

[0105] Reference Figure 7In the upper left figure, in a possible implementation, in response to the instruction to return to the multimedia playback page, when the target multimedia resource is played at the target speed in the multimedia playback page, a speed indication control corresponding to the target speed may also be displayed in the multimedia playback page, such as Figure 7 Based on this, the method may further include: in response to a closing operation of the speed indication control, switching to a default speed to play the target multimedia resource in the multimedia playback page, for example Figure 7 The upper left picture to Figure 7 The closing operation of the speed indicator control may include but is not limited to a preset closing gesture, a preset touch operation, clicking Figure 7 The close button shown in 72 in the figure is not limited in the present disclosure. By displaying the speed indicator control corresponding to the target speed to prompt the currently locked target speed, and by closing the speed indicator control to unlock the target speed, the default speed is restored, making the restoration of the default speed more intuitive and easy to operate.

[0106] Reference Figure 7 Optionally, the method may further include: displaying multiple speed options when the speed indication control is triggered. Figure 7 71 in the above example, you can expand multiple speed options for speed switching selection, for example Figure 7 The lower left figure shows multiple speed options: 1.25x, 1.5x, 2x, 2.5x, ..., which are not listed here one by one. Based on this, further, when any of the multiple speed options is selected, the target multimedia resource can be switched to the speed corresponding to the selected speed option. For example, if 1.25x is selected, the target multimedia resource can be switched to 1.25x speed. Figure 7 As shown in the lower left figure, if 1.25x is selected, you can switch to playing short video A at 1.25x speed. By displaying multiple speed options when the speed indicator control is triggered, it can be flexibly and conveniently used to switch the locked target speed, making speed switching more convenient and efficient.

[0107] Figure 8 FIG. 1 is a block diagram of a multimedia resource playback and display device according to an exemplary embodiment. Figure 8 , the device may include:

[0108] The page display module 801 is configured to display a progress bar page when the playback progress bar in the multimedia playback page is dragged, wherein the progress bar page displays a target multimedia resource played at a default speed; the default speed is a default speed for playing multimedia resources in the multimedia playback page;

[0109] The speed locking module 803 is configured to be executed on the progress bar page, and in response to the playback speed locking operation, play the target multimedia resource at a target speed; the target speed is the speed locked corresponding to the playback speed locking operation;

[0110] The page return module 805 is configured to execute an instruction in response to returning to the multimedia play page, and play the target multimedia resource at the target speed in the multimedia play page.

[0111] In the case of dragging a progress bar in a multimedia playback page, a progress bar page is displayed, and in response to a playback speed lock operation, the target multimedia resource is played at a target speed on the progress bar page; the target speed is the speed corresponding to the playback speed lock operation; in response to an instruction to return to the multimedia playback page, the target multimedia resource is played at the target speed on the multimedia playback page. Speed ​​locking based on the scenario of dragging the playback progress bar is implemented, and a speed locking function is provided when the playback progress bar is dragged, so that users who may need to adjust the playback speed when dragging the progress bar can obtain the speed locking function in time, making the speed locking more timely and convenient; and the playback speed locking operation on the progress bar page is not limited to the duration of a certain operation, and can also be applied to more speed locking application scenarios.

[0112] In a possible implementation, the device may further include:

[0113] The first speed recovery module is configured to switch to the default speed to play the target multimedia resource when the play progress bar is dragged.

[0114] In a possible implementation, a speed indication control corresponding to the target speed is also displayed in the multimedia playback page; and the device may further include:

[0115] The second speed recovery module is configured to execute a closing operation in response to the speed indication control, and switch to the default speed to play the target multimedia resource in the multimedia playback page.

[0116] In a possible implementation, the device may further include:

[0117] A speed option display module is configured to display a plurality of speed options when the speed indication control is triggered;

[0118] The speed switching module is configured to switch to playing the target multimedia resource at a speed corresponding to any selected speed option when any speed option among the multiple speed options is selected.

[0119] In a possible implementation, the progress bar page further displays at least one speed lock control, and the playback speed lock operation is an operation in which a target speed lock control among the at least one speed lock control is selected; the speed lock module 803 may include:

[0120] The first speed locking unit is configured to play the target multimedia resource at the target speed when a target speed locking control in the at least one speed locking control is selected; the speed locked corresponding to the target speed locking control is the target speed.

[0121] In a possible implementation, the at least one speed lock control is a plurality of speed lock controls, and the plurality of speed lock controls are displayed in a scrolling manner. The first speed lock unit may include:

[0122] The speed locking subunit is configured to play the target multimedia resource at the target speed when the target speed locking control is scrolled and displayed in the scroll selection area.

[0123] In a possible implementation, the progress bar page further displays at least one speed option and a lock control corresponding to each speed option; the speed lock module 803 may include:

[0124] A speed selection unit is configured to execute on the progress bar page, in response to a first page touch operation, switching a target speed option corresponding to the target speed in the at least one speed option to a selected state;

[0125] The second speed locking unit is configured to execute, in response to a touch operation on the second page, switching the locking control corresponding to the target speed option to a selected state, and playing the target multimedia resource at the target speed.

[0126] In a possible implementation, the playback speed locking operation is a sliding operation in a first direction; the speed locking module 803 may include:

[0127] The third speed locking unit is configured to be executed on the progress bar page, and in response to the sliding operation in the first direction, play the target multimedia resource at a target speed.

[0128] In a possible implementation, the device may further include:

[0129] The third speed recovery module is configured to execute a sliding operation in response to a second direction to play the target multimedia resource at the default speed, and the second direction is opposite to the first direction.

[0130] In a possible implementation, the speed locking module 803 may also be configured to be executed on the progress bar page, in response to the playback speed locking operation, play the target multimedia resource at the target speed, and display a speed unlocking control corresponding to the target speed;

[0131] Correspondingly, the device may further include: a speed unlocking module configured to execute switching to the default speed to play the target multimedia resource in response to the speed unlocking control being triggered.

[0132] In one possible implementation, the instruction to return to the multimedia playback page is triggered by at least one of the following operations, which may include: stopping dragging the playback progress bar on the progress bar page; or, stopping the playback speed lock operation; or, when the playback speed lock operation is a sliding operation, performing a sliding back operation.

[0133] Regarding the 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.

[0134] Fig. 9 is a block diagram of an electronic device for playing and displaying multimedia resources according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for playing and displaying multimedia resources is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.

[0135] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0136] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method for playing and displaying multimedia resources as in the embodiment of the present disclosure.

[0137] In an exemplary embodiment, a computer-readable storage medium is also provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can perform the multimedia resource playback and display method in the embodiment of the present disclosure. 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.

[0138] In an exemplary embodiment, a computer program product including instructions is also provided. When the computer program product is executed on a computer, the computer executes the method for playing and displaying multimedia resources in the embodiment of the present disclosure.

[0139] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0140] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application 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 specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0141] 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 and displaying multimedia resources, characterized in that: include: In the case where there is a drag play progress bar in the multimedia play page, displaying a progress bar page, wherein the progress bar page displays a target multimedia resource played at a default speed; The default speed is the default speed for playing multimedia resources in the multimedia playback page; On the progress bar page, in response to a playback speed locking operation, playing the target multimedia resource at a target speed; The target speed is the speed corresponding to the playback speed locking operation; In response to the instruction to return to the multimedia playback page, the target multimedia resource is played at the target speed in the multimedia playback page.

2. The method according to claim 1, characterized in that After the step of playing the target multimedia resource at the target speed in the multimedia playback page in response to the instruction to return to the multimedia playback page, the method further includes: When the play progress bar is dragged, the target multimedia resource is played at the default speed.

3. The method according to claim 1, characterized in that In response to the instruction to return to the multimedia playback page, when the target multimedia resource is played at the target speed in the multimedia playback page, a speed indication control corresponding to the target speed is also displayed in the multimedia playback page; the method further includes: In response to a closing operation of the speed indication control, the target multimedia resource is played at the default speed in the multimedia playback page.

4. The method according to claim 3, characterized in that: The method further comprises: When the speed indication control is triggered, multiple speed options are displayed; When any speed option among the multiple speed options is selected, the target multimedia resource is played at a speed corresponding to the selected speed option.

5. The method according to claim 1, characterized in that The progress bar page also displays at least one speed lock control, and the playback speed lock operation is an operation in which a target speed lock control among the at least one speed lock control is selected; In response to the playback speed locking operation, playing the target multimedia resource at the target speed on the progress bar page includes: When a target speed lock control in the at least one speed lock control is selected, playing the target multimedia resource at the target speed; The speed locked by the target speed locking control is the target speed.

6. The method according to claim 5, characterized in that The at least one speed lock control is a plurality of speed lock controls, the plurality of speed lock controls are displayed in a scrolling manner, and when a target speed lock control in the at least one speed lock control is selected, the target multimedia resource is played at the target speed, including: When the target speed lock control is scrolled and displayed in the scroll selection area, the target multimedia resource is played at the target speed.

7. The method according to claim 1, characterized in that The progress bar page further displays at least one speed option and a lock control corresponding to each speed option; in response to a playback speed lock operation on the progress bar page, playing the target multimedia resource at a target speed includes: On the progress bar page, in response to a touch operation on the first page, switching a target speed option corresponding to the target speed in the at least one speed option to a selected state; In response to the touch operation on the second page, the lock control corresponding to the target speed option is switched to a selected state, and the target multimedia resource is played at the target speed.

8. The method according to claim 1, characterized in that The playback speed locking operation is a sliding operation in a first direction; In response to the playback speed locking operation, playing the target multimedia resource at the target speed on the progress bar page includes: On the progress bar page, in response to a sliding operation in the first direction, the target multimedia resource is played at a target speed.

9. The method according to claim 8, characterized in that The method further comprises: In response to a sliding operation in a second direction, the target multimedia resource is played at the default speed, the second direction being opposite to the first direction.

10. The method according to any one of claims 5 to 9, characterized in that: In response to the playback speed locking operation, playing the target multimedia resource at the target speed on the progress bar page includes: On the progress bar page, in response to the playback speed locking operation, the target multimedia resource is played at the target speed, and a speed unlocking control corresponding to the target speed is displayed; The method further includes: in response to the speed unlocking control being triggered, switching to the default speed to play the target multimedia resource.

11. The method according to any one of claims 1 to 9, characterized in that: The instruction to return to the multimedia playback page is triggered by at least one of the following operations, including: Stop dragging the playback progress bar on the progress bar page; Alternatively, stop the playback speed locking operation; Alternatively, when the playback speed locking operation is a sliding operation, a sliding back operation is performed.

12. A multimedia resource playback and display device, characterized in that: include: A page display module is configured to display a progress bar page when a playback progress bar in a multimedia playback page is dragged, wherein the progress bar page displays a target multimedia resource played at a default speed; The default speed is the default speed for playing multimedia resources in the multimedia playback page; A speed locking module is configured to be executed on the progress bar page, and in response to a playback speed locking operation, play the target multimedia resource at a target speed; The target speed is the speed corresponding to the playback speed locking operation; The page return module is configured to execute an instruction in response to returning to the multimedia playback page, and play the target multimedia resource at the target speed in the multimedia playback page.

13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the multimedia resource playback and display method as described in any one of claims 1 to 11.

14. 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 and displaying multimedia resources as described in any one of claims 1 to 11.

15. A computer program product, characterized in that It includes computer instructions, which, when executed by a processor, enable the computer to execute the multimedia resource playback and display method as described in any one of claims 1 to 11.