Media file playing processing method and device
By displaying heat maps in media playback applications and allowing users to select target media files, the problem of users passively accepting recommendations is solved, achieving greater flexibility and a better viewing experience.
Patent Information
- Application Number
- CN202510734358.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2025-09-26
AI Technical Summary
Existing media playback applications cannot meet the needs of users to actively view media files, have poor flexibility, and users passively accept recommended media files.
When an event of switching media files is detected on the playback page and the preset conditions are met, it switches to displaying a heat map, which displays the heat value distribution of the second media file and allows the user to select the target media file for playback through the heat map.
It improves the user's viewing experience. Users can actively select popular content with greater flexibility, quickly browse and understand hot content, and meet personalized viewing needs.
Smart Images

Figure CN120705340A_ABST
Abstract
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 tablet computers have become widely used. For example, users can watch long videos, short videos, etc. through video playback applications running on mobile terminals.
[0003] Current media playback applications only recommend media files to users based on their interests, such as recommending videos that the user is interested in, recommending popular videos, etc. However, this method mostly requires users to passively accept and watch recommended media files, which has poor flexibility and cannot well meet the user's needs to actively view media files. Summary of the Invention
[0004] In view of this, the present application provides a method and device for playing and processing media files, so as to improve the flexibility of media file playing and better meet the needs of users to actively view videos.
[0005] This application provides the following solutions:
[0006] In a first aspect, a method for processing playback of a media file is provided, which is applied to a user terminal. The method comprises: playing a first media file on a playback page; in response to detecting an event of switching media files on the playback page and a preset condition being met, switching to displaying a heat map on the playback page, wherein the heat map is used to display a heat value distribution of a second media file using a first style, wherein the heat value is determined based on user interaction data corresponding to the second media file; and in response to a target media file triggering event based on the heat map, switching to playing a target media file on the playback page, wherein the target media file is at least one of the second media files.
[0007] Optionally, switching to displaying a heat map on the playback page includes: switching to displaying a heat map and a card component on the playback page, the heat map being used to display the heat value distribution of the second media files corresponding to the first region in a first style, the card component including a hot list, the hot list including at least list information corresponding to the first region, the list information corresponding to the first region being obtained by sorting the second media files corresponding to the first region according to the heat value.
[0008] Optionally, the target media file triggering event based on the heat map includes: an event in which the target media file in the second media file displayed on the hot list is triggered.
[0009] Optionally, the hot list also includes list information corresponding to a second region, where the list information corresponding to the second region is obtained by sorting the second media files corresponding to the second region according to heat values, and the second region is the region where the user terminal is currently located.
[0010] Optionally, the first region includes multiple third regions, and the method further includes: in response to detecting an operation of selecting the third region, switching the list information corresponding to the first region to the list information corresponding to the selected third region, where the list information corresponding to the third region is obtained by sorting the second media files corresponding to the third region according to the heat value.
[0011] Optionally, the method also includes: in response to detecting a zoom operation on the heat map, displaying the zoomed heat map on the playback page, the zoomed heat map including the target area; wherein the target area includes the area where the user terminal is currently located, or the default selected area, or the area targeted by the zoom operation in the heat map.
[0012] Optionally, displaying the zoomed heat map on the play page includes: in response to a magnification factor generated by the zoom operation being greater than or equal to a magnification factor threshold, displaying the zoomed heat map on the play page in a second style.
[0013] Optionally, switching to displaying a heat map on the playback page includes: displaying a quadrant area consisting of at least two coordinate axes on the playback page, the coordinate axes corresponding to the types of target indicators of the second media file; displaying the heat value distribution of the second media file in the quadrant area, wherein the heat value display position of the second media file in the heat value distribution is determined based on the value of the target indicator of the second media file.
[0014] Optionally, the target media file triggering event based on the heat map includes: an event in which a target position in a quadrant area is selected and a media playback component is triggered; the target media file comes from a candidate media file set, and the candidate media file set includes: a second media file corresponding to an indicator value within a preset distance range from the target position.
[0015] Optionally, after switching to the target media file for playback on the playback page, the method further comprises: in response to detecting an operation of switching the media file, switching to another second media file in the set of candidate media files for playback on the playback page.
[0016] Optionally, candidate indicator options are displayed on the playback page, and the target indicator is the indicator corresponding to the selected option among the candidate indicator options.
[0017] In a second aspect, a media file playback processing device is provided, which is applied to a user end. The device includes: a page display unit, configured to play a first media file on a playback page; an event monitoring unit, configured to monitor events on the playback page; the page display unit is further configured to, in response to detecting an event of switching media files on the playback page and a preset condition being met, switch to displaying a heat map on the playback page, wherein the heat map is used to display a heat value distribution of a second media file in a first style, and the heat value is determined based on user interaction data corresponding to the second media file; and, in response to a target media file triggering event based on the heat map, switch to playing the target media file on the playback page, wherein the target media file is at least one of the second media files.
[0018] In a third aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed, the steps of the method of the first aspect are implemented.
[0019] In a fourth aspect, an electronic device is provided, comprising: one or more processors; and a memory associated with the one or more processors, the memory being used to store program instructions, which, when read and executed by the one or more processors, execute the steps of the method of the first aspect above.
[0020] In a fifth aspect, a computer program product is provided, comprising a computer program, which implements the steps of the method of the first aspect when executed.
[0021] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0022] 1) This application detects a media file switching event on the playback page and satisfies pre-set conditions, then switches to displaying a heat map on the playback page. The heat map allows users to visually see the heat distribution of the second media file, and users can trigger the switch to the target media file on the playback page based on the heat map. Users are no longer restricted to passively accepting recommended media files; instead, they can actively select popular media files to watch based on the heat map. This provides greater flexibility, better meets users' needs for viewing hot content, and improves their viewing experience.
[0023] 2) This application uses a heat map on the playback page to display the heat value distribution of the second media files corresponding to the first region by default, so that users can intuitively see the heat value distribution of the second media files corresponding to the first region. At the same time, a card component including a hot list is displayed on the playback page, so that users can see the list information corresponding to the first region through the card component, thereby quickly browsing the hot content of the first region and improving the user's viewing experience.
[0024] 3) By displaying the hot list to the user, the application enables the user to select a target media file from the second media files displayed on the hot list to watch according to their needs, thereby quickly understanding the content of the target media file.
[0025] 4) This application also provides users with diversified list information corresponding to their current region through card components, so that users can quickly browse the hot content in the current region, further improving the user's viewing experience.
[0026] 5) By detecting the operation of selecting a third region included in the first region on the heat map, the present application can switch the list information corresponding to the first region to the list information corresponding to the selected third region, thereby allowing users to quickly understand the hot content of more fine-grained regions and further improve the user's viewing experience.
[0027] 6) This application also provides users with a zoom function for heat maps. By zooming in on a heat map, users can see the enlarged heat map on the playback page, thereby reducing visual redundant information and allowing users to quickly, intuitively, and focusedly view the detailed heat value distribution of the second media file corresponding to the target area. By zooming out on a heat map, users can see the reduced heat map on the playback page, thereby quickly and intuitively viewing the overall heat value distribution of the second media file corresponding to the target area. Therefore, it can meet the user's personalized viewing needs and enhance the user's flexibility in understanding overall hot content and local hot content.
[0028] 7) When the magnification of the heat map is greater than or equal to the magnification threshold, the present application displays the heat map in a style different from that before the magnification, which can accurately display the detailed heat value distribution of the second media files corresponding to the local area in the heat map, thereby helping users quickly establish the corresponding relationship between the distribution of each second media file and the actual geographical location. Therefore, users can quickly select the target media file according to their needs to understand the hot content corresponding to the target media file, thereby improving the user's viewing experience.
[0029] 8) The heat map displayed on the playback page of this application may also be a quadrant region composed of coordinate axes corresponding to at least two indicator types, and the heat value distribution of the second media file is displayed in the quadrant region, thereby helping users to filter the content of the second media file according to their needs. Users can quickly select the target media file of interest based on the position of the quadrant region and the heat value distribution of the second media file displayed in each quadrant region, thereby understanding the hot content corresponding to the target media file and improving the user's viewing experience.
[0030] 9) This application uses a heat map of the visual partitions to allow users to select a target location in the quadrant area according to their needs. If the user triggers the media playback component, the user can watch the target media file corresponding to the target location to quickly understand the content of the target media file.
[0031] 10) In this application, when a user selects a target location in a quadrant area according to their needs, a second media file corresponding to an indicator value within a preset distance range from the target location can be provided to the user as a candidate media file set. If the user triggers the media playback component, the target media file corresponding to the target location in the candidate media file set can be viewed, and other second media files in the candidate media file set can be viewed through a media file switching operation, thereby providing the user with more targeted and richer media files and improving the user's viewing experience.
[0032] 11) This application provides users with multiple candidate indicator options on the playback page. Users can select indicator options according to their needs to adjust the heat value distribution of the second media file displayed in the heat map, thereby providing users with more diversified media files, meeting users' viewing needs for diversified media files corresponding to multiple indicators, and improving users' viewing experience.
[0033] 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
[0034] 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.
[0035] Figure 1 A schematic diagram of a system architecture applicable to embodiments of the present application;
[0036] Figure 2 Flowchart of a method for playing and processing media files provided in an embodiment of the present application;
[0037] Figure 3 A schematic diagram of various stages of a playback page provided in an embodiment of the present application;
[0038] Figure 4 A schematic diagram of various stages of another playback page provided in an embodiment of the present application;
[0039] Figure 5 A schematic block diagram of a media file playback processing device provided in an embodiment of the present application;
[0040] Figure 6 A schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] 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.
[0042] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.
[0043] 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.
[0044] 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.
[0045] 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 long and short videos through video playback applications running on mobile terminals. Taking short video playback applications as an example, vertical screen swiping up and down is currently the core product form of the short video industry. Users swipe up or down to view video content recommended by the system algorithm. However, the system algorithm only recommends video content based on user interests, such as recommending videos of interest to the user or popular videos. This method mostly requires users to passively accept and watch recommended videos, which is inflexible and cannot effectively meet the user's needs for active video viewing.
[0046] 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 This is a schematic diagram of the system architecture applicable to the embodiments of the present application, such as Figure 1 As shown in , the system architecture may include: a user end, a terminal device and a server end.
[0047] 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.
[0048] 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.
[0049] The client can interact with the server through the network, request and obtain media files from the server and play them.
[0050] The server side can be a platform that provides media 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 host 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] It should be noted that the terms "first" and "second" in this disclosure do not restrict size, order, or quantity, but are merely used to distinguish between names. For example, "first media file" and "second media file" are used to distinguish between two media files, and "first region," "second region," and "third region" are used to distinguish between three regions, and so on.
[0055] 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:
[0056] Step 201: Play a first media file on a play page.
[0057] Step 202: In response to detecting an event of switching media files on the playback page and a preset condition being met, switch to displaying a heat map on the playback page, where the heat map is used to display the heat value distribution of the second media file in a first style, where the heat value is determined based on user interaction data corresponding to the second media file.
[0058] Step 203: In response to a target media file triggering event based on the heat map, switching to playing the target media file on the play page, where the target media file is at least one of the second media files.
[0059] As can be seen from the above process, this application detects the event of switching media files on the playback page and satisfies the preset conditions, and switches to displaying a heat map on the playback page. The user can intuitively see the heat value distribution of the second media file through the heat map, and the user can trigger the switch to play the target media file on the playback page based on the heat map. Users are no longer restricted to passively accepting recommended media files, but can actively select popular media files to watch based on the heat map. This is more flexible, better meets the user's demand for watching popular content, and improves the user's viewing experience.
[0060] The following describes in detail the steps in the above process and the effects that can be further produced in conjunction with the embodiments.
[0061] First, the above step 201, namely “playing the first media file on the play page”, is described in detail with reference to an embodiment.
[0062] The media files involved in the embodiments of this application can be long videos, short videos, pictures in a gallery, articles, or a combination of these. Long videos and short videos can be horizontal or vertical. Pictures in a gallery can be regular pictures or long pictures, and can be static or animated.
[0063] The first media file may be a media file recommended to the user based on the interests, preferences, search history, etc. of the user bound to the user terminal. The user may trigger an event of switching media files by, for example, a single-finger sliding gesture in a preset direction, the completion of playback of the currently playing first media file (for example, if the user terminal is set to an automatic continuous playback state, the next first media file will be automatically played after the playback of one first media file is completed), triggering a switch control on the playback page, or inputting a voice command (for example, a voice command such as "play next"), etc. In response to detecting the event of switching media files on the playback page, the user terminal switches the first media file being played on the playback page.
[0064] Figure 3 This is a schematic diagram of each stage of a playback page provided in an embodiment of the present application. Figure 3 , Figure 3 (a) shows playing the first media file on the play page.
[0065] 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.
[0066] Next, in conjunction with the embodiments, the above-mentioned step 202, namely, "in response to detecting an event of switching media files on the playback page and a preset condition being met, switching to displaying a heat map on the playback page, where the heat map is used to display the heat value distribution of the second media file in a first style, and the heat value is determined based on user interaction data corresponding to the second media file", and step 203, namely, "in response to a target media file triggering event based on the heat map, switching to playing the target media file on the playback page, where the target media file is at least one of the second media files" are described in detail.
[0067] Heatmaps are visualization tools that use color depth to visually display data distribution, density, or frequency. They are often used to present spatial data, user behavior, data associations, and other information. Their core principle is to use color gradients (such as from cool to warm, light to dark, etc.) to map the strength of data. For example, darker colors (such as red and orange) indicate higher data density or values, while lighter colors (such as blue and green) indicate lower data density or values.
[0068] In an embodiment of the present application, the heat value of the second media file can be used to measure the dissemination heat, user attention and influence of the second media file. The heat value of the second media file can be determined by the user interaction data corresponding to the second media file, wherein the user interaction data can be used to characterize the data corresponding to the user's interactive behavior on the second media file, for example, the sharing volume, comment volume, collection volume, download volume, complete play rate, repeat play rate, play time, etc. corresponding to the interactive behavior such as sharing, liking, commenting, collecting, downloading, complete play, and repeat play. In addition, the heat value of the second media file can also be determined by the content characteristics of the second media file, for example, the content quality of the second media file, the content timeliness, tag features, creator features (such as the number of fans, historical media file heat value), etc. The heat value of the second media file can also be determined by the release time of the second media file. For example, the longer the release time, the lower the heat value.
[0069] Events for switching media files may include: events triggered by a single-finger sliding gesture in a preset direction, events when the currently playing first media file ends (for example, the user terminal is set to automatic continuous playback, and the next first media file is automatically played after the playback of one first media file ends), events when a switching control on the playback page is triggered, or events triggered by voice commands (for example, voice commands such as "play next"), etc.
[0070] The preset conditions may include: a preset time period has passed since the last heat map display, a preset time period has passed since the user launched the user terminal, a change in the user's current location, detection of the user's target behavior (for example, the user has liked, collected, commented on, forwarded, searched for a hot video, etc.), the number of plays of the first media file exceeds a preset value, etc.
[0071] The second media file may be a media file corresponding to hot content in a certain area, or may be a media file corresponding to a type of a preset indicator.
[0072] In one embodiment, switching to displaying a heat map on a playback page includes: switching to displaying a heat map and a card component on the playback page, the heat map being used to display the heat value distribution of the second media files corresponding to the first region in a first style, the card component including a hot list, the hot list including at least list information corresponding to the first region, the list information corresponding to the first region being obtained by sorting the second media files corresponding to the first region according to the heat value.
[0073] When playing the first media file on the playback page, if an event of switching media files is detected on the playback page and the preset conditions are met, the playback page can be switched to displaying the heat map and card components of the first region, so that the user can intuitively see the heat value distribution of the second media file corresponding to the first region and the hot list of the first region. The hot list displays the hot content of the first region. Therefore, the user can quickly browse the hot content of the first region through the list information corresponding to the first region, thereby satisfying the user's need to actively select hot content to watch and improving the user's viewing experience.
[0074] The first style may be a map area showing the first region, and corresponding positions in the map area are filled with a color corresponding to the thermal value of the second media file corresponding to the position.
[0075] refer to Figure 3 , Figure 3 (b) shows the heat map and card components of the first region displayed on the play page. Figure 3 In (b), a map of the first region is displayed in a display area of the playback page, and the map uses multiple blocks of different colors to display the heat value distribution of the second media file, wherein the color of the block corresponds to the heat value, the position of the block corresponds to the release location of the second media file, and the correspondence between different colors and heat values is displayed through a legend. A card component is displayed in another display area of the playback page, and the card component displays the first region list. For example, if the first region is the whole country, the "national list" is displayed. Under the first region list, the list information of the first region can be further displayed according to the list type. For example, the first region's hot list, entertainment list, social list, useful list, challenge list and other list types can be displayed. The list information of each list type is sorted according to the heat value of the second media file of the list type in the first region. The list information ranked first indicates that the second media file corresponding to the list type has the highest heat value.
[0076] In addition, a second media file that meets a preset rule can be pre-screened and displayed at the top to increase the probability of the user viewing the second media file. The preset rule may include that the content score of the second media file is higher than a score threshold, or the number of views is greater than or equal to a view threshold.
[0077] The list information includes text content and image content. The text content is used to describe the theme of the corresponding second media file, and the image content is used to display a thumbnail of the corresponding second media file. Term tags, such as "explosive," "boiling," "hot," "new," etc., can be added to each list information to quickly convey the real-time status of the corresponding second media file to the user. Sorting tags, such as "1," "2," "3," etc., can also be added to each list information to indicate the ranking of the thermal value of the corresponding second media file.
[0078] In an optional embodiment, the first region is an entire region. When the first media file is played on the playback page, if an event of switching the media file is detected on the playback page and a preset condition is met, a heat map of the first region can be displayed by default on the playback page, and a hot list of the first region can be displayed by default on the card component.
[0079] Optionally, the card assembly may be a special-shaped card, for example, a special-shaped card is recommended.
[0080] In one embodiment, the target media file triggering event based on the heat map includes: an event in which the target media file is triggered in the second media file displayed in the hot list, for example, an event in which a user clicks on the target media file, an event in which a user selects the target media file through a voice command, etc.
[0081] Optionally, users can swipe up and down to view the list information corresponding to the current list type, and can swipe left and right to switch the list information corresponding to the currently displayed list type, or click on a list type to view the list information corresponding to that list type. Users can view the list information and select the content they want to watch, for example, by clicking on a target media file in the second media file displayed on the hot list to switch to playing the target media file on the playback page. Figure 3 If the user clicks Figure 3 An entry in the hot list displayed by the card component in (b) can be displayed Figure 3 The play page shown in (c) is Figure 3 Middle (c) shows playing the target media file, ie, the second media file corresponding to the entry, on the play page.
[0082] Optionally, the user can also Figure 3On the playback page shown in (c), an operation of switching media files is performed, for example, an upward swipe operation or a downward swipe operation, to switch to playing other media files with content similar to the target media file on the playback page, or to switch to playing a second media file corresponding to an adjacent entry, so as to further enrich the media files watched by the user, thereby meeting the user's needs for watching diversified content and improving the user's viewing experience.
[0083] In one embodiment, the first region includes multiple third regions, and the method further includes: in response to detecting an operation of selecting the third region, switching the list information corresponding to the first region to the list information corresponding to the selected third region, where the list information corresponding to the third region is obtained by sorting the second media files corresponding to the third region according to the heat value.
[0084] Among them, the first region can be the whole country, and the third region can be the second-level region of the next level; the first region can also be the second-level region, and the third region can be the third-level region of the next level, etc. Figure 3 If the user is Figure 3 If a third area (e.g., area A) is clicked in the first area shown in (b), Figure 3 As shown in (d), the list information corresponding to the first region is switched to the list information corresponding to the third region on the card component of the playback page. For example, the "National List" is switched to the "Region A List", and accordingly, the list information corresponding to the "National List" is also switched to the list information corresponding to the "Region A List".
[0085] Optionally, the third region selected by the user may be marked by displaying a white dot on the third region, so that the user can quickly locate the region selected by the user.
[0086] In an optional implementation, the user may select a target media file from the second media files corresponding to the list information of the third region to watch according to his / her needs, thereby satisfying the user's needs for watching diversified content and improving the user's viewing experience.
[0087] In one embodiment, the hot list also includes list information corresponding to a second region. The list information corresponding to the second region is obtained by sorting the second media files corresponding to the second region according to the heat value. The second region is the region where the user terminal is currently located.
[0088] refer to Figure 3In (b), the card component displays the first region list and the second region list. For example, if the first region is the whole country and the second region is the same city (that is, the region where the user is currently located), the "National List" and "Same City List" are displayed. When the list information corresponding to the first region is displayed on the card component, the list information of the second region is hidden and the list of the second region is displayed in gray, for example, the "Same City List" is displayed in gray. In an optional embodiment, if the first region includes the second region, the user's current region can be marked with a black solid dot on the map of the first region, so that the user can quickly locate their current location.
[0089] refer to Figure 3 , Figure 3 (e) shows a heat map and card component displaying the second region on the playback page. If an event triggers the display of the second region's chart information, for example, a user clicks "City Chart" on the card component, the chart information corresponding to the first region is hidden and displayed, and the chart information for the second region is displayed according to the chart type. The heat map automatically switches to displaying only the second region's map, and the heat value distribution of the second media file in the second region is displayed using the second style.
[0090] The second style may be to display a map area of a local area, and display a dot of a color corresponding to the thermal value of the second media file corresponding to the location at a corresponding location in the map area of the local area.
[0091] In an optional implementation, the user may select a target media file to watch from the second media files corresponding to the list information of the second region according to his / her needs.
[0092] In an optional embodiment, the first region may or may not include the second region. If the first region includes the second region, then when the user clicks "Same City List," the map boundary of the second region in the heat map will be highlighted, or the heat map may automatically zoom in to display the heat map of the second region. If the first region does not include the second region, then when the user clicks "Same City List," the heat map may automatically switch to display the heat value distribution of the second media file corresponding to the second region on the map of the second region.
[0093] In one embodiment, the method further includes: in response to detecting a zoom operation on a heat map, displaying the zoomed heat map on the playback page, wherein the zoomed heat map includes a target area; wherein the target area may include but is not limited to: the area where the user terminal is currently located, or the default selected area (for example, the default selection is for the area in the middle position), or the area targeted by the zoom operation in the heat map (for example, when the user performs a zoom operation using a two-finger zoom-in gesture or a two-finger zoom-out gesture, the position where the gesture initially contacts the screen corresponds to the area in the heat map).
[0094] Zooming in and out of the heat map allows users to flexibly view the heat value distribution of second media files from different perspectives. For example, zooming out to display a national map allows users to observe the overall heat value distribution of second media files across the country from a global perspective, allowing users to quickly distinguish areas with high-heat value second media files from areas with low-heat value second media files. Zooming in on the heat map to display a map of a specific region allows users to observe the detailed heat value distribution of second media files in that area, allowing users to accurately locate areas with high-heat value second media files or areas with low-heat value second media files.
[0095] refer to Figure 3 , Figure 3 (f) shows a magnified heat map displayed on the playback page. A user zooms in on a target region within the first region, and the magnified heat map including the target region is displayed on the playback page. The user zooms out of the target region, and the playback page returns to the heat map of the first region. Alternatively, the corresponding magnification or reduction factor can be determined based on the user's operation, thereby displaying the heat map's zooming in or out process in real time.
[0096] Optionally, the zoom operation can be implemented through a two-finger sliding gesture to zoom in or out, through a zoom-out control or a zoom-in control on the play page, or through a user's voice control command.
[0097] In one embodiment, displaying the zoomed heat map on the play page includes: in response to a magnification factor generated by the zoom operation being greater than or equal to a magnification factor threshold, displaying the zoomed heat map on the play page in a second style.
[0098] If the magnification generated by the zoom operation is greater than or equal to the magnification threshold, it can be said that the user wants to view the detailed heat value distribution of the second media file in a certain local area. Therefore, the magnified heat map can be displayed in the second style. Figure 3In (g), dots of different colors are used to display the calorific value distribution of the second media files in the local area. Each dot represents a second media file, and the different colors of the dots represent different calorific values. The position of the dots indicates the publication location of the corresponding second media file. The different colors and positions of the dots allow users to intuitively understand the calorific value distribution of the second media files in the local area, and users can select the corresponding second media file to view.
[0099] In an optional embodiment, the user can click on each dot. If a triggering event of a certain dot is detected, the second media file corresponding to the dot can be highlighted on the card component. For example, the second media file corresponding to the dot can be pinned to the top of the card component and highlighted, or the second media file corresponding to the dot can be automatically scrolled to and highlighted, so that the user can quickly understand the content of the second media file corresponding to each dot, thereby facilitating the user to select the second media file they want to watch.
[0100] In another embodiment, switching to displaying a heat map on the playback page includes: displaying a quadrant area consisting of at least two coordinate axes on the playback page, the coordinate axes corresponding to the types of target indicators of the second media file; displaying the heat value distribution of the second media file in the quadrant area, wherein the heat value display position of the second media file in the heat value distribution is determined based on the value of the target indicator of the second media file.
[0101] When playing the first media file on the playback page, if an event of switching media files is detected on the playback page and the preset conditions are met, the playback page can be switched to a heat map corresponding to the indicator of the second media file. The heat map includes a quadrant area composed of at least two coordinate axes, and the heat value distribution of the second media file is displayed in the quadrant area. The indicators of the second media file may include types such as usefulness, fun, amount of information, release time, amount of barrage, and innovation. The target indicator can be selected from these types of indicators. Each coordinate axis can correspond to a type of indicator, and the coordinate value of the coordinate axis is the value of the corresponding indicator of the second media file on the coordinate axis. Through the heat map, users can intuitively understand the heat value distribution of the second media files corresponding to different indicators, and thus select the second media files with corresponding indicators according to their own needs, so as to meet the user's needs for watching diversified content and improve the user's viewing experience.
[0102] Optionally, the second media files corresponding to the heat map are media files within a preset time period, for example, new hot content in the past three days, new hot content in the past seven days, and so on.
[0103] Figure 4 This is a schematic diagram of the various stages of another playback page provided in an embodiment of the present application. Figure 4 , Figure 4 (a) shows the first media file being played on the play page. Figure 4 (b) shows the heat map corresponding to the indicator of the second media file displayed on the play page in the past three days. Figure 4 In (b), candidate indicator options are displayed on the playback page, including "useful / interesting", "amount of information", "release time", "amount of barrage", "degree of innovation", etc. You can swipe left and right to view the candidate indicator options that are not displayed on the playback page. The target indicator is the indicator corresponding to the option selected in the candidate indicator options. The target indicator defaults to the indicator corresponding to the first two options, namely "useful / interesting" and "amount of information". The two coordinate axes of "useful / interesting" and "amount of information" constitute four quadrants, and the thermal value distribution of the second media file is displayed in these four quadrants. The indicator corresponding to the selected option is highlighted. Optionally, the user can also select three, four, or more indicators to meet the user's needs to watch more diversified content.
[0104] In addition, Figure 4 In (b), each quadrant area also displays a circular area, and the color change of the circular area indicates the selection status of the second media file in the corresponding quadrant area. That is, if the color of the circular area is highlighted, it means that the second media file corresponding to the target position in the corresponding quadrant area is selected.
[0105] In one embodiment, a target media file triggering event based on a heat map includes: an event in which a target position in a quadrant area is selected and a media playback component is triggered; the target media file is from a candidate media file set, and the candidate media file set includes: a second media file corresponding to an indicator value within a preset distance range from the target position.
[0106] The target index value of the second media file can be mapped to the coordinate value of the coordinate axis, thereby determining the thermal value display position of the second media file within the thermal value distribution of the quadrant area. Therefore, by selecting different positions in the quadrant area, second media files corresponding to different index values can be screened, thereby forming a single column internal stream at the corresponding position for user viewing. To further diversify the content of the second media files viewed by users and reduce the need for users to repeatedly select adjacent positions in the quadrant area to view second media files, second media files corresponding to index values within a preset distance range from the target position can be selected as candidate media files, and then the target media file can be selected from the candidate media files for playback.
[0107] exist Figure 4In (b), the playback page also displays media playback components, such as the "Enter to Watch" component. If the user does not select any target location in the quadrant area, the "Enter to Watch" component is grayed out, indicating that the "Enter to Watch" component will not be triggered. If the user selects a target location in the quadrant area, for example, by clicking on the target location, or by clicking and sliding in the quadrant area to select the target location, etc., the media playback page will be displayed as follows: Figure 4 In the play page shown in (c), the circular area of the quadrant corresponding to the target position is highlighted, and the target position is marked by a white dot. At the same time, the "Enter to Watch" component is highlighted. If the user triggers the "Enter to Watch" component, the user enters the Figure 4 The play page shown in (d) is used to play the target media file.
[0108] In an optional embodiment, Figure 4 The playback pages of (b) and (c) also display a "Not Interested" component, and the user can switch to playing other first media files on the playback page by triggering the "Not Interested" control.
[0109] In an optional embodiment, Figure 4 The playback pages in (b) and (c) also display a prompt of "Swipe up to continue watching" to prompt the user that they can switch to playing other first media files on the playback page by swiping up.
[0110] In one embodiment, after switching to playing the target media file on the play page, the method further includes: in response to detecting an operation of switching the media file, switching to playing another second media file in the candidate media file set on the play page.
[0111] By selecting a target position in the quadrant area, the second media files corresponding to the indicator values within a preset distance range from the target position can be filtered, thereby forming a corresponding single-column internal stream, which is a collection of second media files corresponding to the indicator values within the preset distance range. Therefore, the target media file currently being played can be switched by switching media files, such as swiping up, swiping down, triggering a media file switching control, switching media files by voice control, etc. Figure 4 Swipe up on the play page shown in (d) to enter the Figure 4 The play page shown in (e) plays other second media files in the candidate media file set. Therefore, by simply switching media files, the user can watch more hot content, thereby improving the user's viewing experience.
[0112] As one of the possible implementation methods, if the user switches to the last second media file in the set of candidate media files on the playback page by switching the media files, the preset distance range can be automatically expanded to obtain more second media files, and the second media files obtained again can be automatically played.
[0113] As another achievable method, if the user switches to the last second media file in the candidate media file set on the play page by switching the media file, the user can return to the play page. Figure 4 The player selects the playback page shown in (b) above, and reselects the target position on the playback page to view the second media file in the candidate media file set corresponding to the newly selected target position, or reselects the target indicator on the playback page to update the heat map, thereby selecting a new target position in the updated heat map to view the second media file in the candidate media file set corresponding to the new target position.
[0114] In one embodiment, after switching to playing the target media file among the second media files on the play page, the method further includes: in response to detecting an operation of exiting the play of the target media file, switching to displaying the heat map on the play page.
[0115] refer to Figure 3 In (c), the playback page also displays an exit control (e.g., the "<" component in the upper left corner of the figure). By triggering this exit control, the user switches back to the heat map shown in (b) on the playback page, allowing the user to select another second media file to watch. Optionally, if the user clicks on a target media file from the list in (d) or (f) to watch it, then if the user triggers the exit control while the target media file is playing on the playback page, the user returns to the heat map in (d) or (f), thereby improving the smoothness of user operation.
[0116] refer to Figure 4 In (d), an exit control is also displayed on the playback page. By triggering the exit control, the user switches back to displaying the heat map as in (b) on the playback page, so that the user can select other second media files corresponding to the heat map for viewing.
[0117] 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.
[0118] According to another embodiment, a device for playing and processing a media file is provided. Figure 5 A schematic block diagram of a media file playback processing device provided in an embodiment of the present application, wherein the device is provided at Figure 1 The user side of the architecture shown in Figure 1 is shown in Figure 2. Figure 5 As shown, the device 500 mainly includes: a page display unit 501 and an event monitoring unit 502. The main functions of each component unit are as follows:
[0119] The page display unit 501 is configured to play a first media file on a play page.
[0120] The event monitoring unit 502 is configured to monitor events on the playback page.
[0121] The page display unit 501 is further configured to, in response to detecting an event of switching media files on the playback page and a preset condition being met, switch to displaying a heat map on the playback page, where the heat map is used to display the heat value distribution of the second media file in a first style, where the heat value is determined based on user interaction data corresponding to the second media file; and in response to a target media file triggering event based on the heat map, switch to playing the target media file on the playback page, where the target media file is at least one of the second media files.
[0122] As one of the feasible methods, the page display unit 501 is further configured to switch to displaying a heat map and a card component on the playback page. The heat map is used to display the heat value distribution of the second media files corresponding to the first region in a first style. The card component includes a hot list. The hot list includes at least list information corresponding to the first region. The list information corresponding to the first region is obtained by sorting the second media files corresponding to the first region according to the heat value.
[0123] As one possible implementation method, the target media file triggering event based on the heat map includes: an event in which the target media file in the second media file displayed on the hot list is triggered.
[0124] As one of the feasible ways, the hot list also includes list information corresponding to the second region. The list information corresponding to the second region is obtained by sorting the second media files corresponding to the second region according to the heat value. The second region is the region where the user terminal is currently located.
[0125] As one of the possible implementation methods, the first region includes multiple third regions, and the page display unit 501 is further configured to switch the list information corresponding to the first region to the list information corresponding to the selected third region in response to detecting an operation of selecting the third region, where the list information corresponding to the third region is obtained by sorting the second media files corresponding to the third region according to the heat value.
[0126] As one of the possible implementation methods, the page display unit 501 is further configured to display the zoomed heat map on the playback page in response to detecting a zoom operation on the heat map, and the zoomed heat map includes the target area; wherein the target area includes the area where the user terminal is currently located, or the default selected area, or the area targeted by the zoom operation in the heat map.
[0127] As one achievable manner, the page display unit 501 is further configured to display the enlarged heat map in a second style on the playback page in response to the magnification factor generated by the zoom operation being greater than or equal to a magnification factor threshold.
[0128] As one of the possible implementation methods, the page display unit 501 is further configured to display a quadrant area consisting of at least two coordinate axes on the playback page, where the coordinate axes correspond to the types of the target indicators of the second media file; and display the thermal value distribution of the second media file in the quadrant area, wherein the thermal value display position of the second media file in the thermal value distribution is determined based on the value of the target indicator of the second media file.
[0129] As one of the possible implementation methods, the target media file triggering event based on the heat map includes: an event in which a target position in a quadrant area is selected and a media playback component is triggered; the target media file comes from a candidate media file set, and the candidate media file set includes: a second media file corresponding to an indicator value within a preset distance range from the target position.
[0130] As one achievable manner, the page display unit 501 is further configured to, after switching to the playback target media file on the playback page, switch to another second media file in the playback candidate media file set on the playback page in response to detecting an operation of switching the media file.
[0131] As one of the possible implementation methods, candidate indicator options are displayed on the playback page, and the target indicator is the indicator corresponding to the option selected from the candidate indicator options.
[0132] 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.
[0133] 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.
[0134] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed, the steps of any one of the methods in the aforementioned method embodiments are implemented.
[0135] And an electronic device comprising:
[0136] one or more processors; and
[0137] 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.
[0138] The present application also provides a computer program product, comprising a computer program, which implements the steps of any one of the methods in the aforementioned method embodiments when executed.
[0139] in, Figure 6The schematic block diagram of an electronic device provided in an embodiment of the present application may include a processor 610, a video display adapter 611, a disk drive 612, an input / output interface 613, a network interface 614, and a memory 620. The processor 610, the video display adapter 611, the disk drive 612, the input / output interface 613, the network interface 614, and the memory 620 may be communicatively connected via a communication bus 630. The input / output interface 613 may also be referred to as an I / O interface 613.
[0140] The processor 610 may be implemented as a general-purpose CPU, a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and may be used to execute relevant programs to implement the technical solutions provided in this application.
[0141] The memory 620 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 620 can store an operating system 621 for controlling the operation of the electronic device 600, and a basic input and output system (BIOS) 622 for controlling the low-level operations of the electronic device 600. In addition, a web browser 623, a data storage management system 624, and a media file playback processing device 500, etc. can also be stored. The above-mentioned media file playback processing device 500 can be an application program that specifically implements 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 620 and is called and executed by the processor 610.
[0142] The input / output interface 613 is used to connect to 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.
[0143] The network interface 614 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.).
[0144] The bus 630 comprises a pathway for transmitting information between the various components of the device (eg, the processor 610 , the video display adapter 611 , the disk drive 612 , the input / output interface 613 , the network interface 614 , and the memory 620 ).
[0145] It should be noted that although the above device only shows a processor 610, a video display adapter 611, a disk drive 612, an input / output interface 613, a network interface 614, a memory 620, a bus 630, etc., in a specific implementation, 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.
[0146] 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.
[0147] 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, applied to a user terminal, characterized in that: The method comprises: Play the first media file on the play page; In response to detecting an event of switching media files on the playback page and a preset condition being met, switching to displaying a heat map on the playback page, the heat map being used to display a heat value distribution of the second media file in a first format, the heat value being determined based on user interaction data corresponding to the second media file; In response to a target media file triggering event based on the heat map, the target media file is switched to be played on the play page, where the target media file is at least one of the second media files.
2. The method according to claim 1, characterized in that The step of switching to displaying a heat map on the playback page includes: Switch to displaying a heat map and a card component on the playback page, wherein the heat map is used to display the heat value distribution of the second media files corresponding to the first region in a first style, and the card component includes a hot list, which at least includes list information corresponding to the first region. The list information corresponding to the first region is obtained by sorting the second media files corresponding to the first region according to the heat value.
3. The method according to claim 2, characterized in that The target media file triggering event based on the heat map includes: an event in which a target media file in the second media file displayed on the hot list is triggered.
4. The method according to claim 2, characterized in that The hot list also includes list information corresponding to a second region, where the list information corresponding to the second region is obtained by sorting the second media files corresponding to the second region according to heat values, and the second region is the region where the user terminal is currently located.
5. The method according to claim 2, characterized in that The first region includes a plurality of third regions, and the method further includes: In response to detecting an operation of selecting a third region, the list information corresponding to the first region is switched to list information corresponding to the selected third region, where the list information corresponding to the third region is obtained by sorting the second media files corresponding to the third region according to heat value.
6. The method according to any one of claims 2 to 5, characterized in that The method further comprises: In response to detecting a zoom operation on the heat map, the zoomed heat map is displayed on the playback page, and the zoomed heat map includes a target area; wherein the target area includes the area where the user terminal is currently located, or the default selected area, or the area targeted by the zoom operation in the heat map.
7. The method according to claim 6, characterized in that The zoomed heat map displayed on the playback page includes: In response to the magnification factor generated by the zoom operation being greater than or equal to a magnification factor threshold, the magnified heat map is displayed on the play page in a second style.
8. The method according to claim 1, characterized in that The step of switching to displaying a heat map on the playback page includes: Displaying a quadrant area consisting of at least two coordinate axes on the playback page, wherein the coordinate axes correspond to types of target indicators of the second media file; The calorific value distribution of the second media file is displayed in the quadrant area, wherein the calorific value display position of the second media file in the calorific value distribution is determined according to the value of the target indicator of the second media file.
9. The method according to claim 8, characterized in that The target media file triggering event based on the heat map includes: an event in which a target position in the quadrant area is selected and a media playback component is triggered; The target media file is from a candidate media file set, and the candidate media file set includes: second media files corresponding to indicator values within a preset distance range from the target location.
10. The method according to claim 9, characterized in that After switching to playing the target media file on the play page, the method further includes: In response to detecting an operation of switching media files, switching to playing other second media files in the candidate media file set on the play page.
11. The method according to any one of claims 8 to 10, characterized in that The play page displays candidate indicator options, and the target indicator is an indicator corresponding to the selected option among the candidate indicator options.
12. A media file playback processing device, applied to a user terminal, characterized in that: The device comprises: a page display unit, configured to play a first media file 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 detecting an event of switching media files on the playback page and a preset condition being met, switch to displaying a heat map on the playback page, wherein the heat map is used to display the heat value distribution of the second media file in a first style, and the heat value is determined based on user interaction data corresponding to the second media file; and in response to a target media file triggering event based on the heat map, switch to playing the target media file on the playback page, wherein the target media file is at least one of the second media files.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, 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 configured to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the program instructions execute the steps of the method according to 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, the steps of the method according to any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
Video playing method and device, electronic equipment and storage medium
CN112752133A
Video display method and device thereof, electronic equipment and storage medium
CN113194351A
Video display method and device
CN114501099A
Data processing method and device based on thermodynamic map
CN114995723A
Multimedia resource processing method and device, equipment and storage medium
CN116471439A