CN118042232A - Knowledge point-based video playing method and device and electronic equipment - Google Patents

Knowledge point-based video playing method and device and electronic equipment Download PDF

Info

Publication number
CN118042232A
CN118042232A CN202410178031.XA CN202410178031A CN118042232A CN 118042232 A CN118042232 A CN 118042232A CN 202410178031 A CN202410178031 A CN 202410178031A CN 118042232 A CN118042232 A CN 118042232A
Authority
CN
China
Prior art keywords
knowledge point
video
data
knowledge
marking data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410178031.XA
Other languages
Chinese (zh)
Inventor
秦诗贤
王新华
左强
王贺冬
王林冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Century TAL Education Technology Co Ltd
Original Assignee
Beijing Century TAL Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Century TAL Education Technology Co Ltd filed Critical Beijing Century TAL Education Technology Co Ltd
Priority to CN202410178031.XA priority Critical patent/CN118042232A/en
Publication of CN118042232A publication Critical patent/CN118042232A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrically Operated Instructional Devices (AREA)

Abstract

The disclosure provides a knowledge point-based video playing method and device and electronic equipment. Responding to a first video playing request sent by a client, and acquiring teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point; the knowledge point marking data of each knowledge point comprise knowledge point starting and ending time, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating courseware page starting and ending time corresponding to at least one courseware page related to the knowledge point in the teaching video content; sending the teaching video and knowledge point marking data of each knowledge point to the client so that the client plays the teaching video, displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point, responding to a playing instruction of a user aiming at a first target knowledge point in the knowledge point list, and playing the teaching video based on the starting time and the ending time of the knowledge point corresponding to the first target knowledge point. By adopting the method and the device, the user can conveniently find the video clips of the knowledge points, and the user experience is improved.

Description

Knowledge point-based video playing method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for playing video based on knowledge points, and an electronic device.
Background
With the rapid development of modern information technology, live lectures bring great convenience to teachers and students. The existing live-broadcast teaching generally shows teaching courseware containing knowledge points to students through an online education client and explains the knowledge points in the teaching courseware. The online education client synchronously records the teaching video and stores the teaching video in the server so that students can review the teaching video and review knowledge points.
Because the existing teaching video is not associated with a knowledge point, when students want to review a certain knowledge point, the students need to drag the video progress bar repeatedly, and video clips corresponding to the knowledge point are searched in the teaching video, so that user experience is affected.
Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, an apparatus, and an electronic device for playing video based on knowledge points.
According to an aspect of the present disclosure, there is provided a video playing method based on knowledge points, the method being applied to a server, the method including:
Responding to a first video playing request sent by a client, and acquiring a first teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point contained in the first teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and stopping time corresponding to the knowledge point, and the knowledge point starting and stopping time corresponding to each knowledge point is obtained by aggregating courseware page starting and stopping time corresponding to at least one courseware page related to the knowledge point in the first teaching video content;
And sending the first teaching video and knowledge point marking data of each knowledge point to the client so that the client plays the first teaching video, displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point, responding to a play instruction of a user for a first target knowledge point in the knowledge point list, and playing the first teaching video based on the start time and the stop time of the knowledge point corresponding to the first target knowledge point.
According to another aspect of the present disclosure, there is provided a method for playing video based on knowledge points, the method being applied to a client, the method including:
Responding to a playing instruction of a user for a first teaching video, and sending a first video playing request to a server; the first video playing request is used for requesting the first teaching video and knowledge point marking data of each knowledge point contained in the first teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating the knowledge point starting and ending time corresponding to at least one courseware page in the first teaching video content;
receiving the first teaching video and knowledge point marking data of each knowledge point sent by the server, playing the first teaching video, and displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point;
And responding to a playing instruction of a user aiming at a first target knowledge point in the knowledge point list, and playing the first teaching video based on the starting time and the ending time of the knowledge point corresponding to the first target knowledge point.
According to another aspect of the present disclosure, there is provided a knowledge point-based video playing apparatus, the apparatus being applied to a server, the apparatus comprising:
the first acquisition module is used for responding to a first video playing request sent by a client and acquiring a teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point contained in the teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and stopping time corresponding to the knowledge point, and the knowledge point starting and stopping time corresponding to each knowledge point is obtained by aggregating courseware page starting and stopping time corresponding to at least one courseware page related to the knowledge point in the teaching video content;
the first sending module is used for sending the teaching video and knowledge point marking data of each knowledge point to the client so that the client plays the teaching video, displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point, responding to a playing instruction of a user for a first target knowledge point in the knowledge point list, and playing the teaching video based on the starting time of the knowledge point corresponding to the first target knowledge point.
According to an aspect of the present disclosure, there is provided a knowledge point-based video playing apparatus, which is applied to a client, the apparatus including:
The first sending module is used for responding to a playing instruction of a user for the teaching video and sending a first video playing request to the server; the first video playing request is used for requesting the teaching video and knowledge point marking data of each knowledge point contained in the teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating the knowledge point starting and ending time corresponding to at least one courseware page in the teaching video content;
The display module is used for receiving the teaching video and knowledge point marking data of each knowledge point sent by the server, playing the teaching video, and displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point;
The first playing module is used for responding to a playing instruction of a user aiming at a first target knowledge point in the knowledge point list and playing the teaching video based on the starting time and the ending time of the knowledge point corresponding to the first target knowledge point.
According to another aspect of the present disclosure, there is provided an electronic device including:
a processor; and
A memory in which a program is stored,
Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the knowledge point based video playback method.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the knowledge point based video playback method.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program, when executed by a processor, implements the knowledge point based video playback method.
In one or more technical solutions provided in the embodiments of the present disclosure, a client sends a first video playing request to a server in response to a playing instruction of a user for a lecture video. The server responds to a first video playing request sent by the client, and obtains and sends a teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point contained in the teaching video to the client. The knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating courseware page starting and ending time corresponding to at least one courseware page related to the knowledge point in the teaching video. Then, the client receives the teaching video and knowledge point marking data of each knowledge point sent by the server, plays the teaching video, and displays a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point. And then, the client responds to a click instruction of a user for a first target knowledge point in the knowledge point list, and plays the teaching video based on the starting and ending time of the knowledge point corresponding to the first target knowledge point. Therefore, students can review the video clips corresponding to the knowledge points by clicking a certain knowledge point in the knowledge point list without repeatedly dragging the video progress bar to search the video clips corresponding to the knowledge points, and user experience is greatly improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 illustrates a block diagram of a live lecture system according to an exemplary embodiment of the present disclosure;
FIG. 2 illustrates a flowchart of a knowledge point based video playback method, according to an exemplary embodiment of the present disclosure;
FIG. 3 illustrates a schematic diagram of a video playback interface in accordance with an exemplary embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of a test question interface according to an exemplary embodiment of the present disclosure;
FIG. 5 illustrates a flowchart of another knowledge point based video playback method in accordance with an exemplary embodiment of the present disclosure;
FIG. 6 illustrates a flowchart of a method of generating knowledge point tag data, in accordance with an exemplary embodiment of the disclosure;
FIG. 7 illustrates a schematic diagram of an example aggregation of knowledge point tag data, in accordance with an exemplary embodiment of the disclosure;
FIG. 8 illustrates a schematic diagram of another example of aggregation of knowledge point tag data, in accordance with an exemplary embodiment of the disclosure;
FIG. 9 illustrates a schematic diagram of another example of aggregation of knowledge point tag data, in accordance with an exemplary embodiment of the disclosure;
FIG. 10 illustrates a flowchart of an example of a method of generating knowledge point tag data, in accordance with an exemplary embodiment of the disclosure;
FIG. 11 illustrates a schematic block diagram of a knowledge point based video playback device in accordance with an exemplary embodiment of the disclosure;
FIG. 12 shows a schematic block diagram of a knowledge point based video playback device in accordance with an exemplary embodiment of the disclosure;
Fig. 13 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below. It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The video playing method based on the knowledge points, which is provided by the exemplary embodiment of the disclosure, can be applied to a live lecture system, and particularly can be applied to a client and a server in the live lecture system. Fig. 1 illustrates a block diagram of a live lecture system according to an exemplary embodiment of the present disclosure. As shown in fig. 1, the live lecture system includes a first client 110, a second client 120, and a server 130. The first client 110 may be a teacher client used by a teacher, the second client 120 may be a student client used by a student, and the server 130 stores teaching courseware, where a courseware page of the teaching courseware is associated with a knowledge point.
In the case of live teaching, a teacher may load teaching courseware from the server 130 through the first client 110 and explain knowledge points in a courseware page of the teaching courseware. Accordingly, the first client 110 may push the live lecture data stream to the server 130, and after the server 130 receives the live lecture data stream, the live lecture data stream may be further pushed to the second client 120. Thus, the student can watch the teacher's live lecture in real time through the second client 120.
In order to facilitate the review of students or the on-line self-learning of students who do not watch live lectures, the server 130 may also generate lecture videos after receiving the live lecture data stream. Meanwhile, in order to facilitate students to quickly find out video clips corresponding to a certain knowledge point in the teaching video. During the live lecture, the lecture data may be transmitted to the server 130 every time the first client 110 detects that the teacher switches courseware pages. The lesson data comprises courseware page start-stop time and associated knowledge points corresponding to the courseware pages before switching. After receiving the class data, the server 130 may generate knowledge point marking data corresponding to each knowledge point according to the class data. The knowledge point marking data corresponding to each knowledge point comprises knowledge point starting and ending time corresponding to the knowledge point. Subsequently, when the student returns the lecture video through the second client 120, the server 130 may transmit the lecture video and knowledge point marking data corresponding to each knowledge point to the second client 120. Accordingly, the second client 120 may display a knowledge point list including each knowledge point based on knowledge point tag data corresponding to each knowledge point. When a student needs to review a video clip corresponding to a certain knowledge point, the knowledge point can be clicked in the knowledge point list. The second client 120 may play the lecture video based on the start-stop time of the knowledge point corresponding to the knowledge point. Therefore, students can review the video clips corresponding to the knowledge points by clicking a certain knowledge point in the knowledge point list without repeatedly dragging the video progress bar to search the video clips corresponding to the knowledge points, and user experience is greatly improved.
Turning now to the detailed description in connection with specific exemplary embodiments, fig. 2 shows a flowchart of a method for video playback based on knowledge points according to an exemplary embodiment of the present disclosure, where the method is applied to a client, as shown in fig. 2, and the method mainly includes the following steps:
step 201, responding to a playing instruction of a user for a first teaching video, and sending a first video playing request to a server. The first video playing request is used for requesting the first teaching video and knowledge point marking data of each knowledge point contained in the first teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating the starting and ending time of the knowledge point corresponding to at least one courseware page in the first teaching video content.
In an implementation, when a student needs to review a first lecture video, the student may click on the first lecture video in a video list displayed by the student client. Correspondingly, the student client receives a playing instruction for the first teaching video and sends a first video playing request to the server. The first video playing request is used for requesting the first teaching video and knowledge point marking data of each knowledge point contained in the first teaching video, and the knowledge point marking data of each knowledge point comprises knowledge point starting time corresponding to the knowledge point. The knowledge point starting time is the offset of the video clip corresponding to the knowledge point in the knowledge point starting time and the offset of the knowledge point ending time of the whole teaching video. For example, the starting and ending time of a knowledge point corresponding to a certain knowledge point is 10s-120s. The start-stop time of the knowledge point corresponding to each knowledge point is obtained by the server according to the start-stop time of the courseware page corresponding to at least one courseware page related to the knowledge point in the first teaching video content. The processing procedure of generating the knowledge point marking data corresponding to each knowledge point by the server will be described in detail in the following of the exemplary embodiment of the present disclosure, and will not be described in detail here. Optionally, since the teacher may explain the knowledge point 1 first, then explain the knowledge point 2, and then explain the knowledge point 1 in the live lecture process, for the knowledge point 1, it corresponds to two knowledge point start-stop times, that is, knowledge point mark data of one knowledge point may include a plurality of knowledge point start-stop times corresponding to the knowledge point.
Step 202, receiving the first teaching video and the knowledge point marking data of each knowledge point sent by the server, playing the first teaching video, and displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point.
In implementation, after receiving the first teaching video and the knowledge point marking data of each knowledge point sent by the server, the student client may start playing the first teaching video from the beginning in the video playing area of the video playing interface, and display a knowledge point list including each knowledge point in the knowledge point marking area of the video playing interface based on the knowledge point marking data of each knowledge point. Optionally, in order to enhance user experience, in addition to the knowledge point identifier and the start time of the knowledge point corresponding to the knowledge point, the knowledge point mark data corresponding to each knowledge point may further include one or more of a knowledge point name, a star level, a thumbnail URL (Uniform Resource Locator, a uniform resource locator), a number of views, and a duration (a duration corresponding to the knowledge point=a knowledge point start time-a knowledge point end time corresponding to the knowledge point). Therefore, when the student client displays the knowledge point list containing all knowledge points, the knowledge point name, star level, thumbnail (obtained from a local or server based on the thumbnail URL), the watching times and the duration corresponding to each knowledge point can be displayed in the knowledge point list, so that the student can select according to the situation of the student client.
Step 203, in response to a play instruction of the user for the first target knowledge point in the knowledge point list, playing the first teaching video based on the start time and the stop time of the knowledge point corresponding to the first target knowledge point.
In implementation, when the student needs to review the video clip corresponding to a certain knowledge point (i.e., the first target knowledge point), the first target knowledge point may be clicked in the knowledge point list of the student client. Correspondingly, the student client can receive a playing instruction of the first target knowledge point, start playing the first teaching video from the start time of the knowledge point corresponding to the first target knowledge point, and stop playing the first teaching video after the first teaching video is played to the end time corresponding to the first target knowledge point. Fig. 3 shows a schematic diagram of a video playback interface according to an exemplary embodiment of the present disclosure, as shown in fig. 3, where a student clicks "definition of quadratic function" knowledge points in a knowledge points list of the video playback interface. Correspondingly, the student client plays the video clip corresponding to the 'definition of quadratic function' knowledge point. Therefore, students can review the video clips corresponding to the knowledge points by clicking a certain knowledge point in the knowledge point list without repeatedly dragging the video progress bar to search the video clips corresponding to the knowledge points, and user experience is greatly improved. Meanwhile, the server does not need to clip the whole teaching video according to knowledge points, so that resources consumed in the video clipping process of the server are greatly saved.
As an alternative embodiment, in order for the server to generate knowledge point marking data corresponding to each knowledge point, the client further performs the following steps: in the first teaching video generation, class data is transmitted to a server every time a courseware page switch of a teaching courseware is detected. The class data comprise courseware page start-stop time and associated knowledge points corresponding to courseware pages, and the courseware pages are courseware pages before switching.
In implementation, in order to facilitate students to quickly find a video clip corresponding to a certain knowledge point in a teaching video, a server needs to generate knowledge point marking data corresponding to each knowledge point. Correspondingly, in the first teaching video generation, when the teacher client detects that the courseware pages of the teaching courseware are switched, the teaching data can be sent to the server. The class data comprise courseware page start-stop time and associated knowledge points corresponding to the courseware pages before switching. And the start-stop time of the courseware page is the offset of the start time and the offset of the end time of the courseware page in the live teaching process. Optionally, in order to improve user experience, the class data may include at least one or more of a courseware page number, a courseware page thumbnail URL, and course session information corresponding to a courseware page before switching, in addition to a courseware page identifier, a courseware page start-stop time, and an associated knowledge point corresponding to the courseware page before switching. The processing procedure of generating the knowledge point marking data corresponding to each knowledge point by the server will be described in detail in the following of the exemplary embodiment of the present disclosure, and will not be described in detail here.
As an alternative implementation, the teacher client does not need to send lesson data to the server when the teacher switches courseware pages quickly. Therefore, the teacher client may further perform the following steps before transmitting the lesson-going data to the server:
Step one, according to the start-stop time of the courseware pages, determining the corresponding display duration of the courseware pages.
In implementation, when the teacher client detects courseware page switching of the teaching courseware, the display duration corresponding to the courseware page can be determined according to the start and stop time of the courseware page. Specifically, the teacher client may subtract the start time of the courseware page according to the end time of the courseware page to obtain the display duration corresponding to the courseware page. Then, the teacher client can judge whether the display duration is greater than a preset display duration threshold. And if the display time length is greater than the preset display time length threshold value, executing the second step. If the display duration is not greater than the preset display duration threshold, the teacher is indicated to rapidly switch the courseware pages, and the knowledge points in the courseware pages are not explained. Accordingly, the teacher client does not need to send lesson-going data to the server.
And step two, if the display time length is greater than a preset display time length threshold value, executing the step of sending the class data to the server.
In implementation, if the display time length is greater than the preset display time length threshold, the teacher is explained about the knowledge points in the courseware page, and the courseware page is not switched rapidly. Accordingly, the teacher client may send lesson-going data to the server.
As an optional implementation mode, in order to facilitate students to review knowledge points corresponding to the test questions after completing the test questions. The client may also perform the following steps:
step one, responding to a knowledge point explanation instruction of a user aiming at a target test question, and acquiring a second target knowledge point associated with the target test question.
In the implementation, in order to facilitate students to review knowledge points corresponding to the test questions conveniently after completing the test questions. The technician can bind the test questions and the knowledge points in advance and store the test questions and the knowledge points in the server. After a student completes a test question (namely a target test question) in a test question interface of a student client, a knowledge point explanation button can be clicked in the test question interface. Correspondingly, the student client can receive a knowledge point explanation instruction aiming at the target test question and acquire a second target knowledge point associated with the target test question.
And step two, sending a second video playing request carrying a second target knowledge point to the server. The second video playing request is used for requesting the server to feed back a second teaching video and knowledge point marking data of a second target knowledge point contained in the second teaching video, wherein the second teaching video is the teaching video containing the second target knowledge point in the video content.
In implementation, after the client acquires the second target knowledge point associated with the target test question, a second video playing request carrying the second target knowledge point may be sent to the server. The second video playing request is used for requesting the server to feed back a second teaching video and knowledge point marking data of a second target knowledge point contained in the second teaching video, wherein the second teaching video is the teaching video containing the second target knowledge point in the video content. Optionally, there may be multiple second teaching videos including the second target knowledge point (for example, multiple teachers each explain the second target knowledge point in different live lectures, so that the teaching videos generated in different live lectures each include the second target knowledge point, and knowledge point marking data of the second target knowledge point in the teaching videos generated in different live lectures are also different). Therefore, the second video playing request is used for requesting the server to feed back all the second teaching videos, or may request the server to feed back the second teaching videos in the last period of time, which is not limited in the embodiment of the present application.
And thirdly, receiving second teaching videos sent by the server and knowledge point marking data of second target knowledge points contained in the second teaching videos, and playing the second teaching videos for each second teaching video based on the starting and ending time of the knowledge points corresponding to the second target knowledge points contained in the second teaching videos.
In an implementation, the student client receives the second teaching video and knowledge point marking data of a second target knowledge point contained in the second teaching video sent by the server. The knowledge point marking data of the second target knowledge point comprises knowledge point starting and ending time corresponding to the second target knowledge point. Then, the student client may play each second teaching video in a preset playing order (for example, according to the generation time of the second teaching video, the play amount of the second teaching video, etc.) in the test question interface. Because the knowledge point marking data of the second target knowledge points in the different teaching videos are different, the student client can start playing the second teaching video from the knowledge point starting time of the second target knowledge point contained in the second teaching video in the test question interface for each second teaching video, and stop playing the second teaching video after playing the second teaching video to the end time corresponding to the second target knowledge point contained in the second teaching video. The student client can play the second teaching video based on the starting and ending time of the knowledge point corresponding to the second target knowledge point contained in the second teaching video in a small video window mode. Fig. 4 is a schematic diagram of a test question interface according to an exemplary embodiment of the present disclosure, and as shown in fig. 4, after a student exercises a test question related to "definition of a quadratic function" knowledge point, the student may review a video clip corresponding to the "definition of a quadratic function" knowledge point through a student client. Therefore, students can review the video clips corresponding to the knowledge points associated with the examination questions in time while doing the questions, and learning efficiency is greatly improved.
Fig. 5 shows a flowchart of another knowledge point-based video playing method according to an exemplary embodiment of the present disclosure, which is applied to a server, as shown in fig. 5, and mainly includes the steps of:
Step 501, in response to a first video playing request sent by a client, acquiring a first teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point included in the first teaching video. The knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating the knowledge point starting and ending time corresponding to at least one courseware page in the first teaching video content.
In an implementation, when a student needs to review a first lecture video, the student may click on the first lecture video in a video list displayed by the student client. Correspondingly, the student client receives a playing instruction for the first teaching video and sends a first video playing request to the server. The server responds to a first video playing request sent by the client, and obtains a first teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point contained in the first teaching video from a database. The knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, wherein the knowledge point starting and ending time is the offset of the knowledge point starting time and the offset of the knowledge point ending time of the video clip corresponding to the knowledge point in the whole first teaching video content. The start-stop time of the knowledge point corresponding to each knowledge point is obtained by aggregating the start-stop time of the courseware page corresponding to at least one courseware page related to the knowledge point in the first teaching video. Optionally, since the teacher may explain the knowledge point 1 first, then explain the knowledge point 2, and then explain the knowledge point 1 in the live lecture process, for the knowledge point 1, it corresponds to two knowledge point start-stop times, that is, knowledge point mark data of one knowledge point may include a plurality of knowledge point start-stop times corresponding to the knowledge point.
Step 502, sending a first teaching video and knowledge point marking data of each knowledge point to a client, so that the client plays the first teaching video, displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point, responding to a playing instruction of a user for a first target knowledge point in the knowledge point list, and playing the first teaching video based on the starting time of the knowledge point corresponding to the first target knowledge point.
In implementation, after the server obtains the first teaching video and the knowledge point marking data of each knowledge point, the server may send the first teaching video and the knowledge point marking data of each knowledge point to the client. After receiving the first teaching video and the knowledge point marking data of each knowledge point sent by the server, the student client can start playing the first teaching video from the beginning in the video playing area of the video playing interface, and display a knowledge point list containing each knowledge point in the knowledge point marking area of the video playing interface based on the knowledge point marking data of each knowledge point. When the student needs to review the video clip corresponding to a certain knowledge point (namely, the first target knowledge point), the first target knowledge point can be clicked in the knowledge point list of the student client. Correspondingly, the student client can receive a playing instruction of the first target knowledge point, start playing the first teaching video from the start time of the knowledge point corresponding to the first target knowledge point, and stop playing the first teaching video when the first teaching video is played to the end time corresponding to the first target knowledge point. Therefore, students can review the video clips corresponding to the knowledge points by clicking a certain knowledge point in the knowledge point list without repeatedly dragging the video progress bar to search the video clips corresponding to the knowledge points, and user experience is greatly improved. Meanwhile, the server does not need to clip the whole teaching video according to knowledge points, so that resources consumed in the video clipping process of the server are greatly saved.
As an alternative implementation manner, fig. 6 shows a flowchart of a method for generating knowledge point marking data according to an exemplary embodiment of the present disclosure, and as shown in fig. 6, the method mainly includes the following steps:
In step 601, in the first lecture video generation, lecture line data sent by a client is received. The class data are sent by the client when the client detects that the courseware pages of the teaching courseware are switched, and the class data comprise the starting and ending time of the courseware pages corresponding to the courseware pages and associated knowledge points, wherein the courseware pages are the courseware pages before the switching.
In implementation, in order to facilitate students to quickly find a video clip corresponding to a certain knowledge point in a teaching video, a server needs to generate knowledge point marking data corresponding to each knowledge point. Therefore, in the live teaching process, the teaching data can be sent to the server when the teacher client detects that the courseware pages of the teaching courseware are switched. Correspondingly, in the live lecture process, the server can receive the lecture line data sent by the client. The class data comprise courseware page start-stop time and associated knowledge points corresponding to the courseware pages before switching. And the start-stop time of the courseware page is the offset of the start time and the offset of the end time of the courseware page in the live teaching process.
Step 602, based on the lesson-on-line data, generating knowledge point marking data corresponding to each knowledge point contained in the first lesson-giving video until the lesson-giving is finished.
In the implementation, after receiving the line class data sent by the client, the server may generate knowledge point marking data corresponding to each knowledge point included in the first teaching video based on the line class data until the teaching is finished.
As an alternative embodiment, a tag data storage table and a tag data cache table are provided in the server. The tag data storage table is used for storing knowledge point tag data of each knowledge point finally generated by the server, and the tag data cache table is used for temporarily storing knowledge point tag data of the current knowledge point which is generated by the server and possibly needs to be aggregated. Knowledge point tag data for a plurality of knowledge points may be stored in the tag data storage table, while knowledge point tag data for only one currently aggregated knowledge point is stored in the tag data cache table. In order to reduce the load of the server, the tag data storage table may be set in MySQL (a relational database) database, and the tag data cache table may be set in Redis (a high-performance database) database, although the tag data storage table and the tag data cache table may be both set in MySQL database. In addition, when the teacher explains the knowledge points, the courseware pages are not necessarily switched from small to large, so that page numbers corresponding to the courseware pages in the line class data reported by the teacher client are not necessarily in the order from small to large.
The server generates knowledge point marking data corresponding to each knowledge point contained in the first teaching video based on the line class data according to whether each courseware page in the teaching courseware is associated with the knowledge points, and the knowledge point marking data are different in specific cases and are divided into 3 different cases, which are specifically as follows.
In case one, as shown in fig. 7, knowledge points (i.e., class data 1-8 in fig. 7) are associated with each courseware page of the teaching courseware. Correspondingly, the processing procedure of the server for generating knowledge point marking data corresponding to each knowledge point contained in the first teaching video based on the line class data is as follows:
step one, judging whether first knowledge point marking data corresponding to a first knowledge point exists in a marking data cache table, wherein the first knowledge point is a knowledge point contained in line class data.
In implementation, after receiving the class line data sent by the teacher client, the server may first determine whether first knowledge point marking data corresponding to the first knowledge point exists in the marking data cache table. The first knowledge points are knowledge points contained in the class data.
And step two, if the first knowledge point marking data does not exist, based on the starting and ending time of courseware pages contained in the line class data, newly adding the first knowledge point marking data in the marking data storage table, and overwriting the first knowledge point marking data in the marking data cache table.
In practice, if there is no first knowledge point marker data, there are two possible scenarios. The first possibility is that the received line class data is the first line class data, and the knowledge point marking data corresponding to any knowledge point does not exist in the marking data cache table. For example, the line class data 1 in fig. 7 contains the knowledge point a, and the tag data cache table is empty. Another possibility is that the first knowledge point is a new knowledge point. For example, the line class data 5 in fig. 7 includes the knowledge point B, and the tag data cache table is the knowledge point a. At this time, the server first adds the first knowledge point mark data to the mark data storage table, generates a primary key of the first knowledge point mark data, and overwrites the first knowledge point mark data and the primary key into the mark data cache table.
In the mark data storage table, the knowledge point starting time in the newly added first knowledge point mark data=courseware page starting time in the line class data. Knowledge point end time in the newly added first knowledge point tag data = courseware page end time in the line lesson data. Courseware start page number in the newly added first knowledge point mark data=courseware page number in the line class data. Courseware end page number in the newly added first knowledge point flag data=courseware page number in the line class data.
Step three, if the first knowledge point marking data exist, aggregating the start and stop time of courseware pages contained in the line class data and the start and stop time of knowledge points in the first knowledge point marking data in a marking data cache table to obtain aggregated first knowledge point marking data, and updating the first knowledge point marking data in a marking data storage table based on the aggregated first knowledge point marking data.
In an implementation, if the first knowledge point marking data exists, the current aggregated knowledge point is exactly the first knowledge point in the marking data cache table. For example, line lesson data 2-4 or line lesson data 6-8 in fig. 7. At this time, the server aggregates the start and stop time of courseware pages contained in the line class data and the start and stop time of knowledge points in the first knowledge point label data in the label data cache table, and obtains aggregated first knowledge point label data. Then, the server updates the first knowledge point marking data in the marking data storage table based on the primary key corresponding to the aggregated first knowledge point marking data.
In the tag data storage table, knowledge point starting time in the aggregated first knowledge point tag data=knowledge point starting time in the first knowledge point tag data before aggregation. Knowledge point end time in aggregated first knowledge point markup data = courseware page end time in line lesson data. Courseware start page number=min in the aggregated first knowledge point flag data (courseware start page number in the first knowledge point flag data before aggregation, courseware page number in the line class data). Courseware end page number=max in the aggregated first knowledge point flag data (courseware end page number in the first knowledge point flag data before aggregation, courseware page number in the line class data).
In the second case, as shown in fig. 8, the teaching courseware includes one or more of a special courseware page, such as a courseware page introduced by the teacher (i.e., P1 in the line class data 1 in fig. 8), a courseware page of the knowledge point test question (i.e., P5 in the line class data 5 in fig. 8), and a courseware page ending (i.e., P8 in the line class data 8 in fig. 8), and the present disclosure exemplary embodiment is described by taking the teaching courseware including all special courseware pages as examples, and the other cases are similar and are not repeated herein.
Correspondingly, the server also executes the following steps before the first step of the first case:
step one, judging whether the class data contains knowledge points.
In implementation, after receiving the class data, the server may first determine whether the class data includes knowledge points.
And step two, if the line class data contains knowledge points, executing the step of judging whether the knowledge point marking data of the first knowledge points exist in the marking data cache table.
In implementation, if the class data includes knowledge points, it is indicated that the class page corresponding to the class data is not the special class page. For example, line lesson data 2-4 or line lesson data 6-7 in fig. 8. At this time, the server only needs to execute according to the steps one to three in the above case one.
And thirdly, discarding the line class data if the line class data does not contain knowledge points.
In the implementation, if the line class data does not contain knowledge points, the courseware page corresponding to the line class data is indicated to be a special courseware page. For example, line class data 1, line class data 5, and line class data 8 in fig. 8. At this time, the server only needs to discard the class data directly, and knowledge point marking data of the knowledge point A and the knowledge point B are not affected.
In the third case, as shown in fig. 9, some courseware pages in the teaching courseware forget to associate knowledge points for human reasons or other reasons (i.e., the knowledge point actually associated by P3 in the row class data 3 in fig. 9 is the knowledge point a, but forget to associate the knowledge point a, so that the row class data 3 does not include knowledge points), in order to prevent the server from discarding the row class data as row class data corresponding to the special courseware page in the second case (i.e., row class data 1, row class data 5 and row class data 8 in fig. 9), before the third step of the second case, the server further performs the following steps:
step one, judging whether second knowledge point mark data corresponding to a second knowledge point exists in a mark data cache table; wherein the second knowledge point is an arbitrary knowledge point.
In an implementation, if the class data received by the server does not include a knowledge point, the server may further determine whether second knowledge point marking data corresponding to the second knowledge point exists in the marking data cache table. Wherein the second knowledge point is an arbitrary knowledge point. The step of the above judgment is that the server judges whether the tag data cache table is empty.
And step two, if the second knowledge point marking data exists in the marking data cache table, aggregating the starting and ending time of the courseware page contained in the line class data and the starting and ending time of the knowledge point in the second knowledge point marking data in the marking data cache table to obtain aggregated second knowledge point marking data.
In implementation, if the second knowledge point marking data exists in the marking data cache table, it is stated that the line class data received by the server may be the line class data corresponding to the courseware page where the knowledge point is forgotten to be associated (i.e., line class data 3 in fig. 9), but it cannot be determined that the line class data corresponding to the courseware page where the knowledge point is forgotten to be associated (i.e., line class data 3 in fig. 9). Because the line class data (i.e., line class data 5 and line class data 8 in fig. 9) corresponding to the special courseware page also satisfies the judgment condition. But in order to ensure that the class data corresponding to the class page (i.e., the class data 3 in fig. 9) which forgets to associate the knowledge point can normally participate in generating the knowledge point marking data of the knowledge point a, the class data corresponding to the special class page (i.e., the class data 5 and the class data 8 in fig. 9) does not affect the knowledge point marking data of the knowledge point a and the knowledge point B. At this time, the server aggregates the start and stop time of the courseware page contained in the line class data and the start and stop time of the knowledge point in the second knowledge point label data in the label data cache table, and obtains the aggregated second knowledge point label data.
The above processing procedure is similar to the processing procedure of the third step in the first case, and will not be described here again. But in the third step, the server does not update the first knowledge point mark data in the mark data storage table based on the primary key corresponding to the aggregated second knowledge point mark data. In this way, the possibility that the line class data (i.e., the line class data 5 and the line class data 8 in fig. 9) corresponding to the special courseware page affects the knowledge point mark data of the knowledge point a and the knowledge point B is eliminated. However, for the class data corresponding to the class page (i.e., the class data 3 in fig. 9) which forgets to associate the knowledge point, the aggregated first knowledge point marking data further aggregates with the class data corresponding to the class page (i.e., the class data 4 in fig. 9) which normally associates the knowledge point, and updates the first knowledge point marking data in the marking data storage table, so that it is ensured that the class data corresponding to the class page (i.e., the class data 3 in fig. 9) which forgets to associate the knowledge point can normally participate in generating the knowledge point marking data of the knowledge point a.
And step three, if the second knowledge point marking data does not exist in the marking data cache table, the step of discarding the line class data is executed.
In implementation, if the second knowledge point marking data does not exist in the marking data cache table, it is stated that the class data received by the server is a class page that the teacher self-introduces (i.e., the class data 1 in fig. 9), and is not the class data corresponding to the class page that forgets to associate the knowledge point (i.e., the class data 3 in fig. 9). At this time, the server may discard the course data directly, and the knowledge point marking data of the knowledge point a may not be generated.
Fig. 10 is a flowchart illustrating an example of a method for generating knowledge point tag data according to an exemplary embodiment of the present disclosure, and as shown in fig. 10, the specific processing procedure is as follows:
In step 1001, it is determined whether the class data includes knowledge points. If so, step 1002 is performed. Otherwise, step 1005 is performed.
Step 1002, determining whether first knowledge point marking data corresponding to a first knowledge point exists in the marking data cache table, where the first knowledge point is a knowledge point included in the class data. If not, step 1003 is performed. Otherwise, step 1004 is performed.
Step 1003, based on the start-stop time of the courseware page contained in the line class data, newly adding first knowledge point marking data in the marking data storage table, and overwriting the first knowledge point marking data in the marking data cache table.
Step 1004, aggregating the start and stop time of the courseware page contained in the line class data and the start and stop time of the knowledge point in the first knowledge point label data in the label data cache table to obtain aggregated first knowledge point label data, and updating the first knowledge point label data in the label data storage table based on the aggregated first knowledge point label data.
Step 1005, judging whether second knowledge point mark data corresponding to a second knowledge point exists in the mark data cache table; wherein the second knowledge point is an arbitrary knowledge point. If so, step 1006 is performed. Otherwise, step 1007 is performed.
In step 1006, in the tag data cache table, the start and stop time of the courseware page included in the line class data and the start and stop time of the knowledge point in the second knowledge point tag data are aggregated, so as to obtain the aggregated second knowledge point tag data.
Step 1007, discarding the line class data.
As an optional implementation mode, in order to facilitate students to review knowledge points corresponding to the test questions after completing the test questions. The server may also perform the steps of:
Step one, receiving a second video playing request carrying a second target knowledge point sent by a client, and acquiring a second teaching video and knowledge point marking data of the second target knowledge point contained in the second teaching video. The second teaching video is a teaching video containing a second target knowledge point in the video content.
In the implementation, in order to facilitate students to review knowledge points corresponding to the test questions conveniently after completing the test questions. The technician can bind the test questions and the knowledge points in advance and store the test questions and the knowledge points in the server. After a student completes a test question (namely a target test question) in a test question interface of a student client, a knowledge point explanation button can be clicked in the test question interface. Correspondingly, the student client can receive a knowledge point explanation instruction aiming at the target test question and acquire a second target knowledge point associated with the target test question. The student client may then send a second video play request to the server carrying a second target knowledge point. The server receives a second video playing request carrying a second target knowledge point sent by the client, and further obtains knowledge point marking data of the second target knowledge point contained in the second teaching video and the second teaching video in a pre-stored storage table of the knowledge point, the teaching video and the knowledge point marking data. The knowledge point marking data of the second target knowledge point comprises knowledge point starting and ending time corresponding to the second target knowledge point. The second teaching video is a teaching video containing a second target knowledge point in the video content. Optionally, there may be multiple second teaching videos including the second target knowledge point (for example, multiple teachers each explain the second target knowledge point in different live lectures, so that the teaching videos generated in different live lectures each include the second target knowledge point, and knowledge point marking data of the second target knowledge point in the teaching videos generated in different live lectures are also different). Therefore, the second video playing request is used for requesting the server to feed back all the second teaching videos, or may request the server to feed back the second teaching videos in the last period of time, which is not limited in the embodiment of the present application.
Step two, sending a second teaching video and knowledge point marking data of a second target knowledge point contained in the second teaching video to the client so that the client responds to a knowledge point explanation instruction of a user aiming at the target test question, and playing the second teaching video for each second teaching video based on the starting time and the ending time of the knowledge point corresponding to the second target knowledge point contained in the second teaching video. The second target knowledge point is a knowledge point associated with the target test question.
In the implementation, after the server obtains the second teaching video and the knowledge point marking data of the second target knowledge point included in the second teaching video, the server may send the second teaching video and the knowledge point marking data of the second target knowledge point included in the second teaching video to the client. The student client may play each second teaching video in a preset playing order (for example, according to a generation time of the second teaching video, a play amount of the second teaching video, etc.) in the test question interface. Because the knowledge point marking data of the second target knowledge points in the different teaching videos are different, the student client can start playing the second teaching video from the knowledge point starting time of the second target knowledge point contained in the second teaching video in the test question interface for each second teaching video, and stop playing the second teaching video after playing the second teaching video to the end time corresponding to the second target knowledge point contained in the second teaching video. Therefore, students can review the video clips corresponding to the knowledge points associated with the examination questions in time while doing the questions, and learning efficiency is greatly improved.
According to the technical scheme provided by the embodiment of the disclosure, the client side responds to the playing instruction of the user for the teaching video and sends a first video playing request to the server. The server responds to a first video playing request sent by the client, and obtains and sends a teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point contained in the teaching video to the client. The knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating courseware page starting and ending time corresponding to at least one courseware page related to the knowledge point in the teaching video. Then, the client receives the teaching video and knowledge point marking data of each knowledge point sent by the server, plays the teaching video, and displays a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point. And then, the client responds to a click instruction of a user for a first target knowledge point in the knowledge point list, and plays the teaching video based on the starting and ending time of the knowledge point corresponding to the first target knowledge point. Therefore, students can review the video clips corresponding to the knowledge points by clicking a certain knowledge point in the knowledge point list without repeatedly dragging the video progress bar to search the video clips corresponding to the knowledge points, and user experience is greatly improved.
Corresponding to the foregoing method for playing video at a knowledge point, the embodiments of the present disclosure further provide a video playing device based on a knowledge point, and fig. 11 shows a schematic block diagram of a video playing device based on a knowledge point according to an exemplary embodiment of the present disclosure, where the device may be implemented by software and/or hardware, and may be generally integrated in an electronic device. The apparatus is applied to a server, as shown in fig. 11, the knowledge point based video playing apparatus 1100 includes:
The first obtaining module 1110 is configured to obtain, in response to a first video playing request sent by the client, a first lecture video corresponding to the first video playing request and knowledge point marking data of each knowledge point included in the first lecture video; the knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating the knowledge point starting and ending time corresponding to at least one courseware page in the first teaching video content;
The first sending module 1120 is configured to send a first teaching video and knowledge point marking data of each knowledge point to the client, so that the client plays the first teaching video, display a knowledge point list including each knowledge point based on the knowledge point marking data of each knowledge point, and respond to a play instruction of the user for a first target knowledge point in the knowledge point list, and play the first teaching video based on a start time of the knowledge point corresponding to the first target knowledge point.
As an alternative embodiment, the device further comprises:
the receiving module is used for receiving the line class data sent by the client side in the generation of the first teaching video; the system comprises a client, a client and a client, wherein the client sends line class data when the client detects courseware page switching of teaching courseware, the line class data comprises courseware page start-stop time and associated knowledge points corresponding to the courseware page, and the courseware page is the courseware page before switching;
and the generation module is used for generating knowledge point marking data corresponding to each knowledge point contained in the first teaching video based on the line teaching data until the teaching is finished.
As an optional implementation manner, the server is provided with a tag data storage table and a tag data cache table, and the generating module is specifically configured to:
Judging whether first knowledge point marking data corresponding to a first knowledge point exists in a marking data cache table, wherein the first knowledge point is a knowledge point contained in class data;
If the first knowledge point marking data does not exist, based on the starting and ending time of courseware pages contained in the line class data, newly adding the first knowledge point marking data in a marking data storage table, and overwriting the first knowledge point marking data in a marking data cache table;
If the first knowledge point marking data exist, the starting and ending time of courseware pages contained in the line class data and the starting and ending time of knowledge points in the first knowledge point marking data are aggregated in a marking data cache table to obtain aggregated first knowledge point marking data, and the first knowledge point marking data in a marking data storage table are updated based on the aggregated first knowledge point marking data.
As an alternative embodiment, the device further comprises:
the first judging module is used for judging whether the class data contains knowledge points or not;
The first determining module is used for triggering the generating module to execute the step of judging whether the knowledge point marking data of the first knowledge point exists in the marking data cache table if the knowledge point is contained in the line class data;
and the second determining module is used for discarding the line class data if the line class data does not contain knowledge points.
As an alternative embodiment, the device further comprises:
the second judging module is used for judging whether second knowledge point marking data corresponding to the second knowledge point exists in the marking data cache table or not; wherein the second knowledge point is any knowledge point;
The third determining module is used for aggregating the start and stop time of courseware pages contained in the line class data and the start and stop time of knowledge points in the second knowledge point marking data in the marking data cache table if the second knowledge point marking data exist in the marking data cache table to obtain aggregated second knowledge point marking data;
And the fourth determining module is used for triggering the second determining module to execute the step of discarding the line class data if the second knowledge point marking data does not exist in the marking data cache table.
As an alternative embodiment, the device further comprises:
The second acquisition module is used for receiving a second video playing request which is sent by the client and carries a second target knowledge point, and acquiring a second teaching video and knowledge point marking data of the second target knowledge point contained in the second teaching video; the second teaching video is a teaching video containing a second target knowledge point in the video content;
The second sending module is used for sending the second teaching video and knowledge point marking data of a second target knowledge point contained in the second teaching video to the client so that the client responds to a knowledge point explanation instruction of a user aiming at the target test question, and playing the second teaching video for each second teaching video based on the starting and ending time of the knowledge point corresponding to the second target knowledge point contained in the second teaching video; the second target knowledge point is a knowledge point associated with the target test question.
Corresponding to the foregoing method for playing video at a knowledge point, the embodiments of the present disclosure further provide a video playing device based on a knowledge point, and fig. 12 shows a schematic block diagram of a video playing device based on a knowledge point according to an exemplary embodiment of the present disclosure, where the device may be implemented by software and/or hardware, and may be generally integrated in an electronic device. The apparatus is applied to a client, as shown in fig. 12, the knowledge point based video playing apparatus 1200 includes:
The first sending module 1210 is configured to respond to a playing instruction of the user for the teaching video, and send a first video playing request to the server; the first video playing request is used for requesting the first teaching video and knowledge point marking data of each knowledge point contained in the first teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating courseware page starting and ending time corresponding to at least one courseware page related to the knowledge point in the first teaching video content;
The display module 1220 is configured to receive the first teaching video and knowledge point marking data of each knowledge point sent by the server, play the first teaching video, and display a knowledge point list including each knowledge point based on the knowledge point marking data of each knowledge point;
The first playing module 1230 is configured to respond to a playing instruction of the user for a first target knowledge point in the knowledge point list, and play a first teaching video based on a start time and an end time of the knowledge point corresponding to the first target knowledge point.
As an alternative embodiment, the device comprises:
The second sending module is used for sending lesson-going data to the server when the courseware page switching of the teaching courseware is detected in the first lesson-giving video generation; the class data comprise courseware page start-stop time and associated knowledge points corresponding to courseware pages, and the courseware pages are courseware pages before switching.
As an alternative embodiment, the device further comprises:
the first determining module is used for determining the display duration corresponding to the courseware page according to the starting and ending time of the courseware page;
and the second determining module is used for triggering the second sending module to execute the step of sending the class data to the server if the display time length is larger than the preset display time length threshold value.
As an alternative embodiment, the device further comprises:
The acquisition module is used for responding to the knowledge point explanation instruction of the user aiming at the target test questions and acquiring a second target knowledge point associated with the target test questions;
The third sending module is used for sending a second video playing request carrying a second target knowledge point to the server; the second video playing request is used for requesting the server to feed back the second teaching video and knowledge point marking data of a second target knowledge point contained in the second teaching video; the second teaching video is a teaching video containing a second target knowledge point in the video content;
The second playing module is used for receiving the second teaching video sent by the server and knowledge point marking data of second target knowledge points contained in the second teaching video, and playing the second teaching video for each second teaching video based on the starting and ending time of the knowledge point corresponding to the second target knowledge point contained in the second teaching video.
The exemplary embodiments of the present disclosure also provide an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor for causing the electronic device to perform a method according to embodiments of the present disclosure when executed by the at least one processor.
The present disclosure also provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a method according to an embodiment of the present disclosure.
The present disclosure also provides a computer program product comprising a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a method according to embodiments of the disclosure.
Referring to fig. 13, a block diagram of an electronic device 1300, which may be a server or a client of the present disclosure, will now be described, which is an example of a hardware device that may be applied to aspects of the present disclosure. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 13, the electronic device 1300 includes a computing unit 1301 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1302 or a computer program loaded from a storage unit 1308 into a Random Access Memory (RAM) 1303. In the RAM 1303, various programs and data required for the operation of the device 1300 can also be stored. The computing unit 1301, the ROM 1302, and the RAM 1303 are connected to each other through a bus 1304. An input/output (I/O) interface 1305 is also connected to bus 1304.
Various components in electronic device 1300 are connected to I/O interface 1305, including: an input unit 1306, an output unit 1307, a storage unit 1308, and a communication unit 1309. The input unit 1306 may be any type of device capable of inputting information to the electronic device 1300, and the input unit 1306 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. The output unit 1307 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, video/audio output terminals, vibrators, and/or printers. The storage unit 1304 may include, but is not limited to, magnetic disks, optical disks. The communication unit 1309 allows the electronic device 1300 to exchange information/data with other devices through computer networks such as the internet and/or various telecommunication networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 1301 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 1301 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1301 performs the respective methods and processes described above. For example, in some embodiments, the knowledge point based video playback method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 1308. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 1300 via the ROM 1302 and/or the communication unit 1309. In some embodiments, computing unit 1301 may be configured to perform the knowledge point based video playback method by any other suitable means (e.g., by means of firmware).
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, 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 Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

Claims (15)

1. A method for playing video based on knowledge points, wherein the method is applied to a server, and the method comprises the following steps:
Responding to a first video playing request sent by a client, and acquiring a first teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point contained in the first teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and stopping time corresponding to the knowledge point, and the knowledge point starting and stopping time corresponding to each knowledge point is obtained by aggregating courseware page starting and stopping time corresponding to at least one courseware page related to the knowledge point in the first teaching video content;
And sending the first teaching video and knowledge point marking data of each knowledge point to the client so that the client plays the first teaching video, displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point, responding to a play instruction of a user for a first target knowledge point in the knowledge point list, and playing the first teaching video based on the start time and the stop time of the knowledge point corresponding to the first target knowledge point.
2. The method according to claim 1, wherein the method further comprises:
in the first teaching video generation, receiving line class data sent by the client; the class data are sent by the client when the client detects that courseware pages of teaching courseware are switched, and the class data comprise courseware page start-stop time and associated knowledge points corresponding to the courseware pages, wherein the courseware pages are courseware pages before switching;
And generating knowledge point marking data corresponding to each knowledge point contained in the first teaching video based on the class data until the teaching is finished.
3. The method according to claim 2, wherein the server is provided with a tag data storage table and a tag data cache table, and the generating knowledge point tag data corresponding to each knowledge point included in the first lecture video based on the line lecture data includes:
judging whether first knowledge point marking data corresponding to a first knowledge point exists in the marking data cache table, wherein the first knowledge point is the knowledge point contained in the class data;
If the first knowledge point marking data does not exist, based on the starting and ending time of courseware pages contained in the line class data, newly adding the first knowledge point marking data in the marking data storage table, and overwriting the first knowledge point marking data in the marking data cache table;
If the first knowledge point marking data exist, aggregating the starting and ending time of courseware pages contained in the line class data and the starting and ending time of knowledge points in the first knowledge point marking data in a marking data cache table to obtain aggregated first knowledge point marking data, and updating the first knowledge point marking data in the marking data storage table based on the aggregated first knowledge point marking data.
4. A method according to claim 3, wherein prior to performing the step of determining whether there is knowledge point tag data for a first knowledge point in the tag data cache table, the method further comprises:
Whether the class data contains knowledge points or not;
if the class data contains knowledge points, judging whether knowledge point marking data of a first knowledge point exist in the marking data cache table;
And discarding the class data if the class data does not contain knowledge points.
5. The method of claim 4, wherein prior to performing the step of discarding the course data, the method further comprises:
judging whether second knowledge point marking data corresponding to a second knowledge point exists in the marking data cache table or not;
if the second knowledge point marking data exist in the marking data cache table, aggregating the starting and ending time of courseware pages contained in the line class data and the starting and ending time of knowledge points in the second knowledge point marking data in the marking data cache table to obtain aggregated second knowledge point marking data;
and discarding the class data if the second knowledge point marking data does not exist in the marking data cache table.
6. The method according to claim 1, wherein the method further comprises:
Receiving a second video playing request carrying a second target knowledge point sent by the client, and acquiring a second teaching video and knowledge point marking data of the second target knowledge point contained in the second teaching video; the second teaching video is a teaching video containing the second target knowledge point in video content;
Sending the second teaching video and knowledge point marking data of the second target knowledge points contained in the second teaching video to the client so that the client responds to knowledge point explanation instructions of users aiming at target test questions, and playing the second teaching video for each second teaching video based on the starting and ending time of the knowledge point corresponding to the second target knowledge point contained in the second teaching video; the second target knowledge points are knowledge points associated with the target test questions.
7. A method for playing video based on knowledge points, wherein the method is applied to a client, and the method comprises the following steps:
Responding to a playing instruction of a user for a first teaching video, and sending a first video playing request to a server; the first video playing request is used for requesting the first teaching video and knowledge point marking data of each knowledge point contained in the first teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating the knowledge point starting and ending time corresponding to at least one courseware page in the first teaching video content;
receiving the first teaching video and knowledge point marking data of each knowledge point sent by the server, playing the first teaching video, and displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point;
And responding to a playing instruction of a user aiming at a first target knowledge point in the knowledge point list, and playing the first teaching video based on the starting time and the ending time of the knowledge point corresponding to the first target knowledge point.
8. The method according to claim 7, characterized in that the method comprises:
In the first teaching video generation, when courseware page switching of courseware is detected, sending class data to the server; the class data comprise courseware page start-stop time and associated knowledge points corresponding to the courseware pages, and the courseware pages are courseware pages before switching.
9. The method of claim 8, wherein prior to performing the step of sending course data to the server, the method further comprises:
determining the display duration corresponding to the courseware page according to the starting and ending time of the courseware page;
And if the display time length is greater than a preset display time length threshold value, transmitting class data to the server.
10. The method of claim 7, wherein the method further comprises:
Responding to a knowledge point explanation instruction of a user aiming at a target test question, and acquiring a second target knowledge point associated with the target test question;
Sending a second video playing request carrying the second target knowledge point to the server; the second video playing request is used for requesting the server to feed back a second teaching video and knowledge point marking data of the second target knowledge point contained in the second teaching video; the second teaching video is a teaching video containing the second target knowledge point in the video content;
receiving the second teaching video sent by the server and knowledge point marking data of the second target knowledge points contained in the second teaching video, and playing the second teaching video for each second teaching video based on the starting and ending time of the knowledge point corresponding to the second target knowledge point contained in the second teaching video.
11. A knowledge point based video playback device, the device being applied to a server, the device comprising:
the first acquisition module is used for responding to a first video playing request sent by a client and acquiring a teaching video corresponding to the first video playing request and knowledge point marking data of each knowledge point contained in the teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and stopping time corresponding to the knowledge point, and the knowledge point starting and stopping time corresponding to each knowledge point is obtained by aggregating courseware page starting and stopping time corresponding to at least one courseware page related to the knowledge point in the teaching video content;
the first sending module is used for sending the teaching video and knowledge point marking data of each knowledge point to the client so that the client plays the teaching video, displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point, responding to a playing instruction of a user for a first target knowledge point in the knowledge point list, and playing the teaching video based on the starting time of the knowledge point corresponding to the first target knowledge point.
12. A knowledge point based video playback device, the device being applied to a client, the device comprising:
The first sending module is used for responding to a playing instruction of a user for the teaching video and sending a first video playing request to the server; the first video playing request is used for requesting the teaching video and knowledge point marking data of each knowledge point contained in the teaching video; the knowledge point marking data of each knowledge point comprise knowledge point starting and ending time corresponding to the knowledge point, and the knowledge point starting and ending time corresponding to each knowledge point is obtained by aggregating the knowledge point starting and ending time corresponding to at least one courseware page in the teaching video content;
The display module is used for receiving the teaching video and knowledge point marking data of each knowledge point sent by the server, playing the teaching video, and displaying a knowledge point list containing each knowledge point based on the knowledge point marking data of each knowledge point;
The first playing module is used for responding to a playing instruction of a user aiming at a first target knowledge point in the knowledge point list and playing the teaching video based on the starting time and the ending time of the knowledge point corresponding to the first target knowledge point.
13. An electronic device, comprising:
a processor; and
A memory in which a program is stored,
Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method according to any of claims 1-6 or 7-10.
14. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-6 or 7-10.
15. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the method of any of claims 1-6 or 7-10.
CN202410178031.XA 2024-02-08 2024-02-08 Knowledge point-based video playing method and device and electronic equipment Pending CN118042232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410178031.XA CN118042232A (en) 2024-02-08 2024-02-08 Knowledge point-based video playing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410178031.XA CN118042232A (en) 2024-02-08 2024-02-08 Knowledge point-based video playing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN118042232A true CN118042232A (en) 2024-05-14

Family

ID=90994525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410178031.XA Pending CN118042232A (en) 2024-02-08 2024-02-08 Knowledge point-based video playing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN118042232A (en)

Similar Documents

Publication Publication Date Title
CN110570698B (en) Online teaching control method and device, storage medium and terminal
CN108763494B (en) Knowledge sharing method between conversation systems, conversation method and device
US20180158355A1 (en) Computer-implemented frameworks and methodologies for generating, delivering and managing adaptive tutorials
CN109389870B (en) Data self-adaptive adjusting method and device applied to electronic teaching
US9666087B2 (en) Computer-readable recording medium storing education support program, education support method, and education support apparatus
AU2015101951A4 (en) Computer-implemented frameworks and methodologies for enabling adaptive functionality based on a knowledge model
CN111405224B (en) Online interaction control method and device, storage medium and electronic equipment
US9588652B2 (en) Providing feedback for screen sharing
CN111510659B (en) Online interaction method and device, storage medium and electronic equipment
CN112199007A (en) Menu display method and device, electronic equipment and storage medium
CN109302295A (en) The message treatment method and equipment of chat group
CN117390277B (en) Course resource and service management method and system
CN118042232A (en) Knowledge point-based video playing method and device and electronic equipment
CN111796846B (en) Information updating method, device, terminal equipment and readable storage medium
US20220351633A1 (en) Learner engagement engine
US11315204B2 (en) Updating sequence of online courses for new learners while maintaining previous sequences of online courses for previous learners
US20170214768A1 (en) Modular content deployment and playback control system for educational application
CN108269208B (en) Classroom interaction real-time control method and device and online course live broadcast system
JP5823073B1 (en) System and method for providing a quiz game in which a quiz created by a user can be given
CN113608945B (en) Data processing method, device, equipment and computer readable storage medium
JP2017215414A (en) Entry detail analyzer and program
CN117708292A (en) Answer feedback method and device applied to large language model
CN117376650A (en) Interactive video processing method, interactive video playing device, electronic equipment and medium
CN114860130A (en) Interaction method and device in full-reality scene, electronic equipment and storage medium
CN117255225A (en) Video generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination