Media file playing method and device

By introducing a mode switching function in the media playback system, switching the user side from the first mode to the second mode, and switching media files using faster operation gestures in the second mode, the problems of cumbersome and low efficiency of users in the prior art are solved, and faster and simpler media file switching is achieved.

CN120045115APending Publication Date: 2025-05-27BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202510112643.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

Existing media playback technologies are difficult to simplify user operations and improve user efficiency, especially when switching media files quickly.

Method used

Through the mode switching event, the user side is switched from the first mode to the second mode, and in the second mode, a faster operation gesture (such as a click gesture) is used to switch media files on the playback page.

Benefits of technology

This enables users to switch and browse media files faster, simplifies user operations, and improves user efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045115A_ABST
    Figure CN120045115A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a media file playing method and device. According to the main technical scheme, the method comprises the following steps: switching a user side from a first mode to a second mode in response to a mode switching event; wherein in the first mode, a media file on a playing page is switched in response to a first operation gesture, and in the second mode, a media file played on the playing page is switched in response to a second operation gesture; the second operation gesture has a faster media file switching speed than the first operation gesture. Through the instant response to the user demand, the user can switch the media file at a higher speed, so that the user operation is simplified, and the user efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer application technologies, and particularly to a method and device for playing media files. Background Art

[0002] With the rapid development of Internet and mobile communication technologies, media playback services provided for mobile terminals such as mobile phones and tablet computers have been widely applied. For example, users can watch videos anytime and anywhere through long video playback applications, short video playback applications, etc.

[0003] However, with the continuous popularization of media playback technologies and the continuous improvement of user requirements, how to simplify user operations and improve user efficiency has become an urgent problem to be solved. Summary of the Invention

[0004] In view of this, this application provides a method and device for playing media files to facilitate simplifying user operations and improving user efficiency.

[0005] This application provides the following solutions:

[0006] In a first aspect, a method for playing a media file is provided. The method includes:

[0007] When the user terminal is in the first mode, in the first mode, a media file on the playback page is switched in response to a first operation gesture;

[0008] In response to an event of mode switching, the user terminal is switched from the first mode to the second mode, and in the second mode, a media file being played on the playback page is switched in response to a second operation gesture;

[0009] Wherein, the second operation gesture has a faster media file switching speed compared to the first operation gesture.

[0010] Optionally, the first operation gesture includes a sliding gesture along a preset direction;

[0011] The second operation gesture includes a click gesture.

[0012] Optionally, in the second mode, in response to the second operation gesture

[0013] Switching the media file being played on the playback page includes:

[0014] In response to a single click gesture on the playback page, switch to playing the next media file on the playback page; in response to a double click gesture on the playback page, switch to playing the previous media file on the playback page; or,

[0015] In response to a click gesture in the first area on the playback page, switch to playing the next media file on the playback page; in response to a click gesture in the second area on the playback page, switch to playing the previous media file on the playback page.

[0016] Optionally, the events for mode switching include:

[0017] An event where the first component on the configuration interface in the first mode is triggered;

[0018] An event where the second component shown on the playback page in the first mode is triggered;

[0019] An event where the third component included in the pop-up window shown on the playback page in the first mode is triggered.

[0020] Optionally, the method further includes:

[0021] In response to the playback status of the media file on the playback page in the first mode satisfying a preset condition, display the pop-up window on the playback page, where the pop-up window includes information prompting to switch to the second mode and the third component; or,

[0022] In response to detecting a historical event of switching from the first mode to the second mode on the client, display the pop-up window on the playback page; or,

[0023] In response to detecting that the number of media files updated by the associated account bound to the client exceeds a first quantity threshold, display the pop-up window on the playback page; or,

[0024] In response to detecting a hot event and the number of media files related to the hot event exceeding a second quantity threshold, display the pop-up window on the playback page.

[0025] Optionally, the playback status of the video on the playback page in the first mode satisfying a preset condition includes:

[0026] In the first mode, the average playback duration of the media file is less than or equal to a preset duration threshold;

[0027] In the first mode, the complete playback rate of the media file is less than or equal to a preset complete playback rate threshold;

[0028] In the first mode, the fast cut rate of the media file is greater than or equal to a preset fast cut rate threshold, where the fast cut rate is the ratio of the media files with a playback duration less than or equal to the preset duration threshold to the played media files;

[0029] In the first mode, the number of media files that have undergone fast switching within a preset duration is greater than or equal to a preset fast switching quantity threshold, where the fast switching means that the playing duration is less than or equal to a preset duration threshold.

[0030] Optionally, after switching the client from the first mode to the second mode, it further includes:

[0031] Displaying a prompt message on the playing page, where the prompt message is used to prompt information about a second operation gesture for switching media files in the second mode.

[0032] Optionally, displaying a prompt message on the playing page includes:

[0033] After switching to the second mode, displaying the prompt message when playing the first media file on the playing page; or,

[0034] After switching to the second mode, if the first operation gesture is detected N times, then displaying the prompt message on the playing page, where N is a preset positive integer.

[0035] Optionally, the method further includes:

[0036] In the second mode, playing the media file on the playing page at a playing speed of a preset multiple; and / or,

[0037] In the second mode, playing a preview content of the media file on the playing page.

[0038] Optionally, when the media file is a video, playing a preview content of the media file on the playing page includes:

[0039] Playing a preview animated image of the video on the playing page, where the preview animated image is obtained by frame extraction of the video; or,

[0040] Playing a preview image set of the video on the playing page, where the preview image set is obtained by frame extraction of the video; or,

[0041] Playing a preview segment of the video on the playing page, where the preview segment is obtained by intercepting key segments of the video; or,

[0042] Playing the video on the playing page and displaying a summary text on the playing page, where the summary text is obtained by analyzing the video content.

[0043] Optionally, the method further includes:

[0044] Continuing to play the video after the preview animated image, preview image set or preview segment; or,

[0045] During the process of playing the preview animated image, preview image set or preview clip, in response to an event that a fourth component on the playing page is triggered, play the video on the playing page.

[0046] In a second aspect, a playing device for media files is provided, which is arranged on a user terminal. The device includes:

[0047] A page display unit, configured to switch the media file on the playing page in response to a first operation gesture when the user terminal is in a first mode;

[0048] An event listening unit, configured to listen for events on the playing page;

[0049] A mode switching unit, configured to switch the user terminal from the first mode to a second mode in response to an event of mode switching;

[0050] The page display unit is further configured to switch the media file being played on the playing page in response to a second operation gesture listened by the event listening unit in the second mode; wherein, the second operation gesture has a faster media file switching speed compared with the first operation gesture.

[0051] In a third aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of the method described in any item of the first aspect above are implemented.

[0052] In a fourth aspect, an electronic device is provided, including:

[0053] One or more processors; and

[0054] A memory associated with the one or more processors, where the memory is used to store program instructions. When the program instructions are read and executed by the one or more processors, the steps of the method described in any item of the first aspect above are executed.

[0055] In a fifth aspect, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps of the method described in any item of the first aspect above are implemented.

[0056] According to the specific embodiments provided by the present application, the present application discloses the following technical effects:

[0057] 1) Through a mode switching event, this application switches the user terminal from the first mode to the second mode, enabling the user to use a second operation gesture to switch the media file being played on the playback page. The second operation gesture has a faster media file switching speed than the first operation gesture in the first mode, allowing the user to switch media files more quickly for viewing, simplifying the user operation, and improving user efficiency.

[0058] 2) The first operation gesture involved in this application includes a sliding gesture along a preset direction, and the second operation gesture involved includes a click gesture. The second operation gesture is simpler than the first operation gesture, enabling the user to switch media files more quickly.

[0059] 3) In this application, different implementation methods are provided for the second operation gesture. A single click gesture on the playback page can be used to switch to playing the next media file on the playback page; a double click gesture on the playback page can be used to switch to playing the previous media file on the playback page. Alternatively, a single click gesture in the first area of the playback page can be used to switch to playing the next media file on the playback page; a single click gesture in the second area of the playback page can be used to switch to playing the previous media file on the playback page. The implementation methods of the second operation gesture are diverse, all of which can enable the user to switch media files in a faster way than the first operation gesture, simplifying the user operation and improving user efficiency.

[0060] 4) In this application, different scenarios are provided for the mode switching event, enabling the user terminal to be switched to the second mode when the first component on the configured interface in the first mode is triggered, or when the second component displayed on the playback page in the first mode is triggered, or when the third component included in the pop-up window displayed on the playback page in the first mode is triggered. Thus, in different scenarios, the user can conveniently switch the user terminal to the second mode according to their own needs.

[0061] 5) When playing a media file in the first mode in this application, a pop-up window can be displayed on the playback page to prompt the user with information about switching to the second mode and the third component, thereby helping the user understand and quickly switch the user terminal to the second mode through the third component.

[0062] 6) In this application, multiple scenarios are provided for the preset conditions for displaying a pop-up window on the playback page in the first mode. When the average playback duration of the media file on the playback page in the first mode is less than or equal to a preset duration threshold, or the complete playback rate of the media file is less than or equal to a preset complete playback rate threshold, or the fast cut rate of the media file is greater than or equal to a preset fast cut rate threshold, or the number of media files with fast cuts within a preset duration is greater than or equal to a preset fast cut number threshold, a pop-up window is displayed. Thus, the switching needs of the user can be automatically recognized and the user can be actively prompted to perform mode switching, with a higher degree of intelligence and a better user experience.

[0063] 7) In this application, after switching the client from the first mode to the second mode, it further includes displaying a prompt message on the playback page to prompt information about the second operation gesture for switching media files in the second mode, so that after the client is switched to the second mode, the user can timely learn about the second operation gesture for switching media files in the second mode, facilitating the user's operation.

[0064] 8) In this application, there are multiple scenarios for displaying the prompt message on the playback page in the second mode, including displaying the prompt message when playing the first media file on the playback page after switching the client to the second mode, or detecting N first operation gestures after switching the client to the second mode, and then displaying the prompt message on the playback page, where N is a preset positive integer. This enables the user to more timely understand the method of switching media files in the second mode, thus facilitating the user's operation and improving the user efficiency and experience.

[0065] 9) In this application, in addition to the change in the operation gesture for switching media files in the second mode, the media file can also be played at a multiple speed or the preview content of the media file can be played, enabling the user to quickly obtain the content of the media file and improving the user's efficiency and experience.

[0066] 10) In this application, the preview content of the video played in the second mode can adopt various forms such as preview animated pictures, preview picture sets, preview clips, and text summaries, enabling the user to quickly obtain the general content of the video and improving the user's efficiency and experience.

[0067] 11) In this application, after playing the preview animated picture, preview picture set, or preview clip, the video can be played continuously, or during the process of playing the preview animated picture, preview picture set, or preview clip, in response to the event that the fourth component on the playback page is triggered, the video is played on the playback page, so that when the user obtains the general content of the video and wants to watch the complete video, the complete video can be viewed, thus also meeting the user's viewing requirement for the complete video in the second mode and improving the user experience.

[0068] Of course, it is not necessary for any product implementing this application to simultaneously achieve all the above-mentioned advantages. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0070] Figure 1 It is a system architecture diagram applicable to the embodiments of the present application;

[0071] Figure 2 It is a flowchart of a method for playing a media file provided by the embodiments of the present application;

[0072] Figure 3 It is a schematic diagram for switching from the first mode to the second mode and switching the media file being played on the playback page in response to a second operation gesture provided by the embodiments of the present application;

[0073] Figure 4 It is a schematic diagram for displaying a prompt message in the second mode provided by the embodiments of the present application;

[0074] Figure 5a It is a schematic diagram for displaying an abstract text in the second mode provided by the embodiments of the present application;

[0075] Figure 5b It is a schematic diagram for displaying a preview segment in the second mode provided by the embodiments of the present application;

[0076] Figure 6 It is a schematic block diagram of a playback device for the media file provided by the embodiments of the present application;

[0077] Figure 7 It is a schematic block diagram of an electronic device provided by the embodiments of the present application. Detailed implementation manners

[0078] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0079] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms of "a", "the" and "said" used in the embodiments of the present invention and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.

[0080] It should be understood that the term " / and / " used herein is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.

[0081] Depending on the context, as used herein, the term "if" can be interpreted as "when" or "while" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detected (stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detected (stated condition or event)" or "in response to detecting (stated condition or event)".

[0082] In traditional implementations, when a user plays a media file on a playback page, the media file being played is usually switched by gestures such as swiping up and down or swiping left and right. This way of switching media files is relatively single and the user experience is poor.

[0083] In view of this, the present application provides a new idea. For the convenience of understanding the present application, the system architecture on which the present application is based will be described first. Figure 1 An exemplary system architecture to which embodiments of the present application can be applied is shown, as Figure 1 shown in, the system architecture may include: a user side, a terminal device, and a server side.

[0084] Among them, the user side is set on the terminal device. The user side involved in the embodiments of the present application may be a client running on the terminal device, a small program, or a Web application running through a browser, etc.

[0085] The terminal device may include, but is not limited to, a smart mobile terminal, a wearable device, a PC (Personal Computer), a smart home device, etc. Among them, the smart mobile device may include, for example, a mobile phone, a tablet computer, a laptop computer, a PDA (Personal Digital Assistant), an Internet car terminal, etc. The wearable device may include, for example, a smart watch, a smart glasses, a smart bracelet, a VR (Virtual Reality) device, an AR (Augmented Reality) device, a mixed reality device (i.e., a device that can support virtual reality and augmented reality), and so on. The smart home device may include, for example, a smart TV, a smart refrigerator with a display screen, etc.

[0086] The user side can interact with the server side through a network, request and obtain a media file from the server side and play it.

[0087] The server side can be a platform that provides video playback services. It can be a single server, a server group composed of multiple servers, or a cloud server. A cloud server, also known as a cloud computing server or a cloud host, is a host product in the cloud computing service system, which is used to solve the problems of high management difficulty and weak service scalability existing in traditional physical hosts and virtual private servers (VPS, Virtual Private Server) services.

[0088] Among them, the server side can send media files to the client side in a streaming transmission manner, and the client side plays the media file while downloading the media stream. It can also adopt a progressive sending method, that is, send the media file to the client side, and the client side plays the media file after downloading the entire video file. In addition, other methods can also be used to transmit media files to the client side, such as providing media files based on CDN (Content Delivery Network, content delivery network) and transmitting them to the client side.

[0089] As one of the implementable ways, the client side can request a media file from the server side, and the server side transmits the media file to the client side, and the client side performs playback processing of the media file in the manner provided by the embodiments of the present application.

[0090] It should be understood that Figure 1 the numbers of the client side, the terminal device, and the server side in

[0091] Figure 2 are only illustrative. According to the implementation requirements, there can be any number of client sides, terminal devices, and server sides. Figure 1 For the flowchart of the method for playing a media file provided by the embodiments of the present application, this method can be executed by the client side in the Figure 2 system shown. As shown in

[0092] Step 201: The client side is in the first mode, and in the first mode, it responds to the first operation gesture to switch the media file on the playback page.

[0093] Step 202: In response to the event of mode switching, switch the client side from the first mode to the second mode, and in the second mode, respond to the second operation gesture to switch the media file being played on the playback page; wherein, the second operation gesture has a faster media file switching speed compared to the first operation gesture.

[0094] It can be seen from the above process that the present application simplifies the user operation and improves the user efficiency by switching the client side from the first mode to the second mode, enabling the user to switch media files with a faster gesture.

[0095] The following describes in detail each step in the above process and the effects that can be further generated in combination with the embodiments. It should be noted that the "first", "second", etc. limitations involved in this disclosure do not have limitations in terms of size, order, quantity, etc., and are only used to distinguish by name. For example, "first mode" and "second mode" are used to distinguish two modes by name. Another example is that "first operation gesture" and "second operation gesture" are used to distinguish different operation gestures by name. And so on.

[0096] The following describes in detail step 201 above, that is, "the user terminal is in the first mode, and in the first mode, in response to the first operation gesture, the media file on the playback page is switched".

[0097] The media file involved in the embodiments of this application can be a video, an audio, or a picture set.

[0098] Among them, the video can be a long video or a short video. The distinction between long videos and short videos is mainly reflected in aspects such as the duration, content, and production method of the video. Among them, long videos usually have a length of dozens of minutes or more; the content is relatively complete and in-depth, and the content quality is relatively high; usually, it requires the joint efforts of professional photography, editing, sound effects and other teams, with a long production cycle and more resource investment; for example, movies, TV dramas, documentaries, etc. all belong to long videos. Short videos usually have a duration of within ten minutes or a few minutes; the content is usually relatively short, refined, and mainly focuses on highlighting a certain highlight or quickly conveying information; the production is also relatively simple, often shot with a mobile phone or other portable devices, and the post-editing is also relatively easy; short videos pay more attention to quick production and quick dissemination, emphasizing timeliness; for example, some funny videos, life record videos, advertising videos, short dramas, etc. all belong to short videos.

[0099] In addition, the above video can be a landscape video or a portrait video. A landscape video refers to a video in which the width of the video screen is greater than the height, which is more in line with the natural vision of the human eye and is more suitable for viewing on wide-screen devices (such as TVs, computers). A portrait video is a video in which the height of the video screen is greater than the width, which is more suitable for viewing on narrow-screen devices (such as smartphones, tablets) and is more popular in the fields of social media, short videos, etc.

[0100] The audio can be voice, music, environmental sound, etc. Voice refers to the sound made by humans, including speaking, singing, etc. Music refers to an art form composed of rhythm, melody, and harmony. Environmental sound refers to the sounds in nature or the artificial environment, such as the sound of wind, rain, traffic flow, etc.

[0101] The picture set refers to a collection including multiple pictures. The pictures in the picture set usually have similar themes or categories.

[0102] In the embodiments of the present application, "playing" refers to converting the content of a media file into images, sounds, or a combination of both that can be directly perceived by humans.

[0103] The above first mode can be a normal mode, a default mode, etc. For example, after the user opens the client, the first mode is entered by default. For example, if the user does not make additional settings to the client, the user is usually in the first mode.

[0104] As one possible implementation, the first operation gesture involved in the embodiments of the present application can be a sliding gesture along a preset direction.

[0105] For example, a gesture of swiping upward is used to switch to playing the next video on the playing page, and a gesture of swiping downward is used to switch to playing the previous video on the playing page.

[0106] For another example, a gesture of swiping left is used to switch to playing the next picture in the picture set on the playing page, and a gesture of swiping right is used to switch to playing the previous picture in the picture set on the playing page, etc.

[0107] The following describes in detail the above step 203, that is, "in response to an event of mode switching, switch the client from the first mode to the second mode, and in the second mode, in response to a second operation gesture, switch the media file being played on the playing page".

[0108] In the embodiments of the present application, after the client sends a mode switch to enter the second mode, what changes accordingly is the operation gesture for switching media files, that is, switch to using the second operation gesture to switch the media file being played. Compared with the first operation gesture, the second operation gesture has a faster media file switching speed, so that the user can switch and browse media files more quickly.

[0109] As one possible implementation, the second operation gesture involved in the embodiments of the present application can be a click gesture.

[0110] For example, a single click gesture is used to switch to playing the next media file on the playing page, and a double click gesture is used to switch to playing the previous media file on the playing page.

[0111] For another example, a single click gesture in the first area on the playing page is used to switch to playing the next media file, and a single click gesture in the second area on the playing page is used to switch to playing the previous media file, etc.

[0112] Taking the single click gesture and the double click gesture as examples, as Figure 3 shown in (e) to (f) in [reference], when the user clicks on the playing page in the second mode, the user can switch from the current video to the next video, that is, switch from video two to video three; as Figure 3As shown in (e) to (g), when the user double-clicks on the playback page in the second mode, the current video can be switched to the previous video, that is, from Video 2 to Video 1.

[0113] For the single-click gesture on the first area and the second area, the lower half of the playback page can be used as the first area, and the upper half of the playback page can be used as the second area; or the right half area of the playback page can be used as the first area, and the left half area can be used as the second area.

[0114] The events related to mode switching in the embodiments of the present application may include but are not limited to the following:

[0115] The first type of mode-switching event: The first component on the configuration interface is triggered in the first mode.

[0116] The user can enter the configuration interface in the first mode through a specific path. For example, when the user makes a long-press gesture on the playback page, the user terminal responds to the event triggered by the long-press gesture and displays the configuration interface. The configuration interface may include multiple components. The user can switch the user terminal from the first mode to the second mode by triggering the first component on the configuration interface in the first mode.

[0117] For example Figure 3 As shown in (a), the configuration interface is superimposed and displayed on the playback page of Video 2. The configuration interface contains components that can trigger multiple functions. Among them, the first component involved in the embodiments of the present application is displayed under the name of "Ultra-fast Browsing". By triggering the switch button of "Ultra-fast Browsing", the user can switch the user terminal to the second mode. For example Figure 3 As shown in (d).

[0118] The second type of mode-switching event: The second component displayed on the playback page in the first mode is triggered.

[0119] In this case, the second component can be displayed on the playback page in the first mode. The user can switch the user terminal from the first mode to the second mode by triggering the second component.

[0120] For example Figure 3 As shown in (b), the second component is displayed in the lower left corner of the playback page. By triggering the second component, the user can switch the user terminal from the first mode to the second mode. In addition to what is shown in the figure, the second component can also be displayed in other positions on the playback page, such as the lower right corner or the upper left corner, etc.

[0121] The third type of mode-switching event: The third component included in the pop-up window displayed on the playback page in the first mode is triggered.

[0122] During the process of playing a media file when the user terminal is in the first mode, a pop-up window can be popped up on the playing page. The pop-up window contains a third component, and the user can switch the user terminal from the first mode to the second mode by triggering the third component.

[0123] For example Figure 3 As shown in (c) below, a pop-up window is popped up on the playing page. The pop-up window shows information prompting to switch to the second mode, that is, asking the user whether to enter the fast browsing mode, and shows an option component on the pop-up window as the third component. If the user triggers the option corresponding to "Yes", the user terminal is switched from the first mode to the second mode.

[0124] As one of the achievable ways, the pop-up window involved in the embodiments of the present application can be shown on the playing page when the playing status of the media file on the playing page in the first mode meets a preset condition. That is, when the first mode is adopted, the playing status of the media file is detected, and it is identified whether the user has a need to switch to the second mode according to whether the playing status of the media file meets the preset condition. If so, a pop-up window is shown on the playing page.

[0125] Among them, the above preset conditions can include but are not limited to the following several types:

[0126] The first preset condition: When the first mode is adopted, the average playing duration of the media file is less than or equal to a preset duration threshold.

[0127] If the average playing duration of the media file is less than or equal to the preset duration threshold, it means that the user needs to frequently switch media files. Then, a pop-up window is used to prompt the user that the user terminal can be switched to the second mode with a more convenient operation gesture to meet the user's need for frequently switching media files and improve the user efficiency and experience.

[0128] Among them, the duration threshold can adopt an empirical value or an experimental value. For example, it is set to 10 seconds. When the average playing duration of the media file that the user watches or listens to is less than or equal to 10 seconds, it means that the user needs to frequently switch media files.

[0129] Among them, the duration threshold can be set personalized. According to different users' viewing or listening habits, the corresponding duration threshold is set for the user.

[0130] The second preset condition: When the first mode is adopted, the complete playing rate of the media file is less than or equal to a preset complete playing rate threshold.

[0131] If the complete playing rate of the media file is less than or equal to the preset complete playing rate threshold, it means that the user needs to frequently switch media files. Then, a pop-up window is used to prompt the user that the user terminal can be switched to the second mode with a more convenient operation gesture to meet the user's need for frequently switching media files and improve the user efficiency and experience.

[0132] The complete play rate threshold can be an empirical value or an experimental value. For example, it can be set to 20%. When the complete play rate of the media file watched or listened to by the user is less than or equal to 20%, it indicates that the user needs to frequently switch media files.

[0133] The complete play rate threshold can be set personalized. According to the viewing or listening habits of different users, the corresponding complete play rate threshold can be set for the user.

[0134] The third preset condition: when using the first mode, the fast-switching rate of the media file is greater than or equal to the preset fast-switching rate threshold.

[0135] Among them, the fast-switching rate can be defined as the ratio of the media files with a play duration less than or equal to the preset duration threshold to the played media files.

[0136] If the fast-switching rate of the media file is greater than or equal to the preset fast-switching rate threshold, it indicates that the user frequently and quickly switches media files without completely playing the media file. Then, a pop-up window is used to prompt the user that the client can be switched to the second mode with a more convenient operation gesture to meet the user's need for frequently switching media files and improve the user efficiency and experience.

[0137] Among them, the fast-switching rate threshold and the preset duration threshold for defining fast-switching can be empirical values or experimental values. For example, the fast-switching rate threshold can be preset to 70%, and the preset duration threshold for defining fast-switching can be defined as 5 seconds.

[0138] The fast-switching rate threshold and the duration threshold can be set personalized. According to the viewing or listening habits of different users, the corresponding fast-switching rate threshold and the preset duration threshold for defining fast-switching can be set for the user.

[0139] The fourth preset condition: the number of media files with fast-switching within the preset duration is greater than or equal to the preset fast-switching number threshold, and the fast-switching is that the play duration is less than or equal to the preset duration threshold.

[0140] If the number of media files with fast-switching within the preset duration is greater than or equal to the preset fast-switching number threshold, it also indicates that the user frequently and quickly switches media files without completely playing the media file. Then, a pop-up window is used to prompt the user that the client can be switched to the second mode with a more convenient operation gesture to meet the user's need for frequently switching media files and improve the user efficiency and experience.

[0141] Among them, the fast-switching number threshold and the duration threshold for defining fast-switching can be empirical values or experimental values. For example, the fast-switching number threshold can be preset to 10, and the preset duration threshold for defining fast-switching can be defined as 5 seconds.

[0142] The quick cut quantity threshold and the preset duration threshold for defining quick cuts can be set individually. According to the viewing or listening habits of different users, the corresponding quick cut rate threshold and the preset duration threshold for defining quick cuts can be set for the users.

[0143] The above several preset conditions can be combined in any form to form new preset conditions. For example, the following preset conditions can also be used: when adopting the first mode, the average playing duration of the media file is less than or equal to 10 seconds and the complete playing rate of the media file is less than or equal to 20%, or, when adopting the first mode, the quick cut rate of the media file is greater than or equal to 70% and the number of media files with quick cuts within the preset duration is greater than or equal to 10, and so on.

[0144] Here it should be noted that the client can pre-register a callback function or method for the event to be monitored. This function or method contains the logical code that needs to be executed in response to this event. Once this event is triggered, the client automatically calls the corresponding callback function or method. For example, a callback function is pre-registered for the first operation gesture, and this callback function triggers the switching of the media file on the playing page when the client is in the first mode. Another example is that a callback function is pre-registered for the second operation gesture, and this callback function triggers the switching of the media file on the playing page when the client is in the second mode. In the embodiments of the present application, the response to the event can be implemented in this way, and no further details will be given later.

[0145] As another implementable way, the pop-up window involved in the embodiments of the present application can be to display a pop-up window on the playing page when it is detected that there is a historical event of the client switching from the first mode to the second mode. For example, if the client has ever switched from the first mode to the second mode, then when the client is in the first mode this time, a pop-up window can be displayed to prompt, such as "Do you want to switch to the extreme browsing mode", and an option component can be displayed on the pop-up window as the third component. If the user triggers the option corresponding to "Yes", the client will be switched from the first mode to the second mode.

[0146] As yet another implementable way, the pop-up window involved in the embodiments of the present application can be to display a pop-up window on the playing page when it is detected that the number of media files updated by the associated account bound to the client exceeds the first quantity threshold. For example, if a large number of new videos are released by other accounts followed by the account bound to the client, a pop-up window can be displayed on the playing page to prompt, such as "A large number of videos have been released by friends. Do you want to switch to the extreme browsing mode", and an option component can be displayed on the pop-up window as the third component. If the user triggers the option corresponding to "Yes", the client will be switched from the first mode to the second mode.

[0147] As another implementable manner, the pop-up window involved in the embodiments of the present application may be to display a pop-up window on the playback page when it is detected that a hot event occurs and the number of media files related to the hot event exceeds the second quantity threshold. For example, if a hot event occurs on the same day and a large number of videos related to the hot event are published, a pop-up window may be displayed on the playback page to prompt, such as "A large number of hot videos are coming. Do you want to switch to the ultra-fast browsing mode?", and an option component may be displayed on the pop-up window as the third component. If the user triggers the option corresponding to "Yes", the user terminal is switched from the first mode to the second mode.

[0148] There may also be other implementable manners, which will not be enumerated one by one here.

[0149] Furthermore, after the user terminal is switched from the first mode to the second mode in the embodiments of the present application, a prompt message may also be displayed on the playback page, and the prompt message is used to prompt information about the second operation gesture for switching media files in the second mode.

[0150] For example Figure 4 As shown, the patterns of a single-click gesture and a double-click gesture may be displayed on the playback page in the second mode, and the functions of the single-click gesture and the double-click gesture are explained with the text "Single-click to switch to the next one" and "Double-click to switch to the previous one" beside the corresponding patterns.

[0151] Furthermore, after the user terminal is switched from the first mode to the second mode, the prompt message may be displayed when the first media file is played on the playback page, that is, after just entering the second mode, the prompt message is displayed to help the user understand the operation gesture for switching media files in the second mode.

[0152] In addition, in the second mode, the user may also use the first operation gesture to switch media files. For example, in the second mode, the user may use a single-click gesture or a double-click gesture to switch the played video, or may also use an upward swipe or a downward swipe gesture to switch the played video. If the user still uses the first operation gesture to switch media files multiple times after entering the second mode, it may be considered that the user is not aware of the new switching method of media files. Therefore, after detecting the first operation gesture N times in the second mode, a prompt message may be displayed on the playback page, where N is a preset positive integer.

[0153] In the embodiments of the present application, after the user terminal is switched from the first mode to the second mode, in addition to the operation gesture for switching media files changing, the way of playing media files may remain unchanged or may also change.

[0154] As one of the achievable ways, the media file can be played on the playback page at a preset multiple speed in the second mode. After the user switches the client to the second mode, the user often hopes to quickly browse the media file. Therefore, after entering the second mode, the media file can be played in a speeded-up manner. The above-mentioned preset multiple can be the default multiple of the system, such as double the playback speed; or it can be set by the user.

[0155] As another achievable way, the preview content of the media file can be played on the playback page in the second mode. This way is usually applied to media files of the video type. The preview content is usually the popular content or key content of the video type, which can help the user quickly understand the video.

[0156] In addition to the separate implementation of the above two ways, the above two ways can also be combined, that is, the preview content of the media file is played on the playback page in the second mode at a preset multiple speed, so that the user can more quickly understand the general content or the interesting part of the media file. This way is particularly suitable for videos with a long playback duration. If you want to understand the general content and basic structure of such videos, it is often necessary to extract a long preview content. Therefore, combining speeded-up playback on the basis of the preview content can further improve the preview efficiency on the basis of ensuring that the user understands the general content and basic structure.

[0157] Among them, the form of the above preview content can include but is not limited to the following:

[0158] The first form: playing the preview animated image of the video on the playback page.

[0159] Among them, the preview animated image is obtained by frame extraction of the video. For example, the video can be frame-extracted at regular intervals, and the extracted video frames are formed into a group of animated images, which can overview the entire video. Therefore, the embodiment of the present application is called the preview animated image.

[0160] The above-mentioned interval duration can adopt a preset fixed value. For example, for all videos, one frame is extracted every 1 second.

[0161] It can also determine the interval duration according to the length of the video. For example, for longer videos, a longer frame extraction interval is adopted, and for shorter videos, a shorter frame extraction interval is adopted.

[0162] It can also flexibly determine the frame extraction interval according to the feedback information of the content consumer for the video, where the feedback information can be such as likes, favorites, comments, forwards, etc. For example, in a video, a shorter frame extraction interval is adopted at the time position with a relatively large number of user likes, and a longer frame extraction interval is adopted at the event position with a relatively small number of user likes.

[0163] The second form: Play a preview picture set of the video on the playback page.

[0164] Among them, the preview picture set is obtained by extracting frames from the video. For example, frames can be extracted from the video at regular intervals, and the extracted video frames form a picture set, which can provide an overview of the entire video. Therefore, the picture set in the embodiments of the present application is called a preview picture set.

[0165] The above-mentioned interval duration can adopt a preset fixed value. For example, for all videos, one frame is extracted every 1 second.

[0166] It is also possible to determine the interval duration according to the length of the video. For example, for relatively long videos, a longer frame extraction interval is adopted, and for relatively short videos, a shorter frame extraction interval is adopted.

[0167] It is also possible to flexibly determine the frame extraction interval according to the feedback information of the content consumer for the video, where the feedback information can be such as likes, collections, comments, forwards, etc. For example, in a video, a shorter frame extraction interval is adopted at the time position corresponding to a relatively large number of user likes, and a longer frame extraction interval is adopted at the time position corresponding to a relatively small number of user likes.

[0168] The third form: Play a preview segment of the video on the playback page.

[0169] Among them, the preview segment is obtained by intercepting key segments of the video. In the embodiments of the present application, at least one segment interception position in the video can be determined according to the feedback information of the content consumer for the video; a video segment with a preset duration is intercepted at the segment interception position to form the preview segment. The feedback information can be such as likes, collections, comments, forwards, etc.

[0170] When determining at least one segment interception position in the video according to the feedback information of the content consumer for the video, the feedback information of the content consumer for the video can be counted to obtain the time position corresponding to the feedback peak; at least one is selected from the time positions corresponding to the feedback peak as the segment interception position. For example, the time position corresponding to the like peak is determined, and a segment of 3 to 5 seconds is intercepted near the time position corresponding to the like peak as the preview segment.

[0171] Among them, the above-mentioned feedback peak can be, for example, that the feedback quantity is greater than or equal to a preset feedback quantity threshold, etc.

[0172] The fourth form: Play the video on the playback page and display summary text on the playback page.

[0173] Among them, the summary text is obtained by analyzing the video content. For example, a large model is used to analyze the video content to generate the summary text of the video.

[0174] In this form, a complete video is played on the playback page, but when the video is played on the playback page, a summary text of the video can be displayed in a preset area. For example Figure 5a as shown in, the summary text "This video mainly tells the story of..." is displayed at the lower left corner of the video.

[0175] Furthermore, for the first, second, and third forms, only the preview gif, preview image set, or preview clip can be played in the second mode.

[0176] It is also possible to play the video after playing the preview gif, preview image set, or preview clip in the second mode, so that if the user is interested in the video through the preview gif, preview image set, or preview clip, they can continue to watch the video.

[0177] It is also possible to include a fourth component on the playback page, and the user can skip the playback of the preview content through this fourth component. That is, during the playback of the preview gif, preview image set, or preview clip, in response to the event that the fourth component on the playback page is triggered, the video is played on the playback page. For example Figure 5b as shown in, when playing the preview clip in the second mode, the playback page also includes a component "Skip Preview", and the user can skip the preview clip through this component, obtain the complete video from the server side and continue to play.

[0178] The above describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the specific order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0179] According to an embodiment of another aspect, a playback device for media files is provided. Figure 6 A schematic block diagram of the playback device for the media file according to an embodiment is shown, and the device is provided in Figure 1 the user terminal in the architecture shown. As Figure 6 shown, the device 600 includes: a page display unit 601, an event monitoring unit 602, and a mode switching unit 603. The main functions of each component unit are as follows:

[0180] The page display unit 601 is configured to switch the media file on the playback page in response to a first operation gesture when the user terminal is in the first mode.

[0181] The event monitoring unit 602 is configured to monitor events on the playback page.

[0182] The mode switching unit 603 is configured to switch the client from the first mode to the second mode in response to an event of mode switching.

[0183] The page display unit 601 may further be configured to, in the second mode, in response to the second operation gesture monitored by the event monitoring unit, switch the media file being played on the playback page; the second operation gesture has a faster media file switching speed compared to the first operation gesture.

[0184] As one possible implementation manner, the above-mentioned first operation gesture includes a sliding gesture along a preset direction; the second operation gesture includes a click gesture.

[0185] As one possible implementation manner, the page display unit 601 may be specifically configured to: in the second mode, in response to a single click gesture on the playback page, switch to playing the next media file on the playback page; in response to a double click gesture on the playback page, switch to playing the previous media file on the playback page; or,

[0186] in response to a single click gesture in the first area on the playback page, switch to playing the next media file on the playback page; in response to a single click gesture in the second area on the playback page, switch to playing the previous media file on the playback page.

[0187] As one possible implementation manner, the above-mentioned event of mode switching includes:

[0188] an event that the first component on the configuration interface is triggered in the first mode;

[0189] an event that the second component displayed on the playback page is triggered in the first mode;

[0190] an event that the third component included in the pop-up window displayed on the playback page is triggered in the first mode.

[0191] Furthermore, the page display unit 601 may further be configured to: in response to the playback status of the media file on the playback page in the first mode meeting a preset condition, display a pop-up window on the playback page, the pop-up window includes information prompting to switch to the second mode and a third component; or,

[0192] in response to detecting a historical event of the client switching from the first mode to the second mode, display a pop-up window on the playback page; or,

[0193] in response to detecting that the number of media files updated by the associated account bound to the client exceeds a first quantity threshold, display a pop-up window on the playback page; or,

[0194] In response to detecting that a hot event has occurred and the number of media files related to the hot event exceeds a second quantity threshold, a pop-up window is displayed on the playback page.

[0195] As one possible implementation, the above preset conditions may include:

[0196] In the first mode, the average playback duration of the media file is less than or equal to a preset duration threshold;

[0197] In the first mode, the complete playback rate of the media file is less than or equal to a preset complete playback rate threshold;

[0198] In the first mode, the fast-switching rate of the media file is greater than or equal to a preset fast-switching rate threshold;

[0199] In the first mode, the number of media files with fast switching within a preset duration is greater than or equal to a preset fast-switching quantity threshold.

[0200] Furthermore, the page display unit 601 may further be configured to: after switching the client from the first mode to the second mode, display a prompt message on the playback page, and the prompt message is used to prompt information about a second operation gesture for switching media files in the second mode.

[0201] As one possible implementation, when the above page display unit 601 displays a prompt message on the playback page, it may be configured to: display the prompt message when playing the first media file on the playback page after switching to the second mode; or,

[0202] If N first operation gestures are detected after switching to the second mode, a prompt message is displayed on the playback page, where N is a preset positive integer.

[0203] Furthermore, the page display unit 601 may further be configured to:

[0204] In the second mode, play the media file on the playback page at a playback speed of a preset multiple; and / or,

[0205] In the second mode, play the preview content of the media file on the playback page.

[0206] As one possible implementation, if the media file is a video, when the page display unit 601 plays the preview content of the media file on the playback page, it may be specifically configured to:

[0207] Play the preview animated image of the video on the playback page, and the preview animated image is obtained by frame extraction of the video; or,

[0208] Play the preview picture set of the video on the playback page, and the preview picture set is obtained by frame extraction of the video;

[0209] Play a preview clip of the video on the playback page, where the preview clip is obtained by intercepting key segments of the video; or,

[0210] Play the video on the playback page and display summary text on the playback page, where the summary text is obtained by analyzing the video content.

[0211] Furthermore, the page display unit 601 can further be configured to: continue playing the video after playing the preview GIF, preview image set, or preview clip; or, during the process of playing the preview GIF, preview image set, or preview clip, in response to an event that the fourth component on the playback page is triggered, play the video on the playback page.

[0212] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. The key point of each embodiment is to illustrate the differences from other embodiments. In particular, for the system or device embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description of the method embodiments. The system and device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative labor.

[0213] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties. And the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions, and corresponding operation entrances are provided for users to choose to authorize or refuse.

[0214] In addition, the embodiment of this application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the steps of the method described in any one of the foregoing method embodiments.

[0215] And an electronic device, including:

[0216] One or more processors; and

[0217] A memory associated with the one or more processors, the memory being configured to store program instructions that, when read and executed by the one or more processors, perform the steps of the method according to any one of the foregoing method embodiments.

[0218] The present application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method according to any one of the foregoing method embodiments.

[0219] Among them, Figure 7 An exemplary architecture of an electronic device is shown, which may specifically include a processor 710, a video display adapter 711, a disk drive 712, an input / output interface 713, a network interface 714, and a memory 720. The above-mentioned processor 710, video display adapter 711, disk drive 712, input / output interface 713, network interface 714, and the memory 720 can be communicatively connected through a communication bus 730.

[0220] Among them, the processor 710 can be implemented in the form of a general-purpose CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solution provided by the present application.

[0221] The memory 720 can be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 720 can store an operating system 721 for controlling the operation of the electronic device 700, and a basic input / output system (BIOS) 722 for controlling the low-level operations of the electronic device 700. In addition, a web browser 723, a data storage management system 724, and a media file playback device 600, etc., can also be stored. The above-mentioned media file playback device 600 can be the application program that specifically implements the foregoing steps in the embodiments of the present application. In short, when implementing the technical solution provided by the present application through software or firmware, the relevant program codes are stored in the memory 720 and called and executed by the processor 710.

[0222] The input / output interface 713 is used to connect to an input / output module to implement information input and output. The input / output module can be configured as a component in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Among them, the input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.

[0223] The network interface 714 is used to connect to a communication module (not shown in the figure) to enable communication interaction between this device and other devices. The communication module can achieve communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0224] The bus 730 includes a path for transmitting information between various components of the device (such as the processor 710, video display adapter 711, disk drive 712, input / output interface 713, network interface 714, and memory 720).

[0225] It should be noted that although the above device only shows the processor 710, video display adapter 711, disk drive 712, input / output interface 713, network interface 714, memory 720, bus 730, etc., in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary to implement the solution of this application, and does not necessarily include all the components shown in the figure.

[0226] From the description of the above embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer program product. This computer program product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.

[0227] The above has introduced the technical solution provided by this application in detail. Specific examples are used in this article to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to this application.

Claims

1. A method for playing a media file, applied to a user terminal, characterized in that: The method comprises: The user terminal is in a first mode, and in the first mode, a media file on a playback page is switched in response to a first operation gesture; In response to a mode switching event, switching the user terminal from the first mode to the second mode, and in response to a second operation gesture in the second mode switching the media file played on the play page; The second operation gesture has a faster media file switching speed than the first operation gesture.

2. The method according to claim 1, characterized in that: The first operation gesture includes a sliding gesture along a preset direction; The second operation gesture includes a click gesture.

3. The method according to claim 2, characterized in that In response to the second operation gesture in the second mode, switching the media file played on the play page includes: In response to a single-click gesture on the play page, switching to playing the next media file on the play page; in response to a double-click gesture on the play page, switching to playing the previous media file on the play page; or, In response to a single-click gesture in the first area on the play page, the play page switches to playing the next media file; in response to a single-click gesture in the second area on the play page, the play page switches to playing the previous media file.

4. The method according to claim 1, characterized in that: The mode switching events include: An event in which a first component on the configuration interface is triggered in the first mode; An event in which a second component displayed on the playing page is triggered in the first mode; An event in which a third component contained in a pop-up window displayed on the play page in the first mode is triggered.

5. The method according to claim 4, characterized in that The method further comprises: In response to the playback status of the media file on the playback page in the first mode satisfying a preset condition, displaying the pop-up window on the playback page, the pop-up window including information prompting to switch to the second mode and the third component; or, In response to detecting that there is a historical event of the user terminal switching from the first mode to the second mode, displaying the pop-up window on the playback page; or, In response to detecting that the number of media files updated by the associated account of the account bound to the user terminal exceeds a first number threshold, displaying the pop-up window on the playback page; or, In response to detecting that a hot event has occurred and the number of media files related to the hot event exceeds a second quantity threshold, the pop-up window is displayed on the playback page.

6. The method according to claim 5, characterized in that In the first mode, the playback status of the media file on the playback page meets the preset conditions including: In the first mode, the average playback duration of the media file is less than or equal to a preset duration threshold; In the first mode, the complete play rate of the media file is less than or equal to a preset complete play rate threshold; In the first mode, the fast switching rate of the media files is greater than or equal to a preset fast switching rate threshold, and the fast switching rate is the ratio of the media files whose playing duration is less than or equal to the preset duration threshold to the media files being played; In the first mode, the number of media files that are fast-cut within a preset duration is greater than or equal to a preset fast-cut quantity threshold, and the fast-cut is when the playback duration is less than or equal to the preset duration threshold.

7. The method according to claim 1, characterized in that After the user terminal is switched from the first mode to the second mode, the method further includes: Prompt information is displayed on the play page, where the prompt information is used to prompt information about a second operation gesture for switching media files in the second mode.

8. The method according to claim 7, characterized in that The prompt information displayed on the playback page includes: After switching to the second mode, displaying the prompt information when playing the first media file on the play page; or, If the first operation gesture is detected N times after switching to the second mode, prompt information is displayed on the playback page, where N is a preset positive integer.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: In the second mode, the media file is played at a preset multiple of the playing speed on the playing page; and / or, In the second mode, the preview content of the media file is played on the play page.

10. The method according to claim 9, characterized in that The media file is a video, and the preview content of the media file played on the play page includes: Playing a preview animated image of the video on the play page, wherein the preview animated image is obtained by extracting frames from the video; or Playing a preview set of the video on the play page, wherein the preview set is obtained by extracting frames from the video; or, Playing a preview segment of the video on the play page, wherein the preview segment is obtained by intercepting a key segment of the video; or, The video is played on the play page and a summary text is displayed on the play page, wherein the summary text is obtained by analyzing the video content.

11. The method according to claim 10, characterized in that The method further comprises: Play the video continuously after the preview animated image, preview gallery or preview clip; or, During the process of playing the preview animation, preview gallery or preview clip, in response to an event in which the fourth component on the play page is triggered, the video is played on the play page.

12. A media file playback device, arranged at a user end, characterized in that: The device comprises: The page display unit is configured to switch the media file on the playback page in response to a first operation gesture when the user terminal is in the first mode; An event monitoring unit is configured to monitor events on the playback page; a mode switching unit, configured to switch the user terminal from the first mode to the second mode in response to a mode switching event; The page display unit is further configured to switch the media file played on the playback page in response to the event monitoring unit monitoring the second operation gesture in the second mode; wherein the second operation gesture has a faster media file switching speed than the first operation gesture.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

14. An electronic device, characterized in that: include: one or more processors; as well as A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of the method described in any one of claims 1 to 11.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Web page browsing method for picture-containing contents

    CN105677908A

  • Method and device for recommending frequently asked question information

    CN106339380A

  • Display-content viewing method, mobile terminals and computer-readable storage medium

    CN107632761A

  • Intelligent help method and device and computer readable storage medium

    CN110162360A

  • PPT video bullet screen playing control method and device, terminal and medium

    CN111078070A