CN116304440A - Online classroom updating method and device, electronic equipment and storage medium - Google Patents

Online classroom updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116304440A
CN116304440A CN202111567189.9A CN202111567189A CN116304440A CN 116304440 A CN116304440 A CN 116304440A CN 202111567189 A CN202111567189 A CN 202111567189A CN 116304440 A CN116304440 A CN 116304440A
Authority
CN
China
Prior art keywords
classroom
online classroom
online
user terminal
functions
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
CN202111567189.9A
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 Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202111567189.9A priority Critical patent/CN116304440A/en
Publication of CN116304440A publication Critical patent/CN116304440A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The present disclosure provides an online classroom updating method, an online classroom updating device, an electronic device and a storage medium, wherein the online classroom updating method includes: responding to an operation instruction of a first user, acquiring a classroom card of the online classroom, wherein the classroom card is used for reflecting functions of the online classroom and layout information of each function, and compiling and generating according to labels corresponding to the functions of the online classroom based on a cross-end frame; the labels are obtained according to the functional components of the online classroom; based on the cross-end frame and the classroom card of the online classroom, loading the tag, and displaying the functions of the online classroom at the first user terminal according to the function components indicated by the tag. According to the embodiment of the disclosure, the functions of the online classroom are displayed through the classroom card and the cross-end frame of the online classroom, and then the new functions of the online classroom can be used without version update of the user terminal, so that the efficiency of online classroom update can be improved.

Description

Online classroom updating method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular relates to an online classroom updating method, an online classroom updating device, electronic equipment and a computer readable storage medium.
Background
Along with popularization of the Internet and optimization of network environment and speed, education and teaching activities are gradually scaled through the Internet, wherein online classrooms also appear successively due to the fact that online teaching accelerates popularization of online education modes, and teaching tasks are achieved through combination of teachers, students and teaching tools in the online classrooms.
In order to enable the online classroom to have richer teaching tools and interaction modes, version update is required to be continuously carried out on the online classroom, so that functions of the online classroom are more complete, however, if the user terminal cannot timely update the version, new functions cannot be used, and further teaching efficiency and teaching quality are reduced.
Disclosure of Invention
The embodiment of the disclosure at least provides an online classroom updating method, an online classroom updating device, electronic equipment and a storage medium.
The embodiment of the disclosure provides an updating method for an online classroom, which comprises the following steps:
responding to an operation instruction of a first user, acquiring a classroom card of the online classroom, wherein the classroom card is used for reflecting functions of the online classroom and layout information of each function, and compiling and generating according to labels corresponding to the functions of the online classroom based on a cross-end frame; the labels are obtained according to the functional components of the online classroom;
Based on the cross-end frame and the classroom card of the online classroom, loading the tag, and displaying the functions of the online classroom at the first user terminal according to the function components indicated by the tag.
According to the embodiment of the disclosure, when a user enters an online classroom, the function of the online classroom can be displayed through the classroom card and the cross-end frame of the online classroom, and then the new function of the online classroom can be used without version update of the user terminal, so that the update flow can be simplified, the update efficiency of the online classroom is improved, and the online teaching efficiency and quality are improved.
In an alternative embodiment, the functions of the online classroom have status information, and the status information can be changed in response to a user's operation; the method further comprises the steps of:
and receiving target data, and updating the function state information of the online classroom based on the target data, wherein the target data is obtained by converting state machine data through a format, and the state machine data is generated by a second user terminal in response to the interaction operation of the second user.
In the embodiment of the disclosure, since the state machine data indicated by the target data is generated by the second user terminal responding to the interactive operation of the second user, the functional state information of the online classroom is updated through the target data, so that the interaction between the first user terminal and the second user terminal can be ensured to be synchronous in real time, richer interaction capability is provided for the online classroom, and the timeliness of the online classroom is further ensured.
In an alternative embodiment, the format conversion process includes a serialization process; the updating the function state information of the online classroom based on the target data comprises the following steps:
performing deserialization processing on the target data based on a cross-end framework to obtain js objects;
based on the cross-end frame and the js object, updating the function state information of the online classroom, and displaying the updated function state information of the online classroom.
In the embodiment of the disclosure, the target data is processed in a deserialization mode, so that the speed of analyzing the target data can be increased, and the speed of updating the function state information of the online classroom is further increased.
In an alternative embodiment, before the acquiring the classroom card of the online classroom in response to the operation instruction of the first user, the method further includes:
encapsulating the functional components corresponding to the functions of the online classroom into labels;
generating the classroom card based on the tag and the cross-end frame.
In the embodiment of the disclosure, the function components are packaged into the labels, so that the capability of directly using the labels to use the function components is provided for the cross-end frame, and the richness of an online classroom can be improved.
In an alternative embodiment, the packaging the functional components corresponding to the functions of the online classroom into a label includes:
detecting whether the functions of the online classroom are updated;
and under the condition that the function of the online classroom is detected to be updated, encapsulating the functional components corresponding to the function of the online classroom into labels.
In the embodiment of the disclosure, under the condition that the function of the online classroom is detected to be updated, the functional components corresponding to the function of the online classroom are packaged into the labels, so that the classroom card of the online classroom can be updated in real time, and the real-time performance of the function update of the online classroom is improved.
The embodiment of the disclosure provides an updating method for an online classroom, which comprises the following steps:
receiving an operation instruction which is sent by a first user terminal and participates in an online classroom;
generating a feedback result based on the operation instruction of participating in the online classroom, wherein the feedback result is used for reflecting whether the first user terminal successfully participates in the online classroom;
and sending the feedback result to the first user terminal, so that the first user terminal obtains a classroom card of the online classroom based on the feedback result and displays the functions of the online classroom based on a cross-end frame, wherein the classroom card is used for reflecting the functions of the online classroom and layout information of each function.
In the embodiment of the disclosure, after receiving the operation instruction of participating in the online classroom sent by the user, the feedback result corresponding to the operation instruction of participating in the online classroom is sent to the user, so that the user can display the function of the online classroom through the classroom card and the cross-end frame of the online classroom, and further can use the new function of the online classroom without version update of the user terminal, thus simplifying the update flow, improving the update efficiency of the online classroom, and further improving the efficiency and quality of online teaching.
In an alternative embodiment, the method further comprises:
receiving state machine data generated by one of the first user terminal and the second user terminal in response to user operation, wherein the state machine data is used for changing function state information of an online classroom;
performing format conversion processing on the state machine data to obtain target data;
and sending the target data to the other one of the first user terminal and the second user terminal, so that the other one of the first user terminal and the second user terminal updates the function state information of the online classroom based on the target data, and displaying the updated function state information of the online classroom.
In the embodiment of the disclosure, the target data is obtained by performing format conversion processing on the state machine data, which is favorable for improving the analysis speed, and the volume of the target data obtained by format conversion is smaller, which is favorable for analyzing the target data.
In an alternative embodiment, the performing format conversion processing on the state machine data to obtain target data includes:
and carrying out serialization processing on the state machine data to generate state machine data of byte array type, and obtaining the target data.
In the embodiment of the disclosure, the target data is obtained by carrying out serialization processing on the state machine data, so that the content of the target data is more convenient to analyze, and the analysis speed can be improved.
The embodiment of the disclosure also provides an updating device for an online classroom, which comprises:
the system comprises an acquisition module, a cross-end frame and a display module, wherein the acquisition module is used for responding to an operation instruction of a first user, acquiring a classroom card of the online classroom, wherein the classroom card is used for reflecting functions of the online classroom and layout information of all the functions, and compiling and generating according to labels corresponding to the functions of the online classroom based on the cross-end frame; the labels are obtained according to the functional components of the online classroom;
And the display module is used for loading the tag based on the cross-end frame and the classroom card of the online classroom and displaying the functions of the online classroom at the first user terminal according to the functional component indicated by the tag.
In an alternative embodiment, the functions of the online classroom have status information, and the status information can be changed in response to a user's operation; the apparatus further comprises an update module for:
and receiving target data, and updating the function state information of the online classroom based on the target data, wherein the target data is obtained by converting state machine data through a format, and the state machine data is generated by a second user terminal in response to the interaction operation of the second user.
In an alternative embodiment, the format conversion process includes a serialization process; the updating module is specifically configured to:
performing deserialization processing on the target data based on a cross-end framework to obtain js objects;
based on the cross-end frame and the js object, updating the function state information of the online classroom, and displaying the updated function state information of the online classroom.
In an alternative embodiment, the apparatus further comprises a first generation module for:
encapsulating the functional components corresponding to the functions of the online classroom into labels;
generating the classroom card based on the tag and the cross-end frame.
In an alternative embodiment, the first generating module is specifically configured to:
detecting whether the functions of the online classroom are updated;
and under the condition that the function of the online classroom is detected to be updated, encapsulating the functional components corresponding to the function of the online classroom into labels.
The embodiment of the disclosure also provides an updating device for an online classroom, which comprises:
the first receiving module is used for receiving an operation instruction which is sent by the first user terminal and participates in the online classroom;
the second generation module is used for generating a feedback result based on the operation instruction of participating in the online classroom, wherein the feedback result is used for reflecting whether the first user terminal successfully participates in the online classroom;
and the first sending module is used for sending the feedback result to the first user terminal, so that the first user terminal obtains a classroom card of the online classroom based on the feedback result and displays the functions of the online classroom based on a cross-end frame, wherein the classroom card is used for reflecting the functions of the online classroom and the layout information of each function.
In an alternative embodiment, the apparatus further includes a second receiving module, a processing module, and a second transmitting module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the second receiving module is used for receiving state machine data generated by one of the first user terminal and the second user terminal in response to user operation, wherein the state machine data is used for changing the function state information of the online classroom;
the processing module is used for carrying out format conversion processing on the state machine data to obtain target data;
and the second sending module is used for sending the target data to the other one of the first user terminal and the second user terminal, so that the other one of the first user terminal and the second user terminal updates the function state information of the online classroom based on the target data, and displays the updated function state information of the online classroom.
In an alternative embodiment, the processing module is specifically configured to:
and carrying out serialization processing on the state machine data to generate state machine data of byte array type, and obtaining the target data.
The embodiment of the disclosure also provides an electronic device, including: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the memory are communicated through the bus, and the machine-readable instructions are executed by the processor to execute the online classroom updating method.
The disclosed embodiments also provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the above-described online classroom updating method.
The effect descriptions of the above-mentioned online classroom updating device, electronic device, and computer-readable storage medium refer to the above-mentioned online classroom updating method, and are not repeated here.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the embodiments are briefly described below, which are incorporated in and constitute a part of the specification, these drawings showing embodiments consistent with the present disclosure and together with the description serve to illustrate the technical solutions of the present disclosure. It is to be understood that the following drawings illustrate only certain embodiments of the present disclosure and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may admit to other equally relevant drawings without inventive effort.
FIG. 1 is an exemplary system architecture diagram for implementing an online classroom update method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an online classroom updating method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a label packaging method according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of another method for updating an online classroom according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a sending flow of state machine data according to an embodiment of the present disclosure;
FIG. 6 is a flowchart of a method for updating function status information of an online classroom based on a cross-end framework according to an embodiment of the present disclosure;
FIG. 7 is a flowchart of another method for updating an online classroom according to an embodiment of the present disclosure;
fig. 8 is a schematic flow chart of interaction among a teacher side, a student side and a server side according to an embodiment of the disclosure;
FIG. 9 is a flowchart of another method for updating an online classroom provided by an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an online classroom updating device according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of another online classroom updating device according to an embodiment of the present disclosure;
Fig. 12 is a schematic structural diagram of an update apparatus for an online classroom according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of an update apparatus for an online classroom according to another embodiment of the present disclosure;
fig. 14 is a schematic diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. The components of the embodiments of the present disclosure, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be made by those skilled in the art based on the embodiments of this disclosure without making any inventive effort, are intended to be within the scope of this disclosure.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The term "and/or" is used herein to describe only one relationship, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist together, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Along with popularization of the Internet and optimization of network environment and speed, education and teaching activities are gradually scaled through the Internet, wherein online classrooms also appear successively due to the fact that online teaching accelerates popularization of online education modes, and teaching tasks are achieved through combination of teachers, students and teaching tools in the online classrooms.
In order to enable the online classroom to have richer teaching tools and interaction modes, version update is required to be continuously carried out on the online classroom, so that functions of the online classroom are more complete, however, if the user terminal cannot timely update the version, new functions cannot be used, and further teaching efficiency and teaching quality are reduced.
Based on the above study, an embodiment of the present disclosure provides an online classroom updating method, which includes: responding to an operation instruction of a first user, acquiring a classroom card of the online classroom, wherein the classroom card is used for reflecting functions of the online classroom and layout information of each function, and compiling and generating according to labels corresponding to the functions of the online classroom based on a cross-end frame; the labels are obtained according to the functional components of the online classroom; based on the cross-end frame and the classroom card of the online classroom, loading the tag, and displaying the functions of the online classroom at the first user terminal according to the function components indicated by the tag.
According to the embodiment of the disclosure, when a user enters an online classroom, the function of the online classroom can be displayed through the classroom card and the cross-end frame of the online classroom, and then the function of the online classroom can be used without version update of the user terminal, so that the update flow can be simplified, the update efficiency of the online classroom is improved, and the online teaching efficiency and quality are improved.
For the convenience of understanding the present embodiment, first, a detailed description will be given of an online classroom update method disclosed in the present embodiment, and an execution subject of the online classroom update method provided in the present embodiment is generally an electronic device with a certain computing capability, where the electronic device includes, for example: the terminal device or the server or other processing devices can comprise a mobile phone, a tablet computer, a vehicle-mounted device, a wearable device and the like. The server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud storage, big data, artificial intelligent platforms and the like. Other processing devices may be devices including processors and memory, and are not limited in this regard. In some possible embodiments, the method of updating an online classroom may be implemented by a processor invoking computer readable instructions stored in a memory.
The following describes the present application in detail with reference to specific system application architecture.
Referring to fig. 1, fig. 1 illustrates an exemplary system architecture implementing an online classroom update method that may be applied to the present application.
As shown in fig. 1, the system architecture 1000 may include a server 100, a teacher end 200, and a plurality of student ends 300. Communication connection is established between the teacher end 200 and the server 100, and between the server 100 and the plurality of student ends 300 through the network 400. That is, the network 400 is used as a medium for providing a communication link between the teacher side 200 and the student side 300. Network 400 may include various types of wired or wireless communication links, such as: the wired communication link includes an optical fiber, a twisted pair wire, or a coaxial cable, and the Wireless communication link includes a bluetooth communication link, a Wireless-Fidelity (Wi-Fi) communication link, a microwave communication link, or the like.
Teacher side 200 and student side 300 may interact with server 100 through network 400 to receive messages from server 100 or to send messages to server 100. The teacher side 200 and the student side 300 may have various communication client applications installed thereon, such as: drawing applications, video recording applications, video playing applications, voice gathering applications, voice interaction applications, search class applications, instant messaging tools, mailbox clients, social platform software, and the like.
The teacher side 200 and the student side 300 may be hardware or software. When teacher end 200 and student end 300 are hardware, they may be a variety of electronic devices with display screens, including but not limited to smartphones, tablets, laptop and desktop computers, and the like. The user can view the displayed text, picture, video and other information by using the display screens on the teacher end 200 and the student end 300. When the teacher side 200 and the student side 300 are software, they may be installed in the above-listed electronic devices, which may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module, which is not specifically limited herein.
The server 100 may be a business server providing various services. The server 100 may be hardware or software. When the server 100 is hardware, it may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server 100 is software, it may be implemented as a plurality of software or software modules (for example, to provide distributed services), or may be implemented as a single software or software module, which is not specifically limited herein.
It should be understood that the number of teacher side 200, student side 300, server 100, and network 400 in fig. 1 are merely illustrative. Any number of teacher side, student side, server and network may be used as desired.
Referring to fig. 2, fig. 2 is a flowchart of an online classroom updating method according to an embodiment of the disclosure. As shown in fig. 2, an update method for an online classroom provided by an embodiment of the present disclosure includes the following S101 to S102:
s101, responding to an operation instruction of a first user, acquiring a classroom card of the online classroom, wherein the classroom card is used for reflecting functions of the online classroom and layout information of all functions, and compiling and generating according to labels corresponding to the functions of the online classroom based on a cross-end frame; the tag is obtained according to the functional components of the online classroom.
It can be understood that the operation instruction of the first user refers to instruction information generated by the operation of opening an application program or a web page of the online classroom by the student end.
The functions of the online classroom can comprise basic capabilities such as courseware functions, audio and video functions, state machine functions and the like. The courseware function is used for performing course content explanation, for example, course content explanation can be performed through animation, video or characters and the like; the audio-video function is used for assisting teaching, for example, a teacher can show the actions or expressions of students according to videos, judge the understanding degree of the students on course contents, further control the difficulty degree of the course contents, and carry out video communication or voice communication with the students in real time; the state machine function is used for providing basic capability of state synchronization of interactive synchronization and real-time logic processing in the online teaching room, so that real-time synchronous interaction between a teacher end and a student end is ensured, and the richness in the interaction process is improved.
In the embodiment of the disclosure, the cross-end framework refers to a lynx technology, wherein the lynx technology is a technology for solving the problems of page display and interaction performance by utilizing an extremely optimal means on the aspect of maintaining the high efficiency of service development, and can expand and meet the use scene of more dynamic cross-platform technologies.
In some embodiments, a tag may be obtained by packaging a functional component and generating the classroom card based on the tag and the lynx technology. That is, when the online classroom is updated, firstly, compiling and generating a classroom card by the lynx technology based on the packaged label, that is, the compiling product written by the lynx technology is stored in the classroom card, and the function layout of the online classroom are indicated in the compiling product. In addition, in the process of generating the classroom card, the position information of each label can be modified in real time, and then the page layout information of the function can be modified.
In addition, the classroom card can be obtained from a card platform, that is, the classroom card generated by compiling is uploaded to the card platform through the lynx technology, so that a student end can obtain the classroom card from the card platform, wherein the card platform can be a service end or a cloud end and the like, and the method is not limited herein.
In other embodiments, referring to fig. 3, as shown in fig. 3, when the functional components corresponding to the functions of the online classroom are packaged into a label, the method includes S1011-S1012:
s1011, detecting whether the functions of the online classroom are updated.
And S1012, packaging the functional components corresponding to the functions of the online classroom into labels when the online classroom is detected to have the updated functions.
It can be understood that, in order to update the classroom card in time, so that the student end can update the function of the online classroom in time, the function of the online classroom can be detected in real time, if the update of the function of the online classroom is detected, the functional components are packaged into labels, so that codes can be written according to the labels and through the lynx technology, and then the classroom card is compiled and generated.
S102, loading the tag based on the cross-end frame and the classroom card of the online classroom, and displaying the functions of the online classroom at the first user terminal according to the functional component indicated by the tag.
Wherein the first user terminal may be the student end 300 in fig. 1.
It can be understood that, after entering an online classroom, the student end will display the page of the online classroom, that is, display the functional page of the online classroom, so in the process of displaying the functional page, firstly, the classroom card is loaded through the cross-end frame (lynx technology), in the process of loading, the label can be resolved through the lynx technology, and the functional component is loaded according to the label, and finally, the function of the online classroom is displayed.
According to the embodiment of the disclosure, the functions of the online classroom are displayed through the classroom card and the cross-end frame of the online classroom, and then the new functions of the online classroom can be used without version update of the user terminal, so that the update flow can be simplified, the update efficiency of the online classroom is improved, and the efficiency and quality of online teaching are improved.
Referring to fig. 4, fig. 4 is a flowchart of another method for updating an online classroom provided by an embodiment of the present disclosure, which is different from the method described in fig. 2 in that the function of the online classroom has status information, and the status information can be changed in response to a user operation; the method further comprises S103:
and S103, receiving target data, and updating the function state information of the online classroom based on the target data, wherein the target data is obtained by converting state machine data through a format, and the state machine data is generated by a second user terminal in response to the interaction operation of the second user.
Wherein, the target data refers to data in byte array format.
It can be appreciated that in the embodiment of the disclosure, in order to achieve state synchronization between a student and a teacher, real-time synchronization of interaction between the student and the teacher is achieved through state machine data, specifically, the teacher sends the state machine data to the server, and the server sends the state machine data to the student, for example, please refer to fig. 5, and fig. 5 is a schematic diagram of a sending flow of the state machine data provided by the embodiment of the disclosure. As shown in fig. 5, the state machine data sent by the teacher side and/or the student side are sent to the other end through a long link via the server side, where the long link refers to that a plurality of data packets can be sent continuously.
The state machine data refers to a group of data packets containing state information of an online classroom, and the data can be generated by interaction of teachers or students.
Illustratively, the functional status information of the online classroom may be status information of a teacher opening a wheat Guan Mai, a teacher opening courseware, etc.; the current online classroom can be in state information such as before class, during class or after class; the status information may be a status information such as a status of a student going out of a mirror or a status of a question, and the like, and is not limited herein.
In some embodiments, for step S103 described above, the format conversion process includes a serialization process; when the function status information of the online classroom is updated based on the target data, as shown in fig. 6, the following S1031 to S1032 may be included:
s1031, performing deserialization processing on the target data based on the cross-end framework to obtain js objects.
The js object is a JavaScript object and is used for reflecting the function state information of the online classroom indicated in the target data.
Deserialization refers to the process of converting byte array type data into JavaScript objects, in the disclosed embodiment, the byte array type data is converted into js objects by a Protobuf tool in a cross-end framework.
The Protobuf is a set of efficient data transmission formats and specifications provided by Google, and is used for communication between different applications or processes, and the data structures are compiled into binary code streams for transmission or storage.
It may be understood that the target data received by the student end is obtained by performing a format conversion process on the state machine data, where the format conversion process refers to a serialization process on the state machine data. Therefore, when the function state information of the online classroom is updated based on the target data, firstly, deserialization processing is required to be performed on the target data of the byte array type based on the lynx technology, so as to obtain js objects.
S1032, based on the cross-end frame and the js object, updating the function state information of the online classroom and displaying the function state information of the online classroom.
Illustratively, since the js object may reflect the function status information of the online classroom indicated in the target data, the function status information of the online classroom may be updated and presented according to the content in the js object by the lynx technology and the js object.
Referring to fig. 7, fig. 7 is a flowchart of another method for updating an online classroom according to an embodiment of the disclosure. As shown in fig. 7, the method for updating an online classroom provided by the embodiment of the present disclosure is applied to a server, and includes the following steps S601 to S603:
s601, receiving an operation instruction which is sent by a first user terminal and participates in an online classroom.
S602, based on the operation instruction of participating in the online classroom, generating a feedback result, wherein the feedback result is used for reflecting whether the first user terminal successfully participates in the online classroom.
And S603, sending the feedback result to the first user terminal, so that the first user terminal obtains a classroom card of the online classroom based on the feedback result and displays the functions of the online classroom based on a cross-end frame, wherein the classroom card is used for reflecting the functions of the online classroom and layout information of each function.
Referring to fig. 8, a flow chart of interaction among a teacher side 200, a student side 300 and a server side 100 according to an embodiment of the disclosure is shown. Fig. 8 shows the execution sequence of the method steps when the teacher end 200, the server end 100 and the student end 300 interact, that is, the student end 300 sends an operation instruction for participating in the online classroom to the server end, and after receiving the operation instruction for the student end 300 to participate in the online classroom, the server end 100 sends a feedback result of successful participation to the student end 300, so that the student end 300 obtains a classroom card of the online classroom based on the feedback result and displays the functions of the online classroom based on a cross-end frame.
Referring to fig. 9, fig. 9 is a flowchart of another method for updating an online classroom according to an embodiment of the disclosure. As shown in fig. 9, the method for updating an online classroom according to the embodiment of the present disclosure, unlike the method described in fig. 7, further includes the following steps S604 to S606:
s604, receiving state machine data generated by one of the first user terminal and the second user terminal in response to the user operation, wherein the state machine data is used for changing the function state information of the online classroom.
S605, performing format conversion processing on the state machine data to obtain target data.
And S606, the target data is sent to the other of the first user terminal and the second user terminal, so that the other of the first user terminal and the second user terminal updates the function state information of the online classroom based on the target data, and the updated function state information of the online classroom is displayed.
The format conversion process refers to a serialization process, that is, a process of converting state information of an object into a form that can be stored or transmitted. In the embodiment of the disclosure, serialization can be performed through a protobuf tool, and the method has the advantages of high resolution speed, multi-language support and small volume of serialized data.
It will be appreciated that, in response to the user operation, the state machine data generated by the user operation is uploaded to the server, and the server converts the received state machine data into byte array (byte array) type data, i.e. target data.
Further, if the state machine data is generated by the teacher end, the server end converts the state machine data into target data and sends the target data to each student end; if the state machine data are generated by the student end, the server end sends the target data to the teacher end, so that the real-time synchronous update of the function state information of the online classrooms of the student end and the teacher end is realized.
According to the foregoing embodiment, please refer to fig. 8 again, fig. 8 shows the execution sequence of the method steps when the teacher side 200, the server side 100 and the student side 300 interact, that is, the server side 100 receives the operation instructions of the teacher and the students participating in the online classroom and sends the feedback instructions of success of participation to the teacher side 200 and the student side 300, and then the student side 300 downloads the classroom card of the online classroom from the card platform 500 and renders and displays the classroom card at the student side 300 through the lynx technology, so that the functions of the online classroom and the layout information of the functions can be displayed at the student side 300. After receiving the state machine data sent by the teacher end 200, the server end 100 sends the state machine data to the student end 300, and the student end 300 analyzes the received state machine data based on the lynx technology to update the function state information of the online classroom. In addition, after receiving the state machine data sent by the student end 300, the server end 100 sends the state machine data to the teacher end 200, and the teacher end 200 analyzes the state machine data according to the relevant processing logic, so as to update the function state information of the online classroom.
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
Based on the same inventive concept, the embodiment of the disclosure further provides an online classroom updating device corresponding to the online classroom updating method, and because the principle of solving the problem of the device in the embodiment of the disclosure is similar to that of the online classroom updating method in the embodiment of the disclosure, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 10, a schematic structural diagram of an online classroom updating device according to an embodiment of the present disclosure is provided, where the device includes: an acquisition module 710 and a presentation module 720; wherein, the liquid crystal display device comprises a liquid crystal display device,
the acquiring module 710 is configured to respond to an operation instruction of a first user, acquire a classroom card of the online classroom, where the classroom card is configured to reflect functions of the online classroom and layout information of each function, and compile and generate, based on a cross-end frame, a label corresponding to the functions of the online classroom; the tag is obtained according to the functional components of the online classroom.
And the display module 720 is configured to load the tag based on the cross-end frame and a classroom card of the online classroom, and display the function of the online classroom at the first user terminal according to the function component indicated by the tag.
Referring to fig. 11, a schematic structural diagram of another device for updating an online classroom according to an embodiment of the present disclosure is provided, where functions of the online classroom have status information, and the status information can be changed in response to a user operation; the apparatus further comprises an update module 730; the update module 730 is configured to:
and receiving target data, and updating the function state information of the online classroom based on the target data, wherein the target data is obtained by converting state machine data through a format, and the state machine data is generated by a second user terminal in response to the interaction operation of the second user.
In an alternative embodiment, the format conversion process includes a serialization process; the update module 730 is specifically configured to:
performing deserialization processing on the target data based on a cross-end framework to obtain js objects;
based on the cross-end frame and the js object, updating the function state information of the online classroom, and displaying the updated function state information of the online classroom.
In some embodiments, the apparatus further comprises a first generation module 740, the first generation module 740 configured to:
encapsulating the functional components corresponding to the functions of the online classroom into labels;
generating the classroom card based on the tag and the cross-end frame.
In an alternative embodiment, the first generating module 740 is specifically configured to:
detecting whether the functions of the online classroom are updated;
and under the condition that the function of the online classroom is detected to be updated, encapsulating the functional components corresponding to the function of the online classroom into labels.
Referring to fig. 12, a schematic structural diagram of an update apparatus for an online classroom according to an embodiment of the disclosure is provided, where the apparatus includes a first receiving module 910, a second generating module 920, and a first sending module 930; wherein, the liquid crystal display device comprises a liquid crystal display device,
the first receiving module 910 is configured to receive an operation instruction for participating in an online classroom sent by a first user terminal.
The second generating module 920 is configured to generate a feedback result based on the operation instruction of participating in the online classroom, where the feedback result is used to reflect whether the first user terminal successfully participates in the online classroom;
and a first sending module 930, configured to send the feedback result to the first user terminal, so that the first user terminal obtains a classroom card of the online classroom based on the feedback result and displays the function of the online classroom based on the lynx technology, where the classroom card is used to reflect the function of the online classroom and layout information of each function.
Referring to fig. 13, a schematic structural diagram of another online classroom updating device according to an embodiment of the present disclosure, which is different from fig. 12, further includes a second receiving module 940, a processing module 950, and a second sending module 960; wherein, the liquid crystal display device comprises a liquid crystal display device,
a second receiving module 940 for receiving state machine data generated by one of the first user terminal and the second user terminal in response to a user operation, the state machine data being used to change functional state information of an online classroom;
a processing module 950, configured to perform format conversion processing on the state machine data to obtain target data;
and a second sending module 960, configured to send the target data to the other of the first user terminal and the second user terminal, so that the other of the first user terminal and the second user terminal updates the function status information of the online classroom based on the target data, and displays the updated function status information of the online classroom.
In an alternative embodiment, the processing module 950 is specifically configured to:
and carrying out serialization processing on the state machine data to generate state machine data of byte array type, and obtaining the target data.
The process flow of each module in the apparatus and the interaction flow between the modules may be described with reference to the related descriptions in the above method embodiments, which are not described in detail herein.
Based on the same technical concept, the embodiment of the disclosure also provides electronic equipment. Referring to fig. 14, a schematic structural diagram of an electronic device 800 according to an embodiment of the disclosure includes a processor 801, a memory 802, and a bus 803. The memory 802 is used for storing execution instructions, including a memory 8021 and an external memory 8022; the memory 8021 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 801 and data exchanged with an external memory 8022 such as a hard disk, and the processor 801 exchanges data with the external memory 8022 via the memory 8021.
In the embodiment of the present application, the memory 802 is specifically configured to store application program codes for executing the solution of the present application, and the processor 801 controls the execution. That is, when the electronic device 800 is operating, communication between the processor 801 and the memory 802 is via the bus 803, causing the processor 801 to execute the application code stored in the memory 802, thereby performing the methods of any of the foregoing embodiments.
The processor 801 may be an integrated circuit chip with signal processing capabilities. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks of the disclosure in the embodiments of the disclosure may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory 802 may be, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 800. In other embodiments of the present application, electronic device 800 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the online classroom updating method described in the method embodiments above. Wherein the storage medium may be a volatile or nonvolatile computer readable storage medium.
The embodiments of the present disclosure further provide a computer program product, where the computer program product carries program code, where instructions included in the program code may be used to perform the steps of the online classroom updating method described in the above method embodiments, and specifically reference may be made to the above method embodiments, which are not described herein.
Wherein the above-mentioned computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system and the terminal described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein. In several embodiments provided in the present disclosure, it should be understood that the disclosed system, terminal, and method may be implemented in other manners. The above-described terminal embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be another division manner in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, or indirect coupling or communication connection of units, in electrical, mechanical, or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present disclosure, and are not intended to limit the scope of the disclosure, but the present disclosure is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, it is not limited to the disclosure: any person skilled in the art, within the technical scope of the disclosure of the present disclosure, may modify or easily conceive changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features thereof; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (12)

1. An online classroom updating method, comprising:
responding to an operation instruction of a first user, acquiring a classroom card of the online classroom, wherein the classroom card is used for reflecting functions of the online classroom and layout information of each function, and compiling and generating according to labels corresponding to the functions of the online classroom based on a cross-end frame; the labels are obtained according to the functional components of the online classroom;
Based on the cross-end frame and the classroom card of the online classroom, loading the tag, and displaying the functions of the online classroom at the first user terminal according to the function components indicated by the tag.
2. The method of claim 1, wherein the function of the online classroom has status information, and wherein the status information is changeable in response to a user operation; the method further comprises the steps of:
and receiving target data, and updating the function state information of the online classroom based on the target data, wherein the target data is obtained by converting state machine data through a format, and the state machine data is generated by a second user terminal in response to the interaction operation of the second user.
3. The method of claim 2, wherein the format conversion process comprises a serialization process; the updating the function state information of the online classroom based on the target data comprises the following steps:
performing deserialization processing on the target data based on a cross-end framework to obtain js objects;
based on the cross-end frame and the js object, updating the function state information of the online classroom, and displaying the updated function state information of the online classroom.
4. The method of claim 1, wherein the method further comprises, prior to acquiring the classroom card of the online classroom in response to the operation instruction of the first user:
encapsulating the functional components corresponding to the functions of the online classroom into labels;
and generating the classroom card based on the tag and the cross-end frame.
5. The method of claim 4, wherein packaging the functional components corresponding to the functions of the online classroom into a tag comprises:
detecting whether the functions of the online classroom are updated;
and under the condition that the function of the online classroom is detected to be updated, encapsulating the functional components corresponding to the function of the online classroom into labels.
6. An online classroom updating method, comprising:
receiving an operation instruction which is sent by a first user terminal and participates in an online classroom;
generating a feedback result based on the operation instruction of participating in the online classroom, wherein the feedback result is used for reflecting whether the first user terminal successfully participates in the online classroom;
and sending the feedback result to the first user terminal, so that the first user terminal obtains a classroom card of the online classroom based on the feedback result and displays the functions of the online classroom based on a cross-end frame, wherein the classroom card is used for reflecting the functions of the online classroom and layout information of each function.
7. The method of claim 6, wherein the method further comprises:
receiving state machine data generated by one of the first user terminal and the second user terminal in response to user operation, wherein the state machine data is used for changing function state information of an online classroom;
performing format conversion processing on the state machine data to obtain target data;
and sending the target data to the other one of the first user terminal and the second user terminal, so that the other one of the first user terminal and the second user terminal updates the function state information of the online classroom based on the target data, and displaying the updated function state information of the online classroom.
8. The method of claim 7, wherein performing format conversion processing on the state machine data to obtain target data comprises:
and carrying out serialization processing on the state machine data to generate state machine data of byte array type, and obtaining the target data.
9. An update apparatus for an online classroom, comprising:
the system comprises an acquisition module, a cross-end frame and a display module, wherein the acquisition module is used for responding to an operation instruction of a first user, acquiring a classroom card of the online classroom, wherein the classroom card is used for reflecting functions of the online classroom and layout information of all the functions, and compiling and generating according to labels corresponding to the functions of the online classroom based on the cross-end frame; the labels are obtained according to the functional components of the online classroom;
And the display module is used for loading the tag based on the cross-end frame and the classroom card of the online classroom and displaying the functions of the online classroom at the first user terminal according to the functional component indicated by the tag.
10. An update apparatus for an online classroom, comprising:
the receiving module is used for receiving an operation instruction which is sent by the first user terminal and participates in the online classroom;
the second generation module is used for generating a feedback result based on the operation instruction of participating in the online classroom, wherein the feedback result is used for reflecting whether the first user terminal successfully participates in the online classroom;
and the sending module is used for sending the feedback result to the first user terminal, so that the first user terminal obtains a classroom card of the online classroom based on the feedback result and displays the functions of the online classroom based on a cross-end frame, wherein the classroom card is used for reflecting the functions of the online classroom and the layout information of each function.
11. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the method of updating an online classroom according to any one of claims 1 to 8.
12. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the method of updating an online classroom according to any one of claims 1 to 8.
CN202111567189.9A 2021-12-20 2021-12-20 Online classroom updating method and device, electronic equipment and storage medium Pending CN116304440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111567189.9A CN116304440A (en) 2021-12-20 2021-12-20 Online classroom updating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111567189.9A CN116304440A (en) 2021-12-20 2021-12-20 Online classroom updating method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116304440A true CN116304440A (en) 2023-06-23

Family

ID=86776627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111567189.9A Pending CN116304440A (en) 2021-12-20 2021-12-20 Online classroom updating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116304440A (en)

Similar Documents

Publication Publication Date Title
CN110570698B (en) Online teaching control method and device, storage medium and terminal
US11023716B2 (en) Method and device for generating stickers
CN110673777A (en) Online teaching method and device, storage medium and terminal equipment
US20220366124A1 (en) Display method and apparatus, and electronic device
CN111405224B (en) Online interaction control method and device, storage medium and electronic equipment
CN115065652B (en) Message reply method and device, storage medium and computer equipment
CN103035137A (en) Digital classroom
CN111857658A (en) Method, device, medium and electronic equipment for rendering dynamic component
US20140040046A1 (en) Systems and Methods for Acquiring a Captive Customer Base Within a Cloud Environment
CN109635266A (en) Three-dimensional visualization edit methods, device and three-dimension visible sysem
CN114422468A (en) Message processing method, device, terminal and storage medium
CN114780183A (en) Online programming learning method and device, electronic equipment and storage medium
CN116304440A (en) Online classroom updating method and device, electronic equipment and storage medium
CN115022328B (en) Server cluster, testing method and device of server cluster and electronic equipment
CN114745594A (en) Method and device for generating live playback video, electronic equipment and storage medium
CN113553123B (en) Data processing method, device, electronic equipment and storage medium
CN113268693A (en) Style configuration method and device, storage medium and electronic equipment
CN112115703A (en) Article evaluation method and device
KR102370552B1 (en) System for creating logo based on adjective keyword and method thereof
CN113220293B (en) Page display method, page display device, electronic equipment and computer readable medium
Luoto Logging and Analyzing 360-Degree Video Users
de Brandão Damasceno et al. Lessons learned from evaluating an authoring tool for learning objects
Lynch Flash® Platform
CN113870411A (en) Picture processing method and device
CN117876170A (en) Online training method and device based on multi-mode large model, storage medium and server

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