Media data processing method and apparatus, and device, medium and program product
By displaying an operation layer on the media interface and guiding the negative feedback conditions, the problem of high complexity in negative feedback operations is solved, the efficiency of negative feedback is improved, and the push of similar media data is reduced.
Patent Information
- Application Number
- PCT/CN2025/083148
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-25
- Filing Date
- 2025-03-18
- Publication Date
- 2025-10-30
AI Technical Summary
In existing technologies, the negative feedback operation on media data is highly complex, resulting in low efficiency.
By responding to negative feedback operations on the media interface, an operation layer is displayed. The operation layer presents the negative feedback conditions, simplifies the operation path, and guides the negative feedback state until the conditions are met to display the negative feedback result.
It simplifies the negative feedback operation process, improves the efficiency of negative feedback of media data, and reduces the push of similar media data.
Smart Images

Figure CN2025083148_30102025_PF_FP_ABST
Abstract
Description
Media data processing methods, devices and equipment, media, and program products
[0001] This application claims priority to Chinese Patent Application No. 202410509428.2, filed on April 25, 2024, entitled “Method, Apparatus and Device for Processing Media Data, Medium, Program Product”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of computer technology, and more particularly to the field of multimedia display, specifically to a method for processing media data, a device for processing media data, a computer device, a computer-readable storage medium, and a computer program product. Background Technology
[0003] When an object (such as a user) browses media data in a media interface, it can provide negative feedback to indicate its disinterest in a certain type of media data, thereby reducing the probability of being pushed similar media data in the future. However, currently, negative feedback operations suffer from high operational complexity. For example, existing technologies typically include a negative feedback (i.e., "not interested") function control (or option) located in a menu panel. When an object provides negative feedback to media data (such as video) in the media interface, it needs to first locate and invoke the menu panel, find the negative feedback function control within the menu panel, and then perform a triggering operation (such as clicking or selecting) on that control to complete the negative feedback. Therefore, the current negative feedback setup path is too long and the operational complexity is high, resulting in low efficiency for negative feedback on media data. Summary of the Invention
[0004] This application provides a method, apparatus, device, medium, and program product for processing media data, which can reduce the operational complexity of negative feedback operations and improve the efficiency of negative feedback for media data.
[0005] On one hand, embodiments of this application provide a method for processing media data, which is executed by a terminal device, and the method includes:
[0006] The media interface is used to present the media stream.
[0007] In response to a negative feedback operation on the first media data in the media stream, an operation layer is displayed, which presents the negative feedback condition.
[0008] When the operation status of the negative feedback operation meets the negative feedback condition, the negative feedback result for the first media data is displayed.
[0009] On the other hand, embodiments of this application provide a media data processing apparatus, which operates in a terminal device, and the apparatus includes:
[0010] The display unit is used to display the media interface, which is used to present the media stream.
[0011] The display unit is also used to display an operation layer in response to a negative feedback operation on the first media data in the media stream, the operation layer presenting the negative feedback condition.
[0012] The display unit is also used to display the negative feedback result for the first media data when the operation state of the negative feedback operation meets the negative feedback condition.
[0013] On the other hand, embodiments of this application provide a computer device, which includes:
[0014] A processor is used to load and execute computer programs;
[0015] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned method for processing media data.
[0016] On the other hand, embodiments of this application provide a computer-readable storage medium storing a computer program adapted to be loaded by a processor and executed by the aforementioned media data processing method.
[0017] On the other hand, embodiments of this application provide a computer program product, which includes a computer program that, when executed by a processor, implements the aforementioned media data processing method.
[0018] This application embodiment can display a media interface for presenting a media stream. When a negative feedback operation is detected on the first media data in the media stream, an operation layer is displayed, which presents negative feedback conditions. Therefore, this application can proactively display the operation layer after recognizing the object's negative feedback intent, eliminating the need for the object to perform additional menu or function searches, thus shortening the negative feedback setup path. Furthermore, the operation layer also presents negative feedback conditions, which guide the operation state of the negative feedback operation, simplifying its complexity. When the operation state of the negative feedback operation meets the negative feedback conditions, the negative feedback result for the first media data is displayed. Guided by the negative feedback conditions, the negative feedback result for the first media data can be successfully obtained, achieving efficient negative feedback for media data and effectively improving the efficiency of negative feedback for media data. Attached Figure Description
[0019] Figure 1 is an architecture diagram of a media data processing system provided in an embodiment of this application;
[0020] Figure 2 is a flowchart illustrating a media data processing method provided in an embodiment of this application;
[0021] Figure 3a is an interactive scenario diagram provided in an embodiment of this application;
[0022] Figure 3b is another interactive scenario diagram provided in an embodiment of this application;
[0023] Figure 4 is a flowchart illustrating another media data processing method provided in an embodiment of this application;
[0024] Figure 5 is another interactive scenario diagram provided by an embodiment of this application;
[0025] Figure 6 is another interactive scenario diagram provided in an embodiment of this application;
[0026] Figure 7 is another interactive scenario diagram provided by an embodiment of this application;
[0027] Figure 8 is another interactive scenario diagram provided by an embodiment of this application;
[0028] Figure 9 is another interactive scenario diagram provided in an embodiment of this application;
[0029] Figure 10 is an interactive flowchart provided in an embodiment of this application;
[0030] Figure 11 is a schematic diagram of a media data processing device provided in an embodiment of this application;
[0031] Figure 12 is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0032] A media interface refers to the interface displayed when presenting a media stream. A media application can run on the terminal device, and this media interface can be hosted by any interface within the media application. A media application is an application with media playback functionality. For example, a media application can be presented as an application program. In one implementation, this application program can be a client installed on the terminal device; the client is a software application installed and running on the terminal device. In another implementation, the application program can also be an installation-free application, i.e., a lightweight application that can be used without downloading and installation. Such applications are also called applets, and they typically run as sub-programs on the client. The client is called the parent application, and the sub-program running on that client is called the child application. In yet another implementation, the application program can also refer to a web application opened through a browser, etc.
[0033] In this embodiment, a media stream may contain one or more media data. The media data in the media stream are arranged sequentially, and this order can be used to indicate the display order of the media data. For example, if the media stream contains media data 0, media data 1, and media data 2 arranged in sequence, this means that media data 0 is displayed before media data 1, and media data 1 is displayed before media data 2. Alternatively, the order of media data in the media stream can be used to indicate the generation (or publication) time sequence of the media data in the media application. If the media stream contains media data 0, media data 1, and media data 2 arranged in sequence, this means that media data 0 is generated (or published) before media data 1, and media data 1 is generated (or published) before media data 2. The content of any media data may include, but is not limited to: video content (e.g., short videos), audio content (e.g., music), text content (e.g., an article, a sentence), image content (e.g., paintings), and anything else that can be dynamically displayed in the media interface. A media interface is a user interface that responds to interactive operations, such as swiping up or down along the media interface to view various media data in the media stream. The first media data mentioned in this application's embodiments can be any media data in the media stream; for example, the first media data can refer to the media data currently being displayed in the media interface.
[0034] Please refer to Figure 1, which is an architecture diagram of a media data processing system provided in an embodiment of this application. The system includes a terminal device cluster and a server 102. The terminal device cluster may specifically include one or more terminal devices, as shown in Figure 1. The multiple terminal devices may include terminal device 101a, terminal device 101b, terminal device 101c, ..., terminal device 101n; the number of terminal devices in the terminal device cluster is not limited here. Terminal devices 101a, 101b, 101c, ..., 101n can be directly or indirectly connected to the server 102 via wired or wireless communication, so that each terminal device can interact with the server 102 through this network connection.
[0035] The type of any terminal device in the terminal device cluster may include, but is not limited to: smartphones, tablets, smart wearable devices, smart voice interaction devices, smart home appliances, personal computers, in-vehicle terminals, smart cameras, virtual reality devices (such as AR (Augmented Reality) devices), etc., and this application does not impose any limitations on this. It should be understood that each terminal device in the terminal device cluster shown in Figure 1 can run a media application. When a media application runs on each terminal device, it can interact with the server 102 shown in Figure 1. For example, media applications may include browsers, in-vehicle applications, smart home applications, entertainment applications, multimedia applications (such as short video applications, live streaming applications, etc.), social applications, and news applications, etc., that have media playback functions.
[0036] Server 102 is a service device used to provide media playback services. For example, server 102 can be a backend server for media applications. Server 102 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, but it is not limited to these.
[0037] The "object" refers to the user of the terminal device, or the user of the media application on the terminal device. For example, when an object wants to view media data in a media stream, it can trigger (e.g., click) the media application icon on the terminal device. After detecting the trigger operation on the media application icon, the terminal device launches the media application corresponding to the icon, displays the media interface, and requests the media stream from server 102. Server 102 can then use a real-time streaming protocol to send the media stream to the terminal device, which will then display the various media data in the media stream on the media interface. The Real-time Streaming Protocol (RTSP) is a network protocol used to control the transmission of streaming media.
[0038] In addition to displaying various media data in the media stream, the media interface can also display supplementary content related to the media data. This supplementary content may include, but is not limited to, any one or more of the following: media data publication information (e.g., publisher information, publication time), media data playback progress information (indicating the percentage of time the media data has been played relative to the total duration), and media data interaction information (e.g., the number of likes, favorites, and shares the media data has received).
[0039] When first media data (any media data in the media stream) is displayed in the media interface, if the user feels low interest in the first media data, a negative feedback operation can be performed on the first media data. The terminal device can respond to this negative feedback operation by displaying an operation layer. This negative feedback operation is a predetermined interactive operation on the media interface. For example, a negative feedback operation can refer to a swipe operation along the media interface (e.g., a swipe operation with a swipe speed less than a preset speed). For example, a negative feedback operation can refer to a hover gesture operation (i.e., an operation without touching the screen of the terminal device). For example, a negative feedback operation can also be any preset operation, such as a touch operation with a specific trajectory on the media interface. Unless otherwise specified, this application embodiment uses a swipe operation along the media interface as an example for illustrating the negative feedback operation.
[0040] In the system shown in Figure 1, the terminal device can display a media interface for presenting a media stream. While the terminal interface is displaying first media data from the media stream, if a negative feedback operation on the first media data is detected (e.g., a sliding operation with a sliding speed less than a preset speed along the media interface), an operation layer can be displayed in response to this negative feedback operation. A layer refers to a way of organizing and managing interface elements in a UI (User Interface). In this embodiment, the operation layer refers to a component or plane that appears during a specific operation (such as a negative feedback operation) and can interact with an object in some form. This operation layer presents negative feedback conditions, which are conditions used to guide the operation state of the negative feedback operation to ensure successful negative feedback. For example, the negative feedback conditions can be used to prompt the dynamic adjustment of the operation position of the negative feedback operation to the area of the operation layer to successfully provide negative feedback to the first media data. Therefore, the negative feedback conditions can guide the object to adjust the operation state (such as the operation position) of the negative feedback operation to provide negative feedback to the first media data. When the operation status of a negative feedback operation meets the negative feedback conditions (such as detecting that the operation position of the negative feedback operation is within the area of the operation layer), the negative feedback result for the first media data can be displayed (such as a message indicating successful negative feedback). Server 102 will subsequently reduce the amount of media data of the same type as the first media data being pushed.
[0041] Therefore, in this embodiment, when the object performs negative feedback on media data, it only needs to perform the negative feedback operation along the media interface and wait for the operation layer to appear actively. The object does not need to perform additional menu or function searches, which shortens the setting path of negative feedback. The negative feedback conditions presented in the operation layer can guide the operation state of the negative feedback operation, which simplifies the operation complexity of the negative feedback operation. With the guidance of the negative feedback conditions, the negative feedback result for the first media data can be obtained smoothly, realizing efficient negative feedback for media data and effectively improving the efficiency of negative feedback for media data.
[0042] The media data processing system and the media data processing method implemented based on the media data processing system of this application embodiment are applicable to various media push scenarios, including but not limited to: live streaming scenarios, short video scenarios, content sharing scenarios, etc. For example, in a live streaming scenario, the media data in the media stream refers to the media data broadcast live in a live streaming room. When an audience is not interested in a particular live streaming room, negative feedback can be implemented for that live streaming room to reduce the push of similar live streaming rooms. In a short video scenario, the media data in the media stream refers to short videos (video data ranging from a few seconds to a few minutes pre-recorded). When an audience is not interested in a particular short video, negative feedback can be implemented for that short video to reduce the push of similar short videos. In a content sharing scenario, the media data in the media stream refers to content push data (such as sharing via text, images, video notes, etc.). When an audience is not interested in a particular content push data, negative feedback can be implemented for that content push data to reduce the push of similar content push data.
[0043] The data collection and processing in this application embodiment should strictly comply with the requirements of relevant laws and regulations. Obtaining personal information requires the knowledge or consent of the individual (or a legal basis for information acquisition), and subsequent data use and processing should be carried out within the scope of laws, regulations, and the authorization of the personal information subject. For example, when this application embodiment is applied to specific products or technologies, permission or consent from the subject is required, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant region.
[0044] The media data processing method provided in the embodiments of this application will be described next.
[0045] Please refer to Figure 2, which is a flowchart illustrating a media data processing method provided in an embodiment of this application. This media data processing method can be executed by a terminal device, for example, by any terminal device in the terminal device cluster shown in Figure 1. The media data processing method includes, but is not limited to, steps S201-S203:
[0046] S201. Display media interface, which is used to present media streams.
[0047] The terminal device runs a media application. The media interface can be any interface within the media application, including but not limited to: the main interface of the media application, the media push interface of the media application, the personal homepage interface of the media application, the collection portfolio display interface of the media application, the shared portfolio display interface of the media application, etc. The media interface can be used to present a media stream, which typically contains multiple media data. The media data in the media stream are arranged sequentially. The object can switch between viewing the different media data in the media stream through a switching operation. For example, the media stream contains media data 0, media data 1, and media data 2 arranged in sequence. In the media interface of the short video application, media data 1 is currently displayed. In response to the object's swipe up along the media interface, media data 2 can be switched to be displayed (i.e., switched to the media data after media data 1 in the media stream); in response to the object's pull down along the media interface, media data 0 can be switched to be displayed (i.e., switched to the media data before media data 1 in the media stream). The media data can be sent by the server or stored locally on the terminal device. The data type of the media data can include one or more of the following: text, audio, video, and images, etc. When the media data type is video or audio, the media interface usually displays only one media data in the media stream. You can switch between displaying different media data in the media stream by using switching operations (such as swiping up or down along the media interface in the example above). When the media data type is text or image, the media interface can usually display one or more media data in the media stream. For example, a group (multiple) of images can be displayed simultaneously in the media interface. You can switch between displaying the images in groups by using switching operations (such as swiping left or right along the media interface).
[0048] S202. In response to a negative feedback operation on the first media data in the media stream, display an operation layer that presents the negative feedback condition.
[0049] In this embodiment, "responding to" indicates the conditions or states upon which the execution of an action (such as displaying an operation layer) depends. When the conditions or states are met, the action can be performed in real time or with a set delay. The first media data can be the media data currently displayed in the media interface, and it can be any media data in the media stream. When only the first media data is currently displayed in the media interface, the negative feedback operation performed by the object can be a negative feedback operation targeting the first media data. When multiple media data (including the first media data) are currently displayed in the media interface, the object needs to indicate the media data targeted by the negative feedback operation. For example, the object can mark the first media data as selected (e.g., by long-pressing the first media data). When the object performs a negative feedback operation along the media interface, it can be determined that it is a negative feedback operation targeting the first media data.
[0050] When an object encounters media data it dislikes, it can trigger the display of an operation layer using a negative feedback operation. The negative feedback operation is a predefined interactive action; for example, it can be set as a swipe operation along the media interface. Considering that swipe operations are typically used to trigger media data switching in existing media interfaces, when the negative feedback operation is set as a swipe operation along the media interface, it is necessary to identify whether the object's intention is to browse other media data (i.e., switch media data display) or to provide negative feedback to the currently browsed media data. In one feasible implementation, the object's intention can be identified by the operation duration and distance of the negative feedback operation. For example, if the operation distance of the negative feedback operation is less than a first preset distance threshold, or the operation duration of the negative feedback operation is less than a first preset duration threshold, it can be identified that the object's intention is to browse other media data (i.e., switch media data display); conversely, if the operation distance of the negative feedback operation reaches the first preset distance threshold, and the operation duration of the negative feedback operation reaches the first preset duration threshold, it can be identified that the object's intention is to provide negative feedback to the currently browsed media data. The first preset distance threshold can be set manually as needed (e.g., based on the user's operating habits) or by the system (e.g., based on system experience or statistical results); the first preset duration threshold can also be set manually or by the system. This application does not limit the setting method. In this step, when a negative feedback operation is detected, the operation duration and operation distance of the negative feedback operation can be obtained. The operation duration is the time period counted from the start time of the operation, and the operation distance is the straight-line distance between the start position of the operation on the media interface and the landing position of the operation on the media interface. When the operation distance of the negative feedback operation reaches the first preset distance threshold and the operation duration of the negative feedback operation reaches the first preset duration threshold, it is determined that the object needs negative feedback, and the operation layer is displayed.
[0051] In one implementation, when the operation distance of the negative feedback operation reaches a first preset distance threshold and the operation duration of the negative feedback operation reaches a first preset duration threshold, the operation layer is displayed. This includes: when the operation distance of the negative feedback operation is equal to the first preset distance threshold, determining whether the operation duration of the negative feedback operation is greater than or equal to the first preset duration threshold; if the operation duration of the negative feedback operation is greater than or equal to the first preset duration threshold, then the operation layer is displayed. For example, if the first preset duration threshold is 3 seconds and the first preset distance threshold is 3 centimeters; when the operation distance of the negative feedback operation reaches 3 centimeters, and the obtained operation duration of the negative feedback operation is 5 seconds (greater than 3 seconds), then the operation layer can be displayed. In another implementation, when the operation distance of the negative feedback operation reaches the first preset distance threshold and the operation duration of the negative feedback operation reaches the first preset duration threshold, the operation layer is displayed. This includes: when the operation duration of the negative feedback operation is equal to the first preset duration threshold, determining whether the operation distance of the negative feedback operation is greater than or equal to the first preset distance threshold; if the operation distance of the negative feedback operation is greater than or equal to the first preset distance threshold, then the operation layer is displayed. If the first preset duration threshold is 3 seconds and the first preset distance threshold is 3 centimeters, when the operation duration of the negative feedback operation reaches 3 seconds, and the operation distance of the negative feedback operation is obtained to be 5 centimeters (greater than 3 centimeters), then the operation layer can be displayed.
[0052] In another feasible implementation, the object's intent can be identified by the operation speed of the negative feedback operation. For example, if the operation speed of the negative feedback operation is greater than or equal to a preset speed, it can be identified that the object's intent is to browse other media data (i.e., switch the displayed media data); conversely, if the operation speed of the negative feedback operation is lower than the preset speed, it can be identified that the object's intent is to provide negative feedback to the currently browsed media data. The operation speed is used to reflect the magnitude of the operation distance per unit time. Schematic, when the negative feedback operation is set as a swipe operation, the operation speed of the negative feedback operation refers to the swipe speed.
[0053] When it is determined that the object intends to switch the display of media data in the media interface, the switching of media data can be determined based on the operation direction of the negative feedback operation. The operation direction of the negative feedback operation includes, but is not limited to, any one or more of the following: swiping up (swiping from bottom to top along the media interface (or along the screen of the terminal device), swiping down (swiping from top to bottom along the media interface (or along the screen of the terminal device), swiping left (swiping from right to left along the media interface (or along the screen of the terminal device), and swiping right (swiping from left to right along the media interface (or along the screen of the terminal device)). As shown in Figure 3a (which is an interactive scenario diagram provided in the embodiment of this application), when the operation direction of the negative feedback operation is swiping up, the next media data (i.e., media data 2) of media data 1 in the media stream can be displayed.
[0054] Therefore, in this embodiment, the negative feedback operation can be set as a sliding operation along the media interface, and an object intent discrimination method based on the sliding operation is designed. The object intent is identified by the operation state of the sliding operation, so as to decide whether to display the operation layer or switch media data. This design can avoid affecting the original interactive function of the media interface, and also allow the object to provide negative feedback through an existing, natural and habitual operation.
[0055] In one implementation, the display position of the operation layer can be any position within the media interface. For example, the display position can be determined by the direction of the negative feedback operation. When the negative feedback operation is an upward swipe, the operation layer can be displayed at the top edge of the media interface; when the negative feedback operation is a downward swipe, the operation layer can be displayed at the bottom edge of the media interface; when the negative feedback operation is a rightward swipe, the operation layer can be displayed at the left edge of the media interface; and when the negative feedback operation is a leftward swipe, the operation layer can be displayed at the right edge of the media interface. In another implementation, the display position of the operation layer can be a pre-defined fixed display position. When the direction of the negative feedback operation is towards this fixed display position, the operation layer can be displayed. For example, if the pre-defined fixed display position is the top edge of the media interface, when an upward swipe is detected as the negative feedback operation, the operation layer is displayed at the top edge of the media interface.
[0056] The operation layer is displayed at a higher level than the media interface, meaning it is displayed on top of the media interface to enable interaction with objects. For example, the operation layer can be a component of any shape displayed as a floating layer (or active panel), as shown in Figure 3b (an interactive scenario diagram provided in this embodiment). The operation layer consists of floating boxes 3201, floating bubbles 3202, and floating balls 3203. The operation layer can be displayed opaquely (0% transparency) or semi-transparently (50% transparency). The color of the operation layer can be any color; this application does not limit the display form (e.g., transparency or color) of the operation layer.
[0057] The area of the operation layer can be smaller than the area displayed in the media interface, as shown in Figure 3a. The operation layer 3101 can occupy only a small portion of the media interface, thus reducing the interference of the operation layer on the media interface. Optionally, when the area of the operation layer is set to not be dynamically changed, a larger area can be set for the operation layer to facilitate interaction between the object and the operation layer. The operation layer presents negative feedback conditions. For example, the negative feedback conditions can be used to prompt the object that it expects negative feedback for the first media data, and the negative feedback operation can be kept uninterrupted by dynamically adjusting the operation position of the negative feedback operation to the area of the operation layer.
[0058] S203. When the operation status of the negative feedback operation meets the negative feedback condition, the negative feedback result for the first media data is displayed.
[0059] In one implementation, when the operation position of the negative feedback operation enters the area of the operation layer after dynamic adjustment, it can be determined that the operation state of the negative feedback operation meets the negative feedback condition, the negative feedback result for the first media data is displayed, and the operation layer can be hidden. This negative feedback result can be used to indicate that the negative feedback for the first media data is successful. Successful negative feedback indicates that the object initiating the negative feedback operation has a lower interest level in the first media data than an interest threshold (i.e., the object is not interested in the first media data). The form of the negative feedback result includes, but is not limited to: vibration feedback, audio-visual feedback, and graphic feedback. For example, the negative feedback result may include vibration and text (such as the text information "This type of recommendation will be reduced"). The object can withdraw the negative feedback operation upon receiving the negative feedback result. Hiding the operation layer may include deleting the operation layer or setting the transparency of the operation layer to 100% (in which case the display level of the operation layer also needs to be adjusted to be lower than the display level of the media interface to avoid misinterpreting interactive operations on the media interface as interactive operations on the operation layer).
[0060] In one implementation, when the negative feedback result of the first media data indicates that the negative feedback for the first media data was successful, the first media data can be deleted from the media stream, and the first media data displayed in the media interface can be switched to the second media data. The second media data can be selected based on the order of the media data in the media stream, according to the operation direction of the negative feedback operation. For example, if the operation direction of the negative feedback operation is upward, media data 1 in the media interface can be switched to the next media data 2 in the media stream; if the operation direction of the negative feedback operation is downward, media data 1 in the media interface can be switched to the next media data 0 in the media stream.
[0061] When the negative feedback result of the first media data indicates that the negative feedback for the first media data is successful, the terminal device can reduce the push of media data of the same type as the first media data. For example, if the server obtains the target category to which the first media data belongs, it can delete the media data belonging to the target category in the media stream to obtain an updated media stream, which the terminal device can then play. Optionally, the server can also add some other media data that does not belong to the target category after deleting the media data belonging to the target category in the media stream to obtain an updated media stream. The target category of the first media data can include any one or more of the following: a custom tag when uploading the first media data, or a tag obtained through manual content analysis and machine content analysis. For example, please refer to the interaction diagram shown in Figure 3a. When the object's finger performs an upward swipe negative feedback operation along the media interface, an operation layer 3101 (presented as a floating window) can be displayed on the upper edge of the media interface. The operation layer 3101 displays negative feedback conditions, such as the text "Drag here to set as not interested". The operation layer 3101 can descend along the media interface as the object slides upwards to approach the object's finger. The object can continue to slide upwards until the finger enters the area of the operation layer 3101 (i.e., the operation position of the negative feedback operation enters the area of the operation layer 3101). At this time, the negative feedback operation meets the negative feedback conditions, and the negative feedback result 3102 can be displayed. For example, the negative feedback result 3102 includes the text "This type of recommendation will be reduced" to indicate that the negative feedback was successful. The object can then remove its finger from the media interface.
[0062] When the negative feedback operation's state does not meet the negative feedback condition (i.e., the operation position of the negative feedback operation has not entered the area of the operation layer), the negative feedback operation is withdrawn. For example, if the object releases its finger and leaves the media interface before the finger enters the area of operation layer 3101 shown in Figure 3a, the negative feedback operation is withdrawn, indicating that the object abandons negative feedback on the first media data, and the operation layer can be hidden. At this time, the first media data displayed in the media interface can be switched to other media data according to the arrangement order of the media data in the media stream and based on the operation direction of the negative feedback operation.
[0063] This application embodiment can display a media interface for presenting a media stream. When a negative feedback operation is detected on the first media data in the media stream, an operation layer is displayed, which presents negative feedback conditions. Therefore, this application can proactively display the operation layer after recognizing the object's negative feedback intent, eliminating the need for the object to perform additional menu or function searches, thus shortening the negative feedback setup path. Furthermore, the operation layer also presents negative feedback conditions, which guide the operation state of the negative feedback operation, simplifying its complexity. When the operation state of the negative feedback operation meets the negative feedback conditions, the negative feedback result for the first media data is displayed. Guided by the negative feedback conditions, the negative feedback result for the first media data can be successfully obtained, achieving efficient negative feedback for media data and effectively improving the efficiency of negative feedback for media data.
[0064] Please refer to Figure 4, which is a flowchart illustrating another media data processing method provided in this application embodiment. This media data processing method can be executed by a terminal device, for example, by any terminal device in the terminal device cluster shown in Figure 1. The media data processing method includes, but is not limited to, steps S401-S404:
[0065] S401, Display media interface, which is used to present media streams.
[0066] Media streaming is a data format that continuously provides content, including but not limited to: video data streams (consisting of one or more video data), audio data streams (consisting of one or more audio data), text data streams (consisting of one or more text data), and image data streams (consisting of one or more image data). This media stream can be presented by a media interface within a media application. The media interface can be any interface capable of displaying media data, such as a media application's media push interface, a media application's personal homepage interface, a media application's collection of works display interface, or a media application's shared works display interface. Media applications can include, but are not limited to, social applications, live streaming applications, audio and video applications, educational applications, shopping applications, and other applications with media playback services. Currently, many popular media applications are short video applications. The main working principle of short video applications is that the terminal device running the short video application pulls a media stream (containing multiple short videos) from a server and displays it in the media interface of the media application. Users can switch between different short videos within the media interface (e.g., by swiping up or down along the media interface). This application embodiment uses a short video application as an example for illustration.
[0067] S402, In response to a negative feedback operation on the first media data in the media stream, a first-mode operation layer is displayed, in which the negative feedback condition is presented.
[0068] The display level of the operation layer in the first form can be higher than that of the media interface. For example, the operation layer in the first form is a component of any shape displayed as a floating layer (or active panel), such as a floating frame, floating bubble, or floating ball. This application embodiment uses a floating frame as an example to illustrate the operation layer in the first form. The operation layer can be displayed in an opaque or semi-transparent form. The color of the operation layer can be any color, and this application does not limit this. The area of the operation layer in the first form is smaller than the area of the display area in the media interface. The operation layer in the first form presents a negative feedback condition. For example, this negative feedback condition can be used to prompt the user that if they wish to initiate negative feedback on the first media data, the negative feedback operation can be kept uninterrupted, and the operation position of the negative feedback operation can be dynamically adjusted to the area of the operation layer.
[0069] The first media data refers to the media data currently displayed in the media interface. Taking the display of the first media data in the media interface and the negative feedback operation as a sliding operation along the media interface as an example, this application embodiment can determine that a negative feedback operation targeting the first media data in the media stream has been detected when a sliding operation is detected on the media interface. The operation status of the negative feedback operation (e.g., including the operation duration and operation distance) can be obtained. When the operation duration of the negative feedback operation reaches a first preset duration threshold and the operation distance of the negative feedback operation reaches a first preset distance threshold, a first-form operation layer is displayed. Wherein, the operation duration of the negative feedback operation reaching the first preset duration threshold includes an operation duration greater than or equal to the first preset duration threshold; the operation distance of the negative feedback operation reaching the first preset distance threshold includes an operation distance greater than or equal to the first preset distance threshold.
[0070] In one implementation, when the operation distance of the negative feedback operation is equal to a first preset distance threshold, it can be determined whether the operation duration of the negative feedback operation is greater than or equal to a first preset duration threshold. If the operation duration of the negative feedback operation is greater than or equal to the first preset duration threshold, then the operation layer of the first form is triggered to be displayed. Alternatively, when the operation duration of the negative feedback operation is equal to the first preset duration threshold, it can be determined whether the operation distance of the negative feedback operation is greater than or equal to the first preset distance threshold. If the operation distance of the negative feedback operation is greater than or equal to the first preset distance threshold, then the operation layer of the first form is displayed.
[0071] In one feasible implementation, the operation state of the negative feedback operation may further include the operation direction of the negative feedback operation. When the sliding duration of the negative feedback operation does not reach a first preset duration threshold (i.e., the operation duration of the negative feedback operation is less than the first preset duration threshold), or the operation distance of the negative feedback operation does not reach a first preset distance threshold (i.e., the operation distance of the negative feedback operation is less than the first preset distance threshold), if the negative feedback operation is withdrawn, media data can be selected according to the arrangement order of each media data in the media stream, based on the operation direction of the negative feedback operation, and the selected media data can be presented in the media interface. The operation direction of the negative feedback operation includes, but is not limited to, any one or more of the following: sliding up, sliding down, sliding left, and sliding right; for example, if the media stream includes media data 0, media data 1, and media data 2 arranged in sequence, and the operation direction of the negative feedback operation is sliding up, the currently displayed media data 1 can be switched to the next media data 2 in the media stream; if the operation direction of the negative feedback operation is sliding down, the currently displayed media data 1 can be switched to the previous media data 0 in the media stream.
[0072] For example, please refer to the interaction scenario diagram shown in Figure 5. Assuming the first preset duration threshold is t (greater than 0) seconds and the first preset distance threshold is d (greater than 0) centimeters, as shown in Figure 5, when the object's finger slides upwards on the media interface to a distance of d centimeters, the operation duration from when the object's finger lands on the media interface to when it slides d centimeters can be obtained. If the operation duration is greater than or equal to t seconds, the first form of the operation layer 5101 is displayed. If the object's finger leaves the media interface before sliding to d centimeters, or if the obtained operation duration is less than t seconds, the next media data (i.e., media data 2) of media data 1 in the media stream can be retrieved and displayed on the media interface.
[0073] In one embodiment, the operation direction of the negative feedback operation includes a first direction along the media interface, which can be any direction on the media interface. In this embodiment, the operation layer of the first form can be displayed along a second direction along the media interface. The second direction can be different from the first direction; that is, the second direction can be any direction different from the first direction. For example, if the first direction is upward from the top, the second direction can be from left to right. Alternatively, the second direction can be the opposite of the first direction. As shown in Figure 6A, when the operation direction of the negative feedback operation is upward sliding, the operation layer of the first form can be displayed from top to bottom along the media interface; as shown in Figure 6B, when the operation direction of the negative feedback operation is downward sliding, the operation layer of the first form can be displayed from bottom to top along the media interface; as shown in Figure 6C, when the operation direction of the negative feedback operation is right sliding, the operation layer of the first form can be displayed from right to left along the media interface; as shown in Figure 6D, when the operation direction of the negative feedback operation is left sliding, the operation layer of the first form can be displayed from left to right along the media interface. It can be seen that this embodiment designs a more convenient and intuitive display method for the first form of the operation interface.
[0074] In one feasible implementation, the display position of the first-form operation layer is a pre-defined fixed display position. Therefore, when the direction of the negative feedback operation is towards this fixed display position, the first-form operation layer is triggered to be displayed. For example, if the first-form operation layer is displayed at the top edge of the media interface, then when a negative feedback operation is detected as a sliding operation that slides upwards along the media interface, the first-form operation layer is displayed at the top edge of the media interface.
[0075] In one embodiment, when the operation distance of the negative feedback operation changes, the display form of the first-form operation layer can be controlled to change accordingly. It should be noted that the operation distance of the negative feedback operation refers to the distance slid in the direction pointing towards the first-form operation layer. When the operation distance of the negative feedback operation is greater than a first preset distance threshold, the area of the first-form operation layer increases synchronously with the increase in the operation distance. As shown in 7101 and 7102 of Figure 7 (an interactive scenario diagram provided in this application embodiment), when the object's finger slides upward on the media interface, the operation distance and operation duration of the negative feedback operation can be obtained. When the operation distance of the negative feedback operation reaches the first preset distance threshold and the operation duration of the negative feedback operation reaches the first preset duration threshold, the first-form operation layer (i.e., the interface shown in 7102 of Figure 7) can be triggered to display downwards from the top in the media interface. As the negative feedback operation continues to slide upwards, the height of the first-form operation layer gradually increases with the increase in the sliding distance (i.e., the interface shown in 7103 of Figure 7) to accommodate the object's finger and facilitate operation. Furthermore, when the operation distance of the negative feedback operation is greater than the first preset distance threshold, the area of the operation layer of the first form can be reduced synchronously as the operation distance of the negative feedback operation decreases. As shown in 7104 of Figure 7 (an interactive scene diagram provided in the embodiment of this application), when the negative feedback operation slides down, the height of the operation layer of the first form gradually increases as the sliding distance decreases, so as to move away from the object's finger.
[0076] Optionally, when increasing the area of the operation layer in the first form, the increase in area per unit time can be determined based on the operation speed of the negative feedback operation. For example, the increase in area per unit time can be positively correlated with the operation speed of the negative feedback operation. For instance, if the operation layer in the first form is a floating frame, the faster the operation speed of the negative feedback operation, the faster the height of the floating frame can be increased while keeping the width of the floating frame constant; conversely, the slower the operation speed of the negative feedback operation, the slower the height of the floating frame can be increased. Alternatively, the area of the operation layer in the first form can be increased at a uniform rate. If the operation layer in the first form is a floating frame, the height of the floating frame can be increased at a uniform rate as the operation distance of the negative feedback operation increases.
[0077] Optionally, when reducing the area of the operation layer in the first form, the reduction area per unit time can be determined based on the operation speed of the negative feedback operation. For example, the reduction area per unit time can be positively correlated with the operation speed of the negative feedback operation. For instance, if the operation layer in the first form is a floating frame, the faster the operation speed of the negative feedback operation, the faster the height of the floating frame can be reduced while keeping the width of the floating frame constant; conversely, the slower the operation speed of the negative feedback operation, the slower the height of the floating frame can be reduced. Alternatively, the area of the operation layer in the first form can be reduced at a uniform speed; if the operation layer in the first form is a floating frame, the height of the floating frame can be reduced at a uniform speed as the operation distance of the negative feedback operation decreases.
[0078] In one feasible implementation, when the operation distance of the negative feedback operation changes, the display form of the operation layer in the first form changes accordingly. This further includes setting a second preset distance threshold. When the operation distance of the negative feedback operation reaches the second preset distance threshold (greater than the first preset distance threshold), the operation layer is changed from the first form to the second form. The second form is a different display form from the first form, and this difference includes at least one of the following: different area, different display position (e.g., the operation layer in the first form is displayed on the upper side of the media interface, while the operation layer in the second form is displayed on the lower side), different display shape (e.g., the operation layer in the first form is a floating window, while the operation layer in the second form is a floating ball), different display color (e.g., the operation layer in the first form is semi-transparent (50% transparency), while the operation layer in the second form is opaque (0% transparency)), and different displayed information (e.g., the operation layer in the second form may contain more graphic and textual information). Optionally, the area and display position of the operation layer in the second form can be the same as the area and display position of the operation layer in the first form when the operation distance of the negative feedback operation reaches the second preset distance threshold. As shown in Figures 8101 and 8102 (which is an interactive scene diagram provided in the embodiment of this application), when the object's finger slides upward on the media interface, the operation distance and operation duration of the negative feedback operation can be obtained. When the operation distance of the negative feedback operation reaches a first preset distance threshold and the operation duration of the negative feedback operation reaches a first preset duration threshold, a first-form operation layer (i.e., the interface shown in Figure 8102) can be displayed downward from the top of the media interface. When the negative feedback operation continues to slide upward, the area of the first-form operation layer can be increased (i.e., the interface shown in Figure 8103). When the sliding operation of the negative feedback operation reaches a second preset distance threshold, a second-form operation layer as shown in Figure 8104 can be displayed.
[0079] S403. When the operation status of the negative feedback operation meets the negative feedback condition, the negative feedback result for the first media data is displayed.
[0080] The operation status of a negative feedback operation includes its position. A negative feedback condition indicates that the operation position of the negative feedback operation will be dynamically adjusted until it enters the area of the operation layer in the first form, or vice versa, until it enters the area of the operation layer in the second form. In other words, when the operation position of the negative feedback operation enters the area of the operation layer (first or second form) after dynamic adjustment, the operation status of the negative feedback operation is considered to meet the negative feedback condition. At this point, the negative feedback result for the first media data can be displayed, and the operation layer (first or second form) can be hidden. This negative feedback result can be used to indicate that the negative feedback for the first media data was successful. Successful negative feedback indicates that the object initiating the negative feedback operation has a lower interest level in the first media data than the interest threshold (i.e., the object is not interested in the first media data). The form of the negative feedback result includes, but is not limited to: vibration feedback, audio-visual feedback, and graphic feedback. For example, if the negative feedback result includes vibration and text ("This type of recommendation has been reduced"), the object can withdraw the negative feedback operation upon receiving the negative feedback result. Hiding the operation layer (first form or second form) may include deleting the operation layer, or setting the transparency of the operation layer (first form or second form) to be greater than a preset transparency threshold (e.g., 100%). (At this time, the display level of the operation layer (first form or second form) also needs to be adjusted to be lower than the display level of the media interface to avoid misjudging the interactive operation on the media interface as an interactive operation on the operation layer (first form or second form).
[0081] In one implementation, when a negative feedback operation is performed before the negative feedback condition is met, if the negative feedback operation is withdrawn (e.g., the operation position of the negative feedback operation does not enter the area of the operation layer (first form or second form)), the operation layer (first form or second form) is hidden. The operation layer (first form or second form) can float above the media interface. Hiding the operation layer (first form or second form) can include deleting the operation layer (first form or second form); or changing the transparency parameter of the operation layer (first form or second form) to make it transparent (in this case, the display level of the operation layer (first form or second form) also needs to be adjusted to be lower than the display level of the media interface to avoid misinterpreting interactive operations on the media interface as interactive operations on the operation layer (first form or second form)).
[0082] In one feasible implementation, when the operation state of the negative feedback operation meets the negative feedback condition, a third-form operation layer can be displayed. This third-form operation layer presents a negative feedback termination condition, which can be used to prompt the object to withdraw the negative feedback operation (e.g., releasing a finger, causing the finger that triggered the negative feedback operation to leave the media interface), thus initiating negative feedback on the first media data. The form of this negative feedback termination condition includes vibration feedback, graphic feedback, etc. When the operation state of the negative feedback operation meets the negative feedback termination condition (i.e., when the negative feedback operation is withdrawn, it is determined that the negative feedback termination condition is met), a fourth-form operation layer can be displayed, presenting an indication of successful negative feedback; the third and fourth forms are different display forms. As shown in 9101 of Figure 9 (an interactive scenario diagram provided in this application embodiment), when the object's finger slides upwards on the media interface and enters the second-form operation layer, vibration and the negative feedback termination condition shown in 9102 of Figure 9 can be displayed. When the negative feedback operation is withdrawn, the fourth-form operation layer shown in 9103 of Figure 9 can be displayed. The operation layer of the fourth form can be hidden in response to the display duration of the operation layer of the fourth form reaching a second preset duration threshold, or in response to a media playback operation on a media stream. Hiding the operation layer of the fourth form may include deleting the operation layer of the fourth form; or, changing the transparency parameter of the operation layer of the fourth form to make the transparency of the operation layer of the fourth form higher than a preset transparency threshold (the preset transparency threshold can be set according to actual needs, such as 80%, 90%, etc.), so that the operation layer of the fourth form appears transparent.
[0083] In one implementation, if the negative feedback operation satisfies the negative feedback condition (i.e., the operation position of the negative feedback operation enters the area of the operation layer of the second form, at which point the operation layer of the second form changes to the operation layer of the third form), the negative feedback operation is maintained and slid out of the area of the operation layer (i.e., the operation position of the negative feedback operation is adjusted to be outside the area of the operation layer), then the operation layer of the third form is restored back to the operation layer of the second form.
[0084] S404. If the negative feedback result indicates that the negative feedback for the first media data is successful, then delete the first media data in the media stream, select the second media data according to the order of the media data in the media stream, based on the operation direction of the negative feedback operation, and present the second media data in the media interface.
[0085] In one implementation, when the negative feedback result of the first media data indicates that the negative feedback for the first media data was successful, the first media data can be deleted from the media stream, and the first media data displayed in the media interface can be switched to the second media data. The second media data can be selected based on the order of the media data in the media stream, according to the operation direction of the negative feedback operation. For example, if the operation direction of the negative feedback operation is upward, media data 1 in the media interface can be switched to the next media data 2 in the media stream; if the operation direction of the negative feedback operation is downward, media data 1 in the media interface can be switched to the next media data 0 in the media stream.
[0086] In one implementation, if the negative feedback result indicates that the negative feedback for the first media data was successful, a media stream update request is sent to the server. This request requests the server to update the media stream based on the negative feedback result; the updated media stream is then played in the media interface. The process of the server updating the media stream based on the negative feedback result includes: the server obtaining the target category to which the first media data belongs; the server deleting all media data belonging to the target category from the media stream; and the server retrieving other media data not belonging to the target category from the media library and adding them to the media stream to obtain the updated media stream. The target category of the first media data can include any one or more of the following: a custom tag defined when uploading the first media data, or tags obtained through manual content analysis and machine content analysis.
[0087] In another implementation, when the negative feedback operation's state does not meet the negative feedback condition, the negative feedback operation is withdrawn (e.g., releasing a finger, causing the finger that triggered the negative feedback operation to leave the media interface). This indicates that the object abandons providing negative feedback to the first media data, and the operation layer can be hidden. In this case, the operation direction based on the negative feedback operation can also be used to switch the first media data displayed in the media interface to other media data, according to the order of the media data in the media stream.
[0088] To identify the object's intent through operation duration and distance during each swipe operation, this application embodiment uses a state machine. Taking an upward swipe as an example of a negative feedback operation, each operation is divided into the following states: A - Initial state, B0 - Swipe distance recognition state, B1 - Swipe duration recognition state, C0 - Panel appearance state (i.e., the first form of the operation layer), C1 - Panel expansion state (i.e., the area of the first form of the operation layer changes with the operation distance of the negative feedback operation, and when the operation distance of the negative feedback operation reaches a second preset distance, the second form of the operation layer is displayed), C2 - Panel selection state (i.e., the third form of the operation layer), D - Uninterested marker state (i.e., the fourth form of the operation layer). Please refer to Figure 10, which is an interaction flowchart provided by this application embodiment; as shown in Figure 10, the object is in the initial state (A) when it is not touching the screen. When the object's finger begins to touch the screen, it enters the upward swipe distance recognition state (B0). In the upward swipe distance recognition state (B0), the distance the object's finger swipes on the screen is recognized. If the object's swipe distance does not reach the first preset distance threshold, and the object's finger leaves the screen (referred to as releasing), a media data switching event is triggered. If the object's swipe distance reaches the first preset distance threshold, it enters the B1 swipe duration recognition state. In the B1 swipe duration recognition state, the duration of the object's finger touching the screen is recognized. If the touch duration does not reach the first preset time threshold, a media data switching event is triggered. If the touch duration reaches the first preset time threshold, it enters the C0 panel appearance state. In the C0 panel appearance state, the first-form operation layer at the top is brought up, and the object is prompted to drag their finger to the top to trigger a negative feedback event. If the object releases their finger without continuing to drag it to the top panel, the operation layer collapses, and a media data switching event is triggered. If the user continues to drag their finger upward, it enters the C1 panel expansion state. In the C1 panel expansion state, the swipe distance of the object's finger is recognized, and the area of the first-form operation layer is increased synchronously according to the swipe distance. When the swipe distance reaches the second preset distance threshold, the operation layer changes from the first form to the second form. If the user's finger leaves the screen without touching the operation layer, the operation layer is collapsed, and a media data switching event is triggered. If the user continues to drag their finger upwards and touches the operation layer, the C2 panel is selected. In the C2 panel selected state, the icon and text of the operation layer change, prompting the user to release their finger to trigger a negative feedback event (i.e., the negative feedback termination condition). If the user releases their finger within the operation layer's area, the D (uninterested) marking state is entered. If the user's finger slides down and leaves the operation layer's area, the system returns to the C1 panel expanded state. In the D (uninterested) marking state, the terminal device sends a marking request to the server, marking the corresponding viewed media data as uninteresting.After successful marking, the media data is removed from the current media stream, the top operation panel is collapsed, and the push of subsequent media data of the same type is reduced, eventually returning to the initial state A. Thus, by slowly swiping a short distance, the object can trigger the display of the first-form operation layer. This first-form operation layer can be used for beginner education, guiding users of the negative feedback function for the first time. As the object continues to swipe, the area of the first-form operation layer can gradually increase to accommodate the object's finger, making it easier for those who want negative feedback to operate. When the object's finger touches the operation layer, it vibrates and indicates that the negative feedback was successful when the finger leaves the screen. The currently displayed media data is removed, and the next media data is pushed. The entire interaction process is smooth and natural, conforming to the object's cognition and habits, reducing the complexity of the object's operation, and improving the efficiency of negative feedback for media data.
[0089] This application embodiment can display a media interface for presenting a media stream. When a negative feedback operation is detected on the first media data in the media stream, an operation layer is displayed, which presents negative feedback conditions. Therefore, this application can proactively display the operation layer after recognizing the object's negative feedback intent, eliminating the need for the object to perform additional menu or function searches, thus shortening the negative feedback setup path. Furthermore, the operation layer also presents negative feedback conditions, which guide the operation state of the negative feedback operation, simplifying its complexity. When the operation state of the negative feedback operation meets the negative feedback conditions, the negative feedback result for the first media data is displayed. Guided by the negative feedback conditions, the negative feedback result for the first media data can be successfully obtained, achieving efficient negative feedback for media data and effectively improving the efficiency of negative feedback for media data.
[0090] Please refer to Figure 11, which is a schematic diagram of the structure of a media data processing apparatus provided in an embodiment of this application. The media data processing apparatus operates on a terminal device. For example, the media data processing apparatus may be a computer program (including program code) running on the terminal device described above; the media data processing apparatus may be used to execute the corresponding steps in the method provided in the embodiment of this application. As shown in Figure 11, the media data processing apparatus 1100 may include at least one of the following units: a display unit 1101 and a processing unit 1102.
[0091] Display unit 1101 is used to display a media interface, which is used to present a media stream;
[0092] Display unit 1101 is also used to display an operation layer in response to a negative feedback operation on the first media data in the media stream, the operation layer presenting the negative feedback condition.
[0093] The display unit 1101 is also used to display the negative feedback result for the first media data when the operation state of the negative feedback operation meets the negative feedback condition.
[0094] In one implementation, the operation state of the negative feedback operation includes the operation duration and the operation distance; the display unit 1101, in response to the negative feedback operation on the first media data in the media stream, displays the operation layer and performs the following operations:
[0095] When the duration of the negative feedback operation reaches the first preset duration threshold and the distance of the negative feedback operation reaches the first preset distance threshold, the operation layer of the first form is triggered to be displayed, and the negative feedback condition is presented in the operation layer of the first form.
[0096] In one implementation, the operation state of the negative feedback operation also includes the operation direction, which includes a first direction along the media interface; when the display unit 1101 is used to trigger the display of the operation layer in the first form, it is used to perform the following operations:
[0097] The operation layer of the first form is displayed along the second direction of the media interface;
[0098] The second direction is different from the first direction, or the second direction is the opposite of the first direction.
[0099] In one implementation, the media data processing apparatus further includes a processing unit 1102, which performs the following operations:
[0100] When the operation distance of the negative feedback operation changes, the display form of the control operation layer changes accordingly.
[0101] In one implementation, the processing unit 1102 is configured to perform the following operations when the operation distance of the negative feedback operation changes, and the display form of the operation layer changes accordingly:
[0102] When the operation distance of the negative feedback operation is greater than the first preset distance threshold, the area of the operation layer of the first form increases synchronously as the operation distance of the negative feedback operation increases;
[0103] If the operation distance of the negative feedback operation is greater than the first preset distance threshold, the area of the operation layer of the first form will be reduced synchronously as the operation distance of the negative feedback operation decreases.
[0104] When the operation distance of the negative feedback operation reaches the second preset distance threshold, the control operation layer changes from the first form to the second form; the second preset distance threshold is greater than the first preset distance threshold;
[0105] The second form is a different display form from the first form. The differences in display form include at least one of the following: different area, different display position, different display shape, different display color, and different display information.
[0106] In one implementation, the operation state of the negative feedback operation includes the operation position; the negative feedback condition is used to indicate the dynamic adjustment of the operation position of the negative feedback operation until it enters the area of the operation layer;
[0107] When the operation state of the negative feedback operation meets the negative feedback condition, the display unit 1101 displays the negative feedback result for the first media data and performs the following operations:
[0108] When the operation position of the negative feedback operation is dynamically adjusted and enters the area of the operation layer, the negative feedback result for the first media data is displayed. The negative feedback result is used to indicate that the negative feedback for the first media data is successful. Successful negative feedback means that the object that initiated the negative feedback operation has a lower interest level in the first media data than the interest threshold.
[0109] In one implementation, the operation state of the negative feedback operation also includes the operation direction; the display unit 1101 is also used to perform the following operations:
[0110] If the negative feedback result indicates that the negative feedback for the first media data was successful, then the first media data is deleted from the media stream.
[0111] According to the order of media data in the media stream, the second media data is selected from the media stream based on the operation direction;
[0112] The second media data is presented in the media interface.
[0113] In one implementation, the display unit 1101 is further configured to perform the following operations:
[0114] If the negative feedback result indicates that the negative feedback for the first media data was successful, a media stream update request is sent to the server. The media stream update request is used to request the server to update the media stream based on the negative feedback result.
[0115] Play the updated media stream in the media interface.
[0116] In one implementation, the process of the server updating the media stream based on the negative feedback result includes:
[0117] The server obtains the target category to which the first media data belongs;
[0118] The server deletes all media data belonging to the target category from the media stream;
[0119] The server retrieves other media data from the media library that does not belong to the target category and adds it to the media stream, resulting in an updated media stream.
[0120] In one implementation, the display unit 1101 is further configured to perform the following operations:
[0121] When the operation state of the negative feedback operation meets the negative feedback condition, the third-mode operation layer is displayed; the third-mode operation layer shows the negative feedback termination condition.
[0122] When the operation status of the negative feedback operation meets the negative feedback termination condition, the fourth form of the operation layer is displayed; the fourth form of the operation layer presents an indication message indicating that the negative feedback was successful; the third and fourth forms are different display forms.
[0123] The operation layer is hidden in response to the display duration of the operation layer in the fourth form reaching the second preset duration threshold, or in response to a media playback operation on a media stream.
[0124] In one implementation, the display unit 1101 is further configured to perform the following operations:
[0125] If the negative feedback operation is withdrawn before the negative feedback condition is met, the operation layer is hidden.
[0126] In one implementation, the operation layer floats above the media interface; the area of the operation layer is smaller than the area of the display area in the media interface.
[0127] When the display unit 1101 is used to hide the operation layer, it is used to perform the following operations:
[0128] Delete the layer; or,
[0129] Change the transparency parameter of the operation layer to make the transparency of the operation layer higher than the preset transparency threshold.
[0130] In one implementation, the operation state of the negative feedback operation also includes the operation direction; the display unit 1101 is also used to perform the following operations:
[0131] When the operation duration of the negative feedback operation does not reach the first preset duration threshold, or the operation distance of the negative feedback operation does not reach the first preset distance threshold, the third media data is selected along the operation direction based on the arrangement sequence of each media data in the media stream.
[0132] Present third-party media data in the media interface.
[0133] According to one embodiment of this application, the various units in the data management device for the space adjustment object shown in FIG11 can be individually or entirely merged into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This can achieve the same operation without affecting the technical effect of the embodiment of this application. The above-mentioned units are based on logical function division. In practical applications, the function of one unit can also be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the data management device for the space adjustment object may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by multiple units working together. According to another embodiment of this application, the media data processing device shown in FIG11 and the data management method for the space adjustment object of this application can be constructed by running a computer program (including program code) capable of performing the steps involved in the corresponding methods described above on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access storage medium (RAM), and read-only storage medium (ROM). Computer programs can be recorded on, for example, a computer-readable recording medium, loaded onto the aforementioned computing device via the computer-readable recording medium, and run therein.
[0134] This application embodiment can display a media interface for presenting a media stream. When a negative feedback operation is detected on the first media data in the media stream, an operation layer is displayed, which presents negative feedback conditions. Therefore, this application can proactively display the operation layer after recognizing the object's negative feedback intent, eliminating the need for the object to perform additional menu or function searches, thus shortening the negative feedback setup path. Furthermore, the operation layer also presents negative feedback conditions, which guide the operation state of the negative feedback operation, simplifying its complexity. When the operation state of the negative feedback operation meets the negative feedback conditions, the negative feedback result for the first media data is displayed. Guided by the negative feedback conditions, the negative feedback result for the first media data can be successfully obtained, achieving efficient negative feedback for media data and effectively improving the efficiency of negative feedback for media data.
[0135] Figure 12 is a schematic diagram of a computer device according to an embodiment of this application. Referring to Figure 12, the computer device 1200 includes a processor 1201, a communication interface 1202, and a computer-readable storage medium 1203. The processor 1201, communication interface 1202, and computer-readable storage medium 1203 can be connected via a bus or other means. The communication interface 1202 is used to receive and send data. The communication interface 1202 may optionally include a standard wired interface or a wireless interface (such as Wi-Fi, mobile communication interface, etc.), and is controlled by the processor 1201 for sending and receiving data. The computer-readable storage medium 1203 can be stored in the memory of the computer device 1200 (which may include the computer device 1200's built-in memory, or of course, extended memory supported by the computer device 1200). The computer-readable storage medium 1203 is used to store computer programs, which include program instructions. The processor 1201 is used to execute the program instructions stored in the computer-readable storage medium 1203. The processor 1201 (or CPU (Central Processing Unit)) is the computing and control core of the computer device 1200. It can parse various instructions within the computer device 1200 and process various data of the computer device 1200. It is suitable for implementing one or more instructions, specifically for loading and executing one or more instructions to achieve the corresponding method flow or corresponding function.
[0136] This application embodiment also provides a computer-readable storage medium (Memory), which is a memory device in the computer device 1200 for storing programs and data. It is understood that the computer-readable storage medium here may include the built-in storage medium in the computer device 1200, or it may include extended storage media supported by the computer device 1200. The computer-readable storage medium provides storage space that stores the processing system of the computer device 1200. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by the processor 1201. These instructions may be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here may be high-speed RAM memory, or non-volatile memory, such as at least one disk storage device; optionally, it may also be at least one computer-readable storage medium located remotely from the aforementioned processor.
[0137] In one embodiment, the computer-readable storage medium stores one or more instructions; the processor 1201 loads and executes one or more instructions stored in the computer-readable storage medium to implement the corresponding steps in the above-described media data processing method embodiment.
[0138] Based on the same inventive concept, the principle and beneficial effects of the computer device 1200 provided in the embodiments of this application in solving the problem are similar to the principle and beneficial effects of the media data processing method in the method embodiments of this application in solving the problem. Please refer to the principle and beneficial effects of the implementation of the method. For the sake of brevity, they will not be repeated here.
[0139] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0140] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned media data processing method.
[0141] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0142] In this application, the use of singular pronouns to denote "one or more" rather than "one and only one," unless otherwise specified. In this application, unless otherwise specified, "at least one" is intended to mean "one or more," and "more than" is intended to mean "two or more."
[0143] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a management device that integrates one or more available media, such as a server, data center, or other space-managed object. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0144] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for processing media data, characterized in that, The method is executed by a terminal device, and the method includes: Display media interface, which is used to present media streams; In response to a negative feedback operation on first media data in the media stream, an operation layer is displayed, the operation layer presenting the negative feedback condition; When the operation state of the negative feedback operation meets the negative feedback condition, the negative feedback result for the first media data is displayed.
2. The method as described in claim 1, characterized in that, The operation status of the negative feedback operation includes operation duration and operation distance; the operation layer is displayed in response to the negative feedback operation on the first media data in the media stream, including: When the operation duration of the negative feedback operation reaches a first preset duration threshold and the operation distance of the negative feedback operation reaches a first preset distance threshold, the operation layer of the first form is displayed, and the negative feedback condition is presented in the operation layer of the first form.
3. The method as described in claim 1 or 2, characterized in that, The negative feedback operation includes an operation direction, which includes a first direction along the media interface; the operation layer displaying the first form includes: An operation layer of the first form is displayed along a second direction of the media interface; Wherein, the second direction is different from the first direction, or the second direction is the opposite direction of the first direction.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: When the operating distance of the negative feedback operation changes, the display form of the operation layer is controlled to change accordingly.
5. The method according to any one of claims 1-4, characterized in that, The step of controlling the display form of the operation layer to change accordingly when the operation distance of the negative feedback operation changes includes: When the operation distance of the negative feedback operation is greater than the first preset distance threshold, the area of the operation layer of the first form is increased synchronously as the operation distance of the negative feedback operation increases. If the operation distance of the negative feedback operation is greater than the first preset distance threshold, the area of the operation layer of the first form will be reduced synchronously as the operation distance of the negative feedback operation decreases. When the operation distance of the negative feedback operation reaches the second preset distance threshold, the operation layer is controlled to change from the first form to the second form; the second preset distance threshold is greater than the first preset distance threshold; The second form is a different display form from the first form. The differences in display form include at least one of the following: different area, different display position, different display shape, different display color, and different display information.
6. The method according to any one of claims 1-5, characterized in that, The operation state of the negative feedback operation includes the operation position; the negative feedback condition is used to indicate that the operation position of the negative feedback operation is dynamically adjusted until it enters the area of the operation layer; When the operation state of the negative feedback operation meets the negative feedback condition, the negative feedback result for the first media data is displayed, including: When the operation position of the negative feedback operation is dynamically adjusted and enters the area of the operation layer, the negative feedback result for the first media data is displayed. The negative feedback result is used to indicate that the negative feedback for the first media data is successful. The success of the negative feedback indicates that the object that initiated the negative feedback operation has a lower interest level in the first media data than the interest threshold.
7. The method according to any one of claims 1-6, characterized in that, The operation state of the negative feedback operation includes the operation direction; the method further includes: If the negative feedback result indicates that the negative feedback for the first media data was successful, then the first media data is deleted from the media stream. According to the order of media data in the media stream, the second media data is selected from the media stream based on the operation direction; The second media data is presented in the media interface.
8. The method according to any one of claims 1-7, characterized in that, The method further includes: If the negative feedback result indicates that the negative feedback for the first media data is successful, a media stream update request is sent to the server. The media stream update request is used to request the server to update the media stream based on the negative feedback result. Play the updated media stream in the media interface.
9. The method according to any one of claims 1-8, characterized in that, The server updates the media stream based on the negative feedback result, including: The server obtains the target category to which the first media data belongs; The server deletes media data belonging to the target category from the media stream; The server retrieves other media data from the media library that does not belong to the target category and adds it to the media stream to obtain an updated media stream.
10. The method according to any one of claims 1-9, characterized in that, The method further includes: When the operation state of the negative feedback operation meets the negative feedback condition, the operation layer of the third form is displayed; the operation layer of the third form presents the negative feedback termination condition. When the operation state of the negative feedback operation meets the negative feedback termination condition, the operation layer of the fourth form is displayed; the operation layer of the fourth form presents an indication message of successful negative feedback; wherein, the third form and the fourth form are different display forms; The operation layer is hidden in response to the display duration of the operation layer in the fourth form reaching a second preset duration threshold, or in response to a media playback operation on the media stream.
11. The method according to any one of claims 1-10, characterized in that, The method further includes: If the negative feedback operation is withdrawn before the negative feedback condition is met, the operation layer is hidden.
12. The method according to any one of claims 1-11, characterized in that, The operation layer is suspended above the media interface; the area of the operation layer is smaller than the area of the display area in the media interface. Hiding the operation layer includes: Delete the layer being operated on; or, Change the transparency parameter of the operation layer so that the transparency of the operation layer is higher than a preset transparency threshold.
13. The method according to any one of claims 1-12, characterized in that, The operation states of the negative feedback operation include operation duration, operation distance, and operation direction; the method further includes: When the operation duration of the negative feedback operation does not reach the first preset duration threshold, or the operation distance of the negative feedback operation does not reach the first preset distance threshold, the third media data is selected based on the operation direction according to the arrangement order of each media data in the media stream. The third media data is presented in the media interface.
14. A media data processing apparatus, characterized in that, The device operates in a terminal device, and the device includes: A display unit is used to display a media interface, which is used to present a media stream. The display unit is further configured to display an operation layer in response to a negative feedback operation on the first media data in the media stream, the operation layer presenting a negative feedback condition; The display unit is further configured to display the negative feedback result for the first media data when the operation state of the negative feedback operation satisfies the negative feedback condition.
15. A computer device, characterized in that, include: A processor, adapted to execute computer programs; A computer-readable storage medium storing a computer program, which, when executed by the processor, implements the media data processing method as described in any one of claims 1-13.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and executed as described in any one of claims 1-13 for processing media data.
17. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the media data processing method as described in any one of claims 1-13.
Citation Information
Patent Citations
A method and apparatus for delivering media information
CN109509014A
Live broadcast guidance method, apparatus and device, and computer readable storage medium
CN111683263A
Recommendation method and device, equipment and storage medium
CN114157885A
Information display method and related product
CN116701749A
Methods and systems for scene driven content creation
US10540699B1