Video playback method, device, electronic device and storage medium
By displaying the video introduction and core points in the video playback interface, the problem of low selection efficiency during online video playback is solved, allowing users to quickly understand the video content.
Patent Information
- Application Number
- CN202310619329.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-05-29
AI Technical Summary
When playing online videos, users need to watch the video to a certain extent to understand the content, resulting in low video selection efficiency.
In the video playback interface, relevant information about the video, including video introduction and core points, is displayed to help users quickly understand the video content, thereby improving selection efficiency.
By displaying video-related information, users can quickly understand the video content, improve video selection efficiency, and reduce unnecessary video viewing time.
Smart Images

Figure CN116582710B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, in particular to the technical fields of artificial intelligence, video processing, video control, etc., and specifically to a video playback method, device, electronic device and storage medium. Background Art
[0002] Currently, when people use online software to play videos, they usually need to play the current video to a certain extent before they can basically understand the relevant content of the current video in order to determine whether they need to continue watching. Therefore, the video selection efficiency is low. Summary of the invention
[0003] The present disclosure provides a video playback method, device, electronic device and storage medium.
[0004] According to one aspect of the present disclosure, a video playback method is provided, comprising:
[0005] In response to a play operation on a target video, playing the target video in a first area of the display interface;
[0006] The second area in the display interface displays relevant information of the target video; wherein the relevant information includes at least one of a video introduction and a video core point.
[0007] According to another aspect of the present disclosure, a video playback method is provided, comprising:
[0008] receiving requests for relevant information;
[0009] Determine the target video according to the relevant information request;
[0010] Generate relevant information of the target video; wherein the relevant information includes at least one of a video introduction and a video core point;
[0011] The relevant information is sent to the terminal device so that when the terminal device plays the target video in the first area in the display interface, the relevant information is displayed in the second area in the display interface.
[0012] According to another aspect of the present disclosure, there is provided a video playback device, comprising:
[0013] A video playing unit, configured to play the target video in a first area of the display interface in response to a play operation on the target video;
[0014] The information display unit is used to display relevant information of the target video in the second area of the display interface; wherein the relevant information includes at least one of the video introduction and the video core point.
[0015] According to another aspect of the present disclosure, there is provided a video playback device, comprising:
[0016] A request receiving unit, used for receiving a request for related information;
[0017] A video determination unit, configured to determine a target video according to the relevant information request;
[0018] An information generating unit, configured to generate relevant information of a target video; wherein the relevant information includes at least one of a video introduction and a video core point;
[0019] The information sending unit is used to send relevant information to the terminal device so that when the terminal device plays the target video in the first area of the display interface, the relevant information is displayed in the second area of the display interface.
[0020] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0021] at least one processor;
[0022] a memory communicatively coupled to the at least one processor;
[0023] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any method in the embodiments of the present disclosure.
[0024] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any method according to the embodiments of the present disclosure.
[0025] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which implements any method according to the embodiments of the present disclosure when executed by a processor.
[0026] The present disclosure can improve video selection efficiency.
[0027] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0029] Figure 1 A flowchart of a video playback method provided by an embodiment of the present disclosure;
[0030] Figure 2 A schematic diagram of a display effect of a display interface provided by an embodiment of the present disclosure;
[0031] Figure 3 A schematic diagram of a process for generating relevant information provided by an embodiment of the present disclosure;
[0032] Figure 4 A schematic diagram of switching display content in a second area provided by an embodiment of the present disclosure;
[0033] Figure 5 A schematic diagram of adjusting the playback progress of a target video provided by an embodiment of the present disclosure;
[0034] Figure 6 A schematic diagram of adjusting the playback progress of a target video provided by an embodiment of the present disclosure;
[0035] Figure 7 A schematic diagram of the display effect of a newly added core knowledge point provided in an embodiment of the present disclosure;
[0036] Figure 8 A schematic diagram of expanding / storing related information provided by an embodiment of the present disclosure;
[0037] Fig. 9 A schematic diagram of an editing process of associated information provided by an embodiment of the present disclosure;
[0038] Fig.10 A schematic diagram of switching display content in a second area provided by an embodiment of the present disclosure;
[0039] Fig.11 A flowchart of a video playback method provided by an embodiment of the present disclosure;
[0040] Fig.12 A schematic diagram of a scenario of a video playback method provided by an embodiment of the present disclosure;
[0041] Fig.13 A schematic structural block diagram of a video playback device provided in an embodiment of the present disclosure;
[0042] Fig.14 A schematic structural block diagram of a video playback device provided in an embodiment of the present disclosure;
[0043] Fig.15 A schematic structural block diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0044] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0045] The present disclosure provides a video playback method, which can be applied to a terminal device. Figure 1 The flowchart diagram shown is used to illustrate a video playback method provided by an embodiment of the present disclosure. It should be noted that although a logical sequence is shown in the flowchart diagram, in some cases, the steps shown or described may also be performed in other sequences.
[0046] Step S101, in response to a play operation on a target video, play the target video in a first area of a display interface;
[0047] Step S102, displaying relevant information of the target video in a second area of the display interface; wherein the relevant information includes at least one of a video introduction and a video core point.
[0048] The target video may be a work video, a learning video, or an entertainment video, which is not limited in the embodiments of the present disclosure. A work video may be a video introducing work-related content, for example, a video of an employee explaining a research and development project, which may be pre-recorded and include project information and audio information of the employee's explanation; a learning video may be a video for users to learn independently, for example, a video of a teacher explaining a courseware, which may be pre-recorded and include courseware information and audio information of the teacher's explanation; an entertainment video may be a movie video, a TV series video, etc.
[0049] In the disclosed embodiment, the video playback method can be applied to a target client installed on a terminal device, such as a network disk client or other video client. After opening the target client, the user can select a target video from a plurality of candidate videos, and then perform a playback operation on the target video. The target client responds to the playback operation on the target video and plays the target video in the first area of the display interface. Among them, the playback operation can be a single-click operation, a double-click operation, or a long-press operation, etc., and the object of the playback operation can be the playback control of the target video, which is not limited in the disclosed embodiment. In addition, in the disclosed embodiment, the area size and / or position of the first area can be adjusted.
[0050] Please combine Figure 2, when the target video is played in the first area 201 in the display interface 200, the relevant information of the target video can also be displayed in the second area 202 in the display interface 200. The relevant information includes at least one of a video introduction and a video core point. The video introduction is summary information, which is used to summarize the content outline of the target video. It can describe the important content of the target video concisely and accurately without commenting or supplementary explanation. In addition, in the embodiment of the present disclosure, when the target video is a learning video, the video core point may include multiple core knowledge points involved in the target video, and each core knowledge point may be an independent knowledge point title, for example, "Paged Storage Management". In addition, in the embodiment of the present disclosure, the area size and / or location of the second area can be adjusted.
[0051] By using the video playback method provided by the embodiment of the present disclosure, in response to the playback operation for the target video, the target video can be played in the first area of the display interface, and then the relevant information of the target video can be displayed in the second area of the display interface. The relevant information includes at least one of the video introduction and the video core point. In this way, the user can quickly understand the relevant content of the video through the relevant information of the target video, so as to determine whether to continue watching the target video, which can improve the efficiency of video selection compared with the prior art.
[0052] In the disclosed embodiment, since the target video does not specifically refer to a certain video resource, but any video resource can be used as the target video, in response to a playback operation on the target video, after the target video is played in the first area of the display interface, relevant information of the target video is displayed in the second area of the display interface, thereby improving the versatility of the video playback method.
[0053] In addition, it should be noted that, in the embodiment of the present disclosure, after the user opens the target client and selects a target video from multiple candidate videos, and then performs a play operation on the target video, the target client responds to the play operation on the target video by playing the target video in the first area of the display interface and displaying relevant information of the target video in the second area of the display interface, which can also be divided into the following three processes:
[0054] (1) The target video and related information of the target video are already stored in the terminal device
[0055] The target client can respond to the playback operation for the target video by directly obtaining the target video and related information of the target video from the terminal device, and then play the target video in the first area of the display interface, and display the related information of the target video in the second area of the display interface.
[0056] The target video and the relevant information of the target video can be sent to the terminal device in advance by the server. For example, the target client can generate a video acquisition request when responding to the play operation of the target video for the first time, send the video acquisition request to the server, and then receive the target video sent by the server; for another example, the target client can generate a relevant information request when responding to the trigger operation of the information generation control for the first time, send the relevant information request to the server, so that the server generates the relevant information of the target video according to the relevant information request, and then receives the relevant information sent by the server.
[0057] (2) The terminal device only stores the target video, but not the related information of the target video.
[0058] The target client can directly obtain the target video from the terminal device in response to the play operation for the target video, and then play the target video in the first area of the display interface. Thereafter, when it is detected that the information generation control provided by the display interface is triggered, in response to the trigger operation for the information generation control, a related information request is generated, and the related information request is sent to the server, so that the server generates the related information of the target video according to the related information request, and then receives the related information sent by the server and displays it in the second area.
[0059] The target video may be sent to the terminal device in advance by the server. For example, the target client may generate a video acquisition request when responding to a play operation for the target video for the first time, send the video acquisition request to the server, and then receive the target video sent by the server.
[0060] (3) The target video and related information of the target video are not stored in the terminal device
[0061] The target client can generate a video acquisition request in response to a play operation on the target video, send the video acquisition request to the server, then receive the target video sent by the server, and play it in the first area of the display interface. Thereafter, when it is detected that the information generation control provided by the display interface is triggered, in response to the trigger operation on the information generation control, generate a related information request, send the related information request to the server, so that the server generates related information of the target video according to the related information request, then receives the related information sent by the server, and displays it in the second area.
[0062] Based on the above, it can be understood that in the embodiment of the present disclosure, the relevant information of the target video can be generated by the server and sent to the terminal device, and for the above situation (2) and situation (3), in the embodiment of the present disclosure, "displaying the relevant information of the target video in the second area of the display interface" can include the following steps:
[0063] In response to a trigger operation on an information generation control, generating a related information request;
[0064] Sending the relevant information request to the server so that the server generates relevant information of the target video according to the relevant information request;
[0065] Receive relevant information sent by the server;
[0066] The related information is displayed in the second area.
[0067] Among them, the trigger operation for the information generation control can be a single-click operation, a double-click operation, or a long-press operation, etc., which is not limited in the embodiments of the present disclosure.
[0068] Please combine Figure 3 When the target video is played in the first area 301 in the display interface 300, the information generation control (the "apply for generation" mark in the second area 302) can be displayed in the second area 302. In addition, the second area 302 can also display the function introduction of the information generation control to inform the user that after the trigger operation is performed on the information generation control, the relevant information of the target video will be displayed in the second area 302, and the user is informed of the information content contained in the relevant information.
[0069] Through the above steps, in the embodiment of the present disclosure, in response to the trigger operation for the information generation control, a related information request can be generated; the related information request can be sent to the server so that the server generates the related information of the target video according to the related information request; the related information sent by the server is received; and the related information is displayed in the second area. In this way, the generation of related information can be performed on the server side to reduce the workload of the terminal device and ensure the playback effect of the target video.
[0070] In some optional implementations, the display interface may include an introduction display control and a core point display control, and “displaying relevant information of the target video in the second area in the display interface” may include the following steps:
[0071] Display the video introduction or the video core points in the second area;
[0072] In a case where the video introduction is not displayed in the second area, in response to a trigger operation on the introduction display control, displaying the video introduction in the second area;
[0073] In the case where the video core point is not displayed in the second area, in response to a trigger operation on the core point display control, the video core point is displayed in the second area.
[0074] Among them, the trigger operation for the introduction display control can be a single-click operation, a double-click operation, or a long-press operation, etc.; similarly, the trigger operation for the core point display control can be a single-click operation, a double-click operation, or a long-press operation, etc., and the embodiments of the present disclosure do not limit this.
[0075] Please combine Figure 4 In the embodiment of the present disclosure, when the target video is played in the first area 401 in the display interface 400, only one of the video introduction or the video core point is displayed by default in the second area 402 in the display interface 400. Then, in the case where the video introduction is not displayed in the second area 402, the target client can display the video introduction in the second area 402 in response to the trigger operation for the introduction display control (the "introduction" mark in the second area 402); in the case where the video core point is not displayed in the second area 402, the target client can display the video core point in the second area 402 in response to the trigger operation for the core point display control (the "core point" mark in the second area 402).
[0076] Through the above steps, it can be understood that in the embodiment of the present disclosure, when the target video is played in the first area of the display interface, only one of the video introduction or the video core point is displayed in the second area of the display interface by default, and the display content of the second area can be switched according to user operations, thereby ensuring that the video introduction and the video core point each have a relatively sufficient display area to improve the visibility of the video introduction and the video core point.
[0077] In some optional implementations, the video introduction includes an overall summary and multiple segment summaries, and “displaying the video introduction in the second area” may include the following steps:
[0078] The first partition in the second area displays an overall summary;
[0079] A second partition in the second area displays a plurality of segment summaries and a first video timestamp corresponding to each segment summary.
[0080] In the disclosed embodiment, the relevant information of the target video may be generated by the server, that is, the overall summary and multiple segment summaries may be generated by the server and sent to the terminal device.
[0081] In a specific example, the server may convert the target video to obtain a video text; extract multiple first key sentences from the video text; input the multiple first key sentences into a pre-trained language model to obtain an overall summary output by the language model. The pre-trained language model may be a Wenxinyiyan model.
[0082] In a specific example, the server can also process the video text in segments to obtain multiple segmented texts; for each segmented text, if the text length of the segmented text meets the model processing requirements, the segmented text is input into the language model to obtain the segmented summary output by the language model; for each segmented text, if the text length of the segmented text does not meet the model processing requirements, multiple second key sentences extracted from the segmented text are input into the language model to obtain the segmented summary output by the language model. In this process, the server can also record the video timestamp corresponding to each segmented text, and after generating the segmented summary corresponding to the segmented text, use the video timestamp as the first video timestamp corresponding to the segmented summary and send it to the terminal device.
[0083] The first video timestamp may be a time point or a time period. In a specific example, the first video time is a time point, which can be used to represent the starting time point of the video content corresponding to the corresponding segment summary in the target video. In a specific example, the first video time is a time period, including a first starting time and a first ending time. The first starting time is used to represent the starting time point of the video content corresponding to the corresponding segment summary in the target video, and the first ending time is used to represent the ending time point of the video content corresponding to the corresponding segment summary in the target video.
[0084] Through the above steps, in the embodiment of the present disclosure, the overall summary can be displayed in the first partition of the second area, and multiple segment summaries and the first video timestamp corresponding to each segment summary can be displayed in the second partition of the second area. In this way, the user can not only quickly understand the relevant content of the video through the overall summary and multiple segment summaries to determine whether to continue watching the target video, but also determine the video position corresponding to each segment summary in the target video according to the first video timestamp corresponding to each segment summary, which facilitates the user to adjust the playback progress of the target video.
[0085] In some optional implementations, the video playback method may further include the following steps:
[0086] In response to a trigger operation for the first video timestamp, the play progress of the target video is adjusted to a video play node corresponding to the first video timestamp.
[0087] Among them, the trigger operation for the first video timestamp can be a single-click operation, a double-click operation, or a long-press operation, etc., which is not limited in this embodiment of the present disclosure.
[0088] When the first video timestamp is a time point, "adjusting the playback progress of the target video to the video playback node corresponding to the first video timestamp" can be: adjusting the current playback node of the target video to the playback node corresponding to the first video timestamp; when the first video timestamp is a time period, "adjusting the playback progress of the target video to the video playback node corresponding to the first video timestamp" can be: adjusting the current playback node of the target video to the playback node corresponding to the first start time in the first video timestamp.
[0089] Please combine Figure 5 , Assume that the overall summary of the target video is "This paragraph mainly introduces three ways of computer storage management: segment storage management, page storage management and segment page storage management. By comparing these three storage management methods, we can understand their respective advantages and disadvantages and application scenarios...". Assume again that the multiple segment summaries of the target video include the first segment summary and the second segment summary, where the first segment summary is "Page storage management is to divide the memory space into several partitions of equal size, each partition is a page frame. The address space of the user process is also divided into several pages of equal page frame size.", and the first video timestamp corresponding to the first segment summary is "0:05~15:16"; the second segment summary is "Segment storage management is to divide the memory space into several segments according to logical functions, each segment has a segment name. The operating system will allocate memory based on the segment.", and the first video timestamp corresponding to the second segment summary is "15:17~30:16".
[0090] Then, the target client can adjust the current playback node of the target video to the playback node corresponding to "0:05" in the first video timestamp "0:05-15:16" in response to the trigger operation for the first video timestamp "0:05-15:16"; the target client can adjust the current playback node of the target video to the playback node corresponding to "15:17" in the first video timestamp "15:17-30:16" in response to the trigger operation for the first video timestamp "15:17-30:16".
[0091] Through the above steps, in the embodiment of the present disclosure, the playback progress of the target video can be adjusted to the video playback node corresponding to the first video timestamp in response to the trigger operation for the first video timestamp, that is, the user can be assisted in accurately adjusting the playback progress of the target video.
[0092] In some optional implementations, the video core point includes multiple core knowledge points, and “displaying the video core point in the second area” may include the following steps:
[0093] A plurality of core knowledge points and a second video timestamp corresponding to each core knowledge point are displayed in the second area.
[0094] In the disclosed embodiment, relevant information of the target video may be generated by a server, that is, a plurality of core knowledge points may be generated by a server and sent to a terminal device.
[0095] In a specific example, the server can convert the target video to obtain a video text; obtain multiple candidate knowledge points; match the video text with the multiple candidate knowledge points by keywords to determine multiple core knowledge points of the target video. In this process, the server can also record the video position corresponding to each core knowledge point in the target video when the core knowledge point is matched in the video text, and then determine the second video timestamp corresponding to the core knowledge point based on the video position, and send it to the terminal device.
[0096] The second video timestamp can be a time point or a time period. In a specific example, the second video time is a time point, which can be used to represent the starting time point of the video content corresponding to its corresponding core knowledge point in the target video. In a specific example, the second video time is a time period, including a second starting time and a second ending time. The second starting time is used to represent the starting time point of the video content corresponding to its corresponding core knowledge point in the target video, and the second ending time is used to represent the ending time point of the video content corresponding to its corresponding core knowledge point in the target video.
[0097] Through the above steps, in the disclosed embodiment, multiple core knowledge points and the second video timestamp corresponding to each core knowledge point can be displayed in the second area. In this way, the user can not only quickly understand the relevant content of the video through multiple core knowledge points to determine whether to continue watching the target video, but also determine the video position corresponding to each core knowledge point in the target video according to the second video timestamp corresponding to each core knowledge point, which facilitates the user to adjust the playback progress of the target video.
[0098] In some optional implementations, the video playback method may further include the following steps:
[0099] In response to the trigger operation for the second video timestamp, the play progress of the target video is adjusted to the video play node corresponding to the second video timestamp.
[0100] The triggering operation for the second video timestamp may be a single-click operation, a double-click operation, or a long-press operation, etc., which is not limited in this embodiment of the present disclosure.
[0101] When the second video timestamp is a time point, "adjusting the playback progress of the target video to the video playback node corresponding to the second video timestamp" can be: adjusting the current playback node of the target video to the playback node corresponding to the second video timestamp; when the second video timestamp is a time period, "adjusting the playback progress of the target video to the video playback node corresponding to the second video timestamp" can be: adjusting the current playback node of the target video to the playback node corresponding to the second start time in the second video timestamp.
[0102] Please combine Figure 6 , assume that the multiple core knowledge points of the target video include a first core knowledge point, a second core knowledge point and a third core knowledge point, among which the first core knowledge point is "page storage management", and the first video timestamp corresponding to the first core knowledge point is "12:15"; the second core knowledge point is "segment storage management", and the first video timestamp corresponding to the second core knowledge point is "16:15"; the third core knowledge point is "segment page storage management", and the first video timestamp corresponding to the third core knowledge point is "20:15".
[0103] Then, the target client can adjust the current playback node of the target video to the playback node corresponding to the second video timestamp "12:15" in response to the trigger operation for the second video timestamp "12:15"; the target client can adjust the current playback node of the target video to the playback node corresponding to the second video timestamp "16:15" in response to the trigger operation for the second video timestamp "16:15"; the target client can adjust the current playback node of the target video to the playback node corresponding to the second video timestamp "20:15" in response to the trigger operation for the second video timestamp "20:15".
[0104] Through the above steps, in the embodiment of the present disclosure, the playback progress of the target video can be adjusted to the video playback node corresponding to the second video timestamp in response to the trigger operation for the second video timestamp, that is, the user can be assisted in accurately adjusting the playback progress of the target video.
[0105] In some optional implementations, the display interface includes a mark control, and the video playback method may further include the following steps:
[0106] In response to a trigger operation on a mark control, a mark content summary corresponding to the currently played content of the target video is obtained as a newly added core knowledge point.
[0107] The currently played content of the target video may be the video content within a preset time length before and after the currently played screen, wherein the preset time length may be 10 seconds (S) or 20S, and the embodiment of the present disclosure does not impose any specific limitation on this.
[0108] The triggering operation for the mark control may be a single-click operation, a double-click operation, or a long-press operation, etc., which is not limited in the embodiment of the present disclosure. Figure 7 In the disclosed embodiment, the mark control may be a pin-shaped marker, and the target client may respond to a trigger operation on the mark control by displaying a summary of the mark content corresponding to the current playback content of the target video in the second area 701, for example, "There are three data structures preset for the segment address" as a newly added core knowledge point. At the same time, the video timestamp corresponding to the currently played content may also be displayed as a second video timestamp corresponding to the newly added core knowledge point.
[0109] Through the above steps, in the embodiment of the present disclosure, in response to the trigger operation of the mark control, a summary of the marked content corresponding to the current playing content of the target video can be obtained as a newly added core knowledge point to assist user learning and improve user learning efficiency and learning effect.
[0110] In some optional implementations, “obtaining a summary of the marked content corresponding to the currently played content of the target video” may include the following steps:
[0111] Generate a knowledge point summary request based on the current playback content of the target video;
[0112] Sending a knowledge point summary request to a server, so that the server generates a marked content summary corresponding to the current playing content of the target video according to the knowledge point summary request;
[0113] Receives a summary of the tag content sent by the server.
[0114] In a specific example, after receiving a knowledge point summary request, the server can determine the currently playing content based on the knowledge point summary request, and then convert the currently playing content to obtain the currently playing text. When the text length of the currently playing text meets the model processing requirements, the currently playing text is input into the language big model to obtain the marked content summary output by the language big model; when the text length of the currently playing text does not meet the model processing requirements, multiple key sentences extracted from the currently playing text are input into the language big model to obtain the marked content summary output by the language big model.
[0115] In the disclosed embodiment, a knowledge point summary request can be generated according to the current playback content of the target video; the knowledge point summary request can be sent to the server, so that the server generates a marked content summary corresponding to the current playback content of the target video according to the knowledge point summary request; and the marked content summary sent by the server is received. In this way, the generation of the content summary can be executed on the server side to reduce the workload of the terminal device and ensure the playback effect of the target video.
[0116] In some optional implementations, the video core point also includes associated information corresponding to each core knowledge point, and "displaying the video core point in the second area" may further include the following steps:
[0117] The associated information corresponding to each core knowledge point is displayed in the second area; wherein the associated information includes at least one of a video screenshot and a related document.
[0118] In the disclosed embodiment, relevant information of the target video may be generated by a server, that is, associated information corresponding to each core knowledge point may be generated by a server and sent to a terminal device.
[0119] As mentioned above, in a specific example, the server can convert the target video to obtain a video text; obtain multiple candidate knowledge points; match the video text with multiple candidate knowledge points for keywords to determine multiple core knowledge points of the target video. In this process, the server can also record, for each core knowledge point, the corresponding video position in the target video when the core knowledge point is matched in the video text, and then intercept the target video according to the video position to obtain a video screenshot corresponding to the core knowledge point. In addition, the server can also search for public documents related to the core knowledge point on the Internet for each core knowledge point as relevant documents corresponding to the core knowledge point; when the target client is a network disk client, it can also search for stored documents related to the core knowledge point from the user's network disk space as relevant documents corresponding to the core knowledge point.
[0120] In addition, in the embodiment of the present disclosure, "displaying the associated information corresponding to each core knowledge point in the second area" may also include: for each core knowledge point, when the storage area corresponding to the core knowledge point is in a storage state, in response to an expansion operation on the storage area, expanding the storage area to display the associated information corresponding to the core knowledge point. In a specific example, "expanding the storage area in response to the expansion operation on the storage area" may be expanding the storage area in response to a trigger operation on the expansion control.
[0121] The triggering operation for the expansion control may be a single-click operation, a double-click operation, or a long-press operation, etc., which is not limited in the embodiment of the present disclosure. In addition, in the embodiment of the present disclosure, the expansion control may be an "expand" mark.
[0122] Correspondingly, in the disclosed embodiment, for each core knowledge point, when the storage area corresponding to the core knowledge point is in an expanded state, in response to a storage operation on the storage area, the storage area is stored to hide the associated information corresponding to the core knowledge point. In a specific example, "in response to a storage operation on the storage area, the storage area is stored" can be in response to a trigger operation on the storage control to store the storage area.
[0123] The triggering operation for the storage control may be a single-click operation, a double-click operation, or a long-press operation, etc., which is not limited in the embodiment of the present disclosure. In addition, in the embodiment of the present disclosure, the storage control may be a "storage" logo.
[0124] Please combine Figure 8 , assuming that the multiple core knowledge points of the target video include a first core knowledge point, and the first core knowledge point is "page storage management".
[0125] Then, when the storage area corresponding to the first core knowledge point is in a stored state, the target client can expand the storage area corresponding to the first core knowledge point in response to the trigger operation of the expansion control corresponding to the first core knowledge point, so as to display the related information corresponding to the first core knowledge point, including the video screenshots and related documents corresponding to the first core knowledge point, and at the same time, the knowledge system structure of the first core knowledge point "Computer> Operating System> Storage Management> Paged Storage Management" can also be displayed; when the storage area corresponding to the first core knowledge point is in an expanded state, the target client can store the storage area corresponding to the first core knowledge point in response to the trigger operation of the storage control corresponding to the first core knowledge point, so as to hide the related information corresponding to the first core knowledge point, including the video screenshots and related documents corresponding to the first core knowledge point.
[0126] Through the above steps, in the embodiment of the present disclosure, the associated information corresponding to each core knowledge point can also be displayed in the second area. The associated information includes at least one of a video screenshot and a related document. On the one hand, the user can further understand the relevant content of the video through the associated information corresponding to each core knowledge point, thereby further improving the efficiency of video selection; on the other hand, the associated information corresponding to each core knowledge point can assist the user in learning and improve the user's learning efficiency and learning effect.
[0127] In some optional implementations, the video playback method may further include the following steps:
[0128] For each core knowledge point, in response to an editing operation on the core knowledge point, the associated information corresponding to the core knowledge point is edited.
[0129] In a specific example, “in response to an editing operation on a core knowledge point, editing associated information corresponding to the core knowledge point” may be: in response to a triggering operation on an editing control, editing the storage area.
[0130] The triggering operation for the edit control may be a single-click operation, a double-click operation, or a long-press operation, etc., which is not limited in the embodiment of the present disclosure. In addition, in the embodiment of the present disclosure, the edit control may be an "edit" mark.
[0131] Through the above steps, in the embodiment of the present disclosure, for each core knowledge point, in response to an editing operation on the core knowledge point, the associated information corresponding to the core knowledge point can be edited, thereby improving the user's controllability over the associated information of each core knowledge point to meet a wider range of user needs.
[0132] Please combine Fig. 9 In some optional implementations, “editing the associated information corresponding to the core knowledge point” may include at least one of the following:
[0133] If the associated information includes video screenshots, add, modify or delete the video screenshots;
[0134] Where the associated information includes related documents, add, modify or delete the related documents;
[0135] Add knowledge point notes corresponding to the core knowledge points as newly added related information corresponding to the core knowledge points.
[0136] Among them, modifying the video screenshot may be performing operations such as modifying the content of the video screenshot and adding marks; similarly, adding related documents may be performing operations such as modifying the content of the related documents and adding marks, and the embodiments of the present disclosure do not limit this.
[0137] Through the above steps, in the embodiment of the present disclosure, when the associated information includes video screenshots, video screenshots can be added, modified or deleted; when the associated information includes related documents, related documents can be added, modified or deleted, and knowledge point notes corresponding to core knowledge points can be added as new associated information corresponding to the core knowledge points, so that users have diversified editing methods for the associated information corresponding to the core knowledge points, so as to further improve the user's controllability of the associated information of each core knowledge point, so as to meet a wider range of user needs.
[0138] In some optional implementations, the relevant information may further include test information for a core point of the video, the display interface may include a test display control, and “displaying the relevant information of the target video in the second area of the display interface” may further include the following steps:
[0139] In a case where the quiz information is not displayed in the second area, in response to a trigger operation on the quiz display control, the quiz information is displayed in the second area.
[0140] In the embodiment of the present disclosure, the relevant information of the target video can be generated by the server, that is, the test information for the core point of the video can be generated by the server and sent to the terminal device.
[0141] In a specific example, after obtaining the core points of the video, that is, obtaining multiple core knowledge points, the server can input the core knowledge point into a pre-trained language model for each core knowledge point, and obtain at least one test information for the core knowledge point output by the language model. Fig.10 After the server sends the generated test information to the terminal device, if the test information is not displayed in the second area 1001, the target client can display random test information in the second area 1001 in response to a trigger operation on the test display control.
[0142] The triggering operation for the test display control may be a single-click operation, a double-click operation, or a long-press operation, etc., which is not limited in the embodiment of the present disclosure. In addition, in the embodiment of the present disclosure, the test display control may be a "test" logo.
[0143] Through the above steps, in the embodiment of the present disclosure, when the test information is not displayed in the second area, in response to the trigger operation on the test display control, the test information can be displayed in the second area. On the one hand, it can assist users in practice, so that users can consolidate and memorize core knowledge points, connect the learning process of "watch-learn-practice", and thus improve the learning effect of users; on the other hand, because the test information is output through the language big model, the diversity of the test information can be improved.
[0144] The present disclosure provides a video playback method, which can be applied to a server. Fig.11 The flowchart diagram shown is used to illustrate a video playback method provided by an embodiment of the present disclosure. It should be noted that although a logical sequence is shown in the flowchart diagram, in some cases, the steps shown or described may also be performed in other sequences.
[0145] Step S1101, receiving a request for relevant information;
[0146] Step S1102, determining a target video according to the relevant information request;
[0147] Step S1103, generating relevant information of the target video; wherein the relevant information includes at least one of a video introduction and a video core point;
[0148] Step S1104: sending the relevant information to the terminal device, so that when the terminal device plays the target video in the first area of the display interface, the relevant information is displayed in the second area of the display interface.
[0149] As mentioned above, in the disclosed embodiment, after the user opens the target client and selects the target video from multiple candidate videos, and then performs a play operation on the target video, the target client responds to the play operation on the target video by playing the target video in the first area of the display interface, and displays the relevant information of the target video in the second area of the display interface. The process can be divided into three cases: (1) the target video and the relevant information of the target video are already stored in the terminal device; (2) the terminal device only stores the target video, but does not store the relevant information of the target video; (3) the terminal device does not store the target video and the relevant information of the target video. For cases (2) and (3), the server will execute steps S1101, S1102, S1103, and S1104.
[0150] By using the video playback method provided by the embodiment of the present disclosure, a request for relevant information can be received; a target video can be determined according to the request for relevant information; relevant information of the target video can be generated; wherein the relevant information includes at least one of a video introduction and a video core point; and the relevant information can be sent to a terminal device so that when the terminal device plays the target video in a first area in a display interface, the relevant information can be displayed in a second area in the display interface. The relevant information includes at least one of a video introduction and a video core point. In this way, the user can quickly understand the relevant content of the video through the relevant information of the target video, so as to determine whether it is necessary to continue watching the target video, which can improve the efficiency of video selection compared to the prior art.
[0151] In addition, in the embodiment of the present disclosure, the generation of relevant information is performed on the server side, which can reduce the workload of the terminal device and ensure the playback effect of the target video.
[0152] In some optional implementations, the relevant information includes a video introduction, and the video introduction includes an overall summary, and “generating relevant information of the target video” may include the following steps:
[0153] Convert the target video to obtain video text;
[0154] Extracting multiple first key sentences from the video text;
[0155] Multiple first key sentences are input into a pre-trained language model to obtain an overall summary of the language model output.
[0156] In a specific example, the target video can be converted using Automatic Speech Recognition (ASR) technology to obtain video text, and then a summary extraction algorithm can be used to extract multiple first key sentences from the video text, and the multiple first key sentences are input into a pre-trained language model to obtain an overall summary output by the language model. The pre-trained language model can be a Wenxinyiyan model. Based on this, in the embodiment of the present disclosure, the pre-training of the speech model can include: training the language model through multiple key sentence sample groups and overall summary samples corresponding to each key sentence sample group.
[0157] The summary extraction algorithm may be a Maximum Marginal Relevance (MMR) algorithm or a Textrank algorithm.
[0158] Through the above steps, in the embodiment of the present disclosure, the target video can be converted to obtain a video text; multiple first key sentences can be extracted from the video text; the multiple first key sentences are input into the pre-trained language model to obtain the overall summary output by the language model. Since the language model has a strong language processing function, the output accuracy of the overall summary can be improved.
[0159] In some optional implementations, the video introduction further includes a plurality of segment summaries, and “generating relevant information of the target video” may include the following steps:
[0160] Segment the video text to obtain multiple segmented texts;
[0161] For each segmented text, if the length of the segmented text meets the model processing requirements, the segmented text is input into the language model to obtain the segmented summary output by the language model;
[0162] For each segmented text, when the text length of the segmented text does not meet the model processing requirements, multiple second key sentences extracted from the segmented text are input into the language model to obtain the segmented summary output by the language model.
[0163] The model processing requirement can be determined according to the actual processing capability of the language large model. For example, the model processing requirement can be that the text length is less than 100 characters. The embodiment of the present disclosure does not impose any specific restrictions on this. Based on the above steps, in the embodiment of the present disclosure, pre-training of the speech large model can include: training the language large model through multiple segmented text samples and segmented summary samples corresponding to each segmented text sample.
[0164] In addition, in the embodiment of the present disclosure, the server can also record the video timestamp corresponding to each segmented text, and after generating a segmented summary corresponding to the segmented text, use the video timestamp as the first video timestamp corresponding to the segmented summary and send it to the terminal device.
[0165] Through the above steps, in the embodiment of the present disclosure, the video text can be segmented to obtain multiple segmented texts; for each segmented text, when the text length of the segmented text meets the model processing requirements, the segmented text is input into the language model to obtain the segmented summary output by the language model; for each segmented text, when the text length of the segmented text does not meet the model processing requirements, multiple second key sentences extracted from the segmented text are input into the language model to obtain the segmented summary output by the language model. Since the language model has a strong language processing function, the output accuracy of the segmented summary can be improved.
[0166] In some optional implementations, the relevant information includes a video core point, and the video core point includes a plurality of core knowledge points, and “generating relevant information of the target video” may include the following steps:
[0167] Convert the target video to obtain video text;
[0168] Obtain multiple candidate knowledge points;
[0169] The video text is matched with multiple candidate knowledge points by keywords to determine multiple core knowledge points of the target video.
[0170] The plurality of candidate knowledge points may be knowledge point titles of various subjects collected manually in advance, and the collected knowledge point titles may be independent, for example, "page storage management".
[0171] In addition, in the disclosed embodiment, the server can also record, for each core knowledge point, the corresponding video position in the target video when the core knowledge point is matched in the video text, and then determine the second video timestamp corresponding to the core knowledge point based on the video position, and send it to the terminal device.
[0172] Through the above steps, in the embodiment of the present disclosure, the target video can be converted to obtain a video text; multiple candidate knowledge points are obtained; the video text is matched with the multiple candidate knowledge points by keywords to determine multiple core knowledge points of the target video, and the accuracy of the core knowledge points can be improved by keyword matching.
[0173] In some optional implementations, the relevant information may also include test information for core points of the video.
[0174] In a specific example, after obtaining the core points of the video, that is, obtaining multiple core knowledge points, the server can input the core knowledge point into a pre-trained language model for each core knowledge point, and obtain at least one test information for the core knowledge point output by the language model. Based on this, in the embodiment of the present disclosure, pre-training the speech model may include: training the language model through multiple core knowledge point samples and test information samples corresponding to each core knowledge point sample.
[0175] See also Fig.12 , which is a scene diagram of a video playback method provided in an embodiment of the present disclosure.
[0176] The first video playback method provided by the embodiment of the present disclosure is applied to a terminal device. The terminal device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital processing, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices.
[0177] The terminal device can be used to:
[0178] In response to a play operation on a target video, playing the target video in a first area of the display interface;
[0179] The second area in the display interface displays relevant information of the target video; wherein the relevant information includes at least one of a video introduction and a video core point.
[0180] Wherein, “displaying relevant information of the target video in the second area of the display interface” may include the following steps:
[0181] In response to a trigger operation on an information generation control, generating a related information request;
[0182] Sending the relevant information request to the server so that the server generates relevant information of the target video according to the relevant information request;
[0183] Receive relevant information sent by the server;
[0184] The related information is displayed in the second area.
[0185] The second video playback method provided by the embodiment of the present disclosure is applied to a server.
[0186] The server can be used to:
[0187] receiving requests for relevant information;
[0188] Determine the target video according to the relevant information request;
[0189] Generate relevant information of the target video; wherein the relevant information includes at least one of a video introduction and a video core point;
[0190] The relevant information is sent to the terminal device so that when the terminal device plays the target video in the first area in the display interface, the relevant information is displayed in the second area in the display interface.
[0191] It should be noted that in the embodiments of the present disclosure, Fig.12 The scene diagram shown is only illustrative and not restrictive. Those skilled in the art can Fig.12 Various obvious changes and / or substitutions are made to the examples, and the obtained technical solutions still fall within the scope of the disclosure of the embodiments of the present disclosure.
[0192] In order to better implement the first video playback method provided by the embodiment of the present disclosure, the embodiment of the present disclosure also provides a video playback device, which can be integrated in a terminal device. Fig.13 The structural schematic diagram shown is used to illustrate a video playback device 1300 provided in the disclosed embodiment.
[0193] The video playback device 1300 includes:
[0194] The video playing unit 1301 is used to play the target video in the first area of the display interface in response to the play operation on the target video;
[0195] The information display unit 1302 is used to display relevant information of the target video in the second area of the display interface; wherein the relevant information includes at least one of the video introduction and the video core point.
[0196] In some optional implementations, the display interface includes an introduction display control and a core point display control, and the information display unit 1302 is used to:
[0197] Display the video introduction or the video core points in the second area;
[0198] In a case where the video introduction is not displayed in the second area, in response to a trigger operation on the introduction display control, displaying the video introduction in the second area;
[0199] In the case where the video core point is not displayed in the second area, in response to a trigger operation on the core point display control, the video core point is displayed in the second area.
[0200] In some optional implementations, the video introduction includes an overall summary and multiple segment summaries, and the information display unit 1302 is used to:
[0201] The first partition in the second area displays an overall summary;
[0202] A second partition in the second area displays a plurality of segment summaries and a first video timestamp corresponding to each segment summary.
[0203] In some optional implementations, the video playback device 1300 may further include a first progress adjustment unit, configured to:
[0204] In response to a trigger operation for the first video timestamp, the play progress of the target video is adjusted to a video play node corresponding to the first video timestamp.
[0205] In some optional implementations, the video core point includes multiple core knowledge points, and the information display unit 1302 is used to:
[0206] A plurality of core knowledge points and a second video timestamp corresponding to each core knowledge point are displayed in the second area.
[0207] In some optional implementations, the video playback device 1300 may further include a second progress adjustment unit, configured to:
[0208] In response to the trigger operation for the second video timestamp, the play progress of the target video is adjusted to the video play node corresponding to the second video timestamp.
[0209] In some optional implementations, the display interface includes a marking control, and the video playback device may further include a content marking unit for:
[0210] In response to a trigger operation on the mark control, a summary of the marked content corresponding to the currently played content of the target video is displayed in the second area as a newly added core knowledge point.
[0211] In some optional implementations, the content marking unit is used to:
[0212] Generate a knowledge point summary request based on the current playback content of the target video;
[0213] Sending a knowledge point summary request to a server, so that the server generates a marked content summary corresponding to the current playing content of the target video according to the knowledge point summary request;
[0214] Receives a summary of the tag content sent by the server.
[0215] In some optional implementations, the video core points also include associated information corresponding to each core knowledge point, and the information display unit 1302 is used to:
[0216] The associated information corresponding to each core knowledge point is displayed in the second area; wherein the associated information includes at least one of a video screenshot and a related document.
[0217] In some optional implementations, the video playback device 1300 may further include a knowledge point editing unit, which is used to:
[0218] For each core knowledge point, in response to an editing operation on the core knowledge point, the associated information corresponding to the core knowledge point is edited.
[0219] In some optional implementations, the knowledge point editing unit is used for at least one of the following:
[0220] If the associated information includes video screenshots, add, modify or delete the video screenshots;
[0221] Where the associated information includes related documents, add, modify or delete the related documents;
[0222] Add knowledge point notes corresponding to the core knowledge points as newly added related information corresponding to the core knowledge points.
[0223] In some optional implementations, the relevant information further includes test information for the core points of the video, the display interface includes a test display control, and the information display unit 1302 is used to:
[0224] In a case where the quiz information is not displayed in the second area, in response to a trigger operation on the quiz display control, the quiz information is displayed in the second area.
[0225] In some optional implementations, the display interface includes an information generation control, and the information display unit 1302 is used to:
[0226] In response to a trigger operation on an information generation control, generating a related information request;
[0227] Sending the relevant information request to the server so that the server generates relevant information of the target video according to the relevant information request;
[0228] Receive relevant information sent by the server;
[0229] The related information is displayed in the second area.
[0230] For the description of the specific functions and examples of each unit of the video playback device 1300 of the embodiment of the present disclosure, reference can be made to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.
[0231] In order to better implement the second video playback method provided by the embodiment of the present disclosure, the embodiment of the present disclosure also provides a video playback device, which can be integrated in a terminal device. Fig.14The structural schematic diagram shown is used to illustrate a video playback device 1400 provided in the disclosed embodiment.
[0232] The video playback device 1400 includes:
[0233] A request receiving unit 1401 is used to receive a request for related information;
[0234] The video determination unit 1402 is used to determine the target video according to the relevant information request;
[0235] An information generating unit 1403 is used to generate relevant information of a target video; wherein the relevant information includes at least one of a video introduction and a video core point;
[0236] The information sending unit 1404 is used to send the relevant information to the terminal device, so that when the terminal device plays the target video in the first area of the display interface, the relevant information is displayed in the second area of the display interface.
[0237] In some optional implementations, the relevant information includes a video introduction, and the video introduction includes an overall summary, and the information generation unit 1403 is used to:
[0238] Convert the target video to obtain video text;
[0239] Extracting multiple first key sentences from the video text;
[0240] Multiple first key sentences are input into a pre-trained language model to obtain an overall summary of the language model output.
[0241] In some optional implementations, the video introduction further includes a plurality of segment summaries, and the information generation unit 1403 is used to:
[0242] Segment the video text to obtain multiple segmented texts;
[0243] For each segmented text, if the length of the segmented text meets the model processing requirements, the segmented text is input into the language model to obtain the segmented summary output by the language model;
[0244] For each segmented text, when the text length of the segmented text does not meet the model processing requirements, multiple second key sentences extracted from the segmented text are input into the language model to obtain the segmented summary output by the language model.
[0245] In some optional implementations, the relevant information includes a video core point, and the video core point includes a plurality of core knowledge points, and the information generating unit 1403 is used to:
[0246] Convert the target video to obtain video text;
[0247] Obtain multiple candidate knowledge points;
[0248] The video text is matched with multiple candidate knowledge points by keywords to determine multiple core knowledge points of the target video.
[0249] For the description of the specific functions and examples of each unit of the video playback device 1400 of the embodiment of the present disclosure, reference can be made to the relevant description of the corresponding steps in the above method embodiment, which will not be repeated here.
[0250] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0251] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0252] Fig.15 A schematic block diagram of an example electronic device 1500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0253] like Fig.15 As shown, the device 1500 includes a computing unit 1501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1502 or a computer program loaded from a storage unit 15015 into a random access memory (RAM) 1503. In RAM 1503, various programs and data required for the operation of the device 1500 can also be stored. The computing unit 1501, ROM 1502 and RAM 1503 are connected to each other via a bus 1504. An input / output (I / O) interface 1505 is also connected to the bus 1504.
[0254] A number of components in the device 1500 are connected to the I / O interface 1505, including: an input unit 1506, such as a keyboard, a mouse, etc.; an output unit 1507, such as various types of displays, speakers, etc.; a storage unit 1508, such as a disk, an optical disk, etc.; and a communication unit 1509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1509 allows the device 1500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0255] The computing unit 1501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSP), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1501 performs the various methods and processes described above, for example, a video playback method. For example, in some embodiments, the video playback method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 15015. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1500 via the ROM 1502 and / or the communication unit 1509. When the computer program is loaded into the RAM 1503 and executed by the computing unit 1501, one or more steps of the video playback method described above may be performed. Alternatively, in other embodiments, the computing unit 1501 may be configured to execute the video playback method in any other appropriate manner (eg, by means of firmware).
[0256] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0257] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data acquisition device, so that the program code, when executed by the processor or controller, causes the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0258] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM) or a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0259] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a cathode ray tube (CRT) display or a liquid crystal display (LCD)) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0260] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN), and the Internet.
[0261] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0262] The embodiment of the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute a video playback method.
[0263] The embodiment of the present disclosure also provides a computer program product, including a computer program, which implements a video playback method when executed by a processor.
[0264] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in the present disclosure can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and this document is not limited here. In addition, in the present disclosure, relational terms such as "first", "second", "third", etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. In addition, "multiple" in the present disclosure can be understood as at least two.
[0265] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A video playback method, comprising: In response to a play operation on a target video, playing the target video in a first area of a display interface; The second area in the display interface displays the relevant information of the target video; wherein the relevant information includes a video introduction and a video core point; the video core point includes a plurality of core knowledge points, and each of the plurality of core knowledge points has corresponding associated information; for each of the plurality of core knowledge points, the associated information corresponding to the core knowledge point includes a video screenshot corresponding to the core knowledge point in the target video, and a related document corresponding to the core knowledge point; The display interface includes a mark control, and the method further includes: in response to a trigger operation on the mark control, obtaining a mark content summary corresponding to the current playback content of the target video as a newly added core knowledge point, and displaying the newly added core knowledge point in the second area; The step of obtaining a summary of the marked content corresponding to the currently played content of the target video includes: Generate a knowledge point summary request according to the current playback content of the target video; The knowledge point summary request is sent to a server, so that after receiving the knowledge point summary request, the server converts the currently played content to obtain the currently played text; if the text length of the currently played text meets the model processing requirements, the currently played text is input into a language macro model to obtain a summary of the marked content output by the language macro model; or, if the text length of the currently played text does not meet the model processing requirements, a plurality of key sentences extracted from the currently played text are input into the language macro model to obtain a summary of the marked content output by the language macro model; Receive the tag content summary sent by the server.
2. The method according to claim 1, wherein: The display interface includes an introduction display control and a core point display control; the second area in the display interface displays relevant information of the target video, including: Displaying the video introduction or the video core points in the second area; In a case where the video introduction is not displayed in the second area, in response to a trigger operation on the introduction display control, displaying the video introduction in the second area; In a case where the video core point is not displayed in the second area, in response to a triggering operation on the core point display control, the video core point is displayed in the second area.
3. The method according to claim 2, wherein: The video introduction includes an overall summary and multiple segment summaries; and displaying the video introduction in the second area includes: displaying the overall summary in a first partition in the second area; The second partition in the second area displays the plurality of segment summaries and a first video timestamp corresponding to each of the segment summaries.
4. The method according to claim 3, further comprising: In response to a trigger operation on the first video timestamp, the playback progress of the target video is adjusted to a video playback node corresponding to the first video timestamp.
5. The method according to claim 2, wherein: The displaying the video core point in the second area includes: The plurality of core knowledge points and a second video timestamp corresponding to each of the core knowledge points are displayed in the second area.
6. The method according to claim 5, further comprising: In response to a trigger operation on the second video timestamp, the playback progress of the target video is adjusted to a video playback node corresponding to the second video timestamp.
7. The method according to claim 5, wherein: The displaying of the video core point in the second area further includes: The associated information corresponding to each of the core knowledge points is displayed in the second area.
8. The method according to claim 7, further comprising: For each of the core knowledge points, in response to an editing operation on the core knowledge point, the associated information corresponding to the core knowledge point is edited.
9. According to the method of claim 8, the editing of the associated information corresponding to the core knowledge point comprises at least one of the following: In the case where the associated information includes video screenshots, adding, modifying or deleting the video screenshots; In the case where the associated information includes related documents, adding, modifying or deleting the related documents; Add knowledge point notes corresponding to the core knowledge points as newly added related information corresponding to the core knowledge points.
10. The method according to claim 1, wherein: The relevant information further includes test information for the core point of the video, and the display interface includes a test display control; the second area in the display interface displays the relevant information of the target video, and further includes: In a case where the second area does not display the quiz information, in response to a trigger operation on the quiz display control, the quiz information is displayed in the second area.
11. The method according to any one of claims 1 to 10, wherein: The display interface includes an information generation control; the second area in the display interface displays the relevant information of the target video, including: In response to a trigger operation on the information generation control, generating a related information request; Sending the relevant information request to a server, so that the server generates relevant information of the target video according to the relevant information request; Receiving relevant information sent by the server; The related information is displayed in the second area.
12. A video playback method, comprising: receiving requests for relevant information; Determine a target video according to the relevant information request; Generate relevant information of the target video; wherein the relevant information includes a video introduction and a video core point; the video core point includes a plurality of core knowledge points, and each of the plurality of core knowledge points has corresponding associated information; for each of the plurality of core knowledge points, the associated information corresponding to the core knowledge point includes a video screenshot corresponding to the core knowledge point in the target video, and a related document corresponding to the core knowledge point; Sending the relevant information to a terminal device so that when the terminal device plays the target video in a first area in a display interface, the relevant information is displayed in a second area in the display interface; Receiving a knowledge point summary request generated by the terminal device according to the current playing content of the target video; After receiving the knowledge point summary request, convert the currently played content to obtain the currently played text; if the text length of the currently played text meets the model processing requirements, input the currently played text into the language model to obtain the summary of the marked content output by the language model; or, if the text length of the currently played text does not meet the model processing requirements, input multiple key sentences extracted from the currently played text into the language model to obtain the summary of the marked content output by the language model; The marked content summary corresponding to the current playing content of the target video is sent to the terminal device, so that the terminal device uses the marked content summary corresponding to the current playing content of the target video as a newly added core knowledge point and displays the newly added core knowledge point in the second area.
13. The method according to claim 12, wherein: The relevant information includes a video introduction, and the video introduction includes an overall summary; the relevant information for generating the target video includes: Converting the target video to obtain video text; Extracting a plurality of first key sentences from the video text; The multiple first key sentences are input into a pre-trained language model to obtain the overall summary output by the language model.
14. The method according to claim 13, wherein: The video introduction also includes a plurality of segment summaries; the generating of the relevant information of the target video also includes: Segmenting the video text to obtain multiple segmented texts; For each of the segmented texts, if the text length of the segmented text meets the model processing requirement, the segmented text is input into the language model to obtain a segmented summary output by the language model; For each of the segmented texts, when the text length of the segmented text does not meet the model processing requirements, multiple second key sentences extracted from the segmented text are input into the language model to obtain the segmented summary output by the language model.
15. The method according to claim 12, wherein: The relevant information includes the core points of the video; the relevant information for generating the target video includes: Converting the target video to obtain video text; Obtain multiple candidate knowledge points; The video text is matched with the multiple candidate knowledge points by keywords to determine multiple core knowledge points of the target video.
16. A video playback device, comprising: A video playing unit, configured to play the target video in a first area of the display interface in response to a play operation on the target video; An information display unit, configured to display relevant information of the target video in a second area of the display interface; wherein the relevant information includes a video introduction and a video core point; the video core point includes a plurality of core knowledge points, and each of the plurality of core knowledge points has corresponding associated information; for each of the plurality of core knowledge points, the associated information corresponding to the core knowledge point includes a video screenshot corresponding to the core knowledge point in the target video, and a related document corresponding to the core knowledge point; The display interface includes a mark control, and the device also includes a content marking unit, which is used to obtain a marked content summary corresponding to the current playback content of the target video as a newly added core knowledge point in response to a trigger operation on the mark control, and display the newly added core knowledge point in the second area; The step of obtaining a summary of the marked content corresponding to the currently played content of the target video includes: Generate a knowledge point summary request according to the current playback content of the target video; The knowledge point summary request is sent to a server, so that after receiving the knowledge point summary request, the server converts the currently played content to obtain the currently played text; if the text length of the currently played text meets the model processing requirements, the currently played text is input into a language macro model to obtain a summary of the marked content output by the language macro model; or, if the text length of the currently played text does not meet the model processing requirements, a plurality of key sentences extracted from the currently played text are input into the language macro model to obtain a summary of the marked content output by the language macro model; Receive the tag content summary sent by the server.
17. A video playback device, comprising: A request receiving unit, used for receiving a request for related information; A video determination unit, configured to determine a target video according to the related information request; An information generating unit, configured to generate relevant information of the target video; wherein the relevant information includes a video introduction and a video core point; the video core point includes a plurality of core knowledge points, and each of the plurality of core knowledge points has corresponding associated information; for each of the plurality of core knowledge points, the associated information corresponding to the core knowledge point includes a video screenshot corresponding to the core knowledge point in the target video, and a related document corresponding to the core knowledge point; An information sending unit, configured to send the relevant information to a terminal device, so that when the terminal device plays the target video in the first area of the display interface, the relevant information is displayed in the second area of the display interface; The device also includes other units for: Receiving a knowledge point summary request generated by the terminal device according to the current playing content of the target video; After receiving the knowledge point summary request, convert the currently played content to obtain the currently played text; if the text length of the currently played text meets the model processing requirements, input the currently played text into the language model to obtain the summary of the marked content output by the language model; or, if the text length of the currently played text does not meet the model processing requirements, input multiple key sentences extracted from the currently played text into the language model to obtain the summary of the marked content output by the language model; The marked content summary corresponding to the current playing content of the target video is sent to the terminal device, so that the terminal device uses the marked content summary corresponding to the current playing content of the target video as a newly added core knowledge point and displays the newly added core knowledge point in the second area.
18. An electronic device, comprising: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 15.
19. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 15.
20. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 15.
