CN113158114A - Online interaction method and device, storage medium and server - Google Patents

Online interaction method and device, storage medium and server Download PDF

Info

Publication number
CN113158114A
CN113158114A CN202110205555.XA CN202110205555A CN113158114A CN 113158114 A CN113158114 A CN 113158114A CN 202110205555 A CN202110205555 A CN 202110205555A CN 113158114 A CN113158114 A CN 113158114A
Authority
CN
China
Prior art keywords
terminal
data
praise
medal
relational database
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
CN202110205555.XA
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 Dami Technology Co Ltd
Original Assignee
Beijing Dami 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 Dami Technology Co Ltd filed Critical Beijing Dami Technology Co Ltd
Priority to CN202110205555.XA priority Critical patent/CN113158114A/en
Publication of CN113158114A publication Critical patent/CN113158114A/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The embodiment of the application discloses an online interaction method, an online interaction device, a storage medium and a server, and belongs to the technical field of computers. The method comprises the following steps: the method comprises the steps that a server receives praise data from a first terminal, the praise data are generated by the first terminal according to praise operation executed by a user, the praise data are cached in a non-relational database, the praise data are taken out from the non-relational database when timing conditions are met, the praise data are written into the relational database, the praise data are pushed to the first terminal and/or a second terminal, so that the first terminal and/or the second terminal display praise animations according to the praise data, and accordingly, an interactive mode of online teaching is increased, and interactive experience and real-time interactive effect are improved.

Description

Online interaction method and device, storage medium and server
Technical Field
The present application relates to the field of computer technologies, and in particular, to an online interaction method, an online interaction device, a storage medium, and a server.
Background
With the development of the internet, the modes of online education, live broadcast, video communication and the like are more and more mature, and by taking online education as an example, teachers and students in a classroom of the online education can complete course teaching in a live broadcast class mode, so that the learning efficiency is greatly improved. However, the classroom form of online education can also pull the distance between teachers and students to a certain extent, the students lack emotional support in the learning process, and the teachers can only arouse the enthusiasm of the students in classroom learning by means of classroom questioning or oral vocalization, and the interactive mode has a very unobvious effect, and has the problems of poor teacher-student interactive experience and deficient interactive form.
Disclosure of Invention
The embodiment of the application provides an online interaction method, an online interaction device, a storage medium and a server, and can solve the problem that teachers and students are lack of interaction forms in an online teaching process. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an online interaction method, where the method includes:
receiving approval data from the first terminal; the approval data is generated by the first terminal according to approval operation executed by a user;
caching the praise data into a non-relational database;
when timing conditions are met, the like data are taken out of the non-relational database, and the like data are written into the relational database;
and pushing the praise data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal display praise animations according to the praise data.
In a second aspect, an embodiment of the present application provides an online interaction device, where the online interaction device includes:
a receiving module, configured to receive the approval data from the first terminal; the approval data is generated by the first terminal according to approval operation executed by a user;
the cache module is used for caching the praise data into a non-relational database;
the processing module is used for taking out the like data from the non-relational database when timing conditions are met and writing the like data into the relational database;
the pushing module is used for pushing the like data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal can display the like animation according to the like data.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a server, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in the scheme of the embodiment of the application, when the server is executed, the server receives praise data from a first terminal, the praise data is generated by the first terminal according to praise operation executed by a user, the praise data is cached in a non-relational database, the praise data is taken out from the non-relational database when a timing condition is met, the praise data is written in the relational database, and the praise data is pushed to the first terminal and/or the second terminal so that the first terminal and/or the second terminal can display praise animation according to the praise data, so that an interactive mode of online teaching is increased, and a teacher interaction experience and a real-time interaction effect are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of a system architecture provided by an embodiment of the present application;
FIG. 2 is a flow chart diagram of an online interaction method provided by an embodiment of the present application;
FIG. 3 is another schematic flow chart diagram of an online interaction method provided by an embodiment of the present application;
FIG. 4 is a display interface effect diagram of an online interaction method provided by an embodiment of the present application;
FIG. 5 is a diagram of another display interface effect of the online interaction method provided by the embodiment of the present application;
FIG. 6 is a schematic diagram of an apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 shows an exemplary system architecture that can be applied to the online interaction method or online interaction apparatus of the present application.
As shown in fig. 1, the system architecture may include a second terminal 100, a first network 101, a server 102, a second network 103, and a first terminal 104. The first network 101 is used to provide the medium of a communication link between the second terminal 100 and the server 102, and the second network 103 is used to provide the medium of a communication link between the first terminal 104 and the server 102. The first network 101 and the second network 103 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.
Communication procedure between the second terminal 100 and the first terminal 104: the second terminal 100 communicates with the first terminal 104 through the first network 101, the server 102, the second network 103, the second terminal 100 sends a message to the server 102, the server 102 forwards the message to the first terminal 104, the first terminal 104 sends the message to the server 102, the server 102 forwards the message to the second terminal 100, thereby realizing communication between the second terminal 100 and the first terminal 104, and the message type interacted between the second terminal 100 and the first terminal 104 includes control data, service data and the like.
The ID numbers of different terminal devices at the time of login are different from each other, and the server 102 distinguishes the first terminal from the second terminal by identifying the ID number corresponding to each terminal at the time of login. In the present application, for example, the first terminal 104 is a terminal device used by a student, and the second terminal 100 is a terminal device used by a teacher, and the class mode in online education may be one-to-one or one-to-many, that is, one teacher (second user) corresponds to one student (first user) or one teacher (second user) corresponds to a plurality of students (first users). Correspondingly, in the one-to-one teaching mode, a terminal used for a teacher to attend a class and a terminal used for a student to attend the class are communicated; in the one-to-many teaching method, one terminal for a teacher to attend a class and a plurality of terminals for students to attend a class are communicated with each other.
Various communication client applications may be installed on the second terminal 100, the first terminal 104, for example: video recording application, video playing application, voice interaction application, search application, instant messaging tool, mailbox client, social platform software, etc.
The second terminal 100 and the first terminal 104 may be hardware or software. When the second terminal 100 and the first terminal 104 are hardware, they may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the second terminal 100 and the first terminal 104 are software, they may be installed in the electronic devices listed above. Which may be implemented as multiple software or software modules (e.g., to provide distributed services) or as a single software or software module, and is not particularly limited herein.
When the second terminal 100 and the first terminal 104 are hardware, a display device and a camera may be further installed thereon, the display device may display various devices capable of implementing a display function, and the camera is used for acquiring a video stream; for example: the display device may be a Cathode ray tube (CR) display, a Light-emitting diode (LED) display, an electronic ink screen, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), or the like. The user (student or teacher) can view information such as displayed text, pictures, videos, and the like by using the display devices of the second terminal 100 and the first terminal 104.
It should be noted that the online interaction method provided by the embodiment of the present application is generally executed by the server 102, and accordingly, the online interaction apparatus is generally disposed in the server 102.
The server 102 may be a server that provides various services, and the server 102 may be hardware or software. When the server 102 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When the server 102 is software, it may be implemented as a plurality of software or software modules (for example, for providing distributed services), or may be implemented as a single software or software module, and is not limited in particular herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. Any number of terminal devices, networks and servers may be used as desired.
In the following description, with reference to fig. 2 to fig. 5, the online interaction method provided in the embodiment of the present application will be described in detail, where a first terminal refers to a terminal device used by a first user, a second terminal refers to a terminal device used by a second user, and application scenarios of the present application may include, but are not limited to, common scenarios such as online education and live broadcast activities, and for convenience, the implementation process will be described in detail.
Referring to fig. 2, a flow chart of an online interaction method is provided in the embodiment of the present application. As shown in fig. 2, the method of the embodiment of the present application may include the steps of:
s201, receiving the approval data from the first terminal.
The first terminal is a terminal device used for class taking, learning and communication of a user, and in the application, the first terminal can be understood as a terminal device used by students in online education. The second terminal corresponds to the first terminal device and can also be used for class taking, learning and communication of the user. The first terminal and the second terminal can establish a communication connection, that is, a course service connection, and the communication connection established in the general online education can be one or more teacher terminal devices corresponding to one or more student terminal devices, through which students (first users) can pass and teachers (second users) can perform a streaming interactive operation, such as: the terminals establishing communication connection can receive and display data generated by the interactive operation of other terminals. The approval data refers to operation data generated by the student performing approval operation at the first terminal, and includes at least one of approval times, approval time and approval initializer, and the approval data generated at different first terminals are different.
Generally, the second terminal and the first terminal can be used for course teaching in an online education classroom, a teacher can use the second terminal to teach students in a live video mode, and the students can learn by watching live videos uploaded by classroom terminals in the online education classroom through the first terminal. When the teacher plays the video directly, the students can also execute praise operation on the first terminal according to subjective judgment of the students, the teaching level and the teaching quality of the teacher can be stimulated in a praise mode, and the liking, approval and support of the students to the teacher can be expressed in a praise mode. The teacher can check the praise data of the students in real time at the second terminal, the corresponding praise effect animation can be displayed at the second terminal, and the praise effect animation can also be displayed at the first terminal when the students perform praise operation.
S202, caching the praise data into a non-relational database.
The non-relational database is a database without relational characteristics of the relational database, and has no relation among data, simple structure, easy expansion, large data volume, high performance and strong read-write performance. The non-relational database in the present application may be a Remote Dictionary service (Redis) database.
Generally, after receiving approval data sent by a first terminal, a server may store the approval data in a non-relational database, when a plurality of first terminals exist in an online education classroom, there are often more interactive data generated in the online education classroom, which easily causes storage failure of the server, resulting in problems such as interaction delay, and the like.
S203, when the timing condition is met, the approval data is taken out from the non-relational database, and the approval data is written into the relational database.
The timing condition may be a storage time condition set by a user or a default, such as: the timing condition may be a timing condition when a course in the online education classroom is finished, or a timing condition when the lesson-going time in the online education classroom reaches a preset time, or a condition when praise data generated in the online education classroom is lower than a preset threshold. A relational database corresponds to a non-relational database, and a relational database is a database that uses a relational model to organize data and stores data in rows and columns, a series of rows and columns of the relational database are called tables, and a group of tables constitutes a database. The relational database in this application may be a MySQL database.
Generally, the praise data generated at the first terminal in the online education classroom is temporarily cached in the non-relational database, so that the storage pressure of the relational database is relieved, the praise data generated at the first terminal in the online education classroom can be guaranteed to be stored in real time, and when a timing condition is met, the praise data in the non-relational database can be uniformly transferred to the relational database in a reading and writing mode, so that the retention of a large amount of praise data in the online education classroom is facilitated, and a related data basis is provided for teaching analysis.
S204, the like data is pushed to the first terminal and/or the second terminal, so that the first terminal and/or the second terminal display the like animation according to the like data.
The like animation is a display effect corresponding to the like pointing data, the like animation may be composed of a static picture or a dynamic picture, and the display effect of the like animation may be preset, for example: if the praise animation is continuously played for three times, the praise animation is popped up, and the praise animation is controlled to be amplified and reduced for two times; different praise data can correspond to different display effects, such as: the first terminal displays the first praise animation when praise is continuously performed for three times for the first time, and the first terminal displays the second praise animation when praise is performed for two times for the second time.
Generally, after praise data is generated in an online education classroom, the server pushes the praise data to the corresponding second terminal, so that a teacher can check the praise data given by students in the classroom in real time on the second terminal and praise animations given by the students for the teacher; meanwhile, the first terminal can also receive the praise data sent by the server, and the students can also check the praise animation generated by the praise operation at the first terminal, so that the emotional communication between the students and the teacher can be effectively enhanced.
In the scheme of the embodiment of the application, when the server is executed, the server receives praise data from a first terminal, the praise data is generated by the first terminal according to praise operation executed by a user, the praise data is cached in a non-relational database, the praise data is taken out from the non-relational database when a timing condition is met, the praise data is written in the relational database, and the praise data is pushed to the first terminal and/or the second terminal so that the first terminal and/or the second terminal can display praise animation according to the praise data, so that an interactive mode of online teaching is increased, and a teacher interaction experience and a real-time interaction effect are improved.
Referring to fig. 3, a schematic flow chart of an online interaction method is provided in the embodiment of the present application. The embodiment is exemplified by applying the online interaction method to the server. The online interaction method can comprise the following steps:
s301, when receiving indication information sent by the second terminal and used for requesting to start the approval function, or when meeting a long condition in class, starting the permission of the first terminal for sending approval data.
The first terminal is a terminal device used for class taking, learning and communication of a user, and in the application, the first terminal can be understood as a terminal device used by students in online education. The second terminal corresponds to the first terminal device and can also be used for class taking, learning and communication of the user. The first terminal and the second terminal can establish a communication connection, that is, a course service connection, and the communication connection established in the general online education can be one or more teacher terminal devices corresponding to one or more student terminal devices, through which the students (first users) can communicate and interact with each other via the first terminal, and through which the teachers (second users) can communicate and interact with each other via the second terminal, for example: the online education classroom comprises interaction operations of praise interaction, reward medal issuing interaction, video communication, character communication, voice communication and the like, and each terminal in the online education classroom can receive and display data generated by the interaction operations of other terminals.
Generally, in an online education classroom, a classroom terminal and a first terminal can establish communication connection through a server, that is, a second terminal and the first terminal can establish the online education classroom, a teacher can perform online live broadcasting teaching in the online education classroom, and students can learn in the online education classroom. When the course is just started, the first terminal cannot obtain the approval permission, the student cannot approve the course for the teacher at the moment, and when the course is carried out for the preset time, the server can start the approval permission for the first terminal, namely the permission that the first terminal can send approval data; or when the teacher sends the instruction information for requesting to start the approval function to the server through the second terminal, the server can also start the approval authority for the first terminal. After acquiring the approval authority, the first terminal can approve the teacher who is on class according to own favor, so that real-time interaction between students and the teacher is realized, and the students can be effectively prevented from maliciously interfering with classroom order.
S302, the approval data sent by the first terminal is monitored.
The like data refers to operation data generated by the student performing like operation at the first terminal, and includes at least one of like times, like time and like sponsor, and the like data generated at different first terminals are different.
Generally, the server can monitor the online education classroom based on a preset time interval, and when praise data is generated in the online education classroom, the praise data is cached in the non-relational database, so that the praise data in the online education classroom can be stored in real time.
S303, caching the praise data into the non-relational database.
The non-relational database is a database without relational characteristics of the relational database, and has no relation among data, simple structure, easy expansion, large data volume, high performance and strong read-write performance. The non-relational database in the present application may be a Redis database.
Generally, after receiving approval data sent by a first terminal, a server may store the approval data in a non-relational database, when a plurality of first terminals exist in an online education classroom, there are often more interactive data generated in the online education classroom, which easily causes storage failure of the server, resulting in problems such as interaction delay, and the like.
S304, when the timing condition is met, the approval data is taken out from the non-relational database, and the approval data is written into the relational database.
The timing condition may be a storage time condition set by a user or a default, such as: the timing condition may be a timing condition when a course in the online education classroom is finished, or a timing condition when the lesson-going time in the online education classroom reaches a preset time, or a condition when praise data generated in the online education classroom is lower than a preset threshold. A relational database corresponds to a non-relational database, and a relational database is a database that uses a relational model to organize data and stores data in rows and columns, a series of rows and columns of the relational database are called tables, and a group of tables constitutes a database. The relational database in this application may be a MySQL database.
Generally, the praise data generated at the first terminal in the online education classroom is temporarily cached in the non-relational database, so that the storage pressure of the relational database is relieved, the praise data generated at the first terminal in the online education classroom can be guaranteed to be stored in real time, and when a timing condition is met, the praise data in the non-relational database can be uniformly transferred to the relational database in a reading and writing mode, so that the retention of a large amount of praise data in the online education classroom is facilitated, and a related data basis is provided for teaching analysis.
S305, generating effect indication information according to the praise data.
The effect indication information is a display effect corresponding to the praise animation, and the praise animation can display different animation effects according to the praise data and the effect indication information, so that the classroom interaction interest is enhanced. The effect indication information is related to the praise times, the praise time and the praise initiator in the praise data, the effect indication information comprises at least one of a display position, a display effect type and display time, and the terminal receiving the praise data can display praise animations of different positions, different types and different durations on the terminal display unit according to the effect indication information.
S306, binding effect indication information and like data.
Generally, after effect indication information is generated according to the praise data, the effect indication information and the praise data are bound together, so that after the praise data pushed by the server is received by the first terminal and/or the second terminal, praise animation can be displayed according to the praise data and the effect indication information bound with the praise data, different praise data correspond to different display effects, interaction interest in a classroom can be effectively enhanced, and enthusiasm for student classroom participation is improved.
S307, the praise data is pushed to the first terminal and/or the second terminal so that the first terminal and/or the second terminal can display the praise animation according to the praise data.
The like animation is a display effect corresponding to the like pointing data, the like animation may be composed of a static picture or a dynamic picture, and the display effect of the like animation may be preset, for example: if the praise animation is continuously played for three times, the praise animation is popped up, and the praise animation is controlled to be amplified and reduced for two times; different praise data can correspond to different display effects, such as: the first terminal displays the first praise animation when praise is continuously performed for three times for the first time, and the first terminal displays the second praise animation when praise is performed for two times for the second time.
Generally, after praise data is generated in an online education classroom, the server pushes the praise data to the corresponding second terminal, so that a teacher can check the praise data given by students in the classroom in real time on the second terminal and praise animations given by the students for the teacher; meanwhile, the first terminal can also receive the praise data sent by the server, and the students can also check the praise animation generated by the praise operation at the first terminal, so that the emotional communication between the students and the teacher can be effectively enhanced.
S308, receiving medal data from the second terminal.
Medal data is operation data generated by a medal issuing operation performed by the teacher at the second terminal, and includes at least one of medal type, excitation time, and excitation object.
Generally, teachers can set some interaction links such as questions and answers during classes, corresponding medals are issued to students with outstanding performance, and enthusiasm of the students in the course learning process is aroused by issuing medals. The teacher can display the mark with the medal on the terminal corresponding to the rewarded student on the second terminal, the rewarded student can also display the effect animation of the medal on the terminal, other students can also check the medal mark displayed on the terminal corresponding to the rewarded student on the respective terminals, and both the student and the teacher can check the object rewarded by the medal on the respective corresponding terminals.
S309, directly storing the medal data into the relational database.
Generally, compared with the like data, the medal data has less data volume, and the storage congestion is avoided when the medal data is stored, so that the medal data generated in the online education classroom can be directly stored in the relational database, and the data can be conveniently stored.
S310, pushing the medal data to the first terminal and/or the second terminal to enable the first terminal and/or the second terminal to display the medal animation according to the medal data.
Medal animation refers to the display effect corresponding to medal data, and can be composed of static pictures or dynamic pictures, the display effect of medal animation can be preset, and different types of medal data can correspond to different display effects.
Generally, after medal data is generated in online education, the server pushes the medal data to the first terminal corresponding to the rewarded student, so that the student can see the medal encouragement given by teachers in a classroom and the dynamic or static effect animation displayed by medals in real time on the first terminal, thereby greatly enhancing the interest of the classroom and effectively arousing the enthusiasm of student classroom learning.
And S311, taking out the approval data and/or the medal data from the relational database when the communication service established by the first terminal and/or the second terminal is finished.
Generally, when the communication service (course service) established by the first terminal and/or the second terminal is finished, namely when the teaching activities of the online education classroom are finished, indicating that course teaching is finished, the server collects all approval data and/or medal data generated in the course teaching process, analyzes the approval data and/or medal data in the course, can determine which link the student is satisfied in the teaching process, can determine the satisfaction degree of the student on the teacher teaching process through the approval data of the student, is convenient for subsequent comprehensive performance evaluation and analysis of the teacher, and can also be convenient for evaluation and analysis of the learning growth of the student through the medal data obtained by the student.
S312, analyzing the endorsement data and/or the medal data to generate course report data.
The course report data refers to course analysis data obtained according to the approval data and/or the medal data, and the course report data can include analysis data of teaching effect of a teacher, teaching performance and learning effect and learning performance of students, and can also include analysis data set for course establishment links. The course report data which can be received by the second terminal can be different from the course report data received by the first terminal, and the course report data received by different first terminals is also different, namely the server can generate the respective corresponding course report data according to the like data and/or medal data related to each terminal.
And S313, sending the course report data to the first terminal and/or the second terminal.
Generally, after the course report data is generated according to the approval data and/or the medal data, the server can respectively push the course report data to the first terminal and/or the second terminal participating in the course, so that the teacher can check the analysis result of the course teaching through the second terminal, and the students can check the number of times of participating in approval interaction and the condition of being rewarded by medals in the course through the first terminal.
For example, the following steps are carried out: referring to fig. 4, the display interface 40 may be a display interface of the first terminal, and the display interface 40 includes a courseware display interface 41, a curriculum timing box 42, a teacher display box 43, a student display box 44, a like function key 45, and a medal display box 47. The teacher display box 43 is not limited to displaying the head portrait or real-time video of the teacher in class, the student display box 44 is not limited to displaying the head portrait or real-time video of the student in class, after the first terminal obtains the praise authority, the student can praise the teacher through the praise function key 45 of the first terminal, and after the student praise three times continuously, the praise animation 46 can be displayed on the display interface, so that the classroom interest is greatly enhanced. After the student has obtained the medal issued by the teacher in the classroom, the obtained medal icon and the number of medals (medal display box 47) are displayed at the bottom of the student display box 44, so that the student can feel the motivation of the teacher.
For example, the following steps are carried out: referring to fig. 5, the display interface 50 may be a display interface of the second terminal, and the display interface 50 includes a teacher display box 51, a selected student display box 52, and unselected student display boxes 53 and medal function boxes 54. After receiving the approval data generated at the first terminal, the second terminal displays approval icons and the number of medals 56 at the bottom of the teacher display frame, so that a teacher can check the welcome degree of the teacher by the students through the terminal, the students with excellent performance can be selected to issue medals in the display interface of the teacher accessible second terminal, the teacher can select proper medal rewarding and excellent performance students from the medal function frame 54, after receiving the medal data issued by the second terminal, the display interfaces of the first terminal and the second terminal both display medal animations 57, and the medal icons and the number of medals 55 can be displayed at the bottom of the selected student display frame 52. Therefore, approval for the teacher can be expressed by freely selecting the mode of praising the teacher by the students, the enthusiasm of the students in the classroom can be modulated by the mode of giving the medals to the students with better performance by the teacher, the interestingness of the classroom is greatly enhanced, and the classroom interaction effect is improved.
When the scheme of the embodiment of the application is executed, the server starts the authority of the first terminal to send the approval data when receiving the indication information which is sent by the second terminal and used for requesting to start the approval function or when long conditions are met during class break, monitors the approval data sent by the first terminal, caches the approval data into the non-relational database, takes out the approval data from the non-relational database when the timing conditions are met, writes the approval data into the relational database, generates effect indication information according to the approval data, binds the effect indication information and the approval data, pushes the approval data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal display approval animations according to the approval data, receives the approval data from the second terminal, directly stores the approval data into the relational database, and pushes the chapter data to the first terminal and/or the second terminal, the method includes the steps that medal animation is displayed on the first terminal and/or the second terminal according to medal data, when communication service built on the first terminal and/or the second terminal is finished, the like-pointing data and/or medal data are/is taken out from a relational database, the like-pointing data and/or medal data are/is analyzed to generate course report data, the course report data are sent to the first terminal and/or the second terminal, the student terminals can point like the teacher for teaching behaviors of teachers, the teacher can give medal rewards for well-behaved students through the second terminal, interaction effects between the students and the teachers are enhanced, and enthusiasm of classroom learning is fully adjusted.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 6, a schematic structural diagram of an online interaction device according to an exemplary embodiment of the present application is shown. Hereinafter referred to as the apparatus 6, the apparatus 6 may be implemented as all or a part of the terminal by software, hardware or a combination of both. The apparatus 6 includes a receiving module 601, a caching module 602, a processing module 603, and a pushing module 604.
A receiving module 601, configured to receive the approval data from the first terminal; the approval data is generated by the first terminal according to approval operation executed by a user;
a caching module 602, configured to cache the like data in a non-relational database;
a processing module 603, configured to take the like data out of the non-relational database and write the like data into the relational database when a timing condition is met;
a pushing module 604, configured to push the like data to the first terminal and/or the second terminal, so that the first terminal and/or the second terminal displays a like animation according to the like data.
Optionally, the apparatus 6 further comprises:
the receiving unit is used for receiving medal data from the second terminal; the medal data is generated by a teacher executing excitation operation on the second terminal;
the storage unit is used for directly storing the medal data into the relational database;
the medal animation display device comprises a pushing unit and a display unit, wherein the pushing unit is used for pushing the medal data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal display medal animation according to the medal data.
Optionally, the apparatus 6 further comprises:
a reading unit, configured to take out the like data and/or the medal data from the relational database when the communication service established by the first terminal and the second terminal is ended;
the analysis unit is used for analyzing the approval data and/or the medal data to generate course report data;
and the sending unit is used for sending the course report data to the first terminal and/or the second terminal.
Optionally, the receiving module 601 includes:
the starting unit is used for starting the permission of the first terminal for sending the praise data when receiving indication information which is sent by a second terminal and used for requesting to start the praise function or meeting the requirement of the class duration;
and the monitoring unit is used for monitoring the approval data sent by the first terminal.
Optionally, the pushing module 604 further includes:
the generating unit is used for generating effect indicating information according to the like data; the effect indication information is used for indicating the first terminal and/or the second terminal to display the praise animation with a preset display effect;
and the binding unit is used for binding the effect indication information and the like data.
It should be noted that, when the apparatus 6 provided in the foregoing embodiment executes the online interaction method, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the embodiments of the online interaction method provided by the above embodiments belong to the same concept, and details of the implementation process are referred to in the embodiments of the method, which are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 2 to fig. 3, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 2 to fig. 3, which is not described herein again.
The present application further provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the online interaction method according to the above embodiments.
Fig. 7 is a schematic structural diagram of an online interaction apparatus provided in an embodiment of the present application, which is hereinafter referred to as an apparatus 7 for short, where the apparatus 7 may be integrated in the foregoing server or terminal device, as shown in fig. 7, the apparatus includes: memory 702, processor 701, input device 703, output device 704, and a communication interface.
The memory 702 may be a separate physical unit, and may be connected to the processor 701, the input device 703, and the output device 704 through a bus. The memory 702, processor 701, input device 703, and output device 704 may also be integrated, implemented in hardware, etc.
The memory 702 is used for storing a program for implementing the above method embodiment, or various modules of the apparatus embodiment, and the processor 701 calls the program to perform the operations of the above method embodiment.
Input devices 702 include, but are not limited to, a keyboard, a mouse, a touch panel, a camera, and a microphone; the output device includes, but is not limited to, a display screen.
Communication interfaces are used to send and receive various types of messages and include, but are not limited to, wireless interfaces or wired interfaces.
Alternatively, when part or all of the online interaction method of the above embodiments is implemented by software, the apparatus may also include only a processor. The memory for storing the program is located outside the device and the processor is connected to the memory by means of circuits/wires for reading and executing the program stored in the memory.
The processor may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The memory may include volatile memory (volatile memory), such as random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory may also comprise a combination of memories of the kind described above.
Wherein, the processor 701 calls the program code in the memory 702 for executing the following steps:
receiving approval data from the first terminal; the approval data is generated by the first terminal according to approval operation executed by a user;
caching the praise data into a non-relational database;
when timing conditions are met, the like data are taken out of the non-relational database, and the like data are written into the relational database;
and pushing the praise data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal display praise animations according to the praise data.
In one or more embodiments, processor 701 is further configured to:
receiving medal data from the second terminal; the medal data is generated by a teacher executing excitation operation on the second terminal;
directly storing the medal data into the relational database;
pushing the medal data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal display medal animation according to the medal data.
In one or more embodiments, processor 701 is further configured to:
when the communication service established by the first terminal and the second terminal is finished, taking out the approval data and/or the medal data from the relational database;
analyzing the like data and/or the medal data to generate course report data;
and sending the course report data to the first terminal and/or the second terminal.
In one or more embodiments, processor 701 is further configured to:
when receiving indication information which is sent by a second terminal and used for requesting to start a praise function, or when meeting a time duration condition in class, starting the permission of the first terminal for sending the praise data;
and monitoring the approval data sent by the first terminal.
In one or more embodiments, processor 701 is further configured to:
generating effect indication information according to the praise data; the effect indication information is used for indicating the first terminal and/or the second terminal to display the praise animation with a preset display effect;
and binding the effect indication information and the like data.
The embodiment of the application also provides a computer storage medium, which stores a computer program, and the computer program is used for executing the online interaction method provided by the embodiment.
The embodiment of the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the online interaction method provided by the above embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (11)

1. An online interaction method, the method comprising:
receiving approval data from the first terminal; the approval data is generated by the first terminal according to approval operation executed by the first user;
caching the praise data into a non-relational database;
when timing conditions are met, the like data are taken out of the non-relational database, and the like data are written into the relational database;
and pushing the praise data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal display praise animation according to the praise data.
2. The method of claim 1, further comprising:
receiving medal data from the second terminal; the medal data is generated by the second terminal according to the excitation operation executed by the second user;
directly storing the medal data into the relational database;
pushing the medal data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal display medal animation according to the medal data.
3. The method of claim 2, wherein the like data comprises at least one of a number of like, a time of like, and a like originator; the medal data includes at least one of a medal type, an excitation time, and an excitation object.
4. The method of claim 2, further comprising:
when the communication service established by the first terminal and the second terminal is finished, taking out the approval data and/or the medal data from the relational database;
analyzing the like data and/or the medal data to generate course report data;
and sending the course report data to the first terminal and/or the second terminal.
5. The method of claim 1, wherein receiving the approval data from the first terminal comprises:
when receiving indication information which is sent by a second terminal and used for requesting to start a praise function, or when meeting a time duration condition in class, starting the permission of the first terminal for sending the praise data;
and monitoring the approval data sent by the first terminal.
6. The method according to claim 1, wherein before the pushing the like data to the first terminal and/or the second terminal to cause the first terminal and/or the second terminal to display like animation according to the like data, further comprising:
generating effect indication information according to the praise data; the effect indication information is used for indicating the first terminal and/or the second terminal to display the praise animation with a preset display effect;
and binding the effect indication information and the like data.
7. The method of claim 6, wherein the effect indication information comprises at least one of a display position, a display effect type, and a display time.
8. The method of claim 1, wherein the first terminal is a student terminal and the second terminal is an instructor terminal.
9. An online interaction method, the method comprising:
a receiving module, configured to receive the approval data from the first terminal; the approval data is generated by the first terminal according to approval operation executed by a user;
the cache module is used for caching the praise data into a non-relational database;
the processing module is used for taking out the like data from the non-relational database when timing conditions are met and writing the like data into the relational database;
the pushing module is used for pushing the like data to the first terminal and/or the second terminal so that the first terminal and/or the second terminal can display the like animation according to the like data.
10. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 8.
11. A server, comprising: a processor, a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 8.
CN202110205555.XA 2021-02-24 2021-02-24 Online interaction method and device, storage medium and server Pending CN113158114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110205555.XA CN113158114A (en) 2021-02-24 2021-02-24 Online interaction method and device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110205555.XA CN113158114A (en) 2021-02-24 2021-02-24 Online interaction method and device, storage medium and server

Publications (1)

Publication Number Publication Date
CN113158114A true CN113158114A (en) 2021-07-23

Family

ID=76883853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110205555.XA Pending CN113158114A (en) 2021-02-24 2021-02-24 Online interaction method and device, storage medium and server

Country Status (1)

Country Link
CN (1) CN113158114A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778365A (en) * 2021-09-29 2021-12-10 腾讯科技(深圳)有限公司 Element display method, element selection method, device, equipment and storage medium
WO2023131104A1 (en) * 2022-01-05 2023-07-13 北京字跳网络技术有限公司 Interface display method and apparatus in livestreaming process, device, medium, and product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003030127A2 (en) * 2001-10-04 2003-04-10 Ipr Holdings Ltd. Learning systems
CN104616546A (en) * 2015-02-17 2015-05-13 浙江工商大学 Mobile terminal based online teaching interactive system and implementation method thereof
CN110111401A (en) * 2018-01-31 2019-08-09 北京新唐思创教育科技有限公司 Animation playing method and device for online class
CN110377645A (en) * 2019-07-26 2019-10-25 北京艾摩瑞策科技有限公司 Be related to block chain thumbs up data sharing method and its system
CN111796846A (en) * 2020-07-06 2020-10-20 成都艾乐橙文化传播有限公司 Information updating method and device, terminal equipment and readable storage medium
CN112004113A (en) * 2020-07-27 2020-11-27 北京大米科技有限公司 Teaching interaction method, device, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003030127A2 (en) * 2001-10-04 2003-04-10 Ipr Holdings Ltd. Learning systems
CN104616546A (en) * 2015-02-17 2015-05-13 浙江工商大学 Mobile terminal based online teaching interactive system and implementation method thereof
CN110111401A (en) * 2018-01-31 2019-08-09 北京新唐思创教育科技有限公司 Animation playing method and device for online class
CN110377645A (en) * 2019-07-26 2019-10-25 北京艾摩瑞策科技有限公司 Be related to block chain thumbs up data sharing method and its system
CN111796846A (en) * 2020-07-06 2020-10-20 成都艾乐橙文化传播有限公司 Information updating method and device, terminal equipment and readable storage medium
CN112004113A (en) * 2020-07-27 2020-11-27 北京大米科技有限公司 Teaching interaction method, device, server and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778365A (en) * 2021-09-29 2021-12-10 腾讯科技(深圳)有限公司 Element display method, element selection method, device, equipment and storage medium
CN113778365B (en) * 2021-09-29 2023-05-26 腾讯科技(深圳)有限公司 Element display method, element selection method, device, equipment and storage medium
WO2023131104A1 (en) * 2022-01-05 2023-07-13 北京字跳网络技术有限公司 Interface display method and apparatus in livestreaming process, device, medium, and product

Similar Documents

Publication Publication Date Title
CN110570698B (en) Online teaching control method and device, storage medium and terminal
CN110673777A (en) Online teaching method and device, storage medium and terminal equipment
Valenti et al. Virtual reality as a tool for student orientation in distance education programs: A study of new library and information science students
WO2021159832A1 (en) Online interaction control method, device, storage medium, and electronic apparatus
KR101460090B1 (en) A cloud computing based n screen smart education system and the method thereof
KR102403701B1 (en) Systems that provide bidirectional participation-type educational service
CN104574235A (en) Intelligent class racing system
CN113158114A (en) Online interaction method and device, storage medium and server
CN112135196A (en) Online live broadcast teaching interaction method, device, system, equipment and storage medium
CN111935264A (en) Intelligent classroom interaction system
CN111326039A (en) Online interactive teaching and competition system
US20170270812A1 (en) Method for learning assessment
Hutchins et al. Co‐designing teacher support technology for problem‐based learning in middle school science
CN112767759A (en) Interaction method, interaction device, computer equipment and medium for live broadcast network course
Rae Mancilla et al. Professional development for digital accessibility: A needs assessment
CN106530870A (en) Multimedia teaching auxiliary system based on computer software technology
Zainal et al. Zoom utilization as an online learning media during the COVID-19 pandemic
Ramly et al. The Effects of Using Educational Videos in Online Learning: A Case Study for Basic Computer Science Subject
Panagiotakis et al. Towards a novel and LMS-free Pervasive Learning System exploiting the Experience API
Shakhina et al. Smart education in the transformation digital society
CN112863275A (en) Role-based network teaching method and system, storage medium and platform
TWI534767B (en) Learning method of assessment
Sinkovics et al. Information technology‐based innovation in international marketing education: an exploration of two learning environments
KR102530740B1 (en) Systems that provide participation-type educational service using quiz game
Setyaningsih et al. The Boarding University Strategy in Developing E-Learning Based Multimedia Instructional

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