CN111182057A - Classroom interaction cross-platform synchronization method, system, equipment and readable storage medium - Google Patents

Classroom interaction cross-platform synchronization method, system, equipment and readable storage medium Download PDF

Info

Publication number
CN111182057A
CN111182057A CN201911391333.0A CN201911391333A CN111182057A CN 111182057 A CN111182057 A CN 111182057A CN 201911391333 A CN201911391333 A CN 201911391333A CN 111182057 A CN111182057 A CN 111182057A
Authority
CN
China
Prior art keywords
mobile terminal
connection
operation instruction
fixed terminal
terminal
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
CN201911391333.0A
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.)
Sunmnet Technology Co ltd
Original Assignee
Sunmnet 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 Sunmnet Technology Co ltd filed Critical Sunmnet Technology Co ltd
Priority to CN201911391333.0A priority Critical patent/CN111182057A/en
Publication of CN111182057A publication Critical patent/CN111182057A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a cross-platform synchronization method for classroom interaction, which comprises the following steps: establishing a first connection channel between a server and a fixed terminal to generate an encrypted connection identifier; establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier; acquiring a first operation instruction sent by the mobile terminal through a second connecting channel; judging whether a sending terminal of the first operation instruction is of a first preset type or not, if so, executing the first operation instruction and forwarding the first operation instruction to the fixed terminal; acquiring a second operation instruction sent by the fixed terminal; and judging whether the sending terminal of the second operation instruction is of a second preset type, and if so, not executing or forwarding the second operation instruction. Correspondingly, the invention also discloses a classroom interaction cross-platform synchronization system, computer equipment and a computer readable storage medium. By adopting the method and the device, the mobile terminal can be operated to project the screen to the fixed terminal, and a teacher does not need to operate at the fixed terminal.

Description

Classroom interaction cross-platform synchronization method, system, equipment and readable storage medium
Technical Field
The invention relates to a communication technology, in particular to a classroom interaction cross-platform synchronization method, a classroom interaction cross-platform synchronization system, classroom interaction cross-platform synchronization equipment and a readable storage medium.
Background
With the development of information technology, classroom teaching tools have also been developed. Many classroom teaching tools released in the market at present are based on fixed terminals such as web pages or clients, and many classroom teaching and teacher-student interaction can be developed on the platforms. Although the traditional teaching mode is changed to a great extent by the classroom teaching tool, the classroom teaching tool has the defect that the actual teaching scene and application are not fully considered. Teachers often walk back and forth on the podium to explain the content, and can walk down the podium to interact with students when necessary. Under these circumstances, if the classroom teaching tool needs to be operated, the teacher often needs to return to the fixed terminal of the platform for operation, which may interrupt the teaching thought and interact with the students, and is not favorable for teaching effect.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a classroom interaction cross-platform synchronization method, system, device and readable storage medium, which can screen the operation of a mobile terminal onto a fixed terminal, and can improve the teaching efficiency and the teaching quality without requiring a teacher to return to the fixed terminal for operation.
In order to solve the technical problem, the invention provides a cross-platform synchronization method for classroom interaction, which comprises the following steps: establishing a first connection channel between a server and a fixed terminal to generate an encrypted connection identifier; establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier; acquiring a first operation instruction sent by the mobile terminal through a second connecting channel; judging whether a sending terminal of the first operation instruction is of a first preset type or not, if so, executing the first operation instruction, and forwarding the first operation instruction to the fixed terminal through a first connecting channel so as to drive the fixed terminal to carry out synchronous operation according to the first operation instruction; acquiring a second operation instruction sent by the fixed terminal for synchronous operation through the first connecting channel; and judging whether the sending terminal of the second operation instruction is of a second preset type, if so, not executing the second operation instruction and not forwarding the second operation instruction.
As an improvement of the above scheme, the step of establishing the first connection channel between the server and the fixed terminal and generating the encrypted connection identifier includes: establishing a first connecting channel between a server and a fixed terminal, and generating token information, wherein the token information comprises an identifier of the fixed terminal; encrypting the token information to generate encrypted token information; and sending the encrypted token information to the fixed terminal so as to drive the fixed terminal to generate an encrypted connection identifier containing the encrypted token information.
As an improvement of the above solution, the step of establishing the second connection channel between the server and the mobile terminal according to the encrypted connection identifier includes: acquiring a mobile terminal connection request sent by a mobile terminal, wherein the mobile terminal connection request comprises an identifier of the mobile terminal and an identifier of a fixed terminal, and the identifier of the fixed terminal is acquired and analyzed by reading an encrypted connection identifier by the mobile terminal; and establishing a second connection channel between the server and the mobile terminal according to the mobile terminal connection request.
As an improvement of the above scheme, the first preset type is an application installed on the mobile phone and/or an application installed on the tablet computer; the second predetermined type is an application installed on the desktop computer.
As an improvement of the scheme, the first connecting channel and the second connecting channel are both websocket connected.
Correspondingly, a classroom interaction cross-platform synchronization system includes: the fixed end connection establishing module is used for establishing a first connection channel between the server and the fixed terminal and generating an encrypted connection identifier; the mobile terminal connection establishing module is used for establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier; the first instruction acquisition module is used for acquiring a first operation instruction sent by the mobile terminal through the second connecting channel; the first instruction processing module is used for judging whether a sending terminal of the first operation instruction is of a first preset type or not, if so, executing the first operation instruction, and forwarding the first operation instruction to the fixed terminal through the first connecting channel so as to drive the fixed terminal to carry out synchronous operation according to the first operation instruction; the second instruction acquisition module is used for acquiring a second operation instruction sent by the fixed terminal for synchronous operation through the first connecting channel; and the second instruction processing module is used for judging whether the sending terminal of the second operation instruction is of a second preset type or not, if so, not executing the second operation instruction and not forwarding the second operation instruction.
As an improvement of the above scheme, the fixed-end connection establishing module includes: the fixed terminal verification generation unit is used for establishing a first connecting channel between the server and the fixed terminal and generating token information, wherein the token information comprises an identifier of the fixed terminal; the verification information encryption unit is used for encrypting the token information to generate encrypted token information; and the connection identifier driving and generating unit is used for sending the encrypted token information to the fixed terminal so as to drive the fixed terminal to generate the encrypted connection identifier containing the encrypted token information.
As an improvement of the above scheme, the mobile terminal connection establishing module includes: the mobile verification acquisition unit is used for acquiring a mobile terminal connection request sent by a mobile terminal, wherein the mobile terminal connection request comprises an identifier of the mobile terminal and an identifier of a fixed terminal, and the identifier of the fixed terminal is acquired and analyzed by reading an encrypted connection identifier by the mobile terminal; and the mobile connection establishing unit is used for establishing a second connection channel between the server and the mobile terminal according to the mobile terminal connection request.
Correspondingly, the invention also discloses computer equipment which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the classroom interaction cross-platform synchronization method when executing the computer program.
Correspondingly, the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to realize the steps of the classroom interaction cross-platform synchronization method.
The implementation of the invention has the following beneficial effects:
the classroom interaction cross-platform synchronization method, system, equipment and readable storage medium can screen the operation of the mobile terminal to the fixed terminal, and a teacher does not need to return to the fixed terminal for operation, so that the teaching efficiency is improved, and the teaching quality is improved.
Specifically, a first connection channel is first established with the fixed terminal, and a second connection channel is first established with the mobile terminal. And then receiving a first operation instruction sent by the mobile terminal through a second connection channel, and if the terminal sending the instruction belongs to a first preset type, such as a mobile terminal type, executing the first operation instruction and projecting the operation to the fixed terminal. When the screen is projected, the first operation instruction is sent to the fixed terminal through the first connecting channel according to the encrypted connecting identification, and therefore the fixed terminal is driven to carry out synchronous operation according to the first operation instruction. After the fixed terminal performs the synchronous operation, because the synchronous operation is only the projection of the operation of the mobile terminal, and the operation is not repeated on the data, after the fixed terminal performs the synchronous operation and sends the second operation instruction, when the terminal sending the second operation instruction is judged to belong to the second preset type, such as the type of the fixed terminal, the operation instruction sent by the terminal is shielded, namely the second operation instruction is not executed or forwarded, so that the operation of the mobile terminal is projected to the fixed terminal, and the repeated operation on the data is avoided, and the data error is caused, therefore, a teacher can project the operation of the mobile terminal to the fixed terminal, and the teacher does not need to return to a platform for operation.
Drawings
FIG. 1 is a general flow diagram of the classroom interaction cross-platform synchronization method of the present invention;
fig. 2 is a flowchart of establishing a first connection channel between a server and a fixed terminal to generate an encrypted connection identifier according to the classroom interaction cross-platform synchronization method of the present invention;
FIG. 3 is a flowchart of establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier according to the classroom interaction cross-platform synchronization method of the present invention;
FIG. 4 is a schematic structural diagram of the classroom interaction cross-platform synchronization system of the present invention;
FIG. 5 is a schematic diagram of a fixed-end connection establishing module of the classroom interaction cross-platform synchronization system according to the present invention;
FIG. 6 is a schematic diagram of a mobile terminal connection establishing module of the classroom interaction cross-platform synchronization system according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. It is only noted that the invention is intended to be limited to the specific forms set forth herein, including any reference to the drawings, as well as any other specific forms of embodiments of the invention.
FIG. 1 is a general flowchart of the classroom interaction cross-platform synchronization method of the present invention, including:
s101, establishing a first connection channel between the server and the fixed terminal, and generating an encrypted connection identifier.
And S102, establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier.
S103, acquiring a first operation instruction sent by the mobile terminal through the second connecting channel.
And S104, judging whether the sending terminal of the first operation instruction is of a first preset type.
And S105, if the operation instruction is judged to be yes, executing the first operation instruction, and forwarding the first operation instruction to the fixed terminal through the first connecting channel so as to drive the fixed terminal to perform synchronous operation according to the first operation instruction.
S106, acquiring a second operation instruction sent by the fixed terminal for synchronous operation through the first connecting channel;
and S107, judging whether the sending terminal of the second operation instruction is of a second preset type.
And S108, judging that the second operation instruction is not executed and is not forwarded if the judgment result is yes.
The classroom interaction cross-platform synchronization method firstly establishes a first connecting channel between the server and the fixed terminal and establishes a second connecting channel between the server and the mobile terminal. And then receiving a first operation instruction sent by the mobile terminal through a second connection channel, and if the terminal sending the instruction belongs to a first preset type, such as a mobile terminal type, executing the first operation instruction and projecting the operation to the fixed terminal. When the screen is projected, the first operation instruction is sent to the fixed terminal through the first connecting channel according to the encrypted connecting identification, and therefore the fixed terminal is driven to carry out synchronous operation according to the first operation instruction. After the fixed terminal performs the synchronous operation, because the synchronous operation is only the projection of the operation of the mobile terminal, and the operation is not repeated on the data, after the fixed terminal performs the synchronous operation and sends the second operation instruction, when the terminal sending the second operation instruction is judged to belong to the second preset type, such as the type of the fixed terminal, the operation instruction sent by the terminal is shielded, namely the second operation instruction is not executed or forwarded, so that the operation of the mobile terminal is projected to the fixed terminal, and the repeated operation on the data is avoided, and the data error is caused, therefore, a teacher can project the operation of the mobile terminal to the fixed terminal, and the teacher does not need to return to a platform for operation.
It should be noted that the second operation command is a synchronous operation of the first operation command, so that the contents of the first operation command and the second operation command are the same, and if the sending ends of the two operation commands are not determined, the data object processed by the first operation command is repeatedly processed by the second operation command, which results in data error. The invention relates to a screen projection process, which is a process that the execution result of an operation instruction of a mobile terminal is correspondingly displayed on a fixed terminal, and only the instruction sent by the mobile terminal is executed and a synchronous operation instruction of the fixed terminal is not executed. The specific content of the first operation instruction and the second operation instruction is different according to different teaching contents, for example, the specific content may be an instruction for a teacher to push data such as courseware and a curriculum schedule, or an instruction for sending information for the teacher to sign in.
In addition, a computer program can be written in JAVA language to implement the classroom interaction cross-platform synchronization method of the present invention, and the computer program can be installed on mobile devices, servers, and desktop computers to run. When the computer program runs, a first connecting channel is established between a fixed terminal program and a server program on a desktop computer, a second connecting channel is established between a mobile terminal program on mobile equipment and the server program after the mobile terminal program obtains a fixed terminal identifier by scanning a two-dimensional code and the like, and finally the connecting channel between the mobile terminal program and the fixed terminal program is realized by the computer program method. The operations of the user through the mobile terminal program are synchronized to the operations of the fixed terminal program.
Fig. 2 is a flowchart of establishing a first connection channel between a server and a fixed terminal to generate an encrypted connection identifier, which includes the steps of:
s201, establishing a first connecting channel between the server and the fixed terminal, and generating token information.
the token information contains the identity of the fixed terminal. token information is token information used when a server communicates with a fixed terminal to be authenticated, and includes an identifier of the fixed terminal. When the mobile terminal establishes connection with the fixed terminal, token information needs to be acquired, and the identifier of the fixed terminal in the token information is extracted, so as to send a connection request containing the identifier of the fixed terminal.
S202, encrypting the token information to generate encrypted token information.
token information is related to communication authority, and therefore encryption processing needs to be performed on token information. For example, the token information may be AES symmetric encrypted. AES symmetric encryption is an encryption technology, the same secret key is used for encryption and decryption, the operation is simple, and the most basic communication safety is ensured.
S203, sending the encrypted token information to the fixed terminal so as to drive the fixed terminal to generate an encrypted connection identifier containing the encrypted token information.
After receiving the encrypted token information, the fixed terminal can generate various encrypted connection identifiers according to the encrypted token information, so that the fixed terminal is convenient for authorized users to use. Such as generating a two-dimensional code or bar code containing encrypted token information.
Fig. 3 is a flowchart of establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier, which includes the steps of:
s301, a mobile terminal connection request sent by the mobile terminal is obtained, the mobile terminal connection request comprises an identifier of the mobile terminal and an identifier of the fixed terminal, and the identifier of the fixed terminal is obtained and analyzed by reading the encrypted connection identifier by the mobile terminal.
The mobile terminal obtains encrypted token information by reading the encrypted connection identifier, such as scanning a two-dimensional code or a bar code, then analyzes the encrypted token information to obtain the identifier of the fixed terminal, and then sends a mobile terminal connection request containing the identifier of the fixed terminal and the identifier of the mobile terminal to the server.
S302, establishing a second connection channel between the server and the mobile terminal according to the mobile terminal connection request.
And after the server receives a mobile terminal connection request sent by the mobile terminal, establishing a second connection channel between the server and the mobile terminal according to the identifier of the fixed terminal and the identifier of the mobile terminal, thereby finally establishing the connection among the fixed terminal, the server and the mobile terminal.
Further, the first preset type is an application installed on the mobile phone and/or an application installed on the tablet computer; the second predetermined type is an application installed on the desktop computer.
The first preset type is a specific type of the mobile terminal, and is often an application installed on a mobile phone and/or a tablet computer. The application programs of the two types of mobile devices can establish a second connection channel with the server. And executing and forwarding all the received operation instructions sent by the two types of mobile equipment.
The second preset type is a specific type of the fixed terminal, and a common Windows desktop program installed on a desktop computer can establish a first connection channel with the server, but operation instructions sent by the program are not executed and are not forwarded.
Furthermore, the first connecting channel and the second connecting channel are both connected by a websocket.
The WebSocket protocol is a protocol for full duplex communication over a single TCP connection. The WebSocket protocol enables data exchange between the mobile terminal and the fixed terminal and the server to be simpler, and allows the server to actively push data to the mobile terminal and the fixed terminal.
Correspondingly, the invention also discloses a classroom interaction cross-platform synchronization system.
Fig. 4 is a schematic structural diagram of the classroom interaction cross-platform synchronization system 100 of the present invention, which includes:
and the fixed end connection establishing module 1 is used for establishing a first connection channel between the server and the fixed terminal and generating an encrypted connection identifier.
And the mobile terminal connection establishing module 2 is used for establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier.
And the first instruction obtaining module 3 is configured to obtain the first operation instruction sent by the mobile terminal through the second connection channel.
And the first instruction processing module 4 is configured to determine whether a sending terminal of the first operation instruction is of a first preset type, execute the first operation instruction if the sending terminal of the first operation instruction is of the first preset type, and forward the first operation instruction to the fixed terminal through the first connection channel, so as to drive the fixed terminal to perform synchronous operation according to the first operation instruction.
And the second instruction acquisition module 5 is configured to acquire, through the first connection channel, a second operation instruction sent by the fixed terminal for performing a synchronization operation.
And the second instruction processing module 6 is configured to determine whether a sending terminal of the second operation instruction is of a second preset type, and if so, not execute the second operation instruction and not forward the second operation instruction.
The fixed end connection establishing module 1 establishes a first connection channel between the server and the fixed terminal, and the mobile end connection establishing module 2 establishes a second connection channel between the server and the mobile terminal. Then, the first instruction obtaining module 3 receives the first operation instruction sent by the mobile terminal through the second connection channel. When the first instruction processing module 4 judges that the terminal sending the instruction belongs to a first preset type, such as a mobile terminal type, a first operation instruction is executed and the operation is projected to a fixed terminal. When the screen is projected, the first instruction processing module 4 sends the first operation instruction to the fixed terminal through the first connection channel according to the encrypted connection identifier, so that the fixed terminal is driven to perform synchronous operation according to the first operation instruction. After the fixed terminal performs the synchronization operation, since the synchronization operation is only a "projection" of the operation of the mobile terminal, and is not a repeated operation on the data, after the fixed terminal performs the synchronization operation and sends the second operation instruction, the second instruction obtaining module 5 obtains the second operation instruction. When the second instruction processing module 6 judges that the terminal sending the second operation instruction belongs to the second preset type, for example, the type of the fixed terminal, the operation instruction sent by the terminal is shielded, that is, the second operation instruction is not executed or forwarded, so that the operation of the mobile terminal is projected to the fixed terminal, and meanwhile, the data error is avoided due to repeated operation on the data, so that a teacher can project the operation of the mobile terminal to the fixed terminal without returning to a platform for operation.
It should be noted that the second operation command is a synchronous operation of the first operation command, so that the contents of the first operation command and the second operation command are the same, and if the sending ends of the two operation commands are not determined, the data object processed by the first operation command is repeatedly processed by the second operation command, which results in data error. The invention relates to a screen projection process, which is a process that the execution result of an operation instruction of a mobile terminal is correspondingly displayed on a fixed terminal, and only the instruction sent by the mobile terminal is executed and a synchronous operation instruction of the fixed terminal is not executed. The specific content of the first operation instruction and the second operation instruction is mainly classroom teaching activities, and the method comprises the following steps: sign-in, courseware material, homework, examination, in-house testing, questioning, answering, group discussion, etc.
In addition, the classroom interaction cross-platform synchronization system can be written as a computer program which can be installed on a server to run and can also be installed on a third-party computing device. When the computer program is installed on a third-party operation device to run, the third-party operation device also needs to establish a connection channel with the server, so that the first connection channel and the second connection channel established by the server, the fixed terminal and the mobile terminal are utilized.
Fig. 5 is a schematic structural diagram of the fixed-end connection establishing module 1, which includes:
and the fixed terminal verification generation unit 11 is used for establishing a first connection channel between the server and the fixed terminal and generating token information.
the token information contains the identity of the fixed terminal. token information is token information used when a server communicates with a fixed terminal to be authenticated, and includes an identifier of the fixed terminal. When the mobile terminal establishes connection with the fixed terminal, token information needs to be acquired, and the identifier of the fixed terminal in the token information is extracted, so as to send a connection request containing the identifier of the fixed terminal.
And the verification information encryption unit 12 is configured to encrypt token information to generate encrypted token information.
the token information is related to the communication authority, and therefore, the authentication information encryption unit 12 is required to perform encryption processing on the token information. For example, the authentication information encryption unit 12 may perform AES symmetric encryption on token information. AES symmetric encryption is an encryption technology, the same secret key is used for encryption and decryption, the operation is simple, and the most basic communication safety is ensured.
And a connection identifier driving and generating unit 13, configured to send the encrypted token information to the fixed terminal, so as to drive the fixed terminal to generate an encrypted connection identifier including the encrypted token information.
After receiving the encrypted token information, the fixed terminal can generate various encrypted connection identifiers according to the encrypted token information, so that the fixed terminal is convenient for authorized users to use. Such as generating a two-dimensional code or bar code containing encrypted token information.
Fig. 6 is a schematic structural diagram of the mobile terminal connection establishing module 2, which includes:
the mobile verification obtaining unit 21 is configured to obtain a mobile terminal connection request sent by a mobile terminal, where the mobile terminal connection request includes an identifier of the mobile terminal and an identifier of a fixed terminal, and the identifier of the fixed terminal is obtained and analyzed by reading the encrypted connection identifier by the mobile terminal.
The mobile terminal obtains encrypted token information by reading the encrypted connection identifier, such as scanning a two-dimensional code or a bar code, then analyzes the encrypted token information to obtain the identifier of the fixed terminal, and then sends a mobile terminal connection request containing the identifier of the fixed terminal and the identifier of the mobile terminal to the server.
And a mobile connection establishing unit 22, configured to establish a second connection channel between the server and the mobile terminal according to the mobile terminal connection request.
And after the server receives a mobile terminal connection request sent by the mobile terminal, establishing a second connection channel between the server and the mobile terminal according to the identifier of the fixed terminal and the identifier of the mobile terminal, so that the connection among the fixed terminal, the server and the mobile terminal is established at the most.
Further, the first preset type is an application installed on the mobile phone and/or an application installed on the tablet computer; the second predetermined type is an application installed on the desktop computer.
The first preset type is a specific type of the mobile terminal, and is often an application installed on a mobile phone and/or a tablet computer. The application programs of the two types of mobile devices can establish a second connection channel with the server. And executing and forwarding all the received operation instructions sent by the two types of mobile equipment.
The second preset type is a specific type of the fixed terminal, and a common Windows desktop program installed on a desktop computer can establish a first connection channel with the server, but operation instructions sent by the program are not executed and are not forwarded.
Furthermore, the first connecting channel and the second connecting channel are both connected by a websocket.
The WebSocket protocol is a protocol for full duplex communication over a single TCP connection. The WebSocket protocol enables data exchange between the mobile terminal and the fixed terminal and the server to be simpler, and allows the server to actively push data to the mobile terminal and the fixed terminal.
Correspondingly, the invention also discloses computer equipment which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the classroom interaction cross-platform synchronization method when executing the computer program.
Correspondingly, the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to realize the steps of the classroom interaction cross-platform synchronization method.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A cross-platform classroom interaction synchronization method is characterized by comprising the following steps:
establishing a first connection channel between a server and a fixed terminal to generate an encrypted connection identifier;
establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier;
acquiring a first operation instruction sent by the mobile terminal through the second connecting channel;
judging whether a sending terminal of the first operation instruction is of a first preset type or not, if so, executing the first operation instruction, and forwarding the first operation instruction to the fixed terminal through the first connecting channel so as to drive the fixed terminal to perform synchronous operation according to the first operation instruction;
acquiring a second operation instruction sent by the fixed terminal for performing the synchronous operation through the first connecting channel;
and judging whether the sending terminal of the second operation instruction is of a second preset type, if so, not executing the second operation instruction and not forwarding the second operation instruction.
2. The classroom interaction cross-platform synchronization method as claimed in claim 1, wherein the step of establishing a first connection channel between the server and the fixed terminal and generating the encrypted connection identifier comprises:
establishing the first connecting channel between a server and the fixed terminal, and generating token information, wherein the token information comprises an identifier of the fixed terminal;
encrypting the token information to generate encrypted token information;
and sending the encrypted token information to the fixed terminal so as to drive the fixed terminal to generate the encrypted connection identifier containing the encrypted token information.
3. The classroom interaction cross-platform synchronization method as claimed in claim 1, wherein the step of establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier comprises:
acquiring a mobile terminal connection request sent by a mobile terminal, wherein the mobile terminal connection request comprises an identifier of the mobile terminal and an identifier of the fixed terminal, and the identifier of the fixed terminal is acquired and analyzed by reading the encrypted connection identifier by the mobile terminal;
and establishing the second connection channel between the server and the mobile terminal according to the mobile terminal connection request.
4. The classroom interaction cross-platform synchronization method of claim 1, wherein the first predetermined type is a mobile phone installed application and/or a tablet computer installed application;
the second preset type is an application program installed on the desktop computer.
5. The classroom interaction cross-platform synchronization method of claim 1, wherein the first connection channel and the second connection channel are both websocket connections.
6. A classroom interaction cross-platform synchronization system, comprising:
the fixed end connection establishing module is used for establishing a first connection channel between the server and the fixed terminal and generating an encrypted connection identifier;
the mobile terminal connection establishing module is used for establishing a second connection channel between the server and the mobile terminal according to the encrypted connection identifier;
a first instruction obtaining module, configured to obtain, through the second connection channel, a first operation instruction sent by the mobile terminal;
the first instruction processing module is used for judging whether a sending terminal of the first operation instruction is of a first preset type or not, if so, executing the first operation instruction, and forwarding the first operation instruction to the fixed terminal through the first connecting channel so as to drive the fixed terminal to carry out synchronous operation according to the first operation instruction;
a second instruction obtaining module, configured to obtain, through the first connection channel, a second operation instruction sent by the fixed terminal for performing the synchronization operation;
and the second instruction processing module is used for judging whether the sending terminal of the second operation instruction is of a second preset type, if so, not executing the second operation instruction and not forwarding the second operation instruction.
7. The classroom interaction cross-platform synchronization system of claim 6, wherein the fixed end connection establishment module comprises:
the fixed terminal verification generating unit is used for establishing the first connecting channel between the server and the fixed terminal and generating token information, wherein the token information comprises an identifier of the fixed terminal;
the verification information encryption unit is used for encrypting the token information to generate encrypted token information;
and the connection identifier driving and generating unit is used for sending the encrypted token information to the fixed terminal so as to drive the fixed terminal to generate the encrypted connection identifier containing the encrypted token information.
8. The classroom interaction cross-platform synchronization system of claim 6, wherein the mobile terminal connection establishment module comprises:
a mobile verification obtaining unit, configured to obtain a mobile terminal connection request sent by a mobile terminal, where the mobile terminal connection request includes an identifier of the mobile terminal and an identifier of the fixed terminal, and the identifier of the fixed terminal is obtained and analyzed by reading the encrypted connection identifier by the mobile terminal;
and the mobile connection establishing unit is used for establishing the second connection channel between the server and the mobile terminal according to the mobile terminal connection request.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201911391333.0A 2019-12-30 2019-12-30 Classroom interaction cross-platform synchronization method, system, equipment and readable storage medium Pending CN111182057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911391333.0A CN111182057A (en) 2019-12-30 2019-12-30 Classroom interaction cross-platform synchronization method, system, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911391333.0A CN111182057A (en) 2019-12-30 2019-12-30 Classroom interaction cross-platform synchronization method, system, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN111182057A true CN111182057A (en) 2020-05-19

Family

ID=70650482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911391333.0A Pending CN111182057A (en) 2019-12-30 2019-12-30 Classroom interaction cross-platform synchronization method, system, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111182057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257630A (en) * 2021-12-08 2022-03-29 深圳市优必选科技股份有限公司 Classroom real-time interaction method and system, terminal equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796455A (en) * 2015-03-12 2015-07-22 安徽讯飞皆成软件技术有限公司 Cross-platform multi-screen interacting method, device and system
CN106846948A (en) * 2017-01-06 2017-06-13 云南教育出版社有限责任公司 Interaction classroom laboratory implementation method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796455A (en) * 2015-03-12 2015-07-22 安徽讯飞皆成软件技术有限公司 Cross-platform multi-screen interacting method, device and system
CN106846948A (en) * 2017-01-06 2017-06-13 云南教育出版社有限责任公司 Interaction classroom laboratory implementation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257630A (en) * 2021-12-08 2022-03-29 深圳市优必选科技股份有限公司 Classroom real-time interaction method and system, terminal equipment and readable storage medium
CN114257630B (en) * 2021-12-08 2023-09-26 深圳市优必选科技股份有限公司 Classroom real-time interaction method, system, terminal equipment and readable storage medium

Similar Documents

Publication Publication Date Title
WO2021004054A1 (en) Certificate application method and apparatus, terminal device, gateway device and server
EP3232634A1 (en) Identity authentication method and device
CN109413096B (en) A kind of login method and device more applied
CN110011793A (en) Anti-fake data processing method of tracing to the source, device, equipment and medium
US20140129683A1 (en) Shared access to a remotely running application
CN112954050B (en) Distributed management method and device, management equipment and computer storage medium
CN110780829A (en) Advertisement printing method, device, equipment and medium based on cloud service
CN106648670B (en) Same-screen common control system and method for cloud classrooms
CN103839160A (en) Network transaction digital signing method and device
CN114117386A (en) Conference management method and device, computer readable storage medium and electronic device
EP3203700A1 (en) Rdp data collection apparatus and method
CN111182057A (en) Classroom interaction cross-platform synchronization method, system, equipment and readable storage medium
CN105306695B (en) The communication means and mobile terminal of mobile terminal
CN204706020U (en) A kind of electronic white board projection interactive device
CN116170759A (en) Local area network access method and system based on WeChat
CN107370596B (en) User password encryption transmission method, system and storage medium
CN114676451B (en) Electronic document signing method and device, storage medium and electronic equipment
CN115334073A (en) Method and system for deeply pulling remote file
CN112583816B (en) Login verification method, login verification device, electronic equipment and storage medium
CN112422566B (en) Remote call processing method and device, storage medium and electronic device
CN112954054A (en) Access method, server and system
CN109450887B (en) Data transmission method, device and system
CN112767225A (en) Front-end image processing method and device, electronic equipment and readable storage medium
CN112364951A (en) Virtual work card management method, related equipment, storage medium and system
CN113783835B (en) Password sharing method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519