CN113055624B - Course playback method, server, client and electronic equipment - Google Patents

Course playback method, server, client and electronic equipment Download PDF

Info

Publication number
CN113055624B
CN113055624B CN202110210838.3A CN202110210838A CN113055624B CN 113055624 B CN113055624 B CN 113055624B CN 202110210838 A CN202110210838 A CN 202110210838A CN 113055624 B CN113055624 B CN 113055624B
Authority
CN
China
Prior art keywords
video
time
user
video file
course
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.)
Active
Application number
CN202110210838.3A
Other languages
Chinese (zh)
Other versions
CN113055624A (en
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.)
Chuangsheng Shilian Digital Technology Beijing Co Ltd
Original Assignee
Chuangsheng Shilian Digital Technology Beijing 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 Chuangsheng Shilian Digital Technology Beijing Co Ltd filed Critical Chuangsheng Shilian Digital Technology Beijing Co Ltd
Publication of CN113055624A publication Critical patent/CN113055624A/en
Application granted granted Critical
Publication of CN113055624B publication Critical patent/CN113055624B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2668Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The invention discloses a course playback method, a server, clients and electronic equipment, wherein the method comprises the steps that the server monitors WebRTC streams pushed by each client during a course; the server side records each WebRTC stream into a video file based on a streaming media technology, acquires identification information of the video file, and stores the video file and the identification information in a one-to-one correspondence manner; and the server side pushes the video file selected to be played back by the user to the client side of the user, and plays the video file according to the layout style defined by the user. The server and the client for course playback provided by the invention adopt the course playback method, and the plug flow of each person is recorded into an independent video during recording, so that the watching objects can be flexibly selected and the playback layout can be adjusted.

Description

Course playback method, server, client and electronic equipment
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a course playback method, a server, a client, and an electronic device.
Background
In the current live course service, a screen recording tool or a live client containing a recording function developed based on the live course service of the company is generally used for recording courses, and the recorded courses are stored in an MP4 format, uploaded to an on-demand server, and played back for viewing. However, this playback method is not convenient and flexible enough, the layout cannot be adjusted when viewing the playback, the viewing object cannot be freely selected, and the operation of adjusting the secondary processing combination such as the page layout and the UI for the video at the later stage is also inconvenient, and customized playback cannot be provided for the client.
Disclosure of Invention
The invention aims to provide a course playback method, a server, clients and electronic equipment, which can record and process the WebRTC stream pushed by each client independently so as to realize random adjustment of playback layout and random selection of viewing objects.
In order to achieve the above purpose, the invention provides the following technical scheme:
a method of curriculum playback, comprising:
the server side monitors WebRTC streams pushed by each client side during the class period;
the server side records each WebRTC stream into a video file based on a streaming media technology, acquires identification information of the video file, and stores the video file and the identification information in a one-to-one correspondence manner;
and the server side pushes the video file selected to be played back by the user to the client side of the user and plays the video file according to the layout style defined by the user.
Preferably, the time when the client of the teacher starts the plug-in event is monitored as the course starting time; and monitoring the time when the client of the teacher finishes the plug-flow event as the course end time.
Preferably, the identification information includes video capture source information, user type information, video capture device information, and video start time and video end time.
Specifically, the video acquisition source information includes a camera stream, a screen sharing stream, a video stream, an audio stream, or a local virtual camera stream;
the user type information comprises teachers, students, stealthers or education aids;
the video acquisition equipment information comprises a Web end or a mobile end;
the video starting time is the absolute time of the time for monitoring the client to start the stream pushing event relative to the course starting time;
and the video ending time is the absolute time of the time for monitoring the client to end the stream pushing event relative to the course starting time.
Preferably, the method for lesson playback further comprises:
and the server side synthesizes a plurality of WebRTC streams into a video file according to a preset layout template and the video starting time and the video ending time corresponding to each WebRTC stream based on the streaming media technology, acquires the identification information of the synthesized video file, and correspondingly stores the synthesized video file and the identification information.
Specifically, the layout template is set in the form of specified coordinates.
Further, the method for playing the video file by the server according to the layout style defined by the user comprises the following steps:
And playing the video selected by the user to be played back according to the video starting time corresponding to the video file selected by the user and the layout style defined by the user by taking the course starting time to the course ending time as a time axis.
A server for course playback, the server comprises a monitoring module, a recording module, a storage module and a pushing module, wherein,
the monitoring module is used for monitoring the WebRTC stream pushed by each client during the course;
the recording module is used for recording each WebRTC stream into a video file based on a streaming media technology, acquiring identification information of the video file, and storing the video file and the identification information in the storage module in a one-to-one correspondence manner;
the push module is used for pushing the video file selected by the user for playback to the client of the user and playing the video file according to the layout style defined by the user.
The client end for course playback comprises a stream pushing module and a playback module, wherein,
the stream pushing module is used for pushing the WebRTC stream to the server side;
the playback module is used for receiving a video file selected by a user for playback and playing the video file according to a layout style defined by the user, wherein the video file is obtained by respectively recording each WebRTC stream by a server based on a streaming media technology, and the video file and corresponding identification information are stored in a storage module of the server.
An electronic device, the electronic device comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for lesson playback as recited in any one of claims 1-7.
Compared with the prior art, the course playback method, the server, the client and the electronic equipment provided by the invention have the following beneficial effects:
according to the course playback method provided by the invention, the server monitors the WebRTC stream pushed by each client in the course period and records each WebRTC stream into one video file respectively, when watching and playing back, all the video files selected to be played back by the user are loaded, and the purpose of flexibly selecting the watching objects and adjusting the playback layout according to personal preferences is realized.
The server and the client for course playback provided by the invention adopt the course playback method, and the plug flow of each person is recorded into an independent video during recording, so that the watching objects can be flexibly selected and the playback layout can be adjusted.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart illustrating a method for replaying courses in an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an implementation process of a method for playing back a course according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating layout templates according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating that a video file is played according to a corresponding video start time in the embodiment of the present invention;
fig. 5 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, embodiments accompanying figures are described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
Example one
Referring to fig. 1 or fig. 2, an embodiment of the present invention provides a method for playing back a course, including:
the server side monitors WebRTC streams pushed by each client side during the class period;
the server side records each WebRTC stream into a video file based on a streaming media technology, acquires identification information of the video file, and stores the video file and the identification information in a one-to-one correspondence manner;
and the server side pushes the video file selected by the user for playback to the client side of the user and plays the video file according to the layout style defined by the user.
According to the course playback method provided by the embodiment of the invention, the server side records the WebRTC streams pushed by each client side into one video file respectively, loads all the video files selected to be played back by the user when the users watch and play the video files according to the layout style defined by the user, and therefore, the purposes of flexibly selecting watching objects and adjusting the playback layout according to personal preferences are achieved.
The WebRTC technology is arranged in a browser, a user can realize real-time communication through the browser without using any plug-in or software, so that the video recording process is convenient and quick, streaming media (streaming media) refers to a technology and a process of compressing a series of media data, sending the data through online segmentation, and instantly transmitting video and audio on the network for viewing, and the technology enables a data packet to be sent like streaming; if this technique is not used, the entire media file must be downloaded before use. In specific implementation, the video file can adopt an MP4 format, the MP4 video has a plurality of used scenes and is convenient to open, and the video file can be directly played on a page.
When recording a video file, related identification information of the video file is recorded at the same time, wherein the identification information comprises video acquisition source information, user type information, video acquisition equipment information, video start time and video end time. The video acquisition source information comprises a camera stream, a screen sharing stream, a spot video stream, a spot audio stream or a local virtual camera stream, the video acquisition sources are all pushed to a server in a WebRTC stream mode, namely the server pulls the content packaged in the acquisition stage in a WebRTC stream mode, wherein the camera stream refers to a video stream acquired by a camera, the screen sharing stream refers to a video stream acquired by acquiring a computer screen, the virtual camera is a video stream simulated by software, the spot video stream refers to a video stream acquired by pushing a video file in a format of MP4 and the like, the spot audio stream refers to a video stream acquired by pushing an audio file in a format of MP3 and the like, for example, a teacher plays a demonstration video for students in a class, if the video is recorded in a screen recording mode, a lot of useless information in the screen can be recorded into the video, at this time, the source file of the video can be directly pushed to obtain the video stream.
The user type information comprises teachers, students, stealthers or education assistants, and is a person who participates in class and class pushing, the time for monitoring the client side of the teachers to start the class pushing event is used as the class starting time, and the time for monitoring the client side of the teachers to finish the class pushing event is used as the class ending time. The video acquisition equipment information comprises a Web end or a mobile end, the video size ratios acquired by different acquisition equipment are different, and the video size can be automatically adjusted or the user is prompted to adjust the video size when the user plays back the video, so that a better playing effect is achieved. The video starting time of each video file is the absolute time of the time for monitoring the client to start the stream pushing event relative to the course starting time, the video ending time is the absolute time of the time for monitoring the client to end the stream pushing event relative to the course starting time, the absolute time is recorded, and a plurality of videos can be guaranteed to be synchronously played according to the absolute time when the videos are played.
It is noted that there may be some students in the class who choose not to push WebRTC stream to the server for privacy or other considerations, in which case only the class time and class time of the student are recorded, and the video recording is not performed on the student.
In addition, referring to fig. 2, the method for playing back the lesson further includes: the server side synthesizes a plurality of WebRTC streams into a video file according to a preset layout template and video starting time and video ending time corresponding to each WebRTC stream based on a streaming media technology, acquires identification information of the synthesized video file, and correspondingly stores the synthesized video file and the identification information. The layout template is set in a form of specifying coordinates, please refer to fig. 3, a window may be divided into a plurality of small windows according to the number of WebRTC streams and coordinates are set, then a video file of a teacher is specified to be accessed into the window 1, video files of other users are sequentially accessed into other windows according to the class time, and then the WebRTC streams of all users are combined into an MP4 video file to be provided for the user to select.
The recorded video file and the corresponding identification information are structured data, so that a MySQL database is adopted for storage, the MySQL database is small in size, high in speed and low in total cost of ownership, and the video file and the identification information can be correspondingly and structurally stored.
After recording and storing are completed, when a user wants to watch and play back, the user can select a video file that the user wants to watch based on the identification information corresponding to the video file, and the user can freely move the positions of the teacher video and the student video and also can freely select whether to close the video which is currently played. For example, only the video file of the teacher is played, or the video files of all the interactive users are played, or only the synthesized video file is played. In the playing process, please refer to fig. 4, the video selected by the user for playback is played according to the video start time corresponding to the video file selected by the user and the user-defined layout style by using the course start time to the course end time as a time axis, and the video start time corresponding to each video file is an absolute time relative to the course start time, so that the video files started to be played at the corresponding absolute time points by using the course start time to the course end time as the time axis ensure that the videos are synchronized, thereby ensuring that the videos between the interdynamic persons are synchronized.
Example two
The embodiment provides a server for curriculum playback, wherein a server end comprises a monitoring module, a recording module, a storage module and a pushing module, wherein the monitoring module is used for monitoring a WebRTC stream pushed by each client end during a lesson period; the recording module is used for respectively recording each WebRTC stream into a video file based on a streaming media technology, acquiring identification information of the video file, and storing the video file and the identification information into the storage module in a one-to-one correspondence manner; the push module is used for pushing the video file selected by the user for playback to the client of the user and playing the video file according to the layout style defined by the user.
By adopting the course playback method in the first embodiment, the server for course playback provided by the invention records the plug stream of each person into an individual video during recording, so that the watching objects can be flexibly selected and the playback layout can be adjusted. Compared with the prior art, the beneficial effect of the server for course playback provided by the embodiment of the present invention is the same as that of the method for course playback provided by the first embodiment, and other technical features of the server for course playback are the same as those disclosed in the method of the previous embodiment, which are not described herein again.
EXAMPLE III
The embodiment provides a client for course playback, which comprises a stream pushing module and a playback module, wherein the stream pushing module is used for pushing a WebRTC stream to a server; the playback module is used for receiving a video file selected by a user for playback and playing the video file according to a layout style defined by the user, wherein the video file is obtained by respectively recording each WebRTC stream by a server terminal based on a streaming media technology, and the video file and corresponding identification information are stored in a storage module of the server.
By adopting the course playback method in the first embodiment, the server for course playback provided by the invention records the plug stream of each person into an individual video during recording, so that the watching objects can be flexibly selected and the playback layout can be adjusted. Compared with the prior art, the beneficial effect of the server for playing back the courses provided by the embodiment of the present invention is the same as that of the method for playing back the courses provided by the first embodiment, and other technical features of the server for playing back the courses are the same as those disclosed in the method of the previous embodiment, which are not described herein again.
Example four
An electronic device, the electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for lesson playback of the first embodiment.
Referring now to FIG. 5, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device may include a processing means (e.g., a central processing unit, a graphic processor, etc.) that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage means into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device, the ROM, and the RAM are connected to each other by a bus. An input/output (I/O) interface is also connected to the bus.
Generally, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, and the like; output devices including, for example, Liquid Crystal Displays (LCDs), speakers, vibrators, and the like; storage devices including, for example, magnetic tape, hard disk, etc.; and a communication device. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is to be understood that not all illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The electronic device provided by the invention adopts the course playback method in the first embodiment, and the plug stream of each person is recorded into an individual video during recording, so that the watching objects can be flexibly selected and the playback layout can be adjusted. Compared with the prior art, the beneficial effect of the electronic device provided by the embodiment of the present invention is the same as that of the course playback method provided by the first embodiment, and other technical features of the electronic device are the same as those disclosed in the method of the previous embodiment, which are not repeated herein.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of a unit does not in some cases form a limitation on the unit itself, for example, the stream pushing module may also be described as a "module for pushing WebRTC stream to the server side".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A method for lesson playback, comprising:
the server side monitors WebRTC streams pushed by each client side during the class period;
The server side records each WebRTC stream into a video file based on a streaming media technology, acquires identification information of the video file, and stores the video file and the identification information in a one-to-one correspondence manner; the identification information comprises video acquisition source information, user type information, video acquisition equipment information, video starting time and video ending time;
the server side pushes the video file played back by the user to the client side of the user, and the video file is played according to the layout style defined by the user;
the playing of the video file by the server according to the user-defined layout style comprises the following steps:
playing the video selected by the user to be played back according to the video starting time corresponding to the video file selected by the user and the layout style defined by the user by taking the course starting time to the course ending time as a time axis; and the time for monitoring the client of the teacher to start the stream pushing event is used as the starting time of the course; the time for monitoring the client end of the teacher to finish the plug-flow event is used as the course end time; monitoring the absolute time of the time of starting the stream pushing event of the client relative to the course starting time as the video starting time; and monitoring the absolute time of the client end of the push stream event relative to the course starting time as the video end time.
2. The method for lesson playback as claimed in claim 1, wherein the video capture source information comprises a camera stream, a screen sharing stream, a video insertion stream, an audio insertion stream, or a local virtual camera stream;
the user type information comprises teachers, students, stealthers or education aids;
the video acquisition equipment information comprises a Web end or a mobile end.
3. The method for lesson playback as recited in claim 2, further comprising:
and the server side synthesizes a plurality of WebRTC streams into a video file according to a preset layout template and the video starting time and the video ending time corresponding to each WebRTC stream based on the streaming media technology, acquires the identification information of the synthesized video file, and correspondingly stores the synthesized video file and the identification information.
4. The method for lesson playback as claimed in claim 3, wherein said layout template is set in the form of designated coordinates.
5. A server for playing back courses is characterized in that the server comprises a monitoring module, a recording module, a storage module and a pushing module, wherein,
the monitoring module is used for monitoring the WebRTC stream pushed by each client during the course;
The recording module is used for recording each WebRTC stream into a video file based on a streaming media technology, acquiring identification information of the video file, and storing the video file and the identification information in the storage module in a one-to-one correspondence manner; the identification information comprises video acquisition source information, user type information, video acquisition equipment information, video starting time and video ending time;
the push module is used for pushing the video file selected by the user for playback to the client of the user and playing the video file according to the layout style defined by the user;
the playing of the video file by the server according to the user-defined layout style comprises the following steps:
playing the video selected by the user for playback according to the video starting time corresponding to the video file selected by the user and the layout style defined by the user by taking the time from the course starting time to the course ending time as a time axis; and the time of monitoring the client of the teacher to start the stream pushing event is taken as the starting time of the course; the time for monitoring the client end of the teacher to finish the plug-flow event is used as the course end time; monitoring the absolute time of the time of starting the stream pushing event of the client relative to the course starting time as the video starting time; and monitoring the absolute time of the client end of the push stream event relative to the course starting time as the video end time.
6. The client for curriculum playback is characterized by comprising a flow pushing module and a playback module, wherein,
the streaming pushing module is used for pushing the WebRTC stream to the server side;
the playback module is used for receiving a video file selected by a user for playback and playing the video file according to the video starting time corresponding to the video file selected by the user and a layout style defined by the user; wherein, playing the video file according to the layout style defined by the user comprises: playing the video selected by the user to be played back according to the video starting time corresponding to the video file selected by the user and the layout style defined by the user by taking the course starting time to the course ending time as a time axis; and the time of monitoring the client of the teacher to start the stream pushing event is taken as the starting time of the course; the time for monitoring the client end of the teacher to finish the plug-flow event is used as the course end time; monitoring the absolute time of the client end for starting the stream pushing event relative to the course starting time as the video starting time; monitoring the absolute time of the client end of the stream pushing event relative to the course starting time as the video end time; the video file is obtained by respectively recording each WebRTC stream by the server side based on a streaming media technology, and the video file and corresponding identification information are stored in a storage module of the server; the identification information comprises video acquisition source information, user type information, video acquisition equipment information, and video start time and video end time.
7. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for lesson playback of any of claims 1-5.
CN202110210838.3A 2020-12-31 2021-02-25 Course playback method, server, client and electronic equipment Active CN113055624B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011627163 2020-12-31
CN2020116271634 2020-12-31

Publications (2)

Publication Number Publication Date
CN113055624A CN113055624A (en) 2021-06-29
CN113055624B true CN113055624B (en) 2022-06-14

Family

ID=76509147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110210838.3A Active CN113055624B (en) 2020-12-31 2021-02-25 Course playback method, server, client and electronic equipment

Country Status (1)

Country Link
CN (1) CN113055624B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025185A (en) * 2021-10-28 2022-02-08 杭州网易智企科技有限公司 Video playback method and device, electronic equipment and storage medium
CN114189704A (en) * 2021-12-08 2022-03-15 北京有竹居网络技术有限公司 Video generation method and device, computer equipment and storage medium
CN114286164B (en) * 2021-12-28 2024-02-09 北京思明启创科技有限公司 Video synthesis method and device, electronic equipment and storage medium
CN114554234A (en) * 2022-01-18 2022-05-27 阿里巴巴(中国)有限公司 Method, device, storage medium, processor and system for generating live broadcast record
CN116132751A (en) * 2022-12-30 2023-05-16 郑州小鸟信息科技有限公司 Method and system for synchronous playback based on web window scene

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442647A (en) * 2008-12-30 2009-05-27 北京中星微电子有限公司 Control method for video playback and localization of video monitoring system and storage server thereof
CN105659620A (en) * 2013-08-30 2016-06-08 斯科林娱乐技术公司 Video display system
CN106448297A (en) * 2016-07-21 2017-02-22 山东共达信息技术有限公司 Cloud audio-video remote interactive class system
US10362173B2 (en) * 2017-05-05 2019-07-23 Sorenson Ip Holdings, Llc Web real-time communication from an audiovisual file
CN110198478A (en) * 2019-05-10 2019-09-03 广州视源电子科技股份有限公司 Interaction recorded broadcast method, system, client, device, equipment and storage medium
CN110677696A (en) * 2019-09-10 2020-01-10 南京清豆华创科技有限公司 Live broadcast interaction system and method, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540026B (en) * 2014-12-22 2018-02-09 杭州施强教育科技有限公司 A kind of class offerings video recording and back method and system
CN111008312A (en) * 2018-10-08 2020-04-14 上海风创信息咨询有限公司 Course reviewing method and system suitable for network teaching
CN109168076B (en) * 2018-11-02 2021-03-19 北京字节跳动网络技术有限公司 Online course recording method, device, server and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442647A (en) * 2008-12-30 2009-05-27 北京中星微电子有限公司 Control method for video playback and localization of video monitoring system and storage server thereof
CN105659620A (en) * 2013-08-30 2016-06-08 斯科林娱乐技术公司 Video display system
CN106448297A (en) * 2016-07-21 2017-02-22 山东共达信息技术有限公司 Cloud audio-video remote interactive class system
US10362173B2 (en) * 2017-05-05 2019-07-23 Sorenson Ip Holdings, Llc Web real-time communication from an audiovisual file
CN110198478A (en) * 2019-05-10 2019-09-03 广州视源电子科技股份有限公司 Interaction recorded broadcast method, system, client, device, equipment and storage medium
CN110677696A (en) * 2019-09-10 2020-01-10 南京清豆华创科技有限公司 Live broadcast interaction system and method, equipment and storage medium

Also Published As

Publication number Publication date
CN113055624A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN113055624B (en) Course playback method, server, client and electronic equipment
KR101934932B1 (en) Network training recording and playback method and system
CN108989691B (en) Video shooting method and device, electronic equipment and computer readable storage medium
WO2020233142A1 (en) Multimedia file playback method and apparatus, electronic device, and storage medium
CN109168076B (en) Online course recording method, device, server and medium
US10638082B2 (en) Systems and methods for picture-in-picture video conference functionality
CN109168021B (en) Plug flow method and device
CN104540026A (en) Lesson content video recoding and replaying method and system
JP6280215B2 (en) Video conference terminal, secondary stream data access method, and computer storage medium
CN111131891A (en) Audio and video playing method and device, playing equipment and system
CN113992926B (en) Interface display method, device, electronic equipment and storage medium
CN102663907B (en) Video teaching system and video teaching method
CN110149528B (en) Process recording method, device, system, electronic equipment and storage medium
CN114095747B (en) Live broadcast interaction system and method
WO2022218109A1 (en) Interaction method and apparatus, electronic device, and computer readable storage medium
CN105913698B (en) Method and device for playing course multimedia information
CN112565807B (en) Method, apparatus, medium and computer program product for live broadcast in a local area network
CN104504948A (en) Method and device for displaying pushed course for intelligent teaching system
EP2455872A1 (en) Client device, information processing method, and information processing system
CN113891108A (en) Subtitle optimization method and device, electronic equipment and storage medium
CN111081101A (en) Interactive recording and broadcasting system, method and device
CN112330996A (en) Control method, device, medium and electronic equipment for live broadcast teaching
CN114120729B (en) Live teaching system and method
CN114038255B (en) Answering system and method
CN113473168B (en) Live broadcast method and system, live broadcast method executed by portable device and portable device

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
GR01 Patent grant
GR01 Patent grant