Screen sharing method, device and computer storage medium

By obtaining and processing the sharing status of the student-side equipment, the classroom screen sharing process is simplified, complex and unfluent problems in the existing technology are solved, real-time and fluency of teaching activities are improved, and teaching quality and interactivity are improved.

CN118939220BActive Publication Date: 2025-01-17SHENZHEN XINGWANG XINTONG TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411365525.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-17
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

The existing classroom screen sharing technology is complex, with insufficient real-time and fluency. Teachers need to frequently interrupt screen sharing to allow other students to share, affecting the real-time and fluency of teaching activities.

Method used

By obtaining the sharing status of the student-side device that has been connected, generating and displaying the sharing source selection interface, selecting the student-side device as the sharing source, and receiving or pushing media streams, the screen content of the teacher-side device to multiple student-side devices is realized by realizing the screen content of the teacher-side device to multiple student-side devices Synchronous display to simplify screen sharing process.

Benefits of technology

It improves the real-time and fluency of teaching activities, improves teaching quality, allows teachers to flexibly select and switch screen contents of students' devices, and enhances the flexibility of classroom interaction and teaching management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939220B_ABST
    Figure CN118939220B_ABST
Patent Text Reader

Abstract

The present application discloses a screen sharing method, device and computer storage medium, and relates to the technical field of interactive educational devices. The method comprises: obtaining the sharing status of a student-side device that has established a connection; generating and displaying a sharing source selection interface according to the identification mark of the student-side device whose sharing status is to agree to share; selecting at least one of the student-side devices as a sharing source based on the selection action received by the sharing source selection interface, and receiving the media stream corresponding to the sharing source; outputting a sharing screen based on the media stream, or pushing the media stream to the shared end. The present application simplifies the screen sharing process, improves the real-time and fluency of teaching activities, and thus improves the teaching quality by obtaining the sharing status of the student-side device, selecting and receiving the media stream of the corresponding student-side device, and then the teacher-side device can output the sharing screen based on the media stream, or push the media stream to other student-side devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of interactive educational equipment, and in particular to a screen sharing method, equipment and computer storage medium. Background Art

[0002] Classroom interaction and screen sharing technology are important means to improve teaching quality and realize personalized teaching. However, in the relevant classroom screen sharing technology, the main method used is for students to share their screens in turns, which makes the teaching process complicated. Specifically, the teacher must interrupt the current screen sharing before allowing other students to perform screen sharing operations. This process is repeatedly performed during classroom teaching, thus affecting the real-time and fluency of teaching activities. Summary of the invention

[0003] The main purpose of this application is to provide a screen sharing method, device and computer storage medium, aiming to solve the technical problems of complex processes, lack of real-time and fluency in classroom screen sharing technology.

[0004] To achieve the above purpose, an embodiment of the present application provides a screen sharing method, which is applied to a teacher-side device, and the method includes:

[0005] Get the sharing status of the connected student device;

[0006] Generate and display a sharing source selection interface according to the identification mark of the student-side device whose sharing status is agreeing to share;

[0007] Based on the selection action received by the sharing source selection interface, at least one of the student-side devices is selected as a sharing source, and a media stream corresponding to the sharing source is received;

[0008] A shared screen is output based on the media stream, or the media stream is pushed to a shared end.

[0009] In one embodiment, before the step of obtaining the sharing status of the student-side device that has established a connection, the step includes:

[0010] Start the media service and broadcast the network address and port number of the teacher-side device through the local area network;

[0011] A connection request from a student-side device based on the broadcast response is received, and a communication connection is established with at least one student-side device corresponding to the connection request.

[0012] In one embodiment, after the step of receiving a connection request from a student-side device based on the broadcast response and establishing a communication connection with at least one student-side device corresponding to the connection request, the step further includes:

[0013] In response to a teaching interface push instruction, generating a teaching media stream according to a current display screen of the teacher-side device;

[0014] The teaching media stream is sent to the student-side device so that the student-side device synchronously displays the current display screen.

[0015] In one embodiment, the step of receiving a connection request from a student-side device based on the broadcast response and establishing a communication connection with at least one student-side device corresponding to the connection request further includes:

[0016] According to a preset layout, display a list of the student-side devices that have established the communication connection with the teacher-side device;

[0017] Update the connection status of the student-side device in real time.

[0018] In one embodiment, the step of generating and displaying a sharing source selection interface according to the identification mark of the student-side device whose sharing status is agreeing to share includes:

[0019] Receiving the student identity information associated with the student-side device and displaying it on the corresponding student-side device;

[0020] Based on the sharing status and the student identity information, a sharing source option of the student-side device whose sharing status is consent to sharing is generated and displayed on a sharing source selection interface.

[0021] In one embodiment, the step of selecting at least one of the student-side devices as a sharing source based on the selection action received on the sharing source selection interface and receiving the media stream corresponding to the sharing source includes:

[0022] Determine an identification mark of the selected student-side device based on the selection action received on the sharing source selection interface;

[0023] For each of the selected student devices, perform the following steps:

[0024] Receiving the media stream corresponding to the selected student-side device;

[0025] An independent display area is allocated to each of the media streams, and the media streams are arranged and displayed in a matrix form.

[0026] The present application also provides a screen sharing method, which is applied to a student-side device, and the method includes:

[0027] Based on the received broadcast information, a connection request is sent to the teacher-side device;

[0028] receiving a sharing instruction based on the input of the student-side device, and changing the sharing state of the student-side device;

[0029] When the sharing status is agreeing to share, the media stream of the student-side device is pushed to the teacher-side device;

[0030] The media stream pushed by the teacher-side device is received and displayed on the student-side device.

[0031] In one embodiment, after the step of sending a connection request to the teacher-side device based on the received broadcast information, the following steps are included:

[0032] Displaying a login form on the interface of the student-side device to receive input of student identity information;

[0033] The student identity information is associated with the student-side device, and the associated information is sent to the teacher-side device.

[0034] An embodiment of the present application further provides a screen sharing device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the screen sharing method described above.

[0035] An embodiment of the present application further provides a computer storage medium, which is a computer-readable storage medium. A computer program is stored on the computer storage medium. When the computer program is executed by a processor, the steps of the screen sharing method described above are implemented.

[0036] The embodiment of the present application discloses a screen sharing method, which obtains the sharing status of the student-side device that has established a connection; generates and displays a sharing source selection interface according to the identification mark of the student-side device that agrees to share in the sharing status; selects at least one of the student-side devices as a sharing source based on the selection action received by the sharing source selection interface, and receives the media stream corresponding to the sharing source; outputs a sharing screen based on the media stream, or pushes the media stream to the shared end. The present application obtains the sharing status of the student-side device, selects and receives the media stream of the corresponding student-side device, and then the teacher-side device can output the sharing screen based on the media stream, or push the media stream to other student-side devices, thereby simplifying the screen sharing process, improving the real-time and fluency of teaching activities, and thus improving the teaching quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flowchart of a first embodiment of a screen sharing method according to an embodiment of the present application;

[0038] Figure 2 This is a flow chart of a second embodiment of a screen sharing method according to an embodiment of the present application;

[0039] Figure 3 It is a flowchart of a third embodiment of the screen sharing method involved in the embodiment scheme of the present application;

[0040] Figure 4 It is a flowchart of a fourth embodiment of the screen sharing method involved in the embodiment scheme of the present application;

[0041] Figure 5 This is a structural diagram of the screen sharing device for this application.

[0042] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] In the context of educational informatization, classroom interaction and screen sharing technology have become important means to improve teaching quality and realize personalized teaching. However, related classroom screen sharing technology has some limitations in practice. The main problem is that the current method of students taking turns to share the screen makes the teaching process complicated. In addition, since teachers need to frequently interrupt the current screen sharing to allow other students to share, it affects the real-time and fluency of teaching activities.

[0045] In addition, current classroom screen sharing technology usually only allows teachers to share screen content with students or students to share screen content with everyone in a one-way mode. However, in actual applications, this one-way sharing mode limits the flexibility of teachers in displaying student assignments, and it is also impossible to flexibly select and switch the screen content of different students according to teaching needs for the whole class to learn and discuss together, thus limiting the creativity of teachers in the teaching process and the flexibility of classroom management, which in turn affects the overall improvement of teaching quality.

[0046] In addition, related classroom screen sharing technologies mainly rely on screen sharing between PCs, and data transmission and storage through external servers. This reliance on server intervention not only increases the complexity and cost of the system, but also has latency and stability issues, which affects the real-time and smoothness of screen sharing.

[0047] In order to solve the above-mentioned defects existing in the related art, the embodiment of the present application proposes a screen sharing method, which obtains the sharing status of the student-side device that has established a connection; generates and displays a sharing source selection interface according to the identification mark of the student-side device that agrees to share in the sharing status; selects at least one of the student-side devices as a sharing source based on the selection action received by the sharing source selection interface, and receives the media stream corresponding to the sharing source; outputs the sharing screen based on the media stream, or pushes the media stream to the shared end. The present application obtains the sharing status of the student-side device, selects and receives the media stream of the corresponding student-side device, and then the teacher-side device can output the sharing screen based on the media stream, or push the media stream to other student-side devices, thereby simplifying the screen sharing process, improving the real-time and fluency of teaching activities, and thus improving the teaching quality.

[0048] For ease of understanding, the technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0049] The screen sharing method of the first embodiment proposed in this application is applied to the teacher's side device. Please refer to Figure 1 The method comprises steps S10 to S40:

[0050] Step S10: Obtain the sharing status of the student-side device that has established a connection.

[0051] In this embodiment, before the teacher-side device establishes a connection with the student-side device, the media service is first started, and the network address and port number of the teacher-side device are broadcasted through the local area network. Then, a connection request from the student-side device based on the broadcast response is received, and a communication connection is established with at least one student-side device corresponding to the connection request.

[0052] It should be noted that media service refers to a software service that can provide audio and video data transmission functions in a network environment. After the teacher-side device starts the media service, it will broadcast the teacher-side device's own existence message through the local area network. The existence message contains the network address and port number of the teacher-side device. The network address is used to identify the location of the teacher-side device in the local area network, and the port number is used to specify the port that the media service listens on the teacher-side device, so that the student-side device can discover and connect to the teacher-side device.

[0053] It should be noted that the network interface on the teacher's device listens to the connection request from the student's device and confirms the legitimacy of the request. The teacher's device checks the identity authentication information in the connection request, such as the student's device ID, seat number, etc., to ensure that only authorized student devices can establish a connection.

[0054] Optionally, the teacher-side device uses a specific network protocol and port to send its existence information to all student-side devices in the LAN in the form of a broadcast packet. When the student-side device receives the broadcast packet, it will parse the information contained in the broadcast packet and then display the device name of the teacher-side device in the connection list page of the student-side device. The student-side device user can select from the list and try to establish a connection with the selected teacher-side device.

[0055] It is understandable that the device name of the teacher-side device can be customized. For example, the device name of the teacher-side device can be set to the classroom number, so as to facilitate the student-side device user to select the correct teacher-side device for connection.

[0056] Exemplarily, the teacher-side device uses the UDP (User Datagram Protocol) protocol and a preset port number, such as port 1900, to encapsulate its own existence information into an SSDP (Simple Service Discovery Protocol) broadcast packet, and broadcast it to all student-side devices in the local area network. After the student-side device monitors the SSDP broadcast packet, it will parse the network address and port number of the teacher-side device contained in the broadcast packet, as well as the customized device name. In the connection list page of the student-side device, the teacher-side device name such as "Classroom 101" will be displayed. The student-side device user can select "Classroom 101" through the connection list page to try to establish a communication connection with the teacher-side device.

[0057] Exemplarily, the teacher-side device uses the mDNS (multicast DNS) protocol and port 5353 to send its own existence information in the form of an mDNS broadcast packet to all student-side devices in the local area network. After capturing the mDNS broadcast packet, the student-side device will extract the network address, port number, and set device name of the teacher-side device, such as "Classroom 102". In the connection interface of the student-side device, "Classroom 102" will be presented as a connectable teacher-side device option. The student-side device user can try to establish a communication connection with the teacher-side device of "Classroom 102" by selecting the teacher-side device option and confirming it.

[0058] Optionally, before the teacher-side device starts the media service and broadcasts its own existence information through the local area network, the student-side device is assigned a corresponding seat number, and the seat number is bound to the corresponding student-side device, so that after the student-side device establishes a communication connection with the teacher-side device, the connection status of the student-side device can be updated in real time on the page of the teacher-side device according to the arrangement of the seat number, and a list of all student-side devices that have established a communication connection with the teacher-side device is displayed in a preset layout. Based on this, the teacher can clearly identify and select the student-side device according to the seat number to perform screen sharing operations.

[0059] In the present embodiment, a communication connection is directly established between the teacher-side device and the student-side device through a local area network, without relying on an external server and a database. Specifically, after starting and running the media service, the media service will automatically run in the background of the teacher-side device, realizing local processing and transmission of the media stream. In addition, in the local file of the teacher-side device, student information, the mapping relationship between the student-side device and the seat number, and related data such as device communication are encrypted and stored. When the student-side device initiates a connection request, the teacher-side device can quickly identify the student-side device according to the seat number.

[0060] It should be noted that the encrypted storage process will use an encryption algorithm, such as AES (Advanced Encryption Standard).

[0061] Exemplarily, the seat numbers may be arranged in a matrix form of letters and numbers, for example, the seat numbers in the first row are A1, A2, A3, etc., the seat numbers in the second row are B1, B2, B3, etc., and so on, where letters represent rows and numbers represent columns.

[0062] Step S20: Generate and display a sharing source selection interface according to the identification mark of the student-side device whose sharing status is agreeing to share.

[0063] In this embodiment, after the teacher-side device establishes a communication connection with the student-side device, the student identity information associated with the student-side device is received and displayed on the corresponding student-side device. Based on the sharing status and the student identity information, a sharing source option for the student-side device whose sharing status is agreeing to share is generated and displayed on the sharing source selection interface.

[0064] It should be noted that the student identity information includes the student's name or student number so that the teacher can associate the student with the seat number and the student-side device.

[0065] Step S30: Based on the selection action received by the sharing source selection interface, at least one of the student-side devices is selected as a sharing source, and a media stream corresponding to the sharing source is received.

[0066] It should be noted that media stream refers to the audio and video signals transmitted in the form of continuous data packets in network communication. During screen sharing, the media stream includes the audio and video signals transmitted from the teacher's device to the student's device, and the audio and video signals transmitted from the student's device to the teacher's device.

[0067] It can be understood that the sharing status of the student-side device is independently selected by the user of the student-side device. When the user of the student-side device agrees to share and the sharing status of the corresponding student-side device is changed to "agree to share", the teacher-side device can obtain the media stream of the student-side device and display it on the page of the teacher-side device. At the same time, the teacher-side device is allowed to operate the screen content corresponding to the media stream of the student-side device in the state of agreeing to share, such as viewing, sharing, etc.

[0068] It should be noted that when the student-side device performs a sharing operation, the media stream of the student-side device will be directed to the teacher-side device that has established a connection with the student-side device.

[0069] For example, when in a teaching state, the teacher asks the students whether anyone is willing to share their screen content. If a student is willing to share, the sharing operation can be performed through the student-side device, and the sharing status of the student-side device can be changed at the same time. After the teacher-side device obtains the media stream of the student-side device whose sharing status is "agree to share", it will be displayed on the page of the teacher-side device.

[0070] In this embodiment, when the sharing status of the student-side device is to agree to share, a list of selectable student-side devices, i.e., a sharing source selection interface, will be displayed on the teacher-side device page. On the sharing source selection interface, the teacher can select the sharing source to be viewed or shared by clicking or clicking and dragging according to teaching needs. Based on the selection action received on the sharing source selection interface, the teacher-side device is triggered to determine the identification of the selected student-side device.

[0071] For each selected student-side device, the following steps are performed: receiving the media stream corresponding to the selected student-side device, that is, the current screen content of the selected student-side device; for each received media stream, an independent display area is allocated for it, and these display areas are arranged in a matrix form on the page of the teacher-side device, so that the teacher can view the screen content of multiple student-side devices synchronously.

[0072] Exemplarily, the teacher-side device determines the identification of the selected student-side device, such as the student's seat number, student number, name or other unique identifier, based on the selection action received on the sharing source selection interface, such as clicking, dragging or double-clicking. For each selected student-side device, the teacher-side device receives the media stream corresponding to the student-side device and allocates an independent display area for each media stream to ensure that the screen content of each student-side device can be clearly distinguished. These media streams are then arranged and displayed in a matrix form so that the teacher can view the screen content of multiple students at the same time, thereby improving the efficiency and quality of classroom interaction.

[0073] Step S40: outputting a sharing screen based on the media stream, or pushing the media stream to a shared end.

[0074] In this embodiment, based on the shared screen output by the media stream, the teacher-side device can perform operations such as real-time viewing, playing, and pausing of the media stream, so that the teacher can view the student's screen content in real time, understand the student's learning situation and classroom performance, and provide classroom guidance and interaction. In addition, the teacher-side device can also push the media stream to other student-side devices to achieve reverse screen projection, which is used to share the student's classroom achievements. Other students can also watch the student's classroom achievements together through the student-side device. In this way, the teacher-side device can not only guide student teaching, but also promote communication and cooperation between students, and improve the efficiency and quality of classroom interaction.

[0075] It should be noted that during the transmission of the media stream, the selection action of the teacher-side device and the identification mark of the corresponding selected student-side device will be used to ensure that the media stream is only transmitted to the designated student-side device.

[0076] It should be noted that, under the premise that the sharing status of the student-side device is "agree to share", the teacher-side device can choose a flexible screen sharing method to display the current screen content of the student-side device according to different teaching scenarios and needs, including viewing the media stream of the student-side device separately, pushing the media stream of the student-side device to a specified student-side device, or pushing the media stream of the student-side device to all student-side devices, etc.

[0077] It should be noted that when the teacher-side device selects the current media streams of multiple student-side devices for reverse projection display, these media streams will be displayed in a matrix layout on the page of the teacher-side device. The matrix layout allows the teacher-side device to display the current screen content of multiple student-side devices in parallel, and when pushing these media streams to other student-side devices, they are also displayed in the same matrix layout on the pages of other student-side devices, so that students can view and compare the current screen content of different students at the same time.

[0078] For example, when a teacher explains a problem, he asks if any student is willing to show his calculation process. If student A is willing to share his classroom results, he can share through the student device and change the sharing status of the corresponding student device to "agree to share". The teacher device can then receive the current screen content of the student device corresponding to student A and view it.

[0079] If the teacher thinks that Student A's calculation process is very correct or worthy of reference for other students, then on the premise that the sharing status of the student-side device is "Agree to share", the teacher can select the current screen content of the student-side device corresponding to the student and perform reverse screen projection, pushing the corresponding media stream to other student-side devices, so that other students can see and learn Student A's calculation process while explaining it at the same time.

[0080] Exemplarily, under the premise that the sharing status of the student-side device is "agree to share", the teacher can simultaneously display the current screen content of one or more student-side devices to all student-side devices for viewing, thereby promoting mutual learning, discussion and knowledge sharing among students. For example, when organizing a group discussion, the teacher can select group a to represent student A, group b to represent student B, and group c to represent student C to display the current screen content of the corresponding student-side devices, and reversely project it to the page of all student-side devices, so that all students can see the discussion results of different groups, thereby enhancing understanding and stimulating deeper discussions. The teacher can compare and analyze the discussion results of each group and provide targeted comments and guidance.

[0081] For example, if the sharing status of the student-side device is "agree to share", the teacher can choose to display the current screen content of a student-side device to a specific student for individual guidance and counseling. For example, when answering a question, the teacher can choose to reversely project the current screen content of student A's student-side device to student B and student C so that they can learn and draw on student A's problem-solving method.

[0082] In this way, teachers can manage and control the media streams of student devices according to teaching needs, thereby improving teaching effectiveness and classroom interactivity. At the same time, students can also see their own or others' media streams being reversely projected onto other student devices, thereby better participating in the teaching process.

[0083] Please refer to Figure 2 The screen sharing method of the second embodiment proposed in the present application, after receiving a connection request from a student-side device based on a broadcast response and establishing a communication connection with at least one student-side device corresponding to the connection request, further includes the following steps S110-S120:

[0084] Step S110: In response to the teaching interface push instruction, a teaching media stream is generated according to the current display screen of the teacher-side device.

[0085] During the teaching process, the teacher's device receives the push command of the teaching interface and generates a teaching media stream based on the current display screen of the teacher's device. The teaching media stream may include the teacher's courseware, handouts, notes, as well as the teacher's operation demonstration, blackboard writing and other teaching content.

[0086] It should be noted that the teacher-side device can push the teaching media stream corresponding to its current display screen to all student-side devices that have established communication connections with the teacher-side device.

[0087] Step S120: Send the teaching media stream to the student-side device, so that the student-side device synchronously displays the current display screen.

[0088] It should be noted that the teacher-side device supports sharing the current screen content with all student-side devices that have established a connection with the teacher-side device.

[0089] The generated teaching media stream will be used to interact with the student-side device, for example, by broadcasting to all student-side devices, or by sending to a designated student-side device according to the teacher's selection action. In this way, the student-side device can synchronously display the current display screen, that is, the teacher's courseware, handouts, notes, and the teacher's operation demonstration, blackboard writing and other teaching content.

[0090] For example, through the teacher-side device, you can select at least one student-side device with a connection status of "connected", and then project the current display screen of the teacher-side device to the selected student-side device. For example, select the student-side device A1, click the icon of the corresponding student-side device and select projection, and the student-side device A1 can see the demonstration or guidance content of the current display screen of the teacher-side device on its own device page.

[0091] By sending teaching media streams, the teacher-side device can interact with the student-side device and deliver teaching content. The teacher can deliver teaching content more effectively and interact with students to improve teaching effectiveness. The student-side device can synchronously display the teacher's current display screen in real time, so as to better understand and learn the teaching content. At the same time, the student-side device can also view, play, pause and other operations on the teaching media stream to better grasp and digest the teaching content.

[0092] In addition, the teaching media stream can also be used to record the teaching process. The teaching process can be recorded and stored through the teacher-side device, which is convenient for teachers to reflect and summarize the teaching, and for students to review and consolidate.

[0093] The recording of teaching media streams can be stored locally or in the cloud to ensure the integrity and traceability of the teaching process.

[0094] Through this embodiment, the teacher-side device can generate and use the teaching media stream according to the push instructions of the teaching interface, realize the interaction with the student-side device and the delivery of teaching content, and improve the teaching effect and classroom interactivity.

[0095] Please refer to Figure 3 The screen sharing method of the third embodiment proposed in the present application, after receiving a connection request from a student-side device based on a broadcast response and establishing a communication connection with at least one student-side device corresponding to the connection request, further includes the following steps S130-S140:

[0096] Step S130: According to a preset layout, a list of the student-side devices that have established the communication connection with the teacher-side device is displayed.

[0097] It should be noted that the student devices in the same classroom are associated with the teacher devices in the classroom. Before the student devices are connected, the teacher device page will display a list of all associated student devices, and the list will display the seat number and connection status of each student device. The teacher device allows the layout of the list to be customized, such as setting the layout display by the number of rows and columns of seats.

[0098] It should be noted that after modifying the list layout on the teacher's device, the teacher's device will save the customized layout settings. And the layout settings will be automatically loaded the next time the teacher's device starts the media service, ensuring that the list layout is displayed according to the last customized list layout.

[0099] Step S140: updating the connection status of the student-side device in real time.

[0100] When displaying all student devices associated with the teacher device according to the preset layout, the connection status of all student devices will be displayed synchronously on the teacher device page, such as "Connected", "Connecting" or "Not Connected". As the connection request of the student device is received and processed, the teacher device will update the connection status changes of the student devices in the list in real time.

[0101] Exemplarily, a 5*6 preset layout is set to display all student-side devices associated with the teacher-side device. The preset layout can refer to the seat arrangement, correspond to the seat number, and be displayed according to the name of the seat number. For example, when the student-side device "A5" is successfully connected, its connection status will be updated to "Connected", and "A5" represents the student-side device in the first row and the fifth column. In this way, during the teaching process, the connection status of the student-side device can be clearly viewed according to the preset layout, and the connection results of all student-side devices can be quickly obtained.

[0102] Optionally, when the teacher-side device establishes a communication connection with the student-side device, that is, when they are in a connected state, the student identity information associated with each student-side device is obtained, and the student identity information is displayed on the icon of the corresponding student-side device on the page of the teacher-side device.

[0103] It should be noted that the student identity information is the student ID, name and other information input through the student device after the student device and the teacher device are connected. At least one of the student ID and name can be input through the student device, and the teacher device can obtain the student identity corresponding to the student ID or name in the corresponding student information through the local file, and display the student device icon according to the display rules of the teacher device.

[0104] Exemplarily, after establishing a communication connection between the teacher-side device and the student-side device, the student identity information associated with each student-side device is obtained. For example, the student-side device B5 inputs the student ID information as "123456", and the display rule of the teacher-side device is set to display by name.

[0105] The teacher-side device reads the student information in the local file and obtains the student name "Zhang San" corresponding to the student ID "123456", and displays it next to or on the icon of the corresponding student-side device. Finally, the result displayed next to or on the icon of the student-side device A1 is "Zhang San".

[0106] Please refer to Figure 4 The screen sharing method of the fourth embodiment proposed in the present application includes the following steps S60 to S90:

[0107] Step S60: Based on the received broadcast information, a connection request is sent to the teacher-side device.

[0108] It should be noted that the teacher-side device list is displayed on the student-side device, and the target teacher-side device to be connected is confirmed by the teacher-side device name, so as to establish a communication connection with the teacher-side device by active selection.

[0109] Optionally, the presence information of the teacher-side device is received through the local area network, and after sending a connection request to the teacher-side device based on the user's selection, a login form is displayed on the interface of the student-side device to receive the input of the student's identity information, associate the student's identity information with the student-side device, and send the student information to the teacher-side device.

[0110] It should be noted that when the user of the student-side device establishes a communication connection with the teacher-side device by actively choosing, the student-side device page will jump to the login page, that is, the student information filling page, and enter your name or student number.

[0111] Exemplarily, the student-side device first receives the existence information of the teacher-side device through the local area network, and displays the teacher-side device list on the interface of the student-side device. The student-side device user confirms the target teacher-side device to be connected based on the teacher-side device name, and sends a connection request to the teacher-side device. After the connection request is sent, the student-side device page will jump to the login page, that is, the student information filling page. The student-side device user enters his or her name or student number as student information on the login page, and associates it with the unique identifier of the student-side device (such as MAC address, device serial number, seat number, etc.). The student identity information and the associated information of the student-side device are sent to the teacher-side device.

[0112] After the teacher's device obtains the student information, the corresponding student identity information will be displayed on the icon of the student's device on the teacher's device page.

[0113] It should be noted that if the student information input by the user of the student-side device is a student ID, the teacher-side device will read the relevant student information stored in the local file, obtain the student name corresponding to the student ID and display it on the corresponding student-side device icon.

[0114] Step S70: receiving a sharing instruction based on the input of the student-side device, and changing the sharing status of the student-side device.

[0115] It should be noted that after establishing a communication connection with the teacher's device, the teaching screen stream pushed by the teacher's device can be received and viewed, thereby achieving real-time interaction and teaching guidance between teachers and students.

[0116] Step S80: When the sharing status is agreeing to share, the media stream of the student-side device is pushed to the teacher-side device.

[0117] It should be noted that the media stream uses WebRTC (Web Real-Time Communications) technology or RTMP (Real-Time Messaging Protocol). The student device page is provided with an operation button, and the user of the student device can change the sharing status of the corresponding student device through the "Share" button, and actively send the current screen content to the teacher device in the form of a media stream, so that the teacher can view his or her classroom results, interact and provide guidance.

[0118] It should be noted that WebRTC is a real-time communication technology that allows real-time communication of audio, video and data between web browsers without installing additional plug-ins or software. WebRTC uses peer-to-peer (P2P) communication, which means that data is transmitted directly between the sender and the receiver, reducing latency and bandwidth consumption. Peer-to-peer communication refers to direct communication between two peer nodes in a network. In a peer-to-peer network, each node can act as a client and server, exchanging data directly with each other without going through a central server.

[0119] It should be noted that RTMP is a protocol designed for real-time transmission, usually used for video streaming services. RTMP uses TCP (Transmission Control Protocol) protocol to transmit data and can provide stable data transmission, even in poor network conditions can maintain the connection. RTMP supports a variety of media formats, and can provide reliable transmission in different types of network environments.

[0120] Step S90: receiving the media stream pushed by the teacher-side device, and displaying it on the student-side device.

[0121] During the teaching process, when the teacher's device chooses to push the screen content of a student's corresponding student device as a media stream to other student devices, the student device will receive the reverse projection media stream sent by the teacher's device. These media streams contain the current screen content of other student devices, including examples or interactive content that the teacher wants to show to the whole class or specific students.

[0122] After receiving these media streams, the student-side device will display them on the page of the student-side device. This display method allows students to intuitively see the operations or presentations of other students, so as to better understand and participate in classroom interaction.

[0123] The present application provides a screen sharing device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the screen sharing method in the above-mentioned embodiment 1.

[0124] Reference below Figure 5 , which shows a schematic diagram of the structure of a screen sharing device suitable for implementing the embodiment of the present application. The screen sharing device in the embodiment of the present application may include various hardware and software components for implementing the scheduling method of the inspection task. Figure 5 The screen sharing device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0125] like Figure 5 As shown, the screen sharing device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the screen sharing device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the screen sharing device to communicate with other devices wirelessly or by wire to exchange data. Although the screen sharing device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0126] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0127] The screen sharing device provided by the present application adopts the screen sharing device method in the above embodiment, which can solve the technical problems of complex processes, lack of real-time and fluency in classroom screen sharing technology. Compared with the prior art, the beneficial effects of the screen sharing device provided by the present application are the same as the beneficial effects of the screen sharing method provided by the above embodiment, and the other technical features in the screen sharing device are the same as the features disclosed in the previous embodiment method, which will not be repeated here.

[0128] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0129] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0130] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the screen sharing method in the above-mentioned embodiment.

[0131] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0132] The computer-readable storage medium may be included in the screen sharing device; or may exist independently without being assembled into the screen sharing device.

[0133] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the screen sharing device, the screen sharing device: obtains the sharing status of the student-side device with which a connection has been established; generates and displays a sharing source selection interface according to the identification identifier of the student-side device whose sharing status is to agree to share; based on the selection action received on the sharing source selection interface, selects at least one of the student-side devices as a sharing source, and receives the media stream corresponding to the sharing source; outputs a sharing screen based on the media stream, or pushes the media stream to the shared end.

[0134] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0135] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0136] The modules involved in the embodiments described in the present application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0137] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned screen sharing method, and can solve the technical problems of complex processes, insufficient real-time performance, and insufficient fluency in classroom screen sharing technology. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the screen sharing method provided in the above-mentioned embodiment, and will not be elaborated here.

[0138] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the above-mentioned screen sharing method when executed by a processor.

[0139] The computer program product provided by the present application can solve the technical problems of complex processes, lack of real-time and fluency in classroom screen sharing technology. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as the beneficial effects of the screen sharing method provided by the above embodiment, which will not be repeated here.

[0140] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

[0141] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.

[0143] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A screen sharing method, characterized in that: Applied to a teacher-side device, the method includes: Start the media service and establish a communication connection with the student-side device, wherein the communication connection does not require an external server and database; When the teacher-side device starts the media service, the media service runs in the background of the teacher-side device, wherein the mapping relationship between the student-side device and the seat number and the student information is stored in the local file of the teacher-side device, and the teacher-side device identifies the student-side device corresponding to the seat number based on the mapping relationship; Acquire the sharing status of the student-side device that has established a connection, and when the student-side device performs a sharing operation, the media stream of the student-side device is directed to the teacher-side device that has established a communication connection with the student-side device; Generate and display a sharing source selection interface according to the identification mark of the student-side device whose sharing status is agreeing to share, wherein the identification mark includes a seat number and student information; Based on the selection action received by the sharing source selection interface, at least one of the student-side devices is selected as a sharing source, and the media stream corresponding to the sharing source is received; A sharing screen is output based on the media stream, or the media stream is pushed to a shared end, the shared end includes at least one of the student-side devices, and when the student-side device is designated, the media stream is pushed to the designated student-side device.

2. The method according to claim 1, characterized in that Before the step of obtaining the sharing status of the student-side device that has established a connection, the method includes: Start the media service and broadcast the network address and port number of the teacher-side device through the local area network; A connection request from a student-side device based on the broadcast response is received, and a communication connection is established with at least one student-side device corresponding to the connection request.

3. The method according to claim 2, characterized in that After the step of receiving a connection request from a student-side device based on the broadcast response and establishing a communication connection with at least one student-side device corresponding to the connection request, the method further includes: In response to a teaching interface push instruction, generating a teaching media stream according to a current display screen of the teacher-side device; The teaching media stream is sent to the student-side device so that the student-side device synchronously displays the current display screen.

4. The method according to claim 2, characterized in that The step of receiving a connection request from a student-side device based on the broadcast response and establishing a communication connection with at least one student-side device corresponding to the connection request also includes: According to a preset layout, display a list of the student-side devices that have established the communication connection with the teacher-side device; Update the connection status of the student-side device in real time.

5. The method according to claim 1, characterized in that The step of generating and displaying a sharing source selection interface according to the identification mark of the student-side device whose sharing status is agreeing to share comprises: Receiving the student identity information associated with the student-side device and displaying it on the corresponding student-side device; Based on the sharing status and the student identity information, a sharing source option of the student-side device whose sharing status is consent to sharing is generated and displayed on a sharing source selection interface.

6. The method according to claim 1, characterized in that The step of selecting at least one of the student-side devices as a sharing source based on the selection action received on the sharing source selection interface and receiving the media stream corresponding to the sharing source includes: Determine an identification mark of the selected student-side device based on the selection action received on the sharing source selection interface; For each of the selected student devices, perform the following steps: Receiving the media stream corresponding to the selected student-side device; An independent display area is allocated to each of the media streams, and the media streams are arranged and displayed in a matrix form.

7. A screen sharing device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the screen sharing method according to any one of claims 1 to 6.

8. A computer storage medium, characterized in that: The computer storage medium is a computer-readable storage medium, and a computer program is stored on the computer storage medium. When the computer program is executed by a processor, the steps of the screen sharing method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Classroom teaching interaction method, terminal and system

    CN111066075A