Data processing method and apparatus, computer device, and readable storage medium
By introducing the progress time point annotation function in the video application, users can automatically jump to the video clips of interest, which solves the problem of low video progress positioning efficiency in the existing technology and achieves a more convenient video viewing experience.
Patent Information
- Application Number
- PCT/CN2023/083323
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-07-22
- Filing Date
- 2023-03-23
- Publication Date
- 2024-09-19
AI Technical Summary
In the current video data processing, users need to manually adjust the video progress bar to locate the video clips of interest, resulting in low efficiency.
By implementing the progress time point annotation function in video applications, users can trigger and confirm the annotation of media data, and then automatically jump to the specified video progress, reducing manual positioning steps.
The efficiency of video progress positioning is improved. Users do not need to manually search for relevant video clips, making the operation more convenient.
Smart Images

Figure CN2023083323_19092024_PF_FP_ABST
Abstract
Description
Data processing method, device, computer equipment and readable storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on July 22, 2022, with application number 202210866570.3 and application name “A data processing method, device, computer equipment and readable storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to data processing technology. Background Art
[0003] With the development of multimedia technology, video has become the primary medium for people to obtain information and enjoy entertainment in their daily lives. When a user browses comments associated with video data (e.g., the video data to be played), if they encounter a comment (e.g., comment P) that interests them (i.e., resonates with or disagrees with them), they will want to watch the video clip associated with comment P in the video data to be played.
[0004] Currently, if a user wants to watch a video clip associated with comment P, he or she needs to actively open the video data to be played and manually adjust the video progress bar of the video data to be played according to comment P, that is, manually search for the video clip associated with comment P in the video data to be played. Therefore, when using the existing manual positioning method to adjust the progress of the video data to be played, the user is required to adjust the video progress bar multiple times, which will bring inconvenience to the user and reduce the efficiency of video progress positioning.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a data processing method, apparatus, computer device, and readable storage medium, which can improve the efficiency of video progress positioning.
[0007] An embodiment of the present application provides a data processing method, which is executed by a computer device and includes:
[0008] Display the video data to be played in the video application;
[0009] In response to a trigger operation for the progress time point marking function in the video application, the marked media data is displayed in the video application; the marked media data is the media data associated with the current progress time point, and the current progress time point is the progress time point at which the to-be-played video data corresponding to the trigger operation is played;
[0010] In response to a confirmation operation on the annotated media data, the annotated media data is published; the published annotated media data has a function of indicating that the video data to be played is to be jumped in progress based on the current progress time point.
[0011] In one aspect, an embodiment of the present application provides a data processing apparatus, which is deployed on a computer device and includes:
[0012] A first display module, configured to display video data to be played in a video application;
[0013] A first response module is configured to respond to a trigger operation for a progress time point marking function in a video application and display the marked media data in the video application; the marked media data is media data associated with a current progress time point, where the current progress time point is the progress time point at which the to-be-played video data corresponding to the trigger operation is played;
[0014] The second response module is used to respond to the confirmation operation on the marked media data and publish the marked media data; the published marked media data has the function of indicating that the video data to be played is to jump to the current progress time point.
[0015] In one aspect, an embodiment of the present application provides a computer device, including: a processor and a memory;
[0016] The processor is connected to a memory, wherein the memory is used to store a computer program. When the computer program is executed by the processor, the computer device executes the method provided in the embodiment of the present application.
[0017] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program is suitable for being loaded and executed by a processor so that a computer device having the processor executes the method provided by the embodiment of the present application.
[0018] In one aspect, an embodiment of the present application provides a computer program product, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the method provided in the embodiment of the present application.
[0019] In an embodiment of the present application, after displaying the video data to be played in the video application, the computer device can respond to a trigger operation for the progress time point marking function in the video application and display the marked media data in the video application. The marked media data is the media data associated with the current progress time point corresponding to the trigger operation. Further, the computer device can respond to a confirmation operation for the marked media data and publish the marked media data. The published marked media data has the function of indicating that the video data to be played is to jump to the progress based on the current progress time point. It can be seen that the embodiment of the present application can bind the current progress time point to the marked media data to realize the association relationship between the marked media data and the video data to be played. Therefore, after the marked media data is published, the progress of the video data to be played can be jumped by the current progress time point bound to the published marked media data, that is, the playback progress of the video data to be played can be intelligently jumped to the playback progress indicated by the current progress time point in the video application, thereby eliminating the need to manually locate the playback progress associated with the marked media data in the video data to be played. Instead, the efficiency of video progress positioning is improved based on the association relationship between the marked media data and the video data to be played. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] FIG1 is a schematic diagram of a network architecture provided in an embodiment of the present application;
[0022] FIG2 is a schematic diagram of a data interaction scenario provided by an embodiment of the present application;
[0023] FIG3 is a flow chart of a data processing method provided in an embodiment of the present application;
[0024] FIG4 is a schematic diagram of a scenario of opening video data to be played provided by an embodiment of the present application;
[0025] FIG5 is a schematic diagram of a scenario of switching playback modes provided in an embodiment of the present application;
[0026] FIG6a is a schematic diagram of a scenario for intercepting and annotating image data provided by an embodiment of the present application;
[0027] FIG6 b is a schematic diagram of a scenario for intercepting annotated image data provided by an embodiment of the present application;
[0028] FIG7a is a schematic diagram of a scenario for generating annotated text data provided by an embodiment of the present application;
[0029] FIG7 b is a schematic diagram of a scenario for generating annotated text data provided by an embodiment of the present application;
[0030] FIG8 is a schematic diagram of a scenario for intercepting and annotating video data provided by an embodiment of the present application;
[0031] FIG9 is a schematic diagram of a scenario for intercepting and annotating animated image data provided by an embodiment of the present application;
[0032] FIG10a is a schematic diagram of a scenario for publishing annotated media data provided by an embodiment of the present application;
[0033] FIG10b is a schematic diagram of a scenario for publishing annotated media data provided by an embodiment of the present application;
[0034] FIG11 is a flow chart of a data processing method provided in an embodiment of the present application;
[0035] FIG12a is a schematic diagram of a scene showing a media annotation control according to an embodiment of the present application;
[0036] FIG12b is a schematic diagram of a scene showing a media annotation control according to an embodiment of the present application;
[0037] FIG13 is a schematic diagram of a process for calling a half-screen publisher provided in an embodiment of the present application;
[0038] FIG14 is a schematic diagram of a process for generating annotated media data according to an embodiment of the present application;
[0039] FIG15 is a schematic diagram of a process for publishing annotated media data provided by an embodiment of the present application;
[0040] FIG16 is a schematic diagram of a scenario for publishing annotated media data provided by an embodiment of the present application;
[0041] FIG17 is a flow chart of a data processing method provided in an embodiment of the present application;
[0042] FIG18a is a schematic diagram of a scenario for displaying annotated media data provided by an embodiment of the present application;
[0043] FIG18b is a schematic diagram of a scenario for displaying annotated media data provided by an embodiment of the present application;
[0044] FIG19 is a schematic diagram of a scenario of switching playback progress provided by an embodiment of the present application;
[0045] FIG20a is a schematic diagram of a scenario for performing progress jump provided in an embodiment of the present application;
[0046] FIG20 b is a schematic diagram of a scenario for performing progress jump provided in an embodiment of the present application;
[0047] FIG20c is a schematic diagram of a scenario for performing progress jump provided in an embodiment of the present application;
[0048] FIG20d is a schematic diagram of a scenario for performing progress jump provided in an embodiment of the present application;
[0049] FIG21 is a schematic structural diagram of a data processing device provided in an embodiment of the present application;
[0050] FIG22 is a schematic structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0052] It should be understood that the embodiments of the present application may involve artificial intelligence technology, through which the playback progress of the video data to be played can be intelligently jumped to the playback progress indicated by the current progress time point in the video application, thereby eliminating the need to manually locate the playback progress associated with the annotated media data in the video data to be played. Instead, the efficiency of video progress positioning can be improved based on the association between the annotated media data and the video data to be played.
[0053] Please refer to Figure 1, which is a structural diagram of a network architecture provided by an embodiment of the present application. As shown in Figure 1, the network architecture may include a server 2000 and a terminal device cluster. Among them, the terminal device cluster may specifically include one or more terminal devices, and the number of terminal devices in the terminal device cluster will not be limited here. As shown in Figure 1, multiple terminal devices may specifically include terminal device 3000a, terminal device 3000b, terminal device 3000c, ..., terminal device 3000n; terminal device 3000a, terminal device 3000b, terminal device 3000c, ..., terminal device 3000n can be directly or indirectly connected to the server 2000 through wired or wireless communication, so that each terminal device can exchange data with the server 2000 through the network connection.
[0054] Each terminal device in the terminal device cluster may include: a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart home appliance (e.g., a smart TV), a wearable device, an in-vehicle terminal, or other smart terminal with a video data processing function. It should be understood that each terminal device in the terminal device cluster shown in FIG1 may be installed with an application client. When the application client runs in each terminal device, it may respectively interact with the server 2000 shown in FIG1 above. The application client may be an independent client or an embedded sub-client integrated in a client, and this application does not limit this.
[0055] Among them, the application client can specifically include a browser, a car client, a smart home client, an entertainment client, a multimedia client (for example, a video client), a social client, and an information client, etc., which have multimedia data processing functions. In other words, the embodiment of the present application can refer to the application client as a multimedia application, and illustrate it with a video application as an example.
[0056] Among them, server 2000 can be the server corresponding to the application client. The server 2000 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, as well as big data and artificial intelligence platforms.
[0057] For ease of understanding, in the embodiment of the present application, a terminal device can be selected from the multiple terminal devices shown in Figure 1 as the target terminal device. For example, in the embodiment of the present application, the terminal device 3000b shown in Figure 1 can be used as the target terminal device. The target terminal device can be installed with a video application having a video data processing function. In this case, the target terminal device can exchange data with the server 2000 through the video application.
[0058] For ease of understanding, in the embodiment of the present application, the videos that a user (for example, object Y) has selected in the video recommendation interface of the video application and that suit his or her interests are collectively referred to as videos to be played, and the video data corresponding to the videos to be played can be referred to as video data to be played. Among them, the videos to be played here can be long videos such as variety shows, movies, and TV series, and can also be short videos intercepted from long videos, etc., which are not limited in this application. For ease of understanding, the annotated media data can refer to information associated with the video to be played. Based on the possible release form of the information, in the embodiment of the present application, the annotated media data can be referred to as comment information associated with the video to be played, or the annotated media data can be referred to as posts associated with the video to be played. For ease of understanding, in the embodiment of the present application, the user corresponding to the video application (for example, the above-mentioned object Y) can be referred to as a viewing object.
[0059] It should be understood that the business scenarios applicable to the above-mentioned network framework may specifically include: entertainment program on-demand scenarios, online cinema viewing scenarios, online classroom lecture scenarios, etc. The network framework can realize the annotation of the current progress time point in business scenarios such as entertainment program on-demand scenarios, online cinema viewing scenarios, and online classroom lecture scenarios. The business scenarios applicable to the network framework will not be listed one by one here. For example, in the entertainment program on-demand scenario, the video to be played here can be the entertainment program that suits the interests of object Y in the video recommendation interface (for example, the entertainment program recommendation list). For another example, in the online cinema viewing scenario, the video to be played here can be the movie that suits the interests of object Y in the video recommendation interface (for example, the movie recommendation list). For another example, in the online classroom lecture scenario, the video to be played here can be the course that suits the interests of object Y in the video recommendation interface (for example, the course recommendation list).
[0060] It should be understood that the target terminal device can respond to the trigger operation performed by object Y for the progress time point marking function, display the annotated media data associated with the current progress time point, and the current progress time point is the progress time point to which the video data to be played corresponding to the trigger operation is played, and then publish the annotated media data. The annotated media data after publication has the function of realizing progress jump, that is, the video data to be played can be progress jumped based on the annotated media data marked with the current progress time point. At this time, the annotated media data can be various types of data, for example, the annotated media data can be image data (including static images and dynamic images) and video data captured in the video data to be played, or it can be text data corresponding to the current progress time point (that is, the playback progress of the target video at a certain moment), or it can be comment data for the target video, which is not limited here.
[0061] For ease of understanding, further reference is made to FIG2 , which is a schematic diagram of a scenario for data interaction provided in an embodiment of the present application. The server 20a shown in FIG2 may be the server 2000 in the embodiment corresponding to FIG1 , and the terminal device 20b shown in FIG2 may be the target terminal device in the embodiment corresponding to FIG1 . A video application is installed on the terminal device 20b, and the video application may be used to display the video data to be played and the annotated media data bound to the current progress time point; the user corresponding to the terminal device 20b may be the object 20c.
[0062] As shown in FIG2 , the terminal device 20b can display the video data to be played through the video application, where the video data to be played may be the video data 21a to be played. The video data 21a to be played has different play progress at different times. The play progress of the video data 21a to be played at time T1 may be play progress J1, and the play progress of the video data 21a to be played at time T2 may be play progress J2.
[0063] As shown in FIG2 , at time T1, object 20c can perform a trigger operation for the progress time point marking function. Thus, terminal device 20b can respond to the trigger operation performed by object 20c for the progress time point marking function, obtain the current progress time point corresponding to the trigger operation, obtain the annotated media data associated with the current progress time point from the video data to be played, and then display the annotated media data in the video application. The current progress time point is the progress time point at which the video data to be played corresponding to the trigger operation is played. Typically, the playback progress indicated by the current progress time point can be playback progress J3, which can be the same playback progress as playback progress J1 or different from playback progress J1.
[0064] Object 20c can perform a confirmation operation on the annotated media data. Terminal device 20b can respond to the confirmation operation performed by object 20c on the annotated media data by binding the current progress time point to the annotated media data and publishing the annotated media data bound to the current progress time point. Terminal device 20b can then send the annotated media data to server 20a, which can then verify the legality of the annotated media data and obtain a verification result.
[0065] It is understood that if the audit result indicates that the audit is passed (i.e., the annotated media data is legal), the server 20a can store the annotated media data in the media database 21b, and return the audit result indicating that the audit is passed to the terminal device 20b. The media database 21b can be set up separately, or integrated on the server 20a, or integrated on other devices or the cloud, which is not limited here. Optionally, if the audit result indicates that the audit is not passed (i.e., the annotated media data is not legal), the server 20a does not need to store the annotated media data in the media database 21b, and returns the audit result indicating that the audit is not passed to the terminal device 20b.
[0066] Media database 21b may include multiple databases, specifically database 22a, database 22b, ..., and database 22n. Databases 22a, 22b, ..., and 22n may be used to store data associated with video applications. For example, database 22a may be used to store video data, database 22b may be used to store interactive information, ..., and database 22n may be used to store topic data. Therefore, because the annotated media data represents commentary information about the video data, server 20a may store the annotated media data in database 22a, which is used to store video data.
[0067] It is understood that if an audit result indicating that the audit has passed is received, the terminal device 20b can determine that the annotated media data has been successfully published and display the published annotated media data in the media data display interface of the video application. The published annotated media data has the function of indicating that the progress of the video data to be played is jumped based on the current progress time point. As shown in Figure 2, at time T2, object 20c can perform a trigger operation on the published annotated media data. In this way, the terminal device 20b can respond to the trigger operation performed by object 20c on the published annotated media data, obtain the current progress time point bound to the annotated media data from the annotated media data, and then jump the progress of the video data to be played based on the current progress time point, that is, switch the playback progress J2 of the video data to be played 21a at time T2 to the playback progress J3 indicated by the current progress time point.
[0068] It should be understood that the terminal device 20b can display the annotated media data in the video application after sending the annotated media data to the server 20a and before receiving the review result returned by the server 20a. At this time, the status of the annotated media data is under review. It is understandable that if an audit result indicating that the review is passed is received, the terminal device 20a can determine that the annotated media data is successfully published. At this time, the terminal device 20a can update the status of the annotated media data under review displayed in the video application. The updated status can indicate the release time of the annotated media data. Optionally, if an audit result indicating that the review is not passed is received, the terminal device 20a can determine that the annotated media data is not successfully published. At this time, the terminal device 20a can delete the annotated media data under review displayed in the video application and display an audit prompt message. For example, the audit prompt message here can be "Comment review failed!".
[0069] It can be seen from this that the embodiment of the present application can bind the current progress time point to the annotated media data when responding to a trigger operation for the progress time point marking function. The current progress time point can be used to indicate the playback progress of the video data to be played corresponding to the trigger operation. Therefore, after the annotated media data is published, the progress jump of the video data to be played can be achieved through the current progress time point bound to the published annotated media data, that is, the playback progress of the video data to be played is jumped to the playback progress indicated by the current progress time point, thereby improving the efficiency of video progress positioning.
[0070] Please refer to Figure 3, which is a flow chart of a data processing method provided in an embodiment of the present application. The method can be executed by a server, or by a terminal device, or by both a server and a terminal device. The server can be the server 20a in the embodiment corresponding to Figure 2 above, and the terminal device can be the terminal device 20b in the embodiment corresponding to Figure 2 above. For ease of understanding, the embodiment of the present application is described by taking the method executed by a terminal device as an example. Among them, the data processing method may include the following S101-S103:
[0071] S101, displaying video data to be played in a video application;
[0072] It is understandable that when the viewing object needs to watch a certain video (for example, a target video) in a video application, a trigger operation can be performed on multiple recommended videos in the video recommendation interface of the video application. In this way, the terminal device can respond to the trigger operation performed by the viewing object on multiple recommended videos, determine the recommended video corresponding to the trigger operation as the video to be played, and then send a video playback request to the server corresponding to the video application based on the video identifier of the video to be played, and then after receiving the video data to be played corresponding to the video to be played returned by the server, display and play the video data to be played in the video playback interface of the video application.
[0073] For ease of understanding, please refer to Figure 4, which is a schematic diagram of a scenario for opening video data to be played, provided in an embodiment of the present application. The video recommendation interface 40a and the video playback interface 40b shown in Figure 4 can be interfaces of a video application at different times. The video recommendation interface 40a can include multiple recommended videos, which can specifically include: recommended video 41a, recommended video 41b, recommended video 41c, and recommended video 41d.
[0074] As shown in Figure 4, object 40c can perform a trigger operation on recommended video 41b (i.e., target video 41b) among multiple recommended videos. In this way, the terminal device can respond to the trigger operation performed by object 40c on recommended video 41b and, based on the video identifier of recommended video 41b, send a video play request to the server corresponding to the video application, and then receive the video data corresponding to recommended video 41b (i.e., the video data to be played) returned by the server. At this time, the terminal device can switch the video recommendation interface 40a to the video playback interface 40b, and display and play the video data corresponding to recommended video 41b in the video playback interface 40b.
[0075] It can be understood that the video playback interface 40b shown in Figure 4 can be called a half-screen playback interface of a video application (i.e., half-screen playback interface 40b). When the viewing object needs to watch the video data to be played in full-screen mode, a trigger operation can be performed on the screen conversion control (also called the full-screen conversion control) in the half-screen playback interface. In this way, the terminal device can respond to the trigger operation performed by the viewing object on the full-screen conversion control, and display and play the video data to be played in the full-screen playback interface of the video application. Among them, the half-screen playback interface and the full-screen playback interface can be collectively referred to as a video playback interface. The half-screen playback interface and the full-screen playback interface can represent different playback modes of the video data to be played. The half-screen playback interface and the full-screen playback interface both represent the entire interface displayed on the display screen of the terminal device, that is, the half-screen playback interface and the full-screen playback interface are both application interfaces that occupy the entire terminal screen. The size of the playback area in the half-screen playback interface is smaller than the size of the entire terminal screen, and the size of the playback area in the full-screen playback interface is equal to the size of the entire terminal screen.
[0076] For ease of understanding, please refer to Figure 5, which is a schematic diagram of a scenario for switching playback modes provided in an embodiment of the present application. Object 51b shown in Figure 5 can be object 40c shown in Figure 4; video playback interface 50a and video playback interface 50b shown in Figure 5 can be video playback interfaces of a video application at different times, wherein video playback interface 50a can be a half-screen playback interface, and video playback interface 50b can be a full-screen playback interface.
[0077] It can be understood that when object 51b needs to watch the video data to be played in full-screen mode, a trigger operation (for example, a click operation) can be performed on the video playback interface 40b shown in Figure 4. In this way, the terminal device can respond to the trigger operation performed by object 51b on the video playback interface 40b, display the full-screen conversion control 51a in the video playback interface 40b, and obtain the video playback interface 50a (that is, the half-screen playback interface 50a).
[0078] As shown in Figure 5, object 51b can perform a trigger operation on the full-screen conversion control 51a in the video playback interface 50a. In this way, the terminal device can respond to the trigger operation performed by object 51b on the full-screen conversion control 51a, switch the video playback interface 50a to the video playback interface 50b (i.e., the full-screen playback interface 50b), and display and play the video data corresponding to the recommended video 41b in the video playback interface 50b.
[0079] Similarly, it is understandable that when the viewing object needs to watch the video data to be played in half-screen mode, a trigger operation can be performed on the screen conversion control (also known as the half-screen conversion control) in the full-screen playback interface. In this way, the terminal device can respond to the trigger operation performed by the viewing object on the half-screen conversion control and display and play the video data to be played in the half-screen playback interface of the video application. The specific process of displaying the half-screen conversion control in the full-screen playback interface can be found in the description of displaying the full-screen conversion control in the half-screen playback interface above, and will not be repeated here.
[0080] S102, responding to a triggering operation for a progress time point marking function in the video application, displaying the marked media data in the video application;
[0081] Among them, the annotated media data is the media data associated with the current progress time point; the current progress time is the progress time point to which the to-be-played video data corresponding to the triggering operation is played. The annotated media data can be at least one of annotated image data, annotated video data, annotated animated image data (Graphics Interchange Format, Graphics Interchange Format, abbreviated as GIF), annotated text data, or to-be-published comment media data. The annotated image data and annotated animated image data here can be collectively referred to as image data. Among them, no matter which combination of the annotated media data is, the annotated media data can always be bound to the current progress time point, that is, in the subsequent steps, no matter which combination of annotated media data is triggered, the to-be-played video data can be instructed to jump in progress based on the current progress time point.
[0082] Among them, it can be understood that when the annotated media data includes at least two data among the annotated image data, the annotated video data, the annotated animated image data, the annotated text data and the to-be-published comment media data, the progress time points to which the at least two data are respectively bound can be the same progress time point or different progress time points. For example, when the annotated media data includes annotated image data and annotated text data, the progress time point bound to the annotated image data and the progress time point bound to the annotated text data can be the same progress time point (i.e., the current progress time point). For another example, when the annotated media data includes two annotated image data, the progress time points to which the two annotated image data are respectively bound can be different progress time points. For another example, when the annotated media data includes annotated image data and annotated video data, the progress time point bound to the annotated image data and the progress time point bound to the annotated video data can be different progress time points.
[0083] In one possible implementation, the annotated media data may include annotated image data captured from the video data to be played. It should be understood that the terminal device can display a media image capture control associated with the progress time point annotation function in the video playback interface of the video application. Furthermore, the terminal device can respond to a trigger operation for the media image capture control at the current progress time point and display the annotated image data in the image annotation area of the video application. There is a binding relationship between the annotated image data and the current progress time point; the progress time point of the annotated image data in the video data to be played is the current progress time point. In this way, the video screen corresponding to the current progress time point can be reflected through the annotated media data, which is convenient for other users to choose whether to jump to the progress through the annotated media data.
[0084] For ease of understanding, please refer to Figures 6a and 6b, which are schematic diagrams of a scenario for intercepting annotated image data provided in an embodiment of the present application. Figure 6a is a schematic diagram of a scenario for intercepting annotated image data in a full-screen playback interface, and Figure 6b is a schematic diagram of a scenario for intercepting annotated image data in a half-screen playback interface. It can be understood that in the process of intercepting annotated image data in the full-screen playback interface and the half-screen playback interface, the present application supports a one-click shortcut to take a screenshot of the currently playing video data (i.e., the video data to be played).
[0085] The video playback interface 60a (i.e., full-screen playback interface 60a) shown in FIG6a and the video playback interface 50b shown in FIG5 can be video playback interfaces of a video application at different times. The video playback interface 60a can include a media image capture control 61a, and the video data to be played is played in the video playback interface 60a. As shown in FIG6a, an object 61b can perform a trigger operation on the media image capture control 61a at the current progress time point. In this way, the terminal device can respond to the trigger operation performed by object 61b on the media image capture control 61a, switch the video playback interface 60a to the media control interface 60b, and display annotated image data 61d in the image annotation area 61c of the media control interface 60b. Here, the annotated image data 61d is the image data corresponding to the video data to be played at the current progress time point.
[0086] As shown in Figure 6a, the media control interface 60b may further include a media image saving control 62a, a media image sharing control 62b, and a media image publishing control 62c. The media image saving control 62a may be used to save the annotated image data 61d to an album on the terminal device, the media image sharing control 62b may be used to share the annotated image data 61d to platforms other than the video application, and the media image publishing control 62c may be used to publish the annotated image data 61d within the video application.
[0087] The video playback interface 63a shown in Figure 6b (i.e., half-screen playback interface 63a) and the video playback interface 40b shown in Figure 4 can be video playback interfaces of video applications at different times. The video playback interface 63a may include a media image capture control 64b, and the video data to be played is played in the playback area 64a of the video playback interface 63a.
[0088] As shown in Figure 6b, object 64c can perform a trigger operation on the media image screenshot control 64b at the current progress time point. In this way, the terminal device can respond to the trigger operation performed by object 64c on the media image screenshot control 64b, switch the video playback interface 63a to the video playback interface 63b, and display the annotated image data in the image annotation area 64d of the video playback interface 63b. The annotated image data here can be annotated image data 65a, and the annotated image data 65a is the image data corresponding to the video data to be played at the current progress time point.
[0089] As shown in Figure 6b, object 64c can perform a trigger operation on the media image screenshot control 64b again at the next progress time point (i.e., the auxiliary progress time point) of the current progress time point. In this way, the terminal device can respond to the trigger operation performed by object 64c on the media image screenshot control 64b again, switch the video playback interface 63b to the video playback interface 63c, and display the annotated image data in the video playback interface 63c. The annotated image data here can be annotated image data 65b, and the annotated image data 65b is the image data corresponding to the video data to be played at the auxiliary progress time point.
[0090] As shown in Figure 6b, the video playback interface 63c may also include a media image publishing control 64e, which can be used to publish annotated image data 65a and annotated image data 65b within the video application. Similarly, the video playback interface 63b may also include a media image publishing control 64e, which can be used to publish annotated image data 65a within the video application. Therefore, this embodiment of the present application can achieve the interception of multiple annotated image data, each of which can carry a different progress time point, thereby improving the operational efficiency of the viewing object.
[0091] In one possible implementation, the annotated media data may include comment media data to be published and annotated text data. It should be understood that the terminal device can display a media text interception control associated with the progress time point annotation function in the video playback interface of the video application. Furthermore, the terminal device can respond to a trigger operation for the media text interception control at the current progress time point, and display the annotated text data in the text annotation area of the video application. There is a binding relationship between the annotated text data and the current progress time point. Furthermore, the terminal device can respond to an input operation for the text annotation area, and display the input comment media data to be published in the text annotation area. Optionally, the terminal device may not need to respond to an input operation for the text annotation area, but directly use the annotated text data displayed in the text annotation area as the annotated media data.
[0092] In one possible implementation, the annotated media data may include comment media data to be published. It should be understood that the terminal device can display a media text interception control associated with the progress time point annotation function in the video playback interface of the video application, and then respond to the trigger operation of the media text interception control at the current progress time point, display a text annotation area in the video application, and then respond to the input operation of the text annotation area, and display the input comment media data to be published in the text annotation area. At this time, the terminal device can directly use the comment media data to be published displayed in the text annotation area as the annotated media data, that is, the annotated media data includes the comment media data to be published.
[0093] Among them, the annotated text data can be the text data corresponding to the current progress time point. For example, when the current progress time point is the 3rd minute and 12th second in the 10th episode, the annotated text data can be "Episode 10 00:03:12", that is, this application supports annotating the episode number information and time point information (that is, the current playback progress) of the currently playing video data (that is, the video data to be played), wherein "Episode 10" is the episode number information of the video data to be played, and "00:03:12" is the time point information of the video data to be played. Optionally, the video data to be played may not include the episode number (for example, the video data to be played is a movie). For example, when the current progress time point is the 3rd minute and 12th second, the annotated text data can be "00:03:12". Optionally, the terminal device can also display the annotation icon data in the text annotation area of the video application in response to the trigger operation for the media text interception control, and then use the annotation icon data as the annotation text data. For example, the annotation icon data can be icons such as triangles, squares, and emoticons.
[0094] Therefore, the current progress time point and the comment media data of the viewing user can be reflected by annotating the media data, so that other users can choose whether to jump to the progress through the annotated media data according to the comment media data.
[0095] In one possible implementation, there are many ways to display annotated text data in the text annotation area of a video application. In some cases, in order to attract users to watch, the annotated text data can reflect the relevant video content at the current progress time point. In this case, the way to display the annotated text data in the text annotation area of the video application can be that the terminal device responds to the trigger operation for the media text interception control at the current progress time point, and obtains the target video segment corresponding to the current progress time point in K video segments, and the K video segments are video segments associated with the video data to be played. Here, K can be a positive integer. Furthermore, the terminal device can use the segment attribute information of the target video segment as the annotated text data, and display the annotated text data in the text annotation area of the video application. The segment attribute information can reflect the relevant video content at the current progress time point. For example, the target video segment corresponding to the current progress time point can be the first video segment among the K video segments, and the segment attribute information of the first video segment can be "festive atmosphere". Therefore, the annotated text data can be "festive atmosphere". It should be understood that the terminal device can evenly divide the video data to be played into K video segments based on time length, or can cluster the video frames in the video data to be played into K video segments based on similarity. This embodiment of the application does not limit the specific method of dividing the video data to be played. In addition, by inputting the K video segments obtained by division into the target attribute model, the segment attribute information corresponding to each of the K video segments can be output. This embodiment of the application does not limit the model type of the target attribute model.
[0096] For ease of understanding, please refer to Figures 7a and 7b, which are schematic diagrams of a scenario for generating annotated text data provided in an embodiment of the present application. Figure 7a shows a schematic diagram of a scenario for generating annotated text data in a full-screen playback interface, and Figure 7b shows a schematic diagram of a scenario for generating annotated text data in a half-screen playback interface.
[0097] The video playback interface 70a shown in Figure 7a (i.e., the full-screen playback interface 70a) and the video playback interface 50b shown in Figure 5 can be video playback interfaces of video applications at different times. The video playback interface 70a may include a media text capture control 71a, and the video playback interface 70a plays the video data to be played.
[0098] As shown in Figure 7a, object 71b can perform a trigger operation on the media text interception control 71a at the current progress time point. In this way, the terminal device can respond to the trigger operation performed by object 71b on the media text interception control 71a, switch the video playback interface 70a to the video playback interface 70b, and display the annotated text data 72a in the text annotation area 72b of the video playback interface 70b. The annotated text data 72a here can be "Episode 1 00:10:15".
[0099] As shown in FIG7a , the video playback interface 70b may further include a media text publishing control 72c, which can be used to publish the annotated text data 72a within the video application. Furthermore, the video playback interface 70b may further include a function control 72e, which can be used to perform more detailed editing of the annotated media data. The generated annotated media data can be updated through the function control 72e.
[0100] As shown in Figure 7a, object 71b can perform input operations on the text annotation area 72b. In this way, the terminal device can respond to the input operation performed by object 71b on the text annotation area 72b, switch the video playback interface 70b to the video playback interface 70c, and display the input comment media data 72d to be published in the text annotation area 72b of the video playback interface 70c. The comment media data 72d to be published here can be "This is too good to hear."
[0101] Similarly, as shown in FIG7 a , the video playback interface 70 c may further include a media text publishing control 72 c , which may be used to publish the annotation text data 72 a and the to-be-published comment media data 72 d within the video application.
[0102] The video playback interface 73a (i.e., half-screen playback interface 73a) shown in FIG7b can be the video playback interface 63a in the embodiment corresponding to FIG6b above. The video playback interface 73a can include a media text interception control 74b. As shown in FIG7b, an object 74c can perform a trigger operation on the media text interception control 74b at the current progress time point. In this way, the terminal device can respond to the trigger operation performed by object 74c on the media text interception control 74b and switch the video playback interface 73a to the video playback interface 73b. The text annotation area 74a of the video playback interface 73b displays annotation text data 74e. The annotation text data 74e is the text data corresponding to the video data to be played at the current progress time point. Here, the annotation text data 74e can be "Episode 1 00:10:15".
[0103] Object 74c can perform input operations on the text annotation area 74a. The specific process of object 74c performing input operations on the text annotation area 74a can be referred to the description of object 71b performing input operations on the text annotation area 72b in the embodiment corresponding to Figure 7a above, and will not be repeated here. As shown in Figure 7b, the video playback interface 73b can also include a media text publishing control 74d, which can be used to publish the annotated text data 74e within the video application.
[0104] In one possible implementation, the annotated media data may include annotated text data and annotated image data captured from the video data to be played. It should be understood that the terminal device can display a media image capture control associated with the progress time point annotation function in the video playback interface of the video application. Further, the terminal device can respond to a trigger operation for the media image capture control at the current progress time point and display the annotated image data in the image annotation area of the video application. There is a binding relationship between the annotated image data and the current progress time point; the progress time point of the annotated image data in the video data to be played is the current progress time point. Further, the terminal device can display a media image publishing control corresponding to the annotated image data in the video application. Further, the terminal device can respond to a confirmation operation for the media image publishing control and display the annotated text data in the comment annotation area of the video application. There is a binding relationship between the annotated text data and the current progress time point.
[0105] It is understood that, referring to Figures 6a and 7a, the terminal device can respond to a triggering operation on the media image publishing control 62c in the media control interface 60b by switching the media control interface 60b to the media control interface 70b, and displaying the annotated text data 72a in the text annotation area 72b of the media control interface 70b. Therefore, the terminal device can respond to a triggering operation on the media data publishing control 72c in the media control interface 70b to publish the annotated text data 72a and the annotated image data 61d within the video application.
[0106] When object 71b enters the comment media data to be published in the text annotation area 72b, the terminal device can switch the media control interface 70b to the media control interface 70c, and display the entered comment media data 72d to be published in the media control interface 70c. Therefore, the terminal device can respond to the triggering operation of the media data publishing control 72c in the media control interface 70c and publish the annotated text data 72a, the annotated image data 61d, and the comment media data to be published 72d within the video application. At this time, the annotated media data includes the comment media data to be published, the annotated text data, and the annotated image data captured from the video data to be played.
[0107] Please refer to Figures 6a and 7a together. The terminal device can respond to the confirmation operation of the media image publishing control 62c in the media control interface 60b and switch the media control interface 60b to the media control interface. At this time, the media control interface obtained by switching can be a media control interface 70b that does not include the annotated text data 72a. Furthermore, when the object 71b enters the comment media data to be published in the text annotation area 72b, the terminal device can display the entered comment media data 72d to be published in the text annotation area 72b, and obtain a media control interface 70c that does not include the annotated text data 72a. Therefore, the terminal device can respond to the trigger operation of the media data publishing control 72c in the media control interface 70c and publish the annotated image data 61d and the comment media data to be published 72d within the video application. At this time, the annotated media data includes the comment media data to be published and the annotated image data intercepted from the video data to be played.
[0108] In this way, the video image and comment media data corresponding to the current progress time point can be reflected through the annotated media data, which makes it easier for other users to choose whether to jump to the progress through the annotated media data.
[0109] In one possible implementation, the annotated media data may include annotated video data captured from the video data to be played. It should be understood that the terminal device can display a media video capture control associated with the progress time point annotation function in the video playback interface of the video application. Furthermore, the terminal device can respond to a trigger operation for the media video capture control at the triggered progress time point and display the annotated video data in the video annotation area of the video application. There is a binding relationship between the annotated video data and the current progress time point; the triggered progress time point is used to determine the current progress time point in the video data to be played, and the current progress time point is used to determine the capture start time in the video data to be played; the duration of the annotated video data is the capture duration associated with the progress time point annotation function.
[0110] It is understood that the current progress time point can be determined in the video data to be played based on the trigger progress time point, and the interception end time can be determined in the video data to be played based on the interception start time indicated by the current progress time point. It should be understood that the embodiment of the present application does not limit the specific duration of the interception time associated with the progress time point marking function. For example, the interception time length can be 30 seconds.
[0111] For ease of understanding, please refer to Figure 8, which is a schematic diagram of a scenario for intercepting annotated video data provided by an embodiment of the present application. As shown in Figure 8, it is a schematic diagram of a scenario for intercepting annotated video data in a full-screen playback interface. The video playback interface 80a shown in Figure 8 (i.e., the full-screen playback interface 80a) and the video playback interface 50b shown in Figure 5 can be video playback interfaces for video applications at different times. The video playback interface 80a includes a media video interception control 81a. It should be understood that the specific process of intercepting annotated video data in a half-screen playback interface can be found in the description of intercepting annotated video data in a full-screen playback interface, and this application will not go into details.
[0112] As shown in Figure 8, object 81b can perform a trigger operation on the media video interception control 81a at the trigger progress time point. In this way, the terminal device can respond to the trigger operation performed by object 81b on the media video interception control 81a, switch the video playback interface 80a to the media control interface 80b, and display the annotated video data 82b in the video annotation area 82a of the media control interface 80b. Here, the starting progress time point of the annotated video data 82b in the video data to be played is the current progress time point, and the annotated video data 82b can be automatically played in the video annotation area 82a.
[0113] Among them, it should be understood that Figure 8 shows the specific process of intercepting annotated video data in the full-screen playback interface. The specific process of intercepting annotated video data in the half-screen playback interface can be found in the description of intercepting annotated video data in the full-screen playback interface. This application will not go into details.
[0114] As shown in FIG8 , the media control interface 80b includes a media video confirmation control 81c. Object 81b can perform a trigger operation on the media video confirmation control 81c. In this way, the terminal device can respond to the trigger operation performed by object 81b on the media video confirmation control 81c and switch the media control interface 80b to the media control interface 80c. The media control interface 80c can include a media video save control 82a, a media video share control 82b, and a media video publish control 82c. Among them, the media video save control 82a can be used to save the annotated video data 82b to the album of the terminal device, the media video share control 82b can be used to share the annotated video data 82b to other platforms besides the video application, and the media video publish control 82c can be used to publish the annotated video data 82b within the video application.
[0115] It should be understood that the specific process of the terminal device publishing the annotated video data 82b based on the media video publishing control 82c can be referred to the description of publishing the annotated image data 61d based on the media image publishing control 62a in the embodiment corresponding to Figure 6a above, and will not be repeated here.
[0116] As shown in FIG8 , the media control interface 80b further includes a media video adjustment control 81d, which can be used to adjust the video information of the annotated video data 82b, and update the annotated video data 82b with the adjusted annotated video data 82b. The video information of the annotated video data 82b may include video duration and video position. The video duration may indicate the duration of the annotated video data 82b captured in the video data to be played, and the video position may indicate the start time and end time of the capture of the annotated video data 82b in the video data to be played.
[0117] In another possible implementation, the annotated media data may include annotated animated image data captured from the video data to be played. It should be understood that the terminal device can display a media animated image capture control associated with the progress time point annotation function in the video playback interface of the video application. Furthermore, the terminal device can respond to a trigger operation for the media animated image capture control and display the annotated animated image data in the animated image annotation area of the video application. There is a binding relationship between the annotated animated image data and the current progress time point; the current progress time point is used to determine the capture start time in the video data to be played.
[0118] For ease of understanding, please refer to Figure 9, which is a schematic diagram of a scenario for intercepting and annotating animated image data provided by an embodiment of the present application. The media control interface 90a shown in Figure 9 can be the media control interface 80b in the embodiment corresponding to Figure 8 above. The media control interface 90a may include a media animated image interception control 91a (i.e., an animated image switching control 91a), and the object 91b can perform a trigger operation on the media animated image interception control 91a. In this way, the terminal device can respond to the trigger operation performed by the object 91b on the media animated image interception control 91a, switch the media control interface 90a to the media control interface 90b, and display the annotated animated image data 92b in the animated image annotation area 92a of the media control interface 90b. Here, the starting progress time point of the annotated animated image data 92b in the video data to be played is the current progress time point, and the annotated animated image data 92b can be automatically played in the animated image annotation area 92a.
[0119] Among them, it should be understood that Figure 9 shows the specific process of intercepting and annotating dynamic image data in the full-screen playback interface. The specific process of intercepting and annotating dynamic image data in the half-screen playback interface can be found in the description of intercepting and annotating dynamic image data in the full-screen playback interface. This application will not go into details.
[0120] As shown in Figure 9, the media control interface 90b can also include a video switching control 91e. The object 91b can perform a trigger operation on the video switching control 91e. In this way, the terminal device can respond to the trigger operation performed by the object 91b on the video switching control 91e and switch the media control interface 90b back to the media control interface 90a.
[0121] As shown in FIG9 , the media control interface 90b also includes a media gif confirmation control 91c. Object 91b can perform a trigger operation on the media gif confirmation control 91c. In this way, the terminal device can respond to the trigger operation performed by object 91b on the media gif confirmation control 91c and switch the media control interface 90b. The switched media control interface 90b can refer to the media control interface 80c in the embodiment corresponding to FIG8 above, which will not be described in detail here. Among them, the switched media control interface 90b can include a media gif publishing control. It should be understood that the specific process of the terminal device publishing the annotated gif data based on the media gif publishing control can refer to the description of publishing the annotated image data 61d based on the media image publishing control 62a in the embodiment corresponding to FIG6a above, which will not be described in detail here.
[0122] As shown in FIG9 , the media control interface 90b also includes a media animation adjustment control 91d. The media animation adjustment control 91d can be used to adjust the animation information of the annotated animation data 92b, and the annotated animation data 92b is updated with the adjusted annotated animation data 92b. The animation information of the annotated animation data 92b can include the animation duration and the animation position. The animation duration can indicate the number of video frames of the annotated animation data 92b in the video data to be played, and the animation position can indicate the start time and end time of the capture of the annotated animation data 92b in the video data to be played.
[0123] Please refer to Figures 8 and 9 together. Similar to the media video capture control 91a, the terminal device can directly display the media animated image capture control 91a (not shown in the figure) in the video playback interface 80a. The terminal device can respond to the trigger operation of the media animated image capture control 91a in the video playback interface 80a, switch the video playback interface 80a to the media control interface 90b, and display the annotated animated image data 92b in the animated image annotation area 92a of the media control interface 90b.
[0124] It should be understood that both annotated animated image data and annotated video data can represent annotated media data captured from the video data to be played. Annotated video data can be understood as video clips from the video data to be played, and annotated animated image data can be understood as dynamic images composed of key video frames from the video data to be played. Key video frames are obtained by extracting frames from the video data to be played. Furthermore, annotated video data has sound, while annotated animated image data does not.
[0125] S103 : In response to the confirmation operation on the annotated media data, the annotated media data is published.
[0126] The published annotated media data has the function of instructing the video data to be played to jump to a new progress point based on the current progress time point. The specific process of jumping to a new progress point based on the published annotated media data can be found in the description of the embodiment corresponding to FIG. 17 below.
[0127] It will be appreciated that if the annotated media data includes annotated image data, the terminal device may display a media image publishing control corresponding to the annotated image data within the video application. The media image publishing control may be the media image publishing control 62c in the embodiment corresponding to FIG. 6a , or the media image publishing control 64e in the embodiment corresponding to FIG. 6b . Furthermore, the terminal device may respond to a confirmation operation on the media image publishing control by publishing the annotated image data associated with the current progress time point.
[0128] It is understandable that if the annotated media data includes annotated text data and comment media data to be published, the terminal device can display the media text publishing control corresponding to the annotated text data in the video application. Among them, the media text publishing control can be the media text publishing control 72c in the embodiment corresponding to Figure 7a above, or it can be the media text publishing control 74d in the embodiment corresponding to Figure 7b above. Furthermore, the terminal device can respond to the trigger operation for the media text publishing control and publish the comment media data to be published and the annotated text data bound to the current progress time point. Among them, the comment media data to be published can be media data bound to the current progress time point, or it can be media data not bound to the current progress time point, which is not limited here.
[0129] It is understood that if the annotated media data includes annotated text data and annotated image data, the terminal device can display the annotated text data in the comment annotation area while also displaying a media data publishing control in the comment annotation area. The media data publishing control can be the media data publishing control 72c in the embodiment corresponding to FIG. 7a . Furthermore, the terminal device can respond to a trigger operation on the media data publishing control and publish the annotated text data and the annotated image data associated with the current progress time point.
[0130] It is understood that if the annotated media data includes annotated video data, the terminal device can respond to a confirmation operation on the annotated video data (for example, respond to a trigger operation on a media video confirmation control) and display a media video publishing control corresponding to the annotated video data in the video application. The media video publishing control can be the media video publishing control 82c in the embodiment corresponding to FIG8 above. Furthermore, the terminal device can respond to the confirmation operation on the media video publishing control and publish the annotated video data bound to the current progress time point.
[0131] It is understood that if the annotated media data includes annotated animated image data, the terminal device can respond to a confirmation operation on the annotated animated image data (for example, in response to a triggering operation on a media animated image confirmation control) and display a media animated image publishing control corresponding to the annotated animated image data in the video application. Furthermore, the terminal device can respond to a confirmation operation on the media animated image publishing control and publish the annotated animated image data bound to the current progress time point.
[0132] It is understood that if the annotated media data includes pending comment media data, the terminal device may display a media text publishing control corresponding to the pending comment media data in the video application. Furthermore, the terminal device may respond to a triggering operation on the media text publishing control and publish the pending comment media data. The pending comment media data may be media data bound to the current progress time point or media data not bound to the current progress time point, and this is not limited here.
[0133] It is understood that if the annotated media data includes comment media data to be published and annotated image data, the terminal device can display the media image publishing control corresponding to the annotated image data in the video application. Furthermore, the terminal device can respond to a confirmation operation on the media image publishing control and display the media data publishing control in the comment annotation area of the video application. Furthermore, the terminal device can respond to an input operation on the comment annotation area and display the input comment media data to be published in the comment annotation area. Furthermore, the terminal device can respond to a trigger operation on the media data publishing control and publish the comment media data to be published and the annotated image data.
[0134] For ease of understanding, please refer to Figures 10a and 10b, which are schematic diagrams of a scenario for publishing annotated media data provided in an embodiment of the present application. Figure 10a shows a schematic diagram of a scenario for publishing annotated media data in a media control interface, and Figure 10b shows a schematic diagram of a scenario for publishing annotated media data in a video playback interface.
[0135] The media control interface 100a shown in Figure 10a can be the media control interface 60b in the embodiment corresponding to Figure 6a above, or it can be the media control interface 80c in the embodiment corresponding to Figure 8 above. Here, the media control interface 100a is taken as the media control interface 60b as an example for explanation. The media control interface 100a may include a media image saving control 101a, a media image sharing control 101b and a media image publishing control 101c.
[0136] As shown in FIG10a, object 102a can perform a trigger operation on the media image publishing control 101c. In this way, the terminal device can respond to the trigger operation performed by object 102a on the media image publishing control 101c, publish the annotated media data (i.e., the annotated image data) displayed in the media control interface 100a, and display the publishing prompt information 102b in the media control interface 100a, thereby obtaining the media control interface 100b. Among them, the publishing prompt information 102b here can be "Published successfully, you can view the post on your personal page." It is understandable that the terminal device can respond to the trigger operation on the publishing prompt information 102b and switch the media control interface 100b to the media reading interface 183c in the embodiment corresponding to FIG18b below.
[0137] The video playback interface 103a shown in FIG10b and the video playback interface 73b in the embodiment corresponding to FIG7b may be video playback interfaces of the video application at different times. The video playback interface 103a may include a media text publishing control 104a.
[0138] As shown in Figure 10b, object 104b can perform a trigger operation on the media text publishing control 104a. In this way, the terminal device can respond to the trigger operation performed by object 104b on the media text publishing control 104a, publish the annotated media data (i.e., the annotated text data and the comment media data to be published) displayed in the video playback interface 103a, and display the publishing prompt information 104c in the video playback interface 103a to obtain the video playback interface 103b. Among them, the publishing prompt information 104c here can be "Published successfully, you can view the post on your personal page", and the video playback interface 103b here can also be called a long bottom discussion area. It is understandable that the terminal device can respond to the trigger operation on the publishing prompt information 104c and switch the video playback interface 103b to the media reading interface 183c in the embodiment corresponding to Figure 18b below.
[0139] As shown in Figure 10b, the video playback interface 103b also includes a media data display area 104d. The terminal device can display the annotated media data being published in the media data display area 104d. The annotated media data being published indicates that the media data is being published (i.e., under review). At this time, the server is reviewing the annotated media data. After the server has reviewed and approved the annotated media data, the "under review" displayed in the media data display area 104d can be updated to the release time of the annotated media data.
[0140] It can be seen from this that the embodiment of the present application can bind the current progress time point to the annotated media data, thereby realizing the association relationship between the annotated media data and the video data to be played. Therefore, after the annotated media data is published, the progress of the video data to be played can be jumped through the current progress time point bound to the published annotated media data, that is, the playback progress of the video data to be played can be intelligently jumped to the playback progress indicated by the current progress time point in the video application, so that there is no need to manually locate the playback progress associated with the annotated media data in the video data to be played, but the efficiency of video progress positioning is improved based on the association relationship between the annotated media data and the video data to be played.
[0141] Please refer to Figure 11, which is a flow chart of a data processing method provided in an embodiment of the present application. The data processing method may include the following S1021-S1022, and S1021-S1022 are embodiments of a possible case of S102 in the embodiment corresponding to Figure 3.
[0142] S1021, displaying a media annotation control associated with a progress time point annotation function in a video playback interface of a video application;
[0143] It should be understood that the terminal device can display a comment display control associated with the progress time point marking function in the video playback interface of the video application. Furthermore, the terminal device can respond to a trigger operation for the comment display control and display a comment display area in the video playback interface. Among them, the comment display area includes a comment entry area, and the comment display area can also be called a discussion area, and the comment entry area can be a publishing entrance to the discussion area. Further, the terminal device can respond to a trigger operation for the comment entry area and display a media annotation area in the video playback interface. Among them, the media annotation area includes a media annotation control, and the media annotation area can also be called a post publishing page.
[0144] Among them, the media annotation control may include at least one of a media image capture control, a media text capture control, a media video capture control, or a media animated image capture control. In other words, the embodiment of the present application may collectively refer to the media image capture control, the media text capture control, the media video capture control, and the media animated image capture control as media annotation controls. Similarly, the embodiment of the present application may collectively refer to the image annotation area, the text annotation area, the comment annotation area, the video annotation area, and the animated image annotation area as media annotation areas. Similarly, the embodiment of the present application may collectively refer to the media image publishing control, the media text publishing control, the media data publishing control, the media video publishing control, and the media animated image publishing control as media publishing controls.
[0145] For ease of understanding, please refer to Figures 12a and 12b, which are schematic diagrams of a scenario for displaying media annotation controls, provided in an embodiment of the present application. Figure 12a shows a schematic diagram of a scenario in which media annotation controls are displayed in a half-screen playback interface, while Figure 12b shows a schematic diagram of a scenario in which media annotation controls are displayed in a full-screen playback interface.
[0146] The video playback interface 120a shown in Figure 12a and the video playback interface 50a in the embodiment corresponding to Figure 5 above can be video playback interfaces for video applications at different times. The video playback interface 120a includes a comment display control 121a associated with the progress time point marking function. The object 121b can perform a trigger operation on the comment display control 121a. In this way, the terminal device can respond to the trigger operation performed by the object 121b on the comment display control 121a, switch the video playback interface 120a to the video playback interface 120b, and display the comment display area 121c in the video playback interface 120b.
[0147] Comment display area 121c can be used to display comment media data associated with the video data to be played. As shown in FIG12a , the comment media data here can include a first comment media data posted by subject Y1, a second comment media data replied to by subject Y2 in response to the first comment media data, and a third comment media data replied to by subject Y3 in response to the first comment media data. The first comment media data can be "AAAAAAAAAAAAAAAAAAAAAAAAAAA", the second comment media data can be "BBBBB", and the third comment media data can be "CCCCCCCC".
[0148] Among them, it can be understood that the first comment media data can be annotated media data bound to a progress time point. Similarly, the second comment media data that object Y2 replies to the first comment media data can also be annotated media data bound to a progress time point. In other words, the first comment media data has the function of indicating that the video data to be played is based on the bound progress time point (i.e., the first progress time point) to make a progress jump, and the second comment media data has the function of indicating that the video data to be played is based on the bound progress time point (i.e., the second progress time point) to make a progress jump.
[0149] As shown in Figure 12a, the comment display area 121c also includes a comment entry area 121d, and the object 121b can perform a trigger operation on the comment entry area 121d. In this way, the terminal device can respond to the trigger operation performed by the object 121b on the comment entry area 121d, switch the video playback interface 120b to the video playback interface 120c, and display the media annotation area 121e in the video playback interface 120b.
[0150] As shown in FIG12a , the media annotation area 121e includes a media annotation control 121f. The media annotation control 121f may include a media image capture control (i.e., a “capture stills” control) and a media text capture control (i.e., a “mark time” control). At this time, the object 121b may perform a sliding operation on the media annotation control 121f. In this way, the terminal device may respond to the sliding operation performed by the object 121b on the media annotation control 121f and display the updated media annotation control 121f in the media annotation area 121e. The updated media annotation control 121f may include a media video capture control (i.e., a “capture video” control) and a media animated image capture control (i.e., a “capture animated image” control). The terminal device may display at least one of the annotated image data, the annotated text data, the annotated video data, the annotated animated image data, or the comment media data to be published in the media annotation area 121e.
[0151] The video playback interface 122a shown in Figure 12b and the video playback interface 50b in the embodiment corresponding to Figure 5 above can be the video playback interfaces of the video application at different times. The video playback interface 122b shown in Figure 12b can be the video playback interface 60a in the embodiment corresponding to Figure 6a above. The object 123a can perform a trigger operation (for example, a click operation) on the video playback interface 122a. In this way, the terminal device can respond to the trigger operation performed by the object 123a on the video playback interface 122a, display the media annotation control in the video playback interface 122a, and obtain the video playback interface 122b.
[0152] The media annotation controls in the video playback interface 122b may include a media image capture control 123b and a media video annotation control 123c. The specific types of media annotation controls displayed in the video playback interface 122b are not presented here. Furthermore, the media annotation controls displayed in the video playback interface 122b may be a single control, i.e., the media image capture control 123b and the media video annotation control 123c are a single control displayed in the video playback interface 122b. Furthermore, the video playback interface 122b may also include a screen conversion control 123d (i.e., a half-screen conversion control 123d). The screen conversion control 123d may be used to switch the playback mode of the video data to be played in the video application.
[0153] It should be understood that the specific process of switching the video playback interface 121c shown in Figure 12a to the video playback interface 121d (i.e., S11-S20) can be seen in Figure 13, which is a flow chart of calling a half-screen publisher provided by an embodiment of the present application. As shown in Figure 13, the terminal device can execute S11 to start the process, call the comment box user interface (User Interface, referred to as UI) module through S12 to display the comment entry area 121d in the comment display area 121c, and then respond to the trigger operation performed by the object 121b on the comment entry area 121d (i.e., the comment box 121d). In S13, the comment box user interface module calls the comment box logic layer so that the comment box logic layer calls the half-screen publisher.
[0154] Among them, since the premise of time point marking is that the publishing page (i.e., the media annotation area 121e) can exist at the same time as the playback page (i.e., the playback area), it is necessary to parse and call the half-screen publisher when pulling up the publishing page in a scenario that supports marking time. The half-screen publisher can be understood as a component in the terminal device, which is used to pull up the publishing page in the terminal device.
[0155] As shown in Figure 13, the terminal device can execute S14, call the half-screen publisher parser through S14 for parsing, and then execute S15, call the half-screen publisher logic layer through S15 for logic processing, and then execute S16, call the half-screen publisher user interface submodule through S16. Among them, the half-screen publisher user interface submodule can be understood as a user interface submodule among the multiple submodules of the half-screen publisher, and the user interface submodule can be used to display the media annotation area 121e.
[0156] Furthermore, the terminal device needs to check the terminal device network configuration at S17 to determine whether the terminal device currently has a network connection. If the terminal device currently does not have a network connection, the terminal device can execute S18, which denies displaying the media annotation area 121e, and ends the process. Optionally, if the terminal device currently has a network connection, the terminal device can execute S19, which calls the time point publishing module, which displays the media annotation control 121f in the media annotation area 121e, and then executes S20, ending the process.
[0157] S1022, in response to a triggering operation on the media annotation control, displaying the annotated media data in the media annotation area;
[0158] Specifically, if the annotated media data includes annotated text data, the terminal device can respond to the trigger operation for the media text interception control at the current progress time point, and send a progress time point annotation instruction to the player (i.e., the playback component of the video application) through the publisher (i.e., the half-screen publisher). Furthermore, the terminal device can obtain the progress time point information corresponding to the playback progress of the video data to be played through the core of the player (i.e., the player core), and send the progress time point information to the progress time point data generator. Furthermore, the terminal device can render the progress time point information through the progress time point data generator, obtain the rendered progress time point information, and return the rendered progress time point information to the publisher. Furthermore, the terminal device can display the annotation text data corresponding to the rendered progress time point information in the text annotation area of the video application through the publisher.
[0159] Among them, it can be understood that if the terminal device is playing the video data to be played through the player, the core of the player can directly obtain the playback progress of the video data to be played; optionally, if the terminal device is playing advertising data through the player, the core of the player can obtain the playback progress of the video data to be played after the advertisement ends, that is, the playback progress of the video data to be played is the playback progress of the first video frame in the video data to be played after the advertisement ends.
[0160] It should be understood that the specific process of switching the video playback interface 73a shown in Figure 7b to the video playback interface 73b (i.e., S31-S42) can be seen in Figure 14, which is a flow chart of generating annotated media data provided by an embodiment of the present application. As shown in Figure 14, the terminal device can execute S31 to start the process, and call the time point publishing module response object 74c through S32 to trigger the operation performed by the media text interception control 74b. At this time, data interaction is required between the player and the half-screen publisher, that is, in S33, the time point publishing module calls the half-screen publisher logic layer to send a time point annotation instruction to the player, that is, the publisher sends a progress time point annotation instruction to the player.
[0161] As shown in Figure 14, the terminal device can execute S34 and S35, process the progress time point marking instruction through the player framework layer and the player logic layer, and then execute S36. Through S36, the player kernel is called to send the obtained progress time point information (i.e., episode number information and time point information) to the time point data generator. Among them, since the progress time point information is calculated in milliseconds, it is necessary to call an additional layer of time point data generator. The time point data generator uses S37 to render the obtained millisecond information into hour, minute, and second progress information that the viewing object can understand (i.e., the rendered progress time point information).
[0162] As shown in Figure 14, the time point data generator requires a network connection or calls other services. If the time point data generator fails to successfully generate the rendered progress time point information, the terminal device can execute S38, refuse to display the annotation text data 74e, and end the process. Optionally, if the time point data generator successfully generates the rendered progress time point information, the terminal device can return the rendered progress time point information to the half-screen publisher through the time point data generator.
[0163] As shown in FIG14 , the terminal device can execute S39 , call the half-screen publisher logic layer through S39 to receive the progress time point information after rendering, and then call the time point user interface rendering layer through S40 to perform interface rendering, and then call the text display through S41 to display the annotated text data 74e in the text annotation area 74a of the video playback interface 73b, and then execute S42 to end the process. Similarly, when displaying other annotated media data in addition to the annotated text data in the media annotated area, the terminal device can execute the process shown in FIG14 , which will not be repeated here.
[0164] It should be understood that if the annotated media data includes annotated video data, the terminal device can respond to the trigger operation for the media video interception control at the trigger progress time point, input the video data to be played into the target classification model, classify the video frames in the video data to be played through the target classification model, and obtain the scene classification information corresponding to the video frames in the video data to be played. Furthermore, the terminal device can obtain intercepted video data with an interception duration from the video data to be played. The progress time point of the starting video frame of the intercepted video data is equal to the trigger progress time point; the intercepted video data includes N video frames, where N can be a positive integer greater than 1. Further, the terminal device can obtain the number M of the first video frames in the intercepted video data. The first video frame is a video frame in which the scene classification information in the intercepted video data is equal to the starting scene classification information, where M can be a positive integer less than or equal to N; the starting scene classification information refers to the scene classification information corresponding to the starting video frame in the intercepted video data. Furthermore, if the ratio between M and N is less than the ratio threshold, then based on the starting scene classification information and the starting video frame of the intercepted video data, the annotated video data with the interception duration is obtained from the video data to be played, and the annotated video data is displayed in the video annotation area of the video application. The progress time point of the starting video frame of the annotated video data is the current progress time point, the annotated video data includes the starting video frame of the intercepted video data, the ratio between the number H of the second video frames in the annotated video data and N is greater than or equal to the ratio threshold, and the second video frame is a video frame whose scene classification information in the annotated video data is equal to the starting scene classification information. Optionally, if the ratio between M and N is greater than or equal to the ratio threshold, the terminal device can directly use the intercepted video data as the annotated video data.
[0165] The terminal device can also directly use the trigger progress time point as the current progress time point, that is, directly use the intercepted video data as the annotated video data. Therefore, the embodiment of the present application can intelligently determine the current progress time point in the video data to be played based on the auxiliary progress time point, thereby increasing the diversity of the generated annotated video data.
[0166] Among them, the target classification model can be obtained by training the initial classification model. The embodiment of the present application can train the initial network model based on the sample video frame and the sample scene classification information of the sample video frame. Specifically, the terminal device can input the sample video frame into the initial classification model, and output the predicted scene classification information of the sample video frame through the initial classification model, and then determine the model loss value of the initial classification model based on the sample scene classification information and the predicted scene classification information. The initial classification model is iteratively trained based on the model loss value, and the iteratively trained initial classification model is determined as the target classification model. It should be understood that the embodiment of the present application does not limit the model types of the initial classification model and the target classification model.
[0167] It should be understood that after publishing the annotated media data, the terminal device may display the published annotated media data in the comment display area. Specifically, after publishing the annotated media data, the terminal device may store the published annotated media data in the media database. Furthermore, when refreshing the comment display area, the terminal device may call the comment media reading service to read the published annotated media data from the media database through the comment media reading service, and display the published annotated media data in the refreshed comment display area.
[0168] It should be understood that the specific process of switching the video playback interface 103a shown in Figure 10b to the video playback interface 103b (i.e., S51-S61) can be seen in Figure 15, which is a flow chart of publishing annotated media data provided by an embodiment of the present application. As shown in Figure 15, the terminal device can execute S51 to start the process, call the publisher user interface module through S52 to display the media text publishing control 104a in the video playback interface 103a, and then call the text display response object 104b through S53 to perform the trigger operation on the media text publishing control 104a, and then call the text parser through S54 to parse the comment media data to be published, and call the time point parser through S55 to parse the annotated text data. Among them, the text parser and the time point parser can determine whether the text in the annotated media data belongs to the comment media data to be published or the annotated text data.
[0169] As shown in Figure 15, the terminal device can call the publication data generator through S56 to generate annotated media data containing comment media data to be published and annotated text data. Furthermore, the terminal device needs to call the publishing background service, and transmit the publishing data to the background (i.e., the server) through the publishing background service. The server can execute S57, store the annotated media data in the publishing queue through S57, and then call the publishing background through S58 to store the annotated media data in the media database, and obtain the comment list (i.e., the list composed of comment media data) from the media database through S60, and display the comment media data in the comment list in the video application. Among them, the annotated text data can be saved in the post storage structure (i.e., the video database in the embodiment corresponding to Figure 16 below). At the same time, when the post is displayed, the time point information (i.e., the annotated text data) in the video material will be read and used for the display of posts with time points.
[0170] At the same time, during the process of publishing the annotated text data and the comment media data to be published, the terminal device can call the terminal fake display data generator through S59, and display the annotated media data being published in the media data display area 104d through the terminal fake display data generator (that is, the annotated media data being published displayed in the media data display area 104d of the embodiment corresponding to Figure 10b above).
[0171] For easier understanding, please refer to Figure 16, which is a schematic diagram of a scenario for publishing annotated media data, provided in an embodiment of the present application. As shown in Figure 16, a viewer can publish annotated media data through a terminal device. In this case, the terminal device needs to authenticate the viewer to determine whether the viewer has permission to publish annotated media data, that is, to determine whether the viewer is logged into the video application.
[0172] As shown in Figure 16, if the terminal device determines that the authentication is successful (i.e., the viewing object has logged into the video application), the terminal device can call the post posting service to store the annotated media data in the media database, and at the same time call the post reading service to read the comment media data from the media database for display on the terminal device. The comment media data may include the annotated media data after publication. Optionally, if the terminal device determines that the authentication is unsuccessful (i.e., the viewing object has not logged into the video application), the terminal device does not need to store the annotated media data.
[0173] It is understood that a video application can correspond to multiple databases, specifically including a topic database, a video database, an object database, and an interaction database. The video database can be used to store video data, the interaction database can be used to store interaction information, the object database can be used to store object data, and so on. The topic database can be used to store topic data. Interaction information can include information such as likes and comments on video data. Therefore, a terminal device can call the post posting service to store annotated media data in the video database and call the post reading service to read comment media data from the video database.
[0174] It is understandable that in this application, when it comes to data related to object information, interactive information, etc., when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and national standards of the country where it is located.
[0175] Among them, the comment display area is used to display the comment media data associated with the video data to be played; the comment display area also includes a marking function control. It should be understood that the terminal device can respond to the trigger operation for the marking function control and display a progress time point list in the video application. Among them, the list items in the progress time point list include progress time points that have a binding relationship with the comment media data; the progress time points that have a binding relationship with the comment media data are sorted according to the number of bound comment media data; and the progress time points that have a binding relationship with the comment media data include candidate progress time points. In other words, the list items in the progress time point list include progress time points associated with the comment media data; the progress time points associated with the comment media data are sorted according to the number of associated comment media data; and the progress time points associated with the comment media data include candidate progress time points. Further, the terminal device can respond to the trigger operation for the candidate progress time points and, in the video application, perform a progress jump to the video data to be played based on the candidate progress time points.
[0176] In addition, the list items in the progress time point list also include candidate media viewing controls corresponding to the candidate progress time points. It should be understood that the terminal device can respond to a trigger operation on the candidate media viewing control and display commentary media data associated with the candidate progress time points in the video application. In other words, the terminal device can respond to a trigger operation on the candidate media viewing control and display commentary media data associated with the candidate progress time points in the video application.
[0177] It can be seen from this that the embodiment of the present application can display annotated media data in the media annotation area when responding to a trigger operation on the media annotation control in the video playback interface. The annotated media data is bound to the current progress time point. The current progress time point carried by the annotated media data enables the terminal device to quickly jump the progress of the video data to be played based on the current progress time point when responding to the trigger operation on the annotated media data. The progress jump can position the playback progress of the video data to be played to the playback progress indicated by the current progress time point, thereby improving the efficiency of video progress positioning in the movie viewing scenario.
[0178] Please refer to Figure 17, which is a flow chart of a data processing method provided in an embodiment of the present application. The method can be executed by a server, a terminal device, or a server and a terminal device. The server can be server 20a in the embodiment corresponding to Figure 2 above, and the terminal device can be terminal device 20b in the embodiment corresponding to Figure 2 above. For ease of understanding, the embodiment of the present application is described using the method executed by a terminal device as an example. The data processing method may include the following S201-S202:
[0179] S201, displaying the published annotated media data in the media data display interface of the video application;
[0180] It is understood that the media data display interface may include, but is not limited to, a video playback interface and a media reading interface. The specific process of a terminal device displaying annotated media data on the media reading interface can be seen in Figures 18a and 18b, which are schematic diagrams of a scenario for displaying annotated media data provided in an embodiment of the present application. Furthermore, the specific process of a terminal device displaying annotated media data on the video playback interface can be seen in Figure 10b above.
[0181] The video recommendation interface 180a shown in Figure 18a can be the video recommendation interface 40a in the embodiment corresponding to Figure 4 above. The video recommendation interface 180a may include a media data reading control 181a, and the object 181b can perform a trigger operation on the media data reading control 181a. In this way, the terminal device can respond to the trigger operation performed by the object 181b on the media data reading control 181a and switch the video recommendation interface 180a to the media reading interface 180b.
[0182] As shown in Figure 18a, media viewing interface 180b may include commentary media data 182a (this commentary media data 182a may also be referred to as annotated media data 182a). Commentary media data 182a may include annotated text data 182b. Here, annotated text data 182b may be "Episode 12 0:01:19." Annotated text data 182b may be used to execute S202 described below. Furthermore, media viewing interface 180b may also include media topic information 182c. Media topic information 182c may be used to switch the display interface of the terminal device from media viewing interface 180b to another media viewing interface. Other media viewing interfaces may be used to display other commentary media data, which will not be further described here. In addition, the media reading interface 180b can also include a circle viewing control 182d. The circle viewing control 182d can be used to switch the display interface of the terminal device from the media reading interface 180b to other media reading interfaces (i.e., circle reading interfaces). The circle reading interfaces can be used to display other comment media data, which will not be described in detail here.
[0183] It is understood that the media viewing interface 180b shown in FIG18a can be used to display the comment media data distributed by the server to the viewing object (i.e., object 181b). The server can generate the comment media data pushed to the viewing object based on the progress time point, that is, the progress time point can be used as the basis for distributing the comment media data in the video community (video devices including but not limited to squares, topic pages, circle pages, personal pages, etc.). Squares, topic pages, circle pages, and personal pages can be collectively referred to as media viewing interfaces. Squares can be the media viewing interface 180b shown in FIG18a, personal pages can be the body viewing interface 183c shown in FIG18b, topic pages can be other media viewing interfaces displayed in response to a trigger operation on media topic information 182c, and circle pages can be other media viewing interfaces displayed in response to a trigger operation on circle viewing controls 182d.
[0184] The video recommendation interface 183a shown in Figure 18b can be the video recommendation interface 180a in the embodiment corresponding to the above-mentioned Figure 18a. The video recommendation interface 183a may include an information viewing control 184a, and the object 184b can perform a trigger operation on the information viewing control 184a. In this way, the terminal device can respond to the trigger operation performed by the object 184b on the information viewing control 184a, and switch the video recommendation interface 183a to the information reading interface 183b.
[0185] As shown in Figure 18b, the information reading interface 183b can be used to display the reading records and interactive information of the object 184b in the video application. The information reading interface 183b can include a dynamic viewing control 184c. The object 184b can perform a trigger operation on the dynamic viewing control 184c. In this way, the terminal device can respond to the trigger operation performed by the object 184b on the dynamic viewing control 184c and switch the information reading interface 183b to the media reading interface 183c.
[0186] As shown in FIG18b , media viewing interface 183c may include commentary media data 185a (this commentary media data 185a may also be referred to as annotated media data 185a ). Commentary media data 185a may include annotated text data 185b . Here, annotated text data 185b may be "Episode 1 0:10:15." Annotated text data 185b may be used to execute step S202 . Furthermore, media viewing interface 183c may also be used to display other commentary media data. The commentary media data displayed in media viewing interface 183c is all published by object 184b in the video application.
[0187] S202 , in response to a triggering operation on the published annotated media data, in a video application, a progress jump is performed on the video data to be played based on the current progress time point.
[0188] It should be understood that after the progress jump of the video data to be played is performed based on the current progress time point, if the historical playback progress corresponding to the video data to be played is obtained, the terminal device can display prompt information for the historical playback progress in the video application. Among them, the historical playback progress can indicate the playback progress of the video data to be played by the viewing object at a historical moment, and the historical playback progress can be stored in the terminal device or in the server. Furthermore, the terminal device can respond to the trigger operation of the prompt information and switch the playback progress of the video data to be played from the playback progress indicated by the current progress time point to the historical playback progress in the video application.
[0189] If the terminal device does not respond to the triggering operation for the prompt information within a period of time after displaying the prompt information, the prompt information can be canceled in the video application. In other words, the prompt information will continue to be displayed in the video application for a period of time, which is the above-mentioned time period. It should be understood that the embodiment of the present application does not limit the specific length of the above-mentioned time period. For example, the above-mentioned time period can be 30 seconds.
[0190] It is understandable that when the viewing object consumes the annotated media data, it can quickly locate the corresponding episode number and time progress of the video data to be played and start playing by triggering the operation of the annotated media data after it is released. During the playback of the main film, this application supports progress control of the player in the playback scenario (i.e., adjusting the playback progress).
[0191] Among them, the media data display interface can be a video playback interface. It should be understood that the terminal device can respond to the trigger operation for the annotated media data after release to determine whether video data is being played in the playback area of the video playback interface. Furthermore, if video data is being played in the playback area, the terminal device can perform a progress jump to the video data to be played in the playback area based on the current progress time point. Optionally, if the media data is not being played in the playback area, the terminal device can refresh the video playback interface and, in the refreshed playback area, perform a progress jump to the video data to be played based on the current progress time point.
[0192] Among them, it can be understood that the terminal device can determine the candidate video data identifier of the video data being played in the playback area, obtain the to-be-played video data identifier of the video data to be played, and compare the candidate video data identifier with the to-be-played video data identifier. If the candidate video data identifier is the same as the to-be-played video data identifier, the terminal device can determine that the video data being played in the playback area is the to-be-played video data, and switch the playback progress of the to-be-played video data in the playback area to the playback progress indicated by the current progress time point. If the candidate video data identifier is different from the to-be-played video data identifier, the terminal device determines that the video data being played in the playback area is not the to-be-played video data, switches the video data being played in the playback area to the to-be-played video data, and starts playing the to-be-played video data from the playback progress indicated by the current progress time point.
[0193] For ease of understanding, please refer to Figure 19, which is a schematic diagram of a scenario for switching playback progress provided by an embodiment of the present application. As shown in Figure 19, the terminal device can enter the post stream with the episode time (i.e., comment media data) through S71, that is, the terminal device can display the published annotated media data in the media data display interface of the video application. Further, when the viewing object clicks on the episode time through S72, that is, when the viewing object clicks on the published annotated media data, the terminal device can execute S73 to determine whether the progress needs to be switched, that is, determine the type of the media data display interface.
[0194] It is understandable that if the media data display interface is a video playback interface, the terminal device does not need to switch the interface and then executes S77; if the media data display interface is a media reading interface, the terminal device needs to switch the interface and then execute S74. As shown in Figure 19, if the media data display interface is a media reading interface, the terminal device can determine whether it can jump to the link through S74. Among them, if the terminal device can jump to the link, it jumps to the playback page through S76, that is, switches the media reading interface to the video playback interface, and then switches the progress in the player of the video playback interface through S81. Optionally, if the terminal device cannot jump to the link, the process ends through S75. At this time, the terminal device does not need to make any response to the triggering operation of S72, or display a prompt message of unsuccessful jump in the video application.
[0195] As shown in FIG19 , if the media data display interface is a video playback interface, the terminal device can determine whether there is a video identifier through S77, that is, determine whether video data is being played in the playback area of the video playback interface. Further, if the terminal device determines that there is a video identifier, the terminal device can execute S79. Optionally, if the terminal device determines that there is no video identifier, the terminal device can refresh the entire playback page through S78, that is, refresh the video playback interface, and switch the progress in the refreshed playback area through S81. In particular, since the playback service provided by the video application may have problems at a certain moment, the video application may not have a video identifier at that moment.
[0196] As shown in Figure 19, the terminal device can determine whether the video identifiers are consistent through S79, that is, determine whether the candidate video data identifier of the video data being played in the video playback interface is consistent with the to-be-played video data identifier of the video data to be played. If the candidate video data identifier and the to-be-played video data identifier are consistent, the terminal device can switch the progress in the player of the video playback interface through S81, that is, switch the playback progress of the to-be-played video data in the playback area to the playback progress indicated by the current progress time point; if the candidate video data identifier and the to-be-played video data identifier are inconsistent, the terminal device can switch the video identifier through S80, and switch the progress in the player of the video playback interface through S81, that is, switch the video data being played in the playback area to the to-be-played video data, and start playing the to-be-played video data from the playback progress indicated by the current progress time point.
[0197] In other words, as shown in FIG19 , the terminal device can first determine whether it is currently in a playback scene through S73. If it is not in a playback scene, it will directly jump to the main film playback page (i.e., the video playback interface) and switch to the corresponding progress. If it is in a playback scene, it will continue to determine whether there is a main film currently playing through S77. Among them, if there is no main film playing, the playback page will be refreshed directly to switch the playback progress. If there is a main film playing, it will be determined through S79 whether the main film information (i.e., the to-be-played video data identifier of the to-be-played video data) at the clicked time point is consistent with the main film information currently being played (i.e., the candidate video data identifier of the video data currently being played). Among them, if the candidate video data identifier and the to-be-played video data identifier are inconsistent, the main film playback is switched to achieve the effect of anchoring the time point. If the candidate video data identifier and the to-be-played video data identifier are consistent, the progress of the current player is directly switched.
[0198] The specific process of implementing progress jump in the video playback interface of the terminal device can be seen in Figure 20a, which is a schematic diagram of a scenario for progress jump provided in an embodiment of the present application. The video playback interface 200a shown in Figure 20a and the video playback interface 103b in the embodiment corresponding to Figure 10b above can be video playback interfaces of the video application at different times, and the playback progress of the video data to be played in the video playback interface 20a is different from the playback progress of the video data to be played in the video playback interface 103b.
[0199] As shown in Figure 20a, the video playback interface 200a includes a playback area 201d, in which the video data to be played is played. The video playback interface 200a also includes annotated media data, which includes annotated text data 201a. Object 201b can perform a trigger operation on the annotated text data 201a. In this way, the terminal device can respond to the trigger operation performed by object 201b on the annotated text data 201a, and in the playback area 201d, the progress of the video data to be played is jumped based on the current progress time point indicated by the annotated text data 201a.
[0200] At this time, the terminal device can switch the video playback interface 200a to the video playback interface 200b, and the playback progress of the video data to be played in the video playback interface 200a is the playback progress 202a, and the playback progress of the video data to be played in the video playback interface 200b is the playback progress 202c, and the playback progress 202c is the playback progress indicated by the annotated text data 201a.
[0201] Among them, it can be understood that when the terminal device responds to the trigger operation performed by the object 201b on the annotated text data 201a, if the video application has a playback record for the video data to be played, at this time, the terminal device will overwrite the original viewing progress of the video data to be played with the playback progress 202c indicated by the annotated text data 201a. In addition, the terminal device can also display a prompt message 201c in the playback area 201d to ensure that it does not affect the original playback history record (i.e., historical playback progress) of the viewing object in the video application, and supports the viewing object to quickly browse the plot content corresponding to the current progress time point and continue to play the historical playback progress, thereby ensuring the smooth viewing of the viewing object. The prompt message 201c here can be "Return to the previous progress X". Optionally, if the video application does not have a historical playback progress for the video data to be played, the terminal device does not need to display a prompt message 201c for the original viewing progress in the playback area 201d.
[0202] The media data display interface may be a media viewing interface. It should be understood that the terminal device may, in response to a trigger operation on the published annotated media data, switch the media viewing interface to a video playback interface in the video application. Furthermore, the terminal device may, in the video playback interface, jump to the progress of the video data to be played based on the current progress time point.
[0203] The specific process of the terminal device implementing progress jump in the media reading interface can be seen in Figure 20b, which is a schematic diagram of a scenario for progress jump provided by an embodiment of the present application. The media reading interface 203a shown in Figure 20b can be the media reading interface 183c in the embodiment corresponding to Figure 18b above. The media reading interface 203a includes annotated media data, which includes annotated text data 204a. The object 204b can perform a trigger operation on the annotated text data 204a. In this way, the terminal device can respond to the trigger operation performed by the object 204b on the annotated text data 204a, switch the media reading interface 203a to the video playback interface 203b, and in the playback area 204c of the video playback interface 203b, perform a progress jump on the video data to be played based on the current progress time point indicated by the annotated text data 204a.
[0204] The playback progress of the video data to be played in video playback interface 203b is playback progress 204d, which is the playback progress indicated by the annotated text data 204a. Furthermore, the terminal device may display a prompt message 204e in playback area 204c. Here, prompt message 204e may be "Last watched episode 12 23:45, continue watching." Optionally, if the video application does not have a historical playback progress for the video data to be played, the terminal device does not need to display prompt message 204e for the previous viewing progress in playback area 204c.
[0205] Among them, the media data display interface can be a media reading interface. It should be understood that the terminal device can respond to the trigger operation for the annotated media data after release and display the media playback sub-interface in the video application. Furthermore, the terminal device can perform a progress jump to the video data to be played based on the current progress time point in the media playback sub-interface. In other words, the terminal device can play the complete video data to be played based on the current progress time point in the media playback sub-interface. Optionally, when the annotated media data is annotated video data or annotated animated image data, the terminal device can play the annotated video data or the annotated animated image data in the media playback interface.
[0206] The specific process of implementing progress jump in the media reading interface of the terminal device can be seen in Figure 20c, which is a schematic diagram of a scenario for progress jump provided by an embodiment of the present application. The media reading interface 205a shown in Figure 20c can be the media reading interface 203a in the embodiment corresponding to Figure 20b above. The media reading interface 205a includes annotated media data, which includes annotated text data 206a. Object 206b can perform a trigger operation on the annotated text data 206a. In this way, the terminal device can respond to the trigger operation performed by object 206b on the annotated text data 206a and display a media playback sub-interface 206c independent of the media reading interface 205a in the video application. Then, in the media playback sub-interface 206c, the progress jump of the video data to be played is performed based on the current progress time point indicated by the annotated text data 206a, resulting in the media reading interface 205b. At this time, the terminal device does not need to display a prompt information about the historical playback progress in the video application.
[0207] The media playback sub-interface 206c may further include an interface close control 206d. After viewing the video clip corresponding to the annotated text data 206a, the object 206b may trigger the interface close control 206d. In this way, the terminal device may respond to the triggering operation performed by the object 206b on the interface close control 206d and close the media playback sub-interface 206c in the media viewing interface 205b, thereby allowing the object 206b to continue browsing the comment media data in the media viewing interface 205a. Optionally, the media playback sub-interface 206c may further include an interface open control 206e. The terminal device may respond to the triggering operation performed by the object 206b on the interface open control 206e to switch the media viewing interface 205b to the video playback interface 203b in the embodiment corresponding to FIG. 20b above.
[0208] Among them, the media data display interface can be a media reading interface. It should be understood that the terminal device can respond to the trigger operation for the annotated media data after release and display the media playback area in the media reading interface. Furthermore, the terminal device can perform a progress jump to the video data to be played based on the current progress time point in the media playback area. In other words, the terminal device can play the complete video data to be played based on the current progress time point in the media playback area. Optionally, when the annotated media data is annotated video data or annotated animated image data, the terminal device can play the annotated video data or the annotated animated image data in the media playback area.
[0209] The specific process of implementing progress jump in the media reading interface of the terminal device can be seen in Figure 20d, which is a schematic diagram of a scenario for progress jump provided by an embodiment of the present application. The media reading interface 207a shown in Figure 20c can be the media reading interface 203a in the embodiment corresponding to Figure 20b above. The media reading interface 207a includes annotated media data, which includes annotated text data 208a. Object 208b can perform a trigger operation on the annotated text data 208a. In this way, the terminal device can respond to the trigger operation performed by object 208b on the annotated text data 208a and display a media playback area 208c in the media reading interface 207a. Then, in the media playback area 208c, the progress of the video data to be played is jumped based on the current progress time point indicated by the annotated text data 208a, resulting in the media reading interface 207b. At this time, the terminal device does not need to display a prompt information about the historical playback progress in the video application.
[0210] The media playback area 208c may also include a region closing control 208d. After viewing the video clip corresponding to the annotated text data 208a, the object 208b may trigger the region closing control 208d. In this way, the terminal device may respond to the triggering operation performed by the object 208b on the region closing control 208d and close the media playback area 208c in the media viewing interface 207b, thereby allowing the object 208b to continue browsing the commentary media data in the media viewing interface 207a. Optionally, the media playback area 208c may also include a region opening control 208e. The terminal device may respond to the triggering operation performed by the object 208b on the region opening control 208e to switch the media viewing interface 207b to the video playback interface 203b in the embodiment corresponding to FIG. 20b above.
[0211] It can be understood that the embodiments corresponding to the above-mentioned Figures 20a, 20b, 20c and 20d are explained by taking the annotated media data after publication including annotated text data (i.e., the annotated text data 201a in the embodiment corresponding to Figure 20a, the annotated text data 204a in the embodiment corresponding to Figure 20b, the annotated text data 206a in the embodiment corresponding to Figure 20c, and the annotated text data 208a in the embodiment corresponding to Figure 20d) as an example. The annotated media data after publication can also be comment media data to be published, annotated image data, annotated video data or annotated animated image data. When the terminal device responds to the trigger operation for the comment media data to be published, the annotated image data, the annotated video data or the annotated animated image data, it can also achieve the same effect as the embodiments corresponding to the above-mentioned Figures 20a, 20b, 20c and 20d.
[0212] It can be seen from this that the embodiment of the present application can display the annotated media data after publishing it in the media data display interface of the media application. In this way, when responding to the trigger operation for the annotated media data after publishing, the terminal device can jump to the progress of the video data to be played based on the current progress time point in the media application. Therefore, the embodiment of the present application can realize the discussion of the plot point through the annotated media data during the playback of the video data to be played, and when consuming the annotated media data, it can quickly jump to the playback progress indicated by the annotated media data, thereby ensuring the accuracy of the video progress positioning while improving the efficiency of the video progress positioning. Among them, for the publishing side, it can help the expression of the viewing object to be more focused and accurate, realize the linkage between the plot in the frame and the discussion outside the frame, and improve the publication penetration rate and completion rate; for the consumer side, it can make the discussion area content more closely integrated with the main film (i.e., the video data to be played) and the plot, realize the expansion of consumption based on viewing behavior, provide more abundant reasons for users to visit the long-term discussion area, and increase the duration and community interaction rate. In addition, the embodiments of the present application can also improve the user experience while enhancing the user's sense of belonging to the platform and usage stickiness, thereby increasing the user's interaction rate with the video data to be played.
[0213] Further, referring to FIG. 21 , FIG. 21 is a schematic structural diagram of a data processing device provided in an embodiment of the present application. The data processing device 1 may include: a first display module 11 , a first response module 12 , and a second response module 13 ; further, the data processing device 1 may also include: a second display module 14 , and a progress jump module 15 ;
[0214] A first display module 11 is used to display the video data to be played in the video application;
[0215] A first response module 12 is configured to respond to a trigger operation for a progress time point marking function in a video application and display marked media data in the video application; the marked media data is media data associated with a current progress time point, where the current progress time point is the progress time point at which the to-be-played video data corresponding to the trigger operation is played;
[0216] The second response module 13 is used to respond to the confirmation operation on the marked media data and publish the marked media data; the published marked media data has the function of indicating the progress jump of the video data to be played based on the current progress time point.
[0217] The annotated media data includes annotated image data captured from the video data to be played;
[0218] A first response module 12 is specifically configured to display a media image capture control associated with a progress time point marking function in a video playback interface of a video application;
[0219] The first response module 12 is specifically configured to respond to a triggering operation on the media image capture control at a current progress time point and display the annotated image data in the image annotation area of the video application; the progress time point of the annotated image data in the video data to be played is the current progress time point;
[0220] The second response module 13 is specifically configured to display a media image publishing control corresponding to the annotated image data in the video application;
[0221] The second responding module 13 is specifically configured to respond to a confirmation operation on the media image publishing control and publish the annotated image data.
[0222] The annotated media data includes the comment media data to be published and the annotated text data;
[0223] A first response module 12 is specifically configured to display a media text capture control associated with a progress time point marking function in a video playback interface of a video application;
[0224] A first response module 12 is specifically configured to respond to a triggering operation on a media text interception control at a current progress time point, and display annotated text data in a text annotation area of a video application;
[0225] The first response module 12 is specifically configured to respond to an input operation on the text annotation area and display the inputted comment media data to be published in the text annotation area;
[0226] The second response module 13 is specifically configured to display a media text publishing control corresponding to the annotated text data in the video application;
[0227] The second response module 13 is specifically configured to respond to a triggering operation on the media text publishing control and publish the comment media data and the annotated text data to be published.
[0228] The first response module 12 is specifically configured to respond to a trigger operation on the media text capture control at the current progress time point, and obtain a target video segment corresponding to the current progress time point among K video segments; the K video segments are video segments associated with the video data to be played, and K is a positive integer;
[0229] The first responding module 12 is specifically configured to use the segment attribute information of the target video segment as the annotation text data, and display the annotation text data in the text annotation area of the video application.
[0230] The annotated media data includes annotated text data and annotated image data captured from the video data to be played;
[0231] A first response module 12 is specifically configured to display a media image capture control associated with a progress time point marking function in a video playback interface of a video application;
[0232] The first response module 12 is specifically configured to respond to a triggering operation on the media image capture control at a current progress time point and display the annotated image data in the image annotation area of the video application; the progress time point of the annotated image data in the video data to be played is the current progress time point;
[0233] The second response module 13 is specifically configured to display a media image publishing control corresponding to the annotated image data in the video application;
[0234] The second response module 13 is specifically configured to respond to a confirmation operation on the media image publishing control and display the annotation text data and the media data publishing control in the comment annotation area of the video application;
[0235] The second response module 13 is specifically configured to respond to a triggering operation on the media data publishing control and publish the annotated text data and the annotated image data.
[0236] The annotated media data includes annotated video data captured from the video data to be played;
[0237] A first response module 12 is specifically configured to display a media video capture control associated with a progress time point marking function in a video playback interface of a video application;
[0238] The first response module 12 is specifically configured to respond to a trigger operation for a media video capture control at a trigger progress time point and display the annotated video data in a video annotation area of a video application; the trigger progress time point is used to determine a current progress time point in the video data to be played, and the current progress time point is used to determine an interception start time in the video data to be played; and the duration of the annotated video data is the interception duration associated with the progress time point annotation function;
[0239] The second response module 13 is specifically configured to respond to a confirmation operation on the annotated video data and display a media video publishing control corresponding to the annotated video data in the video application;
[0240] The second response module 13 is specifically configured to respond to a confirmation operation on the media video publishing control and publish the annotated video data.
[0241] The annotated media data includes the media data of comments to be published;
[0242] A first response module 12 is specifically configured to display a media text capture control associated with a progress time point marking function in a video playback interface of a video application;
[0243] A first response module 12 is specifically configured to respond to a triggering operation on a media text capture control at a current progress time point and display a text annotation area in a video application;
[0244] The first response module 12 is specifically configured to respond to an input operation on the text annotation area and display the inputted comment media data to be published in the text annotation area;
[0245] The second response module 13 is specifically configured to display a media text publishing control corresponding to the comment media data to be published in the video application;
[0246] The second response module is specifically used to respond 13 to the trigger operation of the media text publishing control and publish the comment media data to be published.
[0247] The annotated media data includes the comment media data to be published and the annotated image data captured from the video data to be played;
[0248] A first response module 12 is specifically configured to display a media image capture control associated with a progress time point marking function in a video playback interface of a video application;
[0249] The first response module 12 is specifically configured to respond to a triggering operation on the media image capture control at a current progress time point and display the annotated image data in the image annotation area of the video application; the progress time point of the annotated image data in the video data to be played is the current progress time point;
[0250] The second response module 13 is specifically configured to display a media image publishing control corresponding to the annotated image data in the video application;
[0251] The second response module 13 is specifically configured to respond to a confirmation operation on the media image publishing control and display the media data publishing control in the comment annotation area of the video application;
[0252] The second response module 13 is specifically configured to respond to an input operation on the comment mark area and display the input comment media data to be published in the comment mark area;
[0253] The second response module 13 is specifically configured to respond to a triggering operation on the media data publishing control and publish the comment media data and the annotated image data to be published.
[0254] The first response module 12 is specifically configured to display a comment display control associated with the progress time point marking function in the video playback interface of the video application;
[0255] The first response module 12 is specifically configured to respond to a triggering operation on the comment display control and display a comment display area in the video playback interface; the comment display area includes a comment entry area;
[0256] The first response module 12 is specifically configured to respond to a trigger operation on the comment entry area and display a media annotation area in the video playback interface; the media annotation area includes a media annotation control;
[0257] A first response module 12 is specifically configured to respond to a triggering operation on the media annotation control and display the annotated media data in the media annotation area;
[0258] The data processing device 1 is further specifically configured to display the published annotated media data in the comment display area after the annotated media data is published.
[0259] The comment display area is used to display comment media data associated with the video data to be played; the comment display area also includes a marking function control;
[0260] The first response module 12 is further specifically configured to respond to a trigger operation on the annotation function control and display a progress time point list in the video application; the list items in the progress time point list include progress time points associated with the comment media data; the progress time points associated with the comment media data are sorted according to the number of associated comment media data; the progress time points associated with the comment media data include candidate progress time points;
[0261] The first response module 12 is further specifically configured to respond to a trigger operation for a candidate progress time point, and in a video application, perform a progress jump on the to-be-played video data based on the candidate progress time point.
[0262] The list items in the progress time point list also include candidate media viewing controls corresponding to the candidate progress time points;
[0263] The first responding module 12 is further specifically configured to respond to a triggering operation on a candidate media viewing control and display comment media data associated with the candidate progress time point in the video application.
[0264] The first response module 12 is specifically configured to respond to a trigger operation on the media video interception control at a trigger progress time point, input the video data to be played into a target classification model, classify the video frames in the video data to be played using the target classification model, and obtain scene classification information corresponding to the video frames in the video data to be played;
[0265] The first response module 12 is specifically configured to obtain intercepted video data having an interception duration from the video data to be played; the progress time point of the starting video frame of the intercepted video data is equal to the trigger progress time point; the intercepted video data includes N video frames; N is a positive integer greater than 1;
[0266] The first response module 12 is specifically configured to obtain the number M of first video frames in the intercepted video data; M is a positive integer less than or equal to N; the first video frame is a video frame in the intercepted video data whose scene classification information is equal to the starting scene classification information, and the starting scene classification information refers to the scene classification information corresponding to the starting video frame in the intercepted video data;
[0267] The first response module 12 is specifically used to obtain annotated video data with an interception duration from the video data to be played based on the starting scene classification information and the starting video frame of the intercepted video data if the ratio between M and N is less than the ratio threshold, and display the annotated video data in the video annotation area of the video application; the progress time point of the starting video frame of the annotated video data is the current progress time point, the annotated video data includes the starting video frame of the intercepted video data, the ratio between the number H of the second video frames in the annotated video data and N is greater than or equal to the ratio threshold, and the second video frame is a video frame whose scene classification information in the annotated video data is equal to the starting scene classification information.
[0268] The first response module 12 is specifically configured to respond to a trigger operation on a media text interception control at a current progress time point, and send a progress time point marking instruction to the player through a publisher;
[0269] The first response module 12 is specifically configured to obtain, through the core of the player, the progress time point information corresponding to the playback progress of the video data to be played, and send the progress time point information to the progress time point data generator;
[0270] The first response module 12 is specifically configured to render the progress time point information through the progress time point data generator to obtain the rendered progress time point information, and return the rendered progress time point information to the publisher;
[0271] The first response module 12 is specifically configured to display the annotated text data corresponding to the rendered progress time point information in the text annotation area of the video application through a publisher.
[0272] The data processing device 1 is further configured to store the published annotated media data in the media database after publishing the annotated media data;
[0273] The data processing device 1 is also specifically used to call the comment media reading service when refreshing the comment display area, read the published annotated media data from the media database through the comment media reading service, and display the published annotated media data in the refreshed comment display area.
[0274] Optionally, a second display module 14 is configured to display the published annotated media data in the media data display interface of the video application;
[0275] The progress jump module 15 is used to respond to the trigger operation of the released annotated media data and, in the video application, perform a progress jump on the to-be-played video data based on the current progress time point.
[0276] Among them, the media data display interface is the video playback interface;
[0277] The progress jump module 15 is specifically used to respond to the trigger operation of the annotated media data after release. If it is determined that the video data is being played in the playback area of the video playback interface, the progress jump is performed on the video data to be played in the playback area based on the current progress time point;
[0278] The progress jump module 15 is specifically used to refresh the video playback interface if it is determined that the media data is not played in the playback area, and to perform a progress jump on the video data to be played based on the current progress time point in the refreshed playback area.
[0279] The progress jump module 15 is specifically used to determine the candidate video data identifier of the video data being played in the playback area, obtain the to-be-played video data identifier of the video data to be played, and compare the candidate video data identifier with the to-be-played video data identifier;
[0280] The progress jump module 15 is specifically configured to switch the playback progress of the video data to be played in the playback area to the playback progress indicated by the current progress time point if the candidate video data identifier is the same as the video data identifier to be played;
[0281] The progress jump module 15 is specifically used to switch the video data being played in the play area to the video data to be played if the candidate video data identifier is different from the video data identifier to be played, and start playing the video data to be played from the play progress indicated by the current progress time point.
[0282] Among them, the media data display interface is the media reading interface;
[0283] The progress jump module 15 is specifically used to respond to the trigger operation of the released annotated media data and switch the media reading interface to the video playing interface in the video application;
[0284] The progress jump module 15 is specifically used to perform progress jump on the video data to be played based on the current progress time point in the video playback interface.
[0285] Among them, the media data display interface is the media reading interface;
[0286] The progress jump module 15 is specifically used to respond to the trigger operation of the released annotated media data and display the media playback sub-interface in the video application;
[0287] The progress jump module 15 is specifically used to perform progress jump on the video data to be played based on the current progress time point in the media playback sub-interface.
[0288] Among them, the media data display interface is the media reading interface;
[0289] The progress jump module 15 is specifically used to respond to the trigger operation of the annotated media data after release and display the media playback area in the media reading interface;
[0290] The progress jump module 15 is specifically configured to perform progress jump on the video data to be played based on the current progress time point in the media playing area.
[0291] The data processing device 1 is further configured to display a prompt message for the historical playback progress in the video application if the historical playback progress corresponding to the video data to be played is obtained;
[0292] The data processing device 1 is further specifically configured to respond to a triggering operation for the prompt information, and in a video application, switch the playback progress of the video data to be played from the playback progress indicated by the current progress time point to the historical playback progress.
[0293] The specific implementation of the first display module 11, the first response module 12, and the second response module 13 can be found in the description of S101-S103 in the embodiment corresponding to FIG3 and the description of S1021-S1022 in the embodiment corresponding to FIG11, and will not be repeated here. The specific implementation of the second display module 14 and the progress jump module 15 can be found in the description of S201-S202 in the embodiment corresponding to FIG17, and will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated.
[0294] Please refer to Figure 22, which is a structural diagram of a computer device provided in an embodiment of the present application. The computer device 1000 shown in Figure 22 can be a server or terminal device in the above embodiment. The computer device 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the above computer device 1000 may also include: a user interface 1003, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, in some embodiments, the user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. Optionally, the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001. As shown in FIG. 22 , the memory 1005 , which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application program.
[0295] In the computer device 1000 shown in FIG22 , the network interface 1004 can provide network communication functions; the user interface 1003 is mainly used to provide an interface for user input; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0296] Display the video data to be played in the video application;
[0297] In response to a trigger operation for the progress time point marking function in the video application, the marked media data is displayed in the video application; the marked media data is the media data associated with the current progress time point, and the current progress time point is the progress time point at which the to-be-played video data corresponding to the trigger operation is played;
[0298] In response to a confirmation operation on the annotated media data, the annotated media data is published; the published annotated media data has a function of indicating that the video data to be played is to be jumped in progress based on the current progress time point.
[0299] It should be understood that the computer device 1000 described in the embodiments of the present application can execute the data processing method described in the embodiments corresponding to FIG. 3 , FIG. 11 , or FIG. 17 , or can execute the data processing device 1 described in the embodiment corresponding to FIG. 21 , and thus will not be described in detail here. Furthermore, the beneficial effects of employing the same method will not be described in detail here either.
[0300] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the data processing device 1 mentioned above. When the processor executes the computer program, it can execute the description of the data processing method in the embodiment corresponding to Figure 3, Figure 11 or Figure 17 above. Therefore, it will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated. For technical details not disclosed in the embodiment of the computer-readable storage medium involved in this application, please refer to the description of the method embodiment of this application.
[0301] In addition, it should be noted that: the embodiment of the present application also provides a computer program product, which may include a computer program, and the computer program may be stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor can execute the computer program, so that the computer device performs the description of the data processing method in the embodiments corresponding to Figures 3, 11 or 17 above, and therefore, will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer program product embodiments involved in this application, please refer to the description of the method embodiments of this application.
[0302] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0303] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A data processing method, the method being executed by a computer device, include: Display the video data to be played in the video application; In response to a triggering operation for a progress time point marking function in the video application, displaying the marked media data in the video application; The annotated media data is media data associated with a current progress time point, and the current progress time point is a progress time point at which the to-be-played video data corresponding to the trigger operation is played; In response to a confirmation operation on the annotated media data, publishing the annotated media data; The published annotated media data has the function of instructing the to-be-played video data to perform a progress jump based on the current progress time point.
2. The method according to claim 1, wherein the annotated media data comprises annotated image data captured from the video data to be played; In response to the triggering operation of the progress time point marking function in the video application, the marked media data is displayed in the video application, include: Displaying a media image capture control associated with the progress time point marking function in the video playback interface of the video application; In response to a trigger operation on the media image capture control at the current progress time point, the annotated image data is displayed in an image annotation area of the video application; The progress time point of the annotated image data in the video data to be played is the current progress time point; In response to the confirmation operation on the annotated media data, the annotated media data is published, including: Displaying a media image publishing control corresponding to the annotated image data in the video application; In response to a confirmation operation on the media image publishing control, the annotated image data is published.
3. The method according to claim 1, wherein the annotated media data comprises to-be-published comment media data and annotated text data; The responding to the triggering operation of the progress time point marking function in the video application, and displaying the marked media data in the video application, comprises: Displaying a media text capture control associated with the progress time point marking function in the video playback interface of the video application; In response to a trigger operation on the media text interception control at the current progress time point, the annotated text data is displayed in a text annotation area of the video application; In response to an input operation on the text annotation area, displaying the inputted comment media data to be published in the text annotation area; In response to the confirmation operation on the annotated media data, the annotated media data is published, including: Displaying a media text publishing control corresponding to the annotated text data in the video application; In response to a triggering operation on the media text publishing control, the to-be-published comment media data and the annotated text data are published.
4. The method according to claim 3, wherein the triggering operation for the media text interception control is responded to at the current progress time point, and the annotated text data is displayed in the text annotation area of the video application, include: In response to a trigger operation on the media text capture control at the current progress time point, a target video segment corresponding to the current progress time point in K video segments is obtained; the K video segments are video segments associated with the video data to be played, and K is a positive integer; The segment attribute information of the target video segment is used as the annotation text data, and the annotation text data is displayed in a text annotation area of the video application.
5. The method according to claim 1, wherein the annotated media data comprises annotated text data and annotated image data captured from the video data to be played; In response to the triggering operation of the progress time point marking function in the video application, the marked media data is displayed in the video application, include: Displaying a media image capture control associated with the progress time point marking function in the video playback interface of the video application; In response to a trigger operation on the media image capture control at the current progress time point, the annotated image data is displayed in an image annotation area of the video application; The progress time point of the annotated image data in the video data to be played is the current progress time point; In response to the confirmation operation on the annotated media data, the annotated media data is published, including: Displaying a media image publishing control corresponding to the annotated image data in the video application; In response to a confirmation operation on the media image publishing control, displaying the annotation text data and the media data publishing control in a comment annotation area of the video application; In response to a triggering operation on the media data publishing control, the annotated text data and the annotated image data are published.
6. The method according to claim 1, wherein the annotated media data comprises annotated video data captured from the video data to be played; The responding to the triggering operation of the progress time point marking function in the video application, and displaying the marked media data in the video application, comprises: Displaying a media video capture control associated with the progress time point marking function in the video playback interface of the video application; In response to a trigger operation for the media video capture control at a trigger progress time point, the annotated video data is displayed in a video annotation area of the video application; the trigger progress time point is used to determine the current progress time point in the video data to be played, and the current progress time point is used to determine the capture start time in the video data to be played; the duration of the annotated video data is the capture duration associated with the progress time point annotation function; In response to the confirmation operation on the annotated media data, the annotated media data is published, including: In response to a confirmation operation on the annotated video data, displaying a media video publishing control corresponding to the annotated video data in the video application; In response to a confirmation operation on the media video publishing control, the annotated video data is published.
7. The method according to claim 1, wherein the annotated media data includes comment media data to be published; In response to the triggering operation of the progress time point marking function in the video application, the marked media data is displayed in the video application, include: Displaying a media text capture control associated with the progress time point marking function in the video playback interface of the video application; Responding to a trigger operation on the media text capture control at the current progress time point, and displaying a text annotation area in the video application; In response to an input operation on the text annotation area, displaying the inputted comment media data to be published in the text annotation area; In response to the confirmation operation on the annotated media data, the annotated media data is published, including: Displaying a media text publishing control corresponding to the to-be-published comment media data in the video application; In response to a triggering operation on the media text publishing control, the to-be-published comment media data is published.
8. The method according to claim 1, wherein the annotated media data comprises comment media data to be published and annotated image data captured from the video data to be played; The responding to the triggering operation of the progress time point marking function in the video application, and displaying the marked media data in the video application, comprises: Displaying a media image capture control associated with the progress time point marking function in the video playback interface of the video application; In response to a trigger operation on the media image capture control at the current progress time point, the annotated image data is displayed in the image annotation area of the video application; the progress time point of the annotated image data in the video data to be played is the current progress time point; In response to the confirmation operation on the annotated media data, the annotated media data is published, including: Displaying a media image publishing control corresponding to the annotated image data in the video application; In response to a confirmation operation on the media image publishing control, displaying a media data publishing control in a comment annotation area of the video application; In response to an input operation on the comment annotation area, displaying the inputted comment media data to be published in the comment annotation area; In response to a trigger operation on the media data publishing control, the to-be-published comment media data and the annotated image data are published.
9. The method according to claim 1, wherein the response to the triggering operation of the progress time point marking function in the video application is to display the marked media data in the video application, include: Displaying a comment display control associated with the progress time point marking function in the video playback interface of the video application; In response to a triggering operation on the comment display control, displaying a comment display area in the video playback interface; The comment display area includes a comment entry area; In response to a trigger operation on the comment entry area, a media annotation area is displayed in the video playback interface; the media annotation area includes a media annotation control; In response to a trigger operation on the media annotation control, displaying annotated media data in the media annotation area; The method further comprises: After the annotated media data is published, the published annotated media data is displayed in the comment display area.
10. The method according to claim 1, further comprising: include: Displaying the published annotated media data in the media data display interface of the video application; In response to a trigger operation on the published annotated media data, in the video application, a progress jump is performed on the to-be-played video data based on the current progress time point.
11. The method according to claim 10, wherein the media data display interface is a video playback interface; In response to the triggering operation of the published annotated media data, in the video application, the progress of the to-be-played video data is jumped based on the current progress time point, include: In response to a trigger operation on the published annotated media data, If it is determined that video data is being played in the playback area of the video playback interface, then in the playback area, the progress of the video data to be played is jumped based on the current progress time point; If it is determined that the media data is not played in the playback area, the video playback interface is refreshed, and in the refreshed playback area, the progress of the to-be-played video data is jumped based on the current progress time point.
12. The method according to claim 11, wherein in the playback area, the video data to be played is jumped based on the current progress time point. include: Determine candidate video data identifiers of video data being played in the playback area, obtain to-be-played video data identifiers of the to-be-played video data, and compare the candidate video data identifiers with the to-be-played video data identifiers; If the candidate video data identifier is the same as the to-be-played video data identifier, switching the playback progress of the to-be-played video data in the playback area to the playback progress indicated by the current progress time point; If the candidate video data identifier is different from the to-be-played video data identifier, the video data being played in the play area is switched to the to-be-played video data, and the to-be-played video data is played starting from the play progress indicated by the current progress time point.
13. The method according to claim 10, wherein the media data display interface is a media browsing interface; In response to the triggering operation of the published annotated media data, in the video application, the progress of the to-be-played video data is jumped based on the current progress time point, include: In response to a trigger operation on the published annotated media data, switching the media viewing interface to a video playing interface in the video application; In the video playback interface, the progress of the video data to be played is jumped based on the current progress time point.
14. The method according to claim 10, wherein the media data display interface is a media reading interface; In response to the triggering operation of the published annotated media data, in the video application, the progress of the to-be-played video data is jumped based on the current progress time point, include: In response to a trigger operation on the published annotated media data, displaying a media playback sub-interface in the video application; In the media playback sub-interface, the to-be-played video data is progress-jumped based on the current progress time point.
15. The method according to claim 10, wherein the media data display interface is a media browsing interface; In response to the triggering operation of the published annotated media data, in the video application, the progress of the to-be-played video data is jumped based on the current progress time point, include: In response to a trigger operation on the published annotated media data, displaying a media playback area in the media viewing interface; In the media playback area, the to-be-played video data is progress-jumped based on the current progress time point.
16. The method according to claim 10, further comprising: include: If the historical playback progress corresponding to the to-be-played video data is obtained, prompt information for the historical playback progress is displayed in the video application; In response to a triggering operation for the prompt information, in the video application, the playback progress of the to-be-played video data is switched from the playback progress indicated by the current progress time point to the historical playback progress.
17. The method according to claim 9, wherein the comment display area is used to display comment media data associated with the video data to be played ; The comment display area also includes a marking function control; The method further comprises: In response to a trigger operation on the annotation function control, a progress time point list is displayed in the video application; the list items in the progress time point list include progress time points associated with the comment media data; the progress time points associated with the comment media data are sorted according to the number of associated comment media data; the progress time points associated with the comment media data include candidate progress time points; In response to a triggering operation on the candidate progress time point, in the video application, a progress jump is performed on the to-be-played video data based on the candidate progress time point.
18. The method according to claim 17, wherein the list items in the progress time point list further include candidate media browsing controls corresponding to the candidate progress time points; The method also include: In response to a triggering operation on the candidate media viewing control, the comment media data associated with the candidate progress time point is displayed in the video application.
19. The method according to claim 6, wherein the triggering operation for the media video capture control is responded to at the triggering progress time point, and the annotated video data is displayed in the video annotated area of the video application, include: Responding to a trigger operation on the media video capture control at the trigger progress time point, inputting the video data to be played into a target classification model, classifying video frames in the video data to be played by using the target classification model, and obtaining scene classification information corresponding to the video frames in the video data to be played; Obtaining intercepted video data having the intercepted duration from the video data to be played; the progress time point of the starting video frame of the intercepted video data is equal to the trigger progress time point; the intercepted video data includes N video frames; N is a positive integer greater than 1; Obtaining the number M of first video frames in the intercepted video data; wherein M is a positive integer less than or equal to N; the first video frame is a video frame in the intercepted video data whose scene classification information is equal to the starting scene classification information, and the starting scene classification information refers to the scene classification information corresponding to the starting video frame; If the ratio between the M and the N is less than the ratio threshold, acquiring the annotated video data having the intercepted duration from the video data to be played according to the starting scene classification information and the starting video frame, and displaying the annotated video data in the video annotation area of the video application; The progress time point of the starting video frame of the annotated video data is the current progress time point, the annotated video data includes the starting video frame, the ratio between the number H of second video frames in the annotated video data and the number N is greater than or equal to the ratio threshold, and the second video frame is a video frame in which the scene classification information in the annotated video data is equal to the starting scene classification information.
20. The method according to claim 3, wherein the triggering operation for the media text interception control is responded to at the current progress time point, and the annotated text data is displayed in the text annotation area of the video application, include: Responding to a trigger operation on the media text interception control at the current progress time point, sending a progress time point marking instruction to the player through a publisher; Obtaining, through the kernel of the player, progress time point information corresponding to the playback progress of the video data to be played, and sending the progress time point information to a progress time point data generator; Rendering the progress time point information by the progress time point data generator to obtain rendered progress time point information, and returning the rendered progress time point information to the publisher; The annotated text data corresponding to the rendered progress time point information is displayed in a text annotation area of the video application through the publisher.
21. The method according to claim 9, wherein after the annotated media data is published, the annotated media data is displayed in the comment display area. include: After publishing the annotated media data, storing the published annotated media data in a media database; When the comment display area is refreshed, the comment media reading service is called, the published annotated media data is read from the media database through the comment media reading service, and the published annotated media data is displayed in the refreshed comment display area.
22. A data processing apparatus, the apparatus being deployed on a computer device, include: A first display module, used for displaying the video data to be played in the video application; A first response module, configured to respond to a triggering operation of a progress time point marking function in the video application, and display the marked media data in the video application; The annotated media data is media data associated with a current progress time point, and the current progress time point is a progress time point at which the to-be-played video data corresponding to the trigger operation is played; A second response module, configured to respond to a confirmation operation on the annotated media data and publish the annotated media data; The published annotated media data has the function of instructing the to-be-played video data to perform a progress jump based on the current progress time point.
23. A computer device, include: Processor and memory; The processor is connected to the memory, wherein the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method according to any one of claims 1 to 21.
24. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, wherein the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 21.
25. A computer program product, comprising a computer program, wherein the computer program is stored in a computer-readable storage medium and is suitable for being read and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 21.
