B / S (Browser / Server) architecture-based interactive online real-time recording and broadcasting system

The interactive online real-time recording and broadcasting system based on B/S architecture solves the problems of high bandwidth, high delay and poor interactivity of the existing online live broadcast system, and achieves a low-latency, high-definition, cross-platform recording and broadcasting experience, supporting Flexible interaction and multimedia resource display improve user experience and content sharing capabilities.

CN118612358APending Publication Date: 2024-09-06杨园章
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311754188.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing online live broadcast systems require high bandwidth, high latency, high costs, difficult maintenance, lack of interactivity, and cannot achieve content reuse, retrieval and editing, and rely on specific hardware and software, which limits usage scenarios and user experience. .

Method used

It adopts an interactive online real-time recording and broadcasting system based on B/S architecture, separates the processing of operation records and blackboard writing processes through the HTML content editor and canvas module, supports multimedia resource display, and achieves low-latency, high-definition, and cross-platform recording and playback. , supports real-time interaction and secondary editing, and uses template elements and websocket technology to optimize file management and interactive functions.

Benefits of technology

It achieves a low-traffic, smooth, small file, and high-definition recording and broadcasting experience, supports flexible interaction and multiple resource display, reduces hardware dependence, provides efficient file management and editing functions, and improves user experience and content sharing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612358A
    Figure CN118612358A
Patent Text Reader

Abstract

The invention discloses an interactive online real-time recording and broadcasting system based on a B / S (Browser / Server) architecture, which can provide convenient, efficient, smooth and interactive recording and broadcasting experience. Through the innovative operation recording, blackboard writing process and content separation processing technology and in combination with the preset elements, the content manufacturing difficulty is greatly reduced, and the display effect can be effectively improved. The system has the characteristics of low delay, high definition, small recorded file and cross-platform, and supports real-time interaction and secondary editing functions. When no operation is carried out, the system only records sound data, and the recording and broadcasting efficiency is improved. The method can be widely applied to the scenes of education informatization, online education, teleconference, live teaching and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an interactive online real-time recording and broadcasting system based on a B / S architecture, and in particular to a technology for separating and processing operation records, blackboard writing processes and contents, and combining preset elements, which can not only greatly reduce the difficulty of content production, but also improve the display effect, while also reducing the size of recorded files. The system has the characteristics of low latency, high definition, small recorded files, and cross-platform, supports real-time interaction and secondary editing, and can be widely used in the fields of educational informatization, online education, remote conferencing, live teaching, etc. Background Art

[0002] With the rapid development of digital technology, online learning has become the first choice for more and more people, and live broadcasting is widely popular. However, existing online live broadcast systems usually use video streaming, which requires high bandwidth, high latency, and high server requirements, making it costly and difficult to maintain. This traditional live broadcast method also lacks interactivity, making communication and feedback difficult, affecting learning outcomes. In addition, the inability to reuse, retrieve, and edit content limits content sharing and dissemination. At the same time, live broadcasting requires the installation of dedicated software and hardware equipment, which increases the threshold and difficulty of use.

[0003] Existing document 1 (publication number CN103646573A, publication date 2014.03.19) discloses a method for generating a special format file of a panoramic mode teaching system, wherein the teaching system includes a panoramic courseware production system, which obtains the actions, voices, course materials of a teacher or an interactor, and the time data corresponding to when the above data is obtained; the actions include: inserting text or pictures, demonstrating the experimental process, drawing lines, drawing geometric figures, blackboard eraser tools or small blackboard tools, and is characterized in that the teaching system obtains the real-time voice of the teacher or the interactor through a microphone, and at the same time collects the teacher or the interactor's voice on the current system interface through a mouse, keyboard, writing board or electronic whiteboard. Action, and perform data analysis on the action to obtain the time when the action occurs, the path generated by the action, the additional data carried by the action and the action type data, and record them in chronological order. The actions are divided into handwriting type, media type and data type. The handwriting type, media type and data type data all include two parts: a path part and a data part. For handwriting type actions, the path part completely records the physical coordinate sequence of the action path, and the data part is not enabled. For media type actions, the path part records the coordinates of the multimedia file appearing in the courseware, and the data part records the physical address of the multimedia file. For data type actions, the path part records the coordinates of the data when it is used in the courseware, and the data part writes the complete binary data stream of the file.

[0004] Existing document 2 (publication number CN104156079A, publication date 2014.11.19) discloses a learning trajectory recording method, which is characterized by including triggering a learning action; obtaining learning action information and associating it to generate a learning trajectory; and sending the learning trajectory to a trajectory recording server.

[0005] Existing document 3 (publication number CN105261252A, publication date 2016.01.20) discloses a real-time action rendering method based on a panoramic learning platform system, wherein the panoramic learning platform system includes three parts: a teacher client, a central server and a student client, and is characterized in that the real-time action rendering method is as follows: first, the teacher client identifies different classroom explanation actions of the teacher, obtains the action type, and collects the position coordinates and action feature code of the explanation action, and records the teacher's explanation voice at the same time, and forms a binary data stream with the action position coordinates, action feature code and explanation voice when the explanation action occurs, together with the explanation action type and the time when the explanation action occurs, through the central server for remote data transmission or generating a file for storage. After the student client receives the binary data stream, it parses and reads the action type, action feature code, action coordinate position and explanation voice when the explanation action occurs in the data through the panoramic learning platform system of the student client, and renders it in real time on the display in the time data sequence, so as to realize real-time reproduction of the picture of the lecture process.

[0006] Existing document 4 (publication number CN105405325A, publication date 2016.03.16) discloses a network teaching method for a network teaching system including multiple user terminals and servers, which communicate through a network, including the following steps: a data acquisition step for acquiring image data, application data and / or audio data on a user terminal during the network teaching process, the acquired data being used for synchronous display and real-time recording; a synchronous display step for automatically synchronously displaying or transmitting the acquired data to other user terminals; a real-time recording step for saving the acquired data separately to a database so that the user can play back the teaching process on demand; and an on-demand playback step for transmitting the saved acquired data to the user according to the user's request and combining it on the user's terminal to reproduce the teaching process.

[0007] In summary, by adopting the above technologies, the quality of recording and broadcasting can be significantly improved, and the user experience can be enhanced to a certain extent. In particular, there are significant improvements in interactivity and fluency. These improvements can further expand the application scenarios of recording and broadcasting, and bring better audio-visual experience to more users.

[0008] In the prior art, these recording or playing methods have the following defects: 1. Specific hardware or software is required, which increases the difficulty and threshold of use; 2. It can only record blackboard writing and audio recording, but cannot process or display multimedia resources. It has great limitations and cannot meet the diverse needs of users; 3. It can only realize simple recording and interaction based on blackboard writing, with a single form and poor interactivity; 4. The recording method is limited, and the problem of repeated erasing of the blackboard area cannot be avoided as with traditional blackboard writing; 5. By compressing the data stream, the compression ratio is very limited, and some of them use obsolete flash technology; 6. The recording files are too large, which may cause problems such as lag and high latency, and cannot meet the needs of large-scale usage scenarios; 7. It has high requirements on the server, occupies a large storage space, requires high bandwidth, consumes a lot of traffic, and cannot meet normal needs.

[0009] Therefore, there is an urgent need for a new recording and broadcasting system that can achieve low traffic, low latency, smoothness, small file size, high clarity, support flexible interaction and multiple resource display, and has no dependence on hardware, cross-platform support, and supports both live broadcast and on-demand without changing the current user operating habits.

[0010] In addition, the system should also have efficient file management, indexing, and editing functions so that users can easily find, access, and use them; such an excellent recording and broadcasting system will greatly promote the development of online learning and live broadcast industries, bringing users more convenient and efficient learning and communication experience, and is also in line with the current development trend of digital learning and educational informatization. Summary of the invention

[0011] In view of the defects in the prior art, the present invention provides an interactive online real-time recording and broadcasting system based on B / S architecture, including a content module, a recording module, a storage module, a live broadcast module, an interaction module, an editing module, a display module, a playback module, and an analysis module; The content module is used to carry the content to be displayed. It consists of an HTML content editor and a canvas. The HTML content editor is responsible for managing the input, typesetting, editing and deletion of text, pictures, audio, video, tables and template elements. The canvas is responsible for drawing. Based on its drawing API, it encapsulates visualization tools for writing, drawing lines, graphics, charts, animations, marking key points, difficult points, error-prone points, annotations, and deletion, undo and recovery operations. The height of the container where the HTML content editor is located is automatically adjusted with the content, and the height can be extended vertically. When the height of the page is exceeded, a vertical scroll bar appears. In order to make different devices compatible, the width can only be selected from 1024, 1920, 2560, and 3840. The width is fixed but the height is not fixed, so as to ensure that the presentation end and the display end are adapted and the content display is completely consistent. The height of the canvas automatically synchronizes the height of the HTML content editor, and the width is equal to the width of the HTML content editor. Fixed positioning is used to float on the upper layer of the HTML content editor and completely cover the HTML content editor. Through the combination of the HTML content editor and the canvas, the entire page can be extended vertically, and any content can be displayed and written without There will be page turning or cross-page, so the content can be displayed more completely, there will be no blackboard wiping, and it can be edited directly online. Template elements can make each element of the page have animation effects and interactive functions. Through the template setting panel, users can further customize the style, layout and attributes, which greatly facilitates the presenter to quickly create personalized display content. At the same time, because it is based on CSS and JS, each template element only needs very little HTML, and even if it is used in large quantities, it will not increase the size of the recording file. In addition, resources with path attributes inserted in the page, such as audio and video, only reference their paths. There are three advantages of referencing paths. First, during playback, users can selectively decide whether to load these resources, especially in scenarios where the network is not very good or stream saving is required. Second, it can reduce the size of the recording file. Third, audio and video resources themselves can hardly be compressed. If they are directly inserted into the recording file, it will undoubtedly increase the file size. Instead, referencing will not only not increase the size of the final recording file, but these audio and video resources only occupy storage space once, and can also be called in different recording occasions in the form of materials, which saves storage space to a large extent and improves resource utilization. It is especially suitable for information-based teaching scenarios; The recording module is used to record the operations, voices, and static resource contents of the presenters and interactors, and bind the operations, static resource contents, user roles, user IDs, and current voice duration (the voice here refers to the main sound throughout the entire recording, that is, the voice of the presenter, and the voice also acts as a time axis in milliseconds), generate json data, and send it to the server through websocket with the voice data. The benefits of binding with the voice duration and user ID are, first, that it can support the input of multiple content channels, and second, that it can independently control whether to display and play during playback, including the operations and voice data of the interactors; The storage module is used to receive, process and store the recorded broadcast data, and the recorded broadcast data including: operation data, interactive data, sound data, and editing data are stored in the corresponding directories in the form of temporary files. This has the following effects: first, the recording can be resumed in case of interruption; second, the files can be merged and the temporary files can be deleted to save space at the end of the recording; third, it is convenient for distributed storage and reduces database operations. It is only necessary to write the corresponding data into the database at the beginning and end of the recording for on-demand use. The data of the presenter and the interactor will be stored together and finally merged together to form a complete recorded broadcast file, and the data edited by the viewer for the second time will be saved in the directory created by the user id, and this part of the data can only be accessed by the current user himself; The live broadcast module is used to send the real-time data of the presenter and the interactor to the server and broadcast it to all users. After receiving the data, the voice is parsed and played, and the operation is restored according to the order and type of the data, and the browser is rendered and displayed in real time to realize the interactive live broadcast function. In the live broadcast state, the viewer can slide the vertical scroll bar to review the previously spoken content, providing a better user experience for the viewer; The interactive module allows the presenter and the audience to interact during the live broadcast. The presenter can ask the audience to answer questions, conduct questionnaires, connect to the microphone, operate on the same screen, and lock the viewer's interface, microphone, camera, keyboard or mouse. The viewer can raise his hand, ask questions, connect to the microphone or operate on the same screen. The editing module is used to organize or edit the recorded content after the recording and broadcasting is completed. The presenter further organizes the marked key points, difficult points, error-prone points, and annotations, and adds corresponding explanations. The content organized by the presenter can be seen by all viewers. The viewer can perform secondary editing based on the recorded content to form his own unique notes, which can be perfectly integrated into the recording and broadcasting process. All the data of the viewer is visible only to himself. The display module generates a complete picture of the entire page content at the end of the recording and broadcasting demonstration, so that even if the user does not watch the entire recording and broadcasting process, the user can intuitively understand the result of the entire recording and broadcasting through the picture. The key points, difficult points, easy-to-make mistakes and annotations marked during the demonstration will float on the picture. The user can click on these marks to choose to view the corresponding explanatory content or jump to the explanation playback position where the mark is located, or switch to the pure content mode to view all marked and annotated contents in text form; The playback module is used to parse the received data, play the voice, restore the operation according to the order and type of the data, and render and display it in real time on the browser side; during playback, the user can control the play, fast forward, slide the vertical scroll bar position of the page, pause, stop, volume, and click the mark to jump to the playback position, and can individually control whether to start the voice and operation demonstration of one or more users, including the presenter and himself. The user can also switch the theme, including background style, font color, contrast, page style, toolbar position, local zoom, etc. The analysis module is used to analyze the feedback, interaction, number of likes, answer statistics, questionnaire statistics, number of views, evaluation and popularity of the recorded content. For the presenter, the feedback analysis can help the presenter understand the viewers' evaluation and feedback on the demonstration content, so as to better improve his or her demonstration content and skills; the interactive statistical data can help the presenter better understand the viewers' interests and reactions, so as to adjust the demonstration strategy; the number of likes, number of views, evaluation and popularity analysis can let the presenter understand the viewers' preference and recognition of the demonstration content, so as to better adjust his or her demonstration content and method; the viewers can obtain information such as the quality, number of views, evaluation, popularity and other information of the recorded content from the analysis module, so as to decide whether they need to watch the content.

[0012] On the basis of the above technical scheme, the interactive online real-time recording and broadcasting system based on B / S architecture has the advantages of being cross-platform and free from terminal restrictions, hardware constraints, no need to install any plug-ins, and cross-platform use; 2. The content is based on native HTML, there is no clarity problem, it can be edited online without relying on third-party software, and the content can be retrieved and supports indexing function; 3. It can support flexible interaction methods, support multi-person interaction, and the interactive data can be individually controlled to be displayed during playback; 4. Zero learning cost, and high-quality content display pages with rich animation effects and interactive functions can be quickly built; 5. The file is small, stream-saving, smooth, low-latency, and storage space-saving; 6. It supports speaker mode, and the presenter's speech information will not be broadcast to the viewer; 5. The content in the display area is not paging, and there is no need to erase the blackboard, and the content can be fully displayed; 6. It breaks the traditional video playback method. Users can view it horizontally (by progress bar) or vertically (page vertical scroll bar). Users can review the previous and next content through the vertical scroll bar in the playback or pause state, which greatly facilitates user understanding and learning. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is a schematic diagram of the recording and broadcasting system demonstration end, where 1 is the container where the HTML content editor is located, 2 is the canvas layer, 3 is the screen visible area, 4 is the vertical scroll bar, 5 is the height of the page scrolling out of the screen, 6 is the screen visible height, 7 is the toolbar, 8 is the sound recording, 9 is the template element attribute setting panel, and 10 is a floating layer; Figure 2 It is a schematic diagram of the process of collecting blackboard data, where 1, 2, and 3 represent coordinate positions, 4 is the height of the page scrolling out of the screen, 5 is the y-axis vertical height of point 1 from the origin of the upper left corner of the screen, 6 is the x-axis horizontal width of point 1 from the origin of the upper left corner of the screen, 8 is the canvas drawing layer, 9 is the sound recording progress bar, 10 is the vertical scroll bar, and 11 is the screen visible area; Figure 3 It is a flowchart of the operation of the entire recording and broadcasting system. Implementation

[0014] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be described clearly and completely below. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0015] The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.

[0016] Figure 1 This is a schematic diagram of the demonstration end of the recording and broadcasting system. 1 is the HTML content editor, and 2 is the canvas used for writing and drawing. When using text tools, the canvas style is set to pointer-events:none, and when using drawing tools, the style is restored to pointer-events: auto, so that they can be superimposed on each other without interfering with each other. In the HTML content editor, when you operate the cursor, whether you click anywhere or select a piece of text, the system will record the specific position of the cursor in the HTML content editor. For example, when you select a piece of text, the recording module will obtain the currently selected tool type and the paragraph, line, and element where the text starts, including an array generated across paragraphs, lines, and tags. The recording module will combine the collected data and the length of the audio file into a json file and send it to the server at regular intervals. The server will store the received data and broadcast it to all viewing users. After receiving the data, the user end will perform the corresponding selection operation. All operations involving text addition, modification, and deletion are based on the premise of text selection. On the browser side, although the events triggered by the mouse and keyboard have been obtained, including specific event types such as click events, move events, keyboard key events, etc., the browser does not allow the corresponding operations to be restored programmatically. This is to prevent malware or scripts from performing improper behaviors by simulating mouse operations. However, it can be triggered by writing corresponding methods. For example, an id is bound to each element. When an element is clicked, the recording module records the event tool as the selection tool, the event type as click, and the event id as the element id, user id, and the recording duration. The generated json is sent to the server. The server stores the received data and broadcasts it to all viewing users. After receiving the data, the viewer calls the execution method to trigger the click event of the corresponding id, thereby restoring the corresponding operation. Since it is impossible to call real mouse operations, including movement, through programming in the browser, the mouse trajectory of the presenter is generated by binding the coordinate data and the recording duration to json data. After broadcasting to the viewing users, the user end uses a layer with a mouse shape to set it to fixed position, and changes the left and top according to the parsed json data to simulate the trajectory of the mouse movement; In the recording and broadcasting system, we have built-in template elements. By dragging and dropping the template, you can quickly create a page based on HTML, with dynamic effects and special effects and supporting interaction. In addition, the style and attributes of each element can be customized according to user needs, such as font color, size, animation method, interaction method, border style, shadow style, transparency, etc. This makes the production process of speech content easier, and no longer needs to rely on traditional software such as Word, PDF or PPT. The interface designed with template elements is also more exquisite, and it has the advantages of these software. The pages produced in this way can not only provide a better user experience, but also make the speech content more vivid and fascinating.

[0017] Figure 2 This is a schematic diagram of the process of collecting blackboard writing. The process of obtaining blackboard writing records is as follows: Step 1, click to select a brush tool, the recording function captures four data, namely the mouse pressed status code, brush tool ID, user ID, and mouse released status code; Step 2, click in the blackboard area to get the starting point as shown in Figure 1, and the recording function captures five data, namely the mouse pressing status code, the horizontal width of the starting point relative to the left side of the browser as shown in Figure 6, the vertical height of the starting point relative to the top of the browser as shown in Figure 7, the user ID, and the current voice recording duration as shown in Figure 9; Step 3, keep the mouse pressed and move the mouse to draw the path. As shown in the figure, 2 and 3 represent the coordinate points in the drawing process. The path is realized by connecting countless coordinate points. The recording function captures five data of each coordinate point, which are the status code of the mouse being pressed and moved, the horizontal width of the coordinate point relative to the left side of the browser as shown in the figure 6, the vertical height of the coordinate point relative to the top of the browser as shown in the figure 5 plus the invisible height outside the browser as shown in the figure 4, the user ID, and the current voice recording duration as shown in the figure 9; According to the characteristics of the browser, 1000 events are triggered per second when drawing on the canvas. If each event is processed and recorded, it will undoubtedly seriously affect the performance and generate a lot of redundant data. Through repeated experiments, we concluded that it is more reasonable to trigger an event every 300 milliseconds or so. From the original 1000 times per second, it is reduced to only recording nearly 3 times, that is, the time taken from coordinate point 1 to coordinate point 3 is 1 second. At this time, if it is rendered, the dotted line part from coordinate point 1 to coordinate point 2 and then to coordinate point 3 is obtained. In order to achieve a smooth effect, Bezier curves are used to connect every three points, so that the line presents a smoother effect when connecting these points. The specific implementation method is as follows: Suppose there is a series of points A, B, C, D... that need to be connected in sequence.

[0018] For every three adjacent points, take B as the starting point and smooth the straight line segment between B and C.

[0019] According to B, C and the adjacent points before and after, use the formula of the Bezier curve to calculate a smooth curve segment to connect points B and C.

[0020] Repeat the above method to process three adjacent coordinate points in turn until all points are connected.

[0021] Step 4, when the mouse is released, the recording function captures three data, namely the status code of the mouse release, the user ID, and the current voice recording time as shown in Figure 9; The data captured by the recording function will be assembled into JSON format. Each piece of data contains the value representing each tool, the mouse status code, the data generated by the mouse event, the user ID, the voice recording duration, etc.

[0022] This design has the following advantages: First, it supports multi-party data interaction during the live broadcast, and there is no need to worry about data confusion; Second, if the recording is interrupted unexpectedly due to some reasons, the recording can be continued from the last recording position; Third, it is easy to merge the data together when the recording is finished; Fourth, when fast-forwarding during playback, the starting point can be quickly located. For example, when drawing a line segment, if the fast-forward position is at the end point, that is, there is no starting point, such a line segment obviously does not exist. Therefore, when encountering such data during fast-forwarding, it is necessary to find its starting point data and start drawing from the starting point data; Fifth, during playback, you can individually control whether to enable the voice and operation of one or more users.

[0023] File storage method and structure description: Each recording will generate a unique recording directory, which contains the data of the presenter and the interactor, and these data are merged together; The edited data of the viewer during playback is stored in a directory named after the user ID. When the user finishes editing, the final data will be merged together.

[0025] With this design, the recording and editing processes hardly involve database reading and writing, and the data that needs to be stored in the database is also very small. The necessary data is the presenter ID, the course title, and the course path, that is, the directory where the course is located. The data edited by the viewer is only visible to himself, so there is no need to write it to the database. During playback, the program obtains once whether there is a directory named by the user ID in the directory. If there is, the fixed format and named data are obtained. If not, it is ignored.

[0026] The advantages of the present invention over the existing recording and broadcasting methods are: The present invention is different from video streaming technology. It only records operation data triggered by the user and only records sound data when there is no operation. The traditional recording data of a 45-minute class is about 1.5G. If multiple definition versions are stored at the same time, the volume will be doubled. The recording file finally generated by the present invention is only about 10MB to 15MB, which truly achieves 3k per second and the delay can be reduced to millisecond level.

[0027] When using the present invention for live viewing or playback, the system essentially restores the HTML to the viewer's end, so it has the characteristics of HTML being directly editable, copied, and saved, and all operations are restored synchronously, that is, the drawing is actually synchronously drawn on the viewer's browser, so there is no need to worry about clarity issues.

[0028] It should be noted that, in this application, relational terms such as "one is" and "the other is" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants are intended to cover non-exclusive inclusion, so that a process, mode, or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, mode, or method. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, mode, or method including the elements.

[0029] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. An interactive online real-time recording and broadcasting system based on B / S architecture, including content module, recording module, storage module, live broadcast module, interactive module, editing module, display module, playback module, and analysis module; The content module is used to carry the content to be displayed. It consists of two parts: HTML content editor and canvas. HTML content editor is responsible for managing the input, typesetting, editing and deletion of text, pictures, audio, video, tables and template elements. Canvas is responsible for drawing. It encapsulates visualization tools based on its drawing API and is used to write, draw lines, graphics, charts, animations, mark key points, difficult points, easy-to-make mistakes, comments, and delete, undo and restore operations; The recording module is used to record the operations, voices, and static resource contents of the presenters and interactors, bind the operations, static resource contents, user roles, user IDs, and current voice duration, generate json data, and send them to the server through websocket together with the voice data; The storage module is used to receive, process and store recorded and broadcasted data; The live broadcast module is used to send the real-time data of the presenter and the interactor to the server and broadcast it to all users. After receiving the data, it parses and plays the voice, restores the operation according to the order and type of the data, and renders and displays it in real time on the browser side to realize the interactive live broadcast function; The interactive module allows the presenter and the audience to interact during the live broadcast. The presenter can ask the audience to answer questions, conduct questionnaires, connect to the microphone, operate on the same screen, and lock the viewer's interface, microphone, camera, keyboard or mouse. The viewer can raise his hand, ask questions, connect to the microphone or operate on the same screen. The editing module is used to organize or edit the recorded content after the recording and broadcasting is completed. The presenter further organizes the marked key points, difficult points, error-prone points and annotations, and adds corresponding explanations. The viewer can perform secondary editing based on the recorded content; The display module generates a complete picture of the entire page content at the end of the recorded demonstration. The key points, difficult points, easy-to-make mistakes and annotations marked during the demonstration will float on the picture. Users can click on these marks to choose to view the corresponding explanatory content or jump to the explanation playback position where the mark is located; The playback module is used to parse the received data, play the voice, restore the operation according to the order and type of the data, and render and display it in real time on the browser side; The analysis module is used to analyze the feedback, interaction, number of likes, answer statistics, questionnaire statistics, page views, evaluation and popularity of the recorded content.

2. The interactive online real-time recording and broadcasting system based on B / S architecture according to claim 1 is characterized in that Content modules include: (1) Through the combination of HTML content editor and canvas, the page can display and modify content in HTML format, and also has drawing and interactive functions; (2) The path attribute in the HTML content editor only references the path. The container where the HTML content editor is located can automatically adjust the height according to the content, extend vertically, and a vertical scroll bar will appear when the page height exceeds the page height. The width can only be selected from 1024, 1920, 2560, and 3840. (3) The template element is a preset combination based on HTML. Each template element has a predefined style, layout and attributes, and also includes special effects, animation effects and interactive functions. The template element is a special effect, animation effect and interactive function realized by transparent PNG images in combination with CSS and JS, and is built into an interactive online real-time recording and broadcasting system based on B / S architecture. Drag and drop template elements to quickly create HTML elements with preset effects. Double-click the template element to modify the text content. Click to select the template element to pop up the property setting panel. (3) The height of the canvas is automatically synchronized with the height of the HTML content editor, and the width is equal to the width of the HTML content editor. It is fixedly positioned and floats on the upper layer of the HTML content editor, and completely covers the HTML content editor; (4) The focus, a brush with a red fluorescent effect, the painted area will be marked as a focus; (5) The difficulty point, a brush with a green fluorescent effect, the painted area will be marked as a difficulty point; (6) The error-prone points, a brush with a blue fluorescent effect, where the drawing area will be marked as error-prone points; (7) The annotations are displayed in the form of self-increasing numerical sequences at the locations where they are required to be displayed, and are used to write notes, questions or discussions.

3. The interactive online real-time recording and broadcasting system based on B / S architecture according to claim 1 is characterized in that: The recording module comprises: (8) The operation refers to all actions performed by the user on the display area, including pressing, moving, releasing, clicking, double-clicking, dragging, scrolling, sliding, pinching, stretching, rotating, and keyboard combination keys. These actions can be captured by the system and used as input signals and recording objects. At the same time, the actions will trigger different tool types, including tool type, handwriting type, geometric shape type, resource type, and text type; (9) During the recording and broadcasting process, the system will record the voice of the presenter as the main sound data. The duration of all JSON data packets is based on the duration of this voice, in milliseconds; (10) The static resources mentioned above refer to all contents in the HTML content editor, including text, images, audio, video, tables and template elements.

4. The interactive online real-time recording and broadcasting system based on B / S architecture according to claim 3 is characterized in that In (8), the tool type includes different tools or attributes: (11) The tool types include selection tools, text tools, brush tools, line segment tools, geometric figure tools, template element tools, erase tools, undo tools, and restore tools; (12) The handwriting type has the following attributes: coordinate position, line type, line width, minimum line width, maximum line width, color, speed, transparency, stroke, and smoothness; (13) The geometric figure has the following attributes: coordinate position, line type, line width, number of edges, color, stroke, and solid color fill; (14) The resource type has coordinate position, size, scaling, rotation, and mirroring attributes; (15) The text type includes: cursor position, selected text position, added text, modified text, deleted text, bold, italic, underline, strikethrough, color, background color, left alignment, center alignment, right alignment, phonetic notation, new characters, words, and idioms.

5. The interactive online real-time recording and broadcasting system based on B / S architecture according to claim 4 is characterized in that (15) In: (16) The cursor position refers to the object array generated by using the browser's built-in getSelection method to obtain the selected text range, and then using the getRangeAt method to obtain the cursor position; (17) The selected text position refers to using the browser's built-in getSelection method to obtain the selected text range, and then using the getRangeAt method to obtain the specific selected text and the specific position information in HTML; (18) The phonetic notation refers to automatically adding phonetic notation to the selected Chinese character, supporting polyphonic characters. Clicking on the phonetic notation will display the spelling method and pronunciation. (19) The new characters mentioned above refer to adding new character labels to the selected Chinese characters. Clicking on the new characters will pop up a writing demonstration, stroke order display, spelling, Chinese character explanation, and direct copying; (20) The term refers to adding a word mark to the selected word, and clicking on the word will pop up the explanation of the word as well as the part of speech, synonyms, antonyms and sentence examples; (21) The idioms mentioned above refer to idioms that are marked with idioms and the explanation of the idioms, synonyms, antonyms, sources, morals and stories will pop up when clicked.

6. The interactive online real-time recording and broadcasting system based on B / S architecture according to claim 1 is characterized in that: The storage module comprises the following steps: (22) When storing for the first time, create a folder named with the timestamp as the root directory, and create a json folder and an audio folder in the root directory; (23) The JSON data packets received in the recording mode are named according to the timestamp accurate to milliseconds and stored in the JSON folder under the root directory with the JSON suffix; (24) The audio data packets received in the recording and playback mode are named according to the timestamp accurate to milliseconds and stored in the audio folder under the root directory with the suffix mp3; (25) When the recording and playback mode ends, first merge the files in the json folder under the root directory into a json file in order, and merge the files in the audio folder into an mp3 file in order, and save them in the root directory. Then write the user information, recording information and root directory information into the database, and finally delete the json folder and audio folder. (26) When using edit mode storage for the first time, create a folder named after the user ID in the root directory as the user directory, and create a json folder, an audio folder, an index1.json file, and an index2.json file in the user directory; (27) The JSON data packets received in the edit mode are named according to the timestamp accurate to milliseconds and stored in the JSON folder under the user directory with the suffix JSON. (28) The audio data packets received in the edit mode are named according to the timestamp accurate to milliseconds and stored in the audio folder under the user directory with the suffix mp3; (29) When the edit mode ends, first merge the files in the json folder under the user directory into a json file in order, name it according to the timestamp accurate to milliseconds, store it in the user directory, then append the file path to index1.json, and finally delete the json directory; (30) When the editing mode ends, first merge the files in the audio directory under the user directory into an mp3 file in order, name it according to the duration of the main recording when editing started, store it in the user directory, then append the file path to index2.json, and finally delete the audio directory.

7. The interactive online real-time recording and broadcasting system based on B / S architecture according to claim 1 is characterized in that: The live broadcast module includes: (31) The presenter sets a room name and password, creates a live broadcast room, and obtains the room number; (32) Viewers enter the live broadcast room using the room number and password.

8. The interactive online real-time recording and broadcasting system based on B / S architecture according to claim 1 is characterized in that The playback module is divided into two modes: (33) During live broadcast, users can watch the live broadcast by sliding the vertical scroll bar of the page, just like browsing a web page; (34) During playback, users can control playback, fast forward, slide the vertical scroll bar position, pause, stop, volume, and click on the mark to jump to the playback position. They can also individually control whether to enable the voice and operation demonstration of one or more users, including the presenter and themselves.

9. The interactive online real-time recording and broadcasting system based on B / S architecture according to claim 8 is characterized in that The following operations are available during playback: (35) Theme switching, including background style, font color, contrast, page style, toolbar position, and local zoom; (36) Content extraction, including HTML content, text, pictures, audio, video, and tables. You can directly select the content to copy, or right-click and save it as.