[go: up one dir, main page]

CN112199925B - Content covering method, device and medium - Google Patents

Content covering method, device and medium Download PDF

Info

Publication number
CN112199925B
CN112199925B CN202010928559.6A CN202010928559A CN112199925B CN 112199925 B CN112199925 B CN 112199925B CN 202010928559 A CN202010928559 A CN 202010928559A CN 112199925 B CN112199925 B CN 112199925B
Authority
CN
China
Prior art keywords
covering
covering area
area
teaching material
teaching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010928559.6A
Other languages
Chinese (zh)
Other versions
CN112199925A (en
Inventor
宋颋隽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Yibaifen Education Technology Co ltd
Original Assignee
Hangzhou Yibaifen Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Yibaifen Education Technology Co ltd filed Critical Hangzhou Yibaifen Education Technology Co ltd
Priority to CN202010928559.6A priority Critical patent/CN112199925B/en
Publication of CN112199925A publication Critical patent/CN112199925A/en
Application granted granted Critical
Publication of CN112199925B publication Critical patent/CN112199925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The invention discloses a content covering method, electronic equipment and a computer storage medium, relates to the technical field of online education, and aims to cover teaching materials and enhance the flexibility of online teaching. The method comprises the following steps: acquiring a teaching material, adding a predefined View control for the teaching material to create a covering area of the teaching material, and storing the teaching material and the covering area of the teaching material; the teaching material performs zooming or page scrolling, and the covering area performs zooming or page scrolling synchronously with the teaching material.

Description

Content covering method, device and medium
Technical Field
The invention relates to the technical field of online education, in particular to a method, equipment and a medium.
Background
In the actual online teaching process, after a teacher sends a piece of PDF/Word document material through the teacher terminal, the contents of the same page may be expected to be presented step by step, so that students focus on only a certain part of the contents of the currently displayed page, and the rest parts are hidden. When the content of the next step needs to be displayed, the previous content is also hidden.
At present, the online teaching method in the market can realize that only a part of content is presented for a period of time through the animation effect of the PPT, but aiming at courseware such as Word, PDF and the like, only blank pages can be reserved for writing and content splitting, but the flexibility of the mode is poor, and the courseware arrangement is not compact.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the purposes of the invention is to provide a content covering method, which aims to cover teaching materials and enhance the flexibility of online teaching.
One of the purposes of the invention is realized by adopting the following technical scheme:
A content masking method comprising the steps of:
acquiring a teaching material, adding a predefined View control for the teaching material to create a covering area of the teaching material, and storing the teaching material and the covering area of the teaching material;
The teaching material performs zooming or page scrolling, and the covering area performs zooming or page scrolling synchronously with the teaching material.
Further, in the lesson preparation scenario, the method further includes:
and changing the covering state of the covering area, wherein the covering state of the covering area comprises two states of displaying and hiding, and the changing information of the covering state is stored in real time.
Further, in a synchronous classroom scenario, the method further includes:
The teacher terminal obtains the teaching materials and the covering areas of the teaching materials for display,
The teacher terminal changes the covering state of the covering area, wherein the covering state of the covering area comprises two states of displaying and hiding, and the changing information of the covering state is stored and sent to a server;
and the teacher terminal sends the change information of the covering state to the student terminals, and the student terminals synchronously update the covering state of the covering area.
Further, in the job release scenario, the method further includes:
The teacher terminal obtains the teaching materials and the covering areas of the teaching materials and sends the teaching materials and the covering areas of the teaching materials to the student terminal;
The student terminal sequentially loads a covering area of the teaching material and the teaching material, wherein the covering state of the covering area of the teaching material is hidden;
After receiving the answer content uploaded by the student terminal, the teacher terminal changes the covering state of the covering area to display and generates change information of the covering state;
the teacher terminal sends the change information of the covering state to the student terminal;
and the student terminal changes the covering state of the covering area into display according to the changing information of the covering state.
Further, in a courseware recording scenario, the method includes:
acquiring the teaching materials and a covering area of the teaching materials for display;
recording the action of zooming or rolling the covering area and the teaching material synchronously, and changing the covering state of the covering area to generate courseware;
and sending the courseware to a student terminal, and playing the courseware by the student terminal.
Further, a MotionEvent gesture event is added in advance for the covering area, and the changing the covering state of the covering area includes:
altering the covering state of the covering area through gestures:
And calculating the sliding speed of the gesture in real time by adopting VelocityTracker, and when the sliding speed of the gesture is greater than a preset speed or the sliding distance of the covering area exceeds half of the screen, judging that the gesture is effective and changing the covering state of the covering area.
Further, the covering area is scaled synchronously with the teaching material, including:
Receiving a zooming gesture, calling a graph drawing system, and performing matrix transformation on canvas of the covering area;
The dispatchTouchEvent event is rewritten to dynamically determine the covered region hit by the zoom gesture:
And traversing each covering region, acquiring a hit rectangle before zooming through GETHITRECT of the View control, converting the hit rectangle into a zoomed real size through matrix transformation, and judging the covering region which is actually hit.
Further, after the MotionEvent gesture event is added to the covering area in advance, the method further includes:
Creating a gesture callback interface, and callback all the gesture events which are forwarded to the View control and are not consumed;
Storing resolution data of a teacher terminal creating the covering area and a correction factor calculation formula of the covering area to calculate screen adaptation heights of the covering area in different devices:
The calculation formula of the correction factor of the covering area is as follows:
correction factor = original device height x new device width/(original device width/(new device height),
The original equipment is a teacher terminal for creating the covering area, and the new equipment displays the equipment of the covering area;
And multiplying the Y-axis offset and the height of the covering area by a correction factor to obtain the screen height of the covering area on the new equipment.
Another object of the present invention is to provide an electronic device for performing one of the objects of the present invention, which includes a processor, a storage medium, and a computer program stored in the storage medium, which when executed by the processor, implements the content masking method described above.
It is a further object of the present invention to provide a computer-readable storage medium storing one of the objects of the present invention, on which a computer program is stored which, when executed by a processor, implements the above-mentioned content masking method.
Compared with the prior art, the invention has the beneficial effects that:
The invention can flexibly display or hide the specific content of the teaching material by creating the covering area to cover the specific area of the teaching material, thereby enhancing the flexibility of online teaching. Meanwhile, by creating the covering area, students can only focus on the content displayed by the teaching materials when reading the teaching materials, and the concentration of the students on class can be improved.
Drawings
FIG. 1 is a flow chart of the content masking method of the present invention;
FIG. 2 is a schematic flow chart of editing a covered region in a lesson preparation scenario;
FIG. 3 is a flow diagram of editing a coverage area in a synchronized scenario;
FIG. 4 is a flow diagram of editing a coverage area in a job publishing scenario;
FIG. 5 is a flow chart of editing a covered area in a courseware recording scenario;
fig. 6 is a block diagram of the structure of the electronic device of embodiment 2 of the present invention.
Detailed Description
The invention will now be described in more detail with reference to the accompanying drawings, to which it should be noted that the description is given below by way of illustration only and not by way of limitation. Various embodiments may be combined with one another to form further embodiments not shown in the following description.
Example 1
The embodiment provides a content covering method, which aims to flexibly create a covering area for teaching materials and enhance the flexibility of online teaching.
The embodiment is mainly applied to actual online teaching tasks, and teachers do not want students to see the scenes of the whole content of teaching materials. If a teacher speaks a specific question, the teacher does not want students to look at other questions to scatter the attention of listening and speaking; or the teaching materials contain answers, and students cannot check the answers during explanation; or when the teacher records courseware, the teacher can view all teaching contents by himself, and the teacher and the students can see different areas for the same teaching material. It is necessary to cover specific areas of the instructional material to effect the content covering.
Fig. 1 is a schematic flow chart of the content hiding method of the present invention, as shown in fig. 1, specifically including the following steps:
acquiring a teaching material, adding a predefined View control for the teaching material to create a covering area of the teaching material, and storing the teaching material and the covering area of the teaching material;
The teaching material performs zooming or page scrolling, and the covering area performs zooming or page scrolling synchronously with the teaching material.
The content covering method of the embodiment is applied to the teacher terminal, and the teacher terminal completes creation of a covering area of teaching materials through a predefined View control to achieve content covering. The purpose of controlling the visible area of the teaching material is achieved, when the teaching material is used for completing an online teaching task, the content of the teaching material is flexibly displayed, students only concentrate on the visible area, and the learning efficiency of the students is improved.
It should be noted that the covering state of the covering area is default to be hidden (i.e. the teaching contents under the covering area are not visible), when the covering area is scaled or scrolled along with the teaching material, the relative position of the covering area and the teaching material is always unchanged, and when the covering area is enlarged, the covering state of the covering area cannot be changed.
In this embodiment, the hiding area is implemented by using a custom View control of the Android end and a dynamic addition technology of the View control in the container, and the hiding content can be restored from the hiding area to the UI.
Preferably, in the lesson preparation scenario, the method further comprises:
and changing the covering state of the covering area, wherein the covering state of the covering area comprises two states of displaying and hiding, and the changing information of the covering state is stored in real time.
Fig. 2 is a schematic flow chart of editing a covering area in a lesson preparation scene, as shown in fig. 2, in practical application, when a teacher prepares lessons through a teacher terminal and processes teaching materials, the method comprises two modes, namely a covering editing mode and a common editing mode, in the covering editing mode, editing of the covering area can be completed, namely, a plurality of covering areas are set for the teaching materials, the set covering areas can be cleared, and after the teacher terminal exits the covering editing mode, covering information such as the created covering areas or the cleared covering areas is automatically saved to a local database and uploaded to a server.
In order to facilitate the teacher's lesson preparation, the teacher terminal of the covered area is transparent for display so that the teacher can see the teaching contents under the covered area. After the teaching material is sent to the student terminal, the covering area displayed by the student terminal is shadow display, that is, the teaching content below the covering area is invisible, and the shadow pattern can be set by the teacher terminal.
After exiting the cover editing mode, the teacher terminal enters a normal mode, and the cover state of the cover area defaults to a hidden state. The teacher can change the covering state of the covering area through gesture sliding, when the teacher terminal receives the sliding gesture, the covering state of the covering area is changed, and change information of the covering state is stored in real time to a local database and a server.
The above-described covering area does not support writing in this embodiment, but may support writing in other embodiments.
In order to facilitate the teacher to create a covering area for teaching materials through the teacher terminal, the following operation interfaces may be set: setting a button, clicking the button to enter a covering editing mode; in the covering editing mode, a covering dividing line is set by default, the teaching material is divided into two covering areas, the covering dividing line is dragged, the covering dividing line can be copied, and more covering areas are created; a clear button is provided and clicking the clear clears all of the covered areas.
Preferably, in the synchronous classroom scenario, the method further comprises:
The teacher terminal obtains the teaching materials and the covering areas of the teaching materials for display,
The teacher terminal changes the covering state of the covering area, wherein the covering state of the covering area comprises two states of displaying and hiding, and the changing information of the covering state is stored and sent to a server;
and the teacher terminal sends the change information of the covering state to the student terminals, and the student terminals synchronously update the covering state of the covering area.
Fig. 3 is a schematic flow chart of editing a covering area in a synchronous scene, as shown in fig. 3, in practical application, a teacher performs real-time synchronous real-time teaching through a teacher terminal, at this time, teaching materials manufactured in a lesson preparation mode and the covering area of the teaching materials can be obtained for display according to teaching requirements, in the synchronous teaching process, the teacher can slide through gestures to change the covering state of the covering area, at this time, after receiving the sliding gestures, the teacher terminal changes the covering state of the relevant covering area in real time, at this time, the covering information of a local database and a server is synchronously updated, and at this time, the changing information of the covering state is updated. And the teacher terminal sends the change information (covering information) of the covering state to the student terminal, and after receiving the change information (instruction) of the covering state, the student terminal synchronizes the covering state of the covering region by refreshing the page. After receiving the change information of the covering state, the student terminal also updates a local database, and if the student terminal is offline or abnormally offline, the latest covering information of the server is pulled after entering a classroom next time.
It should be noted that, in this embodiment, the channel is a Socket channel, and the service can maintain a long connection through the node channel based on the communication channel established by the Socket. In other embodiments of the present invention, the channels may also serve local area network channels as well as IDC channels. The LAN channel service is a communication channel established based on a LAN; the IDC channel service is a communication channel established based on a wide area network; when Socket channel service, local area network channel service and IDC channel service coexist, the priority of channel connection is node channel service, local area network channel service and IDC channel service from high to low in sequence.
Preferably, in the job release scenario, the method further includes:
The teacher terminal obtains the teaching materials and the covering areas of the teaching materials and sends the teaching materials and the covering areas of the teaching materials to the student terminal;
The student terminal sequentially loads a covering area of the teaching material and the teaching material, wherein the covering state of the covering area of the teaching material is hidden;
After receiving the answer content uploaded by the student terminal, the teacher terminal changes the covering state of the covering area to display and generates change information of the covering state;
the teacher terminal sends the change information of the covering state to the student terminal;
and the student terminal changes the covering state of the covering area into display according to the changing information of the covering state.
Fig. 4 is a schematic flow chart of editing a covering area in a job release scene, as shown in fig. 4, in practical application, the teaching material is an online job, a teacher terminal has previously created a relevant covering area before the online job is released, and when the online job is released, the teacher terminal obtains the teaching material and sends the covering area of the teaching material to a student terminal through a channel, and the student terminal loads the teaching material (job) after loading the covering UI in order to avoid the student from seeing the content of the covering area in advance. At this time, the covering state of the covering area on the student terminal is hidden, so long as after the teacher terminal receives the answer content uploaded by the student terminal, the teacher confirms that the answer content passes through the teacher terminal (certainly, the teacher terminal can not confirm that only the student is required to upload the answer content), the teacher terminal changes the covering state of the covering area to be displayed, and sends the changing information of the covering state to the student terminal, and after the student terminal synchronizes the covering state of the covering area to be displayed, the content under the covering area is visible.
Preferably, in a courseware recording scenario, the method includes:
acquiring the teaching materials and a covering area of the teaching materials for display;
recording the action of zooming or rolling the covering area and the teaching material synchronously, and changing the covering state of the covering area to generate courseware;
and sending the courseware to a student terminal, and playing the courseware by the student terminal.
Fig. 5 is a schematic flow chart of editing a covering area in a courseware recording scene, as shown in fig. 5, the content covering method can be applied to the courseware recording scene, the covering area is supported to be displayed in the recorded courseware, and when the courseware is recorded, the covering area is created in advance for teaching materials used for recording, and the covering state of the covering area is set. In the process of recording courseware, the teaching content under the covering area displayed by the teacher terminal is visible (semitransparent display), the teaching content can not be written, the covering area can be scaled or rolled synchronously with teaching materials, the covering state of the covering area can be changed according to actual teaching requirements, and the teacher terminal can record the action of the teacher on the covering area and store the action into the courseware to become a part of the courseware.
The teacher terminal sends courseware to the student terminal through the channel, and the student terminal plays the courseware, and the covering state of the covering area is hidden (generally, shadow display and display effect can be adjusted). In order to make students browse courseware more concentrated, the isolation sense of the courseware is avoided, and the covering states of the adjacent covering areas are displayed in an integral mode.
Preferably, to change the covering state of the covering area through gestures and adjust the zoom of the covering area, a MotionEvent gesture event is added in advance to the covering area, and the changing the covering state of the covering area includes:
altering the covering state of the covering area through gestures:
And calculating the sliding speed of the gesture in real time by adopting VelocityTracker, and when the sliding speed of the gesture is greater than a preset speed or the sliding distance of the covering area exceeds half of the screen, judging that the gesture is effective and changing the covering state of the covering area.
The moving-out and moving-in animations (sliding animations) can move out of or into the covering region through sliding gestures without affecting the interaction of the underlying teaching materials, and the moving-out and moving-in animations (sliding animations) smoothly transition through an Android post mechanism. It should be noted that the above-mentioned preset speed may be set according to specific situations, and the specific value of the preset speed does not affect the execution of the content masking method of the present embodiment, which is not limited herein.
Preferably, the covering area is scaled synchronously with the teaching material, including:
Receiving a zooming gesture, calling a graph drawing system, and performing matrix transformation on canvas of the covering area;
The dispatchTouchEvent event is rewritten to dynamically determine the covered region hit by the zoom gesture:
And traversing each covering region, acquiring a hit rectangle before zooming through GETHITRECT of the View control, converting the hit rectangle into a zoomed real size through matrix transformation, and judging the covering region which is actually hit.
In this embodiment, panning and zooming of the coverage area, i.e., the View control, is completed by calling an Android graphics rendering system canvas to perform matrix transformation on the canvas. Compared with the scroll and scale of the traditional View control, the method does not change the coordinates of the MotionEvent, so that the problem of View control jumping caused by repeated transformation of gesture coordinates during zooming is avoided.
The distribution of the zooming gesture is completed through a rewriting dispatchTouchEvent method so as to dynamically judge the covering area hit by the gesture after being amplified, and therefore the gesture distribution can be correctly performed. Specifically, all covering areas are traversed, hit rectangles before zooming are obtained through a GETHITRECT method of a View control, and then the hit rectangles are converted into zoomed real sizes through matrix transformation, so that the covering areas which are actually hit are judged.
Preferably, after the MotionEvent gesture event is added to the covering area in advance, the method further includes:
Creating a gesture callback interface, and callback all the gesture events which are forwarded to the View control and are not consumed;
Storing resolution data of a teacher terminal creating the covering area and a correction factor calculation formula of the covering area to calculate screen adaptation heights of the covering area in different devices:
The calculation formula of the correction factor of the covering area is as follows:
correction factor = original device height x new device width/(original device width/(new device height),
The original equipment is a teacher terminal for creating the covering area, and the new equipment displays the equipment of the covering area;
And multiplying the Y-axis offset and the height of the covering area by a correction factor to obtain the screen height of the covering area on the new equipment.
Because the hiding area created in this embodiment may be based on any teaching material, the View control of the hiding area is transparent to the View control of the teaching material, that is, the existing business logic does not know the existence of the hiding area, and meanwhile, the View control of the hiding area and the View control of the teaching material do not exist in the relationship of the child and parent views, so that the conventional event distribution mechanism is not applicable to the present invention. Thus event conflicts are handled using gesture event forwarding. The specific implementation principle is as follows:
creating a gesture callback interface, wherein the interface is exposed to the outside, and the gesture events which are forwarded to a specific View control and are not consumed are all callback;
the method of dispatchTouchEvent is rewritten, when the gesture is judged to miss the covering area, the false is returned, and the lower layer is processed; if hit, distributing the event to the corresponding covering area, and if the corresponding covering area is not consumed, calling back the gesture event to the outside.
It should be noted that during the cover region callback gesture, the action_down event may be consumed, resulting in a complete sequence of events: action_down — action_move — action_up, change to action_move..action_move — action_up, so the event of a miss needs to be replenished. Based on the gesture distribution event principle, the action_down event is timely supplemented and transmitted to the external callback, so that the effect that the gesture event covering the area is completely transparent to the outside is achieved.
In order to ensure that the covering area created in this embodiment accurately covers the content of the teaching material under any size and any resolution, the screen adaptation problem needs to be solved, and in the server and the local database, the calculation formulas for generating the resolution data and the correction factors of the covering area are stored as a part of the covering information. The height of the device displaying the covered area is adapted by calculating a correction factor.
Example 2
Fig. 6 is a schematic structural diagram of an electronic device provided in embodiment 2 of the present invention, as shown in fig. 6, and an electronic device may be a server, and an internal structure diagram of the electronic device may be shown in fig. 6. The electronic device comprises a processor, a memory, an input system and an output system; wherein the number of processors in the electronic device may be one or more, one processor is exemplified in fig. 6; the processors, memory, input systems, and output systems in the electronic device may be coupled by a bus or other means, with bus coupling being exemplified in fig. 6.
The memory, which is a type of computer-readable storage medium, may include high-speed random access memory, nonvolatile memory, etc., and may be used to store an operating system, software programs, computer-executable programs, and databases, and may also include memory, which may be used to provide an operating environment for the operating system and computer programs. The processor is configured to provide computing and control capabilities to execute various functional applications and data processing of the electronic device by running computer-executable programs, software programs, instructions and modules stored in the memory, i.e., to implement the content masking method of embodiment 1.
The output system of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input system of the electronic equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on a shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
The electronic device may further comprise a network interface for communicating with an external terminal via a network connection. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the electronic device to which the present application is applied, and that a particular electronic device may include more or fewer components than those shown, or may combine certain components, or have a different arrangement of components.
Those skilled in the art will appreciate that implementing all or part of the above-described method of embodiment 1 may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Example 3
Embodiment 3 of the present invention also provides a storage medium containing computer-executable instructions for implementing a content masking method when executed by a computer processor, the method comprising:
acquiring a teaching material, adding a predefined View control for the teaching material to create a covering area of the teaching material, and storing the teaching material and the covering area of the teaching material;
The teaching material performs zooming or page scrolling, and the covering area performs zooming or page scrolling synchronously with the teaching material.
Of course, the storage medium containing computer executable instructions provided in the embodiments of the present invention is not limited to the method operations described above, and may also perform the related operations in the content hiding method provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk, or an optical disk of a computer, etc., and include several instructions for causing an electronic device (which may be a mobile phone, a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the content hiding method or system, each unit and module included are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
It will be apparent to those skilled in the art from this disclosure that various other changes and modifications can be made which are within the scope of the invention as defined in the appended claims.

Claims (5)

1. A content masking method, comprising the steps of:
acquiring a teaching material, adding a predefined View control for the teaching material to create a covering area of the teaching material, and storing the teaching material and the covering area of the teaching material;
The teaching material performs zooming or page rolling, and the covering area performs zooming or page rolling synchronously with the teaching material;
in the lesson preparation scenario, the method further comprises:
Changing the covering state of the covering area, wherein the covering state of the covering area comprises two states of displaying and hiding, and changing information of the covering state is stored in real time;
In a synchronous classroom scenario, the method further comprises:
The teacher terminal obtains the teaching materials and the covering areas of the teaching materials for display,
The teacher terminal changes the covering state of the covering area, wherein the covering state of the covering area comprises two states of displaying and hiding, and the changing information of the covering state is stored and sent to a server;
the teacher terminal sends the change information of the covering state to the student terminals, and the student terminals synchronously update the covering state of the covering area;
in the job release scenario, the method further includes:
The teacher terminal obtains the teaching materials and the covering areas of the teaching materials and sends the teaching materials and the covering areas of the teaching materials to the student terminal;
The student terminal sequentially loads a covering area of the teaching material and the teaching material, wherein the covering state of the covering area of the teaching material is hidden;
After receiving the answer content uploaded by the student terminal, the teacher terminal changes the covering state of the covering area to display and generates change information of the covering state;
the teacher terminal sends the change information of the covering state to the student terminal;
the student terminal changes the covering state of the covering area into display according to the changing information of the covering state;
In a courseware recording scenario, the method comprises:
acquiring the teaching materials and a covering area of the teaching materials for display;
recording the action of zooming or rolling the covering area and the teaching material synchronously, and changing the covering state of the covering area to generate courseware;
sending the courseware to a student terminal, and playing the courseware by the student terminal;
Adding a MotionEvent gesture event to the covering area in advance, and changing the covering state of the covering area includes:
altering the covering state of the covering area through gestures:
And calculating the sliding speed of the gesture in real time by adopting VelocityTracker, and when the sliding speed of the gesture is greater than a preset speed or the sliding distance of the covering area exceeds half of the screen, judging that the gesture is effective and changing the covering state of the covering area.
2. The content masking method of claim 1, wherein the masking area is scaled synchronously with the instructional material, comprising:
Receiving a zooming gesture, calling a graph drawing system, and performing matrix transformation on canvas of the covering area;
The dispatchTouchEvent event is rewritten to dynamically determine the covered region hit by the zoom gesture:
And traversing each covering region, acquiring a hit rectangle before zooming through GETHITRECT of the View control, converting the hit rectangle into a zoomed real size through matrix transformation, and judging the covering region which is actually hit.
3. The content hiding method according to claim 1, wherein after adding a MotionEvent gesture event to the hiding area in advance, further comprising:
Creating a gesture callback interface, and callback all the gesture events which are forwarded to the View control and are not consumed;
Storing resolution data of a teacher terminal creating the covering area and a correction factor calculation formula of the covering area to calculate screen adaptation heights of the covering area in different devices:
The calculation formula of the correction factor of the covering area is as follows:
correction factor = original device height x new device width/(original device width/(new device height),
The original equipment is a teacher terminal for creating the covering area, and the new equipment displays the equipment of the covering area;
And multiplying the Y-axis offset and the height of the covering area by a correction factor to obtain the screen height of the covering area on the new equipment.
4. An electronic device comprising a processor, a storage medium and a computer program stored in the storage medium, characterized in that the computer program, when executed by the processor, implements the content masking method of any one of claims 1 to 3.
5. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the content masking method as claimed in any one of claims 1 to 3.
CN202010928559.6A 2020-09-07 2020-09-07 Content covering method, device and medium Active CN112199925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010928559.6A CN112199925B (en) 2020-09-07 2020-09-07 Content covering method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010928559.6A CN112199925B (en) 2020-09-07 2020-09-07 Content covering method, device and medium

Publications (2)

Publication Number Publication Date
CN112199925A CN112199925A (en) 2021-01-08
CN112199925B true CN112199925B (en) 2024-09-20

Family

ID=74006371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010928559.6A Active CN112199925B (en) 2020-09-07 2020-09-07 Content covering method, device and medium

Country Status (1)

Country Link
CN (1) CN112199925B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101366015A (en) * 2005-10-13 2009-02-11 K·K·K·侯 Computer-aided method and system for instruction teaching
CN106557154A (en) * 2015-09-29 2017-04-05 深圳市美贝壳科技有限公司 A kind of method for realizing finger touch area emergence transparent effect

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009511964A (en) * 2005-10-13 2009-03-19 キット キン キティ ハウ Computer-aided method and apparatus for teaching and learning instruction
US8566717B2 (en) * 2008-06-24 2013-10-22 Microsoft Corporation Rendering teaching animations on a user-interface display

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101366015A (en) * 2005-10-13 2009-02-11 K·K·K·侯 Computer-aided method and system for instruction teaching
CN106557154A (en) * 2015-09-29 2017-04-05 深圳市美贝壳科技有限公司 A kind of method for realizing finger touch area emergence transparent effect

Also Published As

Publication number Publication date
CN112199925A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN111935532B (en) Video interaction method and device, electronic equipment and storage medium
CN111539188B (en) Note generation method, computing device, and computer storage medium
CN111596852B (en) Content editing method, system, computer readable storage medium and terminal device
CN105844989A (en) English teaching language learning system
Ebner iMooX-a MOOC platform for all (universities)
US20190163330A1 (en) Controlled content presentation in a browser
CN111580903B (en) Real-time voting method, device, terminal equipment and storage medium
WO2023279715A1 (en) Information processing method for online classroom, apparatus, device, storage medium, and program
Kuba et al. Demystifying visual design: a sequential analysis of design processes in infographic visual composition
CN109064810A (en) A kind of operation notification method and device based on education operating system
US20150301726A1 (en) Systems and Methods for Displaying Free-Form Drawing on a Contact-Sensitive Display
Gerard et al. Three Examples Using Tablet Technology in an Active Learning Classroom: Strategies for Active Learning Course Design Using Tablet Technology.
Stephenson Statistics at a distance
CN112199925B (en) Content covering method, device and medium
Shaikh et al. Coordinate: a spreadsheet-programmable augmented reality framework for immersive map-based visualizations
Bakhoum Animating an equation: a guide to using FLASH in mathematics education
CN111291256B (en) A personalized homepage generation method, device, electronic device and storage medium
KR102377282B1 (en) How to Provide a User Interface for Authoring Online Classes
Sun et al. An online education approach using web operation record and replay techniques
KR101505174B1 (en) Methods and apparatuses of an learning simulation model using images
Higuchi et al. An interactive multimedia instruction system: IMPRESSION for double loop instructional design process model
CN115145512B (en) Intelligent teaching method and system based on multiple windows
JP3851319B2 (en) Image data transmission generation system
Escudeiro et al. Educational content using blind/deaf communications api
Garzón et al. Advantages and challenges associated with mobile learning in education: a systematic literature review

Legal Events

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