[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111405381A - Online video playing method, electronic device and computer readable storage medium - Google Patents

Online video playing method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN111405381A
CN111405381A CN202010304154.5A CN202010304154A CN111405381A CN 111405381 A CN111405381 A CN 111405381A CN 202010304154 A CN202010304154 A CN 202010304154A CN 111405381 A CN111405381 A CN 111405381A
Authority
CN
China
Prior art keywords
video
user
answer
playing
video segment
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
CN202010304154.5A
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.)
Shenzhen Instant Construction Technology Co ltd
Original Assignee
Shenzhen Instant Construction 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 Shenzhen Instant Construction Technology Co ltd filed Critical Shenzhen Instant Construction Technology Co ltd
Priority to CN202010304154.5A priority Critical patent/CN111405381A/en
Publication of CN111405381A publication Critical patent/CN111405381A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides an online video playing method, which comprises the steps of transmitting a video clip to a user side for playing; pushing a title to the user terminal along with the video clip; receiving the answer of the user to the question transmitted by the user side; comparing and analyzing the answer of the user to the question with a preset answer, and judging whether the answer of the user is correct or not; when the answer of the user is judged to be correct, seamlessly playing the next video clip according to a preset sequence, wherein the playing of the next video clip is seamlessly connected with the playing of the video clip; and when the user is judged not to answer correctly, seamlessly playing the analytic video segment for analyzing the title, wherein the analytic video segment is played and the video segment is played in seamless connection. The invention also provides an electronic device and a computer readable storage medium. The invention optimizes the visual effect of the online classroom based on the network and enhances the interactivity of the online classroom based on the network.

Description

Online video playing method, electronic device and computer readable storage medium
Technical Field
The present invention relates to the field of network-based video playing technologies, and in particular, to an online video playing method, an electronic device, and a computer-readable storage medium.
Background
The modern society pays great attention to education, and besides school education, various offline education and online education based on the internet come up in various forms. Nowadays, online classes are applied more and more, and if the online classes are lectured on site by teachers, a large amount of labor is needed by the teachers, so that the cost is increased. If only the lecture video recorded in advance is played, interaction between the teacher and the students cannot be carried out, and therefore user experience is reduced.
Disclosure of Invention
In view of the foregoing, there is a need for an online video playing method, an electronic device and a computer-readable storage medium, which can optimize the visual effect of an online classroom and enhance the interactivity of the online classroom.
A first aspect of the present invention provides an online video playing method, applied in an electronic device, where the electronic device is in communication connection with at least one user side, and the electronic device stores a plurality of video segments, and the method includes:
transmitting a video clip to the user side for playing;
pushing a title to the user terminal along with the video clip;
receiving the answer of the user to the question transmitted by the user side;
comparing and analyzing the answer of the user to the question with a preset answer, and judging whether the answer of the user is correct or not;
when the answer of the user is judged to be correct, seamlessly playing the next video clip according to a preset sequence, wherein the playing of the next video clip is seamlessly connected with the playing of the video clip; and
and when the user is judged not to answer correctly, seamlessly playing the analytic video segment for analyzing the title, wherein the analytic video segment is played and the video segment is played in seamless connection.
Preferably, the method further comprises:
storing at least one video recorded in advance to the electronic device; and
and dividing the video into a plurality of video segments according to the plurality of titles and the preset sequence, wherein the plurality of video segments comprise a plurality of video segments containing the titles and a plurality of analysis video segments for analyzing the titles.
Preferably, the method further comprises:
and editing the plurality of video segments to ensure that the first frame image of the analysis video segment corresponding to each topic is the same as the tail frame image of the video segment containing the topic, and the tail frame image of the video segment corresponding to each topic is the same as the first frame image of the video segment corresponding to the next topic.
Preferably, in the process of recording the video segment, the title information is mixed and coded into the video stream of the video segment in a media secondary information manner at a first preset time of playing the video segment, so that when the user receives the video stream and decodes and plays the video stream to the media secondary information, the title is displayed on a playing interface of the video segment for the user to interactively answer.
Preferably, the "receiving the user's answer to the topic transmitted by the user side" specifically includes:
and receiving non-voice answers of the user to the topic transmitted by the user side based on the signaling service.
Preferably, "receiving the answer to the question from the user sent by the user side, and comparing and analyzing the answer to the question from the user with a preset answer" specifically includes:
receiving the collected real-time user voice uploaded by the user side to acquire the voice response of the user to the question;
recognizing the voice answer of the user to determine a voice answer of the user; and
and comparing and analyzing the semanteme of the recognized voice answer with the preset answer.
Preferably, the method further comprises:
and optimizing and processing sound effects of the voice output in the process of playing the video clip and the received user voice.
Preferably, in the process of playing the video segment, the reading operation of the next video frame in the video segment is faster than the writing operation of the current video frame by a second preset time.
A second aspect of the present invention provides an electronic apparatus, comprising:
a processor; and
the storage is stored with a plurality of program modules, and the program modules are loaded by the processor and execute the online video playing method.
A third aspect of the present invention provides a computer-readable storage medium having stored thereon at least one computer instruction, which is loaded by a processor and executes the above-mentioned online video playing method.
According to the online video playing method, the electronic device and the computer readable storage medium, the corresponding video is played in a question-answering mode, different video segments can be played in a seamless connection mode, the teacher cost is reduced, the visual effect of the online classroom based on the network is optimized, the interactivity of the online classroom based on the network is enhanced, and the user experience is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of an application environment architecture of an online video playing method according to a preferred embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an electronic device according to a preferred embodiment of the invention.
Fig. 3 is a schematic structural diagram of an online video playing system according to a preferred embodiment of the present invention.
Fig. 4 is a flowchart of an online video playing method according to a preferred embodiment of the present invention.
Description of the main elements
Electronic device 1
Processor 10
Online video playback system 100
Memory module 101
Segmentation module 102
Editing module 103
Play module 104
Push module 105
Receiving module 106
Analysis Module 107
Optimization module 108
Memory 20
Computer program 30
User terminal 2
Steps S401-S409
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a detailed description of the present invention will be given below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention, and the described embodiments are merely a subset of the embodiments of the present invention, rather than a complete embodiment. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Fig. 1 is a schematic view of an application environment architecture of an online video playing method according to a preferred embodiment of the present invention.
The online video playing method is applied to an electronic device 1, and the electronic device 1 and at least one user side 2 establish communication connection through a network. The network may be a wired network or a Wireless network, such as radio, Wireless Fidelity (WIFI), cellular, satellite, broadcast, etc.
The electronic device 1 may be an electronic device installed with an online video playing program, such as a personal computer, a server, and the like, where the server may be a single server, a server cluster, a cloud server, or the like.
The user end 2 may be a smart phone or a personal computer. The user terminal 2 at least includes a touch display screen (not shown).
Fig. 2 is a schematic structural diagram of an electronic device according to a preferred embodiment of the invention.
The electronic device 1 includes, but is not limited to, a processor 10, a memory 20, and a computer program 30, such as an online video playing program, stored in the memory 20 and executable on the processor 10. The processor 10 executes the computer program 30 to implement steps in a line video playing method, such as steps S401 to S409 shown in fig. 4. Alternatively, the processor 10 executes the computer program 30 to implement the functions of each module/unit in the line video playing system, such as the module 101 and 108 in fig. 3.
Illustratively, the computer program 30 may be partitioned into one or more modules/units that are stored in the memory 20 and executed by the processor 10 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 30 in the electronic device 1. For example, the computer program 30 may be divided into a storage module 101, a division module 102, an editing module 103, a playing module 104, a pushing module 105, a receiving module 106, an analyzing module 107 and an optimizing module 108 in fig. 3. The specific functions of each module refer to the functions of each module in the embodiment of the online video playing system.
It will be appreciated by a person skilled in the art that the schematic diagram is only an example of the electronic apparatus 1 and does not constitute a limitation of the electronic apparatus 1, and may comprise more or less components than those shown, or combine some components, or different components, for example, the electronic apparatus 1 may further comprise an input output device, a network access device, a bus, etc.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 10 may be any conventional processor or the like, the processor 10 being the control center of the electronic device 1, and various interfaces and lines connecting the various parts of the whole electronic device 1.
The memory 20 may be used for storing the computer program 30 and/or the module/unit, and the processor 10 implements various functions of the electronic device 1 by running or executing the computer program and/or the module/unit stored in the memory 20 and calling data stored in the memory 20. The memory 20 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic apparatus 1, and the like. In addition, the memory 20 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Please refer to fig. 3, which is a functional block diagram of a preferred embodiment of the online video playing system according to the present invention.
In some embodiments, the online video playing system 100 is operated in the electronic device 1. The online video playback system 100 may include a plurality of functional modules comprised of program code segments. Program codes of various program segments in the online video playing system 100 can be stored in the memory 20 of the electronic device 1 and executed by the at least one processor 10 to realize online video playing functions.
In this embodiment, the online video playing system 100 may be divided into a plurality of functional modules according to the functions performed by the online video playing system. Referring to fig. 3, the functional modules may include a storage module 101, a segmentation module 102, an editing module 103, a playing module 104, a pushing module 105, a receiving module 106, an analysis module 107, and an optimization module 108. The module referred to in the present invention refers to a series of computer program segments capable of being executed by at least one processor and performing a fixed function, which are stored in the memory 20. It will be appreciated that in other embodiments the modules may also be program instructions or firmware (firmware) that are fixed in the processor 10.
The storage module 101 is configured to store at least one video recorded in advance to the electronic apparatus 1.
In this embodiment, the electronic device 1 is a server of an education platform, and the video is a teaching video recorded in advance by a teacher in an online classroom. Wherein the teaching video is recorded in advance for teachers through the education platform and stored in the memory 20.
The segmentation module 102 is configured to segment the video into a plurality of video segments according to a preset order according to a plurality of titles.
In this embodiment, the memory 20 stores an item library, which includes a plurality of items for teaching interaction with student users in an online classroom. Wherein the question bank is updatable by a provider, such as the educational platform.
In the embodiment, the video is designed in advance in the recording process, and a teacher can list a plurality of subjects through voice in the video to ask questions of student users participating in an online classroom. The segmentation module 102 screens the plurality of topics from the topic library, and segments the video into a plurality of video segments according to a preset sequence according to the plurality of topics in a video cutting manner. The plurality of video segments comprise a plurality of video segments containing topics and a plurality of analysis video segments for analyzing the topics. The preset sequence is a time sequence or a preset teaching sequence. It should be noted that each video segment includes a title.
The editing module 103 is configured to edit the plurality of video segments, so that a first frame image of an analytic video segment corresponding to each topic is the same as a last frame image of a video segment including the topic, a last frame image of a video segment corresponding to each topic is the same as a first frame image of a video segment corresponding to a next topic, and a last frame image of an analytic video segment corresponding to each topic is the same as a first frame image of a video segment corresponding to a next topic. That is to say, in the process of the segmentation module 102 segmenting the video, the video frame images of every two video segments that may be played continuously are the same, so that the seamless connection of video playing is facilitated.
In this embodiment, the editing module 103 further edits the file name of each video clip to be the same name, so that the playing module 104 uses the same video stream name to stream the video clip.
It can be understood that, in other embodiments, a user may record a video segment for each topic, and during the recording process, it is kept that a first frame image of an analytic video segment corresponding to each topic is the same as a last frame image of a video segment containing the topic, a last frame image of a video segment corresponding to each topic is the same as a first frame image of a video segment corresponding to a next topic, and a last frame image of an analytic video segment corresponding to each topic is the same as a first frame image of a video segment corresponding to a next topic. The storage module 101 stores a plurality of video segments recorded by users for different titles to the memory 20.
The playing module 104 is configured to transmit a video clip to the user end 2 for playing.
In this embodiment, at the beginning of the online classroom, the video segment is the first sequenced video segment. The playing module 104 decodes the video data encapsulated in the video segment, and transmits a code stream generated by decoding to the user end 2 for playing. The user end 2 may play the video clip through a web browser or an application client.
In this embodiment, the playing module 104 transmits the video segment to the user end 2 for playing, which includes performing reading and writing operations on a plurality of video frames in the video segment. Wherein the reading operation is reading a video frame from the video clip, and the writing operation is streaming the read video frame.
In this embodiment, in order to counter the delay caused by network jitter and other factors, during the playing of the video segment, the reading operation of the playing module 104 on the next video frame in the video segment is always faster than the writing operation of the current video frame by a second preset time. That is, the playing module 104 performs the reading operation of the next video frame before the second preset time of writing the current video frame, so as to pre-load the video frame, so as to eliminate the network delay. In this embodiment, the second preset time is 300 milliseconds. In other embodiments, the second preset time may be set as another time according to an actual network environment.
The pushing module 105 is configured to push a title to the user end 2 along with the video segment.
In this embodiment, the title is a title spoken by a teacher through voice in the video segment. And in the process of recording the video clip, the title information is mixed and coded into a video stream in a mode of media secondary information at a first preset time of playing the video clip. Therefore, the pushing module 105 pushes the title while playing the video segment, and the user terminal 2 can receive the title when playing the video segment to the first preset time, so that the time when the teacher speaks the title in the video segment is synchronized with the time when the user terminal 2 displays the title.
In this embodiment, when the video stream is decoded and played to the first preset time, the user side 2 receives and analyzes the secondary media information corresponding to the title, and displays the title on the playing interface of the video segment played on the display screen according to the secondary media information, so that the user can interactively answer the title.
In this embodiment, the title may be displayed on the playing interface of the user terminal 2 in the form of characters, patterns or animation. For example, the choice questions displayed by the playing interface include three choices of words "which choice below is fruit" and A, B, C, wherein, the choice A is a pattern of a cat, the choice B is a pattern of an apple, and the choice C is a pattern of a dog.
In this embodiment, the first preset time is the sum of the answer time and the stream pushing time of the next video segment to be played. Preferably, the first preset time is 8 th from last. That is, the pushing module 105 pushes the title with the video stream when the video segment is played to the 8 th last second. Thus, the time when the teacher made the question in each video clip is also the time when the video clip is played to the 8 th last second. Wherein, 7 seconds is the answering time of the student user, and 1 second is the time for the playing module 104 to push the stream of the next video clip to be played.
The receiving module 106 is configured to receive the user response to the topic transmitted by the user terminal 2.
In this embodiment, the user can answer the question in a third preset time by touch selection, text input, voice input, or other manners. And the third preset time is less than the first preset time. Preferably, the third preset time is 7 seconds.
The receiving module 106 receives the non-voice answer to the question from the user terminal 2 within the third preset Time based on a signaling service of WebRTC (Web Real-Time Communication). The non-voice answer at least comprises a touch option and input words. It should be noted that, when the non-voice answer is a touch option, a plurality of options to be selected are displayed on the play interface of the user side 2 based on the media secondary information, so that the user can select the options through the touch display screen. And when the non-voice answer is the input characters, displaying an input interface on the playing interface of the user end 2 based on the media secondary information for the user to input the characters by handwriting or a keyboard.
In this embodiment, the receiving module 106 further obtains the user's voice answer to the topic transmitted by the user terminal 2 within the third preset time based on an external rendering interface.
The receiving module 106 collects the audio transmitted by the user terminal 2 through the external rendering interface to obtain the voice response of the user to the title, and renders the voice response.
The analysis module 107 is configured to compare the answer of the user to the question with a preset answer, and determine whether the answer of the user is correct.
In this embodiment, the question bank stored in the memory 20 further includes a preset answer for each question. For the non-voice answer, the analysis module 107 determines whether the touch options or the input characters corresponding to the non-voice answer are the same as the preset answer, and determines that the user answers correctly when the touch options or the input characters corresponding to the non-voice answer are the same as the preset answer. And when the touch options or the input characters corresponding to the non-voice answers are different from the preset answers, judging that the user does not answer correctly.
For the voice answer, the analysis module 107 receives the collected real-time user voice uploaded by the user terminal 2 in real time to obtain the voice answer of the user to the question, identifies the voice answer of the user to determine the voice answer of the user, and performs semantic comparison analysis on the identified voice answer and a preset answer. When the semantic meaning of the recognized voice answer is the same as the semantic meaning of the preset answer, the analysis module 107 determines that the user answers correctly. When the semantic meaning of the recognized voice answer is different from the semantic meaning of the preset answer, the analysis module 107 determines that the user does not answer correctly.
It should be noted that the user needs to complete answering within the third preset time, and if the receiving module 106 does not receive the answer of the user to the question within the third preset time, the analyzing module 107 determines that the user does not answer correctly.
The playing module 104 is further configured to play the next video segment according to the preset sequence when the user answer is determined to be correct.
In this embodiment, when the user answer is determined to be correct, the playing module 104 forwards the next video segment containing the title to the user terminal 2 for playing. And the plug-in time is the difference value between the first preset time and the third preset time, so that the user can watch the subsequent teaching video immediately after answering the question. Meanwhile, as the last frame image of the video segment corresponding to each topic is the same as the first frame image of the video segment corresponding to the next topic, the playing of the next video segment and the playing of the video segment are in seamless connection visually, and the visual effect of real lecture is achieved.
The playing module 104 is further configured to play the parsed video segment for parsing the title seamlessly when it is determined that the user does not answer correctly.
In this embodiment, when it is determined that the user does not answer correctly, the playing module 104 pushes the analytic video segment for analyzing the title to the user end 2 for playing. And the plug-in time is the difference value between the first preset time and the third preset time, so that the user can immediately watch the teaching video for analyzing the question after answering the wrong question. Meanwhile, as the first frame image of the analysis video segment corresponding to each topic is the same as the last frame image of the video segment containing the topic, the seamless connection is formed between the playing of the analysis video segment and the playing of the video segment in the view of vision, and the visual effect of real lecture is achieved.
The playing module 104 is further configured to play the next video segment seamlessly when the playing of the parsed video segment is completed. As the tail frame image of the analysis video segment corresponding to each topic is the same as the first frame image of the video segment corresponding to the next topic, the analysis video segment is in seamless connection with the next video segment in view of vision, and the visual effect of real lecture is achieved.
The optimization module 108 is configured to optimize the voice output during the playing of the video segment and the received user voice, so as to improve the accuracy of voice recognition and improve the user experience. In this embodiment, the optimization includes at least echo cancellation, volume gain, and noise suppression.
Further, the optimization module 108 is further configured to perform sound effect processing on the voice output during the process of playing the video clip and the received user voice, so as to improve the interest of the online classroom. In the present embodiment, the sound effect processing includes at least tone changing processing, reverberation processing, and stereo processing.
Fig. 4 is a flowchart illustrating an online video playing method according to the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different needs.
Step S401, storing at least one video recorded in advance to the electronic device 1.
And S402, dividing the video into a plurality of video segments according to a plurality of titles and a preset sequence.
Step S403, editing the plurality of video segments. In this embodiment, the plurality of video segments are edited such that a first frame image of an analytic video segment corresponding to each topic is identical to a last frame image of a video segment including the topic, a last frame image of a video segment corresponding to each topic is identical to a first frame image of a video segment corresponding to a next topic, and a last frame image of an analytic video segment corresponding to each topic is identical to a first frame image of a video segment corresponding to a next topic.
Step S404, transmitting a video clip to the user terminal 2 for playing.
Step S405, pushing a title to the user end 2 along with the video clip.
Step S406, receiving the user response to the question transmitted by the user terminal 2.
Step S407, comparing the answer of the user to the question with a preset answer, and judging whether the answer of the user is correct. When it is determined that the user answer is correct, the flow advances to step S408. When it is determined that the user does not answer correctly, the flow advances to step S409.
Step S408, seamlessly playing the next video segment according to the preset sequence.
And step S409, seamlessly playing the analytic video segment for analyzing the title. After the playing of the parsed video segment is completed, the process proceeds to step S408.
Further, the method may further comprise the steps of: and optimizing and processing sound effects of the voice output in the process of playing the video clip and the received user voice.
The integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and which, when executed by a processor, may implement the steps of the above-described embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The online video playing method, the electronic device and the computer readable storage medium play the corresponding video in a question-and-answer mode, and realize seamless connection of video playing based on the video segments recorded and edited in advance, so that the teacher cost is reduced, the visual effect of the online classroom based on the network is optimized, the interactivity of the online classroom based on the network is enhanced, and the user experience is effectively improved.
It should be noted that the online video playing method, the electronic device and the computer-readable storage medium are not limited to be applied to an online classroom application scenario, but may also be applied to other suitable application scenarios.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the apparatus claims may also be embodied by one and the same item or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. An online video playing method applied in an electronic device, the electronic device being in communication connection with at least one user side, the electronic device storing a plurality of video clips, the method comprising:
transmitting a video clip to the user side for playing;
pushing a title to the user terminal along with the video clip;
receiving the answer of the user to the question transmitted by the user side;
comparing and analyzing the answer of the user to the question with a preset answer, and judging whether the answer of the user is correct or not;
when the answer of the user is judged to be correct, seamlessly playing the next video clip according to a preset sequence, wherein the playing of the next video clip is seamlessly connected with the playing of the video clip; and
and when the user is judged not to answer correctly, seamlessly playing an analytic video segment for analyzing the title, wherein the analytic video segment is played and the video segment is played in seamless connection.
2. The online video playback method of claim 1, wherein the method further comprises:
storing at least one video recorded in advance to the electronic device; and
and dividing the video into a plurality of video segments according to the plurality of titles and the preset sequence, wherein the plurality of video segments comprise a plurality of video segments containing the titles and a plurality of analysis video segments for analyzing the titles.
3. The online video playback method of claim 1, wherein the method further comprises:
and editing the plurality of video segments to ensure that the first frame image of the analysis video segment corresponding to each topic is the same as the tail frame image of the video segment containing the topic, and the tail frame image of the video segment corresponding to each topic is the same as the first frame image of the video segment corresponding to the next topic.
4. The online video playing method according to claim 1, wherein the title information is mixed and coded into the video stream of the video segment in a manner of secondary media information at a first preset time of playing the video segment during the recording of the video segment, so that when the user receives the video stream, decodes and plays the video stream to the secondary media information, the title is displayed on a playing interface of the video segment for the user to interact and answer.
5. The method for playing online video according to claim 1, wherein receiving the user's answer to the title transmitted from the user side specifically comprises:
and receiving non-voice answers of the user to the topic transmitted by the user terminal based on a signaling service.
6. The method for playing online video according to claim 1, wherein receiving the answer to the title from the user sent from the user side and comparing and analyzing the answer to the title from the user with a preset answer specifically comprises:
receiving the collected real-time user voice uploaded by the user side in real time to acquire the voice answer of the user to the question;
recognizing the voice answer of the user to determine a voice answer of the user; and
and comparing and analyzing the semanteme of the recognized voice answer with the preset answer.
7. The online video playback method of claim 1, wherein the method further comprises:
and optimizing and processing sound effects of the voice output in the process of playing the video clip and the received user voice.
8. The online video playback method of claim 1, wherein during the playback of the video segment, the reading operation for the next video frame in the video segment is faster than the writing operation for the current video frame by a second preset time.
9. An electronic device, comprising:
a processor; and
a memory having stored therein a plurality of program modules that are loaded by the processor and execute the online video playback method as recited in any one of claims 1-8.
10. A computer-readable storage medium having stored thereon at least one computer instruction, wherein the instruction is loaded by a processor and performs the online video playback method of any of claims 1-8.
CN202010304154.5A 2020-04-17 2020-04-17 Online video playing method, electronic device and computer readable storage medium Pending CN111405381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010304154.5A CN111405381A (en) 2020-04-17 2020-04-17 Online video playing method, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010304154.5A CN111405381A (en) 2020-04-17 2020-04-17 Online video playing method, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111405381A true CN111405381A (en) 2020-07-10

Family

ID=71429658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010304154.5A Pending CN111405381A (en) 2020-04-17 2020-04-17 Online video playing method, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111405381A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261317A (en) * 2020-10-23 2021-01-22 北京字跳网络技术有限公司 Video generation method and device, electronic equipment and computer readable storage medium
CN112447073A (en) * 2020-12-11 2021-03-05 北京有竹居网络技术有限公司 Explanation video generation method, explanation video display method and device
CN112702644A (en) * 2020-12-14 2021-04-23 北京聪明核桃教育科技有限公司 Title content display method, device, equipment and medium
CN112785885A (en) * 2021-01-29 2021-05-11 北京乐学帮网络技术有限公司 Online learning method and device, electronic equipment and storage medium
CN112966674A (en) * 2020-12-07 2021-06-15 北京字节跳动网络技术有限公司 Topic explaining method and device and electronic equipment
CN114466150A (en) * 2022-04-11 2022-05-10 北京十六进制科技有限公司 Automatic video recording method and device, electronic equipment and storage medium
CN114786066A (en) * 2021-05-06 2022-07-22 长沙市精灵兔教育科技有限公司 Video playing control method, device and computer storage medium
CN116055755A (en) * 2022-12-23 2023-05-02 北京达佳互联信息技术有限公司 Data processing method, device, electronic device and storage medium
CN117095340A (en) * 2023-10-20 2023-11-21 深圳市帝狼光电有限公司 Eye-protection lamp control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792215A (en) * 2016-12-12 2017-05-31 福建天晴数码有限公司 Education video order method and its system
CN108024139A (en) * 2017-12-08 2018-05-11 广州视源电子科技股份有限公司 Playing method and device of network video courseware, terminal equipment and storage medium
CN108122437A (en) * 2016-11-28 2018-06-05 北大方正集团有限公司 Adaptive learning method and device
CN108260014A (en) * 2018-04-12 2018-07-06 腾讯科技(上海)有限公司 A kind of video broadcasting method and terminal and storage medium
CN109215422A (en) * 2018-11-27 2019-01-15 北京东大正保科技有限公司 A kind of system and method for monitoring online course video study
CN110706536A (en) * 2019-10-25 2020-01-17 北京猿力未来科技有限公司 Voice answering method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108122437A (en) * 2016-11-28 2018-06-05 北大方正集团有限公司 Adaptive learning method and device
CN106792215A (en) * 2016-12-12 2017-05-31 福建天晴数码有限公司 Education video order method and its system
CN108024139A (en) * 2017-12-08 2018-05-11 广州视源电子科技股份有限公司 Playing method and device of network video courseware, terminal equipment and storage medium
CN108260014A (en) * 2018-04-12 2018-07-06 腾讯科技(上海)有限公司 A kind of video broadcasting method and terminal and storage medium
CN109215422A (en) * 2018-11-27 2019-01-15 北京东大正保科技有限公司 A kind of system and method for monitoring online course video study
CN110706536A (en) * 2019-10-25 2020-01-17 北京猿力未来科技有限公司 Voice answering method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261317A (en) * 2020-10-23 2021-01-22 北京字跳网络技术有限公司 Video generation method and device, electronic equipment and computer readable storage medium
CN112261317B (en) * 2020-10-23 2022-09-09 北京字跳网络技术有限公司 Video generation method and device, electronic equipment and computer readable storage medium
CN112966674A (en) * 2020-12-07 2021-06-15 北京字节跳动网络技术有限公司 Topic explaining method and device and electronic equipment
CN112447073A (en) * 2020-12-11 2021-03-05 北京有竹居网络技术有限公司 Explanation video generation method, explanation video display method and device
CN112702644A (en) * 2020-12-14 2021-04-23 北京聪明核桃教育科技有限公司 Title content display method, device, equipment and medium
CN112785885A (en) * 2021-01-29 2021-05-11 北京乐学帮网络技术有限公司 Online learning method and device, electronic equipment and storage medium
CN114786066A (en) * 2021-05-06 2022-07-22 长沙市精灵兔教育科技有限公司 Video playing control method, device and computer storage medium
CN114466150A (en) * 2022-04-11 2022-05-10 北京十六进制科技有限公司 Automatic video recording method and device, electronic equipment and storage medium
CN116055755A (en) * 2022-12-23 2023-05-02 北京达佳互联信息技术有限公司 Data processing method, device, electronic device and storage medium
CN117095340A (en) * 2023-10-20 2023-11-21 深圳市帝狼光电有限公司 Eye-protection lamp control method and device
CN117095340B (en) * 2023-10-20 2024-03-29 深圳市帝狼光电有限公司 Eye-protection lamp control method and device

Similar Documents

Publication Publication Date Title
CN111405381A (en) Online video playing method, electronic device and computer readable storage medium
CN110035330B (en) Video generation method, system, device and storage medium based on online education
CN108847214B (en) Voice processing method, client, device, terminal, server and storage medium
CN112399258B (en) Live playback video generation playing method and device, storage medium and electronic equipment
CN110234032B (en) Voice skill creating method and system
CN111711834B (en) Generating method, device, storage medium and terminal for recording and broadcasting interactive class
CN110267113B (en) Video file processing method, system, medium, and electronic device
CN109493888B (en) Cartoon dubbing method and device, computer-readable storage medium and electronic equipment
CN110491218A (en) A kind of online teaching exchange method, device, storage medium and electronic equipment
CN104952471B (en) A kind of media file synthetic method, device and equipment
CN114339285B (en) Knowledge point processing method, video processing method, device and electronic equipment
CN113748425A (en) Auto-completion for content expressed in video data
JP2019091416A (en) Method and device for constructing artificial intelligence application
CN110910694A (en) Intelligent customer service training system
CN112380365A (en) Multimedia subtitle interaction method, device, equipment and medium
CN111417014B (en) Video generation method, system, device and storage medium based on online education
CN118506621A (en) Question explanation method and device, electronic equipment and storage medium
CN110516043B (en) Answer generation method and device for question-answering system
JP4085015B2 (en) STREAM DATA GENERATION DEVICE, STREAM DATA GENERATION SYSTEM, STREAM DATA GENERATION METHOD, AND PROGRAM
CN108924648B (en) Method, apparatus, device and medium for playing video data to a user
CN115963963A (en) Interactive novel generation method, presentation method, device, equipment and medium
CN112541493B (en) Topic explaining method and device and electronic equipment
CN112712738B (en) Student display processing method and device and electronic device
CN115460357A (en) Method, device, equipment and storage medium for intelligently assisting blind people to browse videos
KR20220067469A (en) Apparatus for providing video book service

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200710

RJ01 Rejection of invention patent application after publication