Media file recommendation method and device, equipment and storage medium
By introducing mode switching events and multiple recommendation mode options into the media playback page of short video platforms, the problem of differentiated user needs in different scenarios is solved, and the recommendation strategy can be flexibly adapted and the user experience optimized.
Patent Information
- Application Number
- CN202511621604.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-06
- Publication Date
- 2026-02-27
AI Technical Summary
The existing recommendation mechanisms of short video platforms are unable to dynamically adapt to the differentiated needs of users in different scenarios and real-time emotions, resulting in serious homogenization of recommended content, which reduces the accuracy of recommendations and users' willingness to interact.
Introduce mode switching events in the media playback page, triggering a switch to the target recommendation mode through user interaction or system awareness. Provide multiple recommendation mode options and preference indicator labels, and automatically or semi-automatically adjust the recommendation strategy in combination with preset rules to achieve flexible adaptation of recommendation modes.
It enhances the diversity of recommended media files and improves user experience, simplifies the operation process, improves the accuracy of recommendations and the efficiency of user interaction, and balances intelligence with the right to choose.
Smart Images

Figure CN121585849A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of Internet application, in particular to a media file recommendation method and device, equipment and storage medium. BACKGROUND
[0002] With the rapid development of Internet technology, short video platforms have become one of the core carriers of digital content dissemination. At present, the recommendation mechanism of most short video platforms is to build a recommendation model based on user historical behavior data, and to realize content pushing by mining user long-term interest preferences. However, such a single recommendation method has significant technical defects: on the one hand, it is difficult to dynamically adapt to the differentiated needs of users in different scenarios and real-time emotions, and it is difficult to flexibly adjust the recommendation strategy to match the user's immediate state; on the other hand, it is easy to form an information cocoon effect, limiting users' exposure to diversified content, resulting in serious homogenization of recommended content. The above problems ultimately reduce the recommendation accuracy and user interaction willingness, seriously affecting the user experience. SUMMARY
[0003] Therefore, the present application provides a media file recommendation method, device, equipment and storage medium, which can simplify the operation process before user investment, reduce the investment decision threshold, and greatly improve the operation efficiency before investment, and can generate accurate investment strategy and improve the investment effect of promotional information.
[0004] The present application provides the following solutions: In a first aspect, a media file recommendation method is provided, comprising: displaying a media player page playing a first media file, the first media file being recommended to a user based on a current recommendation mode; in response to a mode switching event triggered in the media player page, determining a target recommendation mode, and switching to play a second media file in the media player page, the second media file being recommended to the user based on the target recommendation mode; wherein the target recommendation mode and the current recommendation mode correspond to different state requirements of the user respectively.
[0005] Optionally, the mode switching event is a mode switching operation triggered by the user in the media player page. The response to the mode switching event triggered in the media player page to determine the target recommendation mode comprises: in response to the user triggering the mode switching operation in the media player page, displaying a mode switching panel in the media player page, the mode switching panel including at least two recommendation mode options, each of the recommendation mode options corresponding to a recommendation mode. In response to detecting a selection operation on a target recommended mode option in the mode switching panel, determining the recommended mode corresponding to the target recommended mode option as the target recommended mode.
[0006] Optionally, a display preference indication label is displayed in the mode switching panel for at least one recommended mode option, and the preference indication label is determined based on historical behavior information of the user.
[0007] Optionally, the mode switching event is a mode switching operation triggered by the user on the media playback page. The determining of the target recommended mode in response to the mode switching event triggered on the media playback page comprises: In response to the user triggering a mode switching operation on the media playback page, determining a next recommended mode adjacent to the current recommended mode as the target recommended mode according to a mode switching sequence determined based on a preset rule, and the preset rule comprises a fixed cyclic sequence or a sequence sorted according to user usage frequency.
[0008] Optionally, the mode switching operation is triggered in any of the following ways: performing a first preset interaction action on a mode switching portal provided in the media playback page; wherein the mode switching portal is used to trigger switching of the recommended mode; performing a second preset interaction action on a specified function control in the media playback page; wherein the specified function control is used to trigger a preset specified function, the specified function is different from the switching of the recommended mode, and an interaction action for triggering the specified function is different from the second preset interaction action; performing a preset gesture on the media playback page; triggering mode switching by a voice instruction; The first preset interaction action and the second preset interaction action comprise at least one of clicking, long pressing, double clicking, swiping, or hovering.
[0009] Optionally, the mode switching event is a confirmation operation of the user on mode recommendation prompt information displayed in the media playback page; the mode recommendation prompt information is displayed in the media playback page when current scene information meets a preset triggering condition, and the mode recommendation prompt information at least contains a candidate recommended mode recommended for the user. The determining of the target recommended mode in response to the mode switching event triggered on the media playback page comprises: In response to the user's confirmation operation on the mode recommendation prompt information, determining the candidate recommended mode contained in the mode recommendation prompt information as the target recommended mode.
[0010] Optionally, after the media playing page switches to play the second media file, the method further comprises: displaying a prompt message on the media playing page, the prompt message being used to indicate that the recommendation mode has been successfully switched, and disappearing after a preset time length is reached.
[0011] Optionally, after the media playing page switches to play the second media file, the method further comprises: displaying a mode identifier at a specified position of the media playing page, the mode identifier being used to represent the currently effective recommendation mode in real time, the mode identifier comprising one or more of a name, an icon, or a color.
[0012] In a second aspect, a media file recommendation apparatus is provided, the apparatus comprising: a page display unit configured to display a media playing page playing a first media file, the first media file being recommended to a user based on a current recommendation mode; an event listening unit configured to listen to events on the media playing page; the page display unit is further configured to, in response to a mode switching event triggered on the media playing page, determine a target recommendation mode, and switch the media playing page to play a second media file based on the target recommendation mode, the second media file being recommended to the user based on the target recommendation mode; wherein the target recommendation mode and the current recommendation mode correspond to different state requirements of the user respectively. In a third aspect, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, the computer program being executed to implement the steps of the method of the first aspect.
[0013] 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 configured to store program instructions, the program instructions being executed by the one or more processors to perform the steps of the method of the first aspect.
[0014] In a fifth aspect, a computer program product is provided, comprising a computer program, the computer program being executed to implement the steps of the method of the first aspect.
[0015] According to the embodiments provided in the present application, the following technical effects are disclosed: 1) The application introduces a mode switching event in the media playing page to build a recommendation mechanism that can flexibly switch the recommendation mode. When the media playing page is playing a first media file pushed based on the current recommendation mode, if the mode switching event is triggered, the target recommendation mode different from the current recommendation mode is first determined, the two recommendation modes correspond to different state needs of the user, and then the media playing page is switched in real time to play a second media file pushed based on the target recommendation mode. The above scheme can meet the diversified viewing needs of the user, flexibly switch the recommendation mode, effectively break the information cocoon caused by a single recommendation mode, and ultimately significantly improve the content diversity of media file recommendation, and comprehensively optimize the user experience.
[0016] 2) The application provides a mode switching panel containing multiple recommendation mode options in the media playing page, and the user can quickly select the target recommendation mode through intuitive operations such as clicking, so as to accurately match the diversified state needs of the user, simplify the operation process of the user switching the recommendation mode, improve the interaction efficiency, realize flexible adaptation of the recommendation mode, and further optimize the user's media content acquisition experience.
[0017] 3) The application displays a preference indication label in the mode switching panel, which can help the user quickly identify the recommendation mode option that is most suitable for their own needs, thereby shortening the selection path.
[0018] 4) The application provides preset rules such as fixed cycles and dynamic sorting of user usage frequency, so that the user automatically jumps to the next recommendation mode adjacent to the current recommendation mode according to the corresponding rules when triggering the mode switching operation, which takes into account the stability of mode switching and the adaptability to the user's core preferences, meets the user's customized needs at different times, significantly improves the intelligent level and flexibility of recommendation mode switching, further reduces the user's operation cost, and optimizes the user's media content acquisition experience.
[0019] 5) The application actively perceives the scene and the user confirmation through a cooperative mechanism, which reduces the user's active operation while realizing the accurate adaptation of the recommendation mode to the scene needs, and further balances the intelligence of the recommendation and the user's autonomous selection right.
[0020] 6) After the mode switching is completed, the application displays an instant prompt message and / or a persistent mode identifier in the media playing page, which solves the state notification problem after mode switching and provides the user with real-time mode perception and a quick operation entrance, thereby ensuring information transparency and further optimizing the whole-process experience of recommendation mode switching. Of course, any product implementing the present application does not necessarily need to achieve all the advantages described above. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings described below only illustrate some of the embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
[0022] Figure 1 System architecture diagram applicable to the embodiments of the present application.
[0023] Figure 2 Media file recommendation method flowchart provided by the embodiments of the present application.
[0024] Figure 3 Schematic diagram of the user triggering mode switching operation on the media playing page provided by the embodiments of the present application.
[0025] Figure 4 Schematic diagram of displaying mode recommendation prompt information on the media playing page provided by the embodiments of the present application.
[0026] Figure 5 Schematic diagram of the media playing page after mode switching provided by the embodiments of the present application.
[0027] Figure 6 Schematic block diagram of the media file recommendation device provided by the embodiments of the present application.
[0028] Figure 7 Schematic block diagram of the electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION
[0029] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art belong to the scope of protection of the present application.
[0030] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "an" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0031] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0032] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0033] In related technologies, short video recommendations often rely on user historical behavior data to build recommendation models, pushing content by mining users' long-term interests and preferences. However, this singular recommendation method struggles to adapt to users' dynamic needs in different scenarios. For example, users might need short news content during their commute, prefer relaxing content before bed, and crave learning content during work breaks. The current single recommendation model cannot flexibly switch to match these differentiated needs.
[0034] In view of this, this application provides a new approach. To facilitate understanding of this application, the system architecture on which this application is based will first be described. Figure 1 This is a schematic diagram of the system architecture applicable to the embodiments of this application, such as... Figure 1 As shown, the system architecture may include: user terminal, terminal device and server terminal.
[0035] In this embodiment, the user terminal is set on the terminal device. The user terminal involved in this application can be a client running on the terminal device, a mini-program, or a web application running through a browser.
[0036] Terminal devices can include, but are not limited to, smart mobile terminals, wearable devices, PCs (Personal Computers), and smart home devices. Smart mobile devices can include devices such as mobile phones, tablets, laptops, PDAs (Personal Digital Assistants), and connected car terminals. Wearable devices can include devices such as smartwatches, smart glasses, smart bracelets, VR (Virtual Reality) devices, AR (Augmented Reality) devices, and mixed reality devices (devices that support both virtual and augmented reality). Smart home devices can include devices such as smart TVs and smart refrigerators with displays.
[0037] The user client can interact with the server via the network, request and obtain media files from the server, and play them.
[0038] The server side can be a platform providing video playback services, a single server, a server cluster consisting of multiple servers, or 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 system, designed to address the shortcomings of traditional physical hosts and Virtual Private Servers (VPS) services, such as high management difficulty and weak service scalability.
[0039] The server can send media files to the user terminal using streaming, allowing the user to download and play the media file simultaneously. Alternatively, a progressive delivery method can be used, sending the media file to the user terminal, which then downloads the entire video file before playback. Other methods can also be employed, such as using a CDN (Content Delivery Network) to provide and deliver media files to the user terminal.
[0040] As one possible approach, the user client can request media files from the server, and the server can then transmit the media files to the user client. The user client can then recommend media files using the method provided in this application embodiment.
[0041] It should be understood that Figure 1 The number of client terminals, terminal devices, and servers shown is merely illustrative. Depending on implementation needs, there can be any number of client terminals, terminal devices, and servers.
[0042] It should be noted that the terms "first" and "second" used in this disclosure do not have any limitations on size, order, or quantity; they are merely used to distinguish between the two types of media files, such as "first media file" and "second media file," etc.
[0043] Figure 2 This is a flowchart of a media file recommendation method provided in an embodiment of this application. The method can be... Figure 1 The user-side execution in the system shown is as follows. Figure 2 As shown, the method may include the following steps: Step 201: Display the media playback page containing the first media file, which is recommended to the user based on the current recommendation mode. Step 202: In response to the mode switching event triggered on the media playback page, determine the target recommendation mode and switch to playing the second media file on the media playback page. The second media file is recommended to the user based on the target recommendation mode. The target recommendation mode and the current recommendation mode correspond to different user state needs. As can be seen from the above process, this application constructs a recommendation mechanism that can flexibly switch recommendation modes by introducing a mode switching event into the media playback page. When the media playback page is playing the first media file pushed based on the current recommendation mode, if the mode switching event is triggered, a target recommendation mode different from the current recommendation mode is first determined. These two recommendation modes correspond to different user state needs, and then the media playback page switches in real time to play the second media file pushed based on the target recommendation mode. The above solution can meet the diverse viewing needs of users, flexibly switch recommendation modes, effectively break the information cocoon that is easily caused by a single recommendation mode, and ultimately significantly improve the content diversity of media file recommendations, comprehensively optimizing the user experience. The following describes in detail each step of the above process and the effects that can be further produced, with reference to the embodiments.
[0044] First, the above step 201, namely "displaying a media playback page containing a first media file, wherein the first media file is recommended to the user based on the current recommendation mode," will be described in detail with reference to the embodiments.
[0045] In this embodiment, the current recommendation mode refers to the recommendation strategy currently in effect on the user's device. It can be the default recommendation mode preset by the user, the commonly used mode selected and saved in the user's history, or the recommendation mode that is automatically continued based on the user's previous usage state (such as the user being in relaxed mode before exiting, and automatically using that mode when reopening).
[0046] When a user opens a client application (such as a short video app or video platform client) and enters the media playback page, the server will select the first suitable media file from the media resource library based on the algorithm logic of the current recommendation mode (such as content type preference, duration filtering rules, update frequency, etc.) and push it to the user application. The user application will then load and play the first media file on the media playback page.
[0047] The media files involved in the embodiments of this application may be videos, images in an image gallery, etc.
[0048] Videos can be either long or short. The distinction between long and short videos mainly lies in their length, content, and production method. Long videos are typically several tens of minutes or longer; the content is more complete and in-depth, with relatively high quality; they usually require a professional team of photographers, editors, and sound effects specialists to complete, resulting in a longer production cycle and greater resource investment; examples include movies, TV series, and documentaries. Short videos are typically a few minutes or less; the content is usually concise and refined, focusing on highlighting a specific point or quickly conveying information; production is relatively simple, often using mobile phones or other portable devices for shooting, and post-production editing is also relatively easy; short videos emphasize rapid production and dissemination, stressing timeliness; examples include some funny videos, lifestyle videos, advertising videos, and short dramas.
[0049] In addition, the videos mentioned above can be either landscape or portrait. A landscape video is one where the width of the video frame is greater than its height, which better matches the natural field of vision of the human eye and is more suitable for viewing on widescreen devices (such as TVs and computers). A portrait video, on the other hand, is one where the height of the video frame is greater than its width, making it more suitable for viewing on narrow-screen devices (such as smartphones and tablets) and more popular in social media and short video platforms.
[0050] The images in the collection can be regular images or long images. Regular images are usually single, static images that users can view without any additional action. Long images, on the other hand, are a special type of image composed of continuous images. Users need to scroll or swipe to view the entire content of the long image. Long images typically combine multiple image elements to form a coherent narrative.
[0051] The following describes in detail step 202, namely, "in response to a mode switching event triggered on the media playback page, determining the target recommendation mode, and switching to playing the second media file on the media playback page, wherein the second media file is recommended to the user based on the target recommendation mode; wherein the target recommendation mode and the current recommendation mode correspond to different user state requirements."
[0052] In this embodiment, multiple recommendation modes can be pre-built, each corresponding to different user state needs, and configured with differentiated recommendation strategies. In other words, by pre-setting diverse recommendation modes, precise adaptation solutions can be provided for users' content needs in different scenarios, moods, or behavioral states. For example, a short-time information mode can be set for the need for fragmented browsing during commutes, and a relaxation mode can be set for the need for relaxation before bedtime.
[0053] The target recommendation mode and the current recommendation mode are both specific types among the pre-set recommendation modes mentioned above. They are different recommendation modes and correspond to different user state needs. Specifically, the current recommendation mode is the recommendation mode being executed before the mode switching operation occurs, adapting to the user's state needs before the switch; the target recommendation mode is the recommendation mode determined and activated after the mode switching operation, adapting to the user's expected state needs after the switch. By switching between the two, real-time matching of recommended content with the user's dynamic needs is achieved.
[0054] In this embodiment of the application, the mode switching event may include a mode switching operation actively triggered by the user on the media playback page, that is, a mode switching command directly initiated by the user through preset interactive behavior.
[0055] The mode switching operation can be triggered through any of the following interaction methods, balancing operational flexibility with user habits: Entry interaction trigger: Execute the first preset interaction action on the preset mode switching entry in the media playback page (such as a button, icon or other special control labeled "Mode Switch"). The core function of this mode switching entry is to trigger the switching of the recommended mode. Function control reuse trigger: For existing designated function controls in the media playback page (such as the Featured button, whose designated function is to trigger entry into the Featured page of the media file, and this designated function is different from the Recommendation mode switching function), execute a second preset interaction action. This second preset interaction action is different from the interaction action that triggers its designated function (for example, the regular click action of the Featured button is used to enter the Featured page, while the long press action triggers mode switching). Gesture trigger: Execute a preset gesture (such as two-finger swipe, single-finger quick double tap, circle drawing, etc.) in the playback area or designated interactive area of the media playback page. When the gesture is detected, the mode switch is triggered. Voice trigger: By inputting preset voice commands (such as "switch to recommended mode" or "next mode") into the terminal device, the mode switch is triggered after voice recognition.
[0056] Specifically, the first preset interactive action and the second preset interactive action may include at least one of click, long press, double click, swipe or hover. Users can choose the appropriate operation method according to their own habits, further reducing the interaction threshold.
[0057] As one feasible approach, when a user triggers the mode switching operation on the media playback page, the media playback page will pop up or embed a mode switching panel. This panel includes at least two recommendation mode options, each uniquely corresponding to a recommendation mode. For example, the panel may include a default recommendation mode (a balanced recommendation that takes into account the user's long-term preferences), a familiar mode (prioritizing content types that the user interacts with frequently), an exploration mode (focusing on pushing new content with low exposure but potential matching), a nostalgia mode (prioritizing content that the user has saved in the past or interacted with in the early days), a scenario mode (such as scenario-based recommendations like "commuting" or "before bed"), a learning mode (focusing on knowledge and popular science content), and a relaxation mode (focusing on soothing content such as music and scenery), covering the diverse state needs of users.
[0058] When a user selects a target recommended mode option in the mode switching panel (such as clicking, double-clicking, or long-pressing the option), the recommended mode corresponding to that option is immediately set as the target recommended mode. For example, if a user clicks the "Relaxation Mode" option in the panel, "Relaxation Mode" will be set as the currently active target recommended mode, and the corresponding media files will be pushed accordingly.
[0059] This implementation provides a mode switching panel with multiple recommendation mode options on the media playback page. Users can quickly select the target recommendation mode through intuitive operations such as clicking, thereby accurately matching the diverse status needs of users. This simplifies the user's operation process of switching recommendation modes, improves interaction efficiency, and achieves flexible adaptation of recommendation modes, thus optimizing the user's media content acquisition experience.
[0060] Furthermore, to improve user selection efficiency, preference indicator labels can be displayed associated with at least one recommended mode option in the mode switching panel. These preference indicator labels are generated by statistically analyzing users' historical behavior information and indicate the degree to which the corresponding recommended mode option matches the user's preferences, usage habits, or current scenario. Specifically, they can include various types: for example, labeling the mode with the highest historical usage frequency as "Frequently Used," labeling options with significantly higher interaction data (such as clicks and dwell time) than other modes in the past 7 days as "Popular," and labeling modes that highly match the current time period (such as 8-10 PM) or scenario (such as weekends) as "Recommended Today," etc.
[0061] By displaying preference indicator labels in the mode switching panel, users can quickly identify the recommended mode option that best suits their needs, thereby shortening the selection process.
[0062] As an example, such as Figure 3 The image shown illustrates a user's triggering of a mode switching operation on the media playback page. Among other things, Figure 3 Images (a) and (b) illustrate two typical locations of the mode switching entry point on the media playback page: Figure 3 The (a) mode switching entry is located in the lower right corner of the media playback page, specifically as a button with the text "Recommended Mode". Users can directly trigger the mode switching process by clicking this button. Figure 3 The (b) mode switching entry is located at the top of the media playback page and is also presented as a "Recommended Mode" button. When the user clicks the button, the page will pop up a mode switching panel.
[0063] In addition, the mode switching entry can also be implemented by reusing functions. For example, the existing "Featured" button on the media playback page (whose default function is to display featured content on the platform) can be reused as a mode switching entry. The mode switching can be triggered by a preset long press gesture (different from the regular function of clicking the button to trigger "Featured content display"), thus realizing the multi-functional reuse of a single control and saving page space.
[0064] When a user triggers the switching operation by clicking the "Recommended Mode" button or long-pressing the "Featured" button, the media playback page will pop up as follows: Figure 3 (c) shows the mode switching panel. This panel displays a variety of recommended mode options (such as "Default Mode", "Explore Mode", "Relax Mode", etc.), each option corresponds to a recommended mode, and some options are associated with preference indicator labels (such as "Frequently Used", "Today's Recommendation", etc.) to help users quickly identify the appropriate option.
[0065] It should be noted that the layout of the recommended mode options in the mode switching panel can be flexibly designed according to the actual scenario, including but not limited to: presenting a multi-grid arrangement in the form of a grid or cards (suitable for scenarios with a large number of options, facilitating horizontal / vertical browsing); using a horizontal or vertical scrollbar design to support users to swipe through all options (suitable for highlighting the switching logic of the current option and the options before and after). In practical applications, the optimal layout structure can be selected by combining the page size, the number of options, and user operating habits.
[0066] As another possible approach, when a user triggers a mode switching operation on the media playback page, the next recommended mode adjacent to the current recommended mode in the sequence will be automatically selected as the target recommended mode according to the mode switching order determined by preset rules.
[0067] The preset rules can include, but are not limited to, the following two types: First, a fixed cyclical order, that is, a fixed recommended mode switching sequence is preset (e.g., "default recommended mode → learning mode → relaxation mode → default recommended mode"), and each time a switching operation is triggered, the user jumps in this sequence in a loop; Second, a dynamic order sorted by user usage frequency, which involves real-time statistics on the user's historical usage frequency of each recommended mode (e.g., the number of switching times in the past 30 days, the percentage of usage time, etc.), and sorting the usage frequency from high to low to form a switching sequence. Each time a switching operation is triggered, the user is preferentially switched to the next mode with higher frequency to adapt to the user's core usage preferences.
[0068] In addition, users can manually set personalized rules for mode switching to meet their customized needs. For example, users can preset the switching order as follows: "During the daily commute from 7:00 to 9:00, the priority is commuter mode → information mode" and "After 21:00, the priority is relaxation mode → sleep aid mode".
[0069] This implementation provides preset rules such as fixed cycles and dynamic sorting based on user usage frequency, allowing users to automatically jump to the next recommended mode adjacent to the current recommended mode when the mode switching operation is triggered. This approach balances the stability of mode switching, adaptability to core user preferences, and the satisfaction of users' customized needs at different times, significantly improving the intelligence and flexibility of recommended mode switching, further reducing user operation costs, and optimizing users' media content acquisition experience.
[0070] In addition to the aforementioned actively triggered mode switching events, mode switching events can also be a user's confirmation action of the mode recommendation prompts displayed on the media playback page. That is, after actively pushing recommended modes based on scenario analysis, the user completes the switching through confirmation behavior, which is a semi-passive triggered scenario.
[0071] Specifically, the system can monitor current scene information in real time. This information may include, but is not limited to, time information (such as weekday morning rush hour), environmental information (such as the user being in a commuting scenario like a subway), and user behavior information (such as continuously and quickly swiping to skip content in the current mode). When the current scene information meets preset trigger conditions, a mode recommendation prompt will be automatically displayed in a prominent position on the media playback page (such as below the playback window or in a pop-up window at the top of the page). The preset trigger conditions may include, but are not limited to, the correlation between the current scene information and the user's historical highly matched modes exceeding a preset threshold. In other words, the system determines whether to trigger the mode recommendation prompt by analyzing the correlation between the current scene and the highly matched recommended modes in the user's historical behavior.
[0072] Specifically, a user's historical high-match pattern refers to a recommendation pattern that is highly adapted to a user's specific scenario, preferences, or needs, selected through algorithmic analysis based on the user's historical behavior data. The correlation degree is an indicator used to measure the degree of matching between the current scenario information and the user's historical high-match pattern, and can be calculated from multiple dimensions. For example, the time matching degree between time information (weekday morning rush hour) and the user's historical "commuting pattern," the scenario matching degree between environmental information (subway scenario) and the user's historical "commuting pattern," and the behavioral matching degree between user behavior information (continuous rapid swiping) and the user's historical "short-term information pattern," etc. When the calculated correlation degree exceeds a preset threshold, it indicates that the current scenario's fit with a certain historical high-match pattern is high enough to warrant triggering a pattern recommendation prompt; if it does not exceed the threshold, it will not be triggered to avoid unnecessary interference.
[0073] For example, a high-match scenario for "commuting mode" in a user's history is "weekdays 7:00-9:00 + subway environment + continuous rapid swiping behavior". When it is detected that the current time is Monday 8:00, the user is on the subway and continuously and rapidly swiping content, the correlation between these three dimensions and "commuting mode" is calculated. If the overall correlation reaches 90% (exceeding the preset 85% threshold), a mode recommendation prompt is triggered, and a "commuting mode" switching suggestion is pushed to the user.
[0074] The recommendation prompts in this mode should at least include candidate recommendation modes for the user, and can further include reasons for the recommendations to help the user understand the recommendation logic. For example... Figure 4 As shown, when the current scene information is detected as a commuting scene, a short consultation mode is recommended to the user, and the media playback page displays "You are commuting. Do you want to switch to a more suitable short information mode?".
[0075] Accordingly, the process of determining the target recommendation mode in response to this mode switching event can be as follows: When a user confirms a pattern recommendation prompt (e.g., by clicking the "Yes" button or responding with a voice message), the candidate recommendation pattern contained in the prompt is immediately identified as the target recommendation pattern, and the corresponding media file is pushed based on this pattern. If the user chooses to ignore or refuse (e.g., by clicking the "No" button or not responding within the timeout period), the current recommendation pattern remains unchanged, and this feedback data is incorporated into the optimization training of the scene matching model to improve the accuracy of subsequent recommendations.
[0076] This approach, through a collaborative mechanism of proactive scenario perception and user confirmation, reduces the need for active user intervention while achieving precise adaptation between recommendation models and scenario requirements, further balancing the intelligence of recommendations with the user's right to choose.
[0077] It should be noted that the above-mentioned active trigger mode switching method and semi-passive trigger mode switching method can be flexibly configured according to actual needs. They can be enabled at the same time, or one or two can be enabled based on user settings or system settings.
[0078] Furthermore, after switching to play a second media file recommended based on the target recommendation mode on the media playback page, multiple feedback mechanisms can be used to enhance the user's perception of the mode switch, thereby improving operational transparency and user experience.
[0079] As one possible approach, the media playback page can instantly display a notification message indicating successful mode switching. This notification message can be presented as a floating pop-up, a top notification bar, or a bottom banner, indicating the switching result (e.g., "Switched to Relax Mode"). See [link to relevant documentation]. Figure 5 This ensures users are quickly aware of mode changes while avoiding excessive page space usage. Additionally, the notification message has an automatic disappearance mechanism, with a preset display duration (e.g., 2-3 seconds) based on the page interaction scenario. It automatically disappears after the user confirms their awareness, minimizing interference with media content viewing. If users need to extend the viewing time, they can manually click the message to pause the countdown, enhancing interactive flexibility.
[0080] As another possible approach, a mode identifier can be continuously displayed at a designated location on the media playback page to indicate the currently active recommended mode in real time. This mode identifier employs a multi-dimensional design and may include: Name identifier: Use concise text to directly label the pattern name (such as "Learning" or "Exploring") to intuitively convey the pattern attributes; Icon identification: Each mode is matched with a unique graphic symbol (e.g., the "Relaxation Mode" corresponds to the wave icon, and the "Study Mode" corresponds to the book icon) to strengthen the memory points through visual symbols; Color coding: Differentiated color schemes are used (e.g., orange for "Vitality Mode" and dark blue for "Sleep Aid Mode") to help users quickly identify colors using color psychology.
[0081] Still Figure 5 As shown, the currently active recommendation mode is indicated by a name in the lower right corner of the media playback page.
[0082] The aforementioned icons can be displayed individually or in combination, and their positions are fixed without obstructing the core playback area, ensuring that users can always perceive the current recommended mode while browsing content. Furthermore, the mode icons can support interactive extensions; clicking the icon will quickly bring up the mode switching panel, enabling convenient operations such as "view current mode → switch mode," further shortening the function call path.
[0083] By providing real-time notification messages and / or persistent pattern identifiers, the problem of status notification after mode switching is solved, and users are provided with real-time mode awareness and quick operation access. While ensuring information transparency, the entire process of recommending mode switching is further optimized. The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0084] According to another embodiment, a media file recommendation device is provided. Figure 6 This is a schematic block diagram of a media file recommendation device provided in an embodiment of this application. The device is disposed in... Figure 1 The user end in the illustrated architecture. (For example...) Figure 6 As shown, the device 600 mainly includes a page display unit 601 and an event listening unit 602. The main functions of each component are as follows: The page display unit 601 is configured to display a media playback page containing a first media file, which is recommended to the user based on the current recommendation mode.
[0085] Event listening unit 602 is configured to listen for events on the media playback page.
[0086] The page display unit 601 is further configured to, in response to a mode switching event triggered on the media playback page, determine a target recommendation mode and switch the media playback page to play a second media file, the second media file being recommended to the user based on the target recommendation mode; wherein the target recommendation mode and the current recommendation mode correspond to different state needs of the user.
[0087] As one possible implementation, the mode switching event is a mode switching operation triggered by the user on the media playback page; The page display unit 601 is specifically configured as follows: In response to the user triggering a mode switching operation on the media playback page, a mode switching panel is displayed on the media playback page. The mode switching panel includes at least two recommended mode options, and each recommended mode option corresponds to a recommended mode. In response to detecting a selection operation of a target recommended mode option among the at least two recommended mode options in the mode switching panel, the recommended mode corresponding to the target recommended mode option is determined as the target recommended mode.
[0088] As one possible approach, at least one recommended mode option in the mode switching panel displays a preference indicator label, which is determined based on the user's historical behavior information.
[0089] As one possible implementation, the mode switching event is a mode switching operation triggered by the user on the media playback page; The page display unit 601 is specifically configured as follows: In response to the user triggering a mode switching operation on the media playback page, the next recommended mode adjacent to the current recommended mode is selected as the target recommended mode according to the mode switching order determined based on preset rules. The preset rules include a fixed cyclical order or an order sorted by user usage frequency.
[0090] As one possible implementation, the mode switching operation is triggered in any of the following ways: For the mode switching entry set in the media playback page, execute the first preset interactive action; wherein, the mode switching entry is used to trigger the switching of the recommended mode; For a specified functional control in the media playback page, a second preset interactive action is executed; wherein, the specified functional control is used to trigger a preset specified function, the specified function is different from the switching of the recommendation mode, and the interactive action that triggers the specified function is different from the second preset interactive action; Perform a preset gesture on the media playback page; Mode switching can be triggered via voice commands; The first preset interactive action and the second preset interactive action include at least one of clicking, long pressing, double-clicking, swiping, or hovering.
[0091] As one possible implementation, the mode switching event is the user's confirmation operation of the mode recommendation prompt information displayed on the media playback page; the mode recommendation prompt information is displayed on the media playback page when the current scene information meets the preset triggering conditions, and the mode recommendation prompt information at least includes candidate recommendation modes recommended to the user. The page display unit 601 is specifically configured as follows: In response to the user's confirmation of the mode recommendation prompt, the candidate recommendation mode contained in the mode recommendation prompt is determined as the target recommendation mode.
[0092] As one possible implementation, after the media playback page switches to play the second media file, the page display unit 601 is further configured to: A notification message is displayed on the media playback page, indicating that the recommended mode has been successfully switched, and disappears after a preset duration.
[0093] As one possible implementation, after the media playback page switches to play the second media file, the page display unit 601 is further configured to: A mode identifier is displayed at a designated location on the media playback page. The mode identifier is used to represent the currently active recommended mode in real time. The mode identifier includes one or more of the following: name, icon, or color. The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing 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, and relevant parts can be referred to the description of the method embodiments. The system and device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0094] 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, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0095] In addition, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, which, when executed, implements the steps of the method described in any of the foregoing method embodiments.
[0096] And an electronic device, comprising: One or more processors; and A memory associated with the one or more processors, the memory being used to store program instructions that, when read and executed by the one or more processors, perform the steps of the method described in any of the foregoing method embodiments.
[0097] This application also provides a computer program product, including a computer program that, when executed, implements the steps of the method described in any of the foregoing method embodiments.
[0098] in, Figure 7 This is a schematic block diagram of an electronic device provided in an embodiment of this application. Specifically, it may include a processor 710, a media file display adapter 711, a disk drive 712, an input / output interface 713, a network interface 714, and a memory 720. The processor 710, media file display adapter 711, disk drive 712, input / output interface 713, network interface 714, and memory 720 can be communicatively connected via a communication bus 730. The input / output interface 713 can also be referred to as an I / O interface 713.
[0099] The processor 710 can be implemented using a general-purpose CPU, microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits to execute relevant programs and implement the technical solution provided in this application.
[0100] The memory 720 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 720 can store the operating system 721 for controlling the operation of the electronic device 700, and the basic input / output system (BIOS) 722 for controlling the low-level operations of the electronic device 700. Additionally, it can store a web browser 723, a data storage management system 724, and a media file recommendation device 600, etc. The aforementioned media file recommendation device 600 can be the application program that specifically implements the aforementioned steps in this embodiment. In summary, when the technical solution provided in this application is implemented through software or firmware, the relevant program code is stored in the memory 720 and is called and executed by the processor 710.
[0101] Input / output interface 713 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices may include displays, speakers, vibrators, indicator lights, etc.
[0102] Network interface 714 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0103] Bus 730 includes a pathway for transmitting information between various components of the device, such as processor 710, media file display adapter 711, disk drive 712, input / output interface 713, network interface 714, and memory 720.
[0104] It should be noted that although the above-described device only shows the processor 710, media file display adapter 711, disk drive 712, input / output interface 713, network interface 714, memory 720, bus 730, etc., in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the solution of this application, and does not necessarily include all the components shown in the figures.
[0105] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer program product. This computer program product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0106] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A media file recommendation method, characterized in that, The method includes: The media playback page displays the first media file, which is recommended to the user based on the current recommendation mode. In response to a mode switching event triggered on the media playback page, a target recommendation mode is determined, and the media playback page is switched to play a second media file, which is recommended to the user based on the target recommendation mode; wherein, the target recommendation mode and the current recommendation mode correspond to different state needs of the user.
2. The method according to claim 1, characterized in that, The mode switching event is a mode switching operation triggered by the user on the media playback page; The step of determining the target recommended mode in response to a mode switching event triggered on the media playback page includes: In response to the user triggering a mode switching operation on the media playback page, a mode switching panel is displayed on the media playback page. The mode switching panel includes at least two recommended mode options, and each recommended mode option corresponds to a recommended mode. In response to detecting a selection operation of a target recommended mode option among the at least two recommended mode options in the mode switching panel, the recommended mode corresponding to the target recommended mode option is determined as the target recommended mode.
3. The method according to claim 2, characterized in that, At least one recommended mode option in the mode switching panel displays a preference indicator label, which is determined based on the user's historical behavior information.
4. The method according to claim 1, characterized in that, The mode switching event is a mode switching operation triggered by the user on the media playback page; The step of determining the target recommended mode in response to a mode switching event triggered on the media playback page includes: In response to the user triggering a mode switching operation on the media playback page, the next recommended mode adjacent to the current recommended mode is selected as the target recommended mode according to the mode switching order determined based on preset rules. The preset rules include a fixed cyclical order or an order sorted by user usage frequency.
5. The method according to any one of claims 2 to 4, characterized in that, The mode switching operation is triggered in any of the following ways: For the mode switching entry set in the media playback page, execute the first preset interactive action; wherein, the mode switching entry is used to trigger the switching of the recommended mode; For a specified functional control in the media playback page, a second preset interactive action is executed; wherein, the specified functional control is used to trigger a preset specified function, the specified function is different from the switching of the recommendation mode, and the interactive action that triggers the specified function is different from the second preset interactive action; Perform a preset gesture on the media playback page; Mode switching can be triggered via voice commands; The first preset interactive action and the second preset interactive action include at least one of clicking, long pressing, double-clicking, swiping, or hovering.
6. The method according to claim 1, characterized in that, The mode switching event is the user's confirmation operation of the mode recommendation prompt information displayed on the media playback page; the mode recommendation prompt information is displayed on the media playback page when the current scene information meets the preset triggering conditions, and the mode recommendation prompt information includes at least the candidate recommendation modes recommended to the user. The step of determining the target recommended mode in response to a mode switching event triggered on the media playback page includes: In response to the user's confirmation of the mode recommendation prompt, the candidate recommendation mode contained in the mode recommendation prompt is determined as the target recommendation mode.
7. The method according to claim 1, characterized in that, After switching to play the second media file on the media playback page, the method further includes: A notification message is displayed on the media playback page, indicating that the recommended mode has been successfully switched, and disappears after a preset duration.
8. The method according to claim 1, characterized in that, After switching to play the second media file on the media playback page, the method further includes: A mode identifier is displayed at a designated location on the media playback page. The mode identifier is used to represent the currently active recommended mode in real time. The mode identifier includes one or more of the following: name, icon, or color.
9. A media file recommendation device, characterized in that, The device includes: The page display unit is configured to display a media playback page containing a first media file, which is recommended to the user based on the current recommendation mode. An event listening unit is configured to listen for events on the media playback page; The page display unit is further configured to, in response to a mode switching event triggered on the media playback page, determine a target recommendation mode and switch the media playback page to play a second media file, the second media file being recommended to the user based on the target recommendation mode; wherein the target recommendation mode and the current recommendation mode correspond to different state needs of the user.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it implements the steps of the method according to any one of claims 1 to 8.
11. 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 that, when read and executed by the one or more processors, perform the steps of the method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed, it implements the steps of the method according to any one of claims 1 to 8.