CN115801772A - Multi-terminal control method and system - Google Patents

Multi-terminal control method and system Download PDF

Info

Publication number
CN115801772A
CN115801772A CN202310043298.3A CN202310043298A CN115801772A CN 115801772 A CN115801772 A CN 115801772A CN 202310043298 A CN202310043298 A CN 202310043298A CN 115801772 A CN115801772 A CN 115801772A
Authority
CN
China
Prior art keywords
terminal
master control
control instruction
service data
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310043298.3A
Other languages
Chinese (zh)
Inventor
赵悦汐
王维
李辉
李南
程红兵
赵亮
贾文娜
严晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jinmao Education Technology Co ltd
Original Assignee
Beijing Jinmao Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jinmao Education Technology Co ltd filed Critical Beijing Jinmao Education Technology Co ltd
Priority to CN202310043298.3A priority Critical patent/CN115801772A/en
Publication of CN115801772A publication Critical patent/CN115801772A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Electrically Operated Instructional Devices (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a multi-terminal control method and a multi-terminal control system. Wherein the method comprises the following steps: a first master control terminal sends a first master control instruction based on business logic to a server; the server sends execution service data to the first master control terminal according to the first master control instruction; the first main control terminal executes service data based on the first main control instruction; the server sends execution service data to the second master control terminal according to the first master control instruction; the second main control terminal executes the service data based on the first main control instruction; the server sends execution service data to the first controlled terminal according to the first master control instruction; the first controlled terminal executes the service data based on the first main control instruction; the first master terminal and the second master terminal are configured to be controlled by the same operator. Therefore, when the teacher can learn online, the courseware can be flexibly operated by the mobile terminal, the PC terminal and the student terminal are controlled by the mobile terminal, multi-terminal synchronization is realized, and the teaching quality of online teaching is effectively improved.

Description

Multi-terminal control method and system
Technical Field
The present application relates to the field of remote control technologies, and in particular, to a multi-terminal control method and system.
Background
Along with the continuous reform of the education mode, the teaching mode of 'on-line teaching' is mature day by day. "on-line teaching" may also be understood as "on-line classroom", i.e. the mode in which students and teachers communicate online over a network to develop classroom activities. Therefore, teachers and students can develop online teaching only by means of the equipment terminals which are connected to the network. When online teaching is carried out, a plurality of student ends are often provided, and all the student ends need to be successfully connected with the teacher end through a network. When a teacher gives lessons, turns pages, calls a roll or allows students to answer questions by using courseware on the PC end, the PC end can transmit the operation of the teacher to the student end in real time.
In the process of realizing the prior art, the inventor finds that:
when the online classroom is used for teaching, the operation of a teacher at the PC end needs to be performed by means of a mouse, and the operation supported by the PC end only comprises sliding, left clicking, right clicking, double clicking and the like, namely, the operation supported by the PC end is single, and the interaction effect is relatively small. However, on-line teaching is performed by using the mobile terminal instead of the PC terminal, although the teacher can annotate courseware more flexibly at the mobile terminal. However, when a mobile terminal encounters a signal problem, the network environment is not good, and a problem of poor network speed or even network disconnection occurs. Moreover, the development of online teaching cannot be separated from the network.
Therefore, it is necessary to provide a technical solution that can synchronize the operation of the teacher on the handheld mobile terminal to the PC terminal for online teaching.
Disclosure of Invention
The embodiment of the application provides a technical scheme capable of synchronizing the operation of a teacher at a handheld mobile terminal to a PC (personal computer) end for online teaching, and the technical scheme is used for solving the technical problem that the operation of the teacher at the PC end is limited during online teaching.
Specifically, the multi-terminal control method comprises the following steps:
a first master control terminal sends a first master control instruction based on business logic to a server;
the server sends execution service data to the first master control terminal according to the first master control instruction;
the first main control terminal executes service data based on the first main control instruction;
the server sends execution service data to the second master control terminal according to the first master control instruction;
the second main control terminal executes the service data based on the first main control instruction;
the server sends execution service data to the first controlled terminal according to the first master control instruction;
the first controlled terminal executes the service data based on the first main control instruction;
the first master terminal and the second master terminal are configured to be controlled by the same operator.
Further, the method further comprises: when the first master control instruction is an authorization instruction for the first controlled terminal, the control authority of the first controlled terminal is configured to the first controlled terminal, so that the first controlled terminal executes service data independently of the first master control terminal and the second master control terminal.
Further, the method further comprises: when the first master control terminal sends a second master control instruction based on service logic to the server, and the second master control instruction is an authorization instruction aiming at the first controlled terminal, the server sends execution service data to the first master control terminal according to the second master control instruction;
the first master control terminal executes the service data based on the second master control instruction;
the server sends execution service data to the second master control terminal according to the second master control instruction;
the second main control terminal executes the service data based on the second main control instruction;
the server sends execution service data to the first controlled terminal according to the second master control instruction;
and the first controlled terminal executes the service data based on the second master control instruction.
Further, the first master control instruction is an instruction based on a Web Socket protocol.
Further, the server adopts a Spring Boot and Spring Data architecture.
The embodiment of the application also provides a multi-terminal control system.
Specifically, a multi-terminal control system includes:
the control instruction sending device is used for the first main control terminal to send a first main control instruction based on the service logic to the server;
the control instruction response device is used for sending execution service data to the first main control terminal by the server according to the first main control instruction;
the execution device is used for the first main control terminal to execute the service data based on the first main control instruction;
the control instruction response device is also used for the server to send execution service data to the second master control terminal according to the first master control instruction;
the execution device is also used for the second main control terminal to execute the service data based on the first main control instruction;
the control instruction response device is also used for the server to send execution service data to the first controlled terminal according to the first master control instruction;
the execution device is further configured to execute, by the first controlled terminal, the service data based on the first master control instruction;
the first master terminal and the second master terminal are configured to be controlled by the same operator.
Further, the system further includes an authority configuration device, configured to, when the first master control instruction is an authorization instruction for the first controlled terminal, configure the control authority of the first controlled terminal to the first controlled terminal, so that the first controlled terminal executes service data independently of the first master control terminal and the second master control terminal.
Further, when the control instruction sending device is used for the first master control terminal to send a second master control instruction based on the service logic to the server, and the second master control instruction is an authorization instruction for the first controlled terminal, the control instruction responding device is also used for the server to send execution service data to the first master control terminal according to the second master control instruction;
the execution device is also used for the first main control terminal to execute the service data based on the second main control instruction;
the control instruction response device is also used for the server to send execution service data to the second master control terminal according to the second master control instruction;
the execution device is also used for the second main control terminal to execute the service data based on the second main control instruction;
the control instruction response device is also used for the server to send execution service data to the first controlled terminal according to the second master control instruction;
the executing device is further configured to execute, by the first controlled terminal, the service data based on the second master control instruction.
Further, the first master control instruction is an instruction based on a Web Socket protocol.
Further, the server adopts a Spring Boot and Spring Data architecture.
The technical scheme provided by the embodiment of the application has at least the following beneficial effects:
in the on-line teaching process, a teacher can perform relevant operations on a handheld mobile terminal, and the PC terminal and the student terminal are controlled through the mobile terminal, so that the PC terminal and the student terminal can display a display page consistent with the teacher mobile terminal. Therefore, the flexible operation of the teacher on courseware can be realized, and the real-time operation of the teacher can be transmitted to each student end through the PC end which is connected with the network stably, so that the mobile teaching of the teacher can be smoothly developed in the online teaching process, and the teaching quality of online teaching is effectively improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart illustrating a multi-terminal control method according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a multi-terminal control system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The teaching in the online classroom can be understood as teaching in an online teaching mode. Different from traditional classroom book teaching, when online teaching, the teaching content of the PC terminal controlled by the teacher can be transmitted to the student terminal in real time, so that the students can browse the teaching content of the teacher in real time at the respective student terminals. When the teacher turns pages, calls or gives the students a white board for answering at the PC end, the student end can synchronously display the corresponding pages. And, the teacher can control all student terminals at the same time at the PC terminal, or each student terminal separately. When the teacher controls all student terminals at the PC terminal, the teacher can be regarded as the indifferent control of the student terminals at the PC terminal, and all the student terminals synchronously display the same page as the PC terminal. For example, teachers give lessons in a unified manner on the PC side. When the teacher controls each student end at the PC end respectively, the teacher can be regarded as the selection control of the student ends at the PC end, and the teacher can select some student ends to carry out individual control so as to pertinently send corresponding control instructions to the selected student ends. For example, a teacher sends practice questions with different difficulties to different student terminals at a PC terminal according to the learning abilities of the students. And, when carrying out online teaching, teacher and student only need to carry out with the help of the equipment terminal that has accessed the network. Therefore, teachers and students can follow a traditional network teaching mode to develop online teaching in classrooms, and can be different from the traditional classroom teaching mode and respectively positioned in different spaces to develop online teaching. Therefore, the dependence of teaching activities on teaching places can be reduced by using the online classroom teaching, and the implementation scenes of the teaching activities are enriched.
However, when teaching in an "online classroom", a teacher often needs to operate and control the PC terminal, so as to develop interactive teaching with a student terminal. For example, when a teacher classes, turns pages, calls a roll or makes a student board answer with a courseware at the PC side, the PC side can transmit the teacher's operation to the student side in real time. However, the PC side operation needs to be implemented by a mouse, and operations supported by the PC side include sliding, left-clicking, right-clicking, double-clicking, and the like. Therefore, the operation supported by the PC side is relatively single, and the interaction effect is relatively less. However, in the course of teaching, the teacher inevitably needs to perform blackboard writing explanation/annotation on the courseware, so that the students can receive the courseware content more comprehensively and clearly. Although the connection of the PC-side equipment to the network is more stable, the operation mode is single, so that the use requirement under the teaching scene cannot be completely met. The mobile terminal opposite to the PC end can support operations such as sliding, left clicking, right clicking, double clicking and the like, and can realize operations such as operation clicking, sliding, double clicking, zooming in/out, five-finger shrinking, pressure sensing and the like of the finger/capacitance pen, so that the operation mode is simpler, more convenient and richer. The teacher can annotate courseware more flexibly at the mobile terminal. However, when the mobile terminal encounters a signal problem, the network environment is not good, and the problem of network speed difference and even network disconnection occurs. The on-line teaching can not be carried out without the network, so that the advantages of stability of the PC end connected with the network and convenience in operation of the mobile terminal can be combined, and the mobile terminal which can be controlled by a teacher is introduced into a scene of carrying out on-line teaching by utilizing the PC end. Therefore, the simpler and richer operation modes supported by the mobile terminal can be utilized, so that the teacher can conveniently perform corresponding operation on courseware according to teaching requirements, and real-time operation performed by the teacher is transmitted to each student terminal through the PC terminal which is connected with the network stably, so that the teaching efficiency of online teaching is improved.
In addition, the teacher directly operates and controls the PC end by means of the mouse, so that the teacher can only move in a fixed range around the PC end, and once the teacher is separated from the operating range of the PC end, the control on the PC end cannot be carried out. However, when on-line teaching is carried out depending on a classroom site, the proper movement of a teacher in a classroom space can influence the concentration degree and the classroom participation degree of students, thereby influencing the receptivity of the students on classroom teaching knowledge. If the teacher only moves in the operable range of the PC end, the teacher cannot enter the classroom space to develop the activity teaching. Thus, the development of the teaching activities of 'on-line classroom' is not facilitated. Therefore, it is also desirable to provide a mobile terminal that enables a teacher to control a PC while moving within a classroom space. Therefore, the teacher can carry out visible corresponding operation through the mobile terminal according to the classroom reaction of the students while moving type teaching in a classroom, and the real-time operation done by the teacher is transmitted to the student terminal through the PC terminal which is more stable in connection with the network.
In order to realize the smooth development of the mobile teaching of teachers in the on-line teaching process and enhance the convenient operation of the teachers on courseware, it is necessary to introduce a mobile terminal controlled by the teachers on the basis of developing the on-line teaching by utilizing a PC terminal and student terminals. In addition, in order to realize that the mobile terminal controlled by the teacher can cooperate with the PC terminal and the student terminal to develop online teaching, a multi-terminal control method needs to be provided. The multi-terminal control method may be understood as a method of controlling a PC terminal, a student terminal, a mobile terminal that is directly operated when a teacher moves. Specifically, referring to fig. 1, a multi-terminal control method provided in the embodiment of the present application includes the following steps:
s100: the first master control terminal sends a first master control instruction based on business logic to the server.
The first master control terminal here can be understood as a mobile terminal that is directly controlled by the teacher and has established a network connection with the server. For example, a tablet computer held by a teacher while moving within a classroom during online teaching sessions.
The server here can be understood as a service system developed for developing "on-line classroom/on-line teaching". The business logic can be understood as a rule for completing multi-terminal control in the online teaching process, and a reasonable conclusion can be made between the first main control terminal and the server according to the existing information.
The first main control instruction can be understood as corresponding operation data received by the first main control terminal when the operator of the first main control terminal performs corresponding operation in the online teaching process. For example, in the online teaching process, when a teacher annotates courseware on a handheld mobile terminal, the mobile terminal sends a corresponding courseware annotation instruction to the server based on the operation logic between the mobile terminal and the server. The courseware annotation instruction comprises courseware annotation content, courseware annotation positions and the like. Then, the server can receive the first main control instruction sent by the first main control terminal and generate corresponding execution service data.
It should be noted that, in the multi-terminal control method provided by the present application, the execution service data generated by the server based on the first main control instruction may be understood as operation data corresponding to the teacher executing the corresponding operation in the mobile terminal, instead of an audio/video file carrying the operation data. It can be understood that, the volume of the audio and video stream is large due to the synchronization control based on the online system, and whether the network environment and the network bandwidth provided by the network provider meet the use requirement needs need to be noticed in the transmission process. When the network environment of the user is not ideal, or the network bandwidth provided by the network provider is less than the bandwidth required for guaranteeing the quality of the audio and video stream, according to the wireless information transmission theory, the following results can be obtained: when the audio and video quality is ensured, because the maximum throughput of information on the network bandwidth is determined, if the network condition cannot be met, phenomena of transmission blockage, delay and the like occur; therefore, the synchronous control of the teacher end and the PC end has the problems of delay, pause and the like. To reduce delay and reduce stutter, only audio-video quality can be compressed. However, the multi-terminal control method provided by the application is not based on a video conference system. Therefore, online transmission of audio and video stream data does not need to be processed, and only operation data of teachers on the progress of the course files need to be processed. The operation data can be understood as a text type record file occupying a small memory, and can be transmitted in a network environment (such as civil hundred-million bandwidth or mobile phone 3g signals) without delay or jamming and the like.
The multi-terminal control method provided by the embodiment of the application is mainly used for realizing the interaction of World Wide Web (Web for short) application. Namely, the multi-terminal control mainly controls the interaction among the mobile terminal Web held by a teacher, the PC terminal Web and the student terminal Web. And when the teacher end executes corresponding operation on the handheld mobile terminal Web, the server can send the corresponding operation execution data to the PC terminal Web and the student end Web, so that Web pages displayed by all the terminals are kept consistent.
Further, in a preferred embodiment provided by the present application, the first master instruction is an instruction based on a Web Socket protocol.
The first main control instruction is an instruction based on a Web Socket protocol, and it can be understood that transmission of the first main control instruction is based on the Web Socket protocol. That is, in the multi-terminal control method provided by the application, the teacher transmits the control command to the server through the Web Socket protocol.
It is understood that the Web belongs to a network service established on the Internet; the Web is a distributed graphical information system based on the expression forms of hypertext (hypertext), hypermedia (Hypermedia), hypertext Transfer Protocol (HTTP), and the like, and has the properties of globality, dynamic interaction, cross-platform, and the like. The interactivity of the Web is first represented on its hyperlinks, the browsing sequence and the sites reached by the user being completely determined by themselves. In addition, in the interaction mode of the Web application, the client sends an HTTP request to the server, and the server returns corresponding data according to the request of the client. However, in such an interactive mode, all requests are actively initiated by the client, i.e., the HTTP protocol can only implement client requests, so that the two communicating parties are not peer-to-peer. This also makes it impossible for the server to actively send push data to the client.
It should be emphasized that, in the multi-terminal control method provided by the present application, after the teacher performs the corresponding operation on the handheld mobile terminal Web, the server needs to send the corresponding operation execution data to the PC-side Web and the student-side Web. That is, the server needs to actively push data to the PC-side Web and the student-side Web. With the traditional HTTP protocol, the server cannot actively transmit operation execution data to the PC-side Web and the student-side Web, so that the operation of the teacher side cannot be synchronously displayed on the PC side and the student side. Therefore, students cannot synchronously master the real-time operation of teachers, and the significance of on-line teaching development is lost. That is, the conventional HTTP protocol is used, and multi-terminal control in the online teaching mode cannot be satisfied. Therefore, the embodiment of the application provides a communication mode based on a Web Socket protocol, and the communication mode is used for solving the technical problem that a server cannot actively transmit operation data of a teacher end to a PC end Web and a student end Web in an online teaching process.
It should be noted that the Web Socket Protocol is a Protocol for performing full duplex communication over a single Transmission Control Protocol TCP (Transmission Control Protocol, TCP for short), and can enable a server to actively push data to a client, so that data exchange between the client and the server is simpler. And the Web Socket protocol adopts an HTTP protocol to handshake, and in a Websocket application programming interface, the browser and the server only need to complete one-time handshake, and the browser and the server can directly establish persistent connection and perform bidirectional data transmission. Therefore, the Web Socket protocol communication is adopted, and after the client and the server complete one-time handshake, the server can actively push data to the client. Therefore, the operation data of the teacher side in the application is transmitted through the WebSocket protocol. It can be understood that, during the on-line teaching, the teacher opens the on-line classroom and the student end establishes a connection with the server when joining the on-line classroom. Namely, the teacher's handheld terminal Web, the PC-side Web, and the student-side Web have all completed handshaking with the server. Therefore, when a teacher executes corresponding operation on the handheld mobile terminal Web, the server can actively send corresponding operation execution data to the PC end Web and the student end Web without repeated handshaking, so that the operation of the teacher end can be quickly synchronized to the PC end and the student end, and the convenience of online teaching is improved.
Further, in a preferred embodiment provided in the present application, the server employs a Spring Boot and Spring Data architecture.
It can be understood that, in the on-line teaching process, the transmission speed of the teacher end for transmitting the operation data to the PC end and the student end directly influences the teaching progress of the on-line classroom. In the traditional classroom teaching process, a teacher can transmit information to students in real time in modes of dictation, writing on a blackboard and the like. However, online teaching is different from traditional classroom teaching, and relevant operations of a teacher are performed on a mobile terminal instead of the teacher writing with a blackboard. Thus, the operation of the teacher end needs to be transmitted to the student end by the server and the network. The speed of data transmission of the network and the server directly influences the time difference between the operation of the teacher end and the operation of the teacher end on the display of the student end. Namely, the operation speed of the teacher end is synchronized to that of the student end, and is closely related to the data transmission speed between the server and the network. The synchronous speed of the teacher end operating at the student end directly influences the teaching progress of the on-line classroom. The speed of data transmission of the network mainly depends on the development result of the network developer on the network. However, the speed of the server transmitting data can be controlled. Therefore, the teaching quality of the development of the server and the online teaching is inseparable. In the online teaching scenario, the development of the server needs to consider the aspects of hot data caching capability, data access speed, CRUD (Create/Read/Update/Delete) add/Delete and modify operation capability of related resources, and the like.
When the server is developed, compared with other frameworks, the Spring framework is a lightweight development framework which is light, flexible and easy to develop, test and deploy, and has the advantages of low invasive design, extremely low code pollution, independence from various application servers, reduction of complexity of service object replacement, improvement of decoupling between components, centralized management of general tasks such as safety/affairs/logs and the like. The Spring Boot and Spring Data framework is a child of the Spring application framework. The Spring Data serving as a Spring sub-item can be used for simplifying database access and supporting the storage of a non-relational database and a relational database, so that the database access is convenient and quick. The Spring Boot is used as a Spring sub-project, configuration files of the Spring Boot are greatly reduced, various default configurations are provided to simplify project configuration, an embedded container simplifies a web project, the Spring Boot has the advantages of being rapid in development, free of configuration integration, capable of running independently and the like, development and deployment efficiency is greatly improved, and the Spring Boot is particularly suitable for building a micro-service system.
The server adopts a Spring Boot and Spring Data architecture, and can conveniently access the database on the basis of convenient deployment. Therefore, after the server receives the first main control instruction sent by the mobile terminal held by the teacher, the corresponding execution service data can be quickly generated and sent to the PC terminal and the student terminal. Like this, during online teaching, teacher's end operation data can be synchronized fast to PC end and student's end, has reduced teacher's end operation data transmission time delay between many terminals for PC end and student's end can show the teacher fast and at the concrete operation content of handheld mobile terminal, thereby has promoted online teaching's teaching efficiency.
In a specific embodiment provided by the present application, an overall architecture adopted by the multi-terminal control method provided by the present application may be embodied as a structure with a front end and a back end separated. Specifically, the front end can be html + js + css; the client and the server communicate by https encryption; the whole framework of the back section is Spring Boot + Spring Data. Wherein, the Spring Boot serves as a basic component to provide Representational State Transfer (REST) service for the outside; the Spring Data provides communication with a persistent layer mongo of the database and CRUD operation capacity, integrates redis, provides thermal Data for memory caching, increases Data access speed, integrates CI/CD service, increases overall project iteration speed and accelerates new function edition sending-in and on-line production.
S200: and the server sends the execution service data to the first master control terminal according to the first master control instruction.
S300: and the first master control terminal executes the service data based on the first master control instruction.
It can be understood that, when the server receives the control instruction sent by the terminal, an execution command corresponding to the control instruction may be generated according to the received instruction, so that the terminal executes a corresponding operation based on the control instruction.
The execution of the service data may be understood as a command generated by the server according to the first master control instruction and used by another first master control terminal to execute the first master control instruction.
In a specific embodiment provided by the application, when a teacher notes courseware in a handheld mobile terminal during online teaching, the mobile terminal sends a corresponding courseware note instruction to a server based on the operation logic between the mobile terminal and the server. The courseware annotation instruction comprises courseware annotation content, courseware annotation positions and the like. When the server receives the courseware annotation instruction, corresponding instruction execution data is generated, so that the mobile terminal can accurately display corresponding courseware annotation contents at corresponding positions of a display page of the mobile terminal according to the courseware annotation instruction. The steps S100-S300 may also be understood as that when the teacher annotates the courseware in the mobile terminal, the first master control terminal displays the specific annotation made by the teacher on the display screen of the mobile terminal in real time.
S400: and the server sends the execution service data to the second main control terminal according to the first main control instruction, wherein the first main control terminal and the second main control terminal are configured to be controlled by the same operator.
S500: and the second main control terminal executes the service data based on the first main control instruction.
The second master control terminal here can be understood as a fixed PC terminal that can be controlled by the teacher and that has established a network connection relationship with the server and that has stable network communication conditions. It is noted that the second master control terminal is not directly controlled by the teacher, but may be indirectly controlled by the teacher. That is, the first master control terminal and the second master control terminal are configured to be controlled by a teacher during online teaching.
In a specific implementation manner provided by the application, when online education is performed, a teacher annotates courseware on a handheld mobile terminal, and the handheld terminal can display the content annotated by the teacher on a screen of the mobile terminal. Meanwhile, the server also sends corresponding instruction execution data generated according to the courseware annotation instruction to the PC terminal, so that the PC terminal can receive specific modifications of the courseware made by the teacher, and the PC terminal can accurately display corresponding courseware annotation contents at corresponding positions of a display page of the mobile terminal according to the courseware annotation instruction. Particularly, in the online teaching course, the PC terminal performs screen projection, and students can observe the concrete annotations made by the teacher to the courseware at the handheld terminal in real time through the screen projection of the PC terminal. Compared with the method for annotating courseware at the PC terminal, the method has the advantages that a teacher annotates courseware at the mobile terminal, and the convenience is high. And moreover, the concrete annotations made by the teacher to the courseware are synchronously displayed on the PC terminal, so that the students can conveniently observe the courseware.
S600: and the server sends the execution service data to the first controlled terminal according to the first master control instruction.
S700: and the first controlled terminal executes the service data based on the first master control instruction.
The first controlled terminal here can be understood as a device terminal which can be controlled by a student and has established a network connection relationship with the server. For example, a mobile terminal/PC terminal can be used by students to receive teacher-side transmitted information during online teaching.
It can be understood that when online teaching is carried out, particularly, when the teacher and the students carry out online teaching in different places, the specific operation of the teacher at the teacher end needs to be synchronously transmitted to the students. Therefore, after receiving the first main control instruction sent by the first main control terminal, the server also needs to send the execution service data generated according to the first main control instruction to the first controlled terminal. At this time, the first controlled terminal executes the corresponding service data based on the first master control instruction.
In a specific implementation manner provided by the application, when online education is performed, a teacher annotates courseware on a handheld mobile terminal, and the handheld terminal can display the content annotated by the teacher on a screen of the mobile terminal. Meanwhile, the server also sends corresponding instruction execution data generated according to the courseware annotation instruction to the PC terminal, so that the PC terminal can receive specific modifications of the courseware made by the teacher, and the PC terminal can accurately display corresponding courseware annotation contents at corresponding positions of a display page of the PC terminal according to the courseware annotation instruction. And the server also sends corresponding instruction execution data generated according to the courseware annotation instruction to the student terminals, so that the student terminals can receive specific modifications of the courseware made by the teacher, and the student terminals can accurately display corresponding courseware annotation contents at corresponding positions of the student terminal display page according to the courseware annotation instruction. Therefore, the specific modification of the teacher on the handheld mobile terminal is displayed on the handheld mobile terminal, the PC terminal and the display screen of the student terminal of the teacher, so that the students can synchronously know the specific modification of the teacher on the teaching courseware. Similarly, when the teacher turns pages of courseware, opens students to answer questions and opens random roll call on the mobile terminal, the display screens of the PC terminal and the student terminal synchronously display corresponding operation pages.
Further, in a preferred embodiment provided in the present application, the multi-terminal control method further includes: when the first master control instruction is an authorization instruction for the first controlled terminal, the control authority of the first controlled terminal is configured to the first controlled terminal, so that the first controlled terminal executes service data independently of the first master control terminal and the second master control terminal.
The authorization instruction can be understood as that an operator performs the operation of giving the related operation authority of the first controlled terminal at the first main control terminal. For example, a teacher authorizes a plurality of free practice/classroom joining/answering operations of the student side on a handheld mobile terminal. It can be appreciated that online education requires students to join an online classroom. At this time, the student end sends a joining request instruction to the server and sends the request instruction to the teacher end through the server. When the teacher end receives the corresponding request instruction, if the teacher agrees the request, the students can join the online classroom. This process may be understood as authorization to request to join an online classroom. When the student end requesting to join obtains the authorization of the teacher end, the student end can join the online classroom. Of course, if authorization fails, the student end cannot join the online classroom.
Specifically, in the present application, an operator performs authorization of the first controlled terminal at the first main control terminal, and configures the control authority of the first controlled terminal to the first controlled terminal. Namely, the first controlled terminal is separated from the control of the first main control terminal and the second main control terminal, and the related operation is executed independently.
In a specific embodiment provided by the application, online teaching is carried out, and the same teaching content is synchronously displayed on the display screens of the handheld mobile terminal of the teacher, the PC terminal and the student terminal. That is, all student ends are controlled by the teacher end. The teacher can give the control authority of the student end to the corresponding student end according to the actual teaching requirement, so that the students can carry out free practice at the authorized student end. That is, the authorized student side can independently develop free exercises without the control of the teacher side. The student end executes the free exercise business without being controlled by the teacher end. Students can carry out own exercise in any hall according to the self condition. And the content displayed by each authorized student side screen is not the same. This process can also be understood as a practice in the on-line teaching process.
Further, in a preferred embodiment provided in the present application, the multi-terminal control method further includes: when the first master control terminal sends a second master control instruction based on service logic to the server, and the second master control instruction is an authorization instruction aiming at the first controlled terminal, the server sends execution service data to the first master control terminal according to the second master control instruction;
the first master control terminal executes the service data based on the second master control instruction;
the server sends execution service data to the second master control terminal according to the second master control instruction;
the second main control terminal executes the service data based on the second main control instruction;
the server sends execution service data to the first controlled terminal according to the second master control instruction;
and the first controlled terminal executes the service data based on the second master control instruction.
The second master control instruction can be understood as a command for withdrawing the operation authority given to the first controlled terminal by the first master control terminal. It can be understood that, after the first master control terminal gives the operation authority to the first controlled terminal, the first master control terminal still has the control authority to withdraw the operation authority of the first controlled terminal.
In the on-line teaching process, if the teacher needs to recover the relative authority given to the student end, the teacher can execute corresponding operation on the handheld mobile terminal. For example, clicking on the "rights retraction" identification of the mobile terminal screen. At this time, the mobile terminal sends an authority withdrawing instruction based on the service logic to the server. And when the server receives the permission recovery instruction, generating corresponding response data according to the permission recovery instruction, and sending the response data to the mobile terminal. Namely, the server sends the execution service data to the mobile terminal held by the teacher. And the mobile terminal can display the corresponding identification on the screen of the mobile terminal according to the received execution service data and the preset program. And after receiving the second main control instruction, the server also sends the execution service data generated according to the second main control instruction to the PC terminal. And the PC end can execute corresponding operation after receiving the execution service data, so that the PC end can synchronously display the same display picture as that of the mobile terminal held by the teacher on the screen. In addition, after the server receives the second master control instruction, the server also sends the execution service data generated according to the second master control instruction to the authorized student end. And the student end receives the execution service data, and then executes corresponding operation so as to end the operation authority given to the student end by the teacher. When the teacher gives the operation authority to the student end to be recovered, the student end cannot execute corresponding operation independently of the teacher end. And the display screen of the student end with the withdrawal authority is consistent with the mobile terminal and the PC end held by the teacher. That is, at this time, the teacher end is restored to control all the student ends, and the display pictures of all the student ends are consistent.
In a specific implementation scenario provided by the application, when a teacher performs online education, a mode of class taking, for example, a Pad class, an answering machine class, a dot matrix pen class and other modes of class taking, can be selected on a handheld mobile terminal. After the teacher selects the class mode, taking the example after selecting Pad class, the teacher can select the class of teaching. Then, the student end can join the classroom. The student end can be controlled by the teacher end when just joining the classroom. At this time, the student cannot operate at the student end, and the page is synchronous with the teacher end. This process may be understood as "indifferent" control of the teacher's end over the student's end.
The teacher may then release control to the student. At this time, the students can freely answer and turn pages, and the pages of the student end and the pages of the teacher end are not synchronous. The process can be understood as that the teacher configures the control authority of the first controlled terminal to the first controlled terminal at the teacher end. That is, the teacher gives the student control authority over the student side.
When the student end finishes free exercise, the teacher will withdraw the control right configured to the student end to finish the control of the student end by the student. At the moment, the display interface of the student end jumps to the interface where the teacher end is located at present, so that the synchronization with the display page of the teacher end is realized. This process may be understood as the teacher performing an authorization operation for the first controlled terminal at the teacher's end. That is, the teacher releases the student's control authority to the student side.
The embodiment of the application also provides a multi-terminal control system, which is used for executing the steps S100-S700.
Specifically, referring to fig. 2, a multi-terminal control system 100 provided in the embodiment of the present application includes:
a control instruction sending device 11, configured to send a first main control instruction based on service logic to a server by a first main control terminal;
a control instruction response device 12, configured to send, by the server, execution service data to the first master control terminal according to the first master control instruction;
an executing device 13, configured to execute, by the first master control terminal, service data based on the first master control instruction;
the control instruction response device 12 is further configured to send, by the server, execution service data to the second master control terminal according to the first master control instruction;
the execution device 13 is further configured to execute, by the second master control terminal, the service data based on the first master control instruction;
the control instruction response device 12 is further configured to send, by the server, execution service data to the first controlled terminal according to the first master control instruction;
the execution device 13 is further configured to execute, by the first controlled terminal, the service data based on the first master control instruction;
the first master terminal and the second master terminal are configured to be controlled by the same operator.
And a control instruction sending device 11, configured to send a first main control instruction based on the service logic to the server by the first main control terminal. The first master control terminal here may be understood as a mobile terminal that is directly controlled by the teacher and has established a network connection with the server. For example, a tablet computer held by a teacher while moving within a classroom during online teaching sessions. The server here can be understood as a service system developed for developing "on-line classroom/on-line teaching". The business logic can be understood as a rule for completing multi-terminal control in the online teaching process, and a reasonable conclusion can be made between the first main control terminal and the server according to the existing information. The first main control instruction can be understood as corresponding operation data received by the first main control terminal when the operator of the first main control terminal performs corresponding operation in the online teaching process. For example, in the online teaching process, when a teacher annotates courseware on a handheld mobile terminal, the mobile terminal sends a corresponding courseware annotation instruction to the server based on the operation logic between the mobile terminal and the server. The courseware annotation instruction comprises courseware annotation content, courseware annotation positions and the like. Then, the server can receive the first main control instruction sent by the first main control terminal and generate corresponding execution service data.
It should be noted that the service execution data generated by the server based on the first master control instruction may be understood as operation data corresponding to the teacher performing the corresponding operation on the mobile terminal, instead of the audio/video file carrying the operation data. It can be understood that, the volume of the audio and video stream is large due to the synchronization control based on the online system, and whether the network environment and the network bandwidth provided by the network provider meet the use requirement needs need to be noticed in the transmission process. When the network environment of the user is not ideal, or the network bandwidth provided by the network provider is less than the bandwidth required for guaranteeing the quality of the audio and video stream, according to the wireless information transmission theory, the following results can be obtained: when the audio and video quality is ensured, because the maximum throughput of information on the network bandwidth is determined, if the network condition cannot be met, phenomena of transmission blockage, delay and the like occur; therefore, the synchronous control of the teacher end and the PC end has the problems of delay, pause and the like. To reduce delay and reduce stutter, only audio-video quality can be compressed. However, the multi-terminal control system 100 provided by the present application is not based on a video conference system. Therefore, online transmission of audio and video stream data does not need to be processed, and only operation data of a teacher on the progress of the course file needs to be processed. The operation data can be understood as a text type record file occupying a small memory, and can be transmitted in a network environment (such as civil hundred-million bandwidth or mobile phone 3g signals) without delay or jamming and the like.
The multi-terminal control system 100 provided in the embodiment of the present application is mainly used for realizing interaction of World Wide Web (Web) applications. Namely, the multi-terminal control mainly controls the interaction among the mobile terminal Web, the PC terminal Web and the student terminal Web which are held by the teacher. And when the teacher end executes corresponding operation on the handheld mobile terminal Web, the server can send corresponding operation execution data to the PC terminal Web and the student end Web so as to keep Web pages displayed by all the terminals consistent.
Further, in a preferred embodiment provided by the present application, the first master instruction is an instruction based on a Web Socket protocol.
The first main control instruction is an instruction based on a Web Socket protocol, and it can be understood that transmission of the first main control instruction is based on the Web Socket protocol. That is, in the multi-terminal control method provided by the application, the teacher transmits the control command to the server through the Web Socket protocol.
It is understood that the Web belongs to a network service established on the Internet; the Web is a distributed graphic information system based on the representation forms of hypertext (hypertext), hypermedia (Hypermedia), hypertext Transfer Protocol (HTTP), and the like, and has the properties of globality, dynamic interaction, cross-platform, and the like. The interactivity of the Web is first represented on its hyperlinks, the browsing sequence and the sites reached by the user being completely determined by themselves. In addition, in the interaction mode of the Web application, the client sends an HTTP request to the server, and the server returns corresponding data according to the request of the client. However, in such an interactive mode, all requests are actively initiated by the client, i.e., the HTTP protocol can only implement client requests, so that the two communicating parties are not peer-to-peer. This also makes it impossible for the server to actively send push data to the client.
It should be emphasized that, in the multi-terminal control method provided by the present application, after the teacher performs the corresponding operation on the handheld mobile terminal Web, the server needs to send the corresponding operation execution data to the PC-side Web and the student-side Web. That is, the server needs to actively push data to the PC-side Web and the student-side Web. With the traditional HTTP protocol, the server cannot actively transmit operation execution data to the PC-side Web and the student-side Web, so that the operation of the teacher side cannot be synchronously displayed on the PC side and the student side. Therefore, students cannot synchronously master the real-time operation of teachers, and the significance of on-line teaching development is lost. That is, using the conventional HTTP protocol, multi-terminal control in the on-line teaching mode cannot be satisfied. Therefore, the embodiment of the application provides a communication mode based on a Web Socket protocol, and the communication mode is used for solving the technical problem that a server cannot actively transmit operation data of a teacher end to a PC end Web and a student end Web in an online teaching process.
It should be noted that the Web Socket Protocol is a Protocol for performing full duplex communication over a single Transmission Control Protocol TCP (Transmission Control Protocol, TCP for short), and can enable a server to actively push data to a client, so that data exchange between the client and the server is simpler. And the Web Socket protocol adopts an HTTP protocol to handshake, and in a Websocket application programming interface, the browser and the server only need to complete one-time handshake, and the browser and the server can directly establish persistent connection and perform bidirectional data transmission. Therefore, the Web Socket protocol communication is adopted, and after the client and the server complete one-time handshake, the server can actively push data to the client. Therefore, the operation data of the teacher side in the application is transmitted through the WebSocket protocol. It can be understood that, during the on-line teaching, the teacher opens the on-line classroom and the student end establishes a connection with the server when joining the on-line classroom. That is, the teacher's handheld terminal Web, the PC-side Web, and the student-side Web all complete handshaking with the server. Therefore, when a teacher executes corresponding operation on the handheld mobile terminal Web, the server can actively send corresponding operation execution data to the PC end Web and the student end Web without repeated handshaking, so that the operation of the teacher end can be quickly synchronized to the PC end and the student end, and the convenience of online teaching is improved.
Further, in a preferred embodiment provided in the present application, the server employs a Spring Boot and Spring Data architecture.
It can be understood that, in the on-line teaching process, the transmission speed of the teacher end for transmitting the operation data to the PC end and the student end directly influences the teaching progress of the on-line classroom. In the traditional classroom teaching process, a teacher can transmit information to students in real time in modes of dictation, writing on a blackboard and the like. However, the online teaching is different from the traditional classroom teaching, and the relevant operation of the teacher is performed on the mobile terminal instead of the blackboard writing of the teacher. Thus, the operation of the teacher end needs to be transmitted to the student end by the server and the network. The speed of data transmission of the network and the server directly influences the time difference between the operation of the teacher end and the operation of the teacher end on the display of the student end. Namely, the operation speed of the teacher end is synchronized to that of the student end, and is closely related to the data transmission speed between the server and the network. The synchronous speed of the teacher end operating at the student end directly influences the teaching progress of the on-line class. The speed of data transmission by the network mainly depends on the development result of the network developer on the network. However, the speed of the server transmitting data can be controlled. Therefore, the teaching quality of the development of the server and the online teaching is inseparable. In the online teaching scene, the development of the server needs to consider the aspects of hot data caching capability, data access speed, CRUD (Create/Read/Update/Delete) increase, delete, change and check operation capability of related resources, and the like.
When the server is developed, compared with other frameworks, the Spring framework is a lightweight development framework which is light, flexible and easy to develop, test and deploy, and has the advantages of low invasive design, extremely low code pollution, independence from various application servers, reduction of complexity of service object replacement, improvement of decoupling between components, centralized management of general tasks such as safety/affairs/logs and the like. The Spring Boot and Spring Data architecture is a child of the Spring application framework. The Spring Data serving as the Spring sub-item can be used for simplifying database access and supporting storage of a non-relational database and a relational database, so that the database access is convenient and quick. The Spring Boot is used as a Spring sub-project, configuration files of the Spring Boot are greatly reduced, various default configurations are provided to simplify project configuration, an embedded container simplifies a web project, the Spring Boot has the advantages of being rapid in development, free of configuration integration, capable of running independently and the like, development and deployment efficiency is greatly improved, and the Spring Boot is particularly suitable for building a micro-service system.
The server adopts a Spring Boot and Spring Data architecture, and can conveniently access the database on the basis of convenient deployment. Therefore, after the server receives the first master control instruction sent by the mobile terminal held by the teacher, the server can quickly generate corresponding execution service data and send the corresponding execution service data to the PC terminal and the student terminal. Therefore, during online teaching, the operation data of the teacher end can be quickly synchronized to the PC end and the student end, transmission time delay of the operation data of the teacher end between multiple terminals is reduced, the PC end and the student end can quickly display specific operation contents of the teacher at the handheld mobile terminal, and therefore teaching efficiency of online teaching is improved.
In one embodiment provided herein, the overall architecture adopted by the multi-terminal control system 100 provided herein may be embodied as a front-end and back-end separated structure. Specifically, the front end can be html + js + css; the client and the server communicate by https encryption; the rear section is integrally structured as Spring Boot + Spring Data. Wherein, the Spring Boot serves as a basic component to provide Representational State Transfer (REST) service for the outside; spring Data provides communication with a persistent layer mongo of a database and CRUD operation capacity, redis integrated, thermal Data is provided for memory caching, data access speed is increased, CI/CD service is integrated, the iteration speed of the whole project is increased, and new function publishing, online production and online production are accelerated.
A control instruction response device 12, configured to send, by the server, execution service data to the first master control terminal according to the first master control instruction; and the executing device 13 is configured to execute the service data based on the first main control instruction by the first main control terminal.
It can be understood that, when the server receives the control instruction sent by the terminal, an execution command corresponding to the control instruction may be generated according to the received instruction, so that the terminal executes a corresponding operation based on the control instruction. The execution of the service data may be understood as a command generated by the server according to the first master control instruction and used by another first master control terminal to execute the first master control instruction.
In a specific implementation manner provided by the application, when online education is performed, when a teacher performs courseware annotation on a handheld mobile terminal, the mobile terminal sends a corresponding courseware annotation instruction to a server based on the operation logic between the mobile terminal and the server. The courseware annotation instruction comprises courseware annotation content, courseware annotation positions and the like. When the server receives the courseware annotation instruction, corresponding instruction execution data is generated, so that the mobile terminal can accurately display corresponding courseware annotation contents at corresponding positions of a display page of the mobile terminal according to the courseware annotation instruction. The steps S100-S300 may also be understood as that when the teacher annotates the courseware in the mobile terminal, the first master control terminal displays the specific annotation made by the teacher on the display screen of the mobile terminal in real time.
The control instruction response device 12 is further configured to send, by the server, execution service data to the second master control terminal according to the first master control instruction; the execution device 13 is further configured to execute, by the second master control terminal, the service data based on the first master control instruction; wherein the first master terminal and the second master terminal are configured to be controlled by the same operator.
The second master control terminal here can be understood as a fixed PC terminal that can be controlled by the teacher and that has established a network connection relationship with the server and that has stable network communication conditions. It is noted that the second master control terminal is not directly controlled by the teacher, but may be indirectly controlled by the teacher. That is, the first master control terminal and the second master control terminal are configured to be controlled by the teacher during the online teaching.
In one embodiment provided by the application, when a teacher annotates courseware in the handheld mobile terminal during online teaching, the handheld terminal can display the content annotated by the teacher on a screen of the mobile terminal. Meanwhile, the server also sends corresponding instruction execution data generated according to the courseware annotation instruction to the PC terminal, so that the PC terminal can receive specific modifications of the courseware made by the teacher, and the PC terminal can accurately display corresponding courseware annotation contents at corresponding positions of a display page of the mobile terminal according to the courseware annotation instruction. Particularly, in online teaching courses, the PC terminal performs screen projection, and students can observe concrete comments made to courseware by teachers at the handheld terminals in real time through the screen projection of the PC terminal. Compared with the method for annotating courseware at the PC terminal, the method has the advantages that the teacher annotates courseware at the mobile terminal, and the convenience is high. And moreover, the concrete annotations made by the teacher to the courseware are synchronously displayed on the PC terminal, so that the students can conveniently observe the courseware.
The control instruction response device 12 is further configured to send, by the server, execution service data to the first controlled terminal according to the first master control instruction; the executing device 13 is further configured to execute, by the first controlled terminal, the service data based on the first master control instruction.
The first controlled terminal here can be understood as a device terminal which can be controlled by a student and has established a network connection relationship with the server. For example, a mobile terminal/PC terminal can be used by students to receive teacher-side transmitted information during online teaching.
It can be understood that when online teaching is carried out, particularly, when teachers and students carry out online teaching in different places, specific operations of the teachers at teacher ends need to be synchronously transmitted to the students. Therefore, after receiving the first main control instruction sent by the first main control terminal, the server also needs to send the execution service data generated according to the first main control instruction to the first controlled terminal. At this time, the first controlled terminal executes the corresponding service data based on the first master control instruction.
In a specific implementation manner provided by the application, when online education is performed, a teacher annotates courseware on a handheld mobile terminal, and the handheld terminal can display the content annotated by the teacher on a screen of the mobile terminal. Meanwhile, the server also sends corresponding instruction execution data generated according to the courseware annotation instruction to the PC terminal, so that the PC terminal can receive specific modifications of the courseware made by the teacher, and the PC terminal can accurately display corresponding courseware annotation contents at corresponding positions of a display page of the PC terminal according to the courseware annotation instruction. And the server also sends corresponding instruction execution data generated according to the courseware annotation instruction to the student terminals, so that the student terminals can receive specific modifications of the courseware made by the teacher, and the student terminals can accurately display corresponding courseware annotation contents at corresponding positions of the student terminal display page according to the courseware annotation instruction. Therefore, the specific modification made by the teacher on the handheld mobile terminal is displayed on the display screens of the teacher handheld mobile terminal, the PC terminal and the student terminal, so that students can synchronously know the specific modification made by the teacher on the teaching courseware. Similarly, when the teacher turns pages of courseware, opens students to answer questions and opens random roll call on the mobile terminal, the display screens of the PC terminal and the student terminal synchronously display corresponding operation pages.
Further, in a preferred embodiment provided in the present application, the multi-terminal control system 100 further includes an authority configuring device, configured to, when the first master control instruction is an authorization instruction for the first controlled terminal, configure the first controlled terminal control authority to the first controlled terminal, so that the first controlled terminal executes the service data independently of the first master control terminal and the second master control terminal.
The authorization instruction can be understood as that an operator performs the operation of giving the related operation authority of the first controlled terminal at the first main control terminal. For example, a teacher authorizes a plurality of free practice/classroom joining/answering operations of the student side on a handheld mobile terminal. It can be appreciated that online education requires students to join an online classroom. At this time, the student side sends a join request instruction to the server, and sends the join request instruction to the teacher side through the server. When the teacher end receives the corresponding request instruction, if the teacher agrees the request, the students can join the online classroom. This process may be understood as authorization to request to join an online classroom. When the student end requesting to join obtains the authorization of the teacher end, the student end can join the online classroom. Of course, if authorization fails, the student end cannot join the online classroom.
Specifically, in the present application, an operator performs authorization of the first controlled terminal at the first main control terminal, and configures the control authority of the first controlled terminal to the first controlled terminal. Namely, the first controlled terminal is separated from the control of the first main control terminal and the second main control terminal, and the related operation is executed independently.
In a specific embodiment provided by the application, online teaching is carried out, and the same teaching content is synchronously displayed on the display screens of the handheld mobile terminal of the teacher, the PC terminal and the student terminal. That is, all student ends are controlled by the teacher end. The teacher can give the control authority of the student end to the corresponding student end according to the actual teaching requirement, so that the students can carry out free exercise at the authorized student end. That is, the authorized student side can independently develop free exercises without the control of the teacher side. The student end executes the free exercise business without being controlled by the teacher end. Students can carry out own exercise in any hall according to the self condition. And the content displayed by each authorized student side screen is not the same. This process can also be understood as a practice in the on-line teaching process.
Further, in a preferred embodiment provided by the present application, when the control instruction sending device 11 is used for the first master control terminal to send a second master control instruction based on the service logic to the server, and the second master control instruction is an authorization instruction for the first controlled terminal, the control instruction responding device 12 is further used for the server to send execution service data to the first master control terminal according to the second master control instruction;
the executing device 13 is further configured to execute, by the first master control terminal, the service data based on the second master control instruction;
the control instruction response device 12 is further configured to send, by the server, execution service data to the second master control terminal according to the second master control instruction; the executing device 13 is further configured to execute, by the second master control terminal, the service data based on the second master control instruction;
the control instruction response device 12 is further configured to send, by the server, execution service data to the first controlled terminal according to the second master control instruction; the executing device 13 is further configured to execute, by the first controlled terminal, the service data based on the second master control instruction.
The second master control instruction can be understood as a command for withdrawing the operation authority given to the first controlled terminal by the first master control terminal. It can be understood that, after the first master control terminal gives the operation authority to the first controlled terminal, the first master control terminal still has the control authority to withdraw the operation authority of the first controlled terminal.
In the on-line teaching process, if the teacher needs to recover the relative authority given to the student end, the teacher can execute corresponding operation on the handheld mobile terminal. For example, clicking on the "rights retraction" identification of the mobile terminal screen. At this time, the mobile terminal sends an authority withdrawing instruction based on the service logic to the server. And when the server receives the permission recovery instruction, generating corresponding response data according to the permission recovery instruction, and sending the response data to the mobile terminal. Namely, the server sends the execution service data to the mobile terminal held by the teacher. And the mobile terminal can display the corresponding identification on the screen of the mobile terminal according to the received execution service data and the preset program. And after receiving the second main control instruction, the server also sends the execution service data generated according to the second main control instruction to the PC terminal. And the PC end receives the execution service data, and then executes corresponding operation, so that the PC end can synchronously display the same display picture as that of the mobile terminal held by the teacher on the screen. In addition, after receiving the second main control instruction, the server also sends the execution service data generated according to the second main control instruction to the authorized student terminal. And the student end receives the execution service data, and then executes corresponding operation so as to end the operation authority given to the student end by the teacher. When the teacher gives the operation authority to the student end to be recovered, the student end cannot execute corresponding operation independently of the teacher end. And the display screen of the student end with the withdrawal authority is consistent with the mobile terminal and the PC end held by the teacher. That is, at this time, the teacher end is restored to control all the student ends, and the display screens of all the student ends are consistent.
In a specific implementation scenario provided by the application, when a teacher performs online education, a mode of class taking, for example, a Pad class, an answering machine class, a dot matrix pen class and other modes of class taking, can be selected on a handheld mobile terminal. After the teacher has selected the class mode, taking the example after selecting Pad class, the teacher can select the class of the lecture. Then, the student end can join the classroom. The student end can be controlled by the teacher end when just joining the classroom. At this time, the student cannot operate at the student end, and the page is synchronous with the teacher end. This process may be understood as "indifferent" control of the teacher's end over the student's end.
The teacher may then release control to the student. At this time, the students can freely answer and turn pages, and the pages of the student end and the pages of the teacher end are not synchronous. The process can be understood as that the teacher configures the control authority of the first controlled terminal to the first controlled terminal at the teacher end. That is, the teacher gives the student control authority over the student side.
When the student end finishes free exercise, the teacher will withdraw the control right configured to the student end to finish the control of the student end by the student. At the moment, the display interface of the student end jumps to the interface where the teacher end is located currently, so that the synchronization of the display page of the student end and the display page of the teacher end is realized. This process may be understood as the teacher performing an authorization operation for the first controlled terminal at the teacher's end. That is, the teacher releases the student's control authority to the student side.
It is to be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the statement "comprises a (8230); a) (8230); and does not exclude the presence of additional identical elements in any process, method, article, or apparatus that comprises said element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A multi-terminal control method is characterized by comprising the following steps:
a first master control terminal sends a first master control instruction based on business logic to a server;
the server sends execution service data to the first master control terminal according to the first master control instruction;
the first main control terminal executes service data based on the first main control instruction;
the server sends execution service data to the second master control terminal according to the first master control instruction;
the second main control terminal executes the service data based on the first main control instruction;
the server sends execution service data to the first controlled terminal according to the first master control instruction;
the first controlled terminal executes the service data based on the first main control instruction;
the first master terminal and the second master terminal are configured to be controlled by the same operator.
2. The method of claim 1, wherein the method further comprises:
when the first master control instruction is an authorization instruction for the first controlled terminal, the control authority of the first controlled terminal is configured to the first controlled terminal, so that the first controlled terminal executes service data independently of the first master control terminal and the second master control terminal.
3. The method of claim 2, wherein the method further comprises:
when the first master control terminal sends a second master control instruction based on service logic to the server, and the second master control instruction is an authorization instruction aiming at the first controlled terminal, the server sends execution service data to the first master control terminal according to the second master control instruction;
the first master control terminal executes the service data based on the second master control instruction;
the server sends execution service data to the second master control terminal according to the second master control instruction;
the second main control terminal executes the service data based on the second main control instruction;
the server sends execution service data to the first controlled terminal according to the second master control instruction;
and the first controlled terminal executes the service data based on the second master control instruction.
4. The method of claim 1, wherein the first master instruction is an instruction based on a Web Socket protocol.
5. The method of claim 1, wherein the server employs a Spring Boot and Spring Data architecture.
6. A multi-terminal control system, comprising:
the control instruction sending device is used for the first main control terminal to send a first main control instruction based on the service logic to the server;
the control instruction response device is used for the server to send execution service data to the first master control terminal according to the first master control instruction;
the execution device is used for the first main control terminal to execute the service data based on the first main control instruction;
the control instruction response device is also used for the server to send execution service data to the second master control terminal according to the first master control instruction;
the execution device is also used for the second main control terminal to execute the service data based on the first main control instruction;
the control instruction response device is also used for the server to send execution service data to the first controlled terminal according to the first master control instruction;
the execution device is further configured to execute, by the first controlled terminal, the service data based on the first master control instruction;
the first master terminal and the second master terminal are configured to be controlled by the same operator.
7. The system of claim 6, wherein the system further comprises: and the authority configuration device is used for configuring the control authority of the first controlled terminal to the first controlled terminal when the first master control instruction is an authorization instruction aiming at the first controlled terminal, so that the first controlled terminal can execute the service data independently from the first master control terminal and the second master control terminal.
8. The system according to claim 7, wherein when the control instruction sending means is used for the first master control terminal to send a second master control instruction based on the service logic to the server, and the second master control instruction is an authorization instruction for the first controlled terminal, the control instruction responding means is further used for the server to send execution service data to the first master control terminal according to the second master control instruction;
the execution device is also used for the first main control terminal to execute the service data based on the second main control instruction;
the control instruction response device is also used for the server to send execution service data to the second master control terminal according to the second master control instruction;
the execution device is also used for the second main control terminal to execute the service data based on the second main control instruction;
the control instruction response device is also used for the server to send execution service data to the first controlled terminal according to the second master control instruction;
the executing device is further configured to execute, by the first controlled terminal, the service data based on the second master control instruction.
9. The system of claim 6, wherein the first master instruction is an instruction based on a Web Socket protocol.
10. The system of claim 6, wherein the server employs a Spring Boot and Spring Data architecture.
CN202310043298.3A 2023-01-29 2023-01-29 Multi-terminal control method and system Pending CN115801772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310043298.3A CN115801772A (en) 2023-01-29 2023-01-29 Multi-terminal control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310043298.3A CN115801772A (en) 2023-01-29 2023-01-29 Multi-terminal control method and system

Publications (1)

Publication Number Publication Date
CN115801772A true CN115801772A (en) 2023-03-14

Family

ID=85429055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310043298.3A Pending CN115801772A (en) 2023-01-29 2023-01-29 Multi-terminal control method and system

Country Status (1)

Country Link
CN (1) CN115801772A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295434A (en) * 2012-11-15 2013-09-11 李亦文 Interactive experience type education system
CN104158900A (en) * 2014-08-25 2014-11-19 焦点科技股份有限公司 Method and system for synchronizing courseware through iPad controlling
CN107331224A (en) * 2017-08-18 2017-11-07 西安万像电子科技有限公司 Cloud tutoring system and method
CN109166383A (en) * 2018-10-09 2019-01-08 北京汉高天泓文化艺术发展有限公司 Tutoring system based on cloud
CN110352451A (en) * 2019-02-20 2019-10-18 深圳市鹰硕技术有限公司 One kind is the same as screen teaching method, device and system, smart machine and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103295434A (en) * 2012-11-15 2013-09-11 李亦文 Interactive experience type education system
CN104158900A (en) * 2014-08-25 2014-11-19 焦点科技股份有限公司 Method and system for synchronizing courseware through iPad controlling
CN107331224A (en) * 2017-08-18 2017-11-07 西安万像电子科技有限公司 Cloud tutoring system and method
CN109166383A (en) * 2018-10-09 2019-01-08 北京汉高天泓文化艺术发展有限公司 Tutoring system based on cloud
CN110352451A (en) * 2019-02-20 2019-10-18 深圳市鹰硕技术有限公司 One kind is the same as screen teaching method, device and system, smart machine and storage medium

Similar Documents

Publication Publication Date Title
CA2892614C (en) System and method for managing several mobile devices simultaneously
US11875082B2 (en) Collaborative remote interactive platform
US11190557B1 (en) Collaborative remote interactive platform
US11349889B1 (en) Collaborative remote interactive platform
CN106663118B (en) Method for networking cooperative work and machine applying same
Faye et al. Virtual classroom solution with WebRTC in a collaborative context in mathematics learning situation
CN115801772A (en) Multi-terminal control method and system
Dai et al. Cloud-Edge computing technology-based internet of things system for smart classroom environment
Zachariadis et al. XMIDDLE: information sharing middleware for a mobile environment
CN105577831A (en) Data communication method and system in mobile teaching of electronic courseware
JP3851319B2 (en) Image data transmission generation system
TWI626835B (en) Networking conference method, workspace interaction method and machine using the same
Wessner et al. Supporting face-to-face learning with handheld devices
KR20200011299A (en) Method for providing interactive contents including screen, sound, and mouse pointer sharing service for e-sports education
TWI636683B (en) System and method for remote interaction with lower network bandwidth loading
CN106326015A (en) Networked cooperative work method and machine applying same
Knierriem-Jasnoch An approach to classify IT-based teaching and learning environments
Baudin et al. The Lab@ Future Project: “Moving Towards the Future of E-Learning”
CN116866344A (en) Intelligent classroom system, intelligent equipment interaction method and computer readable storage medium
Souya et al. Joint class experiments based on realtime web-browser synchronization
Wastal et al. A Community of Their Own: Developing an Asynchronous Canvas Learning Environment
Dan Research on the Design and Application of Human-Computer Interaction Media Based on Digital Trading Platform
de Jesús Hoyos-Rivera et al. CoLab: A new paradigm and tool for collaboratively browsing the Web
Hoganson Distance-learning and converging mobile devices
Miller et al. Belshazzar: A Simple Tool For Creating And Publishing Voice Annotated Drawings On The Web

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination