Video watching tracking feedback method and system in network practical teaching platform
By configuring and running video playback checkpoints in the online training teaching platform, the problem of difficulty in accurately counting user viewing progress during video playback in the existing technology is solved, and accurate tracking and feedback on the students' video learning progress is achieved, and learning and teaching effects are improved.
Patent Information
- Application Number
- CN202411690652.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-07
AI Technical Summary
The prior art is difficult to accurately count the user's viewing progress when playing videos, especially when the user drags the progress bar, resulting in inaccurate statistical results.
By configuring and running video playback checkpoints in the online training teaching platform, dynamically set the viewing checkpoints of teaching videos, and update the video viewing progress through the back-end server. The combination of custom and evenly distributed checkpoints is adopted, and the accuracy of statistics is improved by combining user interaction functions.
It realizes accurate tracking of students' video viewing progress during the network security teaching process, improves learning and teaching effects, and improves user participation and viewing experience.
Smart Images

Figure CN119583899A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a solution for configuring teaching video checkpoints and accurately performing video viewing statistics on a network range training platform according to needs, and belongs to the technical field of network security. Background Art
[0002] With the continuous development of network range simulation technology, the demand for learning network range simulation technology is also growing. The network range training platform provides a simulated network environment, allowing users to perform various network security-related practical operations, including attack and defense drills, skill training, system testing, and new technology verification. In the actual network teaching process, video is an important part of teaching resources, and its viewing and learning situation plays an important role in the learning progress of statistics courses. At the same time, if some interactive questions and answers can be displayed during video playback, it will play a positive role in verifying the viewing situation and improving the learning effect.
[0003] Some common and simple methods for calculating video learning progress statistics are: obtaining the current playback position through the video player API, and then comparing it with the total video length to calculate the viewing progress. This method can provide accurate viewing progress information, but it will lead to inaccurate statistical results when the user drags the progress bar. Summary of the invention
[0004] Purpose of the invention: In view of the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a video viewing tracking feedback method and system in an online training teaching platform, which can accurately count the learning progress of teaching videos and improve learning and teaching effects.
[0005] Technical solution: To achieve the above-mentioned invention object, the present invention adopts the following technical solution:
[0006] A video viewing tracking feedback method in a network practical training teaching platform includes a video playback checkpoint configuration step and a video playback checkpoint operation step;
[0007] The steps of configuring the video playback checkpoint include:
[0008] Get video resources and initialize media information;
[0009] Get the custom checkpoint configured by the user and store it in the custom checkpoint array;
[0010] Get the number of evenly distributed checkpoints or time intervals configured by the user, automatically calculate a set of evenly distributed checkpoints based on the total length of the video, and store them in an evenly distributed checkpoint array;
[0011] Draw the checkpoints in the two arrays into the progress bar to preview the distribution of the checkpoints;
[0012] Report the configured checkpoint data to the backend server storage;
[0013] The operation steps of the video playback checkpoint include:
[0014] Get video resources and configured checkpoint data;
[0015] Monitor the real-time playback position of the video. If the current video playback position is in the checkpoint data, report the current checkpoint information to the backend server, and the backend server updates the video viewing progress. The video viewing progress is calculated by adding the time intervals between two consecutive viewed checkpoints, and then dividing by the total video length to get the viewing progress.
[0016] Preferably, the custom checkpoints include checkpoints configured by the user through time selector input and checkpoints configured by the user through interactive clicking of the video progress bar.
[0017] Preferably, when obtaining the custom checkpoint configured by the user, it is also obtained whether the user turns on video interaction at the checkpoint. If the user turns on video interaction, an interactive dialogue window will pop up during subsequent video playback.
[0018] Preferably, in the step of configuring the video playback checkpoints, if the user modifies the number or time interval of evenly distributed checkpoints, new evenly distributed checkpoints are recalculated and added to the evenly distributed checkpoint array, and the evenly distributed checkpoints previously added are deleted synchronously.
[0019] Preferably, in the step of configuring the video playback checkpoints, different types of checkpoints are distinguished by markings during preview display.
[0020] Preferably, in the running step of the video playback checkpoint, the checkpoint is not displayed on the progress bar when the video is playing.
[0021] A video viewing tracking feedback system in a network practical training teaching platform includes a video playback checkpoint configuration module, a video playback checkpoint operation module and a video viewing progress update module;
[0022] The configuration module of the video playback checkpoint is used to obtain video resources and initialize media information; obtain the custom checkpoints configured by the user and store them in the custom checkpoint array; obtain the number of evenly distributed checkpoints or time intervals configured by the user, automatically calculate a group of evenly distributed checkpoints according to the total length of the video, and store them in the evenly distributed checkpoint array; draw the checkpoints in the two arrays into the progress bar for previewing the distribution of the checkpoints; report the configured checkpoint data to the backend server for storage;
[0023] The operation module of the video playback checkpoint is used to obtain video resources and configured checkpoint data; monitor the real-time playback position of the video, and if the current video playback position is in the checkpoint data, report the current checkpoint information to the backend server;
[0024] The video viewing progress updating module is used for the backend server to update the video viewing progress; the video viewing progress is calculated by adding the time intervals between two consecutive viewed checkpoints and then dividing the time intervals by the total duration of the video to obtain the viewing progress.
[0025] Preferably, the configuration module of the video playback checkpoint, when obtaining the custom checkpoint configured by the user, also obtains whether the user turns on video interaction at the checkpoint. If the user turns on video interaction, the operation module of the video playback checkpoint will subsequently pop up an interactive dialogue window during video playback.
[0026] A computer system includes a memory, a processor, and a computer program / instruction stored in the memory and executable on the processor. When the computer program / instruction is executed by the processor, the steps of the video viewing tracking and feedback method in a network practical training teaching platform are implemented.
[0027] A computer program product includes a computer program / instruction, and when the computer program / instruction is executed by a processor, the steps of the video viewing tracking and feedback method in a network practical training teaching platform are implemented.
[0028] Beneficial effects: Compared with the prior art, the present invention has the following advantages: 1. By adopting the scheme of the present invention, it is possible to set multiple checkpoints for a single learning video as needed, and to set the checkpoints of the video through a variety of operation methods. The checkpoints further support the configuration of video interactive functions, support pausing playback and displaying interactive dialogue windows. In the process of network security teaching, it is possible to track the viewing progress of students and effectively improve the learning and teaching effects. 2. The present invention realizes the automatic tracking and feedback of the learning progress of teaching videos. By setting interactive checkpoints, it can improve the user's participation and viewing experience, and at the same time it can more accurately determine whether the user has actually watched the video content. 3. Through the checkpoints set by the present invention, it is possible to track the user's viewing behavior and collect data to optimize content and improve user participation. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is an overall flow chart of an embodiment of the present invention.
[0030] Figure 2 The figure is a flow chart of configuring a video playback checkpoint in an embodiment of the present invention.
[0031] Figure 3 The figure is a flow chart of the operation of the video playback checkpoint in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments.
[0033] The embodiment of the present invention discloses a video viewing tracking feedback method in a network training teaching platform, which can track the video learning progress of students and perform human-computer interaction during video playback by dynamically setting viewing checkpoints of teaching videos and interactive question-answering attributes of checkpoints. Figure 1 As shown, the method is mainly divided into two parts: configuration of video playback checkpoint and operation of video playback checkpoint.
[0034] The configuration process of the video playback checkpoint is as follows Figure 2 As shown, the specific steps include:
[0035] N1: The video player requests video resources through the network, obtains and initializes the recording of media information such as video duration.
[0036] N2: Initialize custom checkpoint array C, which is used to store custom configured checkpoint data. In this embodiment, there are two ways of custom configuration: hour, minute, and second selector input configuration and video progress bar interactive click configuration.
[0037] N3: The user selects a time point through the hour, minute, and second selector to add it to the checkpoint array C, and identifies the type as a custom checkpoint. The time selection range of the hour, minute, and second selector is 0 to the video duration. It is allowed to delete the added custom checkpoint, and the corresponding checkpoint data in array C will be deleted synchronously. At the same time, it is possible to configure whether to enable video interaction for each added checkpoint, which can be used to pop up an interactive dialogue window when the video is played later. In some embodiments, the interaction of the checkpoint can be configured or not as needed. If a checkpoint is configured to enable video interaction, the prompt content of the interactive dialogue window that pops up when the video is played can be customized.
[0038] N4: The user can directly click on the video progress bar to add a checkpoint. After clicking, a button "Add this point to custom checkpoints" will appear. After clicking the button, the point just clicked will be automatically added to array C.
[0039] N5: Initialize the evenly distributed checkpoint array E. Enter the interval time, and the program will automatically calculate a set of checkpoints by dividing the total video duration by the time interval and add them to the array E, and mark the type as evenly distributed checkpoints. If the time interval is modified, new checkpoints will be recalculated based on the latest interval and added to the array E, and the previously added evenly distributed checkpoints will be deleted synchronously.
[0040] N6: Traverse array C and array E to draw checkpoints in the video progress bar for previewing the distribution of checkpoints. Different types of checkpoints are distinguished by markings during preview. For example, when the checkpoint type is average distribution, the checkpoint is displayed as a blue dot in the progress bar; when the checkpoint type is custom checkpoint, the checkpoint is displayed as an orange dot in the progress bar. Draw the checkpoints one by one in the video progress bar.
[0041] N7: Report the configured checkpoint data to the server for storage, which is used for subsequent checkpoint data query.
[0042] The operation process of the video playback checkpoint is as follows Figure 3 As shown, the specific steps include:
[0043] M1: The video player requests video resources through the network and initializes the configured checkpoint data M from the server.
[0044] M2: Use HTML5 Video API to monitor the real-time playback position of the video and add a callback function to perform subsequent operations such as matching checkpoints in the callback function.
[0045] M3: If the current video playback position is in the checkpoint data M, the current checkpoint information is reported to the backend server, and the server updates the video playback progress (the progress will only increase and not decrease). If the checkpoint is configured with a video interactive function, the video playback needs to be paused and a dialog window pops up. The content displayed in the dialog window is the prompt information data configured by N3, waiting for the user's next operation. Among them, the backend logic for processing viewing progress updates is as follows: record all checkpoint arrays of the current video and initialize the initial state of each checkpoint to be marked as unwatched. When the page reports a checkpoint, update the status of the current checkpoint to watched. When calculating the viewing progress, take the time interval between two consecutive viewed checkpoints and add them up, then compare and calculate with the total length of the video to get the viewing progress.
[0046] M4: If the current video playback position does not match the checkpoint or the current video checkpoint has been processed, the video will continue to play until the video is fully played.
[0047] Based on the same inventive concept, the embodiment of the present invention discloses a video viewing tracking feedback system in a network practical training teaching platform, including a video playback checkpoint configuration module, a video playback checkpoint operation module, and a video viewing progress update module;
[0048] The configuration module of the video playback checkpoint is used to obtain video resources and initialize media information; obtain the custom checkpoints configured by the user and store them in the custom checkpoint array; obtain the number of evenly distributed checkpoints or time intervals configured by the user, automatically calculate a group of evenly distributed checkpoints according to the total length of the video, and store them in the evenly distributed checkpoint array; draw the checkpoints in the two arrays into the progress bar for previewing the distribution of the checkpoints; report the configured checkpoint data to the backend server for storage;
[0049] The operation module of the video playback checkpoint is used to obtain video resources and configured checkpoint data; monitor the real-time playback position of the video, and if the current video playback position is in the checkpoint data, report the current checkpoint information to the backend server;
[0050] The video viewing progress updating module is used for the backend server to update the video viewing progress; the video viewing progress is calculated by adding the time intervals between two consecutive viewed checkpoints and then dividing the time intervals by the total duration of the video to obtain the viewing progress.
[0051] In some embodiments, the configuration module of the video playback checkpoint, when obtaining the custom checkpoint configured by the user, also obtains whether the user turns on video interaction at the checkpoint. If the user turns on video interaction, the operation module of the video playback checkpoint will subsequently pop up an interactive dialogue window during video playback.
[0052] An embodiment of the present invention also discloses a computer system, including a memory, a processor, and a computer program / instruction stored in the memory and executable on the processor. When the computer program / instruction is executed by the processor, the steps of the video viewing tracking and feedback method in the network training teaching platform are implemented.
[0053] The embodiment of the present invention further discloses a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the video viewing tracking and feedback method in a network practical training teaching platform.
Claims
1. A video viewing tracking feedback method in an online training teaching platform, characterized in that: Including the configuration steps of the video playback checkpoint and the operation steps of the video playback checkpoint; The steps of configuring the video playback checkpoint include: Get video resources and initialize media information; Get the custom checkpoint configured by the user and store it in the custom checkpoint array; Get the number of evenly distributed checkpoints or time intervals configured by the user, automatically calculate a set of evenly distributed checkpoints based on the total length of the video, and store them in an evenly distributed checkpoint array; Draw the checkpoints in the two arrays into the progress bar to preview the distribution of the checkpoints; Report the configured checkpoint data to the backend server storage; The operation steps of the video playback checkpoint include: Get video resources and configured checkpoint data; Monitor the real-time playback position of the video. If the current video playback position is in the checkpoint data, report the current checkpoint information to the backend server, and the backend server updates the video viewing progress. The video viewing progress is calculated by adding the time intervals between two consecutive viewed checkpoints, and then dividing by the total video length to get the viewing progress.
2. A video viewing tracking feedback method in a network practical training teaching platform according to claim 1, characterized in that: The custom checkpoints include checkpoints configured by the user through time selector input, and checkpoints configured by the user through interactive clicks on the video progress bar.
3. A video viewing tracking feedback method in a network practical training teaching platform according to claim 1, characterized in that: When obtaining the custom checkpoint configured by the user, it is also obtained whether the user has turned on the video interaction at the checkpoint. If the user turns on the video interaction, an interactive dialogue window will pop up during the subsequent video playback.
4. A video viewing tracking feedback method in a network practical teaching platform according to claim 1, characterized in that: In the step of configuring the video playback checkpoints, if the user modifies the number or time interval of evenly distributed checkpoints, new evenly distributed checkpoints are recalculated and added to the evenly distributed checkpoint array, and the evenly distributed checkpoints previously added are deleted synchronously.
5. The method for tracking and providing feedback on video viewing in a network practical teaching platform according to claim 1, characterized in that: In the step of configuring the video playback checkpoints, different types of checkpoints are distinguished by markings during preview.
6. The method for tracking and providing feedback on video viewing in a network practical training teaching platform according to claim 1, characterized in that: In the operation steps of the video playback checkpoint, the checkpoint is not displayed on the progress bar when the video is playing.
7. A video viewing tracking feedback system in an online training teaching platform, characterized in that: It includes a configuration module for video playback checkpoints, an operation module for video playback checkpoints, and a video viewing progress update module; The configuration module of the video playback checkpoint is used to obtain video resources and initialize media information; obtain the custom checkpoints configured by the user and store them in the custom checkpoint array; obtain the number of evenly distributed checkpoints or time intervals configured by the user, automatically calculate a group of evenly distributed checkpoints according to the total length of the video, and store them in the evenly distributed checkpoint array; draw the checkpoints in the two arrays into the progress bar for previewing the distribution of the checkpoints; report the configured checkpoint data to the backend server for storage; The operation module of the video playback checkpoint is used to obtain video resources and configured checkpoint data; monitor the real-time playback position of the video, and if the current video playback position is in the checkpoint data, report the current checkpoint information to the backend server; The video viewing progress updating module is used for the backend server to update the video viewing progress; the video viewing progress is calculated by adding the time intervals between two consecutive viewed checkpoints and then dividing the time intervals by the total duration of the video to obtain the viewing progress.
8. A video viewing tracking and feedback system in an online training teaching platform according to claim 7, characterized in that: The configuration module of the video playback checkpoint obtains the custom checkpoint configured by the user and also obtains whether the user turns on video interaction at the checkpoint. If the user turns on video interaction, the operation module of the video playback checkpoint will subsequently pop up an interactive dialogue window during video playback.
9. A computer system comprising a memory, a processor, and a computer program / instruction stored in the memory and executable on the processor, characterized in that: When the computer program / instructions are executed by the processor, the steps of the video viewing tracking and feedback method in the network practical training teaching platform according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by the processor, the steps of the video viewing tracking and feedback method in the network practical training teaching platform according to any one of claims 1 to 6 are implemented.