CN113645470A - Video playing method and device and computer storage medium - Google Patents

Video playing method and device and computer storage medium Download PDF

Info

Publication number
CN113645470A
CN113645470A CN202010393609.5A CN202010393609A CN113645470A CN 113645470 A CN113645470 A CN 113645470A CN 202010393609 A CN202010393609 A CN 202010393609A CN 113645470 A CN113645470 A CN 113645470A
Authority
CN
China
Prior art keywords
node
time
playing
preset
video
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
CN202010393609.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.)
Beijing Yizhen Xuesi Education Technology Co Ltd
Original Assignee
Beijing Yizhen Xuesi Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yizhen Xuesi Education Technology Co Ltd filed Critical Beijing Yizhen Xuesi Education Technology Co Ltd
Priority to CN202010393609.5A priority Critical patent/CN113645470A/en
Publication of CN113645470A publication Critical patent/CN113645470A/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • 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/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4758End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for providing answers, e.g. voting
    • 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

Landscapes

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

Abstract

The embodiment of the application provides a video playing method, video playing equipment and a computer storage medium, wherein the video playing method comprises the following steps: when a target video is played to a preset node, acquiring equipment node time corresponding to the preset node of the current electronic equipment, pausing playing the target video and playing the fragment data; acquiring node time information; generating an operation duration according to a finishing operation executed by a user based on the fragment data; and controlling the current electronic equipment to stop playing the segment data after a second time length according to the equipment node time, the node time information, the operation duration and the first preset time length, and continuing to play the target video or the slice video. Because the starting time and the ending time of timing of all the electronic equipment are uniform, the playing progress of all the users is aligned after the timing is ended, and the video playing progress is ensured to be consistent.

Description

Video playing method and device and computer storage medium
Technical Field
The embodiment of the application relates to the technical field of electronic information, in particular to a video playing method, video playing equipment and a computer storage medium.
Background
Video is an important information carrier and a transmission mode in modern life because of the characteristics of intuition and easy understanding, and video playing is widely applied to various fields in life. In many scenarios, such as a live video scenario, different users watch videos through different terminals; for another example, in an online classroom, students watch a teacher lecture and the like through respective terminals, video playing in these scenes often needs to be synchronized, but due to different network conditions of different terminals, data processing conditions of the terminals are different, so that the video playing progress of different terminals is different, and the video playing effect is affected.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a video playing method, a device and a computer storage medium, so as to overcome the defect that the playing effect of a video is affected due to different progress of playing the video by different terminals in the prior art.
In a first aspect, an embodiment of the present application provides a video playing method, where when a current electronic device plays a target video, the method includes:
when a target video is played to a preset node, acquiring equipment node time corresponding to the preset node of the current electronic equipment, pausing playing the target video and playing the fragment data;
acquiring node time information, wherein the node time information is the moment when a target video acquired by a server starts to be played to a preset node;
generating an operation duration according to a finishing operation executed by a user based on the fragment data;
and controlling the current electronic equipment to stop playing the segment data after the second time length and continue playing the target video or the slice video according to the equipment node time, the node time information, the operation duration and the first preset time length, wherein the first preset time length is the time length corresponding to the segment data.
Optionally, in an embodiment of the present application, the node time information is a device node time corresponding to the electronic device that first plays the target video to the preset node.
Optionally, in an embodiment of the present application, the clip data includes an interactive video clip or an interactive interface.
Optionally, in an embodiment of the present application, the method further includes:
generating interactive information according to information input by a user based on the fragment data;
sending the interactive information to a server so that the server determines a playing instruction for continuing playing the target video or the slice video according to the interactive information of at least one piece of electronic equipment;
receiving a playing instruction sent by a server;
continuing to play the target video or the slice video includes: and continuing to play the target video or the slice video based on the playing instruction.
Optionally, in an embodiment of the present application, controlling, according to the device node time, the node time information, the operation duration, and the first preset time length, the current electronic device to stop playing the clip data after the second time length elapses includes:
calculating the delay time of the equipment according to the time of the equipment node and the node time information;
calculating a second time length according to the equipment delay time length, the operation time length and the first preset time length;
and controlling the current electronic equipment to stop playing the clip data after the second time length.
Optionally, in an embodiment of the present application, calculating the second time length according to the device delay time length, the operation time length, and the first preset time length includes:
when the sum of the equipment delay time length and the operation time length is greater than a first preset time length, determining that the second time length is 0;
and when the sum of the equipment delay time and the operation time is less than the first preset time, determining the second time as the value obtained by subtracting the equipment delay time and the operation time from the first preset time.
In a second aspect, an embodiment of the present application provides a video playing method, where the method includes:
when at least one electronic device plays a target video, node time information of the target video playing to a preset node is obtained, and the node time information is used for indicating the moment when the target video is played to the preset node;
sending the node time information to at least one piece of electronic equipment, so that the at least one piece of electronic equipment stops playing the fragment data and continues playing the target video or the sliced video after a second time length is controlled based on the equipment node time, the node time information, the operation duration and the first preset time length;
the device node time is the corresponding time when the electronic device plays the target video to the first preset node; the operation duration is the time length generated by a user corresponding to the electronic equipment based on the completion operation executed by the fragment data, and the first preset time length is the time length corresponding to the fragment data; the clip data is play data switched to when the electronic equipment plays the target video to the first preset node and the playing of the target video is suspended.
Optionally, in an embodiment of the present application, the method further includes:
receiving equipment node time sent by at least one piece of electronic equipment, and determining the equipment node time corresponding to the electronic equipment which plays the target video to the preset node as node time information.
Optionally, in an embodiment of the present application, the method further includes:
receiving interaction information sent by at least one electronic device, wherein the interaction information is used for indicating information input by at least one user based on the fragment data; and generating a playing instruction according to the interactive information, wherein the playing instruction is used for indicating to continue playing the target video or the slice video.
Optionally, in an embodiment of the present application, generating a play instruction according to the interaction information includes:
when the interactive information indicates that the number of users answering correctly is smaller than or equal to a preset number or the proportion of users answering correctly is smaller than or equal to a preset proportion, generating a first playing instruction according to the interactive information, wherein the first playing instruction is used for indicating that a slice video is played, and the segment data comprises displayed questions; and when the interactive information indicates that the number of the users with correct answer is greater than the preset number or the proportion of the users with correct answer is greater than the preset proportion, generating a second playing instruction according to the interactive information, wherein the second playing instruction is used for indicating that the target video is continuously played from the preset node.
In a third aspect, an embodiment of the present application provides an electronic device, including: the device comprises a video playing module, an acquisition module and a timing module;
the video playing module is used for obtaining the equipment node moment corresponding to the preset node of the current electronic equipment when the target video is played to the preset node, pausing playing the target video and playing the fragment data;
the acquisition module is used for acquiring node time information, wherein the node time information is the moment when the target video acquired by the server starts to be played to a preset node;
the timing module is used for generating operation duration according to the completion operation executed by the user based on the fragment data;
and the video playing module is further used for controlling the current electronic equipment to stop playing the segment data after the second time length and continue playing the target video or the slice video according to the equipment node time, the node time information, the operation time length and the first preset time length, wherein the first preset time length is the time length corresponding to the segment data.
In a fourth aspect, an embodiment of the present application provides a server, including: the device comprises a processing module and a sending module;
the processing module is used for acquiring node time information of a target video played to a preset node when at least one electronic device plays the target video, and the node time information is used for indicating the moment when the target video is played to the preset node;
the sending module is used for sending the node time information to at least one piece of electronic equipment so that the at least one piece of electronic equipment stops playing the fragment data and continues playing the target video or the slice video after a second time length is controlled based on the equipment node time, the node time information, the operation duration and the first preset time length;
the device node time is the corresponding time when the electronic device plays the target video to the first preset node; the operation duration is the time length generated by a user corresponding to the electronic equipment based on the completion operation executed by the fragment data, and the first preset time length is the time length corresponding to the fragment data; the clip data is play data switched to when the electronic equipment plays the target video to the first preset node and the playing of the target video is suspended.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: the processor, the memory and the communication interface complete mutual communication through the bus;
the memory is configured to store at least one executable instruction that causes the processor to perform a video playback method as described in the first aspect or any one of the embodiments of the first aspect; alternatively, the executable instructions cause the processor to perform a video playback method as described in the second aspect or any one of the embodiments of the second aspect.
In a sixth aspect, embodiments of the present application provide a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a video playing method as described in the first aspect or any one of the embodiments of the first aspect; alternatively, the program when executed by a processor implements a video playback method as described in the second aspect or any one of the embodiments of the second aspect.
In the embodiment of the application, when a target video is played to a preset node, acquiring the equipment node moment corresponding to the preset node of the current electronic equipment, pausing playing the target video and playing fragment data; acquiring node time information, wherein the node time information is the moment when a target video acquired by a server starts to be played to a preset node; generating an operation duration according to a finishing operation executed by a user based on the fragment data; and controlling the current electronic equipment to stop playing the segment data after the second time length and continue playing the target video or the slice video according to the equipment node time, the node time information, the operation duration and the first preset time length, wherein the first preset time length is the time length corresponding to the segment data. The method comprises the steps of setting fragment data, controlling the waiting time of a user after the user finishes the operation on the fragment data by combining the node time of the device, the node time information, the operation time of the user corresponding to each device on the fragment data and the first preset time length corresponding to the fragment data, gradually aligning the time delay of the device in the playing process due to network environment, blockage, dead halt and the like, and realizing the synchronization of all users playing target videos or sliced videos by aligning a plurality of fragment data; in addition, since the target video and the like are normally played and the clip data are normally performed, the waiting time after the clip data is completed is simply shortened, and the problem that part of the video stream is discarded for synchronization is not caused for the user due to the non-sensible alignment.
Drawings
Some specific embodiments of the present application will be described in detail hereinafter by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
fig. 1 is a flowchart of a video playing method according to an embodiment of the present application;
fig. 2a is a schematic view of a scenario provided in an embodiment of the present application;
fig. 2b is a schematic view of another scenario provided in the first embodiment of the present application;
fig. 2c is a schematic diagram of a play time alignment effect according to an embodiment of the present application;
fig. 3 is an information interaction diagram of a video playing method according to a second embodiment of the present application;
fig. 4 is a flowchart of a video playing method according to a third embodiment of the present application;
fig. 4a is a schematic view of a scene provided in the third embodiment of the present application;
fig. 4b is a schematic view of another scenario provided in the third embodiment of the present application;
fig. 5 is a structural diagram of an electronic device according to a fourth embodiment of the present application;
fig. 6 is a structural diagram of another electronic device according to a fourth embodiment of the present application;
fig. 7 is a block diagram of a server according to a fifth embodiment of the present application;
fig. 8 is a block diagram of another server according to a fifth embodiment of the present invention;
fig. 9 is a structural diagram of an electronic device according to a sixth embodiment of the present application.
Detailed Description
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings.
Example one
Fig. 1 shows a flowchart of a video playing method provided in an embodiment of the present application, where fig. 1 is a flowchart of a video playing method provided in an embodiment of the present application. In this embodiment, the method may be applied to an electronic device, the electronic device is used for playing a video, and the electronic device may be a terminal device, such as a smart phone, a tablet computer, and the like. The video playing method comprises the following steps:
101. when the target video is played to the preset node, the equipment node moment corresponding to the preset node of the current electronic equipment is acquired, the target video is paused to be played, and the fragment data is played.
The target video may be any video, in the present application, the target means singular, and is not limited at all, and the present embodiment takes playing the target video as an example for explanation. In one implementation, the target video may be an online live video, such as a live video of an online classroom, a live video of an online meeting, and so on; in another implementation, the target video may be a recorded video, or may be a video that has been already produced, for example, a recorded classroom video, or, for example, a produced learning video.
The preset node can be preset or artificially controlled. In an implementation manner, a preset node is set according to the playing time of a target video, for example, a node when the content of the target video playing reaches 30 minutes is set as the preset node, and then when the content of the target video playing reaches 30 minutes, it is determined that the target video playing reaches the preset node, it should be noted that, in the process of playing the target video, an actual playing time may not be equal to a time displayed by the content of the video playing due to reasons such as pause, and here, the setting of the preset node is set according to the time of the playing content, and is not the actual time of the video playing. In another implementation manner, taking the target video as a live video as an example, a live user may enter clip data through an input operation in a live process, and if other electronic devices playing the live video receive an instruction to enter the clip data, the preset node is a node where the target video is played before the clip data is received. Of course, this is merely an example and does not represent a limitation of the present application.
The clip data may include one clip data, or one video clip, or one image, which is not limited in this application. The fragment data may be a static interface or a dynamic interface, and for example, the fragment data may be a static image or a dynamic image. It should be noted that the clip data includes a solid background interface, such as a solid black interface or a solid white interface, and the clip data may also include an interface for turning off the display screen, which is not limited in this application. The segment data may also display at least one topic for the user to answer for the purpose of interacting with the user. For example, the section data may display selection questions, fill-in-blank questions, voting questions, and the like. Taking the data of the segments as an example of an interactive interface, the interactive interface may include a question answering interface, a super arena interface, a midcourt rest interface, a one-tap-and-two-tap interface, and the like, which is not limited in the present application.
102. And acquiring node time information.
The node time information is the moment when the target video acquired by the server starts to be played to the preset node. Optionally, in an embodiment, the node time information is a device node time corresponding to the electronic device that first plays the target video to the preset node, or may be said to indicate a time at which the electronic device that first plays the target video to the management side of the preset node starts to display the clip data.
It should be noted that the management-side electronic device indicated in the node time information may be an electronic device used by a video live broadcaster or an electronic device used by a video viewer, which is not limited in this application. In one implementation, the management-side electronic device is an electronic device used by a video viewer, and at least one electronic device plays a target video, which may cause different playing schedules of the electronic devices due to network conditions and hardware conditions of the electronic devices, and the electronic device playing to a preset node first is used as the management-side electronic device, and a time when the management-side electronic device starts displaying segment data is used as a time when the target video is played to the preset node; in another implementation manner, the electronic device used by the video live broadcaster is a management-side electronic device, the video live broadcaster controls the management-side electronic device to display the segment data through input operation, and the time when the management-side electronic device starts to display the segment data is used as the time when the target video is played to the preset node.
Optionally, in an embodiment of the present application, the obtaining node time information includes: and receiving node time information sent by a server or other electronic equipment.
Here, two specific application scenarios are listed for description, alternatively, in the first application scenario, as shown in fig. 2a, fig. 2a is a scenario diagram provided in the first embodiment of the present application, and in fig. 2a, the node time information may be sent by the server. When each electronic device plays a target video to a preset node, the corresponding device node time is sent to the server, the server determines that the device node time corresponding to the electronic device which plays the target video to the preset node is node time information based on the device node times, and then the server sends the node time information to all the electronic devices.
In one embodiment of the present application, the method further comprises: and when the target video is played to a preset node, the equipment node is sent to the server all the time.
Optionally, in a second application scenario, as shown in fig. 2b, fig. 2b is another scenario diagram provided in the first embodiment of the present application, and the node time information may also be sent by other electronic devices, for example, after the management-side electronic device plays the target video to the preset node, the management-side electronic device sends the node time information to the other electronic devices, and after the other electronic devices receive the node time information again, if the other electronic devices play the target video to the preset node, the information is not sent any more, so that it is ensured that only the first electronic device that plays the target video to the preset node sends the node time information; for the management-side electronic device, if the management-side electronic device does not receive the node time information about the preset node, and the management-side electronic device plays the target video to the preset node, the management-side electronic device generates the node time information according to the device node of the management-side electronic device itself, it needs to be noted that in this application, the electronic device that plays the target video to the preset node first is used as the management-side electronic device, which is, of course, only an exemplary description, and does not represent that the application is limited thereto.
103. And generating an operation duration according to a finishing operation executed by the user based on the fragment data.
The operation duration is a length of time taken by an operation performed by the user based on the section data, and for example, the section data may include at least one title, and the operation duration is a user answering time. Of course, this is merely an example and does not represent a limitation of the present application.
104. And controlling the current electronic equipment to stop playing the segment data after a second time length according to the equipment node time, the node time information, the operation duration and the first preset time length, and continuing to play the target video or the slice video. The first preset time length is a time length corresponding to the fragment data, and the first preset time length is a fixed value and indicates the total duration of the fragment data. If the segment data comprises at least one question, the operation duration is the user answering time, and when the user answering time is less than a first preset time length, the user needs to wait for a period of time to jump out the segment data and enter a target video or a slice video.
Optionally, in an embodiment of the present application, controlling, according to the device node time, the node time information, the operation duration, and the first preset time length, the current electronic device to stop playing the clip data after the second time length elapses includes:
calculating the delay time of the equipment according to the time of the equipment node and the node time information; calculating a second time length according to the equipment delay time length, the operation time length and the first preset time length; and controlling the current electronic equipment to stop playing the clip data after the second time length.
Further optionally, in an embodiment of the present application, calculating the second time length according to the device delay time length, the operation time length, and the first preset time length includes: when the sum of the equipment delay time length and the operation time length is greater than a first preset time length, determining that the second time length is 0; and when the sum of the equipment delay time and the operation time is less than the first preset time, determining the second time as the value obtained by subtracting the equipment delay time and the operation time from the first preset time.
Of course, the above is merely exemplary and does not represent that the present application is limited thereto.
It should be noted that after the display of the clip data is finished, the electronic device may continue to play the target video from the preset node; alternatively, the electronic device may play other video clips, and a specific example is provided for illustration.
Optionally, in an embodiment of the present application, the method further includes: generating interactive information according to information input by a user based on the fragment data; sending the interactive information to a server so that the server determines a playing instruction for continuing playing the target video or the slice video according to the interactive information of at least one piece of electronic equipment; receiving a playing instruction sent by a server; continuing to play the target video or the slice video includes: and continuing to play the target video or the slice video based on the playing instruction.
For example, the section data may display at least one question, and the interactive information may include an answer sheet of the user for the at least one question. After receiving the interactive information sent by at least one piece of electronic equipment, the server can be that one piece of electronic equipment sends one piece of interactive information, the server determines the accuracy rate of answering according to the interactive information, namely the ratio of the number of users of each question answering pair to the total number of users, and if the accuracy rate of one question is greater than or equal to a preset ratio, the playing instruction is used for indicating that the target video is played continuously from a preset node; if the accuracy rate of a topic is less than the preset rate, the playing instruction is used for indicating a slice video, and the slice video can be a video for explaining the topic in the segment data. If a plurality of titles exist in one clip data, when the accuracy rate of all the titles is greater than or equal to a preset rate, the playing instruction indicates to continue playing the target video from a preset node; and when the accuracy rate of at least one topic is less than the preset rate, the playing instruction instructs to play the slice video. Of course, this is merely an example and does not represent a limitation of the present application.
To better explain the effect of the embodiment of the present application, fig. 2c is a schematic diagram of an alignment effect of playing time provided by the embodiment of the present application, where the segment data is taken as an example, and in fig. 2c, the first preset time length T is taken as an example of 60 seconds, the time period during which the user performs interaction based on the segment data may be defined as an interaction phase, because of the delay caused by the network environment, the jam, the crash, and the like, the time for each user to enter the interaction phase (i.e., the time when the target video is played to the preset node, or the time when the segment data starts to be displayed) is different, and in the interaction phase, the degree of knowledge points mastered by each user is different, the time T for completing the answer is also different, and the user with better knowledge points mastered can quickly complete the answer and wait for the volume change; aiming at students who do not delay or delay less in the course video playing process, when T is less than T, the answering time is less than the answering time, and waiting is needed; aiming at students delaying due to various factors in the course video playing process, when the delay time is T + T' < T, the sum of the answering time and the delay time is less than a first preset time length T, and waiting is needed; if the sum of the answering time and the delay time is greater than or equal to a first preset time length T, forcibly ending the interaction time when the first preset time length T is reached, and sending the interaction information to the server by each electronic device. Of course, for users who answer questions over time, the interaction phase may also end by the time the user submits the answer. For example, the first preset time length T is 60 seconds, the user a does not have any delay problem, and is synchronized with the playing progress of the server, and the response completion time is 5 seconds, so that the user a needs to wait for 55 seconds to receive the rolling message; the user B delays for 20 seconds, and the answering time is 5 seconds, so that the user B needs to wait for 35 seconds and receives the rolling message; the user C delays for 70 seconds, if the user C does not wait for submitting an answer sheet, the delay of the user C is shortened to 10 seconds, if the user C finishes answering for 5 seconds, the interaction stage is finished after the user C submits, the original delay of the user C is shortened to 15 seconds, and after a plurality of interaction stages, the video playing progress of the user can be kept consistent, so that the learning progress is kept consistent.
The method comprises the steps of setting fragment data, controlling the waiting time of a user after the user finishes the operation on the fragment data by combining the node time of the device, the node time information, the operation time of the user corresponding to each device on the fragment data and the first preset time length corresponding to the fragment data, gradually aligning the time delay of the device in the playing process due to network environment, blockage, dead halt and the like, and realizing the synchronization of all users playing target videos or sliced videos by aligning a plurality of fragment data; in addition, since the target video and the like are normally played and the clip data are normally performed, the waiting time after the clip data is completed is simply shortened, and the problem that part of the video stream is discarded for synchronization is not caused for the user due to the non-sensible alignment.
Example two
Based on the video playing method described in the first embodiment, the first embodiment of the present application provides a video playing method, and the second embodiment of the present application takes an online classroom as an example to exemplarily explain the video playing method described in the first embodiment, as shown in fig. 3, fig. 3 is an information interaction diagram of the video playing method provided in the first embodiment of the present application; the method comprises the following steps:
step 301, each electronic device plays a warm-field video.
In this embodiment, the electronic device is a device used by a user, and includes an electronic device used by a teacher live broadcast and an electronic device used by a student watching a teacher lecture.
In this embodiment, before the course is not started, each electronic device may display the countdown until a preset time before the course is started, and start to allow the user to enter the online classroom, where the preset time may be 5 minutes, 10 minutes, and the like. After entering the online classroom, the electronic device can play the warm-field video, the server can control the electronic device of the user who just enters the classroom to play the warm-field video according to the playing progress of the electronic device which has played the warm-field video, so that the user who enters the classroom at different time intervals can watch the warm-field video with the same playing progress, each electronic device can also be accessed to the real-time communication (IM) service of the server, and chat, bullet sending and related interactive services are provided for the user.
Step 302, when the class time is reached, each electronic device plays the course video.
The course video is the target video in the first embodiment, and the example that the target video is the course video is taken as an example for explanation in this embodiment, which does not represent that the present application is limited thereto.
And step 303, when each electronic device plays the course video to a preset node, playing the clip video, and sending the device node time corresponding to each electronic device to the server.
A plurality of preset nodes are arranged in the course video, each preset node can start playing a piece of data, and in the embodiment, the piece of data comprises an answer interface, a super arena interface, a midcourt rest interface, a one-to-two-tap interface and the like. It should be noted that the fragment data corresponding to each preset node may be different, that is, the content and the time length of the fragment data may be different for different preset nodes. Of course, this is merely an example and does not represent a limitation of the present application.
The time for each electronic device to play the course video to the same preset node is different because of network environment, card pause, crash, and the like, and the device node time corresponding to one electronic device is the time for the electronic device to play the target video (i.e., the course video in this embodiment) to the preset node.
Step 304, the server determines, based on the device node time corresponding to the plurality of electronic devices, that the device node time corresponding to the electronic device which first plays the target video to a preset node is node time information, and sends the node time information to all the electronic devices.
And 305, generating operation duration by each electronic device according to the finishing operation executed by the user based on the interactive interface.
The present embodiment takes the fragment data as an example for explanation, and does not represent that the present application is limited thereto.
And step 306, the server controls each electronic device to stop playing the segment data after the second time length according to the device node time, the node time information, the operation duration and the first preset time length, and continues to play the course video or the slice video.
When the sum of the equipment delay time length and the operation time length is greater than a first preset time length, determining that the second time length is 0; and when the sum of the equipment delay time and the operation time is less than the first preset time, determining the second time as the value obtained by subtracting the equipment delay time and the operation time from the first preset time.
After entering a preset node, each electronic device bounces up different interactive panels according to a preset type of the preset node, such as an answer interactive interface, a first user entering an answer triggers a timer (for example, 60 seconds), the timing duration of the timer is the first preset time length described in the first embodiment of the present application, after the timing is finished, the server issues a rolling message to all electronic devices, and forcibly rolls all electronic devices meeting the conditions, wherein, the meeting conditions refer to that the person enters the answering because of the card pause or the network delay later than other people and finishes answering and waiting for volume change, since all users forcibly end the interactive session after the timing (i.e. reaching the first preset time length) and continue playing the lesson video or the slice video from the same playing schedule, the playing schedules of all users are aligned.
And after interactive answering is finished, playing different course slice videos according to the forward answering rate, returning the observed slice videos to the main video course again, and finishing the interaction of the preset nodes.
And 307, ending the playing of the curriculum videos by each electronic device.
After all course videos are watched and preset nodes are interacted, the course playing is finished, and the user can look up the learning report of the lecture learning.
The method comprises the steps of setting fragment data, controlling the waiting time of a user after the user finishes the operation on the fragment data by combining the node time of the device, the node time information, the operation time of the user corresponding to each device on the fragment data and the first preset time length corresponding to the fragment data, gradually aligning the time delay of the device in the playing process due to network environment, blockage, dead halt and the like, and realizing the synchronization of all users playing target videos or sliced videos by aligning a plurality of fragment data; in addition, since the target video and the like are normally played and the clip data are normally performed, the waiting time after the clip data is completed is simply shortened, and the problem that part of the video stream is discarded for synchronization is not caused for the user due to the non-sensible alignment.
Example III,
With reference to the video playing methods described in the first and second embodiments, a second embodiment of the present application provides a video playing method, as shown in fig. 4, fig. 4 is a flowchart of the video playing method provided in the second embodiment of the present application, and the method may be applied to a server, where the server may be a management device, such as a server, or an electronic device, such as a terminal device like a smart phone or a tablet computer. The method comprises the following steps:
401. when at least one electronic device plays a target video, node time information of the target video playing to a preset node is obtained.
The node time information is used for indicating the moment when the target video is played to the preset node. Optionally, the device node time corresponding to the electronic device which plays the target video to the preset node is determined as the node time information. Here, two scenes are listed for schematic explanation. In a first scenario, as shown in fig. 4a, fig. 4a is a schematic view of a scenario provided in the second embodiment of the present application, in fig. 4a, a management-side electronic device firstly plays a target video to a preset node, the management-side electronic device sends a device node time corresponding to the management-side electronic device to a server, the server generates node time information according to the node time of the management-side electronic device and sends the node time information to other electronic devices, and after the other electronic devices receive the node time information, if the target video is played to the preset node, the node time is not sent to the server again;
in a second scenario, as shown in fig. 4b, fig. 4b is another scenario diagram provided in the second embodiment of the present application, in fig. 4b, the management-side electronic device first plays the target video to the preset node, the management-side electronic device generates the node time information, and sends the node time information to other electronic devices in a broadcast signal manner, and after receiving the node time information, if the target video is played to the preset node by other electronic devices, the other electronic devices do not send the broadcast signal again.
Optionally, in an embodiment of the present application, the method further includes:
and receiving the equipment node time sent by at least one piece of electronic equipment, and determining the node time information according to the equipment node time sent by at least one piece of equipment.
402. And sending the node time information to at least one piece of electronic equipment, so that the at least one piece of electronic equipment stops playing the fragment data and continues playing the target video or the sliced video after the second time length is controlled based on the equipment node time, the node time information, the operation duration and the first preset time length.
The server determines the first preset time length based on the node time information, and all other devices control the second time length based on the first preset time length determined by the server, so that the video playing progress can be aligned, and the data processing amount of the electronic device side is reduced by the server timing.
The device node time is the corresponding time when the electronic device plays the target video to the first preset node; the operation duration is the time length generated by a user corresponding to the electronic equipment based on the completion operation executed by the fragment data, and the first preset time length is the time length corresponding to the fragment data; the clip data is play data switched to when the electronic equipment plays the target video to the first preset node and the playing of the target video is suspended
Optionally, in an embodiment of the present application, the method further includes:
receiving interaction information sent by at least one electronic device, wherein the interaction information is used for indicating information input by at least one user based on the fragment data; and generating a playing instruction according to the interactive information.
Optionally, when the timing length reaches a first preset time length, a play instruction is sent to at least one electronic device.
The playing instruction is used for instructing the at least one electronic device to continue playing the video. It should be noted that after the display of the clip data is finished, the electronic device may continue to play the target video from the preset node; alternatively, the electronic device may play other video clips, and a specific example is provided for illustration.
Optionally, in an embodiment of the present application, generating a play instruction according to the interaction information includes:
and when the interactive information indicates that the number of users answering correctly is less than or equal to a preset number or the proportion of users answering correctly is less than or equal to a preset proportion, generating a first playing instruction according to the interactive information, wherein the first playing instruction is used for indicating that a slice video is played, and the segment data comprises displayed titles.
And when the interactive information indicates that the number of the users with correct answer is greater than the preset number or the proportion of the users with correct answer is greater than the preset proportion, generating a second playing instruction according to the interactive information, wherein the second playing instruction is used for indicating that the target video is continuously played from the preset node.
The method comprises the steps of setting fragment data, controlling the waiting time of a user after the user finishes the operation on the fragment data by combining the node time of the device, the node time information, the operation time of the user corresponding to each device on the fragment data and the first preset time length corresponding to the fragment data, gradually aligning the time delay of the device in the playing process due to network environment, blockage, dead halt and the like, and realizing the synchronization of all users playing target videos or sliced videos by aligning a plurality of fragment data; in addition, because the target video and the like are normally played and the segment data are also normally carried out, the waiting time after the segment data are finished is only shortened, and the problem that part of the video stream is abandoned for realizing synchronization cannot be caused for a user due to the non-perception alignment
Example four,
Based on the methods described in the first embodiment and the second embodiment, a third embodiment of the present application provides an electronic device, configured to execute the method described in the first embodiment, as shown in fig. 5, where fig. 5 is a structural diagram of an electronic device provided in the third embodiment of the present application, and the electronic device 50 includes: a video playing module 501, an obtaining module 502 and a timing module 503;
the video playing module 501 is configured to, when a target video is played to a preset node, obtain a device node time corresponding to the preset node of a current electronic device, pause playing the target video, and play clip data;
an obtaining module 502, configured to obtain node time information, where the node time information is a time when a target video obtained by a server starts to be played to a preset node;
a timing module 503, configured to generate an operation duration according to a completion operation performed by a user based on the fragment data;
the video playing module 501 is further configured to control the current electronic device to stop playing the segment data after the second time duration elapses according to the device node time, the node time information, the operation duration, and a first preset time duration, and continue playing the target video or the slice video, where the first preset time duration is a time duration corresponding to the segment data.
Optionally, in an embodiment of the present application, the node time information is a device node time corresponding to the electronic device that first plays the target video to the preset node.
Optionally, in an embodiment of the present application, the clip data includes an interactive video clip or an interactive interface.
Optionally, in an embodiment of the present application, as shown in fig. 6, the electronic device 50 further includes an interaction module 504, and a transmission module 505;
an interaction module 504, configured to generate interaction information according to information input by a user based on the fragment data;
the transmission module 505 is configured to send the interaction information to the server, so that the server determines a playing instruction for continuing to play the target video or the slice video according to the interaction information of the at least one electronic device; receiving a playing instruction sent by a server;
the video playing module 501 is further configured to continue playing the target video or the slice video based on the playing instruction
Optionally, in an embodiment of the present application, the transmission module 505 is further configured to transmit the device node time to the server.
Optionally, in an embodiment of the present application, the video playing module 501 is configured to calculate a device delay duration according to device node time and node time information; calculating a second time length according to the equipment delay time length, the operation time length and the first preset time length; and controlling the current electronic equipment to stop playing the clip data after the second time length.
Optionally, in an embodiment of the present application, the video playing module 501 is configured to determine that the second time duration is 0 when a sum of the device delay duration and the operation duration is greater than a first preset time duration; and when the sum of the equipment delay time and the operation time is less than the first preset time, determining the second time as the value obtained by subtracting the equipment delay time and the operation time from the first preset time.
The method comprises the steps of setting fragment data, controlling the waiting time of a user after the user finishes the operation on the fragment data by combining the node time of the device, the node time information, the operation time of the user corresponding to each device on the fragment data and the first preset time length corresponding to the fragment data, gradually aligning the time delay of the device in the playing process due to network environment, blockage, dead halt and the like, and realizing the synchronization of all users playing target videos or sliced videos by aligning a plurality of fragment data; in addition, because the target video and the like are normally played and the segment data are also normally carried out, the waiting time after the segment data are finished is only shortened, and the problem that part of the video stream is abandoned for realizing synchronization cannot be caused for a user due to the non-perception alignment
Example V,
Based on the method described in the third embodiment, a fourth embodiment of the present application provides a server, configured to execute the method described in the third embodiment, as shown in fig. 7, where fig. 7 is a structural diagram of a server provided in the fourth embodiment of the present application, and the server 70 includes: a processing module 701 and a sending module 702;
the processing module 701 is configured to, when at least one electronic device plays a target video, obtain node time information of the target video playing to a preset node, where the node time information is used to indicate a time when the target video starts to be played to the preset node;
a sending module 702, configured to send the node time information to at least one electronic device, so that the at least one electronic device stops playing the clip data and continues playing the target video or the slice video after a second time length is controlled based on the device node time, the node time information, the operation duration, and the first preset time length;
the device node time is the corresponding time when the electronic device plays the target video to the first preset node; the operation duration is the time length generated by a user corresponding to the electronic equipment based on the completion operation executed by the fragment data, and the first preset time length is the time length corresponding to the fragment data; the clip data is play data switched to when the electronic equipment plays the target video to the first preset node and the playing of the target video is suspended.
Optionally, in an embodiment of the present application, the processing module 701 is further configured to receive a device node time sent by at least one electronic device, and determine that the device node time corresponding to the electronic device that plays the target video to the preset node is node time information.
Optionally, in an embodiment of the present application, as shown in fig. 8, the server 70 further includes an instruction module 703;
the processing module 701 is further configured to receive interaction information sent by at least one electronic device, where the interaction information is used to indicate information input by at least one user based on the clip data;
the instruction module 703 is further configured to generate a play instruction according to the interaction information.
Optionally, in an embodiment of the present application, the instruction module 703 is further configured to generate a first play instruction according to the interactive information when the interactive information indicates that the number of users answering correctly is less than or equal to a preset number, where the first play instruction is used to indicate to play the slice video, and the segment data is used to display the titles.
Optionally, in an embodiment of the present application, the instruction module 703 is further configured to generate a first play instruction according to the interactive information when the interactive information indicates that the number of users answering correctly is less than or equal to a preset number, or the proportion of users answering correctly is less than or equal to a preset proportion, where the first play instruction is used to indicate to play the slice video, and the segment data includes displayed topics; and when the interactive information indicates that the number of the users with correct answer is greater than the preset number or the proportion of the users with correct answer is greater than the preset proportion, generating a second playing instruction according to the interactive information, wherein the second playing instruction is used for indicating that the target video is continuously played from the preset node.
The method comprises the steps of setting fragment data, controlling the waiting time of a user after the user finishes the operation on the fragment data by combining the node time of the device, the node time information, the operation time of the user corresponding to each device on the fragment data and the first preset time length corresponding to the fragment data, gradually aligning the time delay of the device in the playing process due to network environment, blockage, dead halt and the like, and realizing the synchronization of all users playing target videos or sliced videos by aligning a plurality of fragment data; in addition, because the target video and the like are normally played and the segment data are also normally carried out, the waiting time after the segment data are finished is only shortened, and the problem that part of the video stream is abandoned for realizing synchronization cannot be caused for a user due to the non-perception alignment
Example six,
Based on the methods described in the first to third embodiments, a sixth embodiment of the present application provides an electronic device, configured to execute the method described in the first or second embodiment, as shown in fig. 9, where fig. 9 is a structural diagram of the electronic device provided in the sixth embodiment of the present application, and the electronic device 90 includes: at least one processor (processor)902, memory 904, bus 906, and communication Interface (communication Interface) 908.
Wherein:
the processor 902, communication interface 908, and memory 904 communicate with one another via a communication bus 906.
A communication interface 908 for communicating with other devices.
The processor 902 is configured to execute the program 910, and may specifically execute the method described in the first embodiment;
alternatively, the processor 902 is configured to execute the program 910, and may specifically execute the method described in the second embodiment.
In particular, the program 910 may include program code that includes computer operating instructions.
The processor 902 may be a central processing unit CPU or an ASIC specific integrated circuit
(Application Specific Integrated Circuit) or one or more Integrated circuits configured to implement embodiments of the invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 904 for storing a program 910. Memory 904 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Example seven,
Based on the methods described in the first to third embodiments, a seventh embodiment of the present application provides a computer storage medium, on which a computer program is stored, the program, when executed by a processor, implementing the video playing method described in the first embodiment; alternatively, the program implements the video playback method as described in embodiment two when executed by the processor.
The method comprises the steps of setting fragment data, controlling the waiting time of a user after the user finishes the operation on the fragment data by combining the node time of the device, the node time information, the operation time of the user corresponding to each device on the fragment data and the first preset time length corresponding to the fragment data, gradually aligning the time delay of the device in the playing process due to network environment, blockage, dead halt and the like, and realizing the synchronization of all users playing target videos or sliced videos by aligning a plurality of fragment data; in addition, because the target video and the like are normally played and the segment data are also normally carried out, the waiting time after the segment data are finished is only shortened, and the problem that part of the video stream is abandoned for realizing synchronization cannot be caused for a user due to the non-perception alignment
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) And other electronic equipment with data interaction function.
Thus, particular embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
The devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular transactions or implement particular abstract data types. The application may also be practiced in distributed computing environments where transactions are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. A video playing method is characterized in that when a current electronic device plays a target video, the method comprises the following steps:
when the target video is played to a preset node, acquiring the equipment node moment corresponding to the preset node of the current electronic equipment, pausing playing the target video and playing the fragment data;
acquiring node time information, wherein the node time information is the moment when the target video acquired by a server starts to be played to a preset node;
generating an operation duration according to a finishing operation executed by a user based on the fragment data;
and controlling the current electronic equipment to stop playing the segment data after a second time length and continue playing the target video or the slice video according to the equipment node time, the node time information, the operation time length and a first preset time length, wherein the first preset time length is a time length corresponding to the segment data.
2. The method according to claim 1, wherein the node time information is a device node time corresponding to the electronic device that plays the target video to the first preset node.
3. The method of claim 1, wherein the clip data comprises an interactive video clip or an interactive interface.
4. The method of claim 1, further comprising:
generating interactive information according to information input by a user based on the fragment data;
sending the interactive information to a server so that the server determines a playing instruction for continuing playing the target video or the slice video according to the interactive information of the at least one piece of electronic equipment;
receiving a playing instruction sent by the server;
the continuing to play the target video or the slice video comprises: and continuing to play the target video or the slice video based on the playing instruction.
5. The method according to claim 1, wherein controlling the current electronic device to stop playing the clip data after a second time length elapses according to the device node time, the node time information, the operation time length, and a first preset time length includes:
calculating the delay time of the equipment according to the node time of the equipment and the node time information;
calculating the second time length according to the equipment delay time length, the operation time length and the first preset time length;
and controlling the current electronic equipment to stop playing the clip data after the second time length.
6. The method of claim 5, wherein calculating a second length of time based on the device delay period, the operating period, and a first predetermined length of time comprises:
when the sum of the equipment delay time length and the operation time length is greater than the first preset time length, determining that the second time length is 0;
and when the sum of the equipment delay time and the operation time is smaller than the first preset time length, determining the second time length as a numerical value obtained by subtracting the equipment delay time and the operation time from the first preset time length.
7. A video playback method, the method comprising:
when at least one electronic device plays a target video, node time information of the target video playing to a preset node is obtained, wherein the node time information is used for indicating the moment when the target video is played to the preset node;
sending the node time information to the at least one electronic device, so that the at least one electronic device controls to stop playing the segment data and continue playing the target video or the slice video after a second time length is passed based on the device node time, the node time information, the operation duration and a first preset time length;
the device node time is the corresponding time when the electronic device plays the target video to a first preset node; the operation duration is a time length generated by a user corresponding to the electronic device based on a finishing operation executed by fragment data, and the first preset time length is a time length corresponding to the fragment data; the clip data is play data switched to when the electronic equipment plays the target video to a first preset node, and the target video is paused to be played.
8. The method of claim 7, further comprising: and receiving the equipment node time sent by at least one piece of electronic equipment, and determining the equipment node time corresponding to the electronic equipment which plays the target video to a preset node as the node time information.
9. The method of claim 7, further comprising:
receiving interaction information sent by the at least one electronic device, wherein the interaction information is used for indicating information input by at least one user based on the fragment data;
and generating a playing instruction according to the interactive information, wherein the playing instruction is used for indicating to continue playing the target video or the slice video.
10. The method of claim 9, wherein the generating the play instruction according to the interaction information comprises:
and when the interactive information indicates that the number of users answering correctly is less than or equal to a preset number or the proportion of users answering correctly is less than or equal to a preset proportion, generating a first playing instruction according to the interactive information, wherein the first playing instruction is used for indicating playing of the slice video, and the segment data comprises displayed questions.
And when the interactive information indicates that the number of users with correct answers is greater than the preset number or the user proportion with correct answers is greater than the preset proportion, generating a second playing instruction according to the interactive information, wherein the second playing instruction is used for indicating that the target video is continuously played from the preset node.
11. An electronic device, comprising: the device comprises a video playing module, an acquisition module and a timing module;
the video playing module is used for obtaining the equipment node moment corresponding to the preset node of the current electronic equipment when the target video is played to the preset node, pausing playing the target video and playing the fragment data;
the acquisition module is used for acquiring node time information, wherein the node time information is the moment when the target video acquired by the server starts to be played to a preset node;
the timing module is used for generating operation duration according to the completion operation executed by the user based on the fragment data;
the video playing module is further configured to control the current electronic device to stop playing the segment data after a second time length elapses and continue playing the target video or the sliced video according to the device node time, the node time information, the operation duration, and a first preset time length, where the first preset time length is a time length corresponding to the segment data.
12. A server, comprising: the device comprises a processing module and a sending module;
the processing module is used for acquiring node time information of a target video playing to a preset node when at least one electronic device plays the target video, wherein the node time information is used for indicating the moment when the target video is played to the preset node;
the sending module is configured to send the node time information to the at least one electronic device, so that the at least one electronic device stops playing the clip data and continues playing the target video or the clip video after a second time length elapses based on the device node time, the node time information, the operation duration, and the first preset time length;
the device node time is the corresponding time when the electronic device plays the target video to a first preset node; the operation duration is a time length generated by a user corresponding to the electronic device based on a finishing operation executed by fragment data, and the first preset time length is a time length corresponding to the fragment data; the clip data is play data switched to when the electronic equipment plays the target video to a first preset node, and the target video is paused to be played.
13. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a bus, wherein the processor, the memory and the communication interface are communicated with each other through the bus;
the memory is configured to store at least one executable instruction that causes the processor to perform a video playback method as described in any one of claims 1-6; alternatively, the executable instructions cause the processor to perform a video playback method as described in any one of claims 7-10.
14. A computer storage medium on which a computer program is stored, which program, when executed by a processor, implements a video playback method as described in any one of claims 1 to 6; alternatively, the program when executed by a processor implements a video playback method as described in any one of claims 7 to 10.
CN202010393609.5A 2020-05-11 2020-05-11 Video playing method and device and computer storage medium Pending CN113645470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010393609.5A CN113645470A (en) 2020-05-11 2020-05-11 Video playing method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010393609.5A CN113645470A (en) 2020-05-11 2020-05-11 Video playing method and device and computer storage medium

Publications (1)

Publication Number Publication Date
CN113645470A true CN113645470A (en) 2021-11-12

Family

ID=78415472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010393609.5A Pending CN113645470A (en) 2020-05-11 2020-05-11 Video playing method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN113645470A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979782A (en) * 2022-06-28 2022-08-30 北京爱奇艺科技有限公司 Video playing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140380167A1 (en) * 2013-06-19 2014-12-25 Jbf Interlude 2009 Ltd-Israel Systems and methods for multiple device interaction with selectably presentable media streams
US20170168705A1 (en) * 2015-12-14 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and electronic device for adjusting video progress
US20180146236A1 (en) * 2016-11-19 2018-05-24 ANI Technologies Private Limited Method and system for synchronizing playback of multimedia files
CN108281052A (en) * 2018-02-09 2018-07-13 郑州市第十中学 A kind of on-line teaching system and online teaching method
US10397636B1 (en) * 2018-07-20 2019-08-27 Facebook, Inc. Methods and systems for synchronizing data streams across multiple client devices
CN110430461A (en) * 2019-08-28 2019-11-08 腾讯科技(深圳)有限公司 A kind of method, apparatus and video playback apparatus controlling video playing
CN110602528A (en) * 2019-09-18 2019-12-20 腾讯科技(深圳)有限公司 Video processing method, terminal, server and storage medium
CN110958487A (en) * 2019-11-15 2020-04-03 维沃移动通信有限公司 Video playing progress positioning method and electronic equipment
CN111031379A (en) * 2019-12-19 2020-04-17 北京奇艺世纪科技有限公司 Video playing method, device, terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140380167A1 (en) * 2013-06-19 2014-12-25 Jbf Interlude 2009 Ltd-Israel Systems and methods for multiple device interaction with selectably presentable media streams
US20170168705A1 (en) * 2015-12-14 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and electronic device for adjusting video progress
US20180146236A1 (en) * 2016-11-19 2018-05-24 ANI Technologies Private Limited Method and system for synchronizing playback of multimedia files
CN108281052A (en) * 2018-02-09 2018-07-13 郑州市第十中学 A kind of on-line teaching system and online teaching method
US10397636B1 (en) * 2018-07-20 2019-08-27 Facebook, Inc. Methods and systems for synchronizing data streams across multiple client devices
CN110430461A (en) * 2019-08-28 2019-11-08 腾讯科技(深圳)有限公司 A kind of method, apparatus and video playback apparatus controlling video playing
CN110602528A (en) * 2019-09-18 2019-12-20 腾讯科技(深圳)有限公司 Video processing method, terminal, server and storage medium
CN110958487A (en) * 2019-11-15 2020-04-03 维沃移动通信有限公司 Video playing progress positioning method and electronic equipment
CN111031379A (en) * 2019-12-19 2020-04-17 北京奇艺世纪科技有限公司 Video playing method, device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979782A (en) * 2022-06-28 2022-08-30 北京爱奇艺科技有限公司 Video playing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
RU2427090C2 (en) System and method of organising group presentations of content and group communication during said presentations
CN108495152B (en) Video live broadcast method and device, electronic equipment and medium
CN111698566A (en) Video playing method and device, electronic equipment and storage medium
CN111462561B (en) Cloud computing-based dual-teacher classroom management method and platform
CN110366023B (en) Live broadcast interaction method, device, medium and electronic equipment
KR101375119B1 (en) Virtual interview mothod and mobile device readable recording medium for executing application recorded the method
KR20180035753A (en) Device for playing video based on the understanding of the contents and method thereof
CN108174227B (en) Virtual article display method and device and storage medium
JP2014038324A (en) Web learning system, program for web learning system, and web learning method
CN112767759A (en) Interaction method, interaction device, computer equipment and medium for live broadcast network course
CN112954426B (en) Video playing method, electronic equipment and storage medium
KR20170066920A (en) Mobile-based virtual interview method and system
CN113645470A (en) Video playing method and device and computer storage medium
CN110417728B (en) Online interaction method, device, medium and electronic equipment
CN108924648B (en) Method, apparatus, device and medium for playing video data to a user
CN112672178B (en) User carousel channel-setting method and device and electronic equipment
CN115687666A (en) Media content recommendation method, device, equipment, readable storage medium and product
CN106101192B (en) Information interaction method and device
CN110809180A (en) Information processing apparatus, information processing method, and computer program
US20180034869A1 (en) Classroom Messaging
US20160307457A1 (en) System and method for online acting rehearsals
CN115762264A (en) Teaching interaction method, system, computer equipment and storage medium
TW201806398A (en) Real-time interaction method and system for mobile device and programs accomplishing the synchronous interaction between off-site audiences and programs to greatly enhance participation entertainment of proceeding activity
CN106934655A (en) Advertisement sending method and device based on user feedback
Lakshmi et al. Next Generation Classroom Learning Using Mobile Cloud Computing

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