Media data processing method, device and equipment, medium and program product
By detecting the duration and distance of negative feedback operations on the media interface, and triggering the operation layer to display the negative feedback results, the problem of high operation complexity in the prior art is solved, and the efficiency of negative feedback is improved.
Patent Information
- Application Number
- CN202410509428.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2025-10-28
AI Technical Summary
In existing technologies, the operation of providing negative feedback to media data in the media interface is highly complex, resulting in low efficiency of negative feedback.
By detecting the duration and distance of negative feedback operations on the media interface, the operation layer is triggered to be displayed, and the negative feedback result is displayed when the operation status meets the conditions, thus simplifying the operation process to achieve negative feedback.
It reduces the complexity of object operations, improves the efficiency of negative feedback for media data, and eliminates the need for multiple switching operations or interfaces, thus achieving a more intuitive negative feedback process.
Smart Images

Figure CN120856935A_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] When an object browses media data in a media interface, it can provide negative feedback in real time to indicate its disinterest in a certain type of media data, thereby reducing the probability of encountering that type of media data in subsequent browsing. However, current technology suffers from high object operation complexity, resulting in low efficiency of negative feedback for media data. Summary of the Invention
[0003] This application provides a method, apparatus, device, medium, and program product for processing media data, which can reduce the operational complexity of objects and improve the efficiency of negative feedback for media data through a novel negative feedback method.
[0004] On one hand, embodiments of this application provide a method for processing media data, the method comprising:
[0005] The media interface is used to present the media stream.
[0006] In response to a negative feedback operation on the first media data in the media stream, the operation layer is triggered to be displayed, and the operation layer presents the negative feedback condition.
[0007] 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.
[0008] On the other hand, embodiments of this application provide a media data processing apparatus, the apparatus comprising:
[0009] The display unit is used to display the media interface, which is used to present the media stream.
[0010] The display unit is also used to respond to a negative feedback operation on the first media data in the media stream, triggering the display operation layer, which presents the negative feedback condition.
[0011] 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.
[0012] In one implementation, the operation status of the negative feedback operation includes the operation duration and the operation distance; the display unit is used to respond to the negative feedback operation on the first media data in the media stream, and when the display operation layer is triggered, it is used to perform the following operations:
[0013] 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.
[0014] 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 triggers the display of the operation layer in the first form, it performs the following operations:
[0015] In the second direction along the media interface, the operation layer that displays the first form is triggered;
[0016] The second direction is different from the first direction, or the second direction is the opposite of the first direction.
[0017] In one implementation, the media data processing apparatus further includes a processing unit, which performs the following operations:
[0018] When the operation distance of the negative feedback operation changes, the display form of the control operation layer changes accordingly.
[0019] In one implementation, the processing unit is used 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:
[0020] 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;
[0021] 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.
[0022] 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;
[0023] 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.
[0024] In one implementation, the operation state of the negative feedback operation includes the operation position; the negative feedback condition indicates that the operation position of the negative feedback operation is dynamically adjusted until it enters the area of the operation layer;
[0025] The display unit is 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. It is used to perform the following operations:
[0026] 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.
[0027] In one implementation, the operation state of the negative feedback operation also includes the operation direction; the display unit is also used to perform the following operations:
[0028] 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.
[0029] Based on the arrangement sequence of each media data in the media stream, the second media data is selected along the operation direction;
[0030] Present the second media data in the media interface.
[0031] In one implementation, the display unit is also used to perform the following operations:
[0032] 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.
[0033] Play the updated media stream in the media interface.
[0034] In one implementation, the process of the server updating the media stream based on the negative feedback result includes:
[0035] The server obtains the target category to which the first media data belongs;
[0036] The server deletes all media data belonging to the target category from the media stream;
[0037] 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.
[0038] In one implementation, the display unit is also used to perform the following operations:
[0039] 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.
[0040] 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.
[0041] 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.
[0042] In one implementation, the display unit is also used to perform the following operations:
[0043] If the operation state of a negative feedback operation is revoked before the negative feedback condition is met, the operation layer is hidden.
[0044] 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.
[0045] When the display unit is used to hide the operation layer, it is used to perform the following operations:
[0046] Delete the layer; or,
[0047] Change the transparency parameter of the operation layer to make the operation layer transparent.
[0048] In one implementation, the operation state of the negative feedback operation also includes the operation direction; the display unit is also used to perform the following operations:
[0049] 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.
[0050] Present third-party media data in the media interface.
[0051] On the other hand, embodiments of this application provide a computer device, which includes:
[0052] A processor is used to load and execute computer programs;
[0053] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned method for processing media data.
[0054] 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.
[0055] 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.
[0056] In this embodiment, when a negative feedback operation is detected on the first media data in the media stream presented on the media interface, the negative feedback operation is combined with a negative feedback event, an operation layer is actively displayed, and the operation state of the negative feedback operation is guided to meet the negative feedback conditions through the negative feedback conditions presented in the operation layer, so as to realize the negative feedback on the first media data and display the negative feedback result on the first media data. This eliminates the need for the object to switch between multiple trigger operations and multiple interfaces, greatly reducing the operation complexity of the object and improving the efficiency of negative feedback on media data. Attached Figure Description
[0057] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0058] Figure 1 This is an architecture diagram of a media data processing system provided in an embodiment of this application;
[0059] Figure 2 This is a schematic flowchart of a media data processing method provided in an embodiment of this application;
[0060] Figure 3a This is an interactive scenario diagram provided in an embodiment of this application;
[0061] Figure 3b This is another interactive scenario diagram provided in the embodiments of this application;
[0062] Figure 4 This is a flowchart illustrating another media data processing method provided in an embodiment of this application;
[0063] Figure 5 This is another interactive scenario diagram provided in the embodiments of this application;
[0064] Figure 6 This is another interactive scenario diagram provided in the embodiments of this application;
[0065] Figure 7 This is another interactive scenario diagram provided in the embodiments of this application;
[0066] Figure 8This is another interactive scenario diagram provided in the embodiments of this application;
[0067] Figure 9 This is another interactive scenario diagram provided in the embodiments of this application;
[0068] Figure 10 This is an interactive flowchart provided in an embodiment of this application;
[0069] Figure 11 This is a schematic diagram of the structure of a media data processing device provided in an embodiment of this application;
[0070] Figure 12 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0071] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0072] A media interface refers to the interface displayed when presenting a media stream. A media application with media playback capabilities can run on a terminal device, and this media interface can be hosted by the media application running on the terminal device. A media application is an application with media playback capabilities, and it can be presented to an object as an application. This application can refer to a client installed on the terminal device; a client is a program installed and running on the terminal device. It can also refer to an installation-free application, that is, an application that can be used without downloading and installing it. Such applications are also called applets, and they usually run as sub-programs on a client; in this case, the client is called the parent application, and the sub-program running on that client is called the child application. The application can also refer to web applications opened through a browser, etc.
[0073] In the embodiments of this application, the media stream may contain one or more media data, and the content of any media data may include, but is not limited to: video content (e.g., short video), audio content (e.g., music), text content (e.g., an article, a sentence, etc.), image content (e.g., a painting), and any other content that can be dynamically displayed in the media interface.
[0074] It should be noted that the media interface is a user interface that responds to object interactions. For example, objects can perform actions such as swiping up or down on the media interface to view various media data in the media stream. The first media data refers to the media data currently displayed in the media interface, which can be any media data in the media stream.
[0075] Please see Figure 1 , Figure 1 This is an architecture diagram of a media data processing system provided in an embodiment of this application. Figure 1 As shown, the system includes a terminal device cluster and a server 102. The terminal device cluster may specifically include one or more terminal devices; the number of terminal devices in the cluster is not limited here. Figure 1 As shown, the multiple terminal devices may specifically include terminal device 101a, terminal device 101b, terminal device 101c, ..., terminal device 101n; terminal device 101a, terminal device 101b, terminal device 101c, ..., terminal device 101n can be directly or indirectly connected to server 102 via wired or wireless communication, so that each terminal device can interact with server 102 through the network connection.
[0076] Each terminal device in the terminal device cluster includes, 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 limit them.
[0077] It should be understood that, such as Figure 1 Each terminal device in the terminal device cluster shown can have a media application installed. When the media application runs on each terminal device, it can interact with the aforementioned... Figure 1 Data interaction occurs between the servers 102 shown. Specifically, media applications can 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—applications with media playback capabilities.
[0078] Server 102 is a service device used to provide media playback services, such as 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.
[0079] 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, it can click the media application icon on the terminal device. After detecting the click operation on the media application icon, the terminal device launches the media application corresponding to the icon, enters 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.
[0080] 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, one or more of the following: media data publication information, media data playback progress information, and media data interaction information (such as likes, favorites, shares, etc.).
[0081] If an object shows low interest in first media data (any media data in the media stream) while it is displayed in the media interface, a negative feedback operation can be triggered for that 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, if only the first media data is displayed in the media interface, a slow swipe operation on the media interface can be detected as a negative feedback operation. In response to this negative feedback operation, the operation layer is triggered and displayed. This operation layer presents negative feedback conditions. For example, these negative feedback conditions can be used to prompt the object to dynamically adjust the operation position of the negative feedback operation to the area of the operation layer to provide negative feedback to the first media data. Therefore, the object can be guided to adjust the operation position of the feedback operation to provide negative feedback to the first media data. In addition, when the operation status of the 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 that will be pushed.
[0082] Therefore, in this embodiment, the object only needs to wait for the operation layer to appear actively through negative feedback operation, and then guide the operation state of the negative feedback operation to meet the negative feedback conditions through the negative feedback conditions presented in the operation layer, so as to realize negative feedback for the first media data, which greatly reduces the operation complexity of the object and improves the negative feedback efficiency for media data.
[0083] The media data processing system and the media data processing method implemented based on the media data processing system of this application embodiment can be applied 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.
[0084] 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.
[0085] The media data processing method provided in the embodiments of this application will be described next.
[0086] Please see Figure 2 , Figure 2 This 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 and includes, but is not limited to, steps S201-S203:
[0087] S201. Display media interface, which is used to present media streams.
[0088] The terminal device has a media application deployed on it, which can display a media interface. The media interface can be used to present media streams and may include, but is 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, and so on.
[0089] A media stream typically contains multiple media data sets for sequential display. The arrangement of these media data sets determines their display order. For example, if a media stream contains media data 0, media data 1, and media data 2, and media data 1 is currently displayed in a short video application, swiping up will switch to displaying media data 2, and swiping down will switch to displaying media data 0. This media data can be sent from a server or stored locally on the terminal device. The data type of this 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 set from the media stream; when the media data type is text or image, the media interface usually displays multiple media data sets from the media stream.
[0090] S202. In response to a negative feedback operation on the first media data in the media stream, the operation layer is triggered to display, and the operation layer presents the negative feedback condition.
[0091] In this embodiment of the application, "responding to" is used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, the operation performed can be real-time or can have a set delay.
[0092] The first media data is the media data currently displayed in the media interface, and can be any media data in the media stream. Optionally, when only the first media data is currently displayed in the media interface, a negative feedback operation on the media interface can be defined as 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 can perform a negative feedback operation on the media interface when the first media data is marked as selected (e.g., by long-pressing the first media data) to achieve a negative feedback operation targeting the first media data.
[0093] When an object browses media data it doesn't like, it can trigger the display of an operation layer using a negative feedback operation. The negative feedback operation is a predefined interactive operation; in this embodiment, it is illustratively set as a swipe operation. Considering that in existing media interfaces, swipe operations are usually linked to media data switching, this embodiment needs to identify whether the object's swipe behavior on the media interface is for browsing other media data or for providing negative feedback to the currently browsed media data. Specifically, when a negative feedback operation (i.e., a swipe operation) is detected on the media interface, the operation duration and distance of the negative feedback operation can be obtained. The operation duration is the time period counted from the trigger time of the negative feedback operation, and the operation distance is the straight-line distance between the trigger position and the landing position of the negative feedback operation. 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, it can be determined that the object is slowly swiping on the media interface, triggering the display of the operation layer. The first preset distance threshold can be set manually or by the system as needed; the first preset duration threshold can also be set manually or by the system as needed. This application does not limit the setting method.
[0094] 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 triggered to be 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 triggered to be displayed. For example, if the first preset duration threshold is 3 seconds, the first preset distance threshold is 3 centimeters, and the operation distance of the negative feedback operation is 3 centimeters, and the obtained operation duration of the negative feedback operation is 5 seconds, then the operation layer can be triggered to be displayed.
[0095] In another 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 triggered to be 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 triggered to be displayed. For example, if the first preset duration threshold is 3 seconds, the first preset distance threshold is 3 centimeters, and the operation distance of the negative feedback operation is 3 seconds, and the obtained operation duration of the negative feedback operation is 5 centimeters, then the operation layer can be triggered to be displayed.
[0096] Conversely, if the sliding duration of the negative feedback operation does not reach the 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 the first preset distance threshold (i.e., the operation distance of the negative feedback operation is less than the first preset distance threshold), the negative feedback operation is withdrawn, and media data switching can be performed in the media interface. This media data switching can be determined based on the operation direction of the negative feedback operation, which includes, but is not limited to, any one or more of the following: swiping upwards (from bottom to top), swiping downwards (from top to bottom), swiping left (from right to left), and swiping right (from left to right); for example... Figure 3a (This is an interactive scenario diagram provided in the embodiment of this application) As shown, when the operation direction of the negative feedback operation is to slide upwards, media data 2 adjacent to media data 1 below can be displayed.
[0097] In optional implementations, the sliding speed of the negative feedback operation (used to reflect the size of the sliding distance per unit time) can also be obtained. When the sliding speed is less than the preset speed, the operation layer is triggered to be displayed. When the sliding speed is greater than or equal to the preset speed, the media data is switched according to the operation direction of the negative feedback operation.
[0098] Therefore, this application embodiment designs a method for judging slow sliding operations, and uses it to determine whether to trigger the display of the operation layer or switch media data, which can avoid affecting the original interactive functions of the media interface, and allow objects to provide negative feedback through a more natural and intuitive gesture.
[0099] The operation layer can be displayed anywhere within the media interface. One feasible implementation is that the display position of the operation layer can be determined by the direction of the negative feedback operation. Specifically, when the negative feedback operation is a swipe from bottom to top, the operation layer can be displayed at the top edge of the media interface; when the negative feedback operation is a swipe from top to bottom, the operation layer can be displayed at the bottom edge of the media interface; when the negative feedback operation is a swipe from left to right, the operation layer can be displayed at the left edge of the media interface; and when the negative feedback operation is a swipe from right to left, the operation layer can be displayed at the right edge of the media interface.
[0100] In one implementation, if the display position of the operation layer is a pre-defined fixed position, then the swipe operation can be identified as a negative feedback operation only when the direction of the swipe operation is towards the operation layer. For example, if the operation layer is displayed at the top edge of the media interface, then an upward swipe operation can be detected and identified as a negative feedback operation.
[0101] In this context, the display hierarchy of the operation layer must be higher than that of the media interface to ensure that interactive operations targeting that operation layer can be received. For example, the operation layer can be any shape displayed as a floating layer (or active panel), such as... Figure 3b (As shown in the interactive scene diagram provided in the embodiment of this application), the operation layer can be a floating box 3201, a floating bubble 3202, or a floating ball 3203 displayed in the form of a floating layer. The operation layer can be displayed in an opaque form or in a semi-transparent form. The color of the operation layer can be any color, and this application does not limit it.
[0102] The area of the manipulation layer can be smaller than the area displayed in the media interface, such as... Figure 3a As shown, the operation layer 3101 can occupy only a small portion of the media interface for display, thus reducing interference. 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.
[0103] The operation layer displays negative feedback conditions, which can be used to prompt the object that if negative feedback is desired for 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.
[0104] 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.
[0105] In one implementation, when the operation position of the negative feedback operation enters the area of the operation layer after dynamic adjustment, it is 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 then displayed, and the operation layer is 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 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 initiating vibration and displaying text ("This will reduce such recommendations"). 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 color of the operation layer to transparent (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).
[0106] 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 arrangement sequence of the media data in the media stream, along the operation direction of the negative feedback operation. For example, based on an upward swipe of the negative feedback operation, media data 2, which is adjacent to media data 1 below, can be displayed; based on a downward swipe of the negative feedback operation, media data 0, which is adjacent to media data 1 above, can be displayed.
[0107] When the negative feedback result of the first media data indicates that the negative feedback for the first media data was successful, the terminal device can reduce the amount of media data of the same type as the first media data being pushed. For example, if the server obtains the target category to which the first media data belongs, it can delete media data belonging to that target category from the media stream to obtain an updated media stream, which the terminal device can then play. Optionally, the server can also add other media data that does not belong to the target category after deleting media data belonging to that target category from 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 defined when uploading the first media data, or tags obtained through manual content analysis and machine content analysis.
[0108] For example, please see Figure 3a The interactive diagram shows that when an object's finger slowly slides upwards on the media interface, an operation layer 3101 (presented as a floating window) is triggered at the top edge of the media interface. The object can continue to slide upwards until its finger enters the area of the operation layer 3101. At this point, a message 3102 indicating successful negative feedback can be displayed, and the object can then remove its finger from the media interface. The operation layer 3101 can descend as the object slides upwards to get closer to its finger.
[0109] In another implementation, 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 (e.g., releasing the 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. At this point, the first media data displayed in the media interface can be switched to other media data. Specifically, media data can be selected based on the arrangement sequence of media data in the media stream, along the operation direction of the negative feedback operation; for example, based on an upward swipe of the negative feedback operation, media data 2, adjacent to media data 1 below it, is displayed; based on a downward swipe of the negative feedback operation, media data 0, adjacent to media data 1 above it, is displayed.
[0110] In this embodiment, when a negative feedback operation is detected on the first media data in the media stream presented on the media interface, the negative feedback operation is combined with a negative feedback event to actively trigger the display of an operation layer. This operation layer contains negative feedback conditions, allowing the object to dynamically adjust the operation position of the negative feedback operation to the area of the operation layer by being guided by these conditions. This enables the negative feedback on the first media data to be realized and the negative feedback result on the first media data to be displayed. This eliminates the need for the object to switch between multiple trigger operations and multiple interfaces, greatly reducing the object's operational complexity and improving the efficiency of negative feedback on media data.
[0111] Please see Figure 4 , Figure 4 This 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 and includes, but is not limited to, steps S401-S404:
[0112] S401, Display media interface, which is used to present media streams.
[0113] Media streams are a data format that continuously provides content to an object, including but not limited to: video data streams (composed of one or more video data), audio data streams (composed of one or more audio data), text data streams (composed of one or more text data), and image data streams (composed of one or more image data). The media stream can be presented by a media interface within a media application. This 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 where the short video application is located retrieves multiple short videos from the server and displays them in the media interface of the media application. The user can swipe up or down in the media interface to play each short video sequentially. This application embodiment uses a short video application as an example for illustration; in this case, the media stream can contain one or more short videos.
[0114] S402, In response to a negative feedback operation on the first media data in the media stream, a first-mode operation layer is triggered to be displayed, and the first-mode operation layer presents the negative feedback condition.
[0115] In this embodiment, 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 can be any shape displayed as a floating layer (or active panel), such as a floating frame, floating bubble, or floating ball. This application 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 manner. 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.
[0116] In the first form, the operation layer presents a negative feedback condition. This negative feedback condition can be used to prompt the object that if it wants 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.
[0117] The first media data refers to the media data currently displayed in the media interface. This will be illustrated using an example where only the first media data is displayed in the media interface. In this embodiment, when a swipe operation is detected on the media interface, a negative feedback operation targeting the first media data in the media stream can be determined, and the operation status of the negative feedback operation (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, the operation layer of the first form is triggered to be 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.
[0118] Specifically, 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. For example, if the first preset duration threshold is 3 seconds, the first preset distance threshold is 3 centimeters, and the operation distance of the negative feedback operation is 3 centimeters, and the obtained operation duration of the negative feedback operation is 5 seconds, then the operation layer of the first form can be 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 triggered to be displayed. For example, if the first preset duration threshold is 3 seconds, the first preset distance threshold is 3 centimeters, and the operation distance of the negative feedback operation is 3 seconds, and the obtained operation duration of the negative feedback operation is 5 centimeters, then the operation layer of the first form can be triggered to be displayed.
[0119] In one feasible implementation, 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), the negative feedback operation is withdrawn. Then, based on the arrangement sequence of each media data in the media stream, media data can be selected along the operation direction of the negative feedback operation and 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, based on the upward sliding of the negative feedback operation, media data 2 adjacent to media data 1 below is displayed; based on the downward sliding of the negative feedback operation, media data 0 adjacent to media data 1 above is displayed.
[0120] For example, please see Figure 5 The interactive scenario diagram shown; 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 follows... Figure 5 As shown, when the object's finger slides upwards on the media interface 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 operation layer 5101 of the first form is triggered to be 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 can be retrieved and displayed on the media interface.
[0121] 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 displaying the first form can be triggered 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 could be from left to right. Alternatively, the second direction can be the opposite of the first direction. Figure 6 As shown in Figure A, when the negative feedback operation is a sliding motion from bottom to top, it can trigger the first-mode operation layer to be displayed from top to bottom; as shown in Figure A. Figure 6 As shown in Figure B, when the negative feedback operation is a downward sliding motion from the top, it can trigger the first-mode operation layer to be displayed from the bottom upward; as shown in Figure B. Figure 6 As shown in Figure C, when the negative feedback operation is a sliding motion from left to right, it can trigger the first-mode operation layer displayed from right to left; as shown in Figure C. Figure 6As shown in Figure D, when the negative feedback operation is a sliding direction from right to left, the first-form operation layer displayed from left to right can be triggered. Therefore, this embodiment of the application designs a more convenient and intuitive display method for the first-form operation interface.
[0122] In one feasible implementation, the display position of the first-form operation layer is a pre-set fixed display position. Therefore, a sliding operation can be identified as a negative feedback operation only when the direction of the sliding operation points towards the first-form operation layer. For example, if the first-form operation layer is displayed at the top edge of the media interface, an upward sliding operation can be detected and identified as a negative feedback operation.
[0123] In one embodiment, when the operating 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 operating distance of the negative feedback operation refers to the distance slid in the direction pointing towards the first-form operation layer. Specifically, when the operating 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 operating distance of the negative feedback operation. Figure 7 As shown in 7101 and 7102 of the interactive scene 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 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., ...) that is displayed from top to bottom can be triggered in the media interface. Figure 7 As shown in interface 7102, when the negative feedback operation continues to slide upwards, the height of the first-mode operation layer gradually increases with the increase of the sliding distance (i.e., Figure 7 The interface shown in 7103 is designed to accommodate the user's finger, making it easier for users who are not interested in receiving feedback to operate. Furthermore, if the operation distance of a negative feedback operation exceeds a first preset distance threshold, the area of the operation layer in the first form can be reduced synchronously as the operation distance of the negative feedback operation decreases. For example... Figure 7 As shown in 7104 of the interactive scene diagram provided in the embodiment of this application, when the negative feedback operation slides down, as the sliding distance decreases, the height of the operation layer of the first form gradually increases to move away from the object's finger.
[0124] 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 (used to reflect the size of the operation distance per unit time). Specifically, the increase in area per unit time can be positively correlated with the operation speed of the negative feedback operation. For example, 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.
[0125] 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 (used to reflect the size of the operation distance per unit time). Specifically, the reduction area per unit time can be positively correlated with the operation speed of the negative feedback operation. For example, 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 unchanged; 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.
[0126] 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 at the top of the media interface, while the operation layer in the second form is displayed at the bottom), 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, while the operation layer in the second form is opaque), 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. Figure 8As shown in 8101 and 8102 of the interactive scene 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 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., ...) that is displayed from top to bottom can be triggered in the media interface. Figure 8 The interface shown in 8102 can increase the area of the first-mode operation layer as the negative feedback operation continues to slide upwards (i.e., Figure 8 The interface shown in 8103 can display the following when the sliding operation of the negative feedback operation reaches the second preset distance threshold: Figure 8 The second type of operation layer shown in 8104.
[0127] 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.
[0128] The negative feedback operation includes the operation position (e.g., the landing point of the finger of the object initiating the negative feedback operation), and the negative feedback condition instructing the dynamic adjustment of the operation position until it enters the area of the operation layer in the first form, or the negative feedback condition instructing the dynamic adjustment of the operation position 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 form or second form) after dynamic adjustment, it can be determined that the operation state of the negative feedback operation meets the negative feedback condition. At this time, the negative feedback result for the first media data can be displayed, and the operation layer (first form or second form) 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 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, such as the negative feedback result containing vibration and displayed 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 color of the operation layer (first form or second form) to transparent (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, so as to avoid misjudging the interactive operation on the media interface as the interactive operation on the operation layer (first form or second form)).
[0129] In one implementation, the negative feedback operation is withdrawn before the negative feedback condition is met. For example, if the negative feedback operation's position does not enter the area of the operation layer (first form or second form), the negative feedback operation is withdrawn, and 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)).
[0130] 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 user 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 can include 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. This fourth-form operation layer presents an indication of successful negative feedback; the third and fourth forms are different display forms. Figure 9 As shown in 9101 of the interactive scene diagram provided in this application embodiment, when the object's finger slides upward on the media interface and enters the operation layer of the second form, it can vibrate and display as shown in the diagram. Figure 9 The negative feedback termination condition shown in Figure 9102, when the negative feedback operation is withdrawn, can display as follows: Figure 9 The fourth form of the operation layer shown in 9103. 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 for a media stream; wherein, 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 operation layer of the fourth form transparent.
[0131] 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.
[0132] 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 based on the arrangement sequence of each media data in the media stream, select the second media data along the operation direction of the negative feedback operation, and present the second media data in the media interface.
[0133] 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 arrangement sequence of the media data in the media stream, along the operation direction of the negative feedback operation. For example, based on an upward swipe of the negative feedback operation, media data 2, which is adjacent to media data 1 below, can be displayed; based on a downward swipe of the negative feedback operation, media data 0, which is adjacent to media data 1 above, can be displayed.
[0134] 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.
[0135] 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. At this point, the first media data displayed in the media interface can be switched to other media data. Specifically, media data can be selected based on the arrangement sequence of media data in the media stream, following the operation direction of the negative feedback operation; for example, based on an upward swipe of the negative feedback operation, media data 2, adjacent to media data 1 below it, is displayed; based on a downward swipe of the negative feedback operation, media data 0, adjacent to media data 1 above it, is displayed.
[0136] To identify the purpose of an object's swipe operation by considering its duration and distance, this application uses a state machine. Taking a negative feedback swipe as an example, 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 distance of the negative feedback operation, and the second form of the operation layer is displayed when the distance reaches a second preset distance), 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 , Figure 10 This is an interactive flowchart provided in an embodiment of this application; such as Figure 10As shown, the initial state (A) is when the object is not touching the screen. When the object's finger begins to touch the screen, it enters the B0 swipe distance recognition state. In the B0 swipe distance recognition state, the distance the object's finger swipes on the screen is recognized. If the swipe distance does not reach a first preset distance threshold, the object's finger leaves the screen (referred to as releasing), triggering a media data switching event. If the 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 the object's finger touches the screen is recognized. If the touch duration does not reach a 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 displayed, prompting the object 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 upwards, it enters the C1 panel expansion state. Upon entering the C1 panel expanded state, the system begins recognizing the upward swipe distance of the user's finger and synchronously increasing the area of the operation layer in the first form based on this distance. When the swipe distance reaches a second preset 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 upward and touches the operation layer, the system enters the C2 panel selected state. 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 system enters the D (uninterested) marking state. 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. Upon successful marking, the media data is removed from the current media stream, the top operation panel is collapsed, and subsequent pushes of the same type of media data are reduced, ultimately returning to the A initial state.
[0137] Therefore, in this embodiment, the object first slowly slides a short distance to trigger the display of the first-form operation layer. The first-form operation layer can be used for novice education, guiding the object to learn how to use the negative feedback function for the first time. As the object continues to slide, the area of the first-form operation layer can gradually increase to accommodate the object's finger, making it easier for the object with the intention of negative feedback to operate. When the object's finger touches the operation layer, it can vibrate and prompt the object that the negative feedback will be successful after the finger leaves the screen. The currently displayed media data is swiped away, and the next media data is pushed. The entire interaction process is smooth and natural, in line with the object's cognition and habits, which helps to reduce the object's operation complexity and improve the efficiency of negative feedback for media data.
[0138] Please see Figure 11 , Figure 11 This is a schematic diagram of a media data processing apparatus provided in an embodiment of this application. The aforementioned media data processing apparatus can be a computer program (including program code) running on the terminal device described above; the media data processing apparatus can be used to execute corresponding steps in the method provided in the embodiment of this application. For example... Figure 11 As shown, the media data processing device 1100 may include at least one of the following units: display unit 1101 and processing unit 1102.
[0139] Display unit 1101 is used to display a media interface, which is used to present a media stream;
[0140] The display unit 1101 is also used to trigger the display operation layer in response to a negative feedback operation on the first media data in the media stream, and the operation layer presents a negative feedback condition.
[0141] 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.
[0142] In one implementation, the operation state of the negative feedback operation includes the operation duration and the operation distance; the display unit 1101 is used to perform the following operations when the display operation layer is triggered in response to the negative feedback operation on the first media data in the media stream:
[0143] 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.
[0144] 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:
[0145] In the second direction along the media interface, the operation layer that displays the first form is triggered;
[0146] The second direction is different from the first direction, or the second direction is the opposite of the first direction.
[0147] In one implementation, the media data processing apparatus further includes a processing unit 1102, which performs the following operations:
[0148] When the operation distance of the negative feedback operation changes, the display form of the control operation layer changes accordingly.
[0149] 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:
[0150] 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;
[0151] 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.
[0152] 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;
[0153] 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.
[0154] In one implementation, the operation state of the negative feedback operation includes the operation position; the negative feedback condition indicates that the operation position of the negative feedback operation is dynamically adjusted until it enters the area of the operation layer;
[0155] 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:
[0156] 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.
[0157] 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:
[0158] 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.
[0159] Based on the arrangement sequence of each media data in the media stream, the second media data is selected along the operation direction;
[0160] Present the second media data in the media interface.
[0161] In one implementation, the display unit 1101 is further configured to perform the following operations:
[0162] 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.
[0163] Play the updated media stream in the media interface.
[0164] In one implementation, the process of the server updating the media stream based on the negative feedback result includes:
[0165] The server obtains the target category to which the first media data belongs;
[0166] The server deletes all media data belonging to the target category from the media stream;
[0167] 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.
[0168] In one implementation, the display unit 1101 is further configured to perform the following operations:
[0169] 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.
[0170] 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.
[0171] 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.
[0172] In one implementation, the display unit 1101 is further configured to perform the following operations:
[0173] If the operation state of a negative feedback operation is revoked before the negative feedback condition is met, the operation layer is hidden.
[0174] 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.
[0175] When the display unit 1101 is used to hide the operation layer, it is used to perform the following operations:
[0176] Delete the layer; or,
[0177] Change the transparency parameter of the operation layer to make the operation layer transparent.
[0178] 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:
[0179] 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.
[0180] Present third-party media data in the media interface.
[0181] According to one embodiment of this application, Figure 11The data management device for the space adjustment object shown can be composed of various units, either individually or entirely, combined into one or more other units. Alternatively, some units can be further divided into functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. The above units are based on logical function division. In practical applications, the function of one unit can 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 collaboratively by multiple units. According to another embodiment of this application, a computer program (including program code) capable of executing the steps involved in the corresponding methods described above can be run 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). Figure 11 The media data processing apparatus shown herein, and the data management method for implementing the spatial adjustment object according to the embodiments of this application, are described. A computer program may be recorded on, for example, a computer-readable recording medium, loaded onto the aforementioned computing device via the computer-readable recording medium, and executed therein.
[0182] In this embodiment, when a negative feedback operation is detected on the first media data in the media stream presented on the media interface, the negative feedback operation is combined with a negative feedback event, an operation layer is actively displayed, and the operation state of the negative feedback operation is guided to meet the negative feedback conditions through the negative feedback conditions presented in the operation layer, so as to realize the negative feedback on the first media data and display the negative feedback result on the first media data. This eliminates the need for the object to switch between multiple trigger operations and multiple interfaces, greatly reducing the operation complexity of the object and improving the efficiency of negative feedback on media data.
[0183] Figure 12 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Please refer to [link / reference]. Figure 12The 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, and may optionally include a standard wired interface or a wireless interface (such as Wi-Fi, mobile communication interface, etc.), 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 (including the computer device 1200's built-in memory, and may also include extended memory supported by the computer device 1200). The computer-readable storage medium 1203 stores computer programs, including program instructions, and the processor 1201 executes 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.
[0184] 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.
[0185] 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; specifically, the one or more instructions in the computer-readable storage medium are loaded by the processor 1201 and executed as follows:
[0186] Display media interface, which is used to present media streams;
[0187] In response to a negative feedback operation on the first media data in the media stream, a display operation layer is triggered, the operation layer presenting the negative feedback condition;
[0188] 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.
[0189] In one implementation, the operation state of the negative feedback operation includes the operation duration and the operation distance; the processor 1201 is used to perform the following operations when the display operation layer is triggered in response to the negative feedback operation on the first media data in the media stream:
[0190] 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.
[0191] 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 processor 1201 triggers the display of the operation layer in the first form, it performs the following operations:
[0192] In the second direction along the media interface, the operation layer that displays the first form is triggered;
[0193] The second direction is different from the first direction, or the second direction is the opposite of the first direction.
[0194] In one implementation, the media data processing apparatus further includes a processor 1201, which performs the following operations:
[0195] When the operation distance of the negative feedback operation changes, the display form of the control operation layer changes accordingly.
[0196] In one implementation, the processor 1201 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:
[0197] 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;
[0198] 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.
[0199] 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;
[0200] 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.
[0201] In one implementation, the operation state of the negative feedback operation includes the operation position; the negative feedback condition indicates that the operation position of the negative feedback operation is dynamically adjusted until it enters the area of the operation layer;
[0202] When the operation state of the negative feedback operation meets the negative feedback condition, the processor 1201 displays the negative feedback result for the first media data and performs the following operations:
[0203] 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.
[0204] In one implementation, the operation state of the negative feedback operation also includes the operation direction; the processor 1201 is also used to perform the following operations:
[0205] 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.
[0206] Based on the arrangement sequence of each media data in the media stream, the second media data is selected along the operation direction;
[0207] Present the second media data in the media interface.
[0208] In one implementation, the processor 1201 is also used to perform the following operations:
[0209] 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.
[0210] Play the updated media stream in the media interface.
[0211] In one implementation, the process of the server updating the media stream based on the negative feedback result includes:
[0212] The server obtains the target category to which the first media data belongs;
[0213] The server deletes all media data belonging to the target category from the media stream;
[0214] 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.
[0215] In one implementation, the processor 1201 is also used to perform the following operations:
[0216] 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.
[0217] 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.
[0218] 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.
[0219] In one implementation, the processor 1201 is also used to perform the following operations:
[0220] If the operation state of a negative feedback operation is revoked before the negative feedback condition is met, the operation layer is hidden.
[0221] 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.
[0222] When the processor 1201 is used to hide the operation layer, it performs the following operations:
[0223] Delete the layer; or,
[0224] Change the transparency parameter of the operation layer to make the operation layer transparent.
[0225] In one implementation, the operation state of the negative feedback operation also includes the operation direction; the processor 1201 is also used to perform the following operations:
[0226] 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.
[0227] Present third-party media data in the media interface.
[0228] 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.
[0229] 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.
[0230] 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.
[0231] 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.
[0232] 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."
[0233] 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)).
[0234] 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 comprises: Display media interface, which is used to present media streams; In response to a negative feedback operation on the first media data in the media stream, a display operation layer is triggered, 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 step of triggering a display operation layer in response to a negative feedback operation on the first media data in the media stream includes: 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 triggered to be displayed, and the negative feedback condition is presented in the operation layer of the first form.
3. The method as described in claim 2, characterized in that, The operation state of the negative feedback operation also includes the operation direction, which includes a first direction along the media interface; The operation layer that triggers the display of the first form includes: In the second direction along the media interface, the operation layer that displays the first form is triggered; 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 as described in claim 2, 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 as described in claim 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 indicates 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 as described in claim 6, characterized in that, The operation state of the negative feedback operation also includes the operation direction; the method also 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. Based on the arrangement sequence of each media data in the media stream, the second media data is selected along the operation direction; The second media data is presented in the media interface.
8. The method as described in claim 6, 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 as described in claim 8, characterized in that, The process by which the server updates the media stream based on the negative feedback result includes: The server obtains the target category to which the first media data belongs; The server deletes all media data belonging to the target category in 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 as described in claim 6, 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 as described in claim 1, characterized in that, The method further includes: If the operation state of the negative feedback operation is withdrawn before the negative feedback condition is met, the operation layer is hidden.
12. The method as described in claim 10 or 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 to make the operation layer transparent.
13. The method as described in claim 2, characterized in that, The operation state of the negative feedback operation also includes the operation direction; the method also 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 along the operation direction based on the arrangement sequence 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 comprises: A display unit is used to display a media interface, which is used to present a media stream; The display unit is also configured to trigger a display 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.