Video generation method, system, equipment and storage medium based on online education
Technical field
The present invention relates to online education fields, specifically, be related to the video generation method based on online education, system,
Equipment and storage medium.
Background technique
Currently, the technology for entering Virtual Class study through network line is quite mature, the course in various classes can be with
It is recorded as different data types, the course in class is recorded simplest mode and is exactly side record user's picture and stores up
It is saved as film shelves.Or be through various scripting languages be assembled into one voluntarily customized face multimedia (html tag,
Javascript, mp4/webm, xml data) it is put (such as: BigBlueButton software) to dial.However, once such classroom
(a. give a course quantity start geometric progression rising and (b. need dynamic modification video file in various contents when (such as: go
Fall unsuitable message, individual student's sound shelves are individually recorded and unsuccessfully need to manually take out file access pattern, do not want that user is allowed to see portion
Paragraph when recording separately as paragraph excludes), it is desirable to mode or the latter through the record of the former side are through scripting language group again again
The mode of dress be profligacy calculation resources with human cost.
Usually in one section of instructional video, entire length was at least between half an hour to 2 hours, is contained many and is known
Know point, still, existing video, which lacks retrieval or the function student of browsing, from the beginning to see tail or F.F. to mechanization
Play etc., very low for the utilization efficiency of instructional video, which results in the usage scenarios of instructional video to fix, and student utilizes religion
The mode for learning video is single.Moreover, part instructional video further comprises the self-introduction either greeting of head, run-out, teacher
Etc., the value of each section of video clip is different in instructional video, and instructional video is also difficult to targetedly mention to student
For the video clip of each student most demand.
Therefore, the present invention provides a kind of video generation method based on online education, system, equipment and storage mediums.
Summary of the invention
For the problems of the prior art, the purpose of the present invention is to provide based on online education video generation method,
System, equipment and storage medium, by being that video-frequency band falls behind addition label by whole section of Video segmentation, convenient for carrying out whole section of video
Selected and optimization editor increases the viewing value of video playback, improves hommization experience.
The embodiment of the present invention provides a kind of video generation method based on online education, comprising the following steps:
S110, multiple video paragraphs are divided into according to preset duration to the recorded video of at least one section online education;
S120, a few video tab is added to the video paragraph according to the content information of the video paragraph;
S130, row screening and editor are dropped into the video-frequency band according to the video tab, it includes more for obtaining at least one
The video file of a video paragraph.
Preferably, the step S120 the following steps are included:
S121, picture and text identification is carried out at least frame picture in the video paragraph, obtains the of the video paragraph
One text;And row speech recognition is dropped into the video-frequency band, obtain the second text of the video paragraph;
S122, frequency of occurrence highest at least one is obtained according to corresponding first text of the video paragraph and the second text
Video tab of a word as the video paragraph.
It preferably, include total degree highest will occur in first text and second text in the step S122
Video tab of at least one word as the video paragraph.
It preferably, include all occurring first text and second text and occurrence out in the step S122
Video tab of at least one the highest word of number as the video paragraph.
Preferably, the step S130 is the following steps are included: search has the view for being played the most video tab of number
Frequency range falls and/or with the video paragraph for being viewed by a user the most video tab of duration, and the video text is obtained after editing
Part.
Preferably, the step S130 is played the video that number is lower than preset threshold the following steps are included: deleting and having
The video paragraph of label and/or with video paragraph of the duration lower than the video tab of preset threshold is viewed by a user, and is edited
After obtain the video file.
Preferably, after the step S130 further include:
S140, an at least user tag is established according to the personal information of user, screening has the desired video file
It is edited, obtain an at least video classes and gives the user.
Preferably, the video mark of most video paragraphs is played from the middle acquisition of the historical data base of the user user
Label are used as user tag, search for after there is the video paragraph of user tag to merge editor and obtain the video classes, to the use
The mobile terminal at family sends the video classes.
Preferably, the step S140 the following steps are included:
S141, the keyword for extracting the wrong topic is concentrated from the wrong topic of the historical data base of user;
S142, editor's label is generated according to the keyword of the wrong topic;
S143, the video-frequency band that the video tab hits editor's label is dropped into edlin, obtained about the use
The video file of the wrong topic collection at family;And
S144, the video file is sent to the user.
Preferably, the recorded video is the religion of all teachers and student that record that store in online education server
Video is learned, each instructional video is divided into multiple video paragraphs according to preset duration respectively.
Preferably, the recorded video is the real-time recorded video when teacher and student carry out one-to-one online education,
It is every that the recorded video in the preset duration is just generated as a video paragraph by preset duration.
Preferably, the range of choice of the preset duration is 10 seconds to 10 minutes.
Preferably, in the step S120 according to the trigger event in the content information of video paragraph to the video paragraph
An at least video tab is added, the trigger event includes at least one of following event:
Teacher or student are connected to the video classroom of the online education;
Teacher or student open dialog box input text in the video classroom;
Teacher or student carry out page turning to teaching material in the video classroom;
Teacher or student use blank in the video classroom;
Teacher or student play audio/video file in the video classroom;
Teacher or student use animation effect in the video classroom;
Teacher or student send integral in the video classroom;And
Teacher or student leave the video classroom.
The embodiment of the present invention also provides a kind of video generating system based on online education, for realizing it is above-mentioned based on
The video generation method of online education, the video generating system based on online education include:
Recorded video divides module, is divided into multiple views according to preset duration to the recorded video of at least one section online education
Frequency range is fallen;
Video tab adding module is added to a few view to the video paragraph according to the content information of the video paragraph
Frequency marking label;
Video file editor module is dropped into row screening and editor to the video-frequency band according to the video tab, is obtained extremely
A few video file comprising multiple video paragraphs.
Preferably, the video tab adding module carries out picture and text knowledge at least frame picture in the video paragraph
Not, the first text of the video paragraph is obtained;Row speech recognition is dropped into the video-frequency band, obtains the of the video paragraph
Two texts;At least one highest word of frequency of occurrence is obtained according to corresponding first text of the video paragraph and the second text to make
For the video tab of the video paragraph.
Preferably, further include user video customized module, establish an at least user tag, screening according to the personal information of user
The video file with requirement is edited, and is obtained an at least video classes and is given the user.
Preferably, the recorded video is the religion of all teachers and student that record that store in online education server
Video is learned, each instructional video is divided into multiple video paragraphs according to preset duration respectively;Or
The recorded video is the real-time recorded video when teacher and student carry out one-to-one online education, every by pre-
If the recorded video in the preset duration is just generated as a video paragraph by duration.
Preferably, the video tab adding module is according to the trigger event in the content information of video paragraph to the view
Frequency range falls an addition at least video tab, and the trigger event includes at least one of following event:
Teacher or student are connected to the video classroom of the online education;
Teacher or student open dialog box input text in the video classroom;
Teacher or student carry out page turning to teaching material in the video classroom;
Teacher or student use blank in the video classroom;
Teacher or student play audio/video file in the video classroom;
Teacher or student use animation effect in the video classroom;
Teacher or student send integral in the video classroom;And
Teacher or student leave the video classroom.
The embodiment of the present invention also provides a kind of video generating device based on online education, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to execute the above-mentioned view based on online education via the executable instruction is executed
The step of frequency generation method.
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, described program is held
The step of above-mentioned video generation method based on online education is realized when row.
Video generation method based on online education, system, equipment and storage medium of the invention, by by whole section of video
It is divided into video-frequency band and falls behind addition label, edited convenient for whole section of video is carried out selected and optimization, increase the viewing of video playback
Value improves hommization experience.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon.
Fig. 1 is the flow chart of the video generation method of the invention based on online education;
Fig. 2 is the signal for dividing recorded video in the embodiment of the video generation method of the invention based on online education
Figure;
Fig. 3 is the frame picture in the video paragraph A1 in Fig. 2;
Fig. 4 is the frame picture in the video paragraph A2 in Fig. 2;
Fig. 5 is the frame picture in the video paragraph A4 in Fig. 2;
Fig. 6 is the frame picture in the video paragraph A5 in Fig. 2;
Fig. 7 is the frame picture in the video paragraph A7 in Fig. 2;
Fig. 8 is the frame picture in the video paragraph A9 in Fig. 2;
Fig. 9 is to establish user tag according to the personal information of a user to obtain the signal that video classes are sent to user
Figure;
Figure 10 is the schematic diagram that row screening and editor's acquisition video file are dropped into the video-frequency band;
Figure 11 is the schematic diagram of all videos paragraph included in video file;
Figure 12 is to establish user tag respectively according to the personal information of multiple users and respectively obtain video classes to send out respectively
Give the schematic diagram of user;
Figure 13 is the configuration diagram of the video generating system of the invention based on online education;
Figure 14 is the structural schematic diagram of the video generating device of the invention based on online education;And
Figure 15 is the structural schematic diagram of the computer readable storage medium of one embodiment of the invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to embodiment set forth herein.On the contrary, thesing embodiments are provided so that the present invention will
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.It is identical attached in figure
Icon note indicates same or similar structure, thus will omit repetition thereof.
Fig. 1 is the flow chart of the video generation method of the invention based on online education.As shown in Figure 1, base of the invention
In the video generation method of online education, comprising the following steps:
S110, multiple video paragraphs are divided into according to preset duration to the recorded video of at least one section online education.
S120, a few video tab is added to video paragraph according to the content information of video paragraph.
S130, row screening and editor are dropped into video-frequency band according to video tab, obtaining at least one includes multiple video-frequency bands
The video file fallen.
S140, an at least user tag is established according to the personal information of user, screening, there is desired video file to carry out
Editor obtains an at least video classes and gives user.
Of the invention is added based on the video generation method of online education by being that video-frequency band is backward by whole section of Video segmentation
Label can be convenient for carrying out whole section of video into selected and optimization so that each section of video paragraph can have at least one label
Editor, such as: unessential video paragraph is deleted, or video paragraph relevant to knowledge point is concentrated into editor etc..
Education video generally has fixed form, very big with ordinary video difference, usually, on the picture of education video
Writing on the blackboard part and teacher are at least had, teacher carries out explanation one by one for writing on the blackboard part.Think even if having in the prior art
To the method that video carries out label, but workload is very big, time-consuming very long.
Step S120 the following steps are included:
S121, picture and text identification is carried out at least frame picture in video paragraph, obtains the first text of video paragraph.And
Row speech recognition is dropped into video-frequency band, obtains the second text of video paragraph.
S122, at least one highest word of frequency of occurrence is obtained according to corresponding first text of video paragraph and the second text
Video tab as video paragraph.
The present invention passes through program technic completely and drops into row label setting to the video-frequency band of arbitrary education video.Also, it creates
A certain amount of image frame is extracted to the property made in video paragraph can use the picture and text means of identification of the prior art, the plate from picture
Book part obtains the first content of text about writing on the blackboard content as the first text, and also uses the speech recognition of the prior art
Means obtain the text of explanation content as the second text for the explanation of writing on the blackboard part from teacher.The present invention is by the first text
And second there is video tab of at least one the most words as the main contents about this section of video paragraph in text.It needs
It should be noted that education video is a kind of special visual form, teacher is not to be declared according to writing on the blackboard in education video
It reads, but the explanation of formula or the introduction of case can be extended in conjunction with the content of writing on the blackboard, and the content of writing on the blackboard is usually more smart
Letter, so, only to the text for obtaining writing on the blackboard, not can determine that teacher explains in this section of video is that in writing on the blackboard
Point, individually define that video tab accuracy rate is very low from writing on the blackboard, and do not meet the teaching habit of teacher.Only by the voice of teacher into
Row identification, Lai Dingyi video tab will receive the interference of teacher's personal expression habit etc., same image video tab accuracy rate again.
So the different texts that the present invention obtains two ways are combined, in this way, so that the closer view of video tab
The main contents that frequency range is fallen considerably increase the accuracy for defining video tab, under the premise of taking into account calculation amount cost, for
Add tagged mode in what the particular feature of education video provided optimization.
It in a preferred embodiment, include total degree highest will occur in the first text and the second text in step S122
Video tab of at least one word as video paragraph, but not limited to this.Such as: " engine " occurs in the first text
4 times, " maintenance " occurs 3 times, remaining word at most occurs 2 times, and " engine " occurs 8 times in the second text, and " maintenance " goes out
Show 6 times, remaining word at most occurs 2 times, then occurring highest two words of total degree in the first text and the second text is
" engine " and " maintenance ", then two video tabs by " engine " and " maintenance " as the video paragraph.
It in a preferred embodiment, include all occurring the first text and the second text and occurrence out in step S122
Video tab of at least one the highest word of number as video paragraph, but not limited to this.Such as: " li po " goes out in the first text
Show 3 times, " Tu Fu " occurs 3 times, remaining word at most occurs 2 times, and " li po " occurs 2 times in the second text, " ancient poetry "
Occur 6 times, " Tu Fu " occurs 4 times, remaining word at most occurs 2 times, although the number that " ancient poetry " occurs is most,
In the embodiment, it can more comprehensively consider the synthesis and effect of writing on the blackboard and teacher's oral account, the first text and the second text are all occurred
And video tab of the frequency of occurrence highest " li po " as video paragraph.
In a preferred embodiment, step S130 is played the most video of number the following steps are included: search has
It the video paragraph of label and/or is regarded with the video paragraph for being viewed by a user the most video tab of duration, and after editing
Frequency file, but not limited to this.Video paragraph that most of user can be accustomed to seeing by the present invention (such as: wonderful, core
Heart knowledge point etc.) it is screened and obtains video file after being edited, to optimize video file, so that video file more meets
In the viewing experience of most of user.
In a preferred embodiment, step S130 is played number lower than default threshold the following steps are included: deleting and having
The video paragraph of the video tab of value and/or be viewed by a user duration lower than preset threshold video tab video-frequency band
It falls, and obtains video file after editing, but not limited to this.Most of user can be reluctant the video that habit is seen by the present invention
Paragraph (such as: head, run-out, advertisement etc.) it is screened and is deleted, finally editor's integration obtains video file, to simplify
Optimize video file, improves hommization experience.
In a preferred embodiment, from the middle acquisition of the historical data base of user, the user plays most video paragraphs
Video tab as user tag, search for after there is the video paragraph of user tag to merge editor and obtain video classes, Xiang Yong
The mobile terminal at family sends video classes, and but not limited to this.The present invention can pass through according to the viewing habit and hobby of user
The mode of label filtration obtains video file after obtaining the favorite video paragraph editor of user, and the viewing for each user needs
It asks, improves the viewing experience of user.
In a preferred embodiment, step S140 the following steps are included:
S141, the keyword for extracting wrong topic is concentrated from the wrong topic of the historical data base of user.
S142, editor's label is generated according to the keyword of mistake topic.
S143, the video-frequency band that video tab is hit to editor's label drop into edlin, obtain the wrong topic collection about user
Video file.And
S144, video file is sent to user.
The present invention is directed to learning process of the student in Educational website, is inscribed, is had according to the mistake that the wrong topic of each student is concentrated
Pointedly formed towards each student's difference study situation about mistake topic video file so that each student can to
The explanation video that the history mistake topic about oneself is seen in the video file that he provides, greatly improves hommization experience and student is full
Meaning degree.
In a preferred embodiment, recorded video be all teachers recorded that are stored in online education server with
Each instructional video is divided into multiple video paragraphs according to preset duration respectively by the instructional video of student, and but not limited to this.
Intelligent processing can be carried out for the ready-made instructional video of the magnanimity stored in the server of online education through the invention, point
These instructional videos are not divided into video paragraph and add label respectively.
In a preferred embodiment, recorded video is recorded in real time when teacher carries out one-to-one online education with student
Video processed, every that the recorded video in the preset duration is just generated as a video paragraph by preset duration, but not limited to this.
Through the invention also in the education video of real-time recording, as soon as every recording section video paragraph, drops into row video to the video-frequency band
The addition of label improves the timeliness of addition video tab and the popularization convenient for overall plan.
In a preferred embodiment, the range of choice of preset duration is 10 seconds to 10 minutes, for example, will be by default
The length of each section of video paragraph is set to 30 seconds or 1 minute etc. by duration, and but not limited to this.
Preferably, video paragraph is added to according to the trigger event in the content information of video paragraph in step S120 few
One video tab, trigger event include at least one of following event:
Teacher or student are connected to the video classroom of online education;
Teacher or student open dialog box input text in video classroom;
Teacher or student carry out page turning to teaching material in video classroom;
Teacher or student use blank in video classroom;
Teacher or student play audio/video file in video classroom;
Teacher or student use animation effect in video classroom;
Teacher or student send integral in video classroom;And
Teacher or student leave video classroom.
In a kind of preferred embodiment of the invention, by creating a kind of online course playing back videos machine in online course
System, can rely on the text event format of self-defining, and will teach indoor sound video signal, blank movement, classroom operation record all
It is deposited into text file and video/audio archive according to this format.And when watching video file on same a set of online course software
Above-mentioned data are penetrated into this audio/video file and text file, the various functions of implementation are (such as: removing the time difference using algorithm, " return
Put " process of entirely attending class).Each data can also carry out thin portion adjustment, details via being edited from the background in event text file
To the word write on blank, the line etc. of picture.A kind of method of playback online course video recording shelves of the invention, can be by simple
Mode only need to just can reach the modifications and changes video recording each thing of shelves through the mode of modification course wb file text file
Part content and the audio-visual purpose for playing paragraph, safeguard that elasticity is high.
The invention solves target be exactly to create a kind of online course playing back videos mechanism.This mechanism customized one
Cover text event format.The event of such format can also deposit into an editable in addition to that can deposit in video stream archives
UTF-8 archive files.Various events (such as: person's handwriting event, event of skipping) can allow people's dynamic modification video file various interior
Hold, while also determining that the sequencing of this video file each event triggering (such as will be dialled first and put the audio and video file of teacher and still learn
The audio and video file of member), do not have to so assemble through scripting language again, just can be used directly after modification and attend class routine interface to play.
The technology door and operation cost of " the online classroom video recording shelves that editor one can play back " can also so be reduced.
The present invention can create a kind of text event format, and it is dynamic that the various blanks triggered when online course are carried out to note down
Make with the event of audio-visual behavior, and through the prior art store into a text file (lower section abbreviation wb file,
Whiteboard file) and a video stream archives (lower section abbreviation teacher audio and video file) in.It can pass through this wb after End-of-Course
File and teacher's audio and video file come play back in course all behaviors with it is audio-visual, with alterability and need not recompility characteristic.
A kind of text event record mode of the invention is as follows:
A. any user (teacher, student or IT personnel) of online course enters classroom, and video stream event host is opened
Classroom entity is opened, and creates a wb file file and is written a line event ' init4 ', online course is represented and starts (event lattice
Formula be ' m- event name claims-event argument when instantly ', through '-' character symbols separate and using ' CRLF ' two bytes be used as this
The ending of event);
B. classroom entity is per after one minute, will be written a line event ' t ' in wb file and teacher's audio and video file (if religion
If member's audio and video file exists), event argument is unix time instantly (unit is millisecond, and 13 numbers are formed);
C. it when thering is teacher or student to login course parallel machine classroom entity, and presses and allows to access the machine microphone and camera shooting
After head, a line event ' r ' can be written in (if teacher's audio and video file exist if) in wb file and teacher's audio and video file in classroom entity,
Representative start to record user's video stream at audio and video file (event argument: user's title, user's number, status not, religion
Room classification, video recording format).
D. when having teacher or student to leave course and off line classroom entity, a line event ' o ' can be written in wb in classroom entity
In file and teacher's audio and video file (if if teacher's audio and video file exists), represents and stop recording user's video stream (event ginseng
Number: user's title, user's number, status are other).
E. when there is dialog box typewriting of any user (teacher, student or IT personnel) in course, classroom entity can be write
Enter a line event ' c ' in wb file and teacher's audio and video file (if if teacher's audio and video file exists), represents the user in classroom
Interior speech content (event argument: customized user's header (including user's name and talk object oriented), user name
Claim, user's number, user's identity is other, content of making a speech).
F. when there is any user (teacher, the student of authorization or IT personnel) for having teaching material operating right to turn in course
Page/be presented this page of teaching material, classroom entity can be written a line event ' p ' in wb file and teacher's audio and video file (if teacher's audio and video file
In the presence of if), it represents the indoor current teaching material of the religion and is in which page (event argument: page index value, the integer since 0
Type).
G. when have any user (teacher, the student of authorization or IT personnel) for having blank operating right in course operate
(newly-increased/modification/deletion) blank event, classroom entity can be written a line event ' s ' in wb file and teacher's audio and video file (if
If teacher's audio and video file exists), it represents currently to the operation content of blank (such as: newly-increased manual draw, uploading pictures act) (thing
Part parameter: parameter needed for mapping operation, drawing kenel, the drawing kenel).
H. it using special efficacy and send integral in course as teacher and appreciates student, a line event ' rw ' can be written in classroom entity
In (if teacher's audio and video file exist if) in wb file and teacher's audio and video file, represent current teacher to the timely appreciation of student and
Send point that (event argument: appreciation kenel, student's name and number, student's total mark number, the student is currently accumulated in the classroom
Fraction).
J. play teaching material sound file in course as teacher, classroom entity can during broadcasting write-in a line event per second
' w ' represents current teacher and plays sound shelves in class in wb file and teacher's audio and video file (if if teacher's audio and video file exists)
Time point and play behavior (event argument: filename, current play status comprising sound file path, sound shelves total length (second),
The current play position of sound file (second)).
K. switch in course as teacher user (such as: student) be speaker when, a line event can be written in classroom entity
' sw ' in wb file and teacher's audio and video file (if if teacher's audio and video file exists), which is cut into speaker by representative
(video signal of the user terminal being switched to the video signal position at original teacher end) (event argument: user's title and number, user
Classification).
L. classroom entity every second, can will be set up rear just in cumulative number of seconds as time from classroom entity
The audio and video file of all online users is written in code, is used as when video recording shelves play used in each sound track synchronization;
A kind of playing back videos mechanism of the invention is as follows:
Playing program obtains this course number and identifying code from link parameter, and removes calling video file correlation API with this
(such as: video recording audio/video file stores position of host machine, teaching material map file folder location, wb file to data needed for obtaining video file
Archival location)
Read the wb file of this course in playing program end.By page events and blank event be saved as relevance Hash and
Structure of arrays, and teacher's audio/video file name information is obtained from the recorded event of teacher.
Confirmation playing program does not have ' playtype=1 ' parameter.By the timestamp of first recorded event ' r ' of student
As broadcasting initial position (teacher enter the classroom after five minutes, time code 300 seconds), and from wb file calculate whole course
Total time and cut off teacher and once nullify after first ' r ' event and the total time section logined, finally calculated result is worked as
Make the total long-time of time shaft.
Have special event used in manual amendment ' q ' in confirmation wb file, (is played using the event in wb file completely
When also filter in teacher's audio/video file record and through the prior art CuePoint triggering all events), it is built-in in program
Vertical timer carrys out confirmation second per second and interior above whether there is or not events to be triggered.
It makes a return journey preloading teacher's audio/video file from teacher's recorded event ' r ', and monitors callback message.If callback at
Function thens follow the steps h;
It goes to establish user from the recorded event ' r ' of other users to play and uses data structure.
Classroom classification is obtained from first recorded event ' r ' of teacher, to determine which kind of video file interface frame used.
After teacher's video stream is jumped to teacher first time point logined (5 minutes), pause, and using this position as
Inquiry interface is jumped out in the initial position of time shaft, and user is allowed to may choose whether to start to play video recording shelves.It selects ' being ', starts
It is broadcast since playing starting point;
Every 15 seconds, it can first confirm the time code (315 seconds) of the newest triggering of teacher's audio and video file, and compared with this value
Newest triggering time code (314 seconds) in student's audio and video file.Due to gap 1 second (315-314=1), by student's shadow
Sound shelves seek is each audio-visual to complete to current+1 second position in number of seconds position of student (student_stream.seek (14+1))
Rail is synchronous.
Confirmation, which is played to the 50th second (time code 350), triggers page turning ' p-1 ' event, after emptying painting canvas, updates journey
Teaching material map file in sequence is second page teaching material.
Fig. 2 to 12 is the schematic diagram of the embodiment of the video generation method of the invention based on online education.Fig. 2 is this hair
Divide the schematic diagram of recorded video in the embodiment of the bright video generation method based on online education.As shown in Fig. 2, in this hair
It is 1 point a length of when one section of recorded video is divided into multiple according to preset duration (1 minute) in bright another preferred embodiment
Video paragraph A1, A2, A3, A4, A5, A6, A7, A8, A9 ... of clock.
Wherein, Fig. 3 is the frame picture in the video paragraph A1 in Fig. 2.As shown in figure 3, in video paragraph A1, (teacher 10
Mainly in the usage for introducing preposition like) middle extraction 1 frame picture progress picture and text identification, obtain the first text about writing on the blackboard content
This:
" preposition
1.like with ....Because like can be placed on before noun when verb and preposition, it is noted that distinguishing.
What is she like? what kind of person she? (preposition)
2.as conduct/as ...:
He was as a child just interested in playing chess by He was interested in playing chess as a child..
3.by use/by/seating/quilt ...:
This bridge of The bridge was buillt by prisoners. is that the prisoner of war is repaired."
Speech detection is carried out to video paragraph A1, obtains the second text, in the present embodiment, by by the first text and second
Text all occurs and the video tab of highest two word " preposition " of frequency of occurrence and " like " as video paragraph A1.
Fig. 4 is the frame picture in the video paragraph A2 in Fig. 2.As shown in figure 4, in video paragraph A2, (teacher 10 is main
In the usage for introducing preposition as) middle extraction 1 frame picture progress picture and text identification, the first text about writing on the blackboard content is obtained (with A1
In the first text it is identical, details are not described herein again).Speech detection is carried out to video paragraph A2, obtains the second text, the present embodiment
In, by the first text and the second text all being occurred and highest two word " preposition " of frequency of occurrence and " as " are as video
The video tab of paragraph A2.
1 frame picture is extracted in video paragraph A3 (teacher 10 is still in the usage for introducing preposition as) carries out picture and text identification,
Obtain the first text about writing on the blackboard content (identical as the first text in A1, details are not described herein again).To video paragraph A3 into
Row speech detection obtains the second text, in the present embodiment, by by the first text and the second text all occurs and frequency of occurrence
The video tab of highest two word " preposition " and " as " as video paragraph A3.
Fig. 5 is the frame picture in the video paragraph A4 in Fig. 2.As shown in figure 5, in video paragraph A4, (teacher 10 is main
In the usage for introducing preposition by) middle extraction 1 frame picture progress picture and text identification, the first text about writing on the blackboard content is obtained (with A1
In the first text it is identical, details are not described herein again).Speech detection is carried out to video paragraph A4, obtains the second text, the present embodiment
In, by the first text and the second text all being occurred and highest two word " preposition " of frequency of occurrence and " by " are as video
The video tab of paragraph A4.
Fig. 6 is the frame picture in the video paragraph A5 in Fig. 2.As shown in fig. 6, in video paragraph A5, (teacher 10 is main
In the usage for introducing preposition in) middle extraction 1 frame picture progress picture and text identification, obtain the first text about writing on the blackboard content:
" preposition
4.in is used ... (language):
What's this in Chinese? how is this said with Chinese?
5.on rides (vehicle)/apprentice's (step), passes through (radio/TV):
Do you go there on foot? you go there in walking?
6.over is crossed over by (radio):
It is protected in their work of They keep in touch over the radio while working. with radio
Hold connection."
Speech detection is carried out to video paragraph A5, obtains the second text, in the present embodiment, by by the first text and second
Text all occurs and the video tab of highest two word " preposition " of frequency of occurrence and " in " as video paragraph A5.
1 frame picture is extracted in video paragraph A6 (teacher 10 is still in the usage for introducing preposition in) carries out picture and text identification,
Obtain the first text about writing on the blackboard content (identical as the first text in A5, details are not described herein again).To video paragraph A6 into
Row speech detection obtains the second text, in the present embodiment, by by the first text and the second text all occurs and frequency of occurrence
The video tab of highest two word " preposition " and " in " as video paragraph A6.
Fig. 7 is the frame picture in the video paragraph A7 in Fig. 2.As shown in fig. 7, in video paragraph A7, (teacher 10 is main
In the usage for introducing preposition on) middle extraction 1 frame picture progress picture and text identification, the first text about writing on the blackboard content is obtained (with A5
In the first text it is identical, details are not described herein again).Speech detection is carried out to video paragraph A7, obtains the second text, the present embodiment
In, by the first text and the second text all being occurred and highest two word " preposition " of frequency of occurrence and " on " are as video
The video tab of paragraph A7.
1 frame picture is extracted in video paragraph A8 (teacher 10 is still in the usage for introducing preposition on) carries out picture and text identification,
Obtain the first text about writing on the blackboard content (identical as the first text in A5, details are not described herein again).To video paragraph A8 into
Row speech detection obtains the second text, in the present embodiment, by by the first text and the second text all occurs and frequency of occurrence
The video tab of highest two word " preposition " and " on " as video paragraph A8.
Fig. 8 is the frame picture in the video paragraph A9 in Fig. 2.As shown in figure 8, in video paragraph A9, (teacher 10 is main
In the usage for introducing preposition over) in extract 1 frame picture carry out picture and text identification, obtain about writing on the blackboard content the first text (with
The first text in A5 is identical, and details are not described herein again).Speech detection is carried out to video paragraph A9, obtains the second text, this implementation
In example, by the way that the first text and the second text are all occurred and highest two word " preposition " of frequency of occurrence and " over " conduct
The video tab of video paragraph A9.
Fig. 9 is to establish user tag according to the personal information of a user to obtain the signal that video classes are sent to user
Figure.Figure 10 is the schematic diagram that row screening and editor's acquisition video file are dropped into video-frequency band.Figure 11 is included in video file
The schematic diagram of all videos paragraph.As shown in figure 9, concentrating the key for extracting wrong topic from the wrong topic of the historical data base of student 11
Word generates according to the keyword of mistake topic and edits label, in the present embodiment, generates editor according to the keyword of the wrong topic of student 11 and marks
Label are " preposition ", " as ", " in ", " on ".Video paragraph A1, A2, A3, A4, A5, A6, A7, A8, A9 ... video tab is ordered
The video paragraph screening of middle editor's label " preposition ", " as ", " in ", " on ", obtains three video files B1, B2 and B3, wherein
Video file B1 hit editor label " preposition ", " as ";Video file B2 hit editor label " preposition ", " in ";Video file
B3 hit editor label " preposition ", " on ", to video file B1, B2 and B3 carry out editor be integrated into a video file C (referring to
Figure 10), and by video file C it is sent to the mobile terminal 11A of student 11.Student 11 can be by learning video file C, student
11 mobile terminal 11A playing video file C be substantially sequentially play video paragraph A2, A3, A5, A6, A7, A8, from
And the correlated knowledge point for oneself being easiest to the topic to do wrong is targetedly reviewed very much, greatly improve learning efficiency and hommization
Experience.
Figure 12 is to establish user tag respectively according to the personal information of multiple users and respectively obtain video classes to send out respectively
Give the schematic diagram of user.With reference to Fig. 9,10,11 and 12, recorded video can be stored up in online education server by the present invention
Each instructional video is divided into according to preset duration multiple by the instructional video of all teachers and student that record that deposit respectively
Video paragraph is respectively formed not according to the different demands (such as wrong topic collection, viewing hobby etc.) of each student (11,12,13)
Same video file (C1, C2, C3), is respectively issued to the mobile terminal (11A, 12B, 13C) of each student, even same hall exists
The video class of line education, after being edited according to the different demands of each student, what each student can obtain is directed to a human feelings
Condition customization or selected video file, improve efficiency of teaching, and preferably match different study schedules and knowledge background not
Same student maximally utilizes the recorded video resource of existing online education, plays preferably information matches effect.
Figure 13 is the schematic diagram of the first embodiment of the video generation method of the invention based on online education.Such as Figure 13
Shown, the embodiment of the present invention also provides a kind of video generating system based on online education, for realizing it is above-mentioned based on
The video generation method of line education, the video generating system 5 based on online education include:
Recorded video divides module 51, is divided into the recorded video of at least one section online education according to preset duration multiple
Video paragraph;
Video tab adding module 52 is added to a few video mark to video paragraph according to the content information of video paragraph
Label;
Video file editor module 53 drops into row screening and editor to video-frequency band according to video tab, obtains at least one
Video file comprising multiple video paragraphs;
User video customized module 54 establishes an at least user tag according to the personal information of user, and screening has requirement
Video file is edited, and is obtained an at least video classes and is given user.
In a preferred embodiment, video tab adding module carries out picture and text at least frame picture in video paragraph
Identification obtains the first text of video paragraph;Row speech recognition is dropped into video-frequency band, obtains the second text of video paragraph;Root
At least one highest word of frequency of occurrence is obtained as video paragraph according to corresponding first text of video paragraph and the second text
Video tab.
In a preferred embodiment, recorded video be all teachers recorded that are stored in online education server with
Each instructional video is divided into multiple video paragraphs according to preset duration respectively by the instructional video of student;Or
Recorded video is the real-time recorded video when teacher and student carry out one-to-one online education, when every process is preset
Recorded video in the preset duration is just generated as a video paragraph by length.
In a preferred embodiment, video tab adding module is according to the trigger event in the content information of video paragraph
A few video tab is added to video paragraph, trigger event includes at least one of following event:
Teacher or student are connected to the video classroom of online education;
Teacher or student open dialog box input text in video classroom;
Teacher or student carry out page turning to teaching material in video classroom;
Teacher or student use blank in video classroom;
Teacher or student play audio/video file in video classroom;
Teacher or student use animation effect in video classroom;
Teacher or student send integral in video classroom;And
Teacher or student leave video classroom.
Video generating system based on online education of the invention, by being that video-frequency band falls behind addition by whole section of Video segmentation
Label is edited convenient for whole section of video is carried out selected and optimization, increases the viewing value of video playback, improves hommization experience.
The embodiment of the present invention also provides a kind of video generating device based on online education, including processor.Memory,
In be stored with the executable instruction of processor.Wherein, processor is configured to be performed via execution executable instruction and be based on
The step of video generation method of line education.
As it appears from the above, the embodiment is convenient for regarding whole section by being that video-frequency band falls behind addition label by whole section of Video segmentation
Frequency carries out selected and optimization editor, increases the viewing value of video playback, improves hommization experience.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as " circuit ", " module " or " platform ".
Figure 14 is the structural schematic diagram of the video generating device of the invention based on online education.It is retouched referring to Figure 14
State the electronic equipment 600 of this embodiment according to the present invention.The electronic equipment 600 that Figure 14 is shown is only an example,
Should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 14, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can be with
Including but not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including are deposited
Storage unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with unit 610 processed, so that processing is single
Member 610 executes various exemplary implementations according to the present invention described in this specification above-mentioned electronic prescription circulation processing method part
The step of mode.For example, processing unit 610 can execute step as shown in fig. 1.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage platform etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, program is performed reality
The step of existing video generation method based on online education.In some possible embodiments, various aspects of the invention
It is also implemented as a kind of form of program product comprising program code, when program product is run on the terminal device, journey
Sequence code is for executing terminal device described in this specification above-mentioned electronic prescription circulation processing method part according to this hair
The step of bright various illustrative embodiments.
As it appears from the above, the embodiment is convenient for regarding whole section by being that video-frequency band falls behind addition label by whole section of Video segmentation
Frequency carries out selected and optimization editor, increases the viewing value of video playback, improves hommization experience.
Figure 15 is the structural schematic diagram of computer readable storage medium of the invention.With reference to shown in Figure 15, basis is described
The program product 800 for realizing the above method of embodiments of the present invention can be deposited using portable compact disc is read-only
Reservoir (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, of the invention
Program product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, should
Program can be commanded execution system, device or device use or in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie
Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead
System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing
Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage
Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer readable storage medium may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, including but not
It is limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, programming language include object oriented program language-Java, C++ etc., further include conventional process
Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user
It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment
Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting
In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
To sum up, the purpose of the present invention is to provide video generation method, system, equipment and storages based on online education to be situated between
Matter is edited convenient for whole section of video is carried out selected and optimization, is increased by being that video-frequency band falls behind addition label by whole section of Video segmentation
Add the viewing of video playback to be worth, improves hommization experience.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.