Multi-terminal synchronization method and device for long-page courseware, storage medium and computer equipment
By monitoring scroll events on the teacher side and transmitting scroll information using signaling synchronization services, the problem of synchronous display of long page courseware is solved, synchronous scrolling between the student side and the teacher side is realized, and learning experience and teaching management efficiency is improved.
Patent Information
- Application Number
- CN202510560904.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-08-15
AI Technical Summary
When the existing online education system processes long page courseware, it is difficult for the student side to realize synchronous scrolling with the teacher side, resulting in inconvenient learning experience and teaching management.
By monitoring the scrolling events of the courseware on the teacher's long page, the scrolling information is obtained, and the signaling synchronization service is used to transmit it to the student terminal in real time. The student terminal adjusts the courseware display based on the received information to achieve synchronous scrolling.
It improves synchronization between teachers and students in online teaching, ensures that students keep up with the lecturer's teaching rhythm, improves the convenience of learning experience and teaching management, and enhances classroom interaction.
Smart Images

Figure CN120499192A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of online education technology, and in particular to a multi-terminal synchronization method, device, storage medium and computer equipment for long-page courseware. Background Art
[0002] With the booming online education industry, courseware loaded using the Courseware JS-SDK has become an essential component of online teaching platforms. These courseware not only support basic teaching content display but also integrate rich interactive features, significantly improving the teaching experience and efficiency. However, current courseware systems still face significant challenges when handling certain types of courseware, particularly with regard to the synchronous display of long courseware (i.e., courseware pages whose content far exceeds the normal viewing area) in formats such as HTML5.
[0003] Traditional courseware systems are mainly designed to support the display of courseware with a normal viewing area ratio, and their technical architecture and logical processing are developed around this premise. For long-page courseware, because this type of courseware contains a large amount of teaching content or interactive elements, users often need to scroll the screen to browse all the content. However, in actual online teaching scenarios, when the lecturer (teacher side) is displaying long-page courseware, it is difficult for students (student side) to achieve synchronized scrolling with the lecturer's side. This asynchrony makes it impossible for students to keep up with the lecturer's teaching rhythm, affecting the learning experience and effect. It also brings inconvenience to the lecturer's teaching management, such as it is difficult to uniformly control the teaching progress or answer students' questions caused by asynchrony. Summary of the Invention
[0004] In view of this, the embodiments of the present application provide a multi-terminal synchronization method, device, storage medium and computer equipment for long-page courseware, which helps to improve the synchronization between teachers and students in online teaching, ensures that students can keep up with the lecturer's teaching rhythm, thereby improving the learning experience and effect, while enhancing the convenience of teaching management and classroom interactivity.
[0005] According to one aspect of the present application, a multi-terminal synchronization method for long-page courseware is provided, the method comprising:
[0006] Monitor the scrolling events of the long page courseware on the teacher side and determine the scrolling information of the courseware on the teacher side;
[0007] Synchronize the scrolling information of the teacher's courseware to at least one student terminal corresponding to the teacher's terminal through a signaling synchronization service;
[0008] Each student terminal determines its corresponding student terminal courseware display information based on the teacher terminal courseware scrolling information, and controls the scrolling of the displayed student terminal long page courseware based on the student terminal courseware display information, so that the student terminal and the teacher terminal can realize synchronous display of the long page courseware.
[0009] Optionally, monitoring the scrolling event of the long page courseware on the teacher's side to determine the scrolling information of the courseware on the teacher's side includes:
[0010] By pre-adding a scroll bar monitoring event in the long page courseware on the teacher side, the scroll event in the long page courseware on the teacher side is monitored to obtain the scroll offset on the teacher side;
[0011] Determining, according to the teacher-side scrolling offset and the first height information corresponding to the long-page courseware on the teacher-side, a first scrolling offset ratio of the long-page courseware as the teacher-side courseware scrolling information;
[0012] Accordingly, the student terminal determines the student terminal display information corresponding to the long page courseware based on the teacher terminal courseware scrolling information, including:
[0013] According to the first scroll offset ratio and the second height information corresponding to the long page courseware on the student side, the student side scroll offset is determined as the student side display information corresponding to the long page courseware.
[0014] Optionally, synchronizing the teacher-side courseware scrolling information to at least one student side corresponding to the teacher side through a signaling synchronization service includes:
[0015] The teacher terminal sends the teacher terminal courseware scrolling information to the teacher channel in the signaling synchronization service through the teacher terminal synchronization interface;
[0016] The teacher channel in the signaling synchronization service broadcasts the teacher-side courseware scrolling information to the student-side synchronization interface of each student side.
[0017] Optionally, the method further includes:
[0018] After the teacher terminal performs a courseware authorization operation on a question request sent by any target student terminal among the student terminals, the student terminal turns on a courseware monitoring mode, monitors a scrolling event of a long page courseware on the student terminal in the courseware monitoring mode, determines the student terminal courseware scrolling information, and synchronizes the student terminal courseware scrolling information to the teacher terminal through the signaling synchronization service;
[0019] The teacher end determines the teacher end courseware display information based on the student end courseware scrolling information, and controls the scrolling of the displayed teacher end long page courseware based on the teacher end courseware display information, so that the teacher end and the student end can realize synchronous display of the long page courseware.
[0020] Optionally, synchronizing the student-side courseware scrolling information to the teacher-side through the signaling synchronization service includes:
[0021] The student terminal sends the student terminal courseware scrolling information to the student channel in the signaling synchronization service through the student terminal synchronization interface;
[0022] The teacher channel in the signaling synchronization service stops broadcasting, and the student channel in the signaling synchronization service broadcasts the student-end courseware scrolling information to the teacher end and other student ends except the target student end, so that the teacher end and the other student ends can realize synchronous display of the long page courseware with the target student end based on the student-end courseware scrolling information.
[0023] Optionally, after the student terminal turns on the courseware monitoring mode, the method further includes:
[0024] After the teacher end performs the courseware authorization operation on the target student end, the teacher end restores the display progress of the long page courseware on the teacher end, the student channel stops broadcasting, and the teacher channel resumes broadcasting, so that each student end can resume synchronous display with the long page courseware on the teacher end based on the scrolling information of the teacher end courseware broadcast by the teacher channel.
[0025] Optionally, after synchronizing the scrolling information of the teacher's courseware to at least one student terminal corresponding to the teacher's terminal through the signaling synchronization service, the method further includes:
[0026] The student end performs a first timing, and when no new teacher-end courseware scrolling information is received for a preset first period of time, the student end obtains the latest teacher-end courseware scrolling information in the teacher channel in the signaling synchronization service through the student-end synchronization interface, and when the latest teacher-end courseware scrolling information is inconsistent with the teacher-end courseware scrolling information received last time, the corresponding student-end courseware display information is determined based on the latest teacher-end courseware scrolling information and the scrolling of the long page courseware on the student end is controlled.
[0027] Optionally, the method further includes:
[0028] The student terminal monitors the connection status between the student terminal and the signaling synchronization service;
[0029] If the connection between the student terminal and the signaling synchronization service is disconnected, the student terminal is set from the courseware synchronization online state to the courseware synchronization offline state, and in the courseware synchronization offline state, the scrolling of the long page courseware on the student terminal is controlled according to the scrolling operation of the long page courseware on the student terminal in the student terminal; after the connection between the student terminal and the signaling synchronization service is restored, the student terminal is restored from the courseware synchronization offline state to the courseware synchronization online state, and in the courseware synchronization online state, the scrolling information of the courseware on the teacher terminal is continued to be received.
[0030] Optionally, the method further includes:
[0031] Based on the scrolling operation on the long page courseware on the student terminal, the long page courseware on the student terminal is scrolled, a courseware synchronization control is displayed in a floating manner in the student terminal, and a second timer is started;
[0032] In response to receiving a trigger operation on the courseware synchronization control within a preset second time period, the scrolling of the long page courseware on the student side is controlled based on the received teacher-side courseware scrolling information, and the second timing is canceled; and when the trigger operation on the courseware synchronization control is not received when the second timing reaches the preset second time period, the scrolling of the long page courseware on the student side is automatically controlled based on the received teacher-side courseware scrolling information, and the second timing is canceled.
[0033] According to another aspect of the present application, a multi-terminal synchronization device for long-page courseware is provided, the device comprising:
[0034] The first scroll information determination module is used to monitor the scroll event of the long page courseware on the teacher side and determine the scroll information of the courseware on the teacher side;
[0035] A first signaling synchronization module is used to synchronize the scrolling information of the teacher's terminal courseware to at least one student terminal corresponding to the teacher's terminal through a signaling synchronization service;
[0036] The first display synchronization module is used for each student terminal to determine the corresponding student terminal courseware display information based on the teacher terminal courseware scrolling information, and to control the scrolling of the displayed student terminal long page courseware based on the student terminal courseware display information, so that the student terminal and the teacher terminal can realize the synchronous display of the long page courseware.
[0037] Optionally, the first scroll information determining module is further configured to:
[0038] By pre-adding a scroll bar monitoring event in the long page courseware on the teacher side, the scroll event in the long page courseware on the teacher side is monitored to obtain the scroll offset on the teacher side;
[0039] Determining, according to the teacher-side scrolling offset and the first height information corresponding to the long-page courseware on the teacher-side, a first scrolling offset ratio of the long-page courseware as the teacher-side courseware scrolling information;
[0040] Accordingly, the first display synchronization module is further configured to:
[0041] According to the first scroll offset ratio and the second height information corresponding to the long page courseware on the student side, the student side scroll offset is determined as the student side display information corresponding to the long page courseware.
[0042] Optionally, the first signaling synchronization module is further configured to:
[0043] The teacher terminal sends the teacher terminal courseware scrolling information to the teacher channel in the signaling synchronization service through the teacher terminal synchronization interface;
[0044] The teacher channel in the signaling synchronization service broadcasts the teacher-side courseware scrolling information to the student-side synchronization interface of each student side.
[0045] Optionally, the device further comprises:
[0046] A second scrolling information determining module is configured to, after the teacher performs a courseware authorization operation on a question request sent by any target student terminal among the student terminals, enable a courseware monitoring mode on the student terminal, monitor scrolling events of the long page courseware on the student terminal in the courseware monitoring mode, and determine the student terminal courseware scrolling information;
[0047] A second signaling synchronization module is used to synchronize the scrolling information of the courseware on the student terminal to the teacher terminal through the signaling synchronization service;
[0048] The second display synchronization module is used for the teacher side to determine the teacher side courseware display information based on the student side courseware scrolling information, and to control the scrolling of the displayed teacher side long page courseware based on the teacher side courseware display information, so that the teacher side and the student side can realize the synchronous display of the long page courseware.
[0049] Optionally, the second signaling synchronization module is further configured to:
[0050] The student terminal sends the student terminal courseware scrolling information to the student channel in the signaling synchronization service through the student terminal synchronization interface;
[0051] The teacher channel in the signaling synchronization service stops broadcasting, and the student channel in the signaling synchronization service broadcasts the student-end courseware scrolling information to the teacher end and other student ends except the target student end, so that the teacher end and the other student ends can realize synchronous display of the long page courseware with the target student end based on the student-end courseware scrolling information.
[0052] Optionally, the second signaling synchronization module is further configured to:
[0053] After the teacher end performs the courseware authorization operation on the target student end, the teacher end restores the display progress of the long page courseware on the teacher end, the student channel stops broadcasting, and the teacher channel resumes broadcasting, so that each student end can resume synchronous display with the long page courseware on the teacher end based on the scrolling information of the teacher end courseware broadcast by the teacher channel.
[0054] Optionally, the first display synchronization module is further configured to:
[0055] The student end performs a first timing, and when no new teacher-end courseware scrolling information is received for a preset first period of time, the student end obtains the latest teacher-end courseware scrolling information in the teacher channel in the signaling synchronization service through the student-end synchronization interface, and when the latest teacher-end courseware scrolling information is inconsistent with the teacher-end courseware scrolling information received last time, the corresponding student-end courseware display information is determined based on the latest teacher-end courseware scrolling information and the scrolling of the long page courseware on the student end is controlled.
[0056] Optionally, the first display synchronization module is further configured to:
[0057] The student terminal monitors the connection status between the student terminal and the signaling synchronization service;
[0058] If the connection between the student terminal and the signaling synchronization service is disconnected, the student terminal is set from the courseware synchronization online state to the courseware synchronization offline state, and in the courseware synchronization offline state, the scrolling of the long page courseware on the student terminal is controlled according to the scrolling operation of the long page courseware on the student terminal in the student terminal; after the connection between the student terminal and the signaling synchronization service is restored, the student terminal is restored from the courseware synchronization offline state to the courseware synchronization online state, and in the courseware synchronization online state, the scrolling information of the courseware on the teacher terminal is continued to be received.
[0059] Optionally, the first display synchronization module is further configured to:
[0060] Based on the scrolling operation on the long page courseware on the student terminal, the long page courseware on the student terminal is scrolled, a courseware synchronization control is displayed in a floating manner in the student terminal, and a second timer is started;
[0061] In response to receiving a trigger operation on the courseware synchronization control within a preset second time period, the scrolling of the long page courseware on the student side is controlled based on the received teacher-side courseware scrolling information, and the second timing is canceled; and when the trigger operation on the courseware synchronization control is not received when the second timing reaches the preset second time period, the scrolling of the long page courseware on the student side is automatically controlled based on the received teacher-side courseware scrolling information, and the second timing is canceled.
[0062] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the multi-terminal synchronization method of the long-page courseware is implemented.
[0063] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the multi-terminal synchronization method of the long-page courseware when executing the program.
[0064] By leveraging the above technical solution, the embodiments of the present application provide a multi-terminal synchronization method, device, storage medium, and computer equipment for long-page courseware. By monitoring scrolling events on the teacher's courseware, scrolling information is obtained, and this information is transmitted to the student's end in real time using a signaling synchronization service. This allows the student end to adjust the courseware display based on the received information, achieving synchronized scrolling with the teacher's end. The embodiments of the present application help improve the synchronization between teachers and students in online teaching, ensuring that students can keep up with the instructor's teaching pace, thereby enhancing the learning experience and effectiveness, while also increasing the convenience of teaching management and classroom interactivity.
[0065] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0067] Figure 1 A schematic diagram showing a flow chart of a multi-terminal synchronization method for long-page courseware provided in an embodiment of the present application is shown;
[0068] Figure 2 A flowchart of another multi-terminal synchronization method for long-page courseware provided by an embodiment of the present application is shown;
[0069] Figure 3 A flowchart of another multi-terminal synchronization method for long-page courseware provided in an embodiment of the present application is shown;
[0070] Figure 4 A flowchart of a multi-terminal synchronization method for long-page courseware provided in an embodiment of the present application is shown;
[0071] Figure 5 A schematic diagram showing the structure of a multi-terminal synchronization device for long page courseware provided in an embodiment of the present application
[0072] Figure 6 A structural diagram of a multi-terminal synchronization device for long-page courseware provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0073] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0074] In this embodiment, a multi-terminal synchronization method for long page courseware is provided. Figure 1 As shown, the method includes:
[0075] Step 101: Monitor the scrolling event of the long page courseware on the teacher's side and determine the scrolling information of the courseware on the teacher's side.
[0076] Step 102: Synchronize the scrolling information of the teacher's courseware to at least one student terminal corresponding to the teacher's terminal through a signaling synchronization service.
[0077] Step 103: Each student terminal determines its corresponding student terminal courseware display information based on the teacher terminal courseware scrolling information, and controls the scrolling of the displayed student terminal long page courseware based on the student terminal courseware display information, so that the student terminal and the teacher terminal can realize synchronous display of the long page courseware.
[0078] In the embodiment of the present application, first, the scrolling event of the long page courseware is monitored at the teacher's end, that is, whenever the teacher scrolls his courseware, this action is captured and the relevant scrolling information (such as the scrolling position) is determined. Then, the obtained teacher's end courseware scrolling information will be sent to all corresponding student ends via the signaling synchronization service, wherein the signaling synchronization service can be understood as a real-time communication mechanism that can efficiently transfer data from one point to another or more points in a short time. Finally, after the student end receives the scrolling information from the teacher's end, it will adjust its courseware display state according to this information to ensure consistency with the teacher's end. Specifically, the long page courseware at the student end is subjected to corresponding scrolling control so that students can see the same content area as the teacher. Ensure that students can keep up with the lecturer's teaching rhythm and avoid confusion or misunderstanding caused by asynchrony, thereby improving learning efficiency. In addition, the lecturer can more conveniently control the teaching progress and answer students' questions in a timely manner, because all students can see the same teaching content, which helps to strengthen the interactive communication between teachers and students. Imagine an online programming course where the instructor is explaining a complex code example and using a long slide to display the different sections of the code along with the associated comments. Without a synchronized display feature, students might miss key points the instructor mentions because they might not scroll to the correct page in time. However, with this technical solution, all students' devices will automatically synchronize the display regardless of how the instructor scrolls, ensuring they don't miss any important information. This not only improves teaching effectiveness but also provides a better learning experience for students.
[0079] By applying the technical solution of this embodiment, scrolling information is obtained by monitoring the scrolling events of the teacher's courseware, and this information is transmitted to the student's side in real time using the signaling synchronization service, so that the student side can adjust the courseware display according to the received information, achieving synchronized scrolling display with the teacher's side. This embodiment of the application helps to improve the synchronization between teachers and students in online teaching, ensuring that students can keep up with the lecturer's teaching rhythm, thereby improving the learning experience and effectiveness, while also enhancing the convenience of teaching management and classroom interactivity.
[0080] Furthermore, as a refinement and expansion of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another multi-terminal synchronization method for long page courseware is provided, such as Figure 2 As shown, the method includes:
[0081] Step 201: Monitor the scrolling events in the long page courseware on the teacher side by pre-adding a scroll bar monitoring event in the long page courseware on the teacher side to obtain the scrolling offset on the teacher side; determine the first scrolling offset ratio of the long page courseware as the scrolling information of the teacher side courseware according to the scrolling offset on the teacher side and the first height information corresponding to the long page courseware on the teacher side.
[0082] In the embodiment of this application, Figure 3 As shown, in the long page courseware on the teacher side (lecturer side), the scrolling action of the long page courseware is monitored through the pre-added scroll bar monitoring event, and the specific offset when the teacher side scrolls is obtained, that is, the teacher side scrolling offset. Based on this scrolling offset and the overall rendering height (first height information) of the long page courseware on the teacher side, a relative scrolling offset ratio is calculated, that is, the first scrolling offset ratio. This ratio is used as the key data for the scrolling information of the teacher side courseware for subsequent synchronization operations. Specifically, the first scrolling offset ratio = teacher side scrolling offset / the first height information of the long page courseware on the teacher side. This method ensures that even if there are differences in screen size and resolution between different devices, accurate synchronization can be achieved through the relative scrolling ratio, thereby ensuring the consistency of the displayed content between the student side and the teacher side.
[0083] Step 202: the teacher terminal sends the teacher terminal courseware scrolling information to the teacher channel in the signaling synchronization service through the teacher terminal synchronization interface; the teacher channel in the signaling synchronization service broadcasts the teacher terminal courseware scrolling information to the student terminal synchronization interface of each student terminal.
[0084] In an embodiment of the present application, the teacher sends the calculated first scrolling offset ratio to the teacher channel in the signaling synchronization service via its synchronization interface. The signaling synchronization service is responsible for broadcasting this information to all connected student synchronization interfaces, ensuring that each student receives the latest scrolling information. The embodiment of the present application utilizes a synchronization interface and a signaling synchronization service to achieve real-time data transmission, enabling the student to instantly respond to the teacher's operations, greatly improving the real-time nature and fluency of teaching interactions.
[0085] Step 203: Determine the student-side scrolling offset as the student-side display information corresponding to the long-page courseware based on the first scrolling offset ratio and the second height information corresponding to the student-side long-page courseware, and perform scrolling control on the displayed student-side long-page courseware based on the student-side courseware display information, so that the student-side and the teacher-side can realize synchronous display of the long-page courseware.
[0086] In an embodiment of the present application, based on the first scrolling offset ratio received from the teacher's end and combined with the actual rendering height (second height information) of the long page courseware on the student's end, the specific offset that the student's end needs to scroll is calculated, that is, the student's end scrolling offset. Specifically, the student's end scrolling offset = second height information * first scrolling offset ratio. Then, the long page courseware on the student's end is scrolled accordingly based on the student's end scrolling offset, so as to ensure that the content displayed on the student's end is synchronized with the teacher's end by accurately adjusting the display content of each student's end. The multi-terminal synchronization method for long page courseware proposed in an embodiment of the present application captures the operations on the teacher's end, transmits this information to the student's end through a synchronization mechanism, and adjusts the display content of the student's end accordingly, thereby achieving seamless synchronization between teachers and students. This not only solves the synchronization problem caused by different screen lengths in online education, but also significantly improves teaching efficiency and interactive quality, and provides strong technical support for online education.
[0087] Step 204: After the teacher performs a courseware authorization operation on the question request sent by any target student terminal among the student terminals, the student terminal turns on the courseware monitoring mode, monitors the scrolling events of the long page courseware on the student terminal in the courseware monitoring mode, determines the student terminal courseware scrolling information, and synchronizes the student terminal courseware scrolling information to the teacher terminal through the signaling synchronization service.
[0088] In the embodiment of this application, Figure 4As shown, when the teacher side (lecturer side) receives a question request sent by any target student side, the teacher can choose to perform courseware authorization operation on this student side. Once the authorization is completed, the student side will turn on the courseware monitoring mode, start monitoring the scrolling events of its own long page courseware, and determine the corresponding scrolling information, that is, the student side courseware scrolling information. These scrolling information are then sent back to the teacher side through the signaling synchronization service, so that the teacher can understand the student's browsing progress and content in real time. This mechanism allows teachers to directly view and understand the specific content parts that students are concerned about in specific circumstances (such as when students ask questions), thereby providing more targeted help or answering questions. At the same time, this also enhances classroom interactivity and promotes personalized teaching. Specifically, the student side scroll offset can be obtained, and the second scroll offset ratio can be determined based on the ratio of the student side scroll offset to the overall rendering height of the student side long page, and the second scroll offset ratio is used as the student side courseware scrolling information.
[0089] In an embodiment of the present application, optionally, synchronizing the student-side courseware scrolling information to the teacher-side through the signaling synchronization service includes: the student-side sending the student-side courseware scrolling information to the student channel in the signaling synchronization service through the student-side synchronization interface; the teacher channel in the signaling synchronization service stops broadcasting, and the student channel in the signaling synchronization service broadcasts the student-side courseware scrolling information to the teacher-side and other student sides except the target student side, so that the teacher side and the other student sides can realize synchronous display of the long page courseware with the target student side based on the student-side courseware scrolling information.
[0090] In this embodiment, when a student (called the target student terminal) shares the position of the courseware he is currently browsing, the student terminal will send its own courseware scrolling information to the student channel in the signaling synchronization service through its synchronization interface. After receiving the student terminal scrolling information, the signaling synchronization service will temporarily stop the broadcast of the teacher channel (i.e., stop sending the scrolling information of the teacher terminal to the student terminal). At the same time, the student channel starts broadcasting the courseware scrolling information of the target student terminal, which is not only sent to the teacher terminal, but also to all other student terminals except the target student terminal, ensuring that the classroom focus is shifted from the teacher to the target student, avoiding confusion, and enabling all other students and teachers to adjust their own courseware display based on the scrolling information of the target student to achieve a synchronous effect. Based on the received courseware scrolling information of the target student terminal, the teacher terminal and other student terminals adjust the display position of their respective long page courseware, thereby achieving synchronous display with the target student terminal, ensuring that all participants can see the same content, facilitating discussion, answering questions or sharing insights. This allows students to actively participate in the teaching process, not just as passive recipients, but also as content presenters. When students have questions or want to show certain content, teachers and other students can immediately see the same content area, which helps to explain questions or share opinions more effectively.
[0091] Step 205: The teacher side determines the teacher side courseware display information based on the student side courseware scrolling information, and controls the scrolling of the displayed teacher side long page courseware based on the teacher side courseware display information, so that the teacher side and the student side can realize synchronous display of the long page courseware.
[0092] In an embodiment of the present application, after receiving the scroll information sent by the student end, the teacher end calculates the corresponding scroll offset based on this information and adjusts the position of the long page courseware displayed by itself accordingly to achieve synchronous display with the student end. This allows the teacher to see the same page position as the student, so as to better understand and respond to the student's questions or needs, ensuring that the student can receive effective guidance. Specifically, the product of the second scroll offset and the rendering height of the long page courseware on the teacher end is calculated, and the scroll offset on the teacher end is determined as the teacher end courseware display information.
[0093] Step 206: After the teacher terminal performs the end courseware authorization operation on the target student terminal, the teacher terminal restores the display progress of the long page courseware on the teacher terminal, the student channel stops broadcasting, and the teacher channel resumes broadcasting, so that each student terminal resumes the synchronous display of the long page courseware on the teacher terminal based on the scrolling information of the teacher terminal courseware broadcast by the teacher channel.
[0094] In the embodiment of the present application, after the teacher has completed the guidance to the student terminal or answered relevant questions, the teacher can resume the normal teaching process by executing the end courseware authorization operation. At this time, the teacher terminal will restore its original long page courseware display progress; at the same time, the student channel stops broadcasting, and the teacher channel restarts broadcasting the scrolling information of the teacher terminal to all other student terminals to ensure that the entire class can continue to follow the teacher's teaching rhythm. Through this flexible authorization and recovery mechanism, it can not only meet the personalized teaching needs in special circumstances, but also quickly return to the regular teaching mode, ensuring the overall continuity and efficiency of the classroom, and providing a more comprehensive technical solution for online education.
[0095] In an embodiment of the present application, optionally, after the teacher-side courseware scrolling information is synchronized to at least one student side corresponding to the teacher side through the signaling synchronization service, the method further includes: the student side performs a first timing, and when no new teacher-side courseware scrolling information is received for a preset first period of time, obtains the latest teacher-side courseware scrolling information in the teacher channel in the signaling synchronization service through the student-side synchronization interface, and when the latest teacher-side courseware scrolling information is inconsistent with the teacher-side courseware scrolling information received last time, determines the corresponding student-side courseware display information based on the latest teacher-side courseware scrolling information and performs scrolling control of the long page courseware on the student side.
[0096] In this embodiment, in order to ensure that the student end can obtain and synchronize the latest scrolling information of the teacher end in a timely manner, and maintain content consistency even when the signaling synchronization service is temporarily interrupted or delayed, the embodiment of the present application also provides an enhancement mechanism. Specifically, after synchronizing the teacher end courseware scrolling information to at least one student end through the signaling synchronization service, the student end will start a timer (first timing). If no new teacher end courseware scrolling information is received within the preset first duration (possibly due to network fluctuations, signaling loss, etc.), the student end will actively query the teacher channel in the signaling synchronization service for the latest teacher end courseware scrolling information through its synchronization interface. The student end continuously monitors whether new scrolling information is received within the specified time. If not, subsequent operations are triggered. Among them, if it is determined that no new information is received within the preset duration, the student end will actively request the latest scrolling information from the teacher channel to ensure the real-time and accuracy of the data. Further, the latest scrolling information obtained will be compared with the information received last time. If it is found that the two are inconsistent (meaning that the teacher end has a new scrolling action), the student end courseware display is adjusted according to the latest scrolling information, and corresponding scrolling control is performed to ensure synchronization with the teacher end. By setting up a mechanism for scheduled checks and actively obtaining the latest information, we can effectively deal with synchronization failures caused by network instability or other reasons, enhance the stability and reliability of the system, and ensure that even in poor network conditions, students can still obtain the most accurate possible teaching content display, reducing learning barriers caused by asynchrony and improving the overall learning experience.
[0097] In an embodiment of the present application, optionally, the method also includes: the student terminal monitors the connection status between the student terminal and the signaling synchronization service; if the connection between the student terminal and the signaling synchronization service is disconnected, the student terminal is set from the courseware synchronization online state to the courseware synchronization offline state, and in the courseware synchronization offline state, the scrolling of the long page courseware on the student terminal is controlled according to the scrolling operation of the long page courseware on the student terminal in the student terminal; after the connection between the student terminal and the signaling synchronization service is restored, the student terminal is restored from the courseware synchronization offline state to the courseware synchronization online state, and continues to receive the teacher terminal courseware scrolling information in the courseware synchronization online state.
[0098] In this embodiment, the student terminal continuously monitors the connection status between it and the signaling synchronization service. Once the connection with the signaling synchronization service is detected to be disconnected, the student terminal automatically switches its status from "courseware synchronization online status" to "courseware synchronization offline status". In the courseware synchronization offline status, students can freely control the scrolling of long-page courseware according to their own scrolling operations, without relying on the scrolling information of the teacher terminal, allowing students to browse the courseware content at their own pace. When the connection between the student terminal and the signaling synchronization service is restored to normal, the student terminal's status will be restored from "courseware synchronization offline status" to "courseware synchronization online status". At this time, the student terminal will resume receiving courseware scrolling information from the teacher terminal and adjust the displayed content based on this information to re-synchronize with the teacher terminal. Therefore, even in the case of unstable network, students can independently operate the courseware, avoiding learning interruptions caused by connection problems. When the connection is restored, students can quickly resynchronize with the teacher's teaching progress, ensuring the coherence and consistency of the teaching process.
[0099] In an embodiment of the present application, optionally, the method also includes: based on the scrolling operation on the long page courseware on the student side, scrolling control is performed on the long page courseware on the student side, a courseware synchronization control is displayed in a floating manner in the student side, and a second timing is started; in response to receiving a triggering operation on the courseware synchronization control within a preset second time period, scrolling control is performed on the long page courseware on the student side based on the received teacher side courseware scrolling information, and the second timing is canceled; and when the second timing reaches the preset second time period and no triggering operation on the courseware synchronization control is received, scrolling control is automatically performed on the long page courseware on the student side based on the received teacher side courseware scrolling information, and the second timing is canceled.
[0100] In this embodiment, by floating the courseware synchronization control on the student side and combining it with the function of a timer, students are allowed to flexibly switch between personalized browsing and following the teacher's progress. Specifically, when a student controls a long page courseware based on his or her own scrolling operation, a courseware synchronization control will be floatingly displayed on the student interface. At the same time, a second timer begins. The floating display control provides students with an intuitive interface element, allowing them to choose whether to resynchronize to the teacher's current courseware position at any time. If a student clicks on the floating display courseware synchronization control within the preset second duration, the position of the long page courseware on the student side will be immediately adjusted based on the latest teacher-side courseware scrolling information, synchronizing the content on the student side with the teacher side, and canceling the ongoing second timer to ensure that the student can quickly return to the main teaching thread. If the student does not trigger the courseware synchronization control at the end of the preset second duration, the long page courseware on the student side will be automatically scrolled based on the received teacher-side courseware scrolling information to achieve automatic synchronization, and the second timer will also be canceled to ensure the consistency of the teaching content. The embodiments of this application provide flexibility, allowing students to explore course content at their own pace while also giving them the ability to return to the teacher's progress at any time, enhancing learning autonomy and interactivity. Through the automatic synchronization mechanism, even if students temporarily deviate from the teacher's teaching progress, they can be guaranteed to rejoin eventually, maintaining the overall consistency and coherence of the teaching content.
[0101] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides a multi-terminal synchronization device for long page courseware, such as Figure 5 As shown, the device includes:
[0102] The first scroll information determination module is used to monitor the scroll event of the long page courseware on the teacher side and determine the scroll information of the courseware on the teacher side;
[0103] A first signaling synchronization module is used to synchronize the scrolling information of the teacher's terminal courseware to at least one student terminal corresponding to the teacher's terminal through a signaling synchronization service;
[0104] The first display synchronization module is used for each student terminal to determine the corresponding student terminal courseware display information based on the teacher terminal courseware scrolling information, and to control the scrolling of the displayed student terminal long page courseware based on the student terminal courseware display information, so that the student terminal and the teacher terminal can realize the synchronous display of the long page courseware.
[0105] Optionally, the first scroll information determining module is further configured to:
[0106] By pre-adding a scroll bar monitoring event in the long page courseware on the teacher side, the scroll event in the long page courseware on the teacher side is monitored to obtain the scroll offset on the teacher side;
[0107] Determining, according to the teacher-side scrolling offset and the first height information corresponding to the long-page courseware on the teacher-side, a first scrolling offset ratio of the long-page courseware as the teacher-side courseware scrolling information;
[0108] Accordingly, the first display synchronization module is further configured to:
[0109] According to the first scroll offset ratio and the second height information corresponding to the long page courseware on the student side, the student side scroll offset is determined as the student side display information corresponding to the long page courseware.
[0110] Optionally, the first signaling synchronization module is further configured to:
[0111] The teacher terminal sends the teacher terminal courseware scrolling information to the teacher channel in the signaling synchronization service through the teacher terminal synchronization interface;
[0112] The teacher channel in the signaling synchronization service broadcasts the teacher-side courseware scrolling information to the student-side synchronization interface of each student side.
[0113] Alternatively, as Figure 6 As shown, the device also includes:
[0114] A second scrolling information determining module is configured to, after the teacher performs a courseware authorization operation on a question request sent by any target student terminal among the student terminals, enable a courseware monitoring mode on the student terminal, monitor scrolling events of the long page courseware on the student terminal in the courseware monitoring mode, and determine the student terminal courseware scrolling information;
[0115] A second signaling synchronization module is used to synchronize the scrolling information of the courseware on the student terminal to the teacher terminal through the signaling synchronization service;
[0116] The second display synchronization module is used for the teacher side to determine the teacher side courseware display information based on the student side courseware scrolling information, and to control the scrolling of the displayed teacher side long page courseware based on the teacher side courseware display information, so that the teacher side and the student side can realize the synchronous display of the long page courseware.
[0117] Optionally, the second signaling synchronization module is further configured to:
[0118] The student terminal sends the student terminal courseware scrolling information to the student channel in the signaling synchronization service through the student terminal synchronization interface;
[0119] The teacher channel in the signaling synchronization service stops broadcasting, and the student channel in the signaling synchronization service broadcasts the student-end courseware scrolling information to the teacher end and other student ends except the target student end, so that the teacher end and the other student ends can realize synchronous display of the long page courseware with the target student end based on the student-end courseware scrolling information.
[0120] Optionally, the second signaling synchronization module is further configured to:
[0121] After the teacher end performs the courseware authorization operation on the target student end, the teacher end restores the display progress of the long page courseware on the teacher end, the student channel stops broadcasting, and the teacher channel resumes broadcasting, so that each student end can resume synchronous display with the long page courseware on the teacher end based on the scrolling information of the teacher end courseware broadcast by the teacher channel.
[0122] Optionally, the first display synchronization module is further configured to:
[0123] The student end performs a first timing, and when no new teacher-end courseware scrolling information is received for a preset first period of time, the student end obtains the latest teacher-end courseware scrolling information in the teacher channel in the signaling synchronization service through the student-end synchronization interface, and when the latest teacher-end courseware scrolling information is inconsistent with the teacher-end courseware scrolling information received last time, the corresponding student-end courseware display information is determined based on the latest teacher-end courseware scrolling information and the scrolling of the long page courseware on the student end is controlled.
[0124] Optionally, the first display synchronization module is further configured to:
[0125] The student terminal monitors the connection status between the student terminal and the signaling synchronization service;
[0126] If the connection between the student terminal and the signaling synchronization service is disconnected, the student terminal is set from the courseware synchronization online state to the courseware synchronization offline state, and in the courseware synchronization offline state, the scrolling of the long page courseware on the student terminal is controlled according to the scrolling operation of the long page courseware on the student terminal in the student terminal; after the connection between the student terminal and the signaling synchronization service is restored, the student terminal is restored from the courseware synchronization offline state to the courseware synchronization online state, and in the courseware synchronization online state, the scrolling information of the courseware on the teacher terminal is continued to be received.
[0127] Optionally, the first display synchronization module is further configured to:
[0128] Based on the scrolling operation on the long page courseware on the student terminal, the long page courseware on the student terminal is scrolled, a courseware synchronization control is displayed in a floating manner in the student terminal, and a second timer is started;
[0129] In response to receiving a trigger operation on the courseware synchronization control within a preset second time period, the scrolling of the long page courseware on the student side is controlled based on the received teacher-side courseware scrolling information, and the second timing is canceled; and when the trigger operation on the courseware synchronization control is not received when the second timing reaches the preset second time period, the scrolling of the long page courseware on the student side is automatically controlled based on the received teacher-side courseware scrolling information, and the second timing is canceled.
[0130] It should be noted that for other corresponding descriptions of the functional units involved in the multi-terminal synchronization device for long page courseware provided in the embodiment of the present application, please refer to Figures 1 to 4 The corresponding description in the method will not be repeated here.
[0131] The embodiment of the present application also provides a computer device, which can be specifically a personal computer, a server, a network device, etc. The computer device includes a bus, a processor, a memory and a communication interface, and may also include an input and output interface and a display device. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store location information. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the steps in each method embodiment are implemented.
[0132] Those skilled in the art will understand that the structure of the above-mentioned computer device is only a partial structure related to the solution of the present application and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components, or combine certain components, or have a different component arrangement.
[0133] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium may be non-volatile or volatile, and stores a computer program thereon. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0134] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0135] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0136] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, and the like.
[0137] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0138] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A multi-terminal synchronization method for long-page courseware, characterized in that: The method comprises: Monitor the scrolling events of the long page courseware on the teacher side and determine the scrolling information of the courseware on the teacher side; Synchronize the scrolling information of the teacher's courseware to at least one student terminal corresponding to the teacher's terminal through a signaling synchronization service; Each student terminal determines its corresponding student terminal courseware display information based on the teacher terminal courseware scrolling information, and controls the scrolling of the displayed student terminal long page courseware based on the student terminal courseware display information, so that the student terminal and the teacher terminal can realize synchronous display of the long page courseware.
2. The method according to claim 1, characterized in that The method of monitoring the scrolling event of the long page courseware on the teacher's side and determining the scrolling information of the courseware on the teacher's side includes: By pre-adding a scroll bar monitoring event in the long page courseware on the teacher side, the scroll event in the long page courseware on the teacher side is monitored to obtain the scroll offset on the teacher side; Determining, according to the teacher-side scrolling offset and the first height information corresponding to the long-page courseware on the teacher-side, a first scrolling offset ratio of the long-page courseware as the teacher-side courseware scrolling information; Accordingly, the student terminal determines the student terminal display information corresponding to the long page courseware based on the teacher terminal courseware scrolling information, including: According to the first scroll offset ratio and the second height information corresponding to the long page courseware on the student side, the student side scroll offset is determined as the student side display information corresponding to the long page courseware.
3. The method according to claim 1, characterized in that The step of synchronizing the scrolling information of the teacher's courseware to at least one student's terminal corresponding to the teacher's terminal through a signaling synchronization service includes: The teacher terminal sends the teacher terminal courseware scrolling information to the teacher channel in the signaling synchronization service through the teacher terminal synchronization interface; The teacher channel in the signaling synchronization service broadcasts the teacher-side courseware scrolling information to the student-side synchronization interface of each student side.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: After the teacher terminal performs a courseware authorization operation on a question request sent by any target student terminal among the student terminals, the student terminal turns on a courseware monitoring mode, monitors a scrolling event of a long page courseware on the student terminal in the courseware monitoring mode, determines the student terminal courseware scrolling information, and synchronizes the student terminal courseware scrolling information to the teacher terminal through the signaling synchronization service; The teacher end determines the teacher end courseware display information based on the student end courseware scrolling information, and controls the scrolling of the displayed teacher end long page courseware based on the teacher end courseware display information, so that the teacher end and the student end can realize synchronous display of the long page courseware.
5. The method according to claim 4, characterized in that The step of synchronizing the student-side courseware scrolling information to the teacher-side courseware scrolling information through the signaling synchronization service includes: The student terminal sends the student terminal courseware scrolling information to the student channel in the signaling synchronization service through the student terminal synchronization interface; The teacher channel in the signaling synchronization service stops broadcasting, and the student channel in the signaling synchronization service broadcasts the student-end courseware scrolling information to the teacher end and other student ends except the target student end, so that the teacher end and the other student ends can realize synchronous display of the long page courseware with the target student end based on the student-end courseware scrolling information.
6. The method according to claim 4, characterized in that After the student terminal starts the courseware monitoring mode, the method further includes: After the teacher end performs the courseware authorization operation on the target student end, the teacher end restores the display progress of the long page courseware on the teacher end, the student channel stops broadcasting, and the teacher channel resumes broadcasting, so that each student end can resume synchronous display with the long page courseware on the teacher end based on the scrolling information of the teacher end courseware broadcast by the teacher channel.
7. The method according to any one of claims 1 to 3, characterized in that After synchronizing the scrolling information of the teacher's courseware to at least one student terminal corresponding to the teacher's terminal through the signaling synchronization service, the method further includes: The student end performs a first timing, and when no new teacher-end courseware scrolling information is received for a preset first period of time, the student end obtains the latest teacher-end courseware scrolling information in the teacher channel in the signaling synchronization service through the student-end synchronization interface, and when the latest teacher-end courseware scrolling information is inconsistent with the teacher-end courseware scrolling information received last time, the corresponding student-end courseware display information is determined based on the latest teacher-end courseware scrolling information and the scrolling of the long page courseware on the student end is controlled.
8. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The student terminal monitors the connection status between the student terminal and the signaling synchronization service; If the connection between the student terminal and the signaling synchronization service is disconnected, the student terminal is set from the courseware synchronization online state to the courseware synchronization offline state, and in the courseware synchronization offline state, the scrolling of the long page courseware on the student terminal is controlled according to the scrolling operation of the long page courseware on the student terminal in the student terminal; after the connection between the student terminal and the signaling synchronization service is restored, the student terminal is restored from the courseware synchronization offline state to the courseware synchronization online state, and in the courseware synchronization online state, the scrolling information of the courseware on the teacher terminal is continued to be received.
9. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Based on the scrolling operation on the long page courseware on the student terminal, the long page courseware on the student terminal is scrolled, a courseware synchronization control is displayed in a floating manner in the student terminal, and a second timer is started; In response to receiving a trigger operation on the courseware synchronization control within a preset second time period, the scrolling of the long page courseware on the student side is controlled based on the received teacher-side courseware scrolling information, and the second timing is canceled; and when the trigger operation on the courseware synchronization control is not received when the second timing reaches the preset second time period, the scrolling of the long page courseware on the student side is automatically controlled based on the received teacher-side courseware scrolling information, and the second timing is canceled.
10. A multi-terminal synchronization device for long-page courseware, characterized in that: The device comprises: The first scroll information determination module is used to monitor the scroll event of the long page courseware on the teacher side and determine the scroll information of the courseware on the teacher side; A first signaling synchronization module is used to synchronize the scrolling information of the teacher's terminal courseware to at least one student terminal corresponding to the teacher's terminal through a signaling synchronization service; The first display synchronization module is used for each student terminal to determine the corresponding student terminal courseware display information based on the teacher terminal courseware scrolling information, and to control the scrolling of the displayed student terminal long page courseware based on the student terminal courseware display information, so that the student terminal and the teacher terminal can realize the synchronous display of the long page courseware.
11. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
12. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Remote stream media online teaching method for supporting the VoD and direct broadcast function
CN101055674A
Courseware synchronous display method, courseware synchronous display device, background server, medium and courseware synchronous display system
CN110505529A
Remote classroom interaction method and device, computer equipment and storage medium
CN111932967A
Method and device for synchronously displaying pages of multiple terminals, computer equipment and medium
CN119376667A
Information processing method for online classroom, apparatus, device, storage medium, and program
WO2023279715A1