Media file playing processing method and device

By switching play mode on the media playback page and displaying the recommended media file sets of content publishers, the problems of complex user operations and poor viewing experience in the prior art are solved, and a more concise and coherent user experience is achieved.

CN119645287APending Publication Date: 2025-03-18BEIJING DAJIA INTERNET INFORMATION TECH CO LTD

Patent Information

Application Number
CN202411639284.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

Existing media playback technology is difficult to improve the user's coherent viewing experience and simplify user operations, especially on mobile terminals.

Method used

A method and device for playing a media file are provided, by switching a playback mode on a playback page, switching from a first mode to a second mode, displaying a recommended media file set of the same content publisher, and allowing a user to switch to play the recommended media file in the second mode.

Benefits of technology

It improves the user's coherent viewing experience in the second mode, simplifies user operations, enables users to switch and play recommended media files easily and quickly, reduces operational complexity, and improves the overall user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645287A_ABST
    Figure CN119645287A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a media file playing processing method and device, and relates to the technical field of internet application. The method comprises the following steps: playing a first media file on a playing page by adopting a first mode; in response to a first event for triggering mode switching, switching to play the first media file in a second mode on the playing page and displaying information of a recommended media file set, the recommended media file included in the recommended media file set and the first media file belonging to the same content publisher; in the second mode, in response to a second event for triggering to play a second media file, switching to play the second media file on the playing page and keeping to adopt the second mode, and the second media file is a recommended media file in the recommended media file set. According to the method and the device, the coherent watching experience of the user in the second mode can be improved, the recommended media files in the recommended media file set can be conveniently and quickly switched and played, and the user operation is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet application technology, and in particular to a method and device for playing and processing media files. Background Art

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

[0003] However, with the increasing popularity of media playback technology and the continuous improvement of user needs, how to improve users' consistent viewing experience and simplify user operations has become an urgent problem to be solved. Summary of the Invention

[0004] In view of this, the present application provides a method and device for playing and processing media files to improve the user's consistent viewing experience and simplify user operations.

[0005] This application provides the following solutions:

[0006] In a first aspect, a method for playing a media file is provided, the method comprising:

[0007] Playing a first media file in a first mode on a play page;

[0008] In response to a first event triggering a mode switch, switching to playing the first media file in a second mode on the playback page and displaying information about a recommended media file set, wherein the recommended media files in the recommended media file set belong to the same content publisher as the first media file, and at least one page element is changed in the second mode compared to the first mode;

[0009] In response to a second event triggering the playing of a second media file in the second mode, the playing page switches to playing the second media file and maintains the second mode, wherein the second media file is a recommended media file in the recommended media file set.

[0010] Optionally, the change of the at least one page element includes:

[0011] hiding, on the playback page, some or all page elements other than the image of the first media file;

[0012] and / or,

[0013] The content size of the first media file is changed.

[0014] Optionally, the first event includes: a two-finger zoom gesture, a triggering event of a first page element, or a first voice command.

[0015] Optionally, the information of displaying the recommended media file set includes:

[0016] Obtaining information about a recommended media file set of a content publisher of the first media file from a server;

[0017] Thumbnails of some recommended media files in the recommended media file set are displayed in a partial area above the view where the first media file is located on the play page.

[0018] Optionally, the partial area is a bottom area of ​​the view.

[0019] Optionally, the second event is an event of selecting a recommended media file from the information of the recommended media file set, and the selected recommended media file is the second media file; or

[0020] The second event is an event triggered by a sliding gesture acting on the first media file in a first direction, and the next recommended media file or the first recommended media file in the recommended media file set is the second media file; or

[0021] The second event is an event triggered by a second voice instruction, and the recommended media file corresponding to the second voice instruction in the recommended media file set is the second media file.

[0022] Optionally, the method further includes:

[0023] In response to a third event that triggers hiding of the recommended media file set, displaying of thumbnails of some of the recommended media files in the recommended media file set is canceled.

[0024] Optionally, the third event includes:

[0025] The thumbnails of some recommended media files in the recommended media file set are displayed for a preset period of time without any operation being detected, or,

[0026] An event is triggered when a second page element on the partial area is triggered, or

[0027] An event in which an area other than the partial area on the playback page is clicked.

[0028] Optionally, the information of displaying the recommended media file set includes:

[0029] Obtaining information about a recommended media file set of a content publisher of the first media file from a server;

[0030] On the play page, a plurality of card components are used to respectively carry the first media file and at least one recommended media file included in the recommended media file set, wherein the card component where the first media file is located is in a play state, and other card components are in a wait-to-play state.

[0031] Optionally, the card component in the playing state is fully displayed on the playing page, and the card component in the waiting-to-play state is partially displayed or hidden on the playing page.

[0032] Optionally, the second event is an event triggered by a sliding gesture in a second direction on the play page, and the next recommended media file or the first recommended media file in the recommended media file set is the second media file; or

[0033] The second event is an event in which the playback of the first media file ends; or,

[0034] The second event is an event triggered by a third voice command, and the recommended media file corresponding to the third voice command in the recommended media file set is the second media file.

[0035] Optionally, the recommended media files included in the recommended media file set are determined based on the number of interactions of a preset type corresponding to the media files published by the content publisher.

[0036] Optionally, playing the first media file in the first mode on the play page includes:

[0037] Displaying the media file list page of the content publisher;

[0038] In response to a fourth event that a first media file in the media file list page is selected, the first media file is played in a first mode on the play page.

[0039] In a second aspect, a device for playing and processing a media file is provided, the device comprising:

[0040] a page display unit configured to play a media file in a first mode on a play page;

[0041] An event monitoring unit, configured to monitor events on the playback page;

[0042] The page display unit is further configured to, in response to a first event triggering mode switching, switch to playing the first media file in a second mode on the playback page and display information of a recommended media file set, wherein the recommended media files included in the recommended media file set belong to the same content publisher as the first media file, and at least one page element is changed in the second mode compared to the first mode; and in response to a second event triggering playback of a second media file in the second mode, switch to playing the second media file on the playback page and maintain the second mode, wherein the second media file is a recommended media file in the recommended media file set.

[0043] In a third aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.

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

[0045] one or more processors; and

[0046] 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 the first aspects above.

[0047] In a fifth aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect.

[0048] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0049] 1) After switching from the first mode to the second mode on the playback page, this application can display information about the recommended media file set of the same content publisher on the playback page, allowing the user to directly switch to the second media file in the recommended media set for playback through a second event while remaining in the second mode. On the one hand, maintaining the media file switched for playback in the second mode improves the user's consistent viewing experience in the second mode. On the other hand, after switching to the second mode, the user can obtain the recommended media files of the current content publisher through the recommended media file set and quickly and easily switch to playing the recommended media file in the recommended media file set, i.e., the second media file. This simplifies user operations and improves the overall user experience.

[0050] 2) In the embodiment of the present application, the second mode may include hiding the page elements displayed on the playback page compared to the first mode, thereby eliminating interference with the viewing experience and obtaining a better immersive viewing experience; the size of the media file displayed on the playback page may also be changed, so that the user can zoom in and out of the screen content of the media file in the second mode to meet the user's more diverse viewing needs.

[0051] 3) This application can use a two-finger zoom gesture, triggering page elements or voice commands to switch to the second mode on the playback page. On the one hand, it is simple and fast, and on the other hand, it is more in line with the user's cognition and usage habits of operation gestures.

[0052] 4) This application can display thumbnails of some recommended media files in the recommended media file set in a partial area above the view where the first media file is located, so that users can quickly learn about the recommended media files of the content publisher and quickly switch to play one of the recommended media files.

[0053] 5) This application can display thumbnails of some recommended media files in the recommended media file set in the bottom area of ​​the view where the first media file is located, thereby reducing interference with the first media file and further improving the user's viewing experience.

[0054] 6) In the present application, when the user triggers switching to play a recommended media file in the recommended media file set in the second mode, the user can use gestures such as selection, sliding gestures in the first direction, or voice commands, which are simple and quick on the one hand, and more in line with the user's cognition and usage habits of operation gestures on the other hand.

[0055] 7) In this application, the thumbnail display of the recommended media file can be canceled when the third event is triggered, so that when the user does not need to select the recommended media file, the interference with the first media file being played can be avoided in time, further improving the user's viewing experience.

[0056] 8) This application uses multiple card components on the playback page to respectively carry the first media file and at least one recommended media file in the recommended media file set, and controls the first media file and the recommended media file to be in the playback state and the waiting state respectively. This method can facilitate the user to quickly switch from the first media file to the recommended media file in the second mode, and the playback and switching methods are more novel and coherent.

[0057] 9) In this application, the card components in the playing state are fully displayed on the playing page, and the card components in the waiting-to-play state are partially displayed or hidden on the playing interface. On the one hand, this ensures the playback effect of the media file being played and the user's viewing experience. On the other hand, it can also prompt the recommended media files to be played, so that the user can anticipate the media files to be switched, further improving the user experience.

[0058] 10) In this application, the switching of card components can be achieved through various methods such as sliding gestures in the second direction, automatic playback end or voice commands. On the one hand, it is simple and fast, and on the other hand, it is more in line with the user's cognition and usage habits of operation gestures.

[0059] 11) In this application, a set of recommended media files can be determined based on the number of interactions of a preset type corresponding to the media files published by the content publisher, thereby facilitating users to quickly access media files with high content quality or that are more popular, without having to waste a lot of time watching and searching one by one, thus saving users time and being more conducive to the promotion of high-quality content.

[0060] 12) When a user selects a media file from a content publisher's media file list page for playback, the processing method of this application is executed, thereby better meeting the user's need to view the content publisher's high-quality content, i.e., recommended media files, and further improving the user experience.

[0061] Of course, any product implementing the present application does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

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

[0064] Figure 2 Flowchart of a method for playing and processing media files provided in an embodiment of the present application;

[0065] Figure 3 A schematic diagram of triggering the playback of a first media file provided in an embodiment of the present application;

[0066] Figure 4 A schematic diagram of trigger mode switching provided in an embodiment of the present application;

[0067] Figure 5 Another schematic diagram of trigger mode switching provided in an embodiment of the present application;

[0068] Figure 6 A schematic diagram of triggering the playback of recommended videos provided in an embodiment of the present application;

[0069] Figure 7 Another schematic diagram of triggering the playback of a recommended video provided in an embodiment of the present application;

[0070] Figure 8 Another schematic diagram of triggering the playback of a recommended video provided in an embodiment of the present application;

[0071] Figure 9 A schematic block diagram of the playback processing device provided in an embodiment of the present application;

[0072] Figure 10 A schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0073] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0074] 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 "a", "an", "the" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0075] It should be understood that the term "and / or" as used herein is merely a description of the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0076] The word "if," as used herein, may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.

[0077] Existing traditional playback methods typically have a default playback mode, in which users play and switch between media files. For example, a user can play a short video in the default mode and use an upward swipe gesture to switch to the next media file. However, sometimes users have special viewing needs, such as wanting to watch a video immersively. In this case, a gesture such as pinch-to-zoom can be used to hide unnecessary elements on the playback interface, reducing distractions. However, if a user likes a video and wants to view other high-quality videos from the publisher, they must visit the publisher's homepage and play each video in chronological order, or select a video to play. To further immerse themselves in the video, users must use another gesture, such as pinch-to-zoom, to hide unnecessary elements on the playback interface. This creates a very long user interface, which is cumbersome and inefficient, while also disrupting the user's seamless viewing experience.

[0078] In view of this, the present application provides a new approach. To facilitate understanding of the present application, the system architecture on which the present application is based is first described. Figure 1 An exemplary system architecture to which the embodiments of the present application can be applied is shown. Figure 1 As shown in , the system architecture may include: a user end, a terminal device and a server end.

[0079] Among them, the user end is set on the terminal device. The user end involved in the embodiment of the present application can be a client running on the terminal device, a small program or a Web application running through a browser, etc.

[0080] Terminal devices may include, but are not limited to, smart mobile terminals, wearable devices, PCs (Personal Computers), smart home devices, and the like. Smart mobile devices may include, for example, mobile phones, tablets, laptops, PDAs (Personal Digital Assistants), and internet-connected car terminals. Wearable devices may include, for example, smart watches, smart glasses, smart bracelets, VR (Virtual Reality) devices, AR (Augmented Reality) devices, mixed reality devices (i.e., devices that support both virtual reality and augmented reality), and the like. Smart home devices may include, for example, smart TVs and smart refrigerators with displays.

[0081] The client can interact with the server through the network, request and obtain media files from the server and play them.

[0082] The server side can be a platform that provides video playback services. It can be a single server, a server cluster consisting of multiple servers, or even a cloud server. A cloud server, also known as a cloud computing server or cloud host, is a hosting product within the cloud computing service ecosystem. It addresses the management difficulties and poor scalability of traditional physical hosts and virtual private servers (VPS) services.

[0083] The server can use streaming to send media files to the client, which then plays the media file while downloading the media stream. A progressive delivery method can also be used, sending the media file to the client, which then downloads the entire video file before playing it. Other methods can also be used to transmit media files to the client, such as using a CDN (Content Delivery Network) to provide and transmit media files to the client.

[0084] As one of the possible implementation methods, the user end can request the media file from the server end, and the server end transmits the media file to the user end, and the user end uses the method provided in the embodiment of the present application to play the media file.

[0085] It should be understood that Figure 1 The number of user terminals, terminal devices and server terminals in the embodiment is merely illustrative. Any number of user terminals, terminal devices and server terminals may be provided according to implementation requirements.

[0086] Figure 2 This is a flow chart of a method for playing a media file provided in an embodiment of the present application. The method can be performed by Figure 1 The user side of the system shown is executed. Figure 2 As shown in , the method may include the following steps:

[0087] Step 201: Play a first media file in a first mode on a play page.

[0088] Step 203: In response to the first event triggering the mode switch, the second mode is used to play the first media file on the playback page and display information of a recommended media file set, where the recommended media files included in the recommended media file set belong to the same content publisher as the first media file, and at least one page element is changed in the second mode compared to the first mode.

[0089] Step 205: In response to a second event triggering the playing of a second media file in the second mode, the playing page switches to playing the second media file and maintains the second mode, wherein the second media file is a recommended media file in the recommended media file set.

[0090] As can be seen, after switching from the first mode to the second mode on the playback page, this application can display information about the recommended media file set of the same content publisher on the playback page, allowing the user to directly switch to the second media file in the recommended media set for playback through the second event while remaining in the second mode. On the one hand, maintaining the switching of the media files played in the second mode improves the user's consistent viewing experience in the second mode. On the other hand, after switching to the second mode, the user can obtain the recommended media files of the current content publisher through the recommended media file set and quickly and easily switch to playing the recommended media file in the recommended media file set, i.e., the second media file. This simplifies user operations and improves the overall user experience.

[0091] The following describes in detail each step of the above process and the effects that can be further produced in conjunction with the embodiments. It should be noted that the limitations such as "first" and "second" involved in this disclosure do not have restrictions on size, order, and quantity, and are only used to distinguish between the names. For example, "first mode" and "second mode" are used to distinguish between two modes in name. For another example, "first event", "second event", "third event" and the like are used to distinguish different events in name. For another example, "first media file", "second media file", "second media file" and the like are used to distinguish different media files in name. And so on.

[0092] First, the above step 201, ie, "playing the first media file in the first mode on the play page", is described in detail with reference to an embodiment.

[0093] The first mode involved in the embodiment of the present application may be a default mode of the user terminal, a normal play mode, etc. When a user opens the user terminal to play a media file, the first mode is used by default to play the media file.

[0094] The media files involved in the embodiments of the present application (including the first media file and the subsequent second media files, the second media files, etc.) can be videos, pictures in an album, etc.

[0095] Videos can be either long or short. The distinction between long and short videos is primarily based on their length and content. Long videos are typically more than a few minutes long; their content is relatively complete and in-depth, and their quality is relatively high. Examples include movies, TV series, and documentaries. Short videos are typically less than ten minutes long; their content is typically brief and concise, focusing on highlighting a specific point or quickly conveying information. Examples include funny videos, life-documentary videos, advertising videos, and short dramas.

[0096] In addition, the above videos can be either horizontal or vertical. Horizontal videos are videos where the width of the video is greater than its height, which better fits the natural field of view of the human eye and is more suitable for viewing on wide-screen devices (such as TVs and computers). Vertical videos are videos where the height of the video is greater than its width, which is more suitable for viewing on narrow-screen devices (such as smartphones and tablets) and is more popular in areas such as social media and short videos.

[0097] Images in an album can be either regular or long. Regular images are typically single, static images, allowing users to view their entire content without any additional interaction. Long images, on the other hand, are a special type of image, consisting of a series of images. Users must scroll or swipe to view the entire image. Long images typically combine multiple image elements to form a coherent content.

[0098] In addition, the above-mentioned first media file can be a media file whose playback is triggered by any means. For example, it can be a media file selected for playback from the homepage or a specific column of the media playback service, or it can be a media file that is played by default after entering the homepage of the media playback service, and so on. In other words, the method provided by the present application is applicable to various media playback scenarios. However, there is a special scenario, that is, after the user enters the media file list page (i.e., the work list page) of a content publisher, he selects one of the media files (i.e., the first media file) to play. In this scenario, it means that the user is interested in the content publisher and is more willing to obtain the recommended media files of the content publisher (which can be reflected as high-quality works). Therefore, in this scenario, the server displays the media file list page of the content publisher, which can be sent to the server by the server in response to the request of the user end; in response to the fourth event that the first media file in the media file list page is selected, the first media file is played in the first mode on the playback page.

[0099] The fourth event may be an event triggered by a user clicking on a thumbnail of a first media file in a media file list page. Figure 3 As shown, Figure 3 (a) is a video list page of a content publisher. In this video list page, the order of each video is usually sorted from new to old according to the release time. The user can set one or more videos as top videos for top display. If the user clicks on video 5 from the list page, then video 5 corresponds to the "first media file" involved in the embodiment of this application, and jumps to the following example: Figure 3 The play page shown in (b) plays video 5 in normal play mode.

[0100] It should be noted that the “playback” involved in the embodiments of the present application refers to converting the content of the media file into images, sounds, or a combination of the two that can be directly perceived by humans.

[0101] The above step 203 , namely “switching to playing the first media file in the second mode on the play page and displaying information of the recommended media file set in response to the first event triggering the mode switch”, is described in detail below with reference to an embodiment.

[0102] In the first mode, if a first event triggering a mode switch is detected, the second mode is switched to in response to the first event, i.e., the media file is played in the second mode on the playback page. In the embodiment of the present application, the second mode has at least one page element changed compared to the first mode.

[0103] It should be noted that the user terminal can pre-register a callback function or method for the event to be monitored. The function or method contains the logic code that needs to be executed in response to the event. Once the event is triggered, the user terminal automatically calls the corresponding callback function or method. For example, a callback function is pre-registered for the first event. The callback function triggers the user terminal to switch to the second mode, that is, to play the media file in the second mode on the playback page. The responses to events in the embodiments of the present application can all be implemented in this way, and will not be described in detail later.

[0104] The page elements involved in the embodiments of the present application generally refer to visual elements on the page, which may include text, icons, images, videos, components, and the like. A so-called component refers to an object obtained by simply encapsulating data and methods, and may also be referred to as a control. It may include buttons, input boxes, drop-down menus, dialog boxes, navigation bars, cards, interactive icons, and the like. Compared to the first mode, the changes in the page elements involved in the second mode of the embodiment of the present application mainly refer to changes in the style of the page elements, rather than changes in the content itself. The changes in style include: color changes, layout changes, visibility changes (i.e., whether hidden or visible), size changes, and the like. For example, the content of the video or image played on the playback page does not change, but the content size may change. For another example, the displayed content of the text does not change, but the text can be hidden. For another example, the content of the component does not change, but the component can be hidden or resized, and so on.

[0105] As one of the feasible ways, the second mode involved in the embodiment of the present application may be a "clear screen mode". The so-called "clear screen mode" refers to hiding as much as possible the page elements on the playback page except for the media content being played and necessary page elements, thereby helping users to focus more on watching the media content and avoid being distracted by other page elements. In other words, the second mode hides the page elements displayed on the playback page compared to the first mode. It should be noted that in the second mode, other page elements except the screen of the media file can be hidden, and all other page elements except the screen of the media file can also be hidden.

[0106] The hidden page elements in the second mode may include page elements for describing media files and / or page elements for inputting interactive information. The page elements for describing media files may be in the form of text, for example, and the page elements for inputting interactive information may be in the form of components, for example.

[0107] As another achievable method, the second mode involved in the embodiment of the present application may be a "zoom mode". The so-called "zoom mode" refers to changing the content size of the media file displayed on the playback page, which may include enlarging the content size of the media file displayed on the playback page, namely "zoom mode", or reducing the content size of the media file displayed on the playback page, namely "zoom mode". Taking the "zoom mode" as an example, the zoom mode refers to enlarging the size of the video content or the picture content, and presenting the enlarged local area, so that the user can view the details of a certain part of the video or picture more carefully and clearly. Taking the "zoom mode" as an example, the zoom mode refers to reducing the content size of the video screen or the picture, so that the video screen or picture displayed in the display area is the reduced global content, so that the user can view the details of a certain part of the video or picture more globally.

[0108] In addition, the second mode may also be a combination of the "zoom mode" and the "clear screen mode", such as the "zoom clear screen mode", which enlarges the display size of the media file while hiding the page elements displayed on the play page.

[0109] In an embodiment of the present application, the first event used may be an event triggered by, for example, a two-finger zoom gesture, a triggering of a first page element, or a first voice command (e.g., a "mode switch" command). The two-finger zoom gesture is a high-level gesture among interactive gestures, also known as a two-finger pinch gesture, which may include a two-finger zoom-in gesture and a two-finger zoom-out gesture. In addition to the two-finger zoom gesture, other gestures may also be used, such as a two-finger single-click gesture.

[0110] Taking the two-finger zoom gesture as an example, if the user wants to enter the "clear screen mode" while the playback page is playing a media file in the first mode, the user can switch to the second mode through the two-finger zoom gesture to play the media file in the "clear screen mode" on the playback page, that is, the user end responds to the two-finger zoom gesture on the playback page and hides some or all page elements other than the media file screen on the playback page.

[0111] It should also be noted that the touch gesture listener in the operating system, such as the setOnTouchListener in the Android operating system, will perform gesture recognition after listening to the user's touch event. If it is recognized as a two-finger zoom gesture, the first event will be triggered and the gesture information will be sent to the user end. The user end determines the zoom ratio of the media file based on the moving distance of the two fingers in the gesture information. The zoom ratio determines the zoom degree of the picture when playing the media file. The user end then uses the zoom ratio to transform the picture content, such as transforming and rendering the video image or picture. Taking zooming in as an example, it involves resampling and interpolating the pixel data of the video image or picture to generate an enlarged video image or picture. The enlarged video image or picture data is then passed to the GPU (graphics processing unit) for rendering in the media display area of ​​the playback page.

[0112] When the first media file is played in the second mode in this step, information of a recommended media file set is further displayed on the play page, wherein the recommended media file set includes one or more recommended media files, and these recommended media files and the currently played first media file belong to the same content publisher.

[0113] As one possible implementation, the recommended media files included in the recommended media file set can be determined based on the number of interactions of a preset type corresponding to the media files published by the content publisher. For example, based on the number of likes, comments, and favorites, popular or high-quality media files can be determined to form the recommended media file set. In other words, when a user views a second media file in the second mode, the user terminal displays the popular or high-quality media files of the content publisher corresponding to the second media file on the playback interface.

[0114] In addition to this implementation, other methods or a combination of other methods may be used to determine recommended media files, such as setting recommended media files by a content publisher, determining recommended media files by a specific content quality evaluation method, and so on.

[0115] The recommended media file set information is obtained by the user from the server. The recommended media file set can be displayed in a variety of ways, including but not limited to the following two:

[0116] The first method is to display thumbnails of some recommended media files in the recommended media file set in a partial area above the view where the first media file is located on the playback page.

[0117] This approach is equivalent to overlaying a specific area on top of the view containing the first media file to carry thumbnails of some of the media files in the recommended media file set. This area can typically be located at the bottom, top, or side, and is relatively small (e.g., no more than 20% of the total area of ​​the view) to avoid affecting viewing of the first media file.

[0118] In addition, due to the limited area of ​​the above-mentioned partial area, some recommended media files in the recommended media file set can be displayed, and the displayed recommended media files can be changed with the user's specific gesture on the recommended media set, such as a sliding gesture in a preset direction.

[0119] by Figure 4 For example, Figure 4 (a) shows that the first media file is played in the first mode on the play page. If the user uses a two-finger zoom gesture, the Figure 4 The playback page shown in (b) above uses the "clear screen mode" or the second mode to play the first media file. In the "clear screen mode", the page elements used to describe the video (i.e., the description information at the bottom of the page and the content of "@XXXXXXXX") and the page elements used to enter interactive information (i.e., the interactive area on the right side of the page, including components corresponding to functions such as likes, favorites, comments, and forwarding) are hidden. At the same time, the recommended video collection of the current content publisher is displayed in the bottom area, including recommended video 1, recommended video 2, recommended video 3, recommended video 4, etc. The user can change the recommended video displayed by sliding left or right in the bottom area.

[0120] Furthermore, in response to a third event that triggers hiding of the recommended media file set, the thumbnails of some of the recommended media files in the recommended media file set are canceled. The third event may include but is not limited to the following:

[0121] 1) Displaying thumbnails of some recommended media files in the recommended media file set for a preset time period without detecting any operation.

[0122] For example Figure 4 As shown in (c), if the Figure 4If the user does not operate within 5 seconds on the interface shown in (b), the display of the recommended media set information is canceled, and the first media file, video 5, is displayed in the "clear screen mode" or the second mode. In the "clear screen mode", options such as "exit" (e.g. Figure 4 (c) "×"), "pause" (e.g. Figure 4 (c) "||")), "Play next" (e.g. Figure 4 (c) ) and other components.

[0123] 2) An event in which a second page element on the aforementioned partial area is triggered.

[0124] like Figure 4 As shown in (b), if the user clicks on the “||” displayed in the area displaying the information of the recommended media file set, the display of the recommended media set information is canceled, and the first media file, namely, video 5, is displayed in the “clear screen mode”, namely the second mode.

[0125] 3) The event that other areas on the playback page are clicked except for the above areas.

[0126] For example, if the user taps Figure 4 In the playback page shown in (b), if the position of the video 5 in the view is outside the display area of ​​the recommended video collection, the display of the recommended media collection information is cancelled, and the first media file, namely, video 5, is displayed in the "clear screen mode", i.e., the second mode.

[0127] The second method: multiple card components are used on the play page to respectively carry the first media file and at least one recommended media file included in the recommended media file set, wherein the card component containing the first media file is in the play state, and the other card components are in the wait-to-play state.

[0128] In order to ensure the viewing effect of the card component in the playing state, the card component in the playing state can be fully displayed on the playing page, and the card component in the waiting-to-play state can be partially displayed or hidden on the playing page.

[0129] The so-called Card component is a UI element similar to a "card". As a container for presenting content, it can integrate multiple content forms and provide users with concise and intuitive content display.

[0130] Figure 5 (a) shows that the first media file, namely video 5, is played in the first mode on the play page. If the user uses a two-finger zoom gesture, the Figure 5In the play page shown in (b), video 5 is carried by a card component on the play page and is presented in the form of a "big card". In the card component, the "clear screen mode" or the second mode is used to play video 5. In the "clear screen mode", the page elements used to describe the video (i.e. the description information at the bottom of the page, the content of "@XXXXXXXX") and the page elements used to enter interactive information (i.e. the interactive area on the right side of the page, including components corresponding to functions such as likes, favorites, comments, and forwarding) are hidden. At the same time, other card components are also displayed on the play page, such as Figure 5 As shown in (b), a portion of another card component is also displayed, which contains one of the recommended videos in the current content publisher's recommended video collection. Other card components can also be hidden to carry other recommended videos in the current content publisher's recommended video collection. The card component containing the currently playing video 5 is fully displayed on the play page, while the card component containing the recommended video in the currently playing recommended video collection is only partially displayed on the play page.

[0131] The following describes in detail step 205, i.e., "in response to a second event triggering playback of a second media file in the second mode, switching to playback of the second media file on the playback page and maintaining the second mode, where the second media file is a recommended media file in the recommended media file set," with reference to an embodiment.

[0132] This step means that if the user triggers the playback of one of the recommended media files (referred to as the second media file in the embodiment of the present application) based on the information of the recommended media file set, the media file to be played is switched on the playback page, that is, the playback is switched from the first media file to the second media file, but the second mode is maintained after the switch.

[0133] In an embodiment of the present application, the second event can be triggered by a specific gesture, such as a swipe gesture in a preset direction, or by a specific voice command. The specific method may vary slightly depending on how the recommended media file set information is displayed. Each of these methods is described below.

[0134] If, in step 203, a portion of the area above the view where the first media file is located on the playback page is used to display thumbnails of some of the recommended media files in the recommended media file set, the second event may be, but is not limited to, the following:

[0135] 1) The second event is an event of selecting a recommended media file from the information of the recommended media file set, and the selected recommended media file is the second media file.

[0136] like Figure 6As shown in (a), if the user selects recommended video 2 from the recommended video set and clicks the thumbnail of recommended video 2, the user will be redirected to Figure 6 In the play page shown in (b), the recommended video 2 is played in "clear screen mode" on the play page.

[0137] 2) The second event is an event triggered by a sliding gesture applied to the first media file in the first direction, and the next recommended media file or the first recommended media file in the recommended media file set is the second media file.

[0138] like Figure 7 As shown in (a), if the user applies a left swipe gesture in the area where the first media file, namely video 5, is located, the user can jump to Figure 7 In the play page shown in (b), recommended video 1 is played in "clear screen mode" on the play page. Recommended video 1 is the first recommended video in the recommended video set.

[0139] In addition, if the first media file, video 5, is also one of the recommended videos, the user can slide left in the area where video 5 is located to jump to the next recommended video in the recommended video set by playing video 5 in "clear screen mode" on the playback page.

[0140] 3) The second event is an event triggered by a second voice command, and the recommended media file corresponding to the second voice command in the recommended media file set is the second media file.

[0141] The second voice command can be, for example, "Switch to play recommended videos," in which case the video will jump to the first recommended video in the recommended video set. It can also be, for example, "Switch to play recommended video 2," in which case the video will jump to the second recommended video in the recommended video set, and so on.

[0142] It should also be noted that if Figure 6 (a) or Figure 7 On the playback page shown in (a), if the user swipes up or down, the playback will switch to the next media file in the traditional way. The media file does not necessarily need to be from the current content publisher's recommended media collection. For example, the playback can switch to the next media file in the original playback order.

[0143] If multiple card components are used in step 203 to respectively carry the first media file and at least one recommended media file included in the recommended media file set, the second event may be, but is not limited to, the following:

[0144] 1) The second event is an event triggered by a sliding gesture in a second direction on the play page, and the next recommended media file or the first recommended media file in the recommended media file set is the second media file.

[0145] like Figure 8 As shown in (a), if the user applies an upward swipe gesture on the playback page, the Figure 8 In the play page shown in (b), recommended video 1 is playing, and its card component is fully displayed. Recommended video 1 is played in "clear screen mode" on the card component. Recommended video 2's card component is in the waiting state and is partially displayed on the play page.

[0146] 2) The second event is the event that the first media file is played back. The second event is the event that the first media file is played back.

[0147] like Figure 8 As shown in (a), if video 5 ends, it will automatically display Figure 8 In the play page shown in (b), recommended video 1 is playing, and its card component is fully displayed. Recommended video 1 is played in "clear screen mode" on the card component. Recommended video 2's card component is in the waiting state and is partially displayed on the play page.

[0148] 3) The second event is an event triggered by the third voice command, and the recommended media file corresponding to the third voice command in the recommended media file set is the second media file.

[0149] The third voice command may be, for example, "switch to next" or "next," which may fully display the card component containing the first recommended video in the recommended video set, and then use "clear screen mode" to play the first recommended video in that card component. If the first media file, Video 5, is also in the recommended video set, then the card component containing the next recommended video in the recommended video set after Video 5 is fully displayed, and then use "clear screen mode" to play the next recommended video in that card component.

[0150] In addition, in this way, the user can use the back button or exit the component (for example Figure 8 ), return to the first mode.

[0151] The foregoing description of this specification describes specific embodiments. 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 an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0152] According to another embodiment, a device for playing and processing a media file is provided. Figure 9 A schematic block diagram of a playback processing device according to an embodiment is shown. Figure 1 The user side of the architecture shown in Figure 1 is shown in Figure 2. Figure 9 As shown, the device 900 includes: a page display unit 901 and an event monitoring unit 902. The main functions of each component unit are as follows:

[0153] The page display unit 901 is configured to play the media file in a first mode on the play page.

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

[0155] The page display unit 901 is further configured to, in response to a first event triggering a mode switch, switch to playing the first media file in the second mode on the playback page and display information of a recommended media file set, where the recommended media files included in the recommended media file set belong to the same content publisher as the first media file, and at least one page element is changed in the second mode compared to the first mode; and in response to a second event triggering the playback of a second media file in the second mode, switch to playing the second media file on the playback page and maintain the second mode, where the second media file is a recommended media file in the recommended media file set.

[0156] As one possible implementation method, the change of the at least one page element includes:

[0157] Hide some or all page elements except the image of the first media file on the playback page; and / or,

[0158] The content size of the first media file is changed.

[0159] As one possible implementation method, the first event includes: a two-finger zoom gesture, triggering of a first page element, or an event triggered by a first voice command.

[0160] As one possible implementation method, when displaying the information of the recommended media file set, the page display unit 901 may be specifically configured as follows:

[0161] Obtaining information about a recommended media file set of a content publisher of the first media file from the server;

[0162] In a partial area above the view where the first media file is located on the playback page, thumbnails of some recommended media files in the recommended media file set are displayed.

[0163] The partial area is the bottom area of ​​the view where the first media file is located.

[0164] The second event is an event of selecting a recommended media file from the information of the recommended media file set, and the selected recommended media file is the second media file; or

[0165] The second event is an event triggered by a sliding gesture applied to the first media file in the first direction, and the next recommended media file or the first recommended media file in the recommended media file set is the second media file; or

[0166] The second event is an event triggered by the second voice command, and the recommended media file corresponding to the second voice command in the recommended media file set is the second media file.

[0167] Furthermore, the page display unit 901 may be further configured to cancel displaying thumbnails of some recommended media files in the recommended media file set in response to a third event that triggers hiding of the recommended media file set.

[0168] The third event mentioned above may include but is not limited to:

[0169] The thumbnails of some recommended media files in the recommended media file set are displayed for a preset period of time without any operation being detected, or,

[0170] The event of the second page element being triggered on the above partial area, or,

[0171] This event is triggered when areas other than the aforementioned areas on the playback page are clicked.

[0172] As another achievable manner, when displaying the information of the recommended media file set, the page display unit 901 may be specifically configured to: obtain the information of the recommended media file set of the content publisher of the first media file from the server; and use multiple card components on the playback page to respectively carry the first media file and at least one recommended media file included in the recommended media file set, wherein the card component containing the first media file is in a playing state, and the other card components are in a waiting-to-play state.

[0173] Among them, the card component in the playing state is fully displayed on the playing page, and the card component in the waiting-to-play state is partially displayed or hidden on the playing page.

[0174] The second event is triggered by a sliding gesture in the second direction on the play page, and the next recommended media file or the first recommended media file in the recommended media file set is the second media file; or

[0175] The second event is the event that the first media file is finished playing; or,

[0176] The second event is an event triggered by the third voice command, and the recommended media file corresponding to the third voice command in the recommended media file set is the second media file.

[0177] As one possible implementation method, the recommended media files included in the recommended media file set are determined based on the number of interactions of a preset type corresponding to the media files published by the content publisher.

[0178] As one of the possible implementations, when the page display unit 901 plays the first media file in the first mode on the playback page, it can be specifically configured to: display the media file list page of the above-mentioned content publisher; and in response to a fourth event in which the first media file in the media file list page is selected, play the first media file in the first mode on the playback page.

[0179] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system or device embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The system and device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on 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 expending creative work.

[0180] 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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0181] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of any one of the methods in the aforementioned method embodiments are implemented.

[0182] And an electronic device comprising:

[0183] one or more processors; and

[0184] 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 the aforementioned method embodiments.

[0185] The present application also provides a computer program product, comprising a computer program, which implements the steps of any one of the methods described in the aforementioned method embodiments when executed by a processor.

[0186] in, Figure 10 The electronic device architecture is shown as an example, and may include a processor 1010, a video display adapter 1011, a disk drive 1012, an input / output interface 1013, a network interface 1014, and a memory 1020. The processor 1010, the video display adapter 1011, the disk drive 1012, the input / output interface 1013, the network interface 1014, and the memory 1020 may be communicatively connected via a communication bus 1030.

[0187] Among them, the processor 1010 can be implemented by a general-purpose CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., to execute relevant programs to implement the technical solutions provided in this application.

[0188] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store an operating system 1021 for controlling the operation of the electronic device 1000, and a basic input and output system (BIOS) 1022 for controlling the low-level operations of the electronic device 1000. In addition, a web browser 1023, a data storage management system 1024, and a media file playback processing device 1025, etc. can also be stored. The above-mentioned media file playback processing device 1025 can be an application program that specifically implements the operations of the aforementioned steps in the embodiment of the present application. In short, when the technical solution provided by the present application is implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0189] The input / output interface 1013 is used to connect input / output modules to implement information input and output. The input / output modules can be configured as components within the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and output devices may include a display, speaker, vibrator, indicator light, etc.

[0190] The network interface 1014 is used to connect to a communication module (not shown) to enable communication between the device and other devices. The communication module can communicate via a wired method (such as USB, network cable, etc.) or a wireless method (such as mobile network, WIFI, Bluetooth, etc.).

[0191] The bus 1030 comprises a pathway for transmitting information between the various components of the device (eg, the processor 1010 , the video display adapter 1011 , the disk drive 1012 , the input / output interface 1013 , the network interface 1014 , and the memory 1020 ).

[0192] It should be noted that although the above device only shows the processor 1010, the video display adapter 1011, the disk drive 1012, the input / output interface 1013, the network interface 1014, the memory 1020, the bus 1030, etc., in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it will be understood by those skilled in the art that the above device may also include only the components necessary to implement the solution of the present application, and does not necessarily include all the components shown in the figure.

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

[0194] The above is a detailed introduction to the technical solutions provided by this application. Specific examples are used herein to illustrate the principles and implementation methods of this application. The description of the above embodiments is only intended to help understand the method and core concept of this application. At the same time, for those skilled in the art, based on the concept of this application, there may be changes in the specific implementation methods and application scope. In summary, the contents of this specification should not be understood as limiting this application.

Claims

1. A method for playing a media file, characterized in that: The method comprises: Playing a first media file in a first mode on a play page; In response to a first event triggering mode switching, switching to playing the first media file in a second mode on the playback page and displaying information of a recommended media file set, wherein the recommended media files included in the recommended media file set belong to the same content publisher as the first media file, and the second mode has at least one page element changed compared to the first mode; In response to a second event triggering the playing of a second media file in the second mode, the playing page switches to playing the second media file and maintains the second mode, wherein the second media file is a recommended media file in the recommended media file set.

2. The method according to claim 1, characterized in that The change of the at least one page element includes: hiding part or all of the page elements except the picture of the first media file on the playback page; and / or changing the content size of the first media file; The first event includes: a two-finger zoom gesture, an event triggered by triggering a first page element or a first voice command.

3. The method according to claim 1, characterized in that The information for displaying the recommended media file set includes: Acquire information of a recommended media file set of a content publisher of the first media file from a server; In a partial area above the view where the first media file is located on the play page, thumbnails of some recommended media files in the recommended media file set are displayed.

4. The method according to claim 1, characterized in that: The second event is an event of selecting a recommended media file from the information of the recommended media file set, and the selected recommended media file is the second media file; or The second event is an event triggered by a sliding gesture acting on the first media file in a first direction, and the next recommended media file or the first recommended media file in the recommended media file set is the second media file; or, The second event is an event triggered by a second voice instruction, and the recommended media file corresponding to the second voice instruction in the recommended media file set is the second media file.

5. The method according to claim 3, characterized in that: The method further comprises: In response to a third event that triggers hiding of the recommended media file set, displaying thumbnails of some of the recommended media files in the recommended media file set is canceled.

6. The method according to claim 5, characterized in that The third event includes: The thumbnails of some recommended media files in the recommended media file set are displayed for a preset time without any operation being detected, or, An event is triggered on a second page element on the partial area, or, An event in which other areas on the playing page except the partial area are clicked.

7. The method according to claim 1, characterized in that The information for displaying the recommended media file set includes: Acquire information of a recommended media file set of a content publisher of the first media file from a server; On the play page, a plurality of card components are used to respectively carry the first media file and at least one recommended media file included in the recommended media file set, wherein the card component where the first media file is located is in a play state, and other card components are in a wait-to-play state.

8. The method according to claim 7, characterized in that The card components in the playing state are fully displayed on the playing page, and the card components in the waiting-to-play state are partially displayed or hidden on the playing page.

9. The method according to claim 7, characterized in that: The second event is an event triggered by a sliding gesture in a second direction on the play page, and the next recommended media file or the first recommended media file in the recommended media file set is the second media file; or, The second event is an event that the first media file is finished playing, and the second event is an event that the first media file is finished playing; or, The second event is an event triggered by a third voice instruction, and the recommended media file corresponding to the third voice instruction in the recommended media file set is the second media file.

10. The method according to any one of claims 1 to 9, characterized in that The recommended media files included in the recommended media file set are determined according to the number of interactions of a preset type corresponding to the media files published by the content publisher.

11. The method according to any one of claims 1 to 9, characterized in that Playing the first media file in the first mode on the play page includes: Displaying a media file list page of the content publisher; In response to a fourth event that a first media file in the media file list page is selected, the first media file is played in a first mode on the play page.

12. A media file playback processing device, characterized in that: The device comprises: A page display unit, configured to play a media file in a first mode on a play page; An event monitoring unit, configured to monitor events on the playback page; The page display unit is further configured to, in response to a first event triggering mode switching, switch to playing the first media file in a second mode on the playback page and display information of a recommended media file set, wherein the recommended media files included in the recommended media file set belong to the same content publisher as the first media file, and there is a change in at least one page element in the second mode compared to the first mode; in response to a second event triggering the playing of the second media file in the second mode, switch to playing the second media file on the playback page and keep using the second mode, wherein the second media file is a recommended media file in the recommended media file set.

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

  • Multimedia playback control method and device, terminal, and storage medium

    CN109032738A

  • Multimedia information processing method and device, electronic equipment and storage medium

    CN114548037A

  • Media content playing method and device, equipment, storage medium and program product

    CN115474085A

  • Information pushing method and device, computer equipment and storage medium

    CN117135211A

  • Information display method and apparatus, and computer storage medium

    US20230385330A1

Cited By

  • Video recommendation method and device

    CN120238706A