WO2021031462A1 - Courseware operating method and apparatus, computer device, and storage medium - Google Patents

Courseware operating method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2021031462A1
WO2021031462A1 PCT/CN2019/123936 CN2019123936W WO2021031462A1 WO 2021031462 A1 WO2021031462 A1 WO 2021031462A1 CN 2019123936 W CN2019123936 W CN 2019123936W WO 2021031462 A1 WO2021031462 A1 WO 2021031462A1
Authority
WO
WIPO (PCT)
Prior art keywords
courseware
terminal
lecture
authority
operations
Prior art date
Application number
PCT/CN2019/123936
Other languages
French (fr)
Chinese (zh)
Inventor
刘少杰
Original Assignee
广州视源电子科技股份有限公司
广州视睿电子科技有限公司
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 广州视源电子科技股份有限公司, 广州视睿电子科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2021031462A1 publication Critical patent/WO2021031462A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/08Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations
    • G09B5/10Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations all student stations being capable of presenting the same information simultaneously
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Definitions

  • the embodiment of the present invention relates to education technology, for example, relates to a courseware operation method, device, computer equipment and storage medium.
  • teaching programs based on live broadcast mainly include the following two categories:
  • the first category is a teaching program that is oriented to hardware and live broadcast effects. In this live broadcast program, more attention is paid to the definition, fluency, and number of units of audio and video data during the live broadcast.
  • the technology of the live broadcast solution is relatively complicated, the user operation is difficult, and the learning and use costs are high.
  • the second category is a teaching plan that is oriented to the quality of teaching content. In this live broadcast plan, more attention is paid to the quality of teaching content instead of too much attention to the live broadcast effect.
  • courseware to send video data
  • additional hardware such as cameras is required, and video data occupies a larger bandwidth, resulting in higher costs, and limited by the definition of video data, the definition of courseware will be reduced, especially In the case of a poor network environment, the courseware is easily blurred or even invisible.
  • the embodiments of the present invention provide a courseware operation method, device, computer equipment, and storage medium, so as to solve the problems of poor classroom interaction, high cost, and low clarity of courseware based on a live teaching program.
  • an embodiment of the present invention provides a method for operating a courseware, which is applied to a lecture terminal, and the method includes:
  • the operation is synchronized to the teaching terminal and the other listening terminal, and both the teaching terminal and the other listening terminal are used to process the courseware according to the operation.
  • the embodiment of the present invention also provides a method for operating courseware, which is applied to a teaching terminal, and the method includes:
  • the embodiment of the present invention also provides a courseware operation method, which is applied to a server, and the method includes:
  • the lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
  • the operation is sent to the teaching terminal and other listening terminals, and both the teaching terminal and the other listening terminals are used to process the courseware according to the operation.
  • an embodiment of the present invention also provides a method for operating courseware, including:
  • the lecture terminal creates a lecture room and displays the interface of the lecture room;
  • the lecture terminal uploads the courseware to the lecture room
  • the lecture terminal displays the courseware in the interface of the lecture room
  • At least two listening terminals log into the lecture room and display the interface of the lecture room;
  • At least two listening terminals download the courseware and display the courseware in the interface of the lecture room;
  • One of the lecture terminals receives the operation acting on the courseware, processes the courseware according to the operation, and synchronizes the operation to the teaching terminal and the other lecture terminals;
  • the teaching terminal processes the courseware according to the operation
  • an embodiment of the present invention also provides a courseware operating device, which is applied to a lecture terminal, and the device includes:
  • the display module of the lecture room is configured to display the interface of the lecture room.
  • the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed all Describe courseware;
  • a courseware display module configured to download the courseware and display the courseware in the interface of the lecture room
  • the first operation receiving module is configured to receive operations acting on the courseware
  • the first courseware processing module is configured to process the courseware according to the operation
  • the operation synchronization module is configured to synchronize the operation to the teaching terminal and the other listening terminal, and both the teaching terminal and the other listening terminal are used to process the courseware according to the operation.
  • an embodiment of the present invention also provides a courseware operating device, which is applied to a teaching terminal, and the device includes:
  • the class room creation module is configured to create a class room and display the interface of the class room;
  • the courseware uploading module is configured to upload courseware to the lecture room, the lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
  • the courseware display module is configured to display the courseware in the interface of the lecture room;
  • the first operation receiving module is configured to receive the operation of the listening terminal acting on the courseware
  • the first courseware processing module is configured to process the courseware according to the operation.
  • an embodiment of the present invention also provides a courseware operating device applied to a server, and the device includes:
  • the classroom creation module is configured to create a classroom for the teaching terminal
  • the first courseware receiving module is configured to receive the courseware uploaded by the lecture terminal to the lecture room, where a lecture terminal is logged in in the lecture room, and the lecture terminal has downloaded and displayed the courseware;
  • the first operation receiving module is configured to receive the operation of the listening terminal acting on the courseware
  • the first operation synchronization module is configured to send the operation to the teaching terminal and other listening terminals, and the teaching terminal and the other listening terminals are both used to process the courseware according to the operation.
  • an embodiment of the present invention also provides a computer device, the computer device including:
  • One or more processors are One or more processors;
  • Memory used to store one or more programs
  • the one or more processors can implement any of the first, second, third, and fourth aspects How to operate the courseware.
  • the embodiments of the present invention also provide a computer-readable storage medium on which a computer program is stored.
  • the computer program When the computer program is executed by a processor, it implements aspects such as the first, second, third, and fourth aspects.
  • the lecture room is logged in with the lecture terminal and other lecture terminals
  • the lecture terminal has uploaded the courseware to the lecture room
  • other lecture terminals have downloaded and displayed the courseware
  • the lecture terminal displays the interface of the lecture room
  • downloads the courseware and Display the courseware in the interface between the lectures
  • receive operations on the courseware process the courseware according to the operation
  • synchronize the operation to the teaching terminal and other listening terminals The teaching terminal and other listening terminals are used to process the courseware according to the operation.
  • the authorized terminal and the listening terminal load the same courseware locally.
  • the courseware is directly displayed, there is no need to set up professional audio-visual equipment for the courseware, which can reduce the equipment cost.
  • the courseware is not limited after downloading Network transmission, in the case of poor network environment, can still ensure the clarity of the picture.
  • the operation performed by the lecture terminal on the courseware can be synchronized to the lecture terminal and other lecture terminals.
  • the lecture terminal and other lecture terminals synchronize the state of the courseware locally, so that multiple parties can interact through the courseware as a medium.
  • classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • the listening terminal can operate synchronously with the teaching terminal and other listening terminals.
  • This operation can be expressed in a plain text stream.
  • the transmitted data To change the instruction from video data to plain text stream, the volume of the instruction of plain text stream is much smaller than the volume of video data. Therefore, the instruction to transmit plain text stream can greatly reduce the amount of data transmitted, thereby greatly reducing the bandwidth occupation and greatly reducing The cost of traffic is reduced, and the instruction to transmit the plain text stream can increase the transmission speed and ensure the real-time operation.
  • FIG. 1 is an architecture diagram of a teaching system provided by an embodiment of the present invention
  • FIG. 2 is an architecture diagram of a server and user terminal provided by an embodiment of the present invention
  • Embodiment 3 is a flowchart of a method for operating a courseware provided by Embodiment 1 of the present invention.
  • 4A to 4F are exemplary diagrams of displaying courseware in a lecture room provided by an embodiment of the present invention.
  • Figure 5 is a flowchart of a method for operating a courseware provided by the second embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for operating a courseware provided by Embodiment 3 of the present invention.
  • FIG. 7 is a flowchart of a method for operating a courseware provided by the fourth embodiment of the present invention.
  • Figure 8 is a flowchart of a method for operating a courseware provided by the fifth embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for operating a courseware provided by Embodiment 6 of the present invention.
  • Figure 10 is a flowchart of a method for operating a courseware provided by the seventh embodiment of the present invention.
  • FIG. 11 is a flowchart of a method for operating a courseware provided by Embodiment 8 of the present invention.
  • Figure 12 is a flowchart of a method for operating a courseware provided by the ninth embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a courseware operating device provided by the tenth embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a courseware operating device provided by Embodiment 11 of the present invention.
  • Embodiment 15 is a schematic structural diagram of a courseware operating device provided by Embodiment 12 of the present invention.
  • FIG. 16 is a schematic structural diagram of a computer device according to Embodiment 13 of the present invention.
  • Figure 1 is an architectural diagram of a teaching system provided by an embodiment of the present invention.
  • the teaching system is suitable for teaching based on live broadcast, for example, teaching and vocational education at the educational stage (such as compulsory education, higher education, etc.) Examinations (such as the national legal professional qualification examination, patent agent qualification examination, certified public accountant qualification examination, etc.) teaching, professional skills (such as software development, painting, flower arrangement, etc.) teaching, etc.
  • the teaching system includes a server 100, a teaching terminal 110, and a lecture terminal 120.
  • the server 100 stores a courseware 111 to realize cloud sharing of the courseware 111 so that the teaching terminal 110 and the lecture terminal 120 share the courseware 111.
  • the server 100, the teaching terminal 110, and the lecture terminal 120 can be deployed in the public network at the same time, or deployed in the local area network at the same time, or the server 100 and the teaching terminal 110 are deployed in the public network, and the lecture terminal 120 is deployed in the local area network.
  • 100 is deployed in the public network
  • the teaching terminal 110 and the lecture terminal 120 are deployed in the local area network, and so on.
  • permission management is performed based on RBAC (Role-Based Access Control), that is, users are associated with roles and permissions, and the user is generally represented by a user account (also called a user ID).
  • RBAC Role-Based Access Control
  • a user has several roles, and each role has several permissions, thus constructing a "user-role-permission" authorization model.
  • the role of the user includes lecturer and lecturer.
  • the role of the instructor is generally granted to the user who teaches, and the instructor is associated with the user account of the user.
  • the instructor generally has all the permissions to operate the courseware, such as uploading courseware, deleting courseware, controlling the progress of classroom activities, flipping pages, adding pages , Add comment information, delete comment information, etc.
  • the role of the lecturer is generally granted to the user who listens to the lecture.
  • the lecturer is associated with the user account of the user.
  • the permissions of the lecturer are generally limited, that is, they have partial permissions to operate the courseware, such as flipping pages, adding pages, adding annotations, and deleting annotations. Information, etc., do not have the authority to upload courseware, delete courseware, or set activity parameters.
  • the permission of the lecturer can be configured in the user (represented by the user account) associated with the lecturer. If the permission of the lecturer includes speaking, the user can prohibit the permission and implement a ban.
  • the server 100 includes one or more wired or wireless network interfaces, and/or, one or more operating systems.
  • the wired or wireless network interface is used to establish a long connection with the teaching terminal 110 and the lecture terminal 120, such as a TCP (Transmission Control Protocol, transmission control protocol) connection.
  • TCP Transmission Control Protocol, transmission control protocol
  • the operating system includes Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and so on.
  • the lecture terminal 110 and the lecture terminal 120 can belong to the same type of equipment, or they can belong to different types of equipment.
  • the equipment can be equipped with components such as a display screen, a microphone, and a camera, such as smart interactive tablets, mobile terminals (such as mobile phones, tablet computers, etc.) , Personal computers, smart wearable devices (such as smart glasses, smart watches, etc.).
  • the role of the user account logged in the lecture terminal 110 is the lecturer
  • the role of the user account logged in the lecture terminal 120 is the lecturer
  • the smart interactive tablet is suitable for deployment in a remote place and is for teachers who teach.
  • the smart interactive tablet is suitable for deployment in the classroom 140.
  • the teacher who is listening to the class can be referred to as an assistant, compared with the teacher who teaches the class, and can assist the teacher who teaches to explain the content of the courseware to the students.
  • the hardware part of the smart interactive tablet is composed of a display module, an intelligent processing system (including a controller) and other parts, which are integrated by the overall structure, and are also supported by a dedicated software system.
  • the display module includes a display screen and Backlight assembly, where the display screen includes a transparent conductive layer and a liquid crystal layer.
  • the display screen in the embodiments in this specification, refers to a touch screen, a touch screen, and a touch panel. It is an inductive liquid crystal display device.
  • the tactile feedback system on the screen can be Drive various connection devices according to pre-programmed programs, which can be used to replace mechanical button panels, and create dynamic audio-visual effects through the LCD screen.
  • Differentiating touch screens from technical principles can be divided into five basic categories: vector pressure sensing technology touch screens, resistive technology touch screens, capacitive technology touch screens, infrared technology touch screens, surface acoustic wave technology touch screens. According to the working principle of the touch screen and the medium of information transmission, the touch screen can be divided into four types: resistive type, capacitive sensing type, infrared type and surface acoustic wave type.
  • the coordinates of the point are located, so as to realize the control of the intelligent processing system, and then realize different functional applications with the built-in software of the intelligent processing system.
  • the "screen” and “large screen” mentioned in this application all refer to the display screen of the smart interactive tablet; the display of a certain interface and annotation information on the smart interactive tablet means that the display screen of the smart interactive tablet displays the interface and annotation Information and other data.
  • FIG. 2 is an architecture diagram of a server and a user terminal provided by an embodiment of the present invention.
  • a lock service 211 and a command service 212 are configured in the server 210.
  • the lock service 211 is used to perform authority management on the operation of the user terminal 220 on the courseware.
  • the instruction service 212 is used to manage the instructions generated by the operation of the user terminal 220 on the courseware.
  • the lock service 211 includes a user state manager 2111 and an object state manager 2112.
  • the user state manager 2111 is used to manage the state of the user (represented by the user account) of the courseware operation, such as executed, executing, Not executed, prohibited, etc.
  • the object state manager 2112 is used to manage the state of objects (such as pages, elements, tools, etc.) in the courseware, such as position, size, and whether operations are allowed or not.
  • the instruction service includes an instruction manager 2121 and a room manager 2112.
  • the instruction manager 2121 is used to manage a single instruction, such as storing the parameters, distribution status, execution status, etc. in the instruction;
  • the room manager 2122 is used for each classroom Manage the instructions in each classroom, such as storing instructions that have been distributed, instructions being distributed, instructions waiting to be distributed, etc. in each classroom.
  • the structure of the lecture terminal and the lecture terminal can be kept consistent. Therefore, for simplicity, the lecture terminal and the lecture terminal are combined into the lecture terminal 220.
  • the teaching terminal 220 has a user interface 221 (User Interface, UI), an instruction layer 222, an authority manager 223, a sending buffer area 224, and a receiving buffer area 225.
  • UI User Interface
  • the user interface 221 is used to provide an interface for the user to operate between lectures, and the courseware can be displayed on the interface, and the user can operate the courseware by means of touch, mouse, etc.
  • the instruction layer 222 is used to generate corresponding instructions for the operations acting on the courseware.
  • the authority manager 223 is used to interact with the lock service 211 to verify whether the user terminal 220 has the authority to perform the operation.
  • the sending buffer area 224 belongs to a buffer and is used to buffer the instructions generated by the user terminal 220 and wait to be sent to the instruction service 212.
  • the receiving buffer area 225 belongs to a buffer, and is used to receive and buffer instructions sent by the instruction service 212, and transmit them to the instruction layer 222, and the instruction layer 222 is transmitted to the user interface 221, where the courseware is processed according to the instructions.
  • FIG. 3 is a flowchart of a method for operating a courseware provided by Embodiment 1 of the present invention.
  • This embodiment is applied to a lecture terminal and is applicable to a situation where the lecture terminal synchronizes operations on the courseware to the teaching terminal and other lecture terminals.
  • the method can be executed by the operating device of the courseware, which can be implemented by software and/or hardware, and can be configured in computer equipment, such as smart interactive tablets, mobile terminals (such as mobile phones, tablet computers, etc.), and personal computers.
  • smart wearable devices such as smart glasses, smart watches, etc.
  • the method may include the following steps:
  • the lecture terminal has the authority to create a lecture room, and the lecture terminal can request the server to create a lecture room according to the needs of the lecture.
  • the so-called lecture room refers to the space used for teaching, which is a virtual space.
  • the server can configure the room code (ie ID), room address (such as URL (Uniform Resource Locator, Uniform Resource Locator)), interface and so on to the lecturer.
  • room code ie ID
  • room address such as URL (Uniform Resource Locator, Uniform Resource Locator)
  • the interface can be a page developed following the architecture of the page, such as HTML5 (Hyper Text Markup Language 5, Hypertext Markup Language 5), Web, etc., which can be displayed in a browser or a client with a page container Load and display.
  • HTML5 Hyper Text Markup Language 5, Hypertext Markup Language 5
  • Web etc.
  • the so-called page container can refer to the container that loads and displays the page.
  • the page container may include the WebView control
  • the page container may include the WebBrowser control and so on.
  • a WebView is used as an example of a page container for description.
  • WebView is the view class of the Java layer of the WebKit module (browser web page layout engine). Android applications using the Web browsing function can create the view object to display and process the requested network resources.
  • the WebKit module supports HTTP (Hypertext transfer protocol), HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer, which is an HTTP channel targeting security), FTP (File Transfer Protocol, file transfer protocol) ) And JS (JavaScript, a literal scripting language) request.
  • HTTP Hypertext transfer protocol
  • HTTPS Hyper Text Transfer Protocol over Secure Socket Layer, which is an HTTP channel targeting security
  • FTP File Transfer Protocol, file transfer protocol
  • JS JavaScript, a literal scripting language
  • WebView provides users with a series of web browsing and user interaction interfaces. Client programs access the core code of WebKit through these interfaces.
  • the courseware can be uploaded to the server, and the server associates the lecture room with the courseware.
  • the courseware can be called cloud courseware, and other lecture terminals can synchronize the cloud from the server Courseware.
  • the so-called courseware can refer to the course documents produced according to the requirements of teaching, after the determination of teaching objectives, the analysis of teaching content and tasks, the structure of teaching activities and interface design, for example, PPT (PowerPoint, presentation), seewo ( Seewo), etc.
  • PPT PowerPoint, presentation
  • seewo Seewo
  • the teaching terminal is installed with application software that comes with the operating system, and at the same time, is also installed with application software downloaded from a third-party device or server.
  • the type and content of the application software can be set according to actual conditions.
  • the application software has an electronic whiteboard function, which can be realized by the electronic whiteboard function: writing, drawing, annotation, courseware production and display and playback functions.
  • the electronic whiteboard function is set to have the function of courseware production and display and playback.
  • the courseware production refers to the element input or insertion operation performed by the user on the courseware editing page on the teaching terminal.
  • the courseware editing The page refers to the editing page in the smart interactive tablet with the editing canvas, the input element field, the editing setting options, and the display playback button.
  • the input element field contains the elements that can be displayed after the user enters a certain operation.
  • FIG. 4A is a schematic diagram of the content of the courseware editing page.
  • the editing canvas 40 can be used for the current user to input and edit elements.
  • the inputable element column 41 shows the elements that the current user can input in the courseware editing page. , Which includes: text, graphic shapes, multimedia, tables, classroom activities, mind maps, pinyin, Chinese characters and subject tools. Among them, subject tools can be function editors and formulas. It is understandable that the content of the input element column 41 can be set and changed according to actual conditions.
  • the edit setting options include the option buttons for setting the edited elements during the user editing process.
  • the edit setting option 42 shows the buttons that the current user can set on the courseware editing page, including :Forward undo, reverse undo, cut, attribute, animation and other setting buttons, among which attributes can be used to personalize the display state of the edited element, such as the attribute setting of the mind map and the attribute of the text Setting and setting the attributes of the current editing page layout, etc.
  • Animation can be used to personalize the playback animation trajectory of the edited element, such as the appearance, disappearance animation trajectory and display of the editable element in the demo playback scene Set the motion track of the motion.
  • display playback can refer to the courseware demonstration that uses the content in the courseware editing page as the demo playback page in the teaching mode.
  • the display playback can be triggered by the demo playback button.
  • Figure 4A also shows one of the demo playback buttons 43, namely The lecture start button, after the user triggers the lecture start button, the content in the editing canvas 40 can be demonstrated and played in the demo mode.
  • the lecture terminal can log in to the lecture room and display the interface of the lecture room.
  • users on the teaching end can publish the room code of the classroom through groups, web pages, etc. After learning the room code, the user at the lecture end enters the room code in the user interface and requests the server to search for the corresponding room code. After searching for the classroom, log in to the classroom.
  • the user at the lecture end can publish the room address of the lecture room through groups, web pages, etc. After learning the room address, the user at the lecture end enters the room address in the user interface, visits the room address, and logs in The classroom.
  • the user account logged in at the lecture end has a friend relationship with the user account logged in at the lecture end or other lecture ends, and the friend information of the user account logged in at the lecture end is displayed on the lecture end or other lecture ends.
  • the logged-in user account logs in the state of the classroom, and the listener requests to log in to the classroom through the state.
  • the user at the lecture end or the lecture end enters the user account logged in at other lecture ends on the interface of the lecture room, and invites them to log in to the lecture room.
  • the above-mentioned method of logging in to the lecture room is just an example.
  • other methods of logging in to the lecture room can be set according to the actual situation.
  • those skilled in the art can also use other methods of logging in to the classroom according to actual needs.
  • the lecture room is logged in with a teaching terminal and other listening terminals, together with the current listening terminal, and there are a teaching terminal and at least two listening terminals in the classroom.
  • the teaching terminal has uploaded the courseware to the classroom, and other listening terminals have downloaded and displayed the courseware.
  • the courseware belonging to the lecture room can be synchronized from the server, the courseware can be downloaded to the local, such as cache, and the courseware can be displayed on the interface of the lecture room.
  • the courseware includes a preparation phase as shown in FIG. 4C, an activity phase as shown in FIG. 4D, and a summary phase as shown in FIG. 4E and FIG. 4F.
  • the so-called preparation stage refers to the stage of preparing activities such as fun classification (competitive mode), group competition, and judgment of right or wrong.
  • the teaching terminal can set parameters such as the type, difficulty, number of participating users, and time of the activity.
  • the control for selecting elements in the lecture terminal is in a gray state and is in an inoperable state.
  • the teaching terminal clicks on the start control to start the activity and enter the activity stage.
  • the control for selecting elements in the lecture terminal is activated and is in an operable state.
  • the lecture terminal can operate elements related to the activity, such as dragging the cards “Beijing” and “New York” as shown in Figure 4D ",” “United States”, “China”, the teaching terminal can operate elements that control activities (such as controls for pause, resume, reset, etc.), and elements that are not related to activities (such as shapes, mind maps).
  • the results of the activity can be displayed.
  • the teaching terminal can click the controls for resetting or viewing the answers.
  • the controls for selecting elements in the lesson terminal are grayed out and are not available. operating.
  • the user can use a finger or a stylus to click and operate the courseware by means of touch, so that the lecture terminal can receive the operation on the courseware.
  • the user operates the courseware in a keyed manner through an external device connected to the lecture terminal, so that the lecture terminal receives the operation that acts on the courseware.
  • the external device may include a mouse, a keyboard, a page turning pen, etc.
  • the courseware includes one or more pages, each page has one or more elements, and for each page, a tool for operating annotation information can be provided.
  • receiving operations on the page can include flipping (for turning up pages, turning pages down), adding (for adding pages), deleting (for deleting pages), and so on.
  • receiving operations on the element can include rotation (for rotating the element), dragging (for dragging the element), zoom (for scaling the element), and so on.
  • receiving operations on the tool may include adding (for adding annotation information), deleting (for deleting annotation information), and so on.
  • the courseware in response to the user's operation on the courseware, the courseware can be processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware.
  • the courseware includes one or more pages, each page has one or more elements, and for each page, a tool for operating annotation information can be provided.
  • receiving operations that act on the page can correspondingly flip up, down, add, and delete pages.
  • receiving operations that act on the element can rotate, drag, or zoom the element on the page of the courseware accordingly.
  • the operation performed by the current listening terminal on the courseware can be sent through the server to the teaching terminal in the same classroom, and other listening terminals except the current listening terminal. Both the teaching terminal and other listening terminals are used to follow The operation processes the courseware, so as to realize the recurrence of the operation on the teaching terminal and other listening terminals and keep the courseware status consistent.
  • teaching terminal processes the courseware local to the teaching terminal according to the operation
  • other listening terminals process the courseware local to the other terminal according to the operation.
  • the lecture room is logged in with the lecture terminal and other lecture terminals
  • the lecture terminal has uploaded the courseware to the lecture room
  • other lecture terminals have downloaded and displayed the courseware
  • the lecture terminal displays the interface of the lecture room
  • downloads the courseware and Display the courseware in the interface between the lectures
  • receive operations on the courseware process the courseware according to the operation
  • synchronize the operation to the teaching terminal and other listening terminals The teaching terminal and other listening terminals are used to process the courseware according to the operation.
  • the authorized terminal and the listening terminal load the same courseware locally.
  • the courseware is directly displayed, there is no need to set up professional audio-visual equipment for the courseware, which can reduce the equipment cost.
  • the courseware is not limited after downloading Network transmission, in the case of poor network environment, can still ensure the clarity of the picture.
  • the operation performed by the lecture terminal on the courseware can be synchronized to the lecture terminal and other lecture terminals.
  • the lecture terminal and other lecture terminals synchronize the state of the courseware locally, so that multiple parties can interact through the courseware as a medium.
  • classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • the listening terminal can operate synchronously with the teaching terminal and other listening terminals.
  • This operation can be expressed in a plain text stream.
  • the transmitted data To change the instruction from video data to plain text stream, the volume of the instruction of plain text stream is much smaller than the volume of video data. Therefore, the instruction to transmit plain text stream can greatly reduce the amount of data transmitted, thereby greatly reducing the bandwidth occupation and greatly reducing The cost of traffic is reduced, and the instruction to transmit the plain text stream can increase the transmission speed and ensure the real-time operation.
  • Fig. 5 is a flowchart of a method for operating a courseware according to the second embodiment of the present invention. This embodiment is based on the foregoing embodiment and adds processing operations of synchronizing multimedia data and verifying operation rights. The method may include the following steps:
  • the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed the courseware.
  • S503 Play multimedia data from the lecture terminal and/or the other lecture terminal.
  • the teaching terminal and the lecture The multimedia data is synchronized between the terminals, so that a two-way interaction is formed between the user as the lecturer and the user as the lecturer.
  • the so-called synchronization means that the current lecture terminal receives and plays multimedia data from the teaching terminal and/or other lecture terminals, and both the lecture terminal and other lecture terminals receive and play the multimedia data from the current lecture terminal.
  • multimedia data can be audio data, that is, the user as the instructor and the user as the listener interact through voice, or the multimedia data can contain both video data and audio data, that is, the user as the instructor Interact with users who are lecturers through voice and screen.
  • the multimedia data may have a streaming structure.
  • audio data is mostly raw data such as PCM (Pulse Code Modulation), and the encoder can be called to encode the audio data into a specified audio format, such as AAC (Advanced Audio Coding, advanced audio coding).
  • PCM Pulse Code Modulation
  • AAC Advanced Audio Coding, advanced audio coding
  • the video data is mostly YUV (Y represents brightness (Luminance, Luma), U represents chrominance (Chrominance), V represents density (Chroma)) and other raw data, and the encoder can be called to encode the video data into a specified Video format, such as H.264 (digital video compression format), etc.
  • YUV brightness (Luminance, Luma)
  • U represents chrominance (Chrominance)
  • V represents density (Chroma)
  • the encoder can be called to encode the video data into a specified Video format, such as H.264 (digital video compression format), etc.
  • the packer can be called to encapsulate the audio data in the specified audio format and the video data in the specified video format into multimedia data in the specified stream format, such as MP4 (Moving Picture Experts Group 4, the fourth edition of the Moving Picture Experts Group), FLV ( Flash Video, streaming media format) and so on.
  • MP4 Motion Picture Experts Group 4, the fourth edition of the Moving Picture Experts Group
  • FLV Flash Video, streaming media format
  • RTSP Real Time Streaming Protocol
  • RTMP Real Time Messaging Protocol
  • HLS HTTP Live Streaming, based on HTTP (Hyper Text Transport Protocol, the streaming media transmission protocol of Hypertext Transport Protocol) and other protocols transmit multimedia data.
  • the teaching terminal and/or other listening terminals are equipped with a microphone, and the microphone can be used to collect the user who is the lecturer and/or the user who is the lecturer for the courseware. Sound, generate audio data, send the audio data to the server, and send the audio data from the server to the current lecture terminal.
  • the teaching terminal and/or other listening terminals are equipped with a microphone and a camera
  • the microphone can be used to collect the sound of the user as the instructor and/or the user as the listener for the courseware to generate audio data
  • the camera can be used to collect as The user of the lecturer and/or the user who is the lecturer generates video data for the screen of the courseware, and sends the audio data and the video data to the server, and the current listening terminal receives the audio data and the video data from the server.
  • the current listening terminal After the current listening terminal receives multimedia data from the teaching terminal and/or other listening terminals, it can detect whether the current listening terminal is connected to an expansion device through HDMI (High Definition Multimedia Interface) interfaces, etc., the expansion device Also known as auxiliary equipment, it is used to enhance the functions of the current lecture terminal, such as auxiliary display screens, etc.
  • the extended equipment can be the same type as the lecture terminal or different from the lecture terminal.
  • the extension device may be a smart interactive tablet, or a personal computer, etc.
  • the multimedia data from the teaching terminal and/or other lecture terminals can be transmitted to the extension device, and the multimedia data can be played on the extension device.
  • the video data can be displayed in full screen.
  • the current listening terminal keeps displaying the courseware and the tools of the courseware.
  • the multimedia data can be played on the current listening terminal.
  • the multimedia data has video data
  • the video data can be maximized.
  • the current lecture terminal displays the tools of the courseware on top.
  • the current listening terminal is equipped with a microphone, which can be used to collect the sound of the user as the listener for the courseware, generate audio data, send the audio data to the server, and the server sends the audio data to the teaching terminal And/or other listening terminal.
  • the current lecture terminal is equipped with a microphone and a camera
  • the microphone can be used to collect the sound made by the user as the lecturer on the courseware to generate audio data
  • the camera can be used to collect the user as the lecturer on the screen of the courseware to generate video data
  • the audio data and video data are sent to the server, and the server sends the audio data and video data to the lecture terminal and/or other lecture terminals.
  • the current lecture terminal applies to the lecture terminal to speak through the server.
  • the lecture terminal displays the corresponding application in the lecture room.
  • Information if the teaching terminal clicks the "Accept” control in the application information, the application information will be cancelled and the application for the speech will be confirmed.
  • the lecture terminal can collect multimedia data; if the teaching terminal clicks the "Reject” in the application information "Control, cancel the application information and confirm the rejection of the application to speak.
  • the terminal is prohibited from collecting multimedia data; of course, within a certain period of time (such as 1 minute), the terminal does not click the "accept” control or "reject” ”Control, the application information is cancelled, and the application to speak is rejected. At this time, the listening terminal is prohibited from collecting multimedia data.
  • the multimedia data of the current listening terminal can be synchronized to the teaching terminal and other listening terminals, and the multimedia data of the teaching terminal and/or other listening terminals can also be synchronized to the current listening terminal, so that multiple parties can interact through multimedia data as a medium .
  • Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • the extension device is connected to the lecture terminal, the multimedia data from the teaching terminal and/or other lecture terminals will be played on the extension device, and the courseware and multimedia data will be displayed on different devices to maintain sufficient space for the courseware and multimedia data. Display to ensure the clarity of courseware and multimedia data.
  • S506 Receive an operation acting on the courseware.
  • S507 Determine the authority of the lecture terminal to perform the operation.
  • the permissions include:
  • the authority of the user (represented by the user account) can be managed based on RBAC.
  • the lecture terminal is logged in with a user account, the user account is associated with a user role, and the user role is associated with permissions.
  • the terminal does not have the user role operation permissions to perform operations
  • the lecture terminal has the user role operation permissions to perform operations.
  • association relationship between the user account and the user role, and the association relationship between the user role and the authority are issued by the server to the lecture terminal when the user account is logged in to the lecture terminal.
  • the user account logged in to the lecture terminal can be determined locally at the lecture terminal, the user role associated with the user account, the authority associated with the user role, and the operation type of the operation , Operation object.
  • the operation object refers to the object to be operated in the courseware, including pages, elements in the pages, tools, and so on.
  • the types of operations can include flip, add, delete, etc.
  • the types of operations can include rotate, drag, zoom, and so on.
  • the types of operations can include add, delete, and so on.
  • the lecture terminal does not have the user role operation permission to perform the operation.
  • the lecture terminal has the user role operation permission for performing the operation.
  • the user role operation authority in addition to checking the user role operation authority locally on the lecture terminal, you can also check the user role operation authority on the server, that is, determine the user account logged in the lecture terminal, determine the operation type and operation object of the operation, and set the user account , The operation type and operation object are sent to the server.
  • the server determines the user role associated with the user account, determines the permissions associated with the user role, compares the permissions associated with the user role with the operation object and the operation type, and compares The result is sent to the lecture terminal.
  • the lecture terminal and/or other lecture terminals have already performed other operations that act on the courseware.
  • the current operation may conflict with other operations. Therefore, the current operation can be compared with other operations.
  • the lecture terminal does not have the operation priority authority to perform the operation.
  • the lecture terminal has the operation priority authority to perform the operation.
  • a conflict rule may be preset, and the conflict rule is used to indicate that there is a conflict between at least two operations.
  • conflicting rules if the current operation and other operations are both used to operate the same element in the courseware, the current operation conflicts with other operations.
  • multiple users are prohibited from continuously operating the same element in the courseware, for example, multiple users are prohibited from dragging the same element in different directions, and multiple users are prohibited from continuously zooming the same element at different zoom ratios. Element, prohibit multiple users from continuously rotating the same element according to different angles, etc.
  • conflicting rules if the current operation and other operations are both used to add or delete annotation information on the courseware, the current operation conflicts with other operations.
  • multiple users are prohibited from adding and deleting annotation information at the same time, so as to prevent the annotation information added by one user from being deleted by other users.
  • conflict rules if the current operation is used to operate a page in the courseware, the current operation conflicts with other operations.
  • conflict rules are only examples.
  • other conflict rules can be set according to actual conditions such as courseware and business requirements, and the conflict rules can be added, deleted, or modified in different versions, for example, in
  • it is also possible to allow multiple users to continuously operate the same element in the courseware that is, if the current operation and other operations are used to operate the same element in the courseware, the current operation does not conflict with other operations, such as Allow multiple users to continuously drag and rotate the same element in the courseware; for example, allow the operation of the courseware page and the operation of playing animation to be performed at the same time, and so on.
  • those skilled in the art can also adopt other conflict rules according to actual needs such as courseware and business requirements.
  • the user account, the type of operation, and the object of the operation logged in at the lecture terminal are determined, and the user account, the type of operation, and the object of operation are sent to the server.
  • the server is used to determine whether the current operation conflicts with other operations according to the operation type and the operation object in the lecture room where the user account is located, so as to verify whether the lecture terminal has the operation priority authority to execute the current operation.
  • the server may send to the lecture terminal the result that the lecture terminal has the operation priority authority to perform the current operation or the lecture terminal does not have the operation priority authority to perform the current operation.
  • the courseware is allowed to be processed according to the operation.
  • the pages in the courseware are processed according to the operations, the processing results are obtained, and the processing results are displayed on the courseware.
  • the page in the courseware will be processed according to the operation, such as turning pages, adding pages, etc.
  • the pages in the courseware are processed according to the operation to obtain the processing result; if it is determined that the listening terminal has the authority to perform the operation, the processing result is displayed on the courseware; if it is determined that the listening terminal is capable of performing the operation , Delete the processing result.
  • the annotation information can be generated according to this operation, and the annotation information is loaded into the memory and will not be displayed on the user interface temporarily.
  • the annotation information will be displayed on the courseware.
  • the annotation information will be deleted.
  • the processing result can be displayed immediately after the terminal is determined to have the authority to perform the operation, and the processing time can be saved after the authority is determined to perform the operation, thereby speeding up the operation The response speed.
  • the page in the courseware can be processed according to the operation, and the result of the processing can be displayed in the courseware. After confirming that the current listening terminal has the authority to perform the operation, the result of the processing can be maintained. After the current lecture terminal does not have the authority to perform the operation, the result of the processing is cancelled.
  • the current lecture terminal determines the user account logged in to the lecture terminal, the operation type, operation object, and operation parameters of the operation.
  • the so-called operating parameters can refer to the information used to perform the operation, for example, whether it can be selected during frame selection, whether the aspect ratio is fixed when zooming, whether to display border lines, whether to zoom in or out, whether to display the selection box, whether to enable the delete function , Whether to enable the top function, whether to enable the clone function, whether to enable the rotation function, whether to set the border color, whether to set the fill color, whether to enable the 3D rotation function, original position, etc.
  • the user account, operation type, operation object, and operation parameters are sent to the server as instructions.
  • the server is used to send the operation type, operation object and operation parameters as instructions to the teaching terminal and other lectures in the classroom where the user account is located. terminal.
  • the teaching terminal and other listening terminals are used to process the operation object according to the operation type and operation parameters, obtain the processing result, and display the processing result on the courseware.
  • the current listening terminal sets a sending buffer area in the buffer, which can buffer the instructions generated by the current listening terminal, and use the instructions to characterize the operation acting on the courseware.
  • the value of this time is set to be small, such as 10ms, which can ensure the real-time operation.
  • the current operation can be compared with other operations in the sending buffer area.
  • the operation is repeated, and the current operation or other operations can be filtered out.
  • the current operation covers other operations in the send buffer, the other operations are invalid relative to the current operation, and other operations can be filtered out.
  • the verification operation authority is separated from the synchronization operation.
  • the server can separate the lock service used to verify the operation authority and the instruction service used for the synchronization operation, reducing the difference between the lock service and the instruction service. Coupling facilitates the development and maintenance of the lock service and the instruction service; on the other hand, the lock service can reject conflicting operations, thereby reducing the operation of the instruction service management and reducing the load of the instruction service.
  • FIG. 6 is a flowchart of a method for operating a courseware provided by Embodiment 3 of the present invention. This embodiment is based on the foregoing embodiment and adds processing operations for synchronization operations. The method may include the following steps:
  • the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed the courseware.
  • S604 Process the courseware according to the operation.
  • the current lecture terminal may receive an instruction sent by the server, and the instruction is used to indicate the operation of the lecture terminal and/or other lecture terminal on the courseware.
  • the courseware can be processed according to the operation to synchronize the state of the courseware in the teaching terminal and/or other listening terminals.
  • a time axis can be determined, and the time axis is used to synchronize multimedia data from the lecture terminal and/or other lecture terminals.
  • the time axis can also be used to synchronize other data.
  • the operation type, operation object, and operation parameter of the operation can be determined in the instruction.
  • the operation object belongs to the courseware, including the page, the elements in the page, and the tool.
  • the operation objects are processed, and the processing results are displayed on the courseware.
  • the authorized terminal and the listening terminal load the same courseware locally, and the operations performed by the teaching terminal and other listening terminals on the courseware can be synchronized to the current listening terminal.
  • the current listening terminal synchronizes the status of the courseware locally, so that Many parties use courseware as a medium to form interaction.
  • Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • FIG. 7 is a flowchart of a method for operating a courseware provided by the fourth embodiment of the present invention.
  • This embodiment is applied to a teaching terminal and is applicable to a situation where the listening terminal synchronizes operations on the courseware to the teaching terminal.
  • the method can be
  • the operating device of the courseware can be implemented by software and/or hardware, and can be configured in computer equipment, for example, smart interactive tablet, mobile terminal (such as mobile phone, tablet computer, etc.), personal computer, smart wearable For devices (such as smart glasses, smart watches, etc.), the method may include the following steps:
  • the server can configure the room code (ie ID), room address (such as URL), interface and so on to the lecturer.
  • the interface may be a page developed following the structure of the page, such as HTML5, Web, etc., which may be loaded and displayed in a browser or a client with a page container.
  • the so-called page container can refer to the container that loads and displays the page.
  • the WebKit module supports HTTP, HTTPS, FTP, and JS requests.
  • WebView provides users with a series of web browsing and user interaction interfaces. Client programs access the core code of WebKit through these interfaces.
  • the courseware can be uploaded to the server, and the server associates the lecture room with the courseware.
  • the courseware can be called cloud courseware, and other listening terminals can synchronize the cloud courseware from the server.
  • the so-called courseware can refer to the course documents produced according to the teaching requirements, through the determination of teaching objectives, the analysis of teaching content and tasks, the structure of teaching activities and interface design, such as PPT, seewo, etc.
  • a lecture terminal is logged in between lectures, and the lecture terminal has downloaded and displayed the courseware.
  • the lecture terminal can log in to the lecture room and display the interface of the lecture room.
  • the user at the lecture end or the lecture end enters the user account logged in at other lecture ends on the interface of the lecture room, and invites them to log in to the lecture room.
  • the above-mentioned method of logging in to the lecture room is just an example.
  • other methods of logging in to the lecture room can be set according to the actual situation.
  • those skilled in the art can also use other methods of logging in to the classroom according to actual needs.
  • the courseware can be loaded and displayed in the interface of the classroom; if the courseware is not locally, the courseware belonging to the classroom can be synchronized from the server, and the courseware can be downloaded locally, Such as caching, and displaying the courseware in the interface between lectures.
  • the teaching terminal sets a receiving buffer area in the buffer, which can buffer the instructions sent by the server and generated by the listening terminal, and use the instructions to characterize the operation on the courseware.
  • the courseware in response to the user's operation on the courseware, the courseware can be processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware.
  • a lecture room is created, and the interface of the lecture room is displayed, the courseware is uploaded to the lecture room, the lecture terminal is logged in in the lecture room, the lecture terminal has downloaded and displayed the courseware, the courseware is displayed in the interface of the lecture room, and the lecture terminal is received Act on the operation of the courseware, and process the courseware according to the operation.
  • FIG. 8 is a flowchart of a method for operating a courseware provided by Embodiment 5 of the present invention. This embodiment is based on the foregoing embodiment and adds processing operations of synchronized multimedia data. The method may include the following steps:
  • the lecture terminal is logged in between the lectures, and the lecture terminal has downloaded and displayed the courseware.
  • the lecture terminal is used to play multimedia data.
  • S806 Play multimedia data from the teaching terminal.
  • the multimedia data may have a streaming structure.
  • the audio data is mostly raw data such as PCM
  • the encoder can be called to encode the audio data into a specified audio format, such as AAC.
  • the video data is mostly raw data such as YUV, and the encoder can be called to encode the video data into a specified video format, such as H.264.
  • the packer can be called to encapsulate the audio data of the specified audio format and the video data of the specified video format into multimedia data of the specified stream format, such as MP4, FLV, etc.
  • multimedia data can be transmitted between the server and the lecture terminal and the lecture terminal through protocols such as RTSP, RTMP, and HLS.
  • the teaching terminal and/or other listening terminals are equipped with a microphone, and the microphone can be used to collect the user who is the lecturer and/or the user who is the lecturer for the courseware. Sound, generate audio data, send the audio data to the server, and send the audio data from the server to the current lecture terminal.
  • the teaching terminal and/or other listening terminals are equipped with a microphone and a camera
  • the microphone can be used to collect the sound of the user as the instructor and/or the user as the listener for the courseware to generate audio data
  • the camera can be used to collect as The user of the lecturer and/or the user who is the lecturer generates video data for the screen of the courseware, and sends the audio data and the video data to the server, and the current listening terminal receives the audio data and the video data from the server.
  • the lecture terminal After receiving the multimedia data from the lecture terminal, the lecture terminal can detect whether the lecture terminal is connected to an extension device through HDMI or other interfaces.
  • the extension device is also called an auxiliary device, which is used to enhance the functions of the current lecture terminal, such as auxiliary display screens.
  • the extension device can be of the same type as the lecture terminal or different from the lecture terminal.
  • the extension device can be a smart interactive tablet, or a personal computer, etc.
  • the multimedia data from the lecture terminal can be transmitted to the extension device, and the multimedia data can be played on the extension device.
  • the video data can be displayed in full screen.
  • the teaching terminal keeps displaying the courseware and the tools for the courseware.
  • the multimedia data can be played on the teaching terminal.
  • the video data can be displayed to the maximum.
  • the teaching terminal displays the tools of the courseware on top.
  • the multimedia data of the lecture terminal can be synchronized to the lecture terminal, and the multimedia data of the lecture terminal can also be synchronized to the lecture terminal, so that multiple parties can interact through multimedia data as a medium.
  • classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • the teaching terminal is connected to the extension device, the multimedia data from the listening terminal will be played on the extension device, and the courseware and multimedia data will be displayed on different devices. This can maintain sufficient space for the display of the courseware and multimedia data to ensure that the courseware and multimedia The clarity of the data.
  • the lecture terminal may receive an instruction sent by the server, and the instruction is used to indicate the operation of the lecture terminal on the courseware.
  • the courseware can be processed according to the operation to synchronize the status of the courseware in the lecture terminal.
  • a time axis can be determined, and the time axis is used to synchronize multimedia data from the lecture terminal.
  • the time axis can also be used to synchronize other data.
  • the operation type, operation object, and operation parameter of the operation can be determined in the instruction.
  • the operation object belongs to the courseware, including the page, the elements in the page, and the tool.
  • the operation objects are processed, and the processing results are displayed on the courseware.
  • the authorized terminal and the listening terminal load the same courseware locally, and the operations performed by the teaching terminal and other listening terminals on the courseware can be synchronized to the current listening terminal.
  • the current listening terminal synchronizes the status of the courseware locally, so that Many parties use courseware as a medium to form interaction.
  • Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • FIG. 9 is a flowchart of a method for operating a courseware provided by Embodiment 6 of the present invention. Based on the foregoing embodiment, this embodiment can add processing operations for synchronization operations and verification of operation permissions. The method may include the following steps:
  • the lecture terminal is logged in between the lectures, and the lecture terminal has downloaded and displayed the courseware.
  • the user can use a finger or a stylus to click and operate the courseware by means of touch, so that the teaching terminal can receive the operation on the courseware.
  • the user operates the courseware in a keyed manner through an external device connected to the teaching terminal, so that the teaching terminal can receive the operation on the courseware.
  • the external device may include a mouse, a keyboard, a page turning pen, etc.
  • S905 Determine the authority of the teaching terminal to perform the operation.
  • the permissions include:
  • the authority of the user (represented by the user account) can be managed based on RBAC.
  • the teaching terminal is logged in with a user account, the user account is associated with a user role, and the user role is associated with permissions.
  • the teaching terminal does not have the user role operation permissions to perform operations
  • the teaching terminal has the user role operation permissions to perform operations.
  • association relationship between the user account and the user role, and the association relationship between the user role and the authority are issued by the server to the teaching terminal when the user account is logged in to the lecture terminal.
  • the user account logged in the teaching terminal can be determined locally on the teaching terminal, the user role associated with the user account, the authority associated with the user role, and the operation type of the operation , Operation object.
  • the teaching terminal does not have the user role operation permission to perform the operation.
  • the teaching terminal has the user role operation permission to perform the operation.
  • the user role operation permissions on the server, that is, determine the user account logged in the teaching terminal, determine the operation type and operation object of the operation, and set the user account ,
  • the operation type and operation object are sent to the server.
  • the server determines the user role associated with the user account, determines the permissions associated with the user role, compares the permissions associated with the user role with the operation object and the operation type, and compares The result is sent to the teaching terminal.
  • the lecture terminal has already performed other operations that act on the courseware.
  • the current operation may conflict with other operations. Therefore, the current operation can be compared with other operations.
  • the teaching terminal does not have the operation priority authority to perform the operation.
  • the teaching terminal has the operation priority authority to perform the operation.
  • the user account, the type of operation, and the object of operation logged in the teaching terminal are determined, and the user account, type of operation, and operation object are sent to the server.
  • the server is used to determine whether the current operation conflicts with other operations according to the operation type and the operation object in the teaching room where the user account is located, so as to verify whether the teaching terminal has the operation priority authority to execute the current operation.
  • the server can send to the teaching terminal the result that the listening terminal has the operation priority authority to perform the current operation or the teaching terminal does not have the operation priority authority to perform the current operation.
  • S906 Process the courseware according to the operation.
  • the courseware is allowed to be processed in accordance with the operation.
  • a processing method after determining that the teaching terminal has the authority to perform the operation, the page in the courseware is processed according to the operation, the processing result is obtained, and the processing result is displayed on the courseware.
  • the page in the courseware will be processed according to the operation, such as turning pages, adding pages, etc.
  • the page in the courseware is processed according to the operation to obtain the processing result; if it is determined that the teaching terminal has the authority to perform the operation, the processing result is displayed on the courseware; if it is determined that the teaching terminal is capable of performing the operation , Delete the processing result.
  • the annotation information can be generated according to this operation, and the annotation information is loaded into the memory and will not be displayed on the user interface temporarily.
  • the annotation information will be displayed on the courseware.
  • the annotation information will be deleted.
  • the processing result can be displayed immediately after the teaching terminal is determined to have the authority to perform the operation, and the processing time can be saved after the authority is determined to perform the operation, thereby speeding up the operation The response speed.
  • the page in the courseware can be processed according to the operation, and the result of the processing can be displayed in the courseware. After confirming that the teaching terminal has the authority to execute the operation, the result of the processing can be maintained. After the terminal does not have the authority to perform the operation, the result of the processing is cancelled.
  • the operation performed by the lecture terminal on the courseware can be sent to the lecture terminal in the same lecture room through the server, and the lecture terminal is used to process the courseware according to the operation, so as to realize the recurrence of the operation on the lecture terminal , Keep the courseware status consistent.
  • the lecture terminal processes the courseware locally in the lecture terminal according to the operation.
  • the teaching terminal determines the user account logged in to the teaching terminal, the operation type, operation object, and operation parameters of the operation.
  • the user account, operation type, operation object, and operation parameter are sent to the server as instructions, and the server is used to send the operation type, operation object, and operation parameters as instructions to the lecture terminal in the classroom where the user account is located.
  • the lecture terminal is used to process the operation object according to the operation type and operation parameters, obtain the processing result, and display the processing result on the courseware.
  • the teaching terminal sets a sending buffer area in the buffer, which can buffer the instructions generated by the authorized terminal, and use the instructions to characterize the operation on the courseware.
  • the authorized terminal and the listening terminal load the same courseware locally.
  • the operations performed by the teaching terminal on the courseware can be synchronized to the current listening terminal.
  • the current listening terminal synchronizes the status of the courseware locally, so that multiple parties can use the courseware as The medium forms an interaction.
  • Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • FIG. 10 is a flowchart of a method for operating a courseware provided by the fourth embodiment of the present invention. This embodiment is applicable to a situation where the listening terminal synchronizes operations on the courseware to the teaching terminal.
  • the method can be performed by the courseware operating device To execute, the operating device of the courseware can be implemented by software and/or hardware, and can be configured in a server.
  • the method can include the following steps:
  • the lecture terminal and the lecture terminal are logged in between the lecture rooms, the lecture terminal uploads the courseware to the lecture room, and the lecture terminal has downloaded and displayed the courseware in the lecture room.
  • the courseware can be uploaded to the server, and the server associates the lecture room with the courseware.
  • the courseware can be called cloud courseware, and other lecture terminals can synchronize the courseware from the server. Cloud courseware.
  • the so-called courseware can refer to the course documents produced according to the teaching requirements, through the determination of teaching objectives, the analysis of teaching content and tasks, the structure of teaching activities and interface design, such as PPT, seewo, etc.
  • a lecture terminal is logged in between lectures, and the lecture terminal has downloaded and displayed the courseware.
  • the lecture terminal can log in to the lecture room and display the interface of the lecture room.
  • the courseware can be loaded and displayed in the interface of the classroom; if the courseware is not locally, the courseware belonging to the classroom can be synchronized from the server, and the courseware can be downloaded locally, Such as caching, and displaying the courseware in the interface between lectures.
  • the courseware belonging to the lecture room can be synchronized from the server, the courseware can be downloaded to the local, such as cache, and the courseware can be displayed in the interface of the lecture room.
  • the listening terminal in response to the user's operation on the courseware, may process the courseware according to the operation, obtain the processing result, and display the processing result on the courseware.
  • the courseware includes one or more pages, each page has one or more elements, and for each page, a tool for operating annotation information can be provided.
  • receiving operations that act on the page can correspondingly flip up, down, add, and delete pages.
  • receiving operations that act on the element can rotate, drag, or zoom the element on the page of the courseware accordingly.
  • a lecture room is created, the lecture room logs in to the lecture terminal and the lecture terminal, the lecture terminal has downloaded and displayed the courseware in the lecture room, receives the courseware uploaded by the lecture terminal, receives the operation of the lecture terminal on the courseware, and sends the operation to The teaching terminal and other listening terminals, and the teaching terminal and other listening terminals are used to process the courseware according to the operation.
  • the authorized terminal and the listening terminal load the same courseware locally.
  • the courseware is directly displayed, there is no need to set up professional audio-visual equipment for the courseware, which can reduce the equipment cost.
  • the courseware is not limited after downloading Network transmission, in the case of poor network environment, can still ensure the clarity of the picture.
  • the operation performed by the lecture terminal on the courseware can be synchronized to the lecture terminal and other lecture terminals.
  • the lecture terminal and other lecture terminals synchronize the state of the courseware locally, so that multiple parties can interact through the courseware as a medium.
  • classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • the listening terminal can operate synchronously with the teaching terminal and other listening terminals.
  • This operation can be expressed in a plain text stream.
  • the transmitted data To change the instruction from video data to plain text stream, the volume of the instruction of plain text stream is much smaller than the volume of video data. Therefore, the instruction to transmit plain text stream can greatly reduce the amount of data transmitted, thereby greatly reducing the bandwidth occupation and greatly reducing The cost of traffic is reduced, and the instruction to transmit the plain text stream can increase the transmission speed and ensure the real-time operation.
  • FIG. 11 is a flowchart of a method for operating a courseware according to the eighth embodiment of the present invention. Based on the foregoing embodiment, this embodiment adds processing operations of synchronizing multimedia data and verifying operation rights. The method may include the following steps:
  • the lecture room logs in to the lecture terminal and the lecture terminal, and the lecture terminal has downloaded and displayed the courseware in the lecture room.
  • the listening terminal is used to play multimedia data
  • the teaching terminal and other listening terminals are used to play multimedia data.
  • the teaching terminal and the lecture The multimedia data is synchronized between the terminals, so that a two-way interaction is formed between the user as the lecturer and the user as the lecturer.
  • the multimedia data of the lecture terminal can be synchronized to the lecture terminal, and the multimedia data of the lecture terminal can also be synchronized to the lecture terminal, so that multiple parties can interact through multimedia data as a medium.
  • classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
  • S1107. Determine the authority of the listening terminal to perform operations on the courseware.
  • the server can verify whether the current lecture terminal has the authority to perform the operation.
  • a conflict rule may be determined, and the conflict rule is used to indicate that there is a conflict between at least two operations.
  • the listening terminal has the operation priority authority to perform the operation.
  • the server may send to the lecture terminal a result that the lecture terminal has the operation priority authority to perform the current operation or the lecture terminal does not have the operation priority authority to perform the current operation.
  • the user account, operation type, operation object and operation parameters are sent to the server as instructions.
  • the server can receive instructions uploaded by the lecture terminal.
  • the instructions include the user account logged in the lecture terminal, the operation type, operation object, Operating parameters.
  • the current listening terminal sets a sending buffer area in the buffer, which can buffer the instructions generated by the current listening terminal, and use the instructions to characterize the operation acting on the courseware.
  • the value of this time is set to be small, such as 10ms, which can ensure the real-time operation.
  • the teaching terminal and other listening terminals are used to process the courseware according to the operation.
  • the server after receiving the instruction from the lecture terminal, the server sends the operation type, operation object, and operation parameters as new instructions to the lecture terminal and other lecture terminals in the lecture room where the user account is located.
  • Both the teaching terminal and other listening terminals are used to process the operation object according to the operation type and operation parameters, obtain the processing result, and display the processing result on the courseware.
  • FIG. 12 is a flowchart of a method for operating a courseware according to the ninth embodiment of the present invention. This embodiment is based on the foregoing embodiment and adds processing operations for authorized terminal operations. The method may include the following steps:
  • the lecture terminal is logged in between the lectures, and the lecture terminal has downloaded and displayed the courseware.
  • S1203. Determine the authority of the teaching terminal to perform operations on the courseware.
  • the server can verify whether the teaching terminal has the authority to perform the operation.
  • the permissions include:
  • the authority of the user (represented by the user account) can be managed based on RBAC.
  • the lecture terminal is logged in with a user account, the user account is associated with a user role, and the user role is associated with permissions.
  • the terminal does not have the user role operation permissions to perform operations
  • the lecture terminal has the user role operation permissions to perform operations.
  • association relationship between the user account and the user role, and the association relationship between the user role and the authority are issued by the server to the lecture terminal when the user account is logged in to the lecture terminal.
  • the user account logged in to the lecture terminal can be determined locally at the lecture terminal, the user role associated with the user account, the authority associated with the user role, and the operation type of the operation , Operation object.
  • the operation object refers to the object to be operated in the courseware, including pages, elements in the pages, tools, and so on.
  • the types of operations can include flip, add, delete, etc.
  • the types of operations can include rotate, drag, zoom, and so on.
  • the types of operations can include add, delete, and so on.
  • the lecture terminal does not have the user role operation permission to perform the operation.
  • the lecture terminal has the user role operation permission for performing the operation.
  • the user role operation authority in addition to checking the user role operation authority locally on the lecture terminal, you can also check the user role operation authority on the server, that is, determine the user account logged in the lecture terminal, determine the operation type and operation object of the operation, and set the user account
  • the operation type and operation object are sent to the server.
  • the server determines the user role associated with the user account, determines the permissions associated with the user role, compares the permissions associated with the user role with the operation object and the operation type, and compares The result is sent to the lecture terminal.
  • the lecture terminal and/or other lecture terminals have already performed other operations that act on the courseware.
  • the current operation may conflict with other operations. Therefore, the current operation can be compared with other operations.
  • the lecture terminal does not have the operation priority authority to perform the operation.
  • the lecture terminal has the operation priority authority to perform the operation.
  • the server receives the authority parameters uploaded by the teaching terminal, and the authority parameters include the user account logged in at the teaching terminal, the operation type of the operation, and the operation object.
  • the server can determine whether the operation conflicts with other operations according to the operation type and the operation object, so as to verify whether the teaching terminal has the operation priority authority to perform the operation.
  • the teaching terminal has the operation priority authority to perform the operation.
  • the server may send to the teaching terminal a result that the teaching terminal has the operation priority authority to perform the current operation or the teaching terminal does not have the operation priority authority to perform the current operation.
  • the teaching terminal in response to the user's operation on the courseware, can process the courseware according to the operation, obtain the processing result, and display the processing result on the courseware.
  • the lecture terminal determines the user account logged in to the lecture terminal, the operation type, operation object, and operation parameters of the operation.
  • the teaching terminal sends the user account, operation type, operation object and operation parameters as instructions to the server.
  • the server can receive the instructions uploaded by the teaching terminal.
  • the instructions include the user account logged in at the lecture terminal, the operation type and operation Objects and operating parameters.
  • the teaching terminal sets a sending buffer area in the buffer, which can buffer the instructions generated by the current listening terminal, and use the instructions to characterize the operation on the courseware.
  • the value of this time is set to be small, such as 10ms, which can ensure the real-time operation.
  • the listening terminal is used to process the courseware according to the operation.
  • the server after receiving the instruction from the lecture terminal, the server sends the operation type, operation object, and operation parameters to the lecture terminal in the classroom where the user account is located.
  • the lecture terminal is used to process the operation object according to the operation type and operation parameters, obtain the processing result, and display the processing result on the courseware.
  • the verification operation authority is separated from the synchronization operation.
  • the server can separate the lock service used to verify the operation authority and the instruction service used for the synchronization operation, reducing the difference between the lock service and the instruction service. Coupling facilitates the development and maintenance of the lock service and the instruction service; on the other hand, the lock service can reject conflicting operations, thereby reducing the operation of the instruction service management and reducing the load of the instruction service.
  • Fig. 13 is a schematic structural diagram of a courseware operating device provided by Embodiment 10 of the present invention.
  • the device may include the following modules:
  • the lecture room display module 1301 is used to display the interface of the lecture room.
  • the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed all Describe courseware;
  • the courseware display module 1302 is used to download the courseware and display the courseware in the interface of the lecture room;
  • the first operation receiving module 1303 is configured to receive operations acting on the courseware
  • the first courseware processing module 1304 is configured to process the courseware according to the operation
  • the operation synchronization module 1305 is configured to synchronize the operation to the teaching terminal and the other listening terminal, and both the teaching terminal and the other listening terminal are used to process the courseware according to the operation.
  • it further includes:
  • Multimedia data collection module for collecting multimedia data
  • a multimedia data synchronization module configured to synchronize the multimedia data to the teaching terminal and the other listening terminals, and both the teaching terminal and the other listening terminals are used to play the multimedia data;
  • the multimedia data playing module is used to play multimedia data from the teaching terminal and/or the other listening terminals.
  • the multimedia data playing module is further used to:
  • the multimedia data from the lecture terminal and/or the other lecture terminal is played on the extension device.
  • the operation synchronization module 1305 is further configured to:
  • the operation synchronization module 1305 is further configured to:
  • the operation covers other operations in the sending buffer area, the other operations are filtered out.
  • it further includes:
  • the authority determination module is used to determine the authority of the lecture terminal to perform the operation.
  • the lecture terminal is logged in with a user account, and the user account is associated with a user role; the lecture terminal and/or the other lecture terminal have performed other operations on the courseware;
  • the authority includes user role operation authority and operation priority authority;
  • the lecture terminal does not have the user role operation authority to perform the operation
  • the lecture terminal has the user role operation authority to perform the operation
  • the lecture terminal does not have the operation priority authority to perform the operation
  • the lecture terminal has the operation priority right to execute the operation.
  • the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
  • the authority determining module is further used for:
  • the user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the lecture terminal has the operation priority authority to perform the operation.
  • it further includes:
  • the prompt information display module is configured to display prompt information if the lecture terminal does not have the authority to perform the operation, and the prompt information is used to prompt that the operation is prohibited.
  • the first courseware processing module 1304 is further configured to:
  • the page in the courseware is processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware;
  • the operation synchronization module 1305 is further configured to:
  • the user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user account
  • it further includes:
  • the second operation receiving module is configured to receive the operation from the teaching terminal and/or the other listening terminal on the courseware;
  • the second courseware processing module is used to process the courseware according to the operation.
  • the second courseware processing module is further used for:
  • the operation object is processed according to the operation type and the operation parameter.
  • the second courseware processing module is further used for:
  • Determining a time axis where the time axis is used to synchronize multimedia data from the lecture terminal and/or the other lecture terminal;
  • the courseware is processed according to the operation.
  • the courseware operating device provided by the embodiment of the present invention can execute the operating method of the courseware provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for the execution method.
  • FIG. 14 is a schematic structural diagram of a courseware operating device provided by Embodiment 11 of the present invention.
  • the device may include the following modules:
  • the classroom creation module 1401 is used to create a classroom and display the interface of the classroom;
  • the courseware uploading module 1402 is configured to upload courseware to the lecture room.
  • the lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
  • the courseware display module 1403 is used to display the courseware in the interface of the lecture room;
  • the first operation receiving module 1404 is configured to receive the operation performed by the lecture terminal on the courseware
  • the first courseware processing module 1405 is configured to process the courseware according to the operation.
  • it further includes:
  • Multimedia data collection module for collecting multimedia data
  • a multimedia data synchronization module configured to synchronize the multimedia data to the lecture terminal, and the lecture terminal is used to play the multimedia data
  • the multimedia data playing module is used for playing multimedia data from the teaching terminal.
  • the multimedia data playing module is further used to:
  • the teaching terminal is connected to an extension device, the multimedia data from the listening terminal is played on the extension device.
  • the first courseware processing module 1405 is further configured to:
  • the operation object is processed according to the operation type and the operation parameter.
  • the first courseware processing module 1405 is further configured to:
  • the courseware is processed according to the operation.
  • it further includes:
  • the second operation receiving module is used to receive operations acting on the courseware
  • the second courseware processing module is used to process the courseware according to the operation
  • the operation synchronization module is used to synchronize the operation to the lecture terminal, and the lecture terminal is used to process the courseware according to the operation.
  • the courseware processing module is also used to:
  • the courseware processing module is also used to:
  • the operation covers other operations in the sending buffer area, the other operations are filtered out.
  • it further includes:
  • the authority determination module is used to determine the authority of the teaching terminal to perform the operation.
  • the teaching terminal has a user account logged in, and the user account is associated with a user role; the lecture terminal has performed other operations on the courseware;
  • the authority includes user role operation authority and operation priority authority;
  • the teaching terminal does not have the user role operation authority to perform the operation
  • the teaching terminal has the user role operation authority to perform the operation
  • the teaching terminal does not have the operation priority authority to execute the operation
  • the teaching terminal has the operation priority authority to execute the operation.
  • the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
  • the authority determining module is further used for:
  • the user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the teaching terminal has the operation priority authority to perform the operation.
  • it further includes:
  • the prompt information display module is configured to display prompt information if the teaching terminal does not have the authority to perform the operation, and the prompt information is used to prompt that the operation is prohibited.
  • the second courseware processing module is further used for:
  • the operation synchronization module is further used for:
  • the user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user account
  • the courseware operating device provided by the embodiment of the present invention can execute the operating method of the courseware provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for the execution method.
  • Fig. 15 is a schematic structural diagram of a courseware operating device provided by Embodiment 12 of the present invention.
  • the device may include the following modules:
  • the class room creation module 1501 is used to create a class room for the teaching terminal
  • the courseware receiving module 1502 is configured to receive the courseware uploaded by the lecture terminal to the lecture room, where a lecture terminal is logged in the lecture room, and the lecture terminal has downloaded and displayed the courseware;
  • the first operation receiving module 1503 is configured to receive the operation of the listening terminal acting on the courseware
  • the first operation synchronization module 1504 is configured to send the operation to the teaching terminal and other listening terminals, and both the teaching terminal and the other listening terminals are used to process the courseware according to the operation.
  • it further includes:
  • the first multimedia data receiving module is configured to receive multimedia data from the teaching terminal
  • the first multimedia data sending module is configured to send the multimedia data to the lecture terminal, and the lecture terminal is used to play the multimedia data;
  • the second multimedia data receiving module is configured to receive multimedia data from the lecture terminal
  • the second multimedia data sending module is configured to send the multimedia data to the lecture terminal and the other lecture terminals, and both the lecture terminal and the other lecture terminals are used to play the multimedia data.
  • it further includes:
  • the first authority determining module is used to determine the authority of the listening terminal to perform operations on the courseware.
  • the lecture terminal is logged in with a user account, and the user account is associated with a user role; the lecture terminal and/or the other lecture terminals have performed other operations on the courseware;
  • the authority includes user role operation authority and operation priority authority;
  • the lecture terminal does not have the user role operation authority to perform the operation
  • the lecture terminal has the user role operation authority to perform the operation
  • the lecture terminal does not have the operation priority authority to perform the operation
  • the lecture terminal has the operation priority authority to execute the operation.
  • the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
  • the first permission determination module is further used to:
  • the authority parameters including the user account logged in at the lecture terminal, the operation type of the operation, and the operation object;
  • the first permission determination module is further used to:
  • the first operation receiving module 1503 is further configured to:
  • the instruction including the user account logged in the lecture terminal, the operation type, operation object, and operation parameters of the operation;
  • the first operation synchronization module 1504 is also used for:
  • the operation type, the operation object, and the operation parameter are sent to the teaching terminal and the other listening terminal in the classroom where the user account is located, and the teaching terminal and the other listening terminal are both It is used to process the operation object according to the operation type and the operation parameter.
  • it further includes:
  • the second operation receiving module is used to receive the operation of the teaching terminal on the courseware
  • the second operation synchronization module is configured to send the operation to the lecture terminal, and the lecture terminal is used to process the courseware according to the operation.
  • it further includes:
  • the second authority determining module is used to determine the authority of the teaching terminal to perform operations on the courseware.
  • the teaching terminal has a user account logged in, and the user account is associated with a user role; the lecture terminal has performed other operations on the courseware;
  • the authority includes user role operation authority and operation priority authority;
  • the lecture terminal does not have the user role operation authority to perform the operation
  • the lecture terminal has the user role operation authority to perform the operation
  • the lecture terminal does not have the operation priority authority to perform the operation
  • the lecture terminal has the operation priority authority to execute the operation.
  • the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
  • the second authority determining module is further used for:
  • the permission parameters include the user account logged in at the teaching terminal, the operation type of the operation, and the operation object;
  • the second authority determining module is further used for:
  • the second operation receiving module is further configured to:
  • Receiving instructions uploaded by the teaching terminal the instructions including the user account logged in at the teaching terminal, the operation type, operation object, and operation parameters of the operation;
  • the second operation synchronization module is also used for:
  • the operation type, the operation object, and the operation parameter are sent to the lecture terminal in the classroom where the user account is located, and the lecture terminal is used to follow the operation type and the operation parameter Process the operation object.
  • the courseware operating device provided by the embodiment of the present invention can execute the operating method of the courseware provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for the execution method.
  • the embodiment of the present invention provides a courseware operating system, the system includes a lecture terminal and at least two lecture terminals;
  • the teaching terminal is used to create a lecture room and display the interface of the lecture room, upload the courseware to the lecture room, and display the courseware in the interface of the lecture room;
  • At least two listening terminals configured to log in to the classroom, display the interface of the classroom, download the courseware, and display the courseware in the interface of the classroom;
  • One of the lecture terminals is also used to receive operations on the courseware, process the courseware according to the operations, and synchronize the operations to the teaching terminal and the other lecture terminals;
  • the teaching terminal is also used to process the courseware according to the operation;
  • one of the lecture terminals is also used to collect multimedia data, and synchronize the multimedia data to the teaching terminal and the other lecture terminals;
  • the teaching terminal is also used to play the multimedia data
  • Teaching terminal also used to collect multimedia data
  • At least two listening terminals are also used to play the multimedia data.
  • the multimedia data is played on the extension device
  • the listening terminal is connected to an expansion device, the multimedia data is played on the expansion device.
  • one of the lectures is also used to:
  • one of the listening terminals is also used for:
  • the operation covers other operations in the sending buffer area, the other operations are filtered out.
  • teaching terminal is also used to:
  • the operation object is processed according to the operation type and the operation parameter.
  • teaching terminal is also used to:
  • the courseware is processed according to the operation.
  • the operation object is processed according to the operation type and the operation parameter.
  • the other listening terminal is also used for:
  • the courseware is processed according to the operation.
  • the lecture terminal is also used to determine the authority to perform the operation.
  • a user account is logged in the lecture terminal, and the user account is associated with a user role; the lecture terminal and/or the other lecture terminal have performed other operations that act on the courseware;
  • the authority includes user role operation authority and operation priority authority;
  • the lecture terminal does not have the user role operation authority to perform the operation
  • the lecture terminal has the user role operation authority to perform the operation
  • the lecture terminal does not have the operation priority authority to perform the operation
  • the lecture terminal has the operation priority authority to execute the operation.
  • the operation conflicts with the other operation
  • the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
  • the lecture terminal is also used to:
  • the user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the lecture terminal has the operation priority authority to perform the operation.
  • the lecture terminal is also used to:
  • prompt information is displayed, and the prompt information is used to prompt that the operation is prohibited.
  • one of the listening terminals is also used for:
  • the page in the courseware is processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware;
  • one of the listening terminals is also used for:
  • the user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user account
  • the teaching terminal is further configured to receive operations on the courseware, process the courseware according to the operations, and synchronize the operations to the at least two lecture terminals;
  • At least two listening terminals are also used to process the courseware according to the operation.
  • teaching terminal is also used to:
  • teaching terminal is also used to:
  • the operation covers other operations in the sending buffer area, the other operations are filtered out.
  • the operation object is processed according to the operation type and the operation parameter.
  • the courseware is processed according to the operation.
  • the teaching terminal is also used to determine the authority to perform the operation.
  • the teaching terminal has a user account logged in, and the user account is associated with a user role; the at least two lecture terminals have performed other operations on the courseware;
  • the authority includes user role operation authority and operation priority authority;
  • the teaching terminal does not have the user role operation authority to perform the operation
  • the teaching terminal has the user role operation authority to perform the operation
  • the teaching terminal does not have the operation priority authority to execute the operation
  • the teaching terminal has the operation priority authority to execute the operation.
  • the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
  • the authorized terminal is also used for:
  • the user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the teaching terminal has the operation priority authority to perform the operation.
  • the teaching terminal is further configured to display prompt information if the teaching terminal does not have the authority to perform the operation, and the prompt information is used to prompt that the operation is prohibited.
  • the authorized terminal is also used for:
  • the authorized terminal is also used for:
  • the user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user account
  • the operating system of the courseware provided by the embodiment of the present invention can execute the operation method of the courseware provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for the execution method.
  • FIG. 16 is a schematic structural diagram of a computer device according to Embodiment 13 of the present invention.
  • the computer device includes a processor 1600, a memory 1601, a communication module 1602, an input device 1603, and an output device 1604; the number of processors 1600 in the computer device can be one or more.
  • the processor 1600 is taken as an example; the processor 1600, the memory 1601, the communication module 1602, the input device 1603, and the output device 1604 in the computer equipment can be connected by a bus or other methods.
  • the memory 1601 can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the courseware operation method in this embodiment (for example, the courseware operation device shown in FIG. 13
  • the processor 1600 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 1601, that is, realizes the above-mentioned courseware operation method.
  • the memory 1601 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of a computer device.
  • the memory 1601 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 1601 may include a memory remotely provided with respect to the processor 1600, and these remote memories may be connected to a computer device through a network. Examples of the aforementioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the communication module 1602 is used to establish a connection with the display screen and realize data interaction with the display screen.
  • the input device 1603 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the computer equipment.
  • the computer equipment provided in this embodiment can execute the operation method of the courseware provided in any embodiment of this application, and the corresponding functions and beneficial effects.
  • the fourteenth embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the operation method of the courseware described in any of the above embodiments is realized.
  • the computer program of the computer-readable storage medium provided by the embodiment of the present invention is not limited to the method operations described above, and can also perform related operations in the courseware operating method provided by any embodiment of the present invention.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • FLASH Flash memory
  • hard disk or optical disk etc., including several instructions to make a computer device (which can be a personal computer) , A server, or a network device, etc.) execute the method described in each embodiment of the present application.

Abstract

A courseware operating method and apparatus, a computer device, and a storage medium. The method comprises: displaying an interface of a teaching room (301), wherein a teaching terminal and other attending terminals have logged into the teaching room, the teaching terminal has uploaded courseware to the teaching room, and the other attending terminals have downloaded the courseware and display same; downloading the courseware, and displaying the courseware on the interface of the teaching room (S302); receiving an operation acting on the courseware (S303); processing the courseware according to the operation (S304); and synchronizing the operation to the teaching terminal and the other attending terminals, wherein the teaching terminal and the other attending terminals are all used for processing the courseware according to the operation. The teaching terminal and the attending terminals locally load the same courseware, and the courseware is directly displayed, so that the courseware is not limited by network transmission after being downloaded, and the definition of a screen can still be guaranteed in the case of poor network environment.

Description

一种课件的操作方法、装置、计算机设备和存储介质Method, device, computer equipment and storage medium for operating courseware
本公开要求在2019年08月21日提交中国专利局、申请号为201910775676.0的中国专利申请的优先权,以上申请的全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application filed with the Chinese Patent Office with an application number of 201910775676.0 on August 21, 2019. The entire content of the above application is incorporated into this disclosure by reference.
技术领域Technical field
本发明实施例涉及教育的技术,例如涉及一种课件的操作方法、装置、计算机设备和存储介质。The embodiment of the present invention relates to education technology, for example, relates to a courseware operation method, device, computer equipment and storage medium.
背景技术Background technique
随着网络科技的快速发展,基于直播的教学方案愈发常见,双师课堂、在线教育等场景都是基于直播的教学方案。With the rapid development of network technology, teaching programs based on live broadcast have become more common. Scenarios such as dual-teacher classrooms and online education are all teaching programs based on live broadcast.
相关技术中,基于直播的教学方案主要包括如下两类:Among the related technologies, teaching programs based on live broadcast mainly include the following two categories:
第一类,以硬件和直播效果为导向的教学方案,在该直播方案中,更加关注直播过程中音视频数据的清晰度、流畅度、机位数等指标。The first category is a teaching program that is oriented to hardware and live broadcast effects. In this live broadcast program, more attention is paid to the definition, fluency, and number of units of audio and video data during the live broadcast.
该直播方案技术较为复杂,用户操作难度较高,学习、使用成本都较高。The technology of the live broadcast solution is relatively complicated, the user operation is difficult, and the learning and use costs are high.
第二类,以教学内容的质量为导向的教学方案,在该直播方案中,更加关注教学内容的质量,而不会过多注重直播效果。The second category is a teaching plan that is oriented to the quality of teaching content. In this live broadcast plan, more attention is paid to the quality of teaching content instead of too much attention to the live broadcast effect.
在这两类教学方案中,会有一个或多个摄像机去拍摄课件和教师,一般以课件内容为主、教师为辅,而学生对于课件的内容是被动地接受,导致课堂为单向流通,互动性较差。In these two types of teaching programs, there will be one or more cameras to take pictures of the courseware and the teacher. Generally, the content of the courseware is the main and the teacher is the supplementary. The students passively accept the content of the courseware, resulting in a one-way circulation of the classroom. Interactivity is poor.
此外,针对课件发送视频数据,需要额外配置摄像机等硬件,而视频数据占用较大的带宽,导致成本较高,并且,受限于视频数据的清晰度,课件的清晰度将会降低,尤其是在网络环境较差的情况下,课件容易模糊、甚至不可视。In addition, for courseware to send video data, additional hardware such as cameras is required, and video data occupies a larger bandwidth, resulting in higher costs, and limited by the definition of video data, the definition of courseware will be reduced, especially In the case of a poor network environment, the courseware is easily blurred or even invisible.
发明内容Summary of the invention
本发明实施例提供一种课件的操作方法、装置、计算机设备和存储介质,以解决基于直播的教学方案课堂互动性较差、成本较高、课件的清晰度较低的问题。The embodiments of the present invention provide a courseware operation method, device, computer equipment, and storage medium, so as to solve the problems of poor classroom interaction, high cost, and low clarity of courseware based on a live teaching program.
第一方面,本发明实施例提供了一种课件的操作方法,应用于听课终端,所述方法包括:In the first aspect, an embodiment of the present invention provides a method for operating a courseware, which is applied to a lecture terminal, and the method includes:
显示授课间的界面,所述授课间登入有授课终端与其他听课终端,所述授课终端已上传课件至所述授课间,所述其他听课终端已下载并显示所述课件;Display the interface of the lecture room, the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed the courseware;
下载所述课件、以及在所述授课间的界面中显示所述课件;Download the courseware, and display the courseware in the interface of the classroom;
接收作用于所述课件的操作;Receive operations on the courseware;
按照所述操作对所述课件进行处理;Process the courseware according to the operation;
将所述操作同步至所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作对所述课件进行处理。The operation is synchronized to the teaching terminal and the other listening terminal, and both the teaching terminal and the other listening terminal are used to process the courseware according to the operation.
第二方面,本发明实施例还提供了一种课件的操作方法,应用于授课终端,所述方法包括:In the second aspect, the embodiment of the present invention also provides a method for operating courseware, which is applied to a teaching terminal, and the method includes:
创建授课间,并显示所述授课间的界面;Create a lecture room and display the interface of the lecture room;
上传课件至所述授课间,所述授课间登入有听课终端,所述听课终端已下载并显示所述课件;Uploading the courseware to the lecture room, the lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
在所述授课间的界面中显示所述课件;Display the courseware in the interface of the lecture room;
接收所述听课终端作用于所述课件的操作;Receiving the operation of the listening terminal acting on the courseware;
按照所述操作对所述课件进行处理。Process the courseware according to the operation.
第三方面,本发明实施例还提供了一种课件的操作方法,应用于服务器,所述方法包括:In the third aspect, the embodiment of the present invention also provides a courseware operation method, which is applied to a server, and the method includes:
为授课终端创建授课间;Create a lecture room for the lecture terminal;
接收所述授课终端上传至所述授课间的课件,所述授课间登入有听课终端,所述听课终 端已下载并显示所述课件;Receiving the courseware uploaded by the lecture terminal to the lecture room, the lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
接收所述听课终端作用于所述课件的操作;Receiving the operation of the listening terminal acting on the courseware;
将所述操作发送至所述授课终端与其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作对所述课件进行处理。The operation is sent to the teaching terminal and other listening terminals, and both the teaching terminal and the other listening terminals are used to process the courseware according to the operation.
第四方面,本发明实施例还提供了一种课件的操作方法,包括:In a fourth aspect, an embodiment of the present invention also provides a method for operating courseware, including:
授课终端创建授课间,并显示所述授课间的界面;The lecture terminal creates a lecture room and displays the interface of the lecture room;
授课终端上传课件至所述授课间;The lecture terminal uploads the courseware to the lecture room;
授课终端在所述授课间的界面中显示所述课件;The lecture terminal displays the courseware in the interface of the lecture room;
至少两个听课终端登入所述授课间,并显示所述授课间的界面;At least two listening terminals log into the lecture room and display the interface of the lecture room;
至少两个听课终端下载所述课件、以及在所述授课间的界面中显示所述课件;At least two listening terminals download the courseware and display the courseware in the interface of the lecture room;
其中一个听课终端接收作用于所述课件的操作,按照所述操作对所述课件进行处理,将所述操作同步至所述授课终端与所述其他听课终端;One of the lecture terminals receives the operation acting on the courseware, processes the courseware according to the operation, and synchronizes the operation to the teaching terminal and the other lecture terminals;
授课终端按照所述操作对所述课件进行处理;The teaching terminal processes the courseware according to the operation;
其他听课终端按照所述操作对所述课件进行处理。Other listening terminals process the courseware according to the operation.
第五方面,本发明实施例还提供了一种课件的操作装置,应用于听课终端,所述装置包括:In a fifth aspect, an embodiment of the present invention also provides a courseware operating device, which is applied to a lecture terminal, and the device includes:
授课间显示模块,被配置为显示授课间的界面,所述授课间登入有授课终端与其他听课终端,所述授课终端已上传课件至所述授课间,所述其他听课终端已下载并显示所述课件;The display module of the lecture room is configured to display the interface of the lecture room. The lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed all Describe courseware;
课件显示模块,被配置为下载所述课件、以及在所述授课间的界面中显示所述课件;A courseware display module configured to download the courseware and display the courseware in the interface of the lecture room;
第一操作接收模块,被配置为接收作用于所述课件的操作;The first operation receiving module is configured to receive operations acting on the courseware;
第一课件处理模块,被配置为按照所述操作对所述课件进行处理;The first courseware processing module is configured to process the courseware according to the operation;
操作同步模块,被配置为将所述操作同步至所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作对所述课件进行处理。The operation synchronization module is configured to synchronize the operation to the teaching terminal and the other listening terminal, and both the teaching terminal and the other listening terminal are used to process the courseware according to the operation.
第六方面,本发明实施例还提供了一种课件的操作装置,应用于授课终端,所述装置包括:In a sixth aspect, an embodiment of the present invention also provides a courseware operating device, which is applied to a teaching terminal, and the device includes:
授课间创建模块,被配置为创建授课间,并显示所述授课间的界面;The class room creation module is configured to create a class room and display the interface of the class room;
课件上传模块,被配置为上传课件至所述授课间,所述授课间登入有听课终端,所述听课终端已下载并显示所述课件;The courseware uploading module is configured to upload courseware to the lecture room, the lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
课件显示模块,被配置为在所述授课间的界面中显示所述课件;The courseware display module is configured to display the courseware in the interface of the lecture room;
第一操作接收模块,被配置为接收所述听课终端作用于所述课件的操作;The first operation receiving module is configured to receive the operation of the listening terminal acting on the courseware;
第一课件处理模块,被配置为按照所述操作对所述课件进行处理。The first courseware processing module is configured to process the courseware according to the operation.
第七方面,本发明实施例还提供了一种课件的操作装置,应用于服务器,所述装置包括:In a seventh aspect, an embodiment of the present invention also provides a courseware operating device applied to a server, and the device includes:
授课间创建模块,被配置为为授课终端创建授课间;The classroom creation module is configured to create a classroom for the teaching terminal;
第一课件接收模块,被配置为接收所述授课终端上传至所述授课间的课件,所述授课间登入有听课终端,所述听课终端已下载并显示所述课件;The first courseware receiving module is configured to receive the courseware uploaded by the lecture terminal to the lecture room, where a lecture terminal is logged in in the lecture room, and the lecture terminal has downloaded and displayed the courseware;
第一操作接收模块,被配置为接收所述听课终端作用于所述课件的操作;The first operation receiving module is configured to receive the operation of the listening terminal acting on the courseware;
第一操作同步模块,被配置为将所述操作发送至所述授课终端与其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作对所述课件进行处理。The first operation synchronization module is configured to send the operation to the teaching terminal and other listening terminals, and the teaching terminal and the other listening terminals are both used to process the courseware according to the operation.
第八方面,本发明实施例还提供了一种计算机设备,所述计算机设备包括:In an eighth aspect, an embodiment of the present invention also provides a computer device, the computer device including:
一个或多个处理器;One or more processors;
存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现 如第一方面、第二方面、第三方面、第四方面任一所述的课件的操作方法。When the one or more programs are executed by the one or more processors, the one or more processors can implement any of the first, second, third, and fourth aspects How to operate the courseware.
第九方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面、第二方面、第三方面、第四方面任一所述的课件的操作方法。In the ninth aspect, the embodiments of the present invention also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements aspects such as the first, second, third, and fourth aspects. The operation method of the courseware described in any aspect.
在本实施例中,该授课间登入有授课终端与其他听课终端,授课终端已上传课件至所述授课间,其他听课终端已下载并显示课件,听课终端显示授课间的界面,下载课件、以及在授课间的界面中显示课件,接收作用于课件的操作,按照操作对课件进行处理,将操作同步至授课终端与其他听课终端,授课终端与其他听课终端均用于按照操作对课件进行处理。In this embodiment, the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, other lecture terminals have downloaded and displayed the courseware, the lecture terminal displays the interface of the lecture room, downloads the courseware, and Display the courseware in the interface between the lectures, receive operations on the courseware, process the courseware according to the operation, and synchronize the operation to the teaching terminal and other listening terminals. The teaching terminal and other listening terminals are used to process the courseware according to the operation.
授权终端、听课终端在本地加载同一份课件,与针对课件采集视频数据并传输相比,由于直接显示课件,无需针对课件设置专业的影音设备,可降低设备成本课件在下载之后并不受限于网络传输,在网络环境较差的情况下,仍然可保证画面的清晰度。The authorized terminal and the listening terminal load the same courseware locally. Compared with the video data collected and transmitted for the courseware, because the courseware is directly displayed, there is no need to set up professional audio-visual equipment for the courseware, which can reduce the equipment cost. The courseware is not limited after downloading Network transmission, in the case of poor network environment, can still ensure the clarity of the picture.
听课终端对该课件执行的操作,可同步至授课终端、其他听课终端,授课终端、其他听课终端在本地同步该课件的状态,使得多方通过课件作为媒介形成互动。而课堂教学比较重视学生的参与度,增强互动性,可以提高课堂教学的质量。The operation performed by the lecture terminal on the courseware can be synchronized to the lecture terminal and other lecture terminals. The lecture terminal and other lecture terminals synchronize the state of the courseware locally, so that multiple parties can interact through the courseware as a medium. Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
由于授课终端、其他听课终端本地存在课件,听课终端与授课终端、其他听课终端同步操作即可,该操作可使用纯文本流的指令表示,与针对课件采集视频数据并传输相比,传输的数据从视频数据变更为纯文本流的指令,纯文本流的指令的体积远小于视频数据体积,因此,传输纯文本流的指令可大大降低传输的数据量,从而大大降低了带宽的占用,大大降低了流量的成本,并且,传输纯文本流的指令可提高传输的速度,保证操作的实时性。Since the teaching terminal and other listening terminals have local courseware, the listening terminal can operate synchronously with the teaching terminal and other listening terminals. This operation can be expressed in a plain text stream. Compared with the video data collected and transmitted for the courseware, the transmitted data To change the instruction from video data to plain text stream, the volume of the instruction of plain text stream is much smaller than the volume of video data. Therefore, the instruction to transmit plain text stream can greatly reduce the amount of data transmitted, thereby greatly reducing the bandwidth occupation and greatly reducing The cost of traffic is reduced, and the instruction to transmit the plain text stream can increase the transmission speed and ensure the real-time operation.
附图说明Description of the drawings
图1为本发明实施例提供的一种教学系统的架构图;FIG. 1 is an architecture diagram of a teaching system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种服务器与用户终端的架构图;FIG. 2 is an architecture diagram of a server and user terminal provided by an embodiment of the present invention;
图3为本发明实施例一提供的一种课件的操作方法的流程图;3 is a flowchart of a method for operating a courseware provided by Embodiment 1 of the present invention;
图4A至图4F为本发明实施例提供的一种在授课间显示课件的示例图;4A to 4F are exemplary diagrams of displaying courseware in a lecture room provided by an embodiment of the present invention;
图5是本发明实施例二提供的一种课件的操作方法的流程图;Figure 5 is a flowchart of a method for operating a courseware provided by the second embodiment of the present invention;
图6是本发明实施例三提供的一种课件的操作方法的流程图;FIG. 6 is a flowchart of a method for operating a courseware provided by Embodiment 3 of the present invention;
图7是本发明实施例四提供的一种课件的操作方法的流程图;FIG. 7 is a flowchart of a method for operating a courseware provided by the fourth embodiment of the present invention;
图8是本发明实施例五提供的一种课件的操作方法的流程图;Figure 8 is a flowchart of a method for operating a courseware provided by the fifth embodiment of the present invention;
图9是本发明实施例六提供的一种课件的操作方法的流程图;FIG. 9 is a flowchart of a method for operating a courseware provided by Embodiment 6 of the present invention;
图10是本发明实施例七提供的一种课件的操作方法的流程图;Figure 10 is a flowchart of a method for operating a courseware provided by the seventh embodiment of the present invention;
图11是本发明实施例八提供的一种课件的操作方法的流程图;FIG. 11 is a flowchart of a method for operating a courseware provided by Embodiment 8 of the present invention;
图12是本发明实施例九提供的一种课件的操作方法的流程图;Figure 12 is a flowchart of a method for operating a courseware provided by the ninth embodiment of the present invention;
图13为本发明实施例十提供的种课件的操作装置的结构示意图;FIG. 13 is a schematic structural diagram of a courseware operating device provided by the tenth embodiment of the present invention;
图14为本发明实施例十一提供的种课件的操作装置的结构示意图;14 is a schematic structural diagram of a courseware operating device provided by Embodiment 11 of the present invention;
图15为本发明实施例十二提供的种课件的操作装置的结构示意图;15 is a schematic structural diagram of a courseware operating device provided by Embodiment 12 of the present invention;
图16为本发明实施例十三提供的一种计算机设备的结构示意图。FIG. 16 is a schematic structural diagram of a computer device according to Embodiment 13 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be further described in detail below with reference to the drawings and embodiments. It is understandable that the specific embodiments described here are only used to explain the application, but not to limit the application. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present application instead of all of the structure.
参见图1,图1为本发明实施例提供的一种教学系统的架构图,该教学系统适用于基于直播进行教学的情况,例如,教育阶段(如义务教育、高等教育等)的教学、职业考试(如国 家法律职业资格考试、专利代理师资格考试、注册会计师执业资格考试等)的教学、职业技能(如软件开发、绘画、插花等)的教学,等等。Refer to Figure 1. Figure 1 is an architectural diagram of a teaching system provided by an embodiment of the present invention. The teaching system is suitable for teaching based on live broadcast, for example, teaching and vocational education at the educational stage (such as compulsory education, higher education, etc.) Examinations (such as the national legal professional qualification examination, patent agent qualification examination, certified public accountant qualification examination, etc.) teaching, professional skills (such as software development, painting, flower arrangement, etc.) teaching, etc.
如图1所示,该教学系统包括服务器100、授课终端110、听课终端120,服务器100中存储有课件111,实现课件111的云共享,以便授课终端110、听课终端120共享同该课件111。As shown in FIG. 1, the teaching system includes a server 100, a teaching terminal 110, and a lecture terminal 120. The server 100 stores a courseware 111 to realize cloud sharing of the courseware 111 so that the teaching terminal 110 and the lecture terminal 120 share the courseware 111.
其中,服务器100、授课终端110、听课终端120可以同时部署在公网中,或者,同时部署在局域网中,或者,服务器100与授课终端110部署在公网中、听课终端120部署在局域网,服务器100部署在公网中、授课终端110与听课终端120部署在局域网,等等。Among them, the server 100, the teaching terminal 110, and the lecture terminal 120 can be deployed in the public network at the same time, or deployed in the local area network at the same time, or the server 100 and the teaching terminal 110 are deployed in the public network, and the lecture terminal 120 is deployed in the local area network. 100 is deployed in the public network, the teaching terminal 110 and the lecture terminal 120 are deployed in the local area network, and so on.
在该教学系统中,基于RBAC(Role-Based Access Control,基于角色的访问控制)进行权限管理,即用户通过角色与权限进行关联,其中,该用户一般以用户账号(又称用户ID)表示。In this teaching system, permission management is performed based on RBAC (Role-Based Access Control), that is, users are associated with roles and permissions, and the user is generally represented by a user account (also called a user ID).
一个用户拥有若干角色,每一个角色拥有若干权限,从而构造成“用户-角色-权限”的授权模型。A user has several roles, and each role has several permissions, thus constructing a "user-role-permission" authorization model.
在本实施例中,用户的角色包括授课者、听课者。In this embodiment, the role of the user includes lecturer and lecturer.
授课者这个角色一般是授予授课的用户,授课者与该用户的用户账号关联,授课者一般拥有操作课件的所有权限,如上传课件、删除课件、控制课堂活动的流程进度、翻转页面、增加页面、增加批注信息、删除批注信息等。The role of the instructor is generally granted to the user who teaches, and the instructor is associated with the user account of the user. The instructor generally has all the permissions to operate the courseware, such as uploading courseware, deleting courseware, controlling the progress of classroom activities, flipping pages, adding pages , Add comment information, delete comment information, etc.
听课者这个角色一般是授予听课的用户,听课者与该用户的用户账号关联,听课者的权限一般受限,即拥有操作课件的部分权限,如翻转页面、增加页面、增加批注信息、删除批注信息等,并不具备上传课件、删除课件、设置活动的参数等权限。The role of the lecturer is generally granted to the user who listens to the lecture. The lecturer is associated with the user account of the user. The permissions of the lecturer are generally limited, that is, they have partial permissions to operate the courseware, such as flipping pages, adding pages, adding annotations, and deleting annotations. Information, etc., do not have the authority to upload courseware, delete courseware, or set activity parameters.
此外,听课者的权限可以在授课者关联的用户(以用户账号表示)进行配置,如听课者的权限包括说话,该用户可以禁止该权限,实施禁言。In addition, the permission of the lecturer can be configured in the user (represented by the user account) associated with the lecturer. If the permission of the lecturer includes speaking, the user can prohibit the permission and implement a ban.
在一些实施例中,服务器100包括一个或一个以上有线或无线网络接口,和/或,一个或一个以上操作系统。In some embodiments, the server 100 includes one or more wired or wireless network interfaces, and/or, one or more operating systems.
其中,有线或无线网络接口用于与授课终端110、听课终端120建立长连接,如TCP(Transmission Control Protocol,传输控制协议)连接。Among them, the wired or wireless network interface is used to establish a long connection with the teaching terminal 110 and the lecture terminal 120, such as a TCP (Transmission Control Protocol, transmission control protocol) connection.
该操作系统包括Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The operating system includes Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM and so on.
授课终端110与听课终端120可以属于相同类型的设备,也可以属于不同类型的设备,该设备可以配置显示屏、麦克风、摄像头等组件,如智能交互平板、移动终端(如手机、平板电脑等)、个人电脑、智能穿戴设备(如智能眼镜、智能手表等)。The lecture terminal 110 and the lecture terminal 120 can belong to the same type of equipment, or they can belong to different types of equipment. The equipment can be equipped with components such as a display screen, a microphone, and a camera, such as smart interactive tablets, mobile terminals (such as mobile phones, tablet computers, etc.) , Personal computers, smart wearable devices (such as smart glasses, smart watches, etc.).
在一些实施例中,在授课终端110中登录的用户账号的角色为授课者,在听课终端120登录的用户账号的角色为听课者。In some embodiments, the role of the user account logged in the lecture terminal 110 is the lecturer, and the role of the user account logged in the lecture terminal 120 is the lecturer.
以智能交互平板作为授课终端110与听课终端120的示例,对于授课终端110智能交互平板适于部署在远端的地方,面向授课的教师,对于听课终端120,智能交互平板适于部署在教室140中,面向听课的多个学生、教师,该听课的教师相对于授课的教师而言,可以称之为助教,可辅助授课的教师讲解课件的内容给学生。Take the smart interactive tablet as an example of the teaching terminal 110 and the lecture terminal 120. For the teaching terminal 110, the smart interactive tablet is suitable for deployment in a remote place and is for teachers who teach. For the lecture terminal 120, the smart interactive tablet is suitable for deployment in the classroom 140. Among them, for multiple students and teachers who are listening to the class, the teacher who is listening to the class can be referred to as an assistant, compared with the teacher who teaches the class, and can assist the teacher who teaches to explain the content of the courseware to the students.
智能交互平板的硬件部分由显示模组、智能处理系统(包括控制器)等部分所构成,由整体结构件结合到一起,同时也由专用的软件系统作为支撑,其中显示模组包括显示屏和背光灯组件,其中显示屏包括透明电导层和液晶层等。The hardware part of the smart interactive tablet is composed of a display module, an intelligent processing system (including a controller) and other parts, which are integrated by the overall structure, and are also supported by a dedicated software system. The display module includes a display screen and Backlight assembly, where the display screen includes a transparent conductive layer and a liquid crystal layer.
显示屏,在本说明书中的实施例中,是指触摸屏、触控屏、触控面板,是一种感应式液晶显示装置,当接触了屏幕上的图形按钮时,屏幕上的触觉反馈系统可根据预先编程的程式 驱动各种连接装置,可用以取代机械式的按钮面板,并借由液晶显示画面制造出生动的影音效果。从技术原理来区别触摸屏,可以分为五个基本种类;矢量压力传感技术触摸屏、电阻技术触摸屏、电容技术触摸屏、红外线技术触摸屏、表面声波技术触摸屏。按照触摸屏的工作原理和传输信息的介质,可以把触摸屏分为四个种类:电阻式、电容感应式、红外线式以及表面声波式。The display screen, in the embodiments in this specification, refers to a touch screen, a touch screen, and a touch panel. It is an inductive liquid crystal display device. When the graphic buttons on the screen are touched, the tactile feedback system on the screen can be Drive various connection devices according to pre-programmed programs, which can be used to replace mechanical button panels, and create dynamic audio-visual effects through the LCD screen. Differentiating touch screens from technical principles can be divided into five basic categories: vector pressure sensing technology touch screens, resistive technology touch screens, capacitive technology touch screens, infrared technology touch screens, surface acoustic wave technology touch screens. According to the working principle of the touch screen and the medium of information transmission, the touch screen can be divided into four types: resistive type, capacitive sensing type, infrared type and surface acoustic wave type.
当用户用手指或笔触摸屏幕时,将该点坐标定位,从而实现对智能处理系统的控制,然后随着智能处理系统内置的软件来实现不同的功能应用。When the user touches the screen with a finger or a pen, the coordinates of the point are located, so as to realize the control of the intelligent processing system, and then realize different functional applications with the built-in software of the intelligent processing system.
在本申请中所提到的“屏幕”、“大屏”均指智能交互平板的显示屏;智能交互平板显示某个界面、批注信息等数据是指智能交互平板的显示屏显示该界面、批注信息等数据。The "screen" and "large screen" mentioned in this application all refer to the display screen of the smart interactive tablet; the display of a certain interface and annotation information on the smart interactive tablet means that the display screen of the smart interactive tablet displays the interface and annotation Information and other data.
参见图2,图2为本发明实施例提供的一种服务器与用户终端的架构图。Refer to FIG. 2, which is an architecture diagram of a server and a user terminal provided by an embodiment of the present invention.
如图2所示,服务器210中配置有锁服务211、指令服务212。As shown in FIG. 2, a lock service 211 and a command service 212 are configured in the server 210.
其中,该锁服务211用于对用户终端220作用于课件的操作进行权限管理。Among them, the lock service 211 is used to perform authority management on the operation of the user terminal 220 on the courseware.
指令服务212用于管理用户终端220作用于课件的操作所产生的指令。The instruction service 212 is used to manage the instructions generated by the operation of the user terminal 220 on the courseware.
在一些实施例中,锁服务211包括用户状态管理器2111与对象状态管理器2112,用户状态管理器2111用于管理用户(以用户账号表示)对课件操作的状态,如已执行、正在执行、未执行、已禁止等;对象状态管理器2112用于管理课件中的对象(如页面、元素、工具等)的状态,如位置、大小、是否允许操作等。In some embodiments, the lock service 211 includes a user state manager 2111 and an object state manager 2112. The user state manager 2111 is used to manage the state of the user (represented by the user account) of the courseware operation, such as executed, executing, Not executed, prohibited, etc.; the object state manager 2112 is used to manage the state of objects (such as pages, elements, tools, etc.) in the courseware, such as position, size, and whether operations are allowed or not.
指令服务包括指令管理器2121与房间管理器2112,指令管理器2121用于对单个指令进行管理,如存储指令中的参数、分发状态、执行状态等;房间管理器2122用于对每个授课间中的指令进行管理,如存储每个授课间中已分发的指令、正在分发的指令、等待分发的指令等。The instruction service includes an instruction manager 2121 and a room manager 2112. The instruction manager 2121 is used to manage a single instruction, such as storing the parameters, distribution status, execution status, etc. in the instruction; the room manager 2122 is used for each classroom Manage the instructions in each classroom, such as storing instructions that have been distributed, instructions being distributed, instructions waiting to be distributed, etc. in each classroom.
授课终端与听课终端的架构可以保持一致,因此,为了简便,将授课终端与听课终端合并为授课终端220。The structure of the lecture terminal and the lecture terminal can be kept consistent. Therefore, for simplicity, the lecture terminal and the lecture terminal are combined into the lecture terminal 220.
在授课终端220中具有用户界面221(User Interface,UI)、指令层222、权限管理器223、发送缓存区224、接收缓存区225。The teaching terminal 220 has a user interface 221 (User Interface, UI), an instruction layer 222, an authority manager 223, a sending buffer area 224, and a receiving buffer area 225.
用户界面221用于提供用户在授课间进行操作的界面,在该界面可显示课件,用户可通过触摸、鼠标等方式操作该课件。The user interface 221 is used to provide an interface for the user to operate between lectures, and the courseware can be displayed on the interface, and the user can operate the courseware by means of touch, mouse, etc.
指令层222用于针对作用于课件的操作生成相应的指令。The instruction layer 222 is used to generate corresponding instructions for the operations acting on the courseware.
权限管理器223用于与锁服务211交互,验证用户终端220是否具备执行该操作是权限。The authority manager 223 is used to interact with the lock service 211 to verify whether the user terminal 220 has the authority to perform the operation.
发送缓存区224属于缓存,用于缓存用户终端220生成的指令,等待发送至指令服务212。The sending buffer area 224 belongs to a buffer and is used to buffer the instructions generated by the user terminal 220 and wait to be sent to the instruction service 212.
接收缓存区225属于缓存,用于接收并缓存指令服务212发送的指令,并传输至指令层222,指令层222传输至用户界面221,在用户界面221根据该指令对课件进行处理。The receiving buffer area 225 belongs to a buffer, and is used to receive and buffer instructions sent by the instruction service 212, and transmit them to the instruction layer 222, and the instruction layer 222 is transmitted to the user interface 221, where the courseware is processed according to the instructions.
实施例一Example one
图3为本发明实施例一提供的一种课件的操作方法的流程图,本实施例应用于听课终端、可适用于听课终端将作用于课件的操作同步至授课终端与其他听课终端的情况,该方法可以由课件的操作装置来执行,该课件的操作装置可以由软件和/或硬件实现,可配置在计算机设备中,例如,智能交互平板、移动终端(如手机、平板电脑等)、个人电脑、智能穿戴设备(如智能眼镜、智能手表等),该方法可以包括如下步骤:FIG. 3 is a flowchart of a method for operating a courseware provided by Embodiment 1 of the present invention. This embodiment is applied to a lecture terminal and is applicable to a situation where the lecture terminal synchronizes operations on the courseware to the teaching terminal and other lecture terminals. The method can be executed by the operating device of the courseware, which can be implemented by software and/or hardware, and can be configured in computer equipment, such as smart interactive tablets, mobile terminals (such as mobile phones, tablet computers, etc.), and personal computers. For computers, smart wearable devices (such as smart glasses, smart watches, etc.), the method may include the following steps:
S301、显示授课间的界面。S301. Display an interface between lectures.
在本实施例中,授课终端具备创建授课间的权限,授课终端可根据授课的需求,向服务器请求创建授课间。In this embodiment, the lecture terminal has the authority to create a lecture room, and the lecture terminal can request the server to create a lecture room according to the needs of the lecture.
所谓授课间,是指用于教学的空间,该空间属于一个虚拟的空间。The so-called lecture room refers to the space used for teaching, which is a virtual space.
服务器可向该授课端配置房间编码(即ID)、房间地址(如URL(Uniform Resource Locator,统一资源定位符))、界面等等。The server can configure the room code (ie ID), room address (such as URL (Uniform Resource Locator, Uniform Resource Locator)), interface and so on to the lecturer.
在一些实施例中,该界面可为遵循页面的架构开发的页面,如HTML5(Hyper Text Markup Language 5,超文本标记语言第五版)、Web等,可在浏览器、具备页面容器的客户端加载、显示。In some embodiments, the interface can be a page developed following the architecture of the page, such as HTML5 (Hyper Text Markup Language 5, Hypertext Markup Language 5), Web, etc., which can be displayed in a browser or a client with a page container Load and display.
所谓页面容器,可以指加载并展示页面的容器。The so-called page container can refer to the container that loads and displays the page.
例如,在Android、IOS系统中,该页面容器可以包括WebView控件,在Windows系统中,该页面容器可以包括WebBrowser控件等等。For example, in the Android and IOS systems, the page container may include the WebView control, and in the Windows system, the page container may include the WebBrowser control and so on.
在本实施例中,将WebView作为页面容器的一种示例进行说明。In this embodiment, a WebView is used as an example of a page container for description.
在Android系统中,WebView是WebKit模块(浏览器网页排版引擎)Java层的视图类,使用Web浏览功能的Android应用可以创建该视图对象显示和处理请求的网络资源。In the Android system, WebView is the view class of the Java layer of the WebKit module (browser web page layout engine). Android applications using the Web browsing function can create the view object to display and process the requested network resources.
在相关技术中,WebKit模块支持HTTP(Hypertext transfer protocol,超文本传送协议)、HTTPS(Hyper Text Transfer Protocol over Secure Socket Layer,是以安全为目标的HTTP通道)、FTP(File Transfer Protoco,文件传输协议)以及JS(JavaScript,一种直译式脚本语言)请求。In related technologies, the WebKit module supports HTTP (Hypertext transfer protocol), HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer, which is an HTTP channel targeting security), FTP (File Transfer Protocol, file transfer protocol) ) And JS (JavaScript, a literal scripting language) request.
WebView作为应用程序的UI接口,为用户提供了一系列的网页浏览、用户交互接口,客户程序通过这些接口访问WebKit核心代码。As the UI interface of the application, WebView provides users with a series of web browsing and user interaction interfaces. Client programs access the core code of WebKit through these interfaces.
一方面,在授课端创建授课间之后,可将课件上传至服务器,该服务器将该授课间与该课件关联,此时,该课件可称之为云课件,其他听课终端可从服务器同步该云课件。On the one hand, after the lecture room is created on the lecture side, the courseware can be uploaded to the server, and the server associates the lecture room with the courseware. At this time, the courseware can be called cloud courseware, and other lecture terminals can synchronize the cloud from the server Courseware.
所谓课件,可以指是根据教学的要求,经过教学目标确定,教学内容和任务分析,教学活动结构及界面设计等环节,而加以制作的课程文档,例如,PPT(PowerPoint,演示文稿)、seewo(希沃),等等。The so-called courseware can refer to the course documents produced according to the requirements of teaching, after the determination of teaching objectives, the analysis of teaching content and tasks, the structure of teaching activities and interface design, for example, PPT (PowerPoint, presentation), seewo ( Seewo), etc.
在一些实施例中,授课终端中安装有操作系统自带的应用软件,同时,也安装有从第三方设备或者服务器中下载的应用软件,其中,应用软件的类型及内容可以根据实际情况设定,通常,该应用软件具有电子白板功能,其可以通过电子白板功能实现:书写、绘图、批注、课件制作以及展示播放等功能。本实施例中设定电子白板功能具有课件制作及展示播放功能,其中,课件制作是指在授课终端上通过用户在课件编辑页面中进行的元素输入或插入操作,在一些实施例中,课件编辑页面是指智能交互平板中具备编辑画布、可输入元素栏、编辑设置选项以及展示播放按钮的编辑页面,可输入元素栏中包含了用户输入一定操作后可以显示的要素。例如,图4A为课件编辑页面的内容示意图,参考图4A,编辑画布40可以用于当前用户进行元素的输入编辑,可输入元素栏41中给出了当前用户可在课件编辑页面中输入的元素,其包括:文本、图形形状、多媒体、表格、课堂活动、思维导图、拼音、汉字以及学科工具。其中,学科工具可以是函数编辑器以及公式等。可以理解的是,可输入元素栏41的内容可以根据实际情况设定和更改。In some embodiments, the teaching terminal is installed with application software that comes with the operating system, and at the same time, is also installed with application software downloaded from a third-party device or server. The type and content of the application software can be set according to actual conditions. , Usually, the application software has an electronic whiteboard function, which can be realized by the electronic whiteboard function: writing, drawing, annotation, courseware production and display and playback functions. In this embodiment, the electronic whiteboard function is set to have the function of courseware production and display and playback. Among them, the courseware production refers to the element input or insertion operation performed by the user on the courseware editing page on the teaching terminal. In some embodiments, the courseware editing The page refers to the editing page in the smart interactive tablet with the editing canvas, the input element field, the editing setting options, and the display playback button. The input element field contains the elements that can be displayed after the user enters a certain operation. For example, FIG. 4A is a schematic diagram of the content of the courseware editing page. Referring to FIG. 4A, the editing canvas 40 can be used for the current user to input and edit elements. The inputable element column 41 shows the elements that the current user can input in the courseware editing page. , Which includes: text, graphic shapes, multimedia, tables, classroom activities, mind maps, pinyin, Chinese characters and subject tools. Among them, subject tools can be function editors and formulas. It is understandable that the content of the input element column 41 can be set and changed according to actual conditions.
同时,编辑设置选项中包含了用户编辑过程中对所编辑元素进行设置的选项按钮,同样参考图4A,编辑设置选项42中给出了当前用户可在课件编辑页面中设置调控的按钮,其包括:正向撤销、反向撤销、剪切、属性以及动画等设置按钮,其中,属性可以用于对所编辑元素的显示状态进行个性化设置,如对思维导图的属性设置,对文本的属性设置以及对当前编辑页面排版的属性设置等,动画可以用于对所编辑元素的播放动画轨迹进行个性化设置,如,对可编辑元素在演示播放场景下的出现动画轨迹、消失动画轨迹以及展示动作的动作轨迹进行设置。At the same time, the edit setting options include the option buttons for setting the edited elements during the user editing process. Also referring to Figure 4A, the edit setting option 42 shows the buttons that the current user can set on the courseware editing page, including :Forward undo, reverse undo, cut, attribute, animation and other setting buttons, among which attributes can be used to personalize the display state of the edited element, such as the attribute setting of the mind map and the attribute of the text Setting and setting the attributes of the current editing page layout, etc. Animation can be used to personalize the playback animation trajectory of the edited element, such as the appearance, disappearance animation trajectory and display of the editable element in the demo playback scene Set the motion track of the motion.
此外,展示播放可指将课件编辑页面中内容在授课模式下作为演示播放页面进行的课件演示,展示播放可通过演示播放按钮触发,图4A中还给出了演示播放按钮43的一种,即开 始授课按钮,用户触发开始授课按钮后就可以在演示模式下对编辑画布40中的内容进行演示播放。In addition, display playback can refer to the courseware demonstration that uses the content in the courseware editing page as the demo playback page in the teaching mode. The display playback can be triggered by the demo playback button. Figure 4A also shows one of the demo playback buttons 43, namely The lecture start button, after the user triggers the lecture start button, the content in the editing canvas 40 can be demonstrated and played in the demo mode.
另一方面,在授课端创建授课间之后,如图4B所示,听课终端可登入该授课间,显示该授课间的界面。On the other hand, after the lecture room is created on the lecture terminal, as shown in FIG. 4B, the lecture terminal can log in to the lecture room and display the interface of the lecture room.
在一种方式中,授课端的用户可通过群组、网页等方式发布授课间的房间编码,听课端的用户在获知该房间编码后,在用户界面输入该房间编码,向服务器请求搜索该房间编码对应的授课间,在搜索到该授课间后,登入该授课间。In one method, users on the teaching end can publish the room code of the classroom through groups, web pages, etc. After learning the room code, the user at the lecture end enters the room code in the user interface and requests the server to search for the corresponding room code. After searching for the classroom, log in to the classroom.
在另一种方式中,授课端的用户可通过群组、网页等方式发布授课间的房间地址,听课端的用户在获知该房间地址后,在用户界面输入该房间地址,访问该房间地址,从而登入该授课间。In another way, the user at the lecture end can publish the room address of the lecture room through groups, web pages, etc. After learning the room address, the user at the lecture end enters the room address in the user interface, visits the room address, and logs in The classroom.
在另一种方式中,在听课端登录的用户账号与在授课端或其他听课端登录的用户帐号具有好友关系,在听课端登录的用户帐号的好友信息中、显示在授课端或其他听课端登录的用户账号登入授课间的状态,听课端通过该状态请求登入该授课间。In another way, the user account logged in at the lecture end has a friend relationship with the user account logged in at the lecture end or other lecture ends, and the friend information of the user account logged in at the lecture end is displayed on the lecture end or other lecture ends. The logged-in user account logs in the state of the classroom, and the listener requests to log in to the classroom through the state.
在另一种方式中,如图4B所示,授课端或听课端的用户在授课间的界面输入在其他听课端登录的用户帐号,邀请其登入授课间。In another way, as shown in FIG. 4B, the user at the lecture end or the lecture end enters the user account logged in at other lecture ends on the interface of the lecture room, and invites them to log in to the lecture room.
当然,上述登入授课间的方式只是作为示例,在实施本实施例时,可以根据实际情况设置其他登入授课间的方式。另外,除了上述登入授课间的方式外,本领域技术人员还可以根据实际需要采用其它登入授课间的方式。Of course, the above-mentioned method of logging in to the lecture room is just an example. When implementing this embodiment, other methods of logging in to the lecture room can be set according to the actual situation. In addition, in addition to the above-mentioned method of logging in to the classroom, those skilled in the art can also use other methods of logging in to the classroom according to actual needs.
S302、下载所述课件、以及在所述授课间的界面中显示所述课件。S302. Download the courseware, and display the courseware in the interface of the classroom.
在本实施例中,授课间登入有授课终端与其他听课终端,连同当前听课终端,在该授课间中登入有授课终端、至少两个听课终端。In this embodiment, the lecture room is logged in with a teaching terminal and other listening terminals, together with the current listening terminal, and there are a teaching terminal and at least two listening terminals in the classroom.
授课终端已上传课件至授课间,其他听课终端已下载并显示课件。The teaching terminal has uploaded the courseware to the classroom, and other listening terminals have downloaded and displayed the courseware.
对于当前听课终端,可从服务器同步属于该授课间的课件,将该课件下载至本地,如缓存,以及,在授课间的界面中显示该课件。For the current lecture terminal, the courseware belonging to the lecture room can be synchronized from the server, the courseware can be downloaded to the local, such as cache, and the courseware can be displayed on the interface of the lecture room.
在一个示例中,课件包括如图4C所示的准备阶段、如图4D所示的活动阶段、如图4E和图4F所示的总结阶段。In one example, the courseware includes a preparation phase as shown in FIG. 4C, an activity phase as shown in FIG. 4D, and a summary phase as shown in FIG. 4E and FIG. 4F.
所谓准备阶段,是指准备趣味分类(竞技模式)、分组竞争、判断对错等活动的阶段。The so-called preparation stage refers to the stage of preparing activities such as fun classification (competitive mode), group competition, and judgment of right or wrong.
在准备阶段中,授课终端可设置该活动的类型、难度、参与用户的数量、时间等参数,此时,听课终端中用于选择元素的控件处于置灰状态,为不可操作的状态。In the preparation phase, the teaching terminal can set parameters such as the type, difficulty, number of participating users, and time of the activity. At this time, the control for selecting elements in the lecture terminal is in a gray state and is in an inoperable state.
对于趣味分类(竞技模式)、分组竞争、判断对错等活动,授课终端点击开始控件,则可以展开该活动,进入活动阶段。For activities such as fun classification (competitive mode), group competition, right or wrong judgment, the teaching terminal clicks on the start control to start the activity and enter the activity stage.
对于其他活动,在进入课件的活动页面或重置之后,即进入活动阶段。For other activities, enter the activity phase after entering the activity page of the courseware or resetting.
在活动阶段,听课终端中用于选择元素的控件被激活,为可操作的状态,此时,听课终端可操作与活动相关的元素,如拖动图4D所示的卡片“北京”、“纽约”、“美国”、“中国”,授课终端可操作控制活动的元素(如用于暂停、继续、重置等控件)、与活动无关的元素(如形状、思维导图)。In the activity phase, the control for selecting elements in the lecture terminal is activated and is in an operable state. At this time, the lecture terminal can operate elements related to the activity, such as dragging the cards "Beijing" and "New York" as shown in Figure 4D "," "United States", "China", the teaching terminal can operate elements that control activities (such as controls for pause, resume, reset, etc.), and elements that are not related to activities (such as shapes, mind maps).
在总结阶段,可显示活动的结果,如得分、答案等,在该阶段,授课终端可点击用于重置或查看答案的控件,听课终端中用于选择元素的控件处于置灰状态,为不可操作。In the summary stage, the results of the activity, such as scores, answers, etc., can be displayed. At this stage, the teaching terminal can click the controls for resetting or viewing the answers. The controls for selecting elements in the lesson terminal are grayed out and are not available. operating.
S303、接收作用于所述课件的操作。S303. Receive an operation acting on the courseware.
在本实施例中,用户可以通过触控的方式,利用手指或者触控笔点击操作课件,以使听课终端接收到作用于课件的操作。或者是,用户通过与听课终端连接的外置设备,利用键控的方式操作课件,以使听课终端接收到作用于课件的操作。其中,外置设备可以包括鼠标、 键盘、翻页笔等。In this embodiment, the user can use a finger or a stylus to click and operate the courseware by means of touch, so that the lecture terminal can receive the operation on the courseware. Or, the user operates the courseware in a keyed manner through an external device connected to the lecture terminal, so that the lecture terminal receives the operation that acts on the courseware. Among them, the external device may include a mouse, a keyboard, a page turning pen, etc.
在一些实施例中,课件包括一个或多个页面、在每个页面上具有一个或多个元素,针对每个页面,可提供操作批注信息的工具。In some embodiments, the courseware includes one or more pages, each page has one or more elements, and for each page, a tool for operating annotation information can be provided.
对于页面,接收作用于该页面的操作,可以包括翻转(用于向上翻页、向下翻页)、增加(用于增加页面)、删除(用于删除页面)等。For a page, receiving operations on the page can include flipping (for turning up pages, turning pages down), adding (for adding pages), deleting (for deleting pages), and so on.
对于元素,接收作用于该元素的操作,可以包括旋转(用于旋转元素)、拖动(用于拖动元素)、缩放(用于缩放元素)等。For an element, receiving operations on the element can include rotation (for rotating the element), dragging (for dragging the element), zoom (for scaling the element), and so on.
对于工具,接收作用于该工具的操作,可以包括添加(用于增加批注信息)、删除(用于删除批注信息)等。For a tool, receiving operations on the tool may include adding (for adding annotation information), deleting (for deleting annotation information), and so on.
当然,上述作用于课件的操作只是作为示例,在实施本实施例时,可以根据实际情况设置其他作用于课件的操作。另外,除了上述作用于课件的操作外,本领域技术人员还可以根据实际需要采用其它作用于课件的操作。Of course, the above-mentioned operations on the courseware are just examples, and other operations on the courseware can be set according to actual conditions when implementing this embodiment. In addition, in addition to the aforementioned operations on the courseware, those skilled in the art can also use other operations on the courseware according to actual needs.
S304、按照所述操作对所述课件进行处理。S304. Process the courseware according to the operation.
在本实施例中,响应于用户对于课件的操作,可按照该操作对课件进行处理,获得处理结果,在课件上显示该处理结果。In this embodiment, in response to the user's operation on the courseware, the courseware can be processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware.
在一些实施例中,课件包括一个或多个页面、在每个页面上具有一个或多个元素,针对每个页面,可提供操作批注信息的工具。In some embodiments, the courseware includes one or more pages, each page has one or more elements, and for each page, a tool for operating annotation information can be provided.
对于页面,接收作用于该页面的操作,如翻转、增加、删除等,则可以相应地向上翻页、向下翻页,增加页面、删除页面等。For a page, receiving operations that act on the page, such as flipping, adding, deleting, etc., can correspondingly flip up, down, add, and delete pages.
对于元素,接收作用于该元素的操作,如旋转、拖动、缩放等,则可以相应地在该课件的页面中旋转元素、拖动元素、缩放元素等。For an element, receiving operations that act on the element, such as rotating, dragging, zooming, etc., can rotate, drag, or zoom the element on the page of the courseware accordingly.
对于工具,接收作用于该工具的操作,如添加、删除等,则可以相应地在课件的页面之上增加蒙层,在该蒙层中增加批注信息、删除批注信息等。For a tool, if you receive operations that act on the tool, such as adding, deleting, etc., you can add a mask on the page of the courseware accordingly, add annotation information, delete annotation information, etc. in the mask.
当然,上述作用于课件的操作只是作为示例,在实施本实施例时,可以根据实际情况设置其他作用于课件的操作。另外,除了上述作用于课件的操作外,本领域技术人员还可以根据实际需要采用其它作用于课件的操作。Of course, the above-mentioned operations on the courseware are just examples, and other operations on the courseware can be set according to actual conditions when implementing this embodiment. In addition, in addition to the aforementioned operations on the courseware, those skilled in the art can also use other operations on the courseware according to actual needs.
S305、将所述操作同步至所述授课终端与所述其他听课终端。S305. Synchronize the operation to the teaching terminal and the other listening terminals.
在本实施例中,当前听课终端对课件所执行的操作,可通过服务器发送至处于同一授课间的授课终端、除当前听课终端之外的其他听课终端,授课终端与其他听课终端均用于按照操作对课件进行处理,从而实现该操作在授课终端与其他听课终端的复现,保持课件状态的一致。In this embodiment, the operation performed by the current listening terminal on the courseware can be sent through the server to the teaching terminal in the same classroom, and other listening terminals except the current listening terminal. Both the teaching terminal and other listening terminals are used to follow The operation processes the courseware, so as to realize the recurrence of the operation on the teaching terminal and other listening terminals and keep the courseware status consistent.
需要说明的是,授课终端是按照该操作对处于授课终端本地的课件进行处理,其他听课终端是按照该操作对处于其他听课终端本地的课件进行处理。It should be noted that the teaching terminal processes the courseware local to the teaching terminal according to the operation, and other listening terminals process the courseware local to the other terminal according to the operation.
在本实施例中,该授课间登入有授课终端与其他听课终端,授课终端已上传课件至所述授课间,其他听课终端已下载并显示课件,听课终端显示授课间的界面,下载课件、以及在授课间的界面中显示课件,接收作用于课件的操作,按照操作对课件进行处理,将操作同步至授课终端与其他听课终端,授课终端与其他听课终端均用于按照操作对课件进行处理。In this embodiment, the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, other lecture terminals have downloaded and displayed the courseware, the lecture terminal displays the interface of the lecture room, downloads the courseware, and Display the courseware in the interface between the lectures, receive operations on the courseware, process the courseware according to the operation, and synchronize the operation to the teaching terminal and other listening terminals. The teaching terminal and other listening terminals are used to process the courseware according to the operation.
授权终端、听课终端在本地加载同一份课件,与针对课件采集视频数据并传输相比,由于直接显示课件,无需针对课件设置专业的影音设备,可降低设备成本课件在下载之后并不受限于网络传输,在网络环境较差的情况下,仍然可保证画面的清晰度。The authorized terminal and the listening terminal load the same courseware locally. Compared with the video data collected and transmitted for the courseware, because the courseware is directly displayed, there is no need to set up professional audio-visual equipment for the courseware, which can reduce the equipment cost. The courseware is not limited after downloading Network transmission, in the case of poor network environment, can still ensure the clarity of the picture.
听课终端对该课件执行的操作,可同步至授课终端、其他听课终端,授课终端、其他听课终端在本地同步该课件的状态,使得多方通过课件作为媒介形成互动。而课堂教学比较重 视学生的参与度,增强互动性,可以提高课堂教学的质量。The operation performed by the lecture terminal on the courseware can be synchronized to the lecture terminal and other lecture terminals. The lecture terminal and other lecture terminals synchronize the state of the courseware locally, so that multiple parties can interact through the courseware as a medium. Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
由于授课终端、其他听课终端本地存在课件,听课终端与授课终端、其他听课终端同步操作即可,该操作可使用纯文本流的指令表示,与针对课件采集视频数据并传输相比,传输的数据从视频数据变更为纯文本流的指令,纯文本流的指令的体积远小于视频数据体积,因此,传输纯文本流的指令可大大降低传输的数据量,从而大大降低了带宽的占用,大大降低了流量的成本,并且,传输纯文本流的指令可提高传输的速度,保证操作的实时性。Since the teaching terminal and other listening terminals have local courseware, the listening terminal can operate synchronously with the teaching terminal and other listening terminals. This operation can be expressed in a plain text stream. Compared with the video data collected and transmitted for the courseware, the transmitted data To change the instruction from video data to plain text stream, the volume of the instruction of plain text stream is much smaller than the volume of video data. Therefore, the instruction to transmit plain text stream can greatly reduce the amount of data transmitted, thereby greatly reducing the bandwidth occupation and greatly reducing The cost of traffic is reduced, and the instruction to transmit the plain text stream can increase the transmission speed and ensure the real-time operation.
实施例二Example two
图5为本发明实施例二提供的一种课件的操作方法的流程图,本实施例以前述实施例为基础,增加了同步多媒体数据、验证操作权限的处理操作。该方法可以包括如下步骤:Fig. 5 is a flowchart of a method for operating a courseware according to the second embodiment of the present invention. This embodiment is based on the foregoing embodiment and adds processing operations of synchronizing multimedia data and verifying operation rights. The method may include the following steps:
S501、显示授课间的界面。S501. Display the interface between the lectures.
其中,授课间登入有授课终端与其他听课终端,授课终端已上传课件至授课间,其他听课终端已下载并显示课件。Among them, the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed the courseware.
S502、下载所述课件、以及在所述授课间的界面中显示所述课件。S502. Download the courseware, and display the courseware in the interface of the classroom.
S503、播放来自于所述授课终端和/或所述其他听课终端的多媒体数据。S503: Play multimedia data from the lecture terminal and/or the other lecture terminal.
S504、采集多媒体数据。S504. Collect multimedia data.
S505、将所述多媒体数据同步至所述授课终端与所述其他听课终端。S505. Synchronize the multimedia data to the teaching terminal and the other listening terminals.
在授课的过程中,通常会有问答等环节,作为授课者的用户对课件进行讲解、提问,作为听课者的用户对课件进行回答、提问,为此,在本实施例中,授课终端与听课终端之间同步多媒体数据,从而使得作为授课者的用户与作为听课者的用户之间形成双向的互动。In the course of teaching, there are usually questions and answers and other links. The user as the instructor will explain and ask questions about the courseware, and the user as the listener will answer and ask questions about the courseware. For this reason, in this embodiment, the teaching terminal and the lecture The multimedia data is synchronized between the terminals, so that a two-way interaction is formed between the user as the lecturer and the user as the lecturer.
所谓同步,是指当前听课终端接收并播放来自于授课终端和/或其他听课终端的多媒体数据,授课终端与其他听课终端均接收并播放来自于当前听课终端的多媒体数据。The so-called synchronization means that the current lecture terminal receives and plays multimedia data from the teaching terminal and/or other lecture terminals, and both the lecture terminal and other lecture terminals receive and play the multimedia data from the current lecture terminal.
对于授课而言,多媒体数据可以为音频数据,即作为授课者的用户与作为听课者的用户之间通过语音进行互动,或者,多媒体数据可以同时包含视频数据、音频数据,即作为授课者的用户与作为听课者的用户之间通过语音、画面进行互动。For lectures, multimedia data can be audio data, that is, the user as the instructor and the user as the listener interact through voice, or the multimedia data can contain both video data and audio data, that is, the user as the instructor Interact with users who are lecturers through voice and screen.
需要说明的是,为了实现直播的效果,该多媒体数据可以为流式结构。It should be noted that, in order to achieve the effect of live broadcast, the multimedia data may have a streaming structure.
一方面,音频数据多为PCM(Pulse Code Modulation,脉冲编码调制)等原始数据,可调用编码器将音频数据编码为指定的音频格式,如AAC(Advanced Audio Coding,高级音频编码)等。On the one hand, audio data is mostly raw data such as PCM (Pulse Code Modulation), and the encoder can be called to encode the audio data into a specified audio format, such as AAC (Advanced Audio Coding, advanced audio coding).
另一方面,视频数据多为YUV(Y表示明亮度(Luminance、Luma),U表示色度(Chrominance),V表示浓度(Chroma))等原始数据,可调用编码器将视频数据编码为指定的视频格式,如H.264(数字视频压缩格式)等。On the other hand, the video data is mostly YUV (Y represents brightness (Luminance, Luma), U represents chrominance (Chrominance), V represents density (Chroma)) and other raw data, and the encoder can be called to encode the video data into a specified Video format, such as H.264 (digital video compression format), etc.
此后,可调用打包器,将指定音频格式的音频数据与指定视频格式的视频数据封装成指定流格式的多媒体数据,如MP4(Moving Picture Experts Group 4,动态图像专家组第四版)、FLV(Flash Video,流媒体格式)等等。After that, the packer can be called to encapsulate the audio data in the specified audio format and the video data in the specified video format into multimedia data in the specified stream format, such as MP4 (Moving Picture Experts Group 4, the fourth edition of the Moving Picture Experts Group), FLV ( Flash Video, streaming media format) and so on.
在本实施例中,服务器与授课终端、听课终端之间可通过RTSP(Real Time Streaming Protocol,实时流传送协议)、RTMP(Real Time Messaging Protocol,实时消息传送协议)、HLS(HTTP Live Streaming,基于HTTP(Hyper Text Transport Protocol,超文本传输协议)的流媒体传输协议)等协议传输多媒体数据。In this embodiment, RTSP (Real Time Streaming Protocol), RTMP (Real Time Messaging Protocol), HLS (HTTP Live Streaming, based on HTTP (Hyper Text Transport Protocol, the streaming media transmission protocol of Hypertext Transport Protocol) and other protocols transmit multimedia data.
在实现中,对于授课终端和/或其他听课终端而言,授课终端和/或其他听课终端配置有麦克风,该麦克风可用于采集作为授课者的用户和/或作为听课者的用户针对课件发出的声音,生成音频数据,将音频数据发送至服务器,从服务器将该音频数据发送至当前听课终端。In implementation, for the teaching terminal and/or other listening terminals, the teaching terminal and/or other listening terminals are equipped with a microphone, and the microphone can be used to collect the user who is the lecturer and/or the user who is the lecturer for the courseware. Sound, generate audio data, send the audio data to the server, and send the audio data from the server to the current lecture terminal.
或者,授课终端和/或其他听课终端配置有麦克风、摄像头,该麦克风可用于采集作为授 课者的用户和/或作为听课者的用户针对课件发出的声音,生成音频数据,该摄像头可用于采集作为授课者的用户和/或作为听课者的用户针对课件的画面,生成视频数据,将音频数据和视频数据发送至服务器,当前听课终端从服务器接收该音频数据和该视频数据。Alternatively, the teaching terminal and/or other listening terminals are equipped with a microphone and a camera, and the microphone can be used to collect the sound of the user as the instructor and/or the user as the listener for the courseware to generate audio data, and the camera can be used to collect as The user of the lecturer and/or the user who is the lecturer generates video data for the screen of the courseware, and sends the audio data and the video data to the server, and the current listening terminal receives the audio data and the video data from the server.
当前听课终端在接收到来自于授课终端和/或其他听课终端的多媒体数据之后,可检测当前听课终端是否通过HDMI(High Definition Multimedia Interface,高清晰度多媒体接口)等接口连接扩展设备,该扩展设备又称辅助设备,用于增强当前听课终端的功能,如辅助显示画面等,该扩展设备可以与该听课终端类型相同,也可以与该听课终端类型不同。After the current listening terminal receives multimedia data from the teaching terminal and/or other listening terminals, it can detect whether the current listening terminal is connected to an expansion device through HDMI (High Definition Multimedia Interface) interfaces, etc., the expansion device Also known as auxiliary equipment, it is used to enhance the functions of the current lecture terminal, such as auxiliary display screens, etc. The extended equipment can be the same type as the lecture terminal or different from the lecture terminal.
例如,若该听课终端为智能交互平板,该扩展设备可以为智能交互平板,也可以为个人电脑等等。For example, if the lecture terminal is a smart interactive tablet, the extension device may be a smart interactive tablet, or a personal computer, etc.
如果当前听课终端已连接扩展设备,则可以将来自于授课终端和/或其他听课终端的多媒体数据传输至扩展设备,在扩展设备播放该多媒体数据。If the current lecture terminal has been connected to an extension device, the multimedia data from the teaching terminal and/or other lecture terminals can be transmitted to the extension device, and the multimedia data can be played on the extension device.
其中,若该多媒体数据具有视频数据,则可以将全屏显示该视频数据。Wherein, if the multimedia data has video data, the video data can be displayed in full screen.
与此同时,当前听课终端保持显示课件、该课件的工具。At the same time, the current listening terminal keeps displaying the courseware and the tools of the courseware.
如果当前听课终端未连接扩展设备,则可以在当前听课终端播放该多媒体数据。If the current listening terminal is not connected to the expansion device, the multimedia data can be played on the current listening terminal.
其中,若该多媒体数据具有视频数据,则可以将最大化显示该视频数据,与此同时,当前听课终端置顶显示课件的工具。Wherein, if the multimedia data has video data, the video data can be maximized. At the same time, the current lecture terminal displays the tools of the courseware on top.
对于当前听课终端而言,当前听课终端配置有麦克风,该麦克风可用于采集作为听课者的用户针对课件发出的声音,生成音频数据,将音频数据发送至服务器,服务器将该音频数据发送至授课终端和/或其他听课终端。For the current listening terminal, the current listening terminal is equipped with a microphone, which can be used to collect the sound of the user as the listener for the courseware, generate audio data, send the audio data to the server, and the server sends the audio data to the teaching terminal And/or other listening terminal.
或者,当前听课终端配置有麦克风、摄像头,该麦克风可用于采集作为听课者的用户针对课件发出的声音,生成音频数据,该摄像头可用于采集作为听课者的用户针对课件的画面,生成视频数据,将音频数据和视频数据发送至服务器,服务器将该音频数据、视频数据发送至授课终端和/或其他听课终端。Alternatively, the current lecture terminal is equipped with a microphone and a camera, and the microphone can be used to collect the sound made by the user as the lecturer on the courseware to generate audio data, and the camera can be used to collect the user as the lecturer on the screen of the courseware to generate video data, The audio data and video data are sent to the server, and the server sends the audio data and video data to the lecture terminal and/or other lecture terminals.
在一些实施例中,若当前听课终端并不具备发言的权限,则如图4B所示,当前听课终端通过服务器向授课终端申请发言,授课终端收到该申请时,在授课间显示相应的申请信息,若授课终端点击该申请信息中的“接受”控件,则取消该申请信息,确认接受该发言的申请,此时,听课终端可采集多媒体数据;若授课终端点击该申请信息中的“拒绝”控件,则取消该申请信息,确认拒绝该发言的申请,此时,听课终端禁止采集多媒体数据;当然,在一定的时间(如1分钟)内,授课终端未点击“接受”控件或“拒绝”控件,则取消该申请信息,认拒绝该发言的申请,此时,听课终端禁止采集多媒体数据。In some embodiments, if the current lecture terminal does not have the permission to speak, as shown in Figure 4B, the current lecture terminal applies to the lecture terminal to speak through the server. When the lecture terminal receives the application, it displays the corresponding application in the lecture room. Information, if the teaching terminal clicks the "Accept" control in the application information, the application information will be cancelled and the application for the speech will be confirmed. At this time, the lecture terminal can collect multimedia data; if the teaching terminal clicks the "Reject" in the application information "Control, cancel the application information and confirm the rejection of the application to speak. At this time, the terminal is prohibited from collecting multimedia data; of course, within a certain period of time (such as 1 minute), the terminal does not click the "accept" control or "reject" ”Control, the application information is cancelled, and the application to speak is rejected. At this time, the listening terminal is prohibited from collecting multimedia data.
在本实施例中,当前听课终端的多媒体数据可同步至授课终端与其他听课终端,授课终端和/或其他听课终端的多媒体数据也可同步至当前听课终端,使得多方通过多媒体数据作为媒介形成互动。而课堂教学比较重视学生的参与度,增强互动性,可以提高课堂教学的质量。In this embodiment, the multimedia data of the current listening terminal can be synchronized to the teaching terminal and other listening terminals, and the multimedia data of the teaching terminal and/or other listening terminals can also be synchronized to the current listening terminal, so that multiple parties can interact through multimedia data as a medium . Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
此外,若听课终端已连接扩展设备,则在扩展设备播放来自于授课终端和/或其他听课终端的多媒体数据,在不同的设备显示课件、多媒体数据,可维持课件与多媒体数据具有足够的空间进行显示,保证课件、多媒体数据的清晰度。In addition, if the extension device is connected to the lecture terminal, the multimedia data from the teaching terminal and/or other lecture terminals will be played on the extension device, and the courseware and multimedia data will be displayed on different devices to maintain sufficient space for the courseware and multimedia data. Display to ensure the clarity of courseware and multimedia data.
S506、接收作用于所述课件的操作。S506: Receive an operation acting on the courseware.
S507、确定所述听课终端执行所述操作的权限。S507: Determine the authority of the lecture terminal to perform the operation.
在接收到作用于课件的操作时,可验证当前听课终端是否具备执行该操作的权限。When an operation acting on the courseware is received, it can be verified whether the current listening terminal has the authority to perform the operation.
在本实施例中,权限包括:In this embodiment, the permissions include:
1、用户角色操作权限1. User role operation permissions
在本实施例中,可基于RBAC对用户(以用户账号表示)的权限进行管理。In this embodiment, the authority of the user (represented by the user account) can be managed based on RBAC.
听课终端登录有用户账号,该用户账号关联用户角色,该用户角色关联权限。The lecture terminal is logged in with a user account, the user account is associated with a user role, and the user role is associated with permissions.
若用户角色未配置执行操作的权限,则听课终端不具备执行操作的用户角色操作权限;If the user role is not configured to perform operations, the terminal does not have the user role operation permissions to perform operations;
若用户角色已配置执行操作的权限,则听课终端具备执行操作的用户角色操作权限。If the user role has been configured to perform operations, the lecture terminal has the user role operation permissions to perform operations.
在实现中,用户账号与用户角色之间的关联关系,用户角色与权限之间的关联关系,在该用户账号登录在听课终端时,由服务器下发至听课终端。In the implementation, the association relationship between the user account and the user role, and the association relationship between the user role and the authority are issued by the server to the lecture terminal when the user account is logged in to the lecture terminal.
因此,在接收到作用于课件的操作时,可在听课终端本地确定在该听课终端登录的用户账号,确定该用户账号关联的用户角色,确定该用户角色关联的权限,确定该操作的操作类型、操作对象。Therefore, when an operation acting on the courseware is received, the user account logged in to the lecture terminal can be determined locally at the lecture terminal, the user role associated with the user account, the authority associated with the user role, and the operation type of the operation , Operation object.
其中,该操作对象指课件中被操作的对象,包括页面、页面中的元素、工具等等。Among them, the operation object refers to the object to be operated in the courseware, including pages, elements in the pages, tools, and so on.
对于页面,操作的类型可以包括翻转、增加、删除等。For pages, the types of operations can include flip, add, delete, etc.
对于元素,操作的类型可以包括旋转、拖动、缩放等。For elements, the types of operations can include rotate, drag, zoom, and so on.
对于工具,操作的类型可以包括添加、删除等。For tools, the types of operations can include add, delete, and so on.
将该用户角色关联的权限与该操作对象、该操作类型进行比较。Compare the permissions associated with the user role with the operation object and the operation type.
若该用户角色未配置针对该操作对象执行该操作类型的权限,则可以确定听课终端不具备执行操作的用户角色操作权限。If the user role is not configured with the permission to perform the operation type for the operation object, it can be determined that the lecture terminal does not have the user role operation permission to perform the operation.
若该用户角色已配置针对该操作对象执行该操作类型的权限,则可以确定听课终端具备执行操作的用户角色操作权限。If the user role has been configured to perform the operation type permission for the operation object, it can be determined that the lecture terminal has the user role operation permission for performing the operation.
当然,除了在听课终端本地检查用户角色操作权限之外,还可以在服务器检查用户角色操作权限,即确定在该听课终端登录的用户账号,确定该操作的操作类型、操作对象,将该用户账号、操作类型、操作对象发送至服务器,服务器确定该用户账号关联的用户角色,确定该用户角色关联的权限,将该用户角色关联的权限与该操作对象、该操作类型进行比较,并将比较的结果发送至听课终端。Of course, in addition to checking the user role operation authority locally on the lecture terminal, you can also check the user role operation authority on the server, that is, determine the user account logged in the lecture terminal, determine the operation type and operation object of the operation, and set the user account , The operation type and operation object are sent to the server. The server determines the user role associated with the user account, determines the permissions associated with the user role, compares the permissions associated with the user role with the operation object and the operation type, and compares The result is sent to the lecture terminal.
2、操作优先级权限2. Operation priority permissions
在本实施例中,在当前听课终端针对课件执行操作的同一时刻,授课终端和/或其他听课终端已执行作用于课件的其他操作。In this embodiment, at the same time when the current lecture terminal performs an operation on the courseware, the lecture terminal and/or other lecture terminals have already performed other operations that act on the courseware.
当前操作与其他操作可能存在冲突,因此,可将当前操作与其他操作进行比较。The current operation may conflict with other operations. Therefore, the current operation can be compared with other operations.
若操作与其他操作冲突,则听课终端不具备执行操作的操作优先级权限。If the operation conflicts with other operations, the lecture terminal does not have the operation priority authority to perform the operation.
若操作与其他操作未冲突,则听课终端具备执行操作的操作优先级权限。If the operation does not conflict with other operations, the lecture terminal has the operation priority authority to perform the operation.
在一些实施例中,可预先设定冲突规则,该冲突规则用于表示至少两个操作之间存在冲突。In some embodiments, a conflict rule may be preset, and the conflict rule is used to indicate that there is a conflict between at least two operations.
在一个冲突规则的示例中,若当前操作与其他操作均用于操作课件中的同一个元素,则当前操作与其他操作冲突。In an example of conflicting rules, if the current operation and other operations are both used to operate the same element in the courseware, the current operation conflicts with other operations.
在本示例中,禁止多个用户持续性操作课件中的同一个元素,例如,禁止多个用户持续性沿不同方向拖动同一个元素、禁止多个用户持续性按照不同的缩放比例缩放同一个元素、禁止多个用户持续性按照不同的角度旋转同一个元素,等等。In this example, multiple users are prohibited from continuously operating the same element in the courseware, for example, multiple users are prohibited from dragging the same element in different directions, and multiple users are prohibited from continuously zooming the same element at different zoom ratios. Element, prohibit multiple users from continuously rotating the same element according to different angles, etc.
在另一个冲突规则的示例中,若当前操作与其他操作均用于在课件上添加或删除批注信息,则当前操作与其他操作冲突。In another example of conflicting rules, if the current operation and other operations are both used to add or delete annotation information on the courseware, the current operation conflicts with other operations.
在本示例中,禁止多个用户同时添加和删除批注信息,避免某个用户添加的批注信息被其他用户删除。In this example, multiple users are prohibited from adding and deleting annotation information at the same time, so as to prevent the annotation information added by one user from being deleted by other users.
在另一个冲突规则的示例中,若当前操作用于操作课件中的页面,则当前操作与其他操作冲突。In another example of conflict rules, if the current operation is used to operate a page in the courseware, the current operation conflicts with other operations.
在本示例中,对于作用于课件页面的操作,如翻转页面、增加页面等,与其他操作是冲 突的。In this example, the operations that act on the courseware page, such as turning pages, adding pages, etc., conflict with other operations.
当然,上述冲突规则只是作为示例,在实施本实施例时,可以根据课件、业务需求等实际情况设置其他冲突规则,并且,该冲突规则可以在不同版本中进行增加、删除、修改,例如,在某些情况下,也可以允许多个用户持续性操作课件中的同一个元素,即若当前操作与其他操作均用于操作课件中的同一个元素,则当前操作与其他操作未发生冲突,如允许多个用户持续性拖动和旋转课件中的同一个元素;又例如,允许作用于课件页面的操作与播放动画的操作同时执行,等等。另外,除了上述冲突规则外,本领域技术人员还可以根据课件、业务需求等实际需要采用其它冲突规则。Of course, the above conflict rules are only examples. When implementing this embodiment, other conflict rules can be set according to actual conditions such as courseware and business requirements, and the conflict rules can be added, deleted, or modified in different versions, for example, in In some cases, it is also possible to allow multiple users to continuously operate the same element in the courseware, that is, if the current operation and other operations are used to operate the same element in the courseware, the current operation does not conflict with other operations, such as Allow multiple users to continuously drag and rotate the same element in the courseware; for example, allow the operation of the courseware page and the operation of playing animation to be performed at the same time, and so on. In addition, in addition to the aforementioned conflict rules, those skilled in the art can also adopt other conflict rules according to actual needs such as courseware and business requirements.
在实现中,确定在听课终端登录的用户账号、操作的操作类型、操作对象,将用户账号、操作类型与操作对象发送至服务器。In the implementation, the user account, the type of operation, and the object of the operation logged in at the lecture terminal are determined, and the user account, the type of operation, and the object of operation are sent to the server.
服务器用于在用户账号所处的授课间中,根据操作类型与操作对象确定当前操作与其他操作是否冲突、以验证听课终端是否具备执行当前操作的操作优先级权限。The server is used to determine whether the current operation conflicts with other operations according to the operation type and the operation object in the lecture room where the user account is located, so as to verify whether the lecture terminal has the operation priority authority to execute the current operation.
即服务器可向听课终端发送听课终端具备执行当前操作的操作优先级权限或听课终端不具备执行当前操作的操作优先级权限的结果。That is, the server may send to the lecture terminal the result that the lecture terminal has the operation priority authority to perform the current operation or the lecture terminal does not have the operation priority authority to perform the current operation.
在本实施例中,对同一时间作用于课件的多个操作验证是否冲突,拒绝发生冲突的操作,可以保证课件的正常、有序地操作,保证课堂教学的秩序,从而保证课堂教学的质量。In this embodiment, multiple operations that act on the courseware at the same time are verified whether they are in conflict, and conflicting operations are rejected, which can ensure the normal and orderly operation of the courseware, ensure the order of classroom teaching, and thus ensure the quality of classroom teaching.
S508、按照所述操作对所述课件进行处理。S508: Process the courseware according to the operation.
若验证当前听课终端具备执行该操作的权限,则允许按照该操作对课件进行处理。If it is verified that the current listening terminal has the authority to perform the operation, the courseware is allowed to be processed according to the operation.
若验证当前听课终端不具备执行操作的权限,则禁止按照该操作对课件进行处理,以及,显示提示信息,该提示信息用于提示禁止执行该操作。If it is verified that the current listening terminal does not have the authority to perform the operation, it is forbidden to process the courseware according to the operation, and a prompt message is displayed, which is used to prompt that the operation is prohibited.
在一种处理的方式中,在确定听课终端具备执行操作的权限之后,则按照操作对课件中的页面进行处理,获得处理结果,在课件上显示处理结果。In a processing method, after it is determined that the listening terminal has the authority to perform operations, the pages in the courseware are processed according to the operations, the processing results are obtained, and the processing results are displayed on the courseware.
例如,对于作用于课件页面的操作,若确定听课终端具备执行操作的权限,则按照操作对课件中的页面进行处理,如翻转页面、增加页面等。For example, for an operation that acts on a page of a courseware, if it is determined that the listening terminal has the authority to perform the operation, the page in the courseware will be processed according to the operation, such as turning pages, adding pages, etc.
在另一种处理的方式中,按照操作对课件中的页面进行处理,获得处理结果;若确定听课终端具备执行该操作的权限,则在课件上显示处理结果;若确定听课终端具备执行该操作的权限,则删除处理结果。In another processing method, the pages in the courseware are processed according to the operation to obtain the processing result; if it is determined that the listening terminal has the authority to perform the operation, the processing result is displayed on the courseware; if it is determined that the listening terminal is capable of performing the operation , Delete the processing result.
例如,对于批注信息,可按照该操作生成批注信息,该批注信息加载至内存中,暂不在用户界面显示。For example, for the annotation information, the annotation information can be generated according to this operation, and the annotation information is loaded into the memory and will not be displayed on the user interface temporarily.
若确定听课终端具备执行操作的权限,则在课件之上显示批注信息。If it is determined that the listening terminal has the authority to perform operations, the annotation information will be displayed on the courseware.
若确定听课终端具备执行操作的权限,则删除批注信息。If it is determined that the listening terminal has the authority to perform the operation, the annotation information will be deleted.
在本实施例中,由于预先对课件进行处理,可在确定听课终端具备执行该操作的权限之后可立即显示处理结果,在确定具备执行该操作的权限之后可节约处理的时间,从而加快了操作的响应速度。In this embodiment, because the courseware is processed in advance, the processing result can be displayed immediately after the terminal is determined to have the authority to perform the operation, and the processing time can be saved after the authority is determined to perform the operation, thereby speeding up the operation The response speed.
在另一种处理的方式中,可按照该操作对课件中的页面进行处理,并在课件显示处理的结果,在确定当前听课终端具备执行该操作的权限之后,维持该处理的结果,在确定当前听课终端不具备执行该操作的权限之后,撤销该处理的结果。In another processing method, the page in the courseware can be processed according to the operation, and the result of the processing can be displayed in the courseware. After confirming that the current listening terminal has the authority to perform the operation, the result of the processing can be maintained. After the current lecture terminal does not have the authority to perform the operation, the result of the processing is cancelled.
S509、将所述操作同步至所述授课终端与所述其他听课终端。S509. Synchronize the operation to the teaching terminal and the other listening terminals.
在实现中,当前听课终端确定在该听课终端登录的用户账号,操作的操作类型、操作对象、操作参数。In implementation, the current lecture terminal determines the user account logged in to the lecture terminal, the operation type, operation object, and operation parameters of the operation.
所谓操作参数,可以指用于执行操作的信息,例如,框选时是否可以被选中、缩放时是否固定宽高比例、是否显示边框线、是否可以捏缩放、是否显示选择框、是否开启删除功能、 是否开启置顶功能、是否开启克隆功能、是否开启旋转功能、是否可以设置边框颜色、是否可以设置填充颜色、是否开启3D旋转功能、原始位置,等等。The so-called operating parameters can refer to the information used to perform the operation, for example, whether it can be selected during frame selection, whether the aspect ratio is fixed when zooming, whether to display border lines, whether to zoom in or out, whether to display the selection box, whether to enable the delete function , Whether to enable the top function, whether to enable the clone function, whether to enable the rotation function, whether to set the border color, whether to set the fill color, whether to enable the 3D rotation function, original position, etc.
将用户账号、操作类型、操作对象与操作参数作为指令,发送至服务器,服务器用于将操作类型、操作对象与操作参数作为指令,发送至用户账号所处的授课间中的授课终端与其他听课终端。The user account, operation type, operation object, and operation parameters are sent to the server as instructions. The server is used to send the operation type, operation object and operation parameters as instructions to the teaching terminal and other lectures in the classroom where the user account is located. terminal.
授课终端与其他听课终端用于按照操作类型与操作参数对操作对象进行处理,获得处理结果,在课件上显示处理结果。The teaching terminal and other listening terminals are used to process the operation object according to the operation type and operation parameters, obtain the processing result, and display the processing result on the courseware.
在本实施例中,当前听课终端在缓存中设置发送缓存区,可缓存当前听课终端生成的指令,以该指令表征作用于课件的操作。In this embodiment, the current listening terminal sets a sending buffer area in the buffer, which can buffer the instructions generated by the current listening terminal, and use the instructions to characterize the operation acting on the courseware.
因此,可将操作写入预置的发送缓存区,每间隔预设的时间,将发送缓存区中的所有操作同步至授课终端与其他听课终端,即每间隔预设的时间,将发送缓存区中的所有针对操作生成的指令发送至服务器,服务器将该指令发送至授课终端与其他听课终端。Therefore, operations can be written into the preset sending buffer area, and all operations in the sending buffer area are synchronized to the teaching terminal and other listening terminals at a preset time interval, that is, the sending buffer area will be sent every preset time interval All the instructions generated for the operation in are sent to the server, and the server sends the instructions to the teaching terminal and other listening terminals.
一般情况下,该时间的值设置较小,如10ms,可保证操作的实时性。Generally, the value of this time is set to be small, such as 10ms, which can ensure the real-time operation.
在缓存操作的期间,可将当前操作与发送缓存区内的其他操作进行比较。During the buffer operation, the current operation can be compared with other operations in the sending buffer area.
若当前操作与发送缓存区内的其他操作相同,则操作重复,可滤除当前操作或其他操作。If the current operation is the same as other operations in the sending buffer area, the operation is repeated, and the current operation or other operations can be filtered out.
或者,or,
若当前操作覆盖发送缓存区内的其他操作,则其他操作相对于当前操作无效,可滤除其他操作。If the current operation covers other operations in the send buffer, the other operations are invalid relative to the current operation, and other operations can be filtered out.
例如,在发送缓存中内的其他操作将一个元素从位置A拖动到位置B,当前操作将该元素从位置B拖动到位置C,即对于该元素而言,最终出现的位置为位置C,则位置B无效。For example, other operations in the sending cache drag an element from position A to position B, and the current operation drags the element from position B to position C, that is, for this element, the final position is position C , Then position B is invalid.
在本实施例中,通过在发送缓存区缓存操作,便于操作之间进行对比,滤除相同的操作、相互覆盖的操作,从而滤除无效的操作,减少发送缓存区内的操作的数量,从而减少传输的数据量,减少带宽的占用。In this embodiment, by caching operations in the sending buffer area, it is convenient to compare operations, filtering out the same operations and overlapping operations, thereby filtering out invalid operations and reducing the number of operations in the sending buffer area, thereby Reduce the amount of data transmitted and reduce bandwidth usage.
在本实施例中,将验证操作权限与同步操作之间分离,一方面,服务器可将用于验证操作权限的锁服务与用于同步操作的指令服务分离,降低锁服务与指令服务之间的耦合,便于开发、维护锁服务与指令服务;另一方面,锁服务可以拒绝发生冲突的操作,从而减少指令服务管理的操作,可降低指令服务的负载。In this embodiment, the verification operation authority is separated from the synchronization operation. On the one hand, the server can separate the lock service used to verify the operation authority and the instruction service used for the synchronization operation, reducing the difference between the lock service and the instruction service. Coupling facilitates the development and maintenance of the lock service and the instruction service; on the other hand, the lock service can reject conflicting operations, thereby reducing the operation of the instruction service management and reducing the load of the instruction service.
实施例三Example three
图6为本发明实施例三提供的一种课件的操作方法的流程图,本实施例以前述实施例为基础,增加同步操作的处理操作。该方法可以包括如下步骤:FIG. 6 is a flowchart of a method for operating a courseware provided by Embodiment 3 of the present invention. This embodiment is based on the foregoing embodiment and adds processing operations for synchronization operations. The method may include the following steps:
S601、显示授课间的界面。S601. Display the interface between lectures.
其中,授课间登入有授课终端与其他听课终端,授课终端已上传课件至授课间,其他听课终端已下载并显示课件。Among them, the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed the courseware.
S602、下载所述课件、以及在所述授课间的界面中显示所述课件。S602. Download the courseware, and display the courseware in the interface of the classroom.
S603、接收来自于所述授课终端和/或所述其他听课终端作用于所述课件的操作。S603. Receive operations on the courseware from the lecture terminal and/or the other listening terminals.
S604、按照所述操作对所述课件进行处理。S604: Process the courseware according to the operation.
在本实施例中,当前听课终端可接收服务器发送的指令,该指令用于表示授课终端和/或其他听课终端作用于课件的操作。In this embodiment, the current lecture terminal may receive an instruction sent by the server, and the instruction is used to indicate the operation of the lecture terminal and/or other lecture terminal on the courseware.
响应于该操作,可按照该操作对课件进行处理,以同步授课终端和/或其他听课终端中课件的状态。In response to the operation, the courseware can be processed according to the operation to synchronize the state of the courseware in the teaching terminal and/or other listening terminals.
一般情况下,可确定时间轴,该时间轴用于同步来自于授课终端和/或其他听课终端的多媒体数据,当然,除了多媒体数据之外,该时间轴还可以用于同步其他数据。Generally, a time axis can be determined, and the time axis is used to synchronize multimedia data from the lecture terminal and/or other lecture terminals. Of course, in addition to multimedia data, the time axis can also be used to synchronize other data.
在指令中,确定该操作的操作时间,将操作时间同步至时间轴上。In the instruction, determine the operating time of the operation, and synchronize the operating time to the time axis.
在时间轴上到达该操作时间时,则按照该操作对课件进行处理。When the operation time is reached on the time axis, the courseware will be processed according to the operation.
在本实施例中,通过时间轴同步操作与多媒体数据,可以保证针对课件的操作与针对课件的讲解同步,从而保证课堂教学的质量。In this embodiment, by synchronizing the operation and multimedia data on the time axis, it can be ensured that the operation of the courseware is synchronized with the explanation of the courseware, thereby ensuring the quality of classroom teaching.
在实现中,可在该指令中,确定操作的操作类型、操作对象、操作参数,其中,该操作对象归属于课件,包括页面、页面中的元素、工具等。In the implementation, the operation type, operation object, and operation parameter of the operation can be determined in the instruction. The operation object belongs to the courseware, including the page, the elements in the page, and the tool.
按照操作类型、操作参数对操作对象进行处理,在课件上显示处理的结果。According to the operation type and operation parameters, the operation objects are processed, and the processing results are displayed on the courseware.
在本实施例中,授权终端、听课终端在本地加载同一份课件,授课终端、其他听课终端对该课件执行的操作,可同步至当前听课终端,当前听课终端在本地同步该课件的状态,使得多方通过课件作为媒介形成互动。而课堂教学比较重视学生的参与度,增强互动性,可以提高课堂教学的质量。In this embodiment, the authorized terminal and the listening terminal load the same courseware locally, and the operations performed by the teaching terminal and other listening terminals on the courseware can be synchronized to the current listening terminal. The current listening terminal synchronizes the status of the courseware locally, so that Many parties use courseware as a medium to form interaction. Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
实施例四Example four
图7为本发明实施例四提供的一种课件的操作方法的流程图,本实施例应用于授课终端、可适用于听课终端将作用于课件的操作同步至授课终端的情况,该方法可以由课件的操作装置来执行,该课件的操作装置可以由软件和/或硬件实现,可配置在计算机设备中,例如,智能交互平板、移动终端(如手机、平板电脑等)、个人电脑、智能穿戴设备(如智能眼镜、智能手表等),该方法可以包括如下步骤:FIG. 7 is a flowchart of a method for operating a courseware provided by the fourth embodiment of the present invention. This embodiment is applied to a teaching terminal and is applicable to a situation where the listening terminal synchronizes operations on the courseware to the teaching terminal. The method can be The operating device of the courseware can be implemented by software and/or hardware, and can be configured in computer equipment, for example, smart interactive tablet, mobile terminal (such as mobile phone, tablet computer, etc.), personal computer, smart wearable For devices (such as smart glasses, smart watches, etc.), the method may include the following steps:
S701、创建授课间,并显示所述授课间的界面。S701. Create a lecture room, and display the interface of the lecture room.
服务器可向该授课端配置房间编码(即ID)、房间地址(如URL)、界面等等。The server can configure the room code (ie ID), room address (such as URL), interface and so on to the lecturer.
在一些实施例中,该界面可为遵循页面的架构开发的页面,如HTML5、Web等,可在浏览器、具备页面容器的客户端加载、显示。In some embodiments, the interface may be a page developed following the structure of the page, such as HTML5, Web, etc., which may be loaded and displayed in a browser or a client with a page container.
所谓页面容器,可以指加载并展示页面的容器。The so-called page container can refer to the container that loads and displays the page.
在相关技术中,WebKit模块支持HTTP、HTTPS、FTP以及JS请求。In related technologies, the WebKit module supports HTTP, HTTPS, FTP, and JS requests.
WebView作为应用程序的UI接口,为用户提供了一系列的网页浏览、用户交互接口,客户程序通过这些接口访问WebKit核心代码。As the UI interface of the application, WebView provides users with a series of web browsing and user interaction interfaces. Client programs access the core code of WebKit through these interfaces.
S702、上传课件至所述授课间。S702. Upload the courseware to the classroom.
在授课端创建授课间之后,可将课件上传至服务器,该服务器将该授课间与该课件关联,此时,该课件可称之为云课件,其他听课终端可从服务器同步该云课件。After the lecture room is created on the lecture side, the courseware can be uploaded to the server, and the server associates the lecture room with the courseware. At this time, the courseware can be called cloud courseware, and other listening terminals can synchronize the cloud courseware from the server.
所谓课件,可以指是根据教学的要求,经过教学目标确定,教学内容和任务分析,教学活动结构及界面设计等环节,而加以制作的课程文档,例如,PPT、seewo,等等。The so-called courseware can refer to the course documents produced according to the teaching requirements, through the determination of teaching objectives, the analysis of teaching content and tasks, the structure of teaching activities and interface design, such as PPT, seewo, etc.
在本实施例中,授课间登入有听课终端,听课终端已下载并显示课件。In this embodiment, a lecture terminal is logged in between lectures, and the lecture terminal has downloaded and displayed the courseware.
在实现中,在授课端创建授课间之后,如图4B所示,听课终端可登入该授课间,显示该授课间的界面。In implementation, after the lecture room is created on the lecture terminal, as shown in FIG. 4B, the lecture terminal can log in to the lecture room and display the interface of the lecture room.
在另一种方式中,如图4B所示,授课端或听课端的用户在授课间的界面输入在其他听课端登录的用户帐号,邀请其登入授课间。In another way, as shown in FIG. 4B, the user at the lecture end or the lecture end enters the user account logged in at other lecture ends on the interface of the lecture room, and invites them to log in to the lecture room.
当然,上述登入授课间的方式只是作为示例,在实施本实施例时,可以根据实际情况设置其他登入授课间的方式。另外,除了上述登入授课间的方式外,本领域技术人员还可以根据实际需要采用其它登入授课间的方式。Of course, the above-mentioned method of logging in to the lecture room is just an example. When implementing this embodiment, other methods of logging in to the lecture room can be set according to the actual situation. In addition, in addition to the above-mentioned method of logging in to the classroom, those skilled in the art can also use other methods of logging in to the classroom according to actual needs.
S703、在所述授课间的界面中显示所述课件。S703. Display the courseware on the interface of the lecture room.
对于授课终端,如果课件在本地,则可加载该课件,并在授课间的界面中显示该课件;如果课件不在本地,则可从服务器同步属于该授课间的课件,将该课件下载至本地,如缓存,以及,在授课间的界面中显示该课件。For the teaching terminal, if the courseware is local, the courseware can be loaded and displayed in the interface of the classroom; if the courseware is not locally, the courseware belonging to the classroom can be synchronized from the server, and the courseware can be downloaded locally, Such as caching, and displaying the courseware in the interface between lectures.
S704、接收所述听课终端作用于所述课件的操作。S704. Receive the operation of the course listening terminal acting on the courseware.
在本实施例中,授课终端在缓存中设置接收缓存区,可缓存服务器发送的、听课终端生成的指令,以该指令表征作用于课件的操作。In this embodiment, the teaching terminal sets a receiving buffer area in the buffer, which can buffer the instructions sent by the server and generated by the listening terminal, and use the instructions to characterize the operation on the courseware.
S705、按照所述操作对所述课件进行处理。S705: Process the courseware according to the operation.
在本实施例中,响应于用户对于课件的操作,可按照该操作对课件进行处理,获得处理结果,在课件上显示该处理结果。In this embodiment, in response to the user's operation on the courseware, the courseware can be processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware.
在本实施例中,创建授课间,并显示授课间的界面,上传课件至授课间,授课间登入有听课终端,听课终端已下载并显示课件,在授课间的界面中显示课件,接收听课终端作用于课件的操作,按照操作对课件进行处理。In this embodiment, a lecture room is created, and the interface of the lecture room is displayed, the courseware is uploaded to the lecture room, the lecture terminal is logged in in the lecture room, the lecture terminal has downloaded and displayed the courseware, the courseware is displayed in the interface of the lecture room, and the lecture terminal is received Act on the operation of the courseware, and process the courseware according to the operation.
实施例五Example five
图8为本发明实施例五提供的一种课件的操作方法的流程图,本实施例以前述实施例为基础,增加了同步多媒体数据的处理操作。该方法可以包括如下步骤:FIG. 8 is a flowchart of a method for operating a courseware provided by Embodiment 5 of the present invention. This embodiment is based on the foregoing embodiment and adds processing operations of synchronized multimedia data. The method may include the following steps:
S801、创建授课间,并显示所述授课间的界面。S801. Create a lecture room, and display the interface of the lecture room.
S802、上传课件至所述授课间。S802. Upload the courseware to the classroom.
其中,授课间登入有听课终端,听课终端已下载并显示课件。Among them, the lecture terminal is logged in between the lectures, and the lecture terminal has downloaded and displayed the courseware.
S803、在所述授课间的界面中显示所述课件。S803. Display the courseware in the interface of the lecture room.
S804、采集多媒体数据。S804. Collect multimedia data.
S805、将所述多媒体数据同步至所述听课终端。S805: Synchronize the multimedia data to the lecture terminal.
其中,听课终端用于播放多媒体数据。Among them, the lecture terminal is used to play multimedia data.
S806、播放来自于所述授课终端的多媒体数据。S806: Play multimedia data from the teaching terminal.
需要说明的是,为了实现直播的效果,该多媒体数据可以为流式结构。It should be noted that, in order to achieve the effect of live broadcast, the multimedia data may have a streaming structure.
一方面,音频数据多为PCM等原始数据,可调用编码器将音频数据编码为指定的音频格式,如AAC等。On the one hand, the audio data is mostly raw data such as PCM, and the encoder can be called to encode the audio data into a specified audio format, such as AAC.
另一方面,视频数据多为YUV等原始数据,可调用编码器将视频数据编码为指定的视频格式,如H.264等。On the other hand, the video data is mostly raw data such as YUV, and the encoder can be called to encode the video data into a specified video format, such as H.264.
此后,可调用打包器,将指定音频格式的音频数据与指定视频格式的视频数据封装成指定流格式的多媒体数据,如MP4、FLV等等。After that, the packer can be called to encapsulate the audio data of the specified audio format and the video data of the specified video format into multimedia data of the specified stream format, such as MP4, FLV, etc.
在本实施例中,服务器与授课终端、听课终端之间可通过RTSP、RTMP、HLS等协议传输多媒体数据。In this embodiment, multimedia data can be transmitted between the server and the lecture terminal and the lecture terminal through protocols such as RTSP, RTMP, and HLS.
在实现中,对于授课终端和/或其他听课终端而言,授课终端和/或其他听课终端配置有麦克风,该麦克风可用于采集作为授课者的用户和/或作为听课者的用户针对课件发出的声音,生成音频数据,将音频数据发送至服务器,从服务器将该音频数据发送至当前听课终端。In implementation, for the teaching terminal and/or other listening terminals, the teaching terminal and/or other listening terminals are equipped with a microphone, and the microphone can be used to collect the user who is the lecturer and/or the user who is the lecturer for the courseware. Sound, generate audio data, send the audio data to the server, and send the audio data from the server to the current lecture terminal.
或者,授课终端和/或其他听课终端配置有麦克风、摄像头,该麦克风可用于采集作为授课者的用户和/或作为听课者的用户针对课件发出的声音,生成音频数据,该摄像头可用于采集作为授课者的用户和/或作为听课者的用户针对课件的画面,生成视频数据,将音频数据和视频数据发送至服务器,当前听课终端从服务器接收该音频数据和该视频数据。Alternatively, the teaching terminal and/or other listening terminals are equipped with a microphone and a camera, and the microphone can be used to collect the sound of the user as the instructor and/or the user as the listener for the courseware to generate audio data, and the camera can be used to collect as The user of the lecturer and/or the user who is the lecturer generates video data for the screen of the courseware, and sends the audio data and the video data to the server, and the current listening terminal receives the audio data and the video data from the server.
授课终端在接收到来自于听课终端的多媒体数据之后,可检测授课终端是否通过HDMI等接口连接扩展设备,该扩展设备又称辅助设备,用于增强当前听课终端的功能,如辅助显示画面等,该扩展设备可以与该听课终端类型相同,也可以与该听课终端类型不同。After receiving the multimedia data from the lecture terminal, the lecture terminal can detect whether the lecture terminal is connected to an extension device through HDMI or other interfaces. The extension device is also called an auxiliary device, which is used to enhance the functions of the current lecture terminal, such as auxiliary display screens. The extension device can be of the same type as the lecture terminal or different from the lecture terminal.
例如,若该授课终端为智能交互平板,该扩展设备可以为智能交互平板,也可以为个人电脑等等。For example, if the teaching terminal is a smart interactive tablet, the extension device can be a smart interactive tablet, or a personal computer, etc.
如果授课终端已连接扩展设备,则可以将来自于听课终端的多媒体数据传输至扩展设备, 在扩展设备播放该多媒体数据。If the teaching terminal is connected to the extension device, the multimedia data from the lecture terminal can be transmitted to the extension device, and the multimedia data can be played on the extension device.
其中,若该多媒体数据具有视频数据,则可以将全屏显示该视频数据。Wherein, if the multimedia data has video data, the video data can be displayed in full screen.
与此同时,授课终端保持显示课件、该课件的工具。At the same time, the teaching terminal keeps displaying the courseware and the tools for the courseware.
如果授课终端未连接扩展设备,则可以在授课终端播放该多媒体数据。If the teaching terminal is not connected to the expansion device, the multimedia data can be played on the teaching terminal.
其中,若该多媒体数据具有视频数据,则可以将最大化显示该视频数据,与此同时,授课终端置顶显示课件的工具。Wherein, if the multimedia data has video data, the video data can be displayed to the maximum. At the same time, the teaching terminal displays the tools of the courseware on top.
在本实施例中,授课终端的多媒体数据可同步至听课终端,听课终端的多媒体数据也可同步至授课终端,使得多方通过多媒体数据作为媒介形成互动。而课堂教学比较重视学生的参与度,增强互动性,可以提高课堂教学的质量。In this embodiment, the multimedia data of the lecture terminal can be synchronized to the lecture terminal, and the multimedia data of the lecture terminal can also be synchronized to the lecture terminal, so that multiple parties can interact through multimedia data as a medium. Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
此外,若授课终端已连接扩展设备,则在扩展设备播放来自于听课终端的多媒体数据,在不同的设备显示课件、多媒体数据,可维持课件与多媒体数据具有足够的空间进行显示,保证课件、多媒体数据的清晰度。In addition, if the teaching terminal is connected to the extension device, the multimedia data from the listening terminal will be played on the extension device, and the courseware and multimedia data will be displayed on different devices. This can maintain sufficient space for the display of the courseware and multimedia data to ensure that the courseware and multimedia The clarity of the data.
S807、接收所述听课终端作用于所述课件的操作。S807. Receive the operation of the course listening terminal acting on the courseware.
S808、按照所述操作对所述课件进行处理。S808: Process the courseware according to the operation.
在本实施例中,授课终端可接收服务器发送的指令,该指令用于表示听课终端作用于课件的操作。In this embodiment, the lecture terminal may receive an instruction sent by the server, and the instruction is used to indicate the operation of the lecture terminal on the courseware.
响应于该操作,可按照该操作对课件进行处理,以同步听课终端中课件的状态。In response to this operation, the courseware can be processed according to the operation to synchronize the status of the courseware in the lecture terminal.
一般情况下,可确定时间轴,该时间轴用于同步来自于听课终端的多媒体数据,当然,除了多媒体数据之外,该时间轴还可以用于同步其他数据。Generally, a time axis can be determined, and the time axis is used to synchronize multimedia data from the lecture terminal. Of course, in addition to multimedia data, the time axis can also be used to synchronize other data.
在指令中,确定该操作的操作时间,将操作时间同步至时间轴上。In the instruction, determine the operating time of the operation, and synchronize the operating time to the time axis.
在时间轴上到达该操作时间时,则按照该操作对课件进行处理。When the operation time is reached on the time axis, the courseware will be processed according to the operation.
在本实施例中,通过时间轴同步操作与多媒体数据,可以保证针对课件的操作与针对课件的讲解同步,从而保证课堂教学的质量。In this embodiment, by synchronizing the operation and multimedia data on the time axis, it can be ensured that the operation of the courseware is synchronized with the explanation of the courseware, thereby ensuring the quality of classroom teaching.
在实现中,可在该指令中,确定操作的操作类型、操作对象、操作参数,其中,该操作对象归属于课件,包括页面、页面中的元素、工具等。In the implementation, the operation type, operation object, and operation parameter of the operation can be determined in the instruction. The operation object belongs to the courseware, including the page, the elements in the page, and the tool.
按照操作类型、操作参数对操作对象进行处理,在课件上显示处理的结果。According to the operation type and operation parameters, the operation objects are processed, and the processing results are displayed on the courseware.
在本实施例中,授权终端、听课终端在本地加载同一份课件,授课终端、其他听课终端对该课件执行的操作,可同步至当前听课终端,当前听课终端在本地同步该课件的状态,使得多方通过课件作为媒介形成互动。而课堂教学比较重视学生的参与度,增强互动性,可以提高课堂教学的质量。In this embodiment, the authorized terminal and the listening terminal load the same courseware locally, and the operations performed by the teaching terminal and other listening terminals on the courseware can be synchronized to the current listening terminal. The current listening terminal synchronizes the status of the courseware locally, so that Many parties use courseware as a medium to form interaction. Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
实施例六Example Six
图9为本发明实施例六提供的一种课件的操作方法的流程图,本实施例以前述实施例为基础,可以增加同步操作、验证操作权限的处理操作。该方法可以包括如下步骤:FIG. 9 is a flowchart of a method for operating a courseware provided by Embodiment 6 of the present invention. Based on the foregoing embodiment, this embodiment can add processing operations for synchronization operations and verification of operation permissions. The method may include the following steps:
S901、创建授课间,并显示所述授课间的界面。S901. Create a lecture room and display the interface of the lecture room.
S902、上传课件至所述授课间。S902. Upload the courseware to the classroom.
其中,授课间登入有听课终端,听课终端已下载并显示课件。Among them, the lecture terminal is logged in between the lectures, and the lecture terminal has downloaded and displayed the courseware.
S903、在所述授课间的界面中显示所述课件。S903. Display the courseware in the interface of the lecture room.
S904、接收作用于所述课件的操作。S904. Receive an operation acting on the courseware.
在本实施例中,用户可以通过触控的方式,利用手指或者触控笔点击操作课件,以使授课终端接收到作用于课件的操作。或者是,用户通过与授课终端连接的外置设备,利用键控的方式操作课件,以使授课终端接收到作用于课件的操作。其中,外置设备可以包括鼠标、键盘、翻页笔等。In this embodiment, the user can use a finger or a stylus to click and operate the courseware by means of touch, so that the teaching terminal can receive the operation on the courseware. Or, the user operates the courseware in a keyed manner through an external device connected to the teaching terminal, so that the teaching terminal can receive the operation on the courseware. Among them, the external device may include a mouse, a keyboard, a page turning pen, etc.
S905、确定所述授课终端执行所述操作的权限。S905: Determine the authority of the teaching terminal to perform the operation.
在接收到作用于课件的操作时,可验证授权终端是否具备执行该操作的权限。When an operation acting on the courseware is received, it can be verified whether the authorized terminal has the authority to perform the operation.
在本实施例中,权限包括:In this embodiment, the permissions include:
1、用户角色操作权限1. User role operation permissions
在本实施例中,可基于RBAC对用户(以用户账号表示)的权限进行管理。In this embodiment, the authority of the user (represented by the user account) can be managed based on RBAC.
授课终端登录有用户账号,该用户账号关联用户角色,该用户角色关联权限。The teaching terminal is logged in with a user account, the user account is associated with a user role, and the user role is associated with permissions.
若用户角色未配置执行操作的权限,则授课终端不具备执行操作的用户角色操作权限;If the user role is not configured to perform operations, the teaching terminal does not have the user role operation permissions to perform operations;
若用户角色已配置执行操作的权限,则授课终端具备执行操作的用户角色操作权限。If the user role has been configured to perform operations, the teaching terminal has the user role operation permissions to perform operations.
在实现中,用户账号与用户角色之间的关联关系,用户角色与权限之间的关联关系,在该用户账号登录在听课终端时,由服务器下发至授课终端。In the implementation, the association relationship between the user account and the user role, and the association relationship between the user role and the authority are issued by the server to the teaching terminal when the user account is logged in to the lecture terminal.
因此,在接收到作用于课件的操作时,可在授课终端本地确定在该授课终端登录的用户账号,确定该用户账号关联的用户角色,确定该用户角色关联的权限,确定该操作的操作类型、操作对象。Therefore, when an operation acting on the courseware is received, the user account logged in the teaching terminal can be determined locally on the teaching terminal, the user role associated with the user account, the authority associated with the user role, and the operation type of the operation , Operation object.
将该用户角色关联的权限与该操作对象、该操作类型进行比较。Compare the permissions associated with the user role with the operation object and the operation type.
若该用户角色未配置针对该操作对象执行该操作类型的权限,则可以确定授课终端不具备执行操作的用户角色操作权限。If the user role is not configured with the permission to perform the operation type for the operation object, it can be determined that the teaching terminal does not have the user role operation permission to perform the operation.
若该用户角色已配置针对该操作对象执行该操作类型的权限,则可以确定授课终端具备执行操作的用户角色操作权限。If the user role has been configured with the permission to perform the operation type for the operation object, it can be determined that the teaching terminal has the user role operation permission to perform the operation.
当然,除了在授课终端本地检查用户角色操作权限之外,还可以在服务器检查用户角色操作权限,即确定在该授课终端登录的用户账号,确定该操作的操作类型、操作对象,将该用户账号、操作类型、操作对象发送至服务器,服务器确定该用户账号关联的用户角色,确定该用户角色关联的权限,将该用户角色关联的权限与该操作对象、该操作类型进行比较,并将比较的结果发送至授课终端。Of course, in addition to checking the user role operation permissions locally on the teaching terminal, you can also check the user role operation permissions on the server, that is, determine the user account logged in the teaching terminal, determine the operation type and operation object of the operation, and set the user account , The operation type and operation object are sent to the server. The server determines the user role associated with the user account, determines the permissions associated with the user role, compares the permissions associated with the user role with the operation object and the operation type, and compares The result is sent to the teaching terminal.
2、操作优先级权限2. Operation priority permissions
在本实施例中,在授课终端针对课件执行操作的同一时刻,听课终端已执行作用于课件的其他操作。In this embodiment, at the same time when the lecture terminal performs an operation on the courseware, the lecture terminal has already performed other operations that act on the courseware.
当前操作与其他操作可能存在冲突,因此,可将当前操作与其他操作进行比较。The current operation may conflict with other operations. Therefore, the current operation can be compared with other operations.
若操作与其他操作冲突,则授课终端不具备执行操作的操作优先级权限。If the operation conflicts with other operations, the teaching terminal does not have the operation priority authority to perform the operation.
若操作与其他操作未冲突,则授课终端具备执行操作的操作优先级权限。If the operation does not conflict with other operations, the teaching terminal has the operation priority authority to perform the operation.
在实现中,确定在授课终端登录的用户账号、操作的操作类型、操作对象,将用户账号、操作类型与操作对象发送至服务器。In the implementation, the user account, the type of operation, and the object of operation logged in the teaching terminal are determined, and the user account, type of operation, and operation object are sent to the server.
服务器用于在用户账号所处的授课间中,根据操作类型与操作对象确定当前操作与其他操作是否冲突、以验证授课终端是否具备执行当前操作的操作优先级权限。The server is used to determine whether the current operation conflicts with other operations according to the operation type and the operation object in the teaching room where the user account is located, so as to verify whether the teaching terminal has the operation priority authority to execute the current operation.
即服务器可向授课终端发送听课终端具备执行当前操作的操作优先级权限或授课终端不具备执行当前操作的操作优先级权限的结果。That is, the server can send to the teaching terminal the result that the listening terminal has the operation priority authority to perform the current operation or the teaching terminal does not have the operation priority authority to perform the current operation.
在本实施例中,对同一时间作用于课件的多个操作验证是否冲突,拒绝发生冲突的操作,可以保证课件的正常、有序地操作,保证课堂教学的秩序,从而保证课堂教学的质量。In this embodiment, multiple operations that act on the courseware at the same time are verified whether they are in conflict, and conflicting operations are rejected, which can ensure the normal and orderly operation of the courseware, ensure the order of classroom teaching, and thus ensure the quality of classroom teaching.
S906、按照所述操作对所述课件进行处理。S906: Process the courseware according to the operation.
若验证授课终端具备执行该操作的权限,则允许按照该操作对课件进行处理。If it is verified that the teaching terminal has the authority to perform the operation, the courseware is allowed to be processed in accordance with the operation.
若验证授课终端不具备执行操作的权限,则禁止按照该操作对课件进行处理,以及,显示提示信息,该提示信息用于提示禁止执行该操作。If it is verified that the teaching terminal does not have the authority to perform the operation, it is forbidden to process the courseware according to the operation, and a prompt message is displayed, which is used to prompt that the operation is prohibited.
在一种处理的方式中,在确定授课终端具备执行操作的权限之后,则按照操作对课件中 的页面进行处理,获得处理结果,在课件上显示处理结果。In a processing method, after determining that the teaching terminal has the authority to perform the operation, the page in the courseware is processed according to the operation, the processing result is obtained, and the processing result is displayed on the courseware.
例如,对于作用于课件页面的操作,若确定听课终端具备执行操作的权限,则按照操作对课件中的页面进行处理,如翻转页面、增加页面等。For example, for an operation that acts on a page of a courseware, if it is determined that the listening terminal has the authority to perform the operation, the page in the courseware will be processed according to the operation, such as turning pages, adding pages, etc.
在另一种处理的方式中,按照操作对课件中的页面进行处理,获得处理结果;若确定授课终端具备执行该操作的权限,则在课件上显示处理结果;若确定授课终端具备执行该操作的权限,则删除处理结果。In another processing method, the page in the courseware is processed according to the operation to obtain the processing result; if it is determined that the teaching terminal has the authority to perform the operation, the processing result is displayed on the courseware; if it is determined that the teaching terminal is capable of performing the operation , Delete the processing result.
例如,对于批注信息,可按照该操作生成批注信息,该批注信息加载至内存中,暂不在用户界面显示。For example, for the annotation information, the annotation information can be generated according to this operation, and the annotation information is loaded into the memory and will not be displayed on the user interface temporarily.
若确定听课终端具备执行操作的权限,则在课件之上显示批注信息。If it is determined that the listening terminal has the authority to perform operations, the annotation information will be displayed on the courseware.
若确定听课终端具备执行操作的权限,则删除批注信息。If it is determined that the listening terminal has the authority to perform the operation, the annotation information will be deleted.
在本实施例中,由于预先对课件进行处理,可在确定授课终端具备执行该操作的权限之后可立即显示处理结果,在确定具备执行该操作的权限之后可节约处理的时间,从而加快了操作的响应速度。In this embodiment, because the courseware is processed in advance, the processing result can be displayed immediately after the teaching terminal is determined to have the authority to perform the operation, and the processing time can be saved after the authority is determined to perform the operation, thereby speeding up the operation The response speed.
在另一种处理的方式中,可按照该操作对课件中的页面进行处理,并在课件显示处理的结果,在确定授课终端具备执行该操作的权限之后,维持该处理的结果,在确定授课终端不具备执行该操作的权限之后,撤销该处理的结果。In another processing method, the page in the courseware can be processed according to the operation, and the result of the processing can be displayed in the courseware. After confirming that the teaching terminal has the authority to execute the operation, the result of the processing can be maintained. After the terminal does not have the authority to perform the operation, the result of the processing is cancelled.
S907、将所述操作同步至所述听课终端。S907. Synchronize the operation to the lecture terminal.
在本实施例中,授课终端对课件所执行的操作,可通过服务器发送至处于同一授课间的听课终端,听课终端均用于按照操作对课件进行处理,从而实现该操作在听课终端的复现,保持课件状态的一致。In this embodiment, the operation performed by the lecture terminal on the courseware can be sent to the lecture terminal in the same lecture room through the server, and the lecture terminal is used to process the courseware according to the operation, so as to realize the recurrence of the operation on the lecture terminal , Keep the courseware status consistent.
需要说明的是,听课终端是按照该操作对处于该听课终端本地的课件进行处理。It should be noted that the lecture terminal processes the courseware locally in the lecture terminal according to the operation.
在实现中,授课终端确定在该授课终端登录的用户账号,操作的操作类型、操作对象、操作参数。In implementation, the teaching terminal determines the user account logged in to the teaching terminal, the operation type, operation object, and operation parameters of the operation.
将用户账号、操作类型、操作对象与操作参数作为指令,发送至服务器,服务器用于将操作类型、操作对象与操作参数作为指令,发送至用户账号所处的授课间中的听课终端。The user account, operation type, operation object, and operation parameter are sent to the server as instructions, and the server is used to send the operation type, operation object, and operation parameters as instructions to the lecture terminal in the classroom where the user account is located.
听课终端用于按照操作类型与操作参数对操作对象进行处理,获得处理结果,在课件上显示处理结果。The lecture terminal is used to process the operation object according to the operation type and operation parameters, obtain the processing result, and display the processing result on the courseware.
在本实施例中,授课终端在缓存中设置发送缓存区,可缓存授权终端生成的指令,以该指令表征作用于课件的操作。In this embodiment, the teaching terminal sets a sending buffer area in the buffer, which can buffer the instructions generated by the authorized terminal, and use the instructions to characterize the operation on the courseware.
因此,可将操作写入预置的发送缓存区,每间隔预设的时间,将发送缓存区中的所有操作同步至听课终端,即每间隔预设的时间,将发送缓存区中的所有针对操作生成的指令发送至服务器,服务器将该指令发送至听课终端。Therefore, operations can be written into the preset sending buffer area, and all operations in the sending buffer area will be synchronized to the lecture terminal every preset time interval, that is, all the targets in the sending buffer area will be sent at the preset time interval. The instruction generated by the operation is sent to the server, and the server sends the instruction to the lecture terminal.
在本实施例中,授权终端、听课终端在本地加载同一份课件,授课终端对该课件执行的操作,可同步至当前听课终端,当前听课终端在本地同步该课件的状态,使得多方通过课件作为媒介形成互动。而课堂教学比较重视学生的参与度,增强互动性,可以提高课堂教学的质量。In this embodiment, the authorized terminal and the listening terminal load the same courseware locally. The operations performed by the teaching terminal on the courseware can be synchronized to the current listening terminal. The current listening terminal synchronizes the status of the courseware locally, so that multiple parties can use the courseware as The medium forms an interaction. Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
实施例七Example Seven
图10为本发明实施例四提供的一种课件的操作方法的流程图,本实施例可适用于听课终端将作用于课件的操作同步至授课终端的情况,该方法可以由课件的操作装置来执行,该课件的操作装置可以由软件和/或硬件实现,可配置在服务器中,该方法可以包括如下步骤:FIG. 10 is a flowchart of a method for operating a courseware provided by the fourth embodiment of the present invention. This embodiment is applicable to a situation where the listening terminal synchronizes operations on the courseware to the teaching terminal. The method can be performed by the courseware operating device To execute, the operating device of the courseware can be implemented by software and/or hardware, and can be configured in a server. The method can include the following steps:
S1001、为授课终端创建授课间。S1001, create a lecture room for the lecture terminal.
S1002、接收所述授课终端上传至所述授课间的课件。S1002. Receive the courseware uploaded by the teaching terminal to the classroom.
在本实施例中,授课间登入授课终端、听课终端,授课终端上传课件至该授课间,听课终端已下载并显示授课间的课件。In this embodiment, the lecture terminal and the lecture terminal are logged in between the lecture rooms, the lecture terminal uploads the courseware to the lecture room, and the lecture terminal has downloaded and displayed the courseware in the lecture room.
在实现中,在授课端创建授课间之后,可将课件上传至服务器,该服务器将该授课间与该课件关联,此时,该课件可称之为云课件,其他听课终端可从服务器同步该云课件。In implementation, after the lecture room is created on the lecture side, the courseware can be uploaded to the server, and the server associates the lecture room with the courseware. At this time, the courseware can be called cloud courseware, and other lecture terminals can synchronize the courseware from the server. Cloud courseware.
所谓课件,可以指是根据教学的要求,经过教学目标确定,教学内容和任务分析,教学活动结构及界面设计等环节,而加以制作的课程文档,例如,PPT、seewo,等等。The so-called courseware can refer to the course documents produced according to the teaching requirements, through the determination of teaching objectives, the analysis of teaching content and tasks, the structure of teaching activities and interface design, such as PPT, seewo, etc.
在本实施例中,授课间登入有听课终端,听课终端已下载并显示课件。In this embodiment, a lecture terminal is logged in between lectures, and the lecture terminal has downloaded and displayed the courseware.
在实现中,在授课端创建授课间之后,如图4B所示,听课终端可登入该授课间,显示该授课间的界面。In implementation, after the lecture room is created on the lecture terminal, as shown in FIG. 4B, the lecture terminal can log in to the lecture room and display the interface of the lecture room.
对于授课终端,如果课件在本地,则可加载该课件,并在授课间的界面中显示该课件;如果课件不在本地,则可从服务器同步属于该授课间的课件,将该课件下载至本地,如缓存,以及,在授课间的界面中显示该课件。For the teaching terminal, if the courseware is local, the courseware can be loaded and displayed in the interface of the classroom; if the courseware is not locally, the courseware belonging to the classroom can be synchronized from the server, and the courseware can be downloaded locally, Such as caching, and displaying the courseware in the interface between lectures.
对于听课终端,可从服务器同步属于该授课间的课件,将该课件下载至本地,如缓存,以及,在授课间的界面中显示该课件。For the lecture terminal, the courseware belonging to the lecture room can be synchronized from the server, the courseware can be downloaded to the local, such as cache, and the courseware can be displayed in the interface of the lecture room.
S1003、接收所述听课终端作用于所述课件的操作。S1003. Receive an operation of the course listening terminal acting on the courseware.
在一些实施例中,听课终端响应于用户对于课件的操作,可按照该操作对课件进行处理,获得处理结果,在课件上显示该处理结果。In some embodiments, in response to the user's operation on the courseware, the listening terminal may process the courseware according to the operation, obtain the processing result, and display the processing result on the courseware.
在一些实施例中,课件包括一个或多个页面、在每个页面上具有一个或多个元素,针对每个页面,可提供操作批注信息的工具。In some embodiments, the courseware includes one or more pages, each page has one or more elements, and for each page, a tool for operating annotation information can be provided.
对于页面,接收作用于该页面的操作,如翻转、增加、删除等,则可以相应地向上翻页、向下翻页,增加页面、删除页面等。For a page, receiving operations that act on the page, such as flipping, adding, deleting, etc., can correspondingly flip up, down, add, and delete pages.
对于元素,接收作用于该元素的操作,如旋转、拖动、缩放等,则可以相应地在该课件的页面中旋转元素、拖动元素、缩放元素等。For an element, receiving operations that act on the element, such as rotating, dragging, zooming, etc., can rotate, drag, or zoom the element on the page of the courseware accordingly.
对于工具,接收作用于该工具的操作,如添加、删除等,则可以相应地在课件的页面之上增加蒙层,在该蒙层中增加批注信息、删除批注信息等。For a tool, if you receive operations that act on the tool, such as adding, deleting, etc., you can add a mask on the page of the courseware accordingly, add annotation information, delete annotation information, etc. in the mask.
当然,上述作用于课件的操作只是作为示例,在实施本实施例时,可以根据实际情况设置其他作用于课件的操作。另外,除了上述作用于课件的操作外,本领域技术人员还可以根据实际需要采用其它作用于课件的操作。Of course, the above-mentioned operations on the courseware are just examples, and other operations on the courseware can be set according to actual conditions when implementing this embodiment. In addition, in addition to the aforementioned operations on the courseware, those skilled in the art can also use other operations on the courseware according to actual needs.
S1004、将所述操作发送至所述授课终端与其他听课终端。S1004. Send the operation to the teaching terminal and other listening terminals.
在本实施例中,创建授课间,授课间登入授课终端、听课终端,听课终端已下载并显示授课间的课件,接收授课终端上传的课件,接收听课终端作用于课件的操作,将操作发送至授课终端与其他听课终端,授课终端与其他听课终端均用于按照操作对课件进行处理。In this embodiment, a lecture room is created, the lecture room logs in to the lecture terminal and the lecture terminal, the lecture terminal has downloaded and displayed the courseware in the lecture room, receives the courseware uploaded by the lecture terminal, receives the operation of the lecture terminal on the courseware, and sends the operation to The teaching terminal and other listening terminals, and the teaching terminal and other listening terminals are used to process the courseware according to the operation.
授权终端、听课终端在本地加载同一份课件,与针对课件采集视频数据并传输相比,由于直接显示课件,无需针对课件设置专业的影音设备,可降低设备成本课件在下载之后并不受限于网络传输,在网络环境较差的情况下,仍然可保证画面的清晰度。The authorized terminal and the listening terminal load the same courseware locally. Compared with the video data collected and transmitted for the courseware, because the courseware is directly displayed, there is no need to set up professional audio-visual equipment for the courseware, which can reduce the equipment cost. The courseware is not limited after downloading Network transmission, in the case of poor network environment, can still ensure the clarity of the picture.
听课终端对该课件执行的操作,可同步至授课终端、其他听课终端,授课终端、其他听课终端在本地同步该课件的状态,使得多方通过课件作为媒介形成互动。而课堂教学比较重视学生的参与度,增强互动性,可以提高课堂教学的质量。The operation performed by the lecture terminal on the courseware can be synchronized to the lecture terminal and other lecture terminals. The lecture terminal and other lecture terminals synchronize the state of the courseware locally, so that multiple parties can interact through the courseware as a medium. Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
由于授课终端、其他听课终端本地存在课件,听课终端与授课终端、其他听课终端同步操作即可,该操作可使用纯文本流的指令表示,与针对课件采集视频数据并传输相比,传输的数据从视频数据变更为纯文本流的指令,纯文本流的指令的体积远小于视频数据体积,因 此,传输纯文本流的指令可大大降低传输的数据量,从而大大降低了带宽的占用,大大降低了流量的成本,并且,传输纯文本流的指令可提高传输的速度,保证操作的实时性。Since the teaching terminal and other listening terminals have local courseware, the listening terminal can operate synchronously with the teaching terminal and other listening terminals. This operation can be expressed in a plain text stream. Compared with the video data collected and transmitted for the courseware, the transmitted data To change the instruction from video data to plain text stream, the volume of the instruction of plain text stream is much smaller than the volume of video data. Therefore, the instruction to transmit plain text stream can greatly reduce the amount of data transmitted, thereby greatly reducing the bandwidth occupation and greatly reducing The cost of traffic is reduced, and the instruction to transmit the plain text stream can increase the transmission speed and ensure the real-time operation.
实施例八Example eight
图11为本发明实施例八提供的一种课件的操作方法的流程图,本实施例以前述实施例为基础,增加了同步多媒体数据、验证操作权限的处理操作。该方法可以包括如下步骤:FIG. 11 is a flowchart of a method for operating a courseware according to the eighth embodiment of the present invention. Based on the foregoing embodiment, this embodiment adds processing operations of synchronizing multimedia data and verifying operation rights. The method may include the following steps:
S1101、为授课终端创建授课间。S1101 Create a lecture room for the lecture terminal.
S1102、接收所述授课终端上传至所述授课间的课件。S1102. Receive the courseware uploaded by the teaching terminal to the classroom.
其中,授课间登入授课终端、听课终端,听课终端已下载并显示授课间的课件。Among them, the lecture room logs in to the lecture terminal and the lecture terminal, and the lecture terminal has downloaded and displayed the courseware in the lecture room.
S1103、接收来自于所述授课终端的多媒体数据。S1103. Receive multimedia data from the teaching terminal.
S1104、将所述多媒体数据发送至所述听课终端。S1104. Send the multimedia data to the lecture terminal.
其中,听课终端均用于播放多媒体数据;Among them, the listening terminal is used to play multimedia data;
S1105、接收来自于所述听课终端的多媒体数据。S1105. Receive multimedia data from the lecture terminal.
S1106、将所述多媒体数据发送至所述授课终端与所述其他听课终端。S1106. Send the multimedia data to the teaching terminal and the other listening terminals.
其中,授课终端与其他听课终端均用于播放多媒体数据。Among them, the teaching terminal and other listening terminals are used to play multimedia data.
在授课的过程中,通常会有问答等环节,作为授课者的用户对课件进行讲解、提问,作为听课者的用户对课件进行回答、提问,为此,在本实施例中,授课终端与听课终端之间同步多媒体数据,从而使得作为授课者的用户与作为听课者的用户之间形成双向的互动。In the course of teaching, there are usually questions and answers and other links. The user as the instructor will explain and ask questions about the courseware, and the user as the listener will answer and ask questions about the courseware. For this reason, in this embodiment, the teaching terminal and the lecture The multimedia data is synchronized between the terminals, so that a two-way interaction is formed between the user as the lecturer and the user as the lecturer.
所谓同步,是指某个听课终端接收并播放来自于授课终端和/或其他听课终端的多媒体数据,授课终端与其他听课终端均接收并播放来自于当前听课终端的多媒体数据。The so-called synchronization means that a certain listening terminal receives and plays the multimedia data from the teaching terminal and/or other listening terminals, and both the teaching terminal and other listening terminals receive and play the multimedia data from the current listening terminal.
在本实施例中,授课终端的多媒体数据可同步至听课终端,听课终端的多媒体数据也可同步至授课终端,使得多方通过多媒体数据作为媒介形成互动。而课堂教学比较重视学生的参与度,增强互动性,可以提高课堂教学的质量。In this embodiment, the multimedia data of the lecture terminal can be synchronized to the lecture terminal, and the multimedia data of the lecture terminal can also be synchronized to the lecture terminal, so that multiple parties can interact through multimedia data as a medium. Classroom teaching pays more attention to the participation of students and enhances interaction, which can improve the quality of classroom teaching.
S1107、确定所述听课终端执行作用于所述课件的操作的权限。S1107. Determine the authority of the listening terminal to perform operations on the courseware.
在听课终端执行作用于课件的操作时,服务器可验证当前听课终端是否具备执行该操作的权限。When the lecture terminal performs an operation on the courseware, the server can verify whether the current lecture terminal has the authority to perform the operation.
在一些实施例中,可确定冲突规则,冲突规则用于表示至少两个操作之间存在冲突。In some embodiments, a conflict rule may be determined, and the conflict rule is used to indicate that there is a conflict between at least two operations.
确定其他操作的操作类型、操作对象;Determine the operation type and operation object of other operations;
若操作的操作类型、操作对象与其他操作的操作类型、操作对象符合冲突规则,则确定听课终端不具备执行所述操作的操作优先级权限;If the operation type of the operation, the operation object and the operation type of other operations, and the operation object comply with the conflicting rules, it is determined that the listening terminal does not have the operation priority authority to perform the operation;
若操作的操作类型、操作对象与其他操作的操作类型、操作对象不符合冲突规则,则确定听课终端具备执行操作的操作优先级权限。If the operation type of the operation, the operation object and the operation type of other operations, and the operation object do not conform to the conflict rules, it is determined that the listening terminal has the operation priority authority to perform the operation.
在确定权限之后,服务器可向听课终端发送听课终端具备执行当前操作的操作优先级权限或听课终端不具备执行当前操作的操作优先级权限的结果。After the authority is determined, the server may send to the lecture terminal a result that the lecture terminal has the operation priority authority to perform the current operation or the lecture terminal does not have the operation priority authority to perform the current operation.
在本实施例中,对同一时间作用于课件的多个操作验证是否冲突,拒绝发生冲突的操作,可以保证课件的正常、有序地操作,保证课堂教学的秩序,从而保证课堂教学的质量。In this embodiment, multiple operations that act on the courseware at the same time are verified whether they are in conflict, and conflicting operations are rejected, which can ensure the normal and orderly operation of the courseware, ensure the order of classroom teaching, and thus ensure the quality of classroom teaching.
S1108、接收所述听课终端作用于所述课件的操作。S1108. Receive the operation of the course listening terminal acting on the courseware.
将用户账号、操作类型、操作对象与操作参数作为指令,发送至服务器,相对而言,服务器可接收听课终端上传的指令,指令包括在听课终端登录的用户账号,操作的操作类型、操作对象、操作参数。The user account, operation type, operation object and operation parameters are sent to the server as instructions. Relatively speaking, the server can receive instructions uploaded by the lecture terminal. The instructions include the user account logged in the lecture terminal, the operation type, operation object, Operating parameters.
在本实施例中,当前听课终端在缓存中设置发送缓存区,可缓存当前听课终端生成的指令,以该指令表征作用于课件的操作。In this embodiment, the current listening terminal sets a sending buffer area in the buffer, which can buffer the instructions generated by the current listening terminal, and use the instructions to characterize the operation acting on the courseware.
因此,可将操作写入预置的发送缓存区,每间隔预设的时间,将发送缓存区中的所有操 作同步至授课终端与其他听课终端,即每间隔预设的时间,将发送缓存区中的所有针对操作生成的指令发送至服务器。Therefore, operations can be written into the preset sending buffer area, and all operations in the sending buffer area are synchronized to the teaching terminal and other listening terminals at a preset time interval, that is, the sending buffer area will be sent every preset time interval All instructions generated for the operation in are sent to the server.
一般情况下,该时间的值设置较小,如10ms,可保证操作的实时性。Generally, the value of this time is set to be small, such as 10ms, which can ensure the real-time operation.
S1109、将所述操作发送至所述授课终端与其他听课终端。S1109. Send the operation to the teaching terminal and other listening terminals.
其中,授课终端与其他听课终端均用于按照操作对课件进行处理。Among them, the teaching terminal and other listening terminals are used to process the courseware according to the operation.
在本实施例中,服务器在接收到听课终端的指令之后,将操作类型、操作对象与操作参数作为新的指令,发送至用户账号所处的授课间中的授课终端与其他听课终端。In this embodiment, after receiving the instruction from the lecture terminal, the server sends the operation type, operation object, and operation parameters as new instructions to the lecture terminal and other lecture terminals in the lecture room where the user account is located.
授课终端与其他听课终端均用于按照操作类型、操作参数对操作对象进行处理,获得处理结果,在课件上显示处理结果。Both the teaching terminal and other listening terminals are used to process the operation object according to the operation type and operation parameters, obtain the processing result, and display the processing result on the courseware.
实施例九Example 9
图12为本发明实施例九提供的一种课件的操作方法的流程图,本实施例以前述实施例为基础,增加了授权终端的操作的处理操作。该方法可以包括如下步骤:FIG. 12 is a flowchart of a method for operating a courseware according to the ninth embodiment of the present invention. This embodiment is based on the foregoing embodiment and adds processing operations for authorized terminal operations. The method may include the following steps:
S1201、为授课终端创建授课间。S1201. Create a lecture room for the lecture terminal.
S1202、接收所述授课终端上传至所述授课间的课件。S1202. Receive the courseware uploaded by the teaching terminal to the classroom.
其中,授课间登入有听课终端,听课终端已下载并显示课件。Among them, the lecture terminal is logged in between the lectures, and the lecture terminal has downloaded and displayed the courseware.
S1203、确定所述授课终端执行作用于所述课件的操作的权限。S1203. Determine the authority of the teaching terminal to perform operations on the courseware.
在授课终端执行作用于课件的操作时,服务器可验证授课终端是否具备执行该操作的权限。When the teaching terminal performs an operation that acts on the courseware, the server can verify whether the teaching terminal has the authority to perform the operation.
在本实施例中,权限包括:In this embodiment, the permissions include:
1、用户角色操作权限1. User role operation permissions
在本实施例中,可基于RBAC对用户(以用户账号表示)的权限进行管理。In this embodiment, the authority of the user (represented by the user account) can be managed based on RBAC.
听课终端登录有用户账号,该用户账号关联用户角色,该用户角色关联权限。The lecture terminal is logged in with a user account, the user account is associated with a user role, and the user role is associated with permissions.
若用户角色未配置执行操作的权限,则听课终端不具备执行操作的用户角色操作权限;If the user role is not configured to perform operations, the terminal does not have the user role operation permissions to perform operations;
若用户角色已配置执行操作的权限,则听课终端具备执行操作的用户角色操作权限。If the user role has been configured to perform operations, the lecture terminal has the user role operation permissions to perform operations.
在实现中,用户账号与用户角色之间的关联关系,用户角色与权限之间的关联关系,在该用户账号登录在听课终端时,由服务器下发至听课终端。In the implementation, the association relationship between the user account and the user role, and the association relationship between the user role and the authority are issued by the server to the lecture terminal when the user account is logged in to the lecture terminal.
因此,在接收到作用于课件的操作时,可在听课终端本地确定在该听课终端登录的用户账号,确定该用户账号关联的用户角色,确定该用户角色关联的权限,确定该操作的操作类型、操作对象。Therefore, when an operation acting on the courseware is received, the user account logged in to the lecture terminal can be determined locally at the lecture terminal, the user role associated with the user account, the authority associated with the user role, and the operation type of the operation , Operation object.
其中,该操作对象指课件中被操作的对象,包括页面、页面中的元素、工具等等。Among them, the operation object refers to the object to be operated in the courseware, including pages, elements in the pages, tools, and so on.
对于页面,操作的类型可以包括翻转、增加、删除等。For pages, the types of operations can include flip, add, delete, etc.
对于元素,操作的类型可以包括旋转、拖动、缩放等。For elements, the types of operations can include rotate, drag, zoom, and so on.
对于工具,操作的类型可以包括添加、删除等。For tools, the types of operations can include add, delete, and so on.
将该用户角色关联的权限与该操作对象、该操作类型进行比较。Compare the permissions associated with the user role with the operation object and the operation type.
若该用户角色未配置针对该操作对象执行该操作类型的权限,则可以确定听课终端不具备执行操作的用户角色操作权限。If the user role is not configured with the permission to perform the operation type for the operation object, it can be determined that the lecture terminal does not have the user role operation permission to perform the operation.
若该用户角色已配置针对该操作对象执行该操作类型的权限,则可以确定听课终端具备执行操作的用户角色操作权限。If the user role has been configured to perform the operation type permission for the operation object, it can be determined that the lecture terminal has the user role operation permission for performing the operation.
当然,除了在听课终端本地检查用户角色操作权限之外,还可以在服务器检查用户角色操作权限,即确定在该听课终端登录的用户账号,确定该操作的操作类型、操作对象,将该用户账号、操作类型、操作对象发送至服务器,服务器确定该用户账号关联的用户角色,确定该用户角色关联的权限,将该用户角色关联的权限与该操作对象、该操作类型进行比较, 并将比较的结果发送至听课终端。Of course, in addition to checking the user role operation authority locally on the lecture terminal, you can also check the user role operation authority on the server, that is, determine the user account logged in the lecture terminal, determine the operation type and operation object of the operation, and set the user account The operation type and operation object are sent to the server. The server determines the user role associated with the user account, determines the permissions associated with the user role, compares the permissions associated with the user role with the operation object and the operation type, and compares The result is sent to the lecture terminal.
2、操作优先级权限2. Operation priority permissions
在本实施例中,在当前听课终端针对课件执行操作的同一时刻,授课终端和/或其他听课终端已执行作用于课件的其他操作。In this embodiment, at the same time when the current lecture terminal performs an operation on the courseware, the lecture terminal and/or other lecture terminals have already performed other operations that act on the courseware.
当前操作与其他操作可能存在冲突,因此,可将当前操作与其他操作进行比较。The current operation may conflict with other operations. Therefore, the current operation can be compared with other operations.
若操作与其他操作冲突,则听课终端不具备执行操作的操作优先级权限。If the operation conflicts with other operations, the lecture terminal does not have the operation priority authority to perform the operation.
若操作与其他操作未冲突,则听课终端具备执行操作的操作优先级权限。If the operation does not conflict with other operations, the lecture terminal has the operation priority authority to perform the operation.
在实现中,服务器接收授课终端上传的权限参数,该权限参数包括在授课终端登录的用户账号、操作的操作类型、操作对象。In the implementation, the server receives the authority parameters uploaded by the teaching terminal, and the authority parameters include the user account logged in at the teaching terminal, the operation type of the operation, and the operation object.
服务器可根据操作类型与操作对象确定操作与其他操作是否冲突、以验证授课终端是否具备执行该操作的操作优先级权限。The server can determine whether the operation conflicts with other operations according to the operation type and the operation object, so as to verify whether the teaching terminal has the operation priority authority to perform the operation.
确定其他操作的操作类型、操作对象;Determine the operation type and operation object of other operations;
若操作的操作类型、操作对象与其他操作的操作类型、操作对象符合冲突规则,则确定授课终端不具备执行操作的操作优先级权限。If the operation type of the operation, the operation object and the operation type and operation object of other operations conform to the conflicting rules, it is determined that the teaching terminal does not have the operation priority authority to perform the operation.
若操作的操作类型、操作对象与其他操作的操作类型、操作对象不符合冲突规则,则确定授课终端具备执行操作的操作优先级权限。If the operation type of the operation, the operation object and the operation type of other operations, and the operation object do not meet the conflict rules, it is determined that the teaching terminal has the operation priority authority to perform the operation.
在确定权限之后,服务器可向授课终端发送授课终端具备执行当前操作的操作优先级权限或授课终端不具备执行当前操作的操作优先级权限的结果。After determining the authority, the server may send to the teaching terminal a result that the teaching terminal has the operation priority authority to perform the current operation or the teaching terminal does not have the operation priority authority to perform the current operation.
在本实施例中,对同一时间作用于课件的多个操作验证是否冲突,拒绝发生冲突的操作,可以保证课件的正常、有序地操作,保证课堂教学的秩序,从而保证课堂教学的质量。In this embodiment, multiple operations that act on the courseware at the same time are verified whether they are in conflict, and conflicting operations are rejected, which can ensure the normal and orderly operation of the courseware, ensure the order of classroom teaching, and thus ensure the quality of classroom teaching.
S1204、接收所述授课终端作用于所述课件的操作。S1204. Receive the operation of the teaching terminal on the courseware.
在一些实施例中,授课终端响应于用户对于课件的操作,可按照该操作对课件进行处理,获得处理结果,在课件上显示该处理结果。In some embodiments, in response to the user's operation on the courseware, the teaching terminal can process the courseware according to the operation, obtain the processing result, and display the processing result on the courseware.
在实现中,授课终端确定在该听课终端登录的用户账号,操作的操作类型、操作对象、操作参数。In implementation, the lecture terminal determines the user account logged in to the lecture terminal, the operation type, operation object, and operation parameters of the operation.
授课终端将用户账号、操作类型、操作对象与操作参数作为指令,发送至服务器,相对而言,服务器可接收授课终端上传的指令,指令包括在听课终端登录的用户账号,操作的操作类型、操作对象、操作参数。The teaching terminal sends the user account, operation type, operation object and operation parameters as instructions to the server. Relatively speaking, the server can receive the instructions uploaded by the teaching terminal. The instructions include the user account logged in at the lecture terminal, the operation type and operation Objects and operating parameters.
在本实施例中,授课终端在缓存中设置发送缓存区,可缓存当前听课终端生成的指令,以该指令表征作用于课件的操作。In this embodiment, the teaching terminal sets a sending buffer area in the buffer, which can buffer the instructions generated by the current listening terminal, and use the instructions to characterize the operation on the courseware.
因此,可将操作写入预置的发送缓存区,每间隔预设的时间,将发送缓存区中的所有操作同步至授课终端与其他听课终端,即每间隔预设的时间,将发送缓存区中的所有针对操作生成的指令发送至服务器。Therefore, operations can be written into the preset sending buffer area, and all operations in the sending buffer area are synchronized to the teaching terminal and other listening terminals at a preset time interval, that is, the sending buffer area will be sent every preset time interval All instructions generated for the operation in are sent to the server.
一般情况下,该时间的值设置较小,如10ms,可保证操作的实时性。Generally, the value of this time is set to be small, such as 10ms, which can ensure the real-time operation.
S1205、将所述操作发送至所述听课终端。S1205. Send the operation to the lecture terminal.
其中,听课终端均用于按照操作对课件进行处理。Among them, the listening terminal is used to process the courseware according to the operation.
在本实施例中,服务器在接收到听课终端的指令之后,将操作类型、操作对象与操作参数发送至用户账号所处的授课间中的听课终端。In this embodiment, after receiving the instruction from the lecture terminal, the server sends the operation type, operation object, and operation parameters to the lecture terminal in the classroom where the user account is located.
听课终端均用于按照操作类型、操作参数对操作对象进行处理,获得处理结果,在课件上显示处理结果。The lecture terminal is used to process the operation object according to the operation type and operation parameters, obtain the processing result, and display the processing result on the courseware.
在本实施例中,将验证操作权限与同步操作之间分离,一方面,服务器可将用于验证操作权限的锁服务与用于同步操作的指令服务分离,降低锁服务与指令服务之间的耦合,便于 开发、维护锁服务与指令服务;另一方面,锁服务可以拒绝发生冲突的操作,从而减少指令服务管理的操作,可降低指令服务的负载。In this embodiment, the verification operation authority is separated from the synchronization operation. On the one hand, the server can separate the lock service used to verify the operation authority and the instruction service used for the synchronization operation, reducing the difference between the lock service and the instruction service. Coupling facilitates the development and maintenance of the lock service and the instruction service; on the other hand, the lock service can reject conflicting operations, thereby reducing the operation of the instruction service management and reducing the load of the instruction service.
实施例十Example ten
图13为本发明实施例十提供的一种课件的操作装置的结构示意图,该装置可以包括如下模块:Fig. 13 is a schematic structural diagram of a courseware operating device provided by Embodiment 10 of the present invention. The device may include the following modules:
授课间显示模块1301,用于显示授课间的界面,所述授课间登入有授课终端与其他听课终端,所述授课终端已上传课件至所述授课间,所述其他听课终端已下载并显示所述课件;The lecture room display module 1301 is used to display the interface of the lecture room. The lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed all Describe courseware;
课件显示模块1302,用于下载所述课件、以及在所述授课间的界面中显示所述课件;The courseware display module 1302 is used to download the courseware and display the courseware in the interface of the lecture room;
第一操作接收模块1303,用于接收作用于所述课件的操作;The first operation receiving module 1303 is configured to receive operations acting on the courseware;
第一课件处理模块1304,用于按照所述操作对所述课件进行处理;The first courseware processing module 1304 is configured to process the courseware according to the operation;
操作同步模块1305,用于将所述操作同步至所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作对所述课件进行处理。The operation synchronization module 1305 is configured to synchronize the operation to the teaching terminal and the other listening terminal, and both the teaching terminal and the other listening terminal are used to process the courseware according to the operation.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
多媒体数据采集模块,用于采集多媒体数据;Multimedia data collection module for collecting multimedia data;
多媒体数据同步模块,用于将所述多媒体数据同步至所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于播放所述多媒体数据;A multimedia data synchronization module, configured to synchronize the multimedia data to the teaching terminal and the other listening terminals, and both the teaching terminal and the other listening terminals are used to play the multimedia data;
和/或,and / or,
多媒体数据播放模块,用于播放来自于所述授课终端和/或所述其他听课终端的多媒体数据。The multimedia data playing module is used to play multimedia data from the teaching terminal and/or the other listening terminals.
在本申请的一个实施例中,所述多媒体数据播放模块还用于:In an embodiment of the present application, the multimedia data playing module is further used to:
若所述听课终端已连接扩展设备,则在所述扩展设备播放来自于所述授课终端和/或所述其他听课终端的多媒体数据。If the lecture terminal is connected to an extension device, the multimedia data from the lecture terminal and/or the other lecture terminal is played on the extension device.
在本申请的一个实施例中,所述操作同步模块1305还用于:In an embodiment of the present application, the operation synchronization module 1305 is further configured to:
将所述操作写入预置的发送缓存区;Write the operation into a preset sending buffer area;
每间隔预设的时间,将所述发送缓存区中的所有所述操作同步至所述授课终端与所述其他听课终端。Every preset time interval, all the operations in the sending buffer area are synchronized to the teaching terminal and the other listening terminals.
在本申请的一个实施例中,所述操作同步模块1305还用于:In an embodiment of the present application, the operation synchronization module 1305 is further configured to:
若所述操作与所述发送缓存区内的其他操作相同,则滤除所述操作;If the operation is the same as other operations in the sending buffer area, filter out the operation;
或者,or,
若所述操作覆盖所述发送缓存区内的其他操作,则滤除所述其他操作。If the operation covers other operations in the sending buffer area, the other operations are filtered out.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
权限确定模块,用于确定所述听课终端执行所述操作的权限。The authority determination module is used to determine the authority of the lecture terminal to perform the operation.
在本申请的一个实施例中,所述听课终端登录有用户账号,所述用户账号关联用户角色;所述授课终端和/或所述其他听课终端已执行作用于所述课件的其他操作;In an embodiment of the present application, the lecture terminal is logged in with a user account, and the user account is associated with a user role; the lecture terminal and/or the other lecture terminal have performed other operations on the courseware;
所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
若所述用户角色未配置执行所述操作的权限,则所述听课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the lecture terminal does not have the user role operation authority to perform the operation;
若所述用户角色已配置执行所述操作的权限,则所述听课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the lecture terminal has the user role operation authority to perform the operation;
若所述操作与所述其他操作冲突,则所述听课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the lecture terminal does not have the operation priority authority to perform the operation;
若所述操作与所述其他操作未冲突,则所述听课终端具备执行所述操作的操作优先级权 限。If the operation does not conflict with the other operations, the lecture terminal has the operation priority right to execute the operation.
在本发明实施例的一个示例中,若所述操作与所述其他操作均用于操作所述课件中的同一个元素,则所述操作与所述其他操作冲突;In an example of the embodiment of the present invention, if the operation and the other operation are both used to operate the same element in the courseware, the operation conflicts with the other operation;
若所述操作与所述其他操作均用于在所述课件上添加或删除批注信息,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to add or delete annotation information on the courseware, the operation conflicts with the other operations;
若所述操作用于操作所述课件中的页面,则所述操作与所述其他操作冲突。If the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
在本申请的一个实施例中,所述权限确定模块还用于:In an embodiment of the present application, the authority determining module is further used for:
确定在所述听课终端登录的用户账号、所述操作的操作类型、操作对象;Determine the user account logged in at the lecture terminal, the operation type of the operation, and the operation object;
将所述用户账号、所述操作类型与所述操作对象发送至服务器,所述服务器用于在所述用户账号所处的授课间中,根据所述操作类型与所述操作对象确定所述操作与其他操作是否冲突、以验证所述听课终端是否具备执行所述操作的操作优先级权限。The user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the lecture terminal has the operation priority authority to perform the operation.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
提示信息显示模块,用于若所述听课终端不具备执行所述操作的权限,则显示提示信息,所述提示信息用于提示禁止执行所述操作。The prompt information display module is configured to display prompt information if the lecture terminal does not have the authority to perform the operation, and the prompt information is used to prompt that the operation is prohibited.
在本申请的一个实施例中,所述第一课件处理模块1304还用于:In an embodiment of the present application, the first courseware processing module 1304 is further configured to:
在确定所述听课终端具备执行所述操作的权限之后,则按照所述操作对所述课件中的页面进行处理,获得处理结果,在所述课件上显示所述处理结果;After it is determined that the lecture terminal has the authority to perform the operation, the page in the courseware is processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware;
或者,or,
按照所述操作对所述课件中的页面进行处理,获得处理结果;Process the pages in the courseware according to the operations to obtain processing results;
若确定所述听课终端具备执行所述操作的权限,则在所述课件上显示所述处理结果;If it is determined that the lecture terminal has the authority to perform the operation, display the processing result on the courseware;
若确定所述听课终端具备执行所述操作的权限,则删除所述处理结果。If it is determined that the lecture terminal has the authority to perform the operation, the processing result is deleted.
在本申请的一个实施例中,所述操作同步模块1305还用于:In an embodiment of the present application, the operation synchronization module 1305 is further configured to:
确定在所述听课终端登录的用户账号,所述操作的操作类型、操作对象、操作参数;Determine the user account logged in at the lecture terminal, the operation type, operation object, and operation parameters of the operation;
将所述用户账号、所述操作类型、所述操作对象与所述操作参数发送至服务器,所述服务器用于将所述操作类型、所述操作对象与所述操作参数发送至所述用户账号所处的授课间中的所述授课终端与所述其他听课终端。The user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user account The teaching terminal and the other listening terminals in the classroom where it is located.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
第二操作接收模块,用于接收来自于所述授课终端和/或所述其他听课终端作用于所述课件的操作;The second operation receiving module is configured to receive the operation from the teaching terminal and/or the other listening terminal on the courseware;
第二课件处理模块,用于按照所述操作对所述课件进行处理。The second courseware processing module is used to process the courseware according to the operation.
在本申请的一个实施例中,所述第二课件处理模块还用于:In an embodiment of the application, the second courseware processing module is further used for:
确定所述操作的操作类型、操作对象、操作参数;Determine the operation type, operation object, and operation parameters of the operation;
按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation object is processed according to the operation type and the operation parameter.
在本申请的一个实施例中,所述第二课件处理模块还用于:In an embodiment of the application, the second courseware processing module is further used for:
确定时间轴,所述时间轴用于同步来自于所述授课终端和/或所述其他听课终端的多媒体数据;Determining a time axis, where the time axis is used to synchronize multimedia data from the lecture terminal and/or the other lecture terminal;
确定所述操作的操作时间;Determine the operating time of the operation;
将所述操作时间同步至所述时间轴上;Synchronize the operation time to the time axis;
在所述时间轴上到达所述操作时间时,则按照所述操作对所述课件进行处理。When the operation time is reached on the time axis, the courseware is processed according to the operation.
本发明实施例所提供的课件的操作装置可执行本申请任意实施例所提供的课件的操作方法,具备执行方法相应的功能模块和有益效果。The courseware operating device provided by the embodiment of the present invention can execute the operating method of the courseware provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for the execution method.
实施例十一Example 11
图14为本发明实施例十一提供的一种课件的操作装置的结构示意图,该装置可以包括如下模块:FIG. 14 is a schematic structural diagram of a courseware operating device provided by Embodiment 11 of the present invention. The device may include the following modules:
授课间创建模块1401,用于创建授课间,并显示所述授课间的界面;The classroom creation module 1401 is used to create a classroom and display the interface of the classroom;
课件上传模块1402,用于上传课件至所述授课间,所述授课间登入有听课终端,所述听课终端已下载并显示所述课件;The courseware uploading module 1402 is configured to upload courseware to the lecture room. The lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
课件显示模块1403,用于在所述授课间的界面中显示所述课件;The courseware display module 1403 is used to display the courseware in the interface of the lecture room;
第一操作接收模块1404,用于接收所述听课终端作用于所述课件的操作;The first operation receiving module 1404 is configured to receive the operation performed by the lecture terminal on the courseware;
第一课件处理模块1405,用于按照所述操作对所述课件进行处理。The first courseware processing module 1405 is configured to process the courseware according to the operation.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
多媒体数据采集模块,用于采集多媒体数据;Multimedia data collection module for collecting multimedia data;
多媒体数据同步模块,用于将所述多媒体数据同步至所述听课终端,所述听课终端用于播放所述多媒体数据;A multimedia data synchronization module, configured to synchronize the multimedia data to the lecture terminal, and the lecture terminal is used to play the multimedia data;
和/或,and / or,
多媒体数据播放模块,用于播放来自于所述授课终端的多媒体数据。The multimedia data playing module is used for playing multimedia data from the teaching terminal.
在本申请的一个实施例中,所述多媒体数据播放模块还用于:In an embodiment of the present application, the multimedia data playing module is further used to:
若所述授课终端已连接扩展设备,则在所述扩展设备播放来自于所述听课终端的多媒体数据。If the teaching terminal is connected to an extension device, the multimedia data from the listening terminal is played on the extension device.
在本申请的一个实施例中,所述第一课件处理模块1405还用于:In an embodiment of the present application, the first courseware processing module 1405 is further configured to:
确定所述操作的操作类型、操作对象、操作参数;Determine the operation type, operation object, and operation parameters of the operation;
按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation object is processed according to the operation type and the operation parameter.
在本申请的一个实施例中,所述第一课件处理模块1405还用于:In an embodiment of the present application, the first courseware processing module 1405 is further configured to:
确定时间轴,所述时间轴用于同步来自于所述听课终端的多媒体数据;Determining a time axis, the time axis being used to synchronize multimedia data from the lecture terminal;
确定所述操作的操作时间;Determine the operating time of the operation;
将所述操作时间同步至所述时间轴上;Synchronize the operation time to the time axis;
在所述时间轴上到达所述操作时间时,则按照所述操作对所述课件进行处理。When the operation time is reached on the time axis, the courseware is processed according to the operation.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
第二操作接收模块,用于接收作用于所述课件的操作;The second operation receiving module is used to receive operations acting on the courseware;
第二课件处理模块,用于按照所述操作对所述课件进行处理;The second courseware processing module is used to process the courseware according to the operation;
操作同步模块,用于将所述操作同步至所述听课终端,所述听课终端用于按照所述操作对所述课件进行处理。The operation synchronization module is used to synchronize the operation to the lecture terminal, and the lecture terminal is used to process the courseware according to the operation.
在本申请的一个实施例中,所述课件处理模块还用于:In an embodiment of the application, the courseware processing module is also used to:
将所述操作写入预置的发送缓存区;Write the operation into a preset sending buffer area;
每间隔预设的时间,将所述发送缓存区中的所有所述操作同步至所述听课终端。Every preset time interval, all the operations in the sending buffer area are synchronized to the lecture terminal.
在本申请的一个实施例中,所述课件处理模块还用于:In an embodiment of the application, the courseware processing module is also used to:
若所述操作与所述发送缓存区内的其他操作相同,则滤除所述操作或所述其他操作;If the operation is the same as other operations in the sending buffer area, filter out the operation or the other operations;
或者,or,
若所述操作覆盖所述发送缓存区内的其他操作,则滤除所述其他操作。If the operation covers other operations in the sending buffer area, the other operations are filtered out.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
权限确定模块,用于确定所述授课终端执行所述操作的权限。The authority determination module is used to determine the authority of the teaching terminal to perform the operation.
在本申请的一个实施例中,所述授课终端登录有用户账号,所述用户账号关联用户角色;所述听课终端已针所述课件执行其他操作;In one embodiment of the present application, the teaching terminal has a user account logged in, and the user account is associated with a user role; the lecture terminal has performed other operations on the courseware;
所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
若所述用户角色未配置执行所述操作的权限,则所述授课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the teaching terminal does not have the user role operation authority to perform the operation;
若所述用户角色已配置执行所述操作的权限,则所述授课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the teaching terminal has the user role operation authority to perform the operation;
若所述操作与所述其他操作冲突,则所述授课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the teaching terminal does not have the operation priority authority to execute the operation;
若所述操作与所述其他操作未冲突,则所述授课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the teaching terminal has the operation priority authority to execute the operation.
在本申请实施例的一个示例中,若所述操作与所述其他操作均用于操作所述课件中的同一个元素,则所述操作与所述其他操作冲突;In an example of the embodiment of the present application, if the operation and the other operation are both used to operate the same element in the courseware, the operation conflicts with the other operation;
若所述操作与所述其他操作均用于在所述课件上添加或删除批注信息,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to add or delete annotation information on the courseware, the operation conflicts with the other operations;
若所述操作用于操作所述课件中的页面,则所述操作与所述其他操作冲突。If the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
在本申请的一个实施例中,所述权限确定模块还用于:In an embodiment of the present application, the authority determining module is further used for:
确定在所述授课终端登录的用户账号、所述操作的操作类型、操作对象;Determine the user account logged in at the teaching terminal, the operation type of the operation, and the operation object;
将所述用户账号、所述操作类型与所述操作对象发送至服务器,所述服务器用于在所述用户账号所处的授课间中,根据所述操作类型与所述操作对象确定所述操作与其他操作是否冲突、以验证所述授课终端是否具备执行所述操作的操作优先级权限。The user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the teaching terminal has the operation priority authority to perform the operation.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
提示信息显示模块,用于若所述授课终端不具备执行所述操作的权限,则显示提示信息,所述提示信息用于提示禁止执行所述操作。The prompt information display module is configured to display prompt information if the teaching terminal does not have the authority to perform the operation, and the prompt information is used to prompt that the operation is prohibited.
在本申请的一个实施例中,所述第二课件处理模块还用于:In an embodiment of the application, the second courseware processing module is further used for:
在确定所述授课终端具备执行所述操作的权限之后,则按照所述操作对所述课件中的页面进行处理,获得处理结果,在所述课件上显示所述处理结果;After determining that the teaching terminal has the authority to perform the operation, process the pages in the courseware according to the operation to obtain the processing result, and display the processing result on the courseware;
或者,or,
按照所述操作对所述课件中的页面进行处理,获得处理结果;Process the pages in the courseware according to the operations to obtain processing results;
若确定所述授课终端具备执行所述操作的权限,则在所述课件上显示所述处理结果;If it is determined that the teaching terminal has the authority to perform the operation, display the processing result on the courseware;
若确定所述授课终端具备执行所述操作的权限,则删除所述处理结果。If it is determined that the teaching terminal has the authority to perform the operation, the processing result is deleted.
在本申请的一个实施例中,所述操作同步模块还用于:In an embodiment of the present application, the operation synchronization module is further used for:
确定在所述授课终端登录的用户账号,所述操作的操作类型、操作对象、操作参数;Determine the user account logged in at the teaching terminal, the operation type, operation object, and operation parameters of the operation;
将所述用户账号、所述操作类型、所述操作对象与所述操作参数发送至服务器,所述服务器用于将所述操作类型、所述操作对象与所述操作参数发送至所述用户账号所处的授课间中的所述授课终端与所述其他听课终端。The user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user account The teaching terminal and the other listening terminals in the classroom where it is located.
本发明实施例所提供的课件的操作装置可执行本申请任意实施例所提供的课件的操作方法,具备执行方法相应的功能模块和有益效果。The courseware operating device provided by the embodiment of the present invention can execute the operating method of the courseware provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for the execution method.
实施例十二Embodiment 12
图15为本发明实施例十二提供的一种课件的操作装置的结构示意图,该装置可以包括如下模块:Fig. 15 is a schematic structural diagram of a courseware operating device provided by Embodiment 12 of the present invention. The device may include the following modules:
授课间创建模块1501,用于为授课终端创建授课间;The class room creation module 1501 is used to create a class room for the teaching terminal;
课件接收模块1502,用于接收所述授课终端上传至所述授课间的课件,所述授课间登入有听课终端,所述听课终端已下载并显示所述课件;The courseware receiving module 1502 is configured to receive the courseware uploaded by the lecture terminal to the lecture room, where a lecture terminal is logged in the lecture room, and the lecture terminal has downloaded and displayed the courseware;
第一操作接收模块1503,用于接收所述听课终端作用于所述课件的操作;The first operation receiving module 1503 is configured to receive the operation of the listening terminal acting on the courseware;
第一操作同步模块1504,用于将所述操作发送至所述授课终端与其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作对所述课件进行处理。The first operation synchronization module 1504 is configured to send the operation to the teaching terminal and other listening terminals, and both the teaching terminal and the other listening terminals are used to process the courseware according to the operation.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
第一多媒体数据接收模块,用于接收来自于所述授课终端的多媒体数据;The first multimedia data receiving module is configured to receive multimedia data from the teaching terminal;
第一多媒体数据发送模块,用于将所述多媒体数据发送至所述听课终端,所述听课终端均用于播放所述多媒体数据;The first multimedia data sending module is configured to send the multimedia data to the lecture terminal, and the lecture terminal is used to play the multimedia data;
和/或,and / or,
第二多媒体数据接收模块,用于接收来自于所述听课终端的多媒体数据;The second multimedia data receiving module is configured to receive multimedia data from the lecture terminal;
第二多媒体数据发送模块,用于将所述多媒体数据发送至所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于播放所述多媒体数据。The second multimedia data sending module is configured to send the multimedia data to the lecture terminal and the other lecture terminals, and both the lecture terminal and the other lecture terminals are used to play the multimedia data.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
第一权限确定模块,用于确定所述听课终端执行作用于所述课件的操作的权限。The first authority determining module is used to determine the authority of the listening terminal to perform operations on the courseware.
在本申请的一个实施例中,所述听课终端登录有用户账号,所述用户账号关联用户角色;所述授课终端和/或所述其他听课终端已针所述课件执行其他操作;In an embodiment of the present application, the lecture terminal is logged in with a user account, and the user account is associated with a user role; the lecture terminal and/or the other lecture terminals have performed other operations on the courseware;
所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
若所述用户角色未配置执行所述操作的权限,则所述听课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the lecture terminal does not have the user role operation authority to perform the operation;
若所述用户角色已配置执行所述操作的权限,则所述听课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the lecture terminal has the user role operation authority to perform the operation;
若所述操作与所述其他操作冲突,则所述听课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the lecture terminal does not have the operation priority authority to perform the operation;
若所述操作与所述其他操作未冲突,则所述听课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the lecture terminal has the operation priority authority to execute the operation.
在本发明实施例的一个示例中,若所述操作与所述其他操作均用于操作所述课件中的同一个元素,则所述操作与所述其他操作冲突;In an example of the embodiment of the present invention, if the operation and the other operation are both used to operate the same element in the courseware, the operation conflicts with the other operation;
若所述操作与所述其他操作均用于在所述课件上添加或删除批注信息,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to add or delete annotation information on the courseware, the operation conflicts with the other operations;
若所述操作用于操作所述课件中的页面,则所述操作与所述其他操作冲突。If the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
在本申请的一个实施例中,所述第一权限确定模块还用于:In an embodiment of the present application, the first permission determination module is further used to:
接收所述听课终端上传的权限参数,所述权限参数包括在所述听课终端登录的用户账号、所述操作的操作类型、操作对象;Receiving authority parameters uploaded by the lecture terminal, the authority parameters including the user account logged in at the lecture terminal, the operation type of the operation, and the operation object;
根据所述操作类型与所述操作对象确定所述操作与所述其他操作是否冲突、以验证所述听课终端是否具备执行所述操作的操作优先级权限。Determine whether the operation conflicts with the other operations according to the operation type and the operation object, so as to verify whether the lecture terminal has the operation priority authority to execute the operation.
在本申请的一个实施例中,所述第一权限确定模块还用于:In an embodiment of the present application, the first permission determination module is further used to:
确定冲突规则,所述冲突规则用于表示操作存在冲突;Determine a conflict rule, where the conflict rule is used to indicate that the operation has a conflict;
确定所述其他操作的操作类型、操作对象;Determine the operation type and operation object of the other operation;
若所述操作的操作类型、操作对象与所述其他操作的操作类型、操作对象符合所述冲突规则,则确定所述听课终端不具备执行所述操作的操作优先级权限;If the operation type of the operation, the operation object and the operation type of the other operation, and the operation object conform to the conflict rule, it is determined that the lecture terminal does not have the operation priority authority to perform the operation;
若所述操作的操作类型、操作对象与所述其他操作的操作类型、操作对象不符合所述冲突规则,则确定所述听课终端具备执行所述操作的操作优先级权限。If the operation type of the operation, the operation object and the operation type of the other operation, and the operation object do not conform to the conflict rule, it is determined that the lecture terminal has the operation priority authority to execute the operation.
在本申请的一个实施例中,所述第一操作接收模块1503还用于:In an embodiment of the present application, the first operation receiving module 1503 is further configured to:
接收所述听课终端上传的指令,所述指令包括在所述听课终端登录的用户账号,所述操 作的操作类型、操作对象、操作参数;Receiving an instruction uploaded by the lecture terminal, the instruction including the user account logged in the lecture terminal, the operation type, operation object, and operation parameters of the operation;
所述第一操作同步模块1504还用于:The first operation synchronization module 1504 is also used for:
将所述操作类型、所述操作对象与所述操作参数发送至所述用户账号所处的授课间中的所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation type, the operation object, and the operation parameter are sent to the teaching terminal and the other listening terminal in the classroom where the user account is located, and the teaching terminal and the other listening terminal are both It is used to process the operation object according to the operation type and the operation parameter.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
第二操作接收模块,用于接收所述授课终端作用于所述课件的操作;The second operation receiving module is used to receive the operation of the teaching terminal on the courseware;
第二操作同步模块,用于将所述操作发送至所述听课终端,所述听课终端均用于按照所述操作对所述课件进行处理。The second operation synchronization module is configured to send the operation to the lecture terminal, and the lecture terminal is used to process the courseware according to the operation.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
第二权限确定模块,用于确定所述授课终端执行作用于所述课件的操作的权限。The second authority determining module is used to determine the authority of the teaching terminal to perform operations on the courseware.
在本申请的一个实施例中,所述授课终端登录有用户账号,所述用户账号关联用户角色;所述听课终端已针所述课件执行其他操作;In one embodiment of the present application, the teaching terminal has a user account logged in, and the user account is associated with a user role; the lecture terminal has performed other operations on the courseware;
所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
若所述用户角色未配置执行所述操作的权限,则所述听课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the lecture terminal does not have the user role operation authority to perform the operation;
若所述用户角色已配置执行所述操作的权限,则所述听课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the lecture terminal has the user role operation authority to perform the operation;
若所述操作与所述其他操作冲突,则所述听课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the lecture terminal does not have the operation priority authority to perform the operation;
若所述操作与所述其他操作未冲突,则所述听课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the lecture terminal has the operation priority authority to execute the operation.
在本发明实施例的一个示例中,若所述操作与所述其他操作均用于操作所述课件中的同一个元素,则所述操作与所述其他操作冲突;In an example of the embodiment of the present invention, if the operation and the other operation are both used to operate the same element in the courseware, the operation conflicts with the other operation;
若所述操作与所述其他操作均用于在所述课件上添加或删除批注信息,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to add or delete annotation information on the courseware, the operation conflicts with the other operations;
若所述操作用于操作所述课件中的页面,则所述操作与所述其他操作冲突。If the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
在本申请的一个实施例中,所述第二权限确定模块还用于:In an embodiment of the present application, the second authority determining module is further used for:
接收所述授课终端上传的权限参数,所述权限参数包括在所述授课终端登录的用户账号、所述操作的操作类型、操作对象;Receiving permission parameters uploaded by the teaching terminal, where the permission parameters include the user account logged in at the teaching terminal, the operation type of the operation, and the operation object;
根据所述操作类型与所述操作对象确定所述操作与所述其他操作是否冲突、以验证所述授课终端是否具备执行所述操作的操作优先级权限。Determine whether the operation conflicts with the other operations according to the operation type and the operation object, so as to verify whether the teaching terminal has the operation priority authority to execute the operation.
在本申请的一个实施例中,所述第二权限确定模块还用于:In an embodiment of the present application, the second authority determining module is further used for:
确定冲突规则,所述冲突规则用于表示操作存在冲突;Determine a conflict rule, where the conflict rule is used to indicate that the operation has a conflict;
确定所述其他操作的操作类型、操作对象;Determine the operation type and operation object of the other operation;
若所述操作的操作类型、操作对象与所述其他操作的操作类型、操作对象符合所述冲突规则,则确定所述授课终端不具备执行所述操作的操作优先级权限;If the operation type of the operation, the operation object and the operation type of the other operation, and the operation object comply with the conflict rule, it is determined that the teaching terminal does not have the operation priority authority to perform the operation;
若所述操作的操作类型、操作对象与所述其他操作的操作类型、操作对象不符合所述冲突规则,则确定所述授课终端具备执行所述操作的操作优先级权限。If the operation type of the operation, the operation object and the operation type of the other operation, and the operation object do not conform to the conflict rule, it is determined that the teaching terminal has the operation priority authority to execute the operation.
在本申请的一个实施例中,所述第二操作接收模块还用于:In an embodiment of the present application, the second operation receiving module is further configured to:
接收所述授课终端上传的指令,所述指令包括在所述授课终端登录的用户账号,所述操作的操作类型、操作对象、操作参数;Receiving instructions uploaded by the teaching terminal, the instructions including the user account logged in at the teaching terminal, the operation type, operation object, and operation parameters of the operation;
所述第二操作同步模块还用于:The second operation synchronization module is also used for:
将所述操作类型、所述操作对象与所述操作参数发送至所述用户账号所处的授课间中的所述听课终端,所述听课终端均用于按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation type, the operation object, and the operation parameter are sent to the lecture terminal in the classroom where the user account is located, and the lecture terminal is used to follow the operation type and the operation parameter Process the operation object.
本发明实施例所提供的课件的操作装置可执行本申请任意实施例所提供的课件的操作方法,具备执行方法相应的功能模块和有益效果。The courseware operating device provided by the embodiment of the present invention can execute the operating method of the courseware provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for the execution method.
本发明实施例提供了一种课件的操作系统,该系统包括授课终端、至少两个听课终端;The embodiment of the present invention provides a courseware operating system, the system includes a lecture terminal and at least two lecture terminals;
授课终端,用于创建授课间,并显示所述授课间的界面,上传课件至所述授课间,在所述授课间的界面中显示所述课件;The teaching terminal is used to create a lecture room and display the interface of the lecture room, upload the courseware to the lecture room, and display the courseware in the interface of the lecture room;
至少两个听课终端,用于登入所述授课间,并显示所述授课间的界面,下载所述课件、以及在所述授课间的界面中显示所述课件;At least two listening terminals, configured to log in to the classroom, display the interface of the classroom, download the courseware, and display the courseware in the interface of the classroom;
其中一个听课终端,还用于接收作用于所述课件的操作,按照所述操作对所述课件进行处理,将所述操作同步至所述授课终端与所述其他听课终端;One of the lecture terminals is also used to receive operations on the courseware, process the courseware according to the operations, and synchronize the operations to the teaching terminal and the other lecture terminals;
授课终端,还用于按照所述操作对所述课件进行处理;The teaching terminal is also used to process the courseware according to the operation;
其他听课终端,还用于按照所述操作对所述课件进行处理。Other listening terminals are also used to process the courseware according to the operation.
可选地,其中一个听课终端,还用于采集多媒体数据,将所述多媒体数据同步至所述授课终端与所述其他听课终端;Optionally, one of the lecture terminals is also used to collect multimedia data, and synchronize the multimedia data to the teaching terminal and the other lecture terminals;
授课终端,还用于播放所述多媒体数据;The teaching terminal is also used to play the multimedia data;
其他听课终端,还用于播放所述多媒体数据;Other listening terminals are also used to play the multimedia data;
和/或,and / or,
授课终端,还用于采集多媒体数据;Teaching terminal, also used to collect multimedia data;
将所述多媒体数据同步至少两个听课终端;Synchronizing the multimedia data at least two listening terminals;
至少两个听课终端,还用于播放所述多媒体数据。At least two listening terminals are also used to play the multimedia data.
可选地,若所述授课终端已连接扩展设备,则在所述扩展设备播放来所述多媒体数据;Optionally, if an extension device is connected to the teaching terminal, the multimedia data is played on the extension device;
若所述听课终端分别已连接扩展设备,则在所述扩展设备播放来所述多媒体数据。If the listening terminal is connected to an expansion device, the multimedia data is played on the expansion device.
可选地,其中一个听课还用于:Optionally, one of the lectures is also used to:
将所述操作写入预置的发送缓存区;Write the operation into a preset sending buffer area;
每间隔预设的时间,将所述发送缓存区中的所有所述操作同步至所述授课终端与所述其他听课终端。Every preset time interval, all the operations in the sending buffer area are synchronized to the teaching terminal and the other listening terminals.
可选地,其中一个听课终端还用于:Optionally, one of the listening terminals is also used for:
若所述操作与所述发送缓存区内的其他操作相同,则滤除所述操作;If the operation is the same as other operations in the sending buffer area, filter out the operation;
或者,or,
若所述操作覆盖所述发送缓存区内的其他操作,则滤除所述其他操作。If the operation covers other operations in the sending buffer area, the other operations are filtered out.
可选地,授课终端还用于:Optionally, the teaching terminal is also used to:
确定所述操作的操作类型、操作对象、操作参数;Determine the operation type, operation object, and operation parameters of the operation;
按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation object is processed according to the operation type and the operation parameter.
可选地,授课终端还用于:Optionally, the teaching terminal is also used to:
确定时间轴,所述时间轴用于同步来自于所述听课终端的多媒体数据;Determining a time axis, the time axis being used to synchronize multimedia data from the lecture terminal;
确定所述操作的操作时间;Determine the operating time of the operation;
将所述操作时间同步至所述时间轴上;Synchronize the operation time to the time axis;
在所述时间轴上到达所述操作时间时,则按照所述操作对所述课件进行处理。When the operation time is reached on the time axis, the courseware is processed according to the operation.
可选地,其他听课终端还用于:Optionally, other listening terminals are also used to:
确定所述操作的操作类型、操作对象、操作参数;Determine the operation type, operation object, and operation parameters of the operation;
按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation object is processed according to the operation type and the operation parameter.
可选地,所述其他听课终端还用于:Optionally, the other listening terminal is also used for:
确定时间轴,所述时间轴用于同步来自于所述听课终端的多媒体数据;Determining a time axis, the time axis being used to synchronize multimedia data from the lecture terminal;
确定所述操作的操作时间;Determine the operating time of the operation;
将所述操作时间同步至所述时间轴上;Synchronize the operation time to the time axis;
在所述时间轴上到达所述操作时间时,则按照所述操作对所述课件进行处理。When the operation time is reached on the time axis, the courseware is processed according to the operation.
可选地,听课终端,还用于确定执行所述操作的权限。Optionally, the lecture terminal is also used to determine the authority to perform the operation.
可选地,所述听课终端登录有用户账号,所述用户账号关联用户角色;所述授课终端和/或所述其他听课终端已执行作用于所述课件的其他操作;Optionally, a user account is logged in the lecture terminal, and the user account is associated with a user role; the lecture terminal and/or the other lecture terminal have performed other operations that act on the courseware;
所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
若所述用户角色未配置执行所述操作的权限,则所述听课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the lecture terminal does not have the user role operation authority to perform the operation;
若所述用户角色已配置执行所述操作的权限,则所述听课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the lecture terminal has the user role operation authority to perform the operation;
若所述操作与所述其他操作冲突,则所述听课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the lecture terminal does not have the operation priority authority to perform the operation;
若所述操作与所述其他操作未冲突,则所述听课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the lecture terminal has the operation priority authority to execute the operation.
可选地,若所述操作与所述其他操作均用于操作所述课件中的同一个元素,则所述操作与所述其他操作冲突;Optionally, if the operation and the other operation are both used to operate the same element in the courseware, the operation conflicts with the other operation;
若所述操作与所述其他操作均用于在所述课件上添加或删除批注信息,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to add or delete annotation information on the courseware, the operation conflicts with the other operations;
若所述操作用于操作所述课件中的页面,则所述操作与所述其他操作冲突。If the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
可选地,听课终端还用于:Optionally, the lecture terminal is also used to:
确定在所述听课终端登录的用户账号、所述操作的操作类型、操作对象;Determine the user account logged in at the lecture terminal, the operation type of the operation, and the operation object;
将所述用户账号、所述操作类型与所述操作对象发送至服务器,所述服务器用于在所述用户账号所处的授课间中,根据所述操作类型与所述操作对象确定所述操作与其他操作是否冲突、以验证所述听课终端是否具备执行所述操作的操作优先级权限。The user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the lecture terminal has the operation priority authority to perform the operation.
可选地,听课终端还用于:Optionally, the lecture terminal is also used to:
若所述听课终端不具备执行所述操作的权限,则显示提示信息,所述提示信息用于提示禁止执行所述操作。If the lecture terminal does not have the authority to perform the operation, prompt information is displayed, and the prompt information is used to prompt that the operation is prohibited.
可选地,其中一个听课终端还用于:Optionally, one of the listening terminals is also used for:
在确定所述听课终端具备执行所述操作的权限之后,则按照所述操作对所述课件中的页面进行处理,获得处理结果,在所述课件上显示所述处理结果;After it is determined that the lecture terminal has the authority to perform the operation, the page in the courseware is processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware;
或者,or,
按照所述操作对所述课件中的页面进行处理,获得处理结果;Process the pages in the courseware according to the operations to obtain processing results;
若确定所述听课终端具备执行所述操作的权限,则在所述课件上显示所述处理结果;If it is determined that the lecture terminal has the authority to perform the operation, display the processing result on the courseware;
若确定所述听课终端具备执行所述操作的权限,则删除所述处理结果。If it is determined that the lecture terminal has the authority to perform the operation, the processing result is deleted.
可选地,其中一个听课终端还用于:Optionally, one of the listening terminals is also used for:
确定在所述听课终端登录的用户账号,所述操作的操作类型、操作对象、操作参数;Determine the user account logged in at the lecture terminal, the operation type, operation object, and operation parameters of the operation;
将所述用户账号、所述操作类型、所述操作对象与所述操作参数发送至服务器,所述服 务器用于将所述操作类型、所述操作对象与所述操作参数发送至所述用户账号所处的授课间中的所述授课终端与所述其他听课终端。The user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user account The teaching terminal and the other listening terminals in the classroom where it is located.
可选地,授课终端,还用于接收作用于所述课件的操作,按照所述操作对所述课件进行处理,将所述操作同步至所述至少两个听课终端;Optionally, the teaching terminal is further configured to receive operations on the courseware, process the courseware according to the operations, and synchronize the operations to the at least two lecture terminals;
至少两个听课终端,还用于按照所述操作对所述课件进行处理。At least two listening terminals are also used to process the courseware according to the operation.
可选地,授课终端还用于:Optionally, the teaching terminal is also used to:
将所述操作写入预置的发送缓存区;Write the operation into a preset sending buffer area;
每间隔预设的时间,将所述发送缓存区中的所有所述操作同步至所述至少两个听课终端。Every preset time interval, all the operations in the sending buffer area are synchronized to the at least two lecture terminals.
可选地,授课终端还用于:Optionally, the teaching terminal is also used to:
若所述操作与所述发送缓存区内的其他操作相同,则滤除所述操作或所述其他操作;If the operation is the same as other operations in the sending buffer area, filter out the operation or the other operations;
或者,or,
若所述操作覆盖所述发送缓存区内的其他操作,则滤除所述其他操作。If the operation covers other operations in the sending buffer area, the other operations are filtered out.
可选地,至少两个听课还用于:Optionally, at least two lectures are also used for:
确定所述操作的操作类型、操作对象、操作参数;Determine the operation type, operation object, and operation parameters of the operation;
按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation object is processed according to the operation type and the operation parameter.
可选地,至少两个听课还用于:Optionally, at least two lectures are also used for:
确定时间轴,所述时间轴用于同步来自于所述授权终端的多媒体数据;Determining a time axis, where the time axis is used to synchronize multimedia data from the authorized terminal;
确定所述操作的操作时间;Determine the operating time of the operation;
将所述操作时间同步至所述时间轴上;Synchronize the operation time to the time axis;
在所述时间轴上到达所述操作时间时,则按照所述操作对所述课件进行处理。When the operation time is reached on the time axis, the courseware is processed according to the operation.
可选地,授课终端,还用于确定执行所述操作的权限。Optionally, the teaching terminal is also used to determine the authority to perform the operation.
可选地,所述授课终端登录有用户账号,所述用户账号关联用户角色;所述至少两个听课终端已针所述课件执行其他操作;Optionally, the teaching terminal has a user account logged in, and the user account is associated with a user role; the at least two lecture terminals have performed other operations on the courseware;
所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
若所述用户角色未配置执行所述操作的权限,则所述授课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the teaching terminal does not have the user role operation authority to perform the operation;
若所述用户角色已配置执行所述操作的权限,则所述授课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the teaching terminal has the user role operation authority to perform the operation;
若所述操作与所述其他操作冲突,则所述授课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the teaching terminal does not have the operation priority authority to execute the operation;
若所述操作与所述其他操作未冲突,则所述授课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the teaching terminal has the operation priority authority to execute the operation.
可选地,Optionally,
若所述操作与所述其他操作均用于操作所述课件中的同一个元素,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to operate the same element in the courseware, the operation conflicts with the other operations;
若所述操作与所述其他操作均用于在所述课件上添加或删除批注信息,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to add or delete annotation information on the courseware, the operation conflicts with the other operations;
若所述操作用于操作所述课件中的页面,则所述操作与所述其他操作冲突。If the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
可选地,授权终端还用于:Optionally, the authorized terminal is also used for:
确定在所述授课终端登录的用户账号、所述操作的操作类型、操作对象;Determine the user account logged in at the teaching terminal, the operation type of the operation, and the operation object;
将所述用户账号、所述操作类型与所述操作对象发送至服务器,所述服务器用于在所述用户账号所处的授课间中,根据所述操作类型与所述操作对象确定所述操作与其他操作是否 冲突、以验证所述授课终端是否具备执行所述操作的操作优先级权限。The user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the teaching terminal has the operation priority authority to perform the operation.
可选地,授课终端,还用于若所述授课终端不具备执行所述操作的权限,则显示提示信息,所述提示信息用于提示禁止执行所述操作。Optionally, the teaching terminal is further configured to display prompt information if the teaching terminal does not have the authority to perform the operation, and the prompt information is used to prompt that the operation is prohibited.
可选地,授权终端还用于:Optionally, the authorized terminal is also used for:
在确定所述授课终端具备执行所述操作的权限之后,则按照所述操作对所述课件中的页面进行处理,获得处理结果,在所述课件上显示所述处理结果;After determining that the teaching terminal has the authority to perform the operation, process the pages in the courseware according to the operation to obtain the processing result, and display the processing result on the courseware;
或者,or,
按照所述操作对所述课件中的页面进行处理,获得处理结果;Process the pages in the courseware according to the operations to obtain processing results;
若确定所述授课终端具备执行所述操作的权限,则在所述课件上显示所述处理结果;If it is determined that the teaching terminal has the authority to perform the operation, display the processing result on the courseware;
若确定所述授课终端具备执行所述操作的权限,则删除所述处理结果。If it is determined that the teaching terminal has the authority to perform the operation, the processing result is deleted.
可选地,授权终端还用于:Optionally, the authorized terminal is also used for:
确定在所述授课终端登录的用户账号,所述操作的操作类型、操作对象、操作参数;Determine the user account logged in at the teaching terminal, the operation type, operation object, and operation parameters of the operation;
将所述用户账号、所述操作类型、所述操作对象与所述操作参数发送至服务器,所述服务器用于将所述操作类型、所述操作对象与所述操作参数发送至所述用户账号所处的授课间中的所述授课终端与所述其他听课终端。The user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user account The teaching terminal and the other listening terminals in the classroom where it is located.
本发明实施例所提供的课件的操作系统可执行本发明任意实施例所提供的课件的操作方法,具备执行方法相应的功能模块和有益效果。The operating system of the courseware provided by the embodiment of the present invention can execute the operation method of the courseware provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for the execution method.
实施例十三Embodiment 13
图16为本发明实施例十三提供的一种计算机设备的结构示意图。如图16所示,该计算机设备包括处理器1600、存储器1601、通信模块1602、输入装置1603和输出装置1604;计算机设备中处理器1600的数量可以是一个或多个,图16中以一个处理器1600为例;计算机设备中的处理器1600、存储器1601、通信模块1602、输入装置1603和输出装置1604可以通过总线或其他方式连接,图16中以通过总线连接为例。FIG. 16 is a schematic structural diagram of a computer device according to Embodiment 13 of the present invention. As shown in Figure 16, the computer device includes a processor 1600, a memory 1601, a communication module 1602, an input device 1603, and an output device 1604; the number of processors 1600 in the computer device can be one or more. The processor 1600 is taken as an example; the processor 1600, the memory 1601, the communication module 1602, the input device 1603, and the output device 1604 in the computer equipment can be connected by a bus or other methods. In FIG.
存储器1601作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本实施例中的课件的操作方法对应的模块(例如,如图13所示的课件的操作装置中的授课间显示模块1301、课件显示模块1302、第一操作接收模块1303、第一课件处理模块1304、操作同步模块1305;或者,如图14所示的课件的操作装置中的授课间创建模块1401、课件上传模块1402、课件显示模块1403、第一操作接收模块1404和第一课件处理模块1405;或者,如图15所示的课件的操作装置中的授课间创建模块1501、课件接收模块1502、第一操作接收模块1503和第一操作同步模块1504;或者,授课终端的模块、至少两个听课终端中的模块)。处理器1600通过运行存储在存储器1601中的软件程序、指令以及模块,从而执行计算机设备的各种功能应用以及数据处理,即实现上述的课件的操作方法。The memory 1601, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the courseware operation method in this embodiment (for example, the courseware operation device shown in FIG. 13 The inter-teaching display module 1301, the courseware display module 1302, the first operation receiving module 1303, the first courseware processing module 1304, and the operation synchronization module 1305; or, the inter-teaching creation module in the courseware operating device as shown in FIG. 14 1401, the courseware upload module 1402, the courseware display module 1403, the first operation receiving module 1404, and the first courseware processing module 1405; or, as shown in FIG. 15 in the courseware operating device, the inter-teaching creation module 1501 and the courseware receiving module 1502 , The first operation receiving module 1503 and the first operation synchronization module 1504; or, the module of the teaching terminal, the module of at least two listening terminals). The processor 1600 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 1601, that is, realizes the above-mentioned courseware operation method.
存储器1601可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器1601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器1601可包括相对于处理器1600远程设置的存储器,这些远程存储器可以通过网络连接至计算机设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1601 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of a computer device. In addition, the memory 1601 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 1601 may include a memory remotely provided with respect to the processor 1600, and these remote memories may be connected to a computer device through a network. Examples of the aforementioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
通信模块1602,用于与显示屏建立连接,并实现与显示屏的数据交互。输入装置1603可用于接收输入的数字或字符信息,以及产生与计算机设备的用户设置以及功能控制有关的键信号输入。The communication module 1602 is used to establish a connection with the display screen and realize data interaction with the display screen. The input device 1603 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the computer equipment.
本实施例提供的计算机设备,可执行本申请任一实施例提供的课件的操作方法,相应的 功能和有益效果。The computer equipment provided in this embodiment can execute the operation method of the courseware provided in any embodiment of this application, and the corresponding functions and beneficial effects.
实施例十四Embodiment Fourteen
本发明实施例十四还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以上任一实施例所述的课件的操作方法。The fourteenth embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the operation method of the courseware described in any of the above embodiments is realized.
当然,本发明实施例所提供的计算机可读存储介质,其计算机程序不限于如上所述的方法操作,还可以执行本发明任意实施例所提供的课件的操作方法中的相关操作。Of course, the computer program of the computer-readable storage medium provided by the embodiment of the present invention is not limited to the method operations described above, and can also perform related operations in the courseware operating method provided by any embodiment of the present invention.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本申请可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented with the help of software and necessary general-purpose hardware, and of course it can also be implemented with hardware, but in many cases the former is a better implementation. . Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk. , Read-Only Memory (ROM), Random Access Memory (RAM), Flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer) , A server, or a network device, etc.) execute the method described in each embodiment of the present application.
值得注意的是,上述课件的操作装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。It is worth noting that, in the embodiment of the operating device of the above courseware, the various units and modules included are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, The specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of this application.

Claims (40)

  1. 一种课件的操作方法,应用于听课终端,所述方法包括:A method for operating a courseware, which is applied to a lecture terminal, and the method includes:
    显示授课间的界面,所述授课间登入有授课终端与其他听课终端,所述授课终端已上传课件至所述授课间,所述其他听课终端已下载并显示所述课件;Display the interface of the lecture room, the lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed the courseware;
    下载所述课件、以及在所述授课间的界面中显示所述课件;Download the courseware, and display the courseware in the interface of the classroom;
    接收作用于所述课件的操作;Receive operations on the courseware;
    按照所述操作对所述课件进行处理;Process the courseware according to the operation;
    将所述操作同步至所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作对所述课件进行处理。The operation is synchronized to the teaching terminal and the other listening terminal, and both the teaching terminal and the other listening terminal are used to process the courseware according to the operation.
  2. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    采集多媒体数据;Collect multimedia data;
    将所述多媒体数据同步至所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于播放所述多媒体数据;Synchronizing the multimedia data to the teaching terminal and the other listening terminals, and both the teaching terminal and the other listening terminals are used to play the multimedia data;
    和/或,and / or,
    播放来自于所述授课终端和/或所述其他听课终端的多媒体数据。Playing multimedia data from the teaching terminal and/or the other listening terminals.
  3. 根据权利要求2所述的方法,其中,所述播放来自于所述授课终端和/或所述其他听课终端的多媒体数据,包括:The method according to claim 2, wherein the playing multimedia data from the teaching terminal and/or the other listening terminal comprises:
    若所述听课终端已连接扩展设备,则在所述扩展设备播放来自于所述授课终端和/或所述其他听课终端的多媒体数据。If the lecture terminal is connected to an extension device, the multimedia data from the lecture terminal and/or the other lecture terminal is played on the extension device.
  4. 根据权利要求1所述的方法,其中,所述将所述操作同步至所述授课终端与所述其他听课终端,包括:The method according to claim 1, wherein the synchronizing the operation to the teaching terminal and the other listening terminal comprises:
    将所述操作写入预置的发送缓存区;Write the operation into a preset sending buffer area;
    每间隔预设的时间,将所述发送缓存区中的所有所述操作同步至所述授课终端与所述其他听课终端。Every preset time interval, all the operations in the sending buffer area are synchronized to the teaching terminal and the other listening terminals.
  5. 根据权利要求4所述的方法,所述将所述操作同步至所述授课终端与所述其他听课终端,所述方法还包括:The method according to claim 4, wherein the synchronizing the operation to the teaching terminal and the other listening terminal, the method further comprising:
    若所述操作与所述发送缓存区内的其他操作相同,则滤除所述操作;If the operation is the same as other operations in the sending buffer area, filter out the operation;
    或者,or,
    若所述操作覆盖所述发送缓存区内的其他操作,则滤除所述其他操作。If the operation covers other operations in the sending buffer area, the other operations are filtered out.
  6. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    确定所述听课终端执行所述操作的权限。Determine the authority of the lecture terminal to perform the operation.
  7. 根据权利要求6所述的方法,其中,所述听课终端登录有用户账号,所述用户账号关联用户角色;所述授课终端和/或所述其他听课终端已执行作用于所述课件的其他操作;The method according to claim 6, wherein a user account is logged in the lecture terminal, and the user account is associated with a user role; the lecture terminal and/or the other lecture terminal have performed other operations that affect the courseware ;
    所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
    若所述用户角色未配置执行所述操作的权限,则所述听课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the lecture terminal does not have the user role operation authority to perform the operation;
    若所述用户角色已配置执行所述操作的权限,则所述听课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the lecture terminal has the user role operation authority to perform the operation;
    若所述操作与所述其他操作冲突,则所述听课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the lecture terminal does not have the operation priority authority to perform the operation;
    若所述操作与所述其他操作未冲突,则所述听课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the lecture terminal has the operation priority authority to execute the operation.
  8. 根据权利要求7所述的方法,其中,The method according to claim 7, wherein:
    若所述操作与所述其他操作均用于操作所述课件中的同一个元素,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to operate the same element in the courseware, the operation conflicts with the other operations;
    若所述操作与所述其他操作均用于在所述课件上添加或删除批注信息,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to add or delete annotation information on the courseware, the operation conflicts with the other operations;
    若所述操作用于操作所述课件中的页面,则所述操作与所述其他操作冲突。If the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
  9. 根据权利要求7或8所述的方法,其中,所述确定所述听课终端执行所述操作的权限,包括:The method according to claim 7 or 8, wherein the determining the permission of the lecture terminal to perform the operation includes:
    确定在所述听课终端登录的用户账号、所述操作的操作类型、操作对象;Determine the user account logged in at the lecture terminal, the operation type of the operation, and the operation object;
    将所述用户账号、所述操作类型与所述操作对象发送至服务器,所述服务器用于在所述用户账号所处的授课间中,根据所述操作类型与所述操作对象确定所述操作与其他操作是否冲突、以验证所述听课终端是否具备执行所述操作的操作优先级权限。The user account, the operation type, and the operation object are sent to a server, and the server is used to determine the operation according to the operation type and the operation object in the classroom where the user account is located Whether it conflicts with other operations to verify whether the lecture terminal has the operation priority authority to perform the operation.
  10. 根据权利要求6-9任一所述的方法,所述方法还包括:The method according to any one of claims 6-9, the method further comprising:
    若所述听课终端不具备执行所述操作的权限,则显示提示信息,所述提示信息用于提示禁止执行所述操作。If the lecture terminal does not have the authority to perform the operation, prompt information is displayed, and the prompt information is used to prompt that the operation is prohibited.
  11. 根据权利要求1-8任一所述的方法,其中,所述按照所述操作对所述课件进行处理,包括:8. The method according to any one of claims 1-8, wherein said processing said courseware according to said operation comprises:
    在确定所述听课终端具备执行所述操作的权限之后,则按照所述操作对所述课件中的页面进行处理,获得处理结果,在所述课件上显示所述处理结果;After it is determined that the lecture terminal has the authority to perform the operation, the page in the courseware is processed according to the operation to obtain the processing result, and the processing result is displayed on the courseware;
    或者,or,
    按照所述操作对所述课件中的页面进行处理,获得处理结果;Process the pages in the courseware according to the operations to obtain processing results;
    若确定所述听课终端具备执行所述操作的权限,则在所述课件上显示所述处理结果;If it is determined that the lecture terminal has the authority to perform the operation, display the processing result on the courseware;
    若确定所述听课终端具备执行所述操作的权限,则删除所述处理结果。If it is determined that the lecture terminal has the authority to perform the operation, the processing result is deleted.
  12. 根据权利要求1-8任一所述的方法,其中,所述将所述操作同步至所述授课终端与所述其他听课终端,包括:The method according to any one of claims 1-8, wherein the synchronizing the operation to the teaching terminal and the other listening terminal comprises:
    确定在所述听课终端登录的用户账号,所述操作的操作类型、操作对象、操作参数;Determine the user account logged in at the lecture terminal, the operation type, operation object, and operation parameters of the operation;
    将所述用户账号、所述操作类型、所述操作对象与所述操作参数发送至服务器,所述服务器被配置为将所述操作类型、所述操作对象与所述操作参数发送至所述用户账号所处的授课间中的所述授课终端与所述其他听课终端。The user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user The lecture terminal and the other lecture terminals in the lecture room where the account is located.
  13. 根据权利要求1-8任一所述的方法,所述方法还包括:The method according to any one of claims 1-8, the method further comprising:
    接收来自于所述授课终端和/或所述其他听课终端作用于所述课件的操作;Receiving operations on the courseware from the teaching terminal and/or the other listening terminals;
    按照所述操作对所述课件进行处理。Process the courseware according to the operation.
  14. 根据权利要求13所述的方法,其中,所述按照所述操作对所述课件进行处理,包括:The method according to claim 13, wherein said processing said courseware according to said operation comprises:
    确定所述操作的操作类型、操作对象、操作参数;Determine the operation type, operation object, and operation parameters of the operation;
    按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation object is processed according to the operation type and the operation parameter.
  15. 根据权利要求13所述的方法,其中,所述按照所述操作对所述课件进行处理,包括:The method according to claim 13, wherein said processing said courseware according to said operation comprises:
    确定时间轴,所述时间轴用于同步来自于所述授课终端和/或所述其他听课终端的多媒体数据;Determining a time axis, where the time axis is used to synchronize multimedia data from the lecture terminal and/or the other lecture terminal;
    确定所述操作的操作时间;Determine the operating time of the operation;
    将所述操作时间同步至所述时间轴上;Synchronize the operation time to the time axis;
    在所述时间轴上到达所述操作时间时,则按照所述操作对所述课件进行处理。When the operation time is reached on the time axis, the courseware is processed according to the operation.
  16. 一种课件的操作方法,其中,应用于授课终端,所述方法包括:A method for operating courseware, which is applied to a teaching terminal, and the method includes:
    创建授课间,并显示所述授课间的界面;Create a lecture room and display the interface of the lecture room;
    上传课件至所述授课间,所述授课间登入有听课终端,所述听课终端已下载并显示所述课件;Uploading the courseware to the lecture room, the lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
    在所述授课间的界面中显示所述课件;Display the courseware in the interface of the lecture room;
    接收所述听课终端作用于所述课件的操作;Receiving the operation of the listening terminal acting on the courseware;
    按照所述操作对所述课件进行处理。Process the courseware according to the operation.
  17. 根据权利要求16所述的方法,所述方法还包括:The method according to claim 16, further comprising:
    采集多媒体数据;Collect multimedia data;
    将所述多媒体数据同步至所述听课终端,所述听课终端被配置为播放所述多媒体数据;Synchronizing the multimedia data to the lecture terminal, and the lecture terminal is configured to play the multimedia data;
    和/或,and / or,
    播放来自于所述授课终端的多媒体数据。Play multimedia data from the teaching terminal.
  18. 根据权利要求17所述的方法,其中,所述播放来自于所述授课终端的多媒体数据,包括:The method according to claim 17, wherein said playing multimedia data from said teaching terminal comprises:
    若所述授课终端已连接扩展设备,则在所述扩展设备播放来自于所述听课终端的多媒体数据。If the teaching terminal is connected to an extension device, the multimedia data from the listening terminal is played on the extension device.
  19. 根据权利要求16所述的方法,其中,所述按照所述操作对所述课件进行处理,包括:The method according to claim 16, wherein said processing said courseware according to said operation comprises:
    确定所述操作的操作类型、操作对象、操作参数;Determine the operation type, operation object, and operation parameters of the operation;
    按照所述操作类型、所述操作参数对所述操作对象进行处理。The operation object is processed according to the operation type and the operation parameter.
  20. 根据权利要求16或17或18或19所述的方法,其中,所述按照所述操作对所述课件进行处理,包括:The method according to claim 16 or 17 or 18 or 19, wherein the processing the courseware according to the operation includes:
    确定时间轴,所述时间轴用于同步来自于所述听课终端的多媒体数据;Determining a time axis, the time axis being used to synchronize multimedia data from the lecture terminal;
    确定所述操作的操作时间;Determine the operating time of the operation;
    将所述操作时间同步至所述时间轴上;Synchronize the operation time to the time axis;
    在所述时间轴上到达所述操作时间时,则按照所述操作对所述课件进行处理。When the operation time is reached on the time axis, the courseware is processed according to the operation.
  21. 根据权利要求16所述的方法,所述方法还包括:The method according to claim 16, further comprising:
    接收作用于所述课件的操作;Receive operations on the courseware;
    按照所述操作对所述课件进行处理;Process the courseware according to the operation;
    将所述操作同步至所述听课终端,所述听课终端用于按照所述操作对所述课件进行处理。The operation is synchronized to the lecture terminal, and the lecture terminal is used to process the courseware according to the operation.
  22. 根据权利要求21所述的方法,其中,所述将所述操作同步至所述听课终端,包括:The method according to claim 21, wherein said synchronizing said operation to said listening terminal comprises:
    将所述操作写入预置的发送缓存区;Write the operation into a preset sending buffer area;
    每间隔预设的时间,将所述发送缓存区中的所有所述操作同步至所述听课终端。Every preset time interval, all the operations in the sending buffer area are synchronized to the lecture terminal.
  23. 根据权利要求22所述的方法,将所述操作同步至所述听课终端,所述方法还包括:The method according to claim 22, synchronizing the operation to the lecture terminal, the method further comprising:
    若所述操作与所述发送缓存区内的其他操作相同,则滤除所述操作或所述其他操作;If the operation is the same as other operations in the sending buffer area, filter out the operation or the other operations;
    或者,or,
    若所述操作覆盖所述发送缓存区内的其他操作,则滤除所述其他操作。If the operation covers other operations in the sending buffer area, the other operations are filtered out.
  24. 根据权利要求21所述的方法,所述方法还包括:The method according to claim 21, further comprising:
    确定所述授课终端执行所述操作的权限。Determine the authority of the teaching terminal to perform the operation.
  25. 根据权利要求24所述的方法,其中,所述授课终端登录有用户账号,所述用户账号关联用户角色;所述听课终端已针所述课件执行其他操作;The method according to claim 24, wherein a user account is logged in the lecture terminal, and the user account is associated with a user role; the lecture terminal has performed other operations with the courseware;
    所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
    若所述用户角色未配置执行所述操作的权限,则所述授课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the teaching terminal does not have the user role operation authority to perform the operation;
    若所述用户角色已配置执行所述操作的权限,则所述授课终端具备执行所述操作的用户 角色操作权限;If the user role has been configured with the authority to perform the operation, the teaching terminal has the user role operation authority to perform the operation;
    若所述操作与所述其他操作冲突,则所述授课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the teaching terminal does not have the operation priority authority to execute the operation;
    若所述操作与所述其他操作未冲突,则所述授课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the teaching terminal has the operation priority authority to execute the operation.
  26. 根据权利要求24所述的方法,其中,The method of claim 24, wherein:
    若所述操作与其他操作均用于操作所述课件中的同一个元素,则所述操作与所述其他操作冲突;If the operation and other operations are used to operate the same element in the courseware, the operation conflicts with the other operations;
    若所述操作与所述其他操作均用于在所述课件上添加或删除批注信息,则所述操作与所述其他操作冲突;If the operation and the other operations are both used to add or delete annotation information on the courseware, the operation conflicts with the other operations;
    若所述操作用于操作所述课件中的页面,则所述操作与所述其他操作冲突。If the operation is used to operate a page in the courseware, the operation conflicts with the other operations.
  27. 根据权利要求25或26所述的方法,其中,所述确定授权终端执行所述操作的权限,包括:The method according to claim 25 or 26, wherein the determining the authority to authorize the terminal to perform the operation includes:
    确定在所述授课终端登录的用户账号、所述操作的操作类型、操作对象;Determine the user account logged in at the teaching terminal, the operation type of the operation, and the operation object;
    将所述用户账号、所述操作类型与所述操作对象发送至服务器,所述服务器被配置为在所述用户账号所处的授课间中,根据所述操作类型与所述操作对象确定所述操作与其他操作是否冲突、以验证所述授课终端是否具备执行所述操作的操作优先级权限。The user account, the operation type, and the operation object are sent to a server, and the server is configured to determine the operation type and the operation object in the classroom where the user account is located. Whether the operation conflicts with other operations to verify whether the teaching terminal has the operation priority authority to execute the operation.
  28. 根据权利要求24-26任一所述的方法,所述方法还包括:The method according to any one of claims 24-26, the method further comprising:
    若所述授课终端不具备执行所述操作的权限,则显示提示信息,所述提示信息用于提示禁止执行所述操作。If the teaching terminal does not have the authority to perform the operation, prompt information is displayed, and the prompt information is used to prompt that the operation is prohibited.
  29. 根据权利要求21-26任一所述的方法,其中,所述按照所述操作对所述课件进行处理,包括:The method according to any one of claims 21-26, wherein the processing the courseware according to the operation comprises:
    在确定所述授课终端具备执行所述操作的权限之后,则按照所述操作对所述课件中的页面进行处理,获得处理结果,在所述课件上显示所述处理结果;After determining that the teaching terminal has the authority to perform the operation, process the pages in the courseware according to the operation to obtain the processing result, and display the processing result on the courseware;
    或者,or,
    按照所述操作对所述课件中的页面进行处理,获得处理结果;Process the pages in the courseware according to the operations to obtain processing results;
    若确定所述授课终端具备执行所述操作的权限,则在所述课件上显示所述处理结果;If it is determined that the teaching terminal has the authority to perform the operation, display the processing result on the courseware;
    若确定所述授课终端具备执行所述操作的权限,则删除所述处理结果。If it is determined that the teaching terminal has the authority to perform the operation, the processing result is deleted.
  30. 根据权利要求21-26任一所述的方法,其中,所述将所述操作同步至所述听课终端,包括:The method according to any one of claims 21-26, wherein the synchronizing the operation to the lecture terminal comprises:
    确定在所述授课终端登录的用户账号,所述操作的操作类型、操作对象、操作参数;Determine the user account logged in at the teaching terminal, the operation type, operation object, and operation parameters of the operation;
    将所述用户账号、所述操作类型、所述操作对象与所述操作参数发送至服务器,所述服务器被配置为将所述操作类型、所述操作对象与所述操作参数发送至所述用户账号所处的授课间中的所述授课终端与所述其他听课终端。The user account, the operation type, the operation object, and the operation parameter are sent to a server, and the server is configured to send the operation type, the operation object, and the operation parameter to the user The lecture terminal and the other lecture terminals in the lecture room where the account is located.
  31. 一种课件的操作方法,所述方法包括:A method for operating courseware, the method includes:
    授课终端创建授课间,并显示所述授课间的界面;The lecture terminal creates a lecture room and displays the interface of the lecture room;
    授课终端上传课件至所述授课间;The lecture terminal uploads the courseware to the lecture room;
    授课终端在所述授课间的界面中显示所述课件;The lecture terminal displays the courseware in the interface of the lecture room;
    至少两个听课终端登入所述授课间,并显示所述授课间的界面;At least two listening terminals log into the lecture room and display the interface of the lecture room;
    至少两个听课终端下载所述课件、以及在所述授课间的界面中显示所述课件;At least two listening terminals download the courseware and display the courseware in the interface of the lecture room;
    其中一个听课终端接收作用于所述课件的操作,按照所述操作对所述课件进行处理,将所述操作同步至所述授课终端与其他听课终端;One of the listening terminals receives an operation acting on the courseware, processes the courseware according to the operation, and synchronizes the operation to the teaching terminal and other listening terminals;
    授课终端按照所述操作对所述课件进行处理;The teaching terminal processes the courseware according to the operation;
    其他听课终端按照所述操作对所述课件进行处理。Other listening terminals process the courseware according to the operation.
  32. 根据权利要求31所述的方法,所述方法还包括:The method according to claim 31, further comprising:
    听课终端确定执行所述操作的权限。The lecture terminal determines the authority to perform the operation.
  33. 根据权利要求32所述的方法,其中,所述听课终端登录有用户账号,所述用户账号关联用户角色;所述授课终端和/或所述其他听课终端已执行作用于所述课件的其他操作;The method according to claim 32, wherein a user account is logged in the lecture terminal, and the user account is associated with a user role; the lecture terminal and/or the other lecture terminal have performed other operations on the courseware ;
    所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
    若所述用户角色未配置执行所述操作的权限,则所述听课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the lecture terminal does not have the user role operation authority to perform the operation;
    若所述用户角色已配置执行所述操作的权限,则所述听课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the lecture terminal has the user role operation authority to perform the operation;
    若所述操作与所述其他操作冲突,则所述听课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the lecture terminal does not have the operation priority authority to perform the operation;
    若所述操作与所述其他操作未冲突,则所述听课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the lecture terminal has the operation priority authority to execute the operation.
  34. 根据权利要求31-33任一所述的方法,所述方法还包括:The method according to any one of claims 31-33, the method further comprising:
    授课终端接收作用于所述课件的操作,按照所述操作对所述课件进行处理,将所述操作同步至所述至少两个听课终端;The teaching terminal receives an operation acting on the courseware, processes the courseware according to the operation, and synchronizes the operation to the at least two lecture terminals;
    至少两个听课终端按照所述操作对所述课件进行处理。At least two listening terminals process the courseware according to the operation.
  35. 根据权利要求34所述的方法,所述方法还包括:The method according to claim 34, further comprising:
    授课终端确定执行所述操作的权限。The teaching terminal determines the authority to perform the operation.
  36. 根据权利要求35所述的方法,其中,所述授课终端登录有用户账号,所述用户账号关联用户角色;所述至少两个听课终端已针所述课件执行其他操作;The method according to claim 35, wherein a user account is logged in the lecture terminal, and the user account is associated with a user role; the at least two lecture terminals have performed other operations on the courseware;
    所述权限包括用户角色操作权限、操作优先级权限;The authority includes user role operation authority and operation priority authority;
    若所述用户角色未配置执行所述操作的权限,则所述授课终端不具备执行所述操作的用户角色操作权限;If the user role is not configured with the authority to perform the operation, the teaching terminal does not have the user role operation authority to perform the operation;
    若所述用户角色已配置执行所述操作的权限,则所述授课终端具备执行所述操作的用户角色操作权限;If the user role has been configured with the authority to perform the operation, the teaching terminal has the user role operation authority to perform the operation;
    若所述操作与所述其他操作冲突,则所述授课终端不具备执行所述操作的操作优先级权限;If the operation conflicts with the other operations, the teaching terminal does not have the operation priority authority to execute the operation;
    若所述操作与所述其他操作未冲突,则所述授课终端具备执行所述操作的操作优先级权限。If the operation does not conflict with the other operations, the teaching terminal has the operation priority authority to execute the operation.
  37. 一种课件的操作装置,应用于听课终端,所述装置包括:A courseware operating device, applied to a lecture terminal, the device comprising:
    授课间显示模块,被配置为显示授课间的界面,所述授课间登入有授课终端与其他听课终端,所述授课终端已上传课件至所述授课间,所述其他听课终端已下载并显示所述课件;The display module of the lecture room is configured to display the interface of the lecture room. The lecture room is logged in with the lecture terminal and other lecture terminals, the lecture terminal has uploaded the courseware to the lecture room, and the other lecture terminals have downloaded and displayed all Describe courseware;
    课件显示模块,被配置为下载所述课件、以及在所述授课间的界面中显示所述课件;A courseware display module configured to download the courseware and display the courseware in the interface of the lecture room;
    第一操作接收模块,被配置为接收作用于所述课件的操作;The first operation receiving module is configured to receive operations acting on the courseware;
    第一课件处理模块,被配置为按照所述操作对所述课件进行处理;The first courseware processing module is configured to process the courseware according to the operation;
    操作同步模块,被配置为将所述操作同步至所述授课终端与所述其他听课终端,所述授课终端与所述其他听课终端均用于按照所述操作对所述课件进行处理。The operation synchronization module is configured to synchronize the operation to the teaching terminal and the other listening terminal, and both the teaching terminal and the other listening terminal are used to process the courseware according to the operation.
  38. 一种课件的操作装置,应用于授课终端,所述装置包括:A courseware operating device applied to a teaching terminal, the device comprising:
    授课间创建模块,被配置为创建授课间,并显示所述授课间的界面;The class room creation module is configured to create a class room and display the interface of the class room;
    课件上传模块,被配置为上传课件至所述授课间,所述授课间登入有听课终端,所述听课终端已下载并显示所述课件;The courseware uploading module is configured to upload courseware to the lecture room, the lecture room is logged in with a lecture terminal, and the lecture terminal has downloaded and displayed the courseware;
    课件显示模块,被配置为在所述授课间的界面中显示所述课件;The courseware display module is configured to display the courseware in the interface of the lecture room;
    第一操作接收模块,被配置为接收所述听课终端作用于所述课件的操作;The first operation receiving module is configured to receive the operation of the listening terminal acting on the courseware;
    第一课件处理模块,被配置为按照所述操作对所述课件进行处理。The first courseware processing module is configured to process the courseware according to the operation.
  39. 一种计算机设备,所述计算机设备包括:A computer device, the computer device includes:
    一个或多个处理器;One or more processors;
    存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-36中任一所述的课件的操作方法。When the one or more programs are executed by the one or more processors, the one or more processors realize the operation method of the courseware according to any one of claims 1-36.
  40. 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如权利要求1-36中任一所述的课件的操作方法。A computer-readable storage medium with a computer program stored thereon, and when the computer program is executed by a processor, the method for operating the courseware according to any one of claims 1-36 is realized.
PCT/CN2019/123936 2019-08-21 2019-12-09 Courseware operating method and apparatus, computer device, and storage medium WO2021031462A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910775676 2019-08-21
CN201910775676.0 2019-08-21

Publications (1)

Publication Number Publication Date
WO2021031462A1 true WO2021031462A1 (en) 2021-02-25

Family

ID=71652430

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/123936 WO2021031462A1 (en) 2019-08-21 2019-12-09 Courseware operating method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN111447456A (en)
WO (1) WO2021031462A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788361B (en) * 2020-10-15 2023-04-07 聚好看科技股份有限公司 Live course review method, display device and server
WO2022078184A1 (en) * 2020-10-15 2022-04-21 聚好看科技股份有限公司 Teaching live streaming method and display devices
CN112463089A (en) * 2020-10-21 2021-03-09 贝壳技术有限公司 Cross-terminal picture synchronous zooming method and device, electronic medium and storage medium
CN112383807B (en) * 2021-01-11 2021-04-06 北京拓课网络科技有限公司 Online education method and device and electronic equipment
CN113947954B (en) * 2021-10-18 2022-06-17 贵州振华信息技术有限公司 Manuscript demonstration system with cutting function and demonstration method
CN114237782A (en) * 2021-11-03 2022-03-25 北京鸿合爱学教育科技有限公司 Method for writing on software interface and related equipment
CN115119011B (en) * 2022-08-30 2022-11-01 南京百家云科技有限公司 Live broadcast room content rebroadcasting method, background server and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447795A (en) * 2015-12-31 2016-03-30 米科互动教育科技(北京)有限公司 Online curriculum processing method and device
CN105844987A (en) * 2016-05-30 2016-08-10 深圳科润视讯技术有限公司 Multimedia teaching interaction operating method and device
US20160240094A1 (en) * 2013-12-11 2016-08-18 Jian Yan Dedicated format file generation method for panorama mode teaching system
CN106534188A (en) * 2016-12-14 2017-03-22 上海溢米教育科技有限公司 Classroom operation track synchronization method and system
CN106599192A (en) * 2016-12-14 2017-04-26 上海溢米教育科技有限公司 Class note acquisition method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509482A (en) * 2011-11-15 2012-06-20 北京瑞信在线系统技术有限公司 Multimedia teaching system based on mobile terminal framework
CN102800218A (en) * 2012-08-08 2012-11-28 成都远策数码科技有限公司 Information interaction method and system for distance education
CN104539436B (en) * 2014-12-22 2018-08-07 杭州施强教育科技有限公司 A kind of class offerings real-time live broadcast method and system
CN108831214A (en) * 2018-08-01 2018-11-16 北京心更远科技发展有限公司 A kind of online teaching method of multiterminal real-time synchronization interaction
CN109246196A (en) * 2018-08-14 2019-01-18 北京大米科技有限公司 Remote control description synchronization system and method
CN109348156B (en) * 2018-11-29 2020-07-17 广州视源电子科技股份有限公司 Courseware recording and playing method and device, intelligent interactive panel and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160240094A1 (en) * 2013-12-11 2016-08-18 Jian Yan Dedicated format file generation method for panorama mode teaching system
CN105447795A (en) * 2015-12-31 2016-03-30 米科互动教育科技(北京)有限公司 Online curriculum processing method and device
CN105844987A (en) * 2016-05-30 2016-08-10 深圳科润视讯技术有限公司 Multimedia teaching interaction operating method and device
CN106534188A (en) * 2016-12-14 2017-03-22 上海溢米教育科技有限公司 Classroom operation track synchronization method and system
CN106599192A (en) * 2016-12-14 2017-04-26 上海溢米教育科技有限公司 Class note acquisition method and system

Also Published As

Publication number Publication date
CN111447456A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
WO2021031462A1 (en) Courseware operating method and apparatus, computer device, and storage medium
US11151889B2 (en) Video presentation, digital compositing, and streaming techniques implemented via a computer network
US11875082B2 (en) Collaborative remote interactive platform
US11190557B1 (en) Collaborative remote interactive platform
CN105306861A (en) Online teaching recording and playing method and system
US11265181B1 (en) Multi-point video presentations with live annotation
CN106463153A (en) Systems and methods for interactively presenting a presentation to viewers
CN106448297A (en) Cloud audio-video remote interactive class system
CN105637472A (en) Framework for screen content sharing system with generalized screen descriptions
US20200104030A1 (en) User interface elements for content selection in 360 video narrative presentations
US11349889B1 (en) Collaborative remote interactive platform
Clayton The context of vertical filmmaking literature
CN112861472B (en) Shared document display method, device and equipment and computer readable storage medium
Gifreu‐Castells Approach to the curatorship of virtual reality exhibitions
Vincent et al. Navigating control and illusion: functional interactivity versus ‘faux-interactivity’in transmedia dance performance
Barker Images and eventfulness: expanded cinema and experimental research at the University of New South Wales
JP6740803B2 (en) Information processing device, information processing system, program
KR20230127613A (en) Practical education system based on metabus
Wang et al. Research on Interactive Journalism in the Background of Big Data, Virtual Reality Technology and Media Convergence
Lim All that Melts into Air: Locating the Audience in TheatreWorks Singapore's Flying Circus Project in Yangon
Dorloff Super media world: an archaeology of convergence and exchange between physical and digital spaces
CN117499692A (en) Method, device and equipment for guiding video stream and readable storage medium
Huang et al. Design and Realization of Real-Time Interactive Remote Video Teaching System Based on FMS
Hwang Content Authoring and Cloud System Implementation for Smart Learning
KR20140142411A (en) System for sharing multimedia file

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19942566

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19942566

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 12/04/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19942566

Country of ref document: EP

Kind code of ref document: A1