CN111210494B - Method and device for generating animation applied to classroom activities - Google Patents

Method and device for generating animation applied to classroom activities Download PDF

Info

Publication number
CN111210494B
CN111210494B CN201811306906.0A CN201811306906A CN111210494B CN 111210494 B CN111210494 B CN 111210494B CN 201811306906 A CN201811306906 A CN 201811306906A CN 111210494 B CN111210494 B CN 111210494B
Authority
CN
China
Prior art keywords
animation
script
animation object
activity
list
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
CN201811306906.0A
Other languages
Chinese (zh)
Other versions
CN111210494A (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.)
Hitevision Co Ltd
Original Assignee
Hitevision 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 Hitevision Co Ltd filed Critical Hitevision Co Ltd
Priority to CN201811306906.0A priority Critical patent/CN111210494B/en
Publication of CN111210494A publication Critical patent/CN111210494A/en
Application granted granted Critical
Publication of CN111210494B publication Critical patent/CN111210494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • 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/02Electrically-operated educational appliances with visual presentation of the material to be studied, e.g. using film strip

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a method and a device for generating animation applied to classroom activities, comprising the steps of collecting animation object events and event function scripts; binding the animation object event with the event function script to generate an animation object event list; collecting a preset function script; binding the animation object with the function script to generate an animation object list; acquiring animation scene information and a preset interface function script; defining animation object parameter information according to the animation scene information and the interface function script, and generating an animation object parameter list; and generating an animation script by combining the interface function script according to the animation object list, the animation object event list and the animation object parameter list. The application provides a method and a device for generating animation applied to classroom activities, which aim at generating animation by classroom activity teaching software.

Description

Method and device for generating animation applied to classroom activities
Technical Field
The application relates to the field of teaching software for classroom activities, in particular to a method and a device for generating animation for classroom activities.
Background
Along with the gradual popularization of digitalization of school teaching, the teaching software is used as a novel teaching tool, and the teaching effect can be improved. In the beginning period of preschool education and obligation teaching stages, the diathesis education of students is well caught, and the aim of teaching through lively activities is to be achieved, so that the teaching aid is a subject for continuous research and exploration of teachers. Animation, game and other contents are added into the teaching software, so that the learning interest of students can be increased, and a better learning effect is achieved. In classroom activity teaching software, because a large number of animation resources and animation applications are used, if each animation is written from scratch, serious repeated development is caused, the development efficiency is low, and the development cost is high.
At present, the effect expected to be achieved in the teaching field is that no mature method can meet the demands of people in practical application.
Disclosure of Invention
Therefore, the embodiment of the application aims to provide a method and a device for generating animation applied to classroom activities, which solve the problems of serious repeated development, low development efficiency and high development cost caused by writing codes from the beginning for each animation in the prior art of teaching software.
Based on the above object, the method for generating animation applied to classroom activities provided by the embodiment of the application includes:
collecting an animation object event and an event function script;
binding the animation object event with the event function script to generate an animation object event list;
collecting a preset function script;
binding the animation object with the function script to generate an animation object list;
acquiring animation scene information and a preset interface function script;
defining animation object parameter information according to the animation scene information and the interface function script, and generating an animation object parameter list;
and generating an animation script by combining the interface function script according to the animation object list, the animation object event list and the animation object parameter list.
Optionally, the binding the animation object with the function script to generate an animation object list includes:
defining a constructor script of the animation object and creating an animation object ID.
Optionally, the defining animation object parameter information includes:
parameters of each animation object are edited, and if no parameter value is specified, default parameter values are provided.
In some alternative embodiments, the method further comprises:
classifying the classroom activities to obtain activity types;
writing an activity module script and defining an activity type identifier aiming at the same activity type;
and writing a function script according to the action of the classroom activity and the operation of the classroom activity.
In some alternative embodiments, writing an activity module script and defining an activity type identifier for the same activity type includes:
defining the activity type ID and writing a system state switching script.
In some alternative embodiments, the writing the function script includes:
a variety of common interface function scripts are defined, including a circular interface function script and a square interface function script, or a shape interface function script is defined, both for a circular interface and for a square interface.
In another aspect of the embodiment of the present application, there is also provided an animation generating device applied to a classroom activity, including:
the animation object event list generation module is used for collecting animation object events and event function scripts, binding the animation object events with the event function scripts and generating an animation object event list;
the animation object list generation module is used for collecting a preset function script, binding an animation object with the function script and generating an animation object list;
the animation object parameter list generation module is used for collecting animation scene information and a preset interface function script, defining animation object parameter information according to the animation scene information and the interface function script, and generating an animation object parameter list;
and the animation script generation module is used for generating an animation script according to the animation object list, the animation object event list and the animation object parameter list and combining the interface function script.
Optionally, the apparatus further includes:
the animation object definition module is used for defining a constructor script of the animation object and creating the animation object ID;
the parameter editing module is used for editing the parameters of each animation object, and providing default parameter values if no parameter values are specified;
the activity classification module is used for classifying the classroom activities to obtain activity types;
an activity writing module for writing an activity module script for the same activity type;
an activity definition module for defining an activity type identifier for the same activity type;
the function writing module is used for writing a function script according to the action of the classroom activity and the operation of the classroom activity;
the interface function script definition module is used for defining various common interface function scripts including a round interface function script and a square interface function script, or defining a shape interface function script which is used for both a round interface and a square interface.
Optionally, the activity definition module is further configured to define the activity type ID, and the function writing module is further configured to write a system state switching script.
From the above, it can be seen that the method and apparatus for generating the animation applied to the classroom activity provided by the embodiments of the present application adopts the generation mode of the animation script of the classroom activity, which solves the problem of repeated development under the same type of animation, shortens the development period of the automatic script generation mode, improves the development efficiency, and provides the possibility of expansion for the user by using the modularization technology and combining the automatic script generation mode.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a first embodiment of a method for generating animation for classroom activities according to the present application;
FIG. 2 is a flow chart of a second embodiment of the method for generating animation for classroom activities according to the present application;
FIG. 3 is a schematic block diagram of a first embodiment of the present application applied to a classroom activity animation generating device;
FIG. 4 is a schematic block diagram of a second embodiment of the present application applied to a classroom activity animation generating device;
fig. 5 is a schematic hardware structure of an embodiment of the apparatus for generating animation of classroom activities according to the present application.
Detailed Description
The present application will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present application more apparent.
It should be noted that, in the embodiments of the present application, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present application, and the following embodiments are not described one by one.
Based on the above object, a first aspect of the embodiments of the present application provides a first embodiment of a method for generating animation for classroom activities, which is used for generating animation for classroom activity teaching software. As shown in fig. 1, a flowchart of a first embodiment of a method for generating animation for classroom activities according to the present application is shown.
The method for generating the animation applied to the classroom activities can be applied to a terminal or a server, and can be selected according to the needs, and comprises the following steps:
step 101: collecting an animation object event and an event function script;
alternatively, the animation object may be a button, a primitive, a tag, and the animation object event may be a mouse click or a planar touch operation.
Step 102: binding the animation object event with the event function script to generate an animation object event list;
step 103: collecting a preset function script;
alternatively, the function script may be a function definition script associated with button operations, a response operation script of a drop-down list, and a common interface function script.
Step 104: binding the animation object with the function script to generate an animation object list;
optionally, the binding the animation object with the function script generates an animation object list, including defining a constructor script of the animation object and creating an animation object ID.
Step 105: acquiring animation scene information and a preset interface function script;
step 106: defining animation object parameter information according to the animation scene information and the interface function script, and generating an animation object parameter list;
optionally, the animation object parameters may be animation positions, animation durations, animation rates, animation track functions, animation states, and animation effects, and the defining the animation object parameter information includes editing parameters of each animation object, and if no parameter value is specified, providing default parameter values, for example: the motion trajectory is a Bezier curve or a linear path, the total motion time of the animation object, and the animation type is dissolution or fade-out.
Step 107: and generating an animation script by combining the interface function script according to the animation object list, the animation object event list and the animation object parameter list.
The developer can add the animation script into engineering to participate in compiling or packaging, and can dynamically load the animation script during running. The host program supports two running modes of the animation, including loading the running of the animation script generated automatically or calling the script entry running of the compiled binary file.
From the above embodiments, it can be seen that, in the method for generating the animation of the classroom activity provided by the embodiment of the present application, the problem of repeated development under the same animation type is solved by adopting a generating mode of the animation script of the classroom activity, the development period is shortened by adopting an automatic script generating mode, the development efficiency is improved, and the possibility of expansion is provided for the user by using a modularized technology and combining with the automatic script generating mode.
The embodiment of the application also provides a second embodiment of the animation generation method for the classroom activity, which is applied to the classroom activity animation generation aiming at the classroom activity teaching software. As shown in fig. 2, a flow chart of a second embodiment of the method for generating animation of classroom activities according to the present application is shown.
The method for generating the animation applied to the classroom activities can be applied to a terminal or a server, and can be selected according to the needs, and comprises the following steps:
step 201: classifying the classroom activities to obtain activity types;
optionally, the activity type may be a filling question type, a selecting question type, a judging question type, or a simple answer type.
Step 202: writing an activity module script and defining an activity type identifier aiming at the same activity type;
alternatively, the active module script may be an interface display style script, a function script of a mouse click fill, and a response function script of a submit button.
Optionally, the step of writing an activity module script and defining an activity type identifier for the same activity type includes defining the activity type ID and writing a system state switching script, for example, if the user's gap-filling question answers correctly, the state of the system switches to a successful interface, otherwise, an error message is displayed and the user is allowed to submit the answer again.
Step 203: writing a function script according to the action of the classroom activity and the operation of the classroom activity;
optionally, the writing the function script includes defining multiple common interface function scripts including a circular interface function script and a square interface function script, or defining a shape interface function script, that is, a circular interface is also used for a square interface, further, the function script is a receiving area, but the animation A uses the circular receiving area, the animation B uses the square receiving area, which requires providing multiple function interfaces, which can be a circular interface, a direction interface or a shape interface, and both the two ways can meet the requirement.
Step 101: collecting an animation object event and an event function script;
step 102: binding the animation object event with the event function script to generate an animation object event list;
step 103: collecting a preset function script;
step 104: binding the animation object with the function script to generate an animation object list;
step 105: acquiring animation scene information and a preset interface function script;
step 106: defining animation object parameter information according to the animation scene information and the interface function script, and generating an animation object parameter list;
step 107: and generating an animation script by combining the interface function script according to the animation object list, the animation object event list and the animation object parameter list.
The above embodiment adds the function script generating process (step 201 to step 203) of the classroom activity on the basis of the first embodiment, and the function script preset in the method applied to generating the animation of the classroom activity is corresponding to the function script, so that the understanding and application of the developer are facilitated.
From the above embodiments, it can be seen that the method and apparatus for generating a classroom activity animation provided by the embodiments of the present application adopt a preset function script and a classroom activity animation script generation mode, so as to solve the problem of repeated development under the same animation type, shorten the development period by using an automatic script generation mode, improve the development efficiency, and provide an expanded possibility for users by using a modularized technology and combining with an automatic script generation mode.
It should be noted that, the steps in the embodiments of the method for generating the animation of the classroom activity may be intersected, replaced, added and subtracted, so that the method for generating the animation of the classroom activity by using these reasonable permutation and combination changes shall also belong to the protection scope of the present application, and shall not limit the protection scope of the present application to the embodiments.
Based on the above object, a second aspect of the embodiments of the present application provides a first embodiment of animation generation for classroom activity teaching software, which is applied to a classroom activity animation generation device. As shown in fig. 3, a schematic block diagram of a first embodiment of the present application applied to a classroom activity animation generating device is provided.
Referring to fig. 3, the animation generating device applied to the classroom activity includes:
the animation object event list generation module 301 is configured to collect an animation object event and an event function script, bind the animation object event with the event function script, and generate an animation object event list; alternatively, the animation object may be a button, a primitive, a tag, and the animation object event may be a mouse click or a planar touch operation.
The animation object list generation module 302 is configured to collect a preset function script, bind an animation object with the function script, and generate an animation object list; alternatively, the function script may be a function definition script associated with button operations, a response operation script of a drop-down list, and a common interface function script. And binding the animation object with the function script to generate an animation object list, wherein the animation object list comprises a constructor script defining the animation object and an animation object ID.
The animation object parameter list generating module 303 is configured to collect animation scene information and a preset interface function script, define animation object parameter information according to the animation scene information and the interface function script, and generate an animation object parameter list;
optionally, the animation object parameters may be animation positions, animation durations, animation rates, animation track functions, animation states, and animation effects, and the defining the animation object parameter information includes editing parameters of each animation object, and if no parameter value is specified, providing default parameter values, for example: the motion trajectory is a Bezier curve or a linear path, the total motion time of the animation object, and the animation type is dissolution or fade-out.
And the animation script generating module 304 is configured to generate an animation script according to the animation object list, the animation object event list, and the animation object parameter list, in combination with the interface function script.
The developer can add the animation script into engineering to participate in compiling or packaging, and can dynamically load the animation script during running. The host program supports two running modes of the animation, including loading the running of the animation script generated automatically or calling the script entry running of the compiled binary file.
From the above embodiments, it can be seen that the embodiment of the present application is applied to a classroom activity animation generating device, and uses a modularization technology, and adopts a classroom activity animation script generating mode, so as to solve the problem of repeated development under the same animation type, and the automatic script generating mode shortens the development period, improves the development efficiency, and uses a modularization technology, and combines with the automatic script generating mode to provide an expansion possibility for users.
The embodiment of the application also provides a second embodiment which is applied to the classroom activity animation generating device and is used for generating the animation aiming at the classroom activity teaching software. As shown in fig. 4, a schematic block diagram of a second embodiment of the present application applied to a classroom activity animation generating device is provided.
Referring to fig. 4, the animation generating device applied to the classroom activity includes:
an animation object definition module 401 is configured to define a constructor script of the animation object and create the animation object ID.
A parameter editing module 402, configured to edit parameters of each animation object, and if no parameter value is specified, provide a default parameter value.
An activity classification module 403, configured to classify the classroom activities to obtain activity types; optionally, the activity type may be a filling question type, a selecting question type, a judging question type, or a simple answer type.
An activity writing module 404, configured to write an activity module script for the same activity type; optionally, the active module script may be an interface display style script, a function script of a mouse click filling place, and a response function script of a submit button; the method comprises the steps of compiling an activity module script and defining an activity type identification aiming at the same activity type, wherein the steps comprise defining the activity type ID and compiling a system state switching script, for example, if the gap-filling questions of a user answer correctly, the state of the system is switched to a successful interface, otherwise, error information is displayed and the user is allowed to submit the answer again.
An activity definition module 405, configured to define an activity type identifier for the same activity type; optionally, the activity definition module 405 is further configured to define the activity type ID.
A function writing module 406, configured to write a function script according to the action of the classroom activity and the operation of the classroom activity; optionally, the function writing module 406 is further configured to write a system state switching script; the writing of the function script comprises defining a plurality of common interface function scripts, including a round interface function script and a square interface function script, or defining a shape interface function script, namely a round interface is used for a square interface, further, the function script is a receiving area, but the animation A uses the round receiving area, and the animation B uses the square receiving area, so that a plurality of function interfaces, namely round interfaces, direction interfaces and shape interfaces, can be provided, and the two modes can meet the requirements.
The interface function script definition module 407 is configured to define a plurality of common interface function scripts, including a circular interface function script and a square interface function script, or define a shape interface function script, which is used for both a circular interface and a square interface.
The animation object event list generation module 301 is configured to collect an animation object event and an event function script, bind the animation object event with the event function script, and generate an animation object event list; alternatively, the animation object may be a button, a primitive, a tag, and the animation object event may be a mouse click or a planar touch operation.
The animation object list generation module 302 is configured to collect a preset function script, bind an animation object with the function script, and generate an animation object list; alternatively, the function script may be a function definition script associated with button operations, a response operation script of a drop-down list, and a common interface function script. And binding the animation object with the function script to generate an animation object list, wherein the animation object list comprises a constructor script defining the animation object and an animation object ID.
The animation object parameter list generating module 303 is configured to collect animation scene information and a preset interface function script, define animation object parameter information according to the animation scene information and the interface function script, and generate an animation object parameter list; optionally, the animation object parameters may be animation positions, animation durations, animation rates, animation track functions, animation states, and animation effects, and the defining the animation object parameter information includes editing parameters of each animation object, and if no parameter value is specified, providing default parameter values, for example: the motion trajectory is a Bezier curve or a linear path, the total motion time of the animation object, and the animation type is dissolution or fade-out.
And the animation script generating module 304 is configured to generate an animation script according to the animation object list, the animation object event list, and the animation object parameter list, in combination with the interface function script.
The developer can add the animation script into engineering to participate in compiling or packaging, and can dynamically load the animation script during running. The host program supports two running modes of the animation, including loading the running of the animation script generated automatically or calling the script entry running of the compiled binary file.
The embodiment adds the animation object definition module, the parameter editing module, the activity classification module, the activity writing module, the activity definition module, the function writing module and the interface function script definition module on the basis of the previous embodiment, so that the application can be more completely interpreted by an developer, and the application of the method to generating the classroom activity animation is more targeted.
From the above embodiments, it can be seen that the embodiment of the present application is applied to a classroom activity animation generating device, and adopts a classroom activity animation script generating mode, so as to solve the problem of repeated development under the same animation type, and the automatic script generating mode shortens the development period, improves the development efficiency, and provides an expanded possibility for users by using a modularized technology and combining with the automatic script generating mode.
It should be noted that, the above embodiment applied to the apparatus for generating a classroom activity animation uses the embodiment of the method applied to generating a classroom activity animation to specifically describe the operation of each module, and those skilled in the art can easily think that these modules are applied to other embodiments of the method applied to generating a classroom activity animation. Of course, since the steps of the embodiment of the method for generating the animation of the classroom activity can be intersected, replaced, added and subtracted, the reasonable permutation and combination transformation is also included in the protection scope of the application, and the protection scope of the application should not be limited to the embodiment.
With the above object in view, according to a third aspect of the embodiments of the present application, there is provided an embodiment of an apparatus for performing the method for generating animation applied to a classroom activity. As shown in fig. 5, a schematic diagram of a hardware structure of an embodiment of the apparatus for performing the method for generating an animation of a classroom activity according to the present application is shown.
As shown in fig. 5, the apparatus includes:
one or more processors 501 and a memory 502, one processor 501 being illustrated in fig. 5.
The apparatus for performing the method for generating the animation of the classroom activity may further include: an input device 503 and an output device 504.
The processor 501, memory 502, input devices 503 and output devices 504 may be connected by a bus or otherwise, for example in fig. 5.
The memory 502 is used as a non-volatile computer readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer executable program, and modules, such as program instructions/modules (e.g., the animation object event list generation module 301, the animation object list generation module 302, the animation object parameter list generation module 303, and the animation script generation module 304 shown in fig. 3) corresponding to the method for generating an animation of a classroom activity according to an embodiment of the present application. The processor 501 executes various functional applications of the server and data processing, that is, implements the method for generating animation of classroom activities of the above-described method embodiment, by running nonvolatile software programs, instructions, and modules stored in the memory 502.
Memory 502 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created from the use of the device applied to the animation generation of the classroom activity, and the like. In addition, memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 502 may optionally include memory remotely located with respect to processor 501, which may be connected to the membership user action monitoring device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function controls applied to the device for animation of classroom activities. The output 504 may include a display device such as a display screen.
The one or more modules are stored in the memory 502 that, when executed by the one or more processors 501, perform the method of any of the method embodiments described above for classroom activity animation generation. The technical effect of the embodiment of the device for executing the method applied to generating the animation of the classroom activity is the same as or similar to any of the embodiments of the method.
Embodiments of the present application provide a non-transitory computer storage medium storing computer executable instructions that can perform a method of processing a list item operation in any of the method embodiments described above. Embodiments of the non-transitory computer storage medium have technical effects identical or similar to any of the method embodiments described above.
Finally, it should be noted that, as will be appreciated by those skilled in the art, all or part of the procedures in implementing the methods of the embodiments described above may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the methods described above when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like. The technical effects of the computer program embodiments are the same as or similar to any of the method embodiments described above.
In addition, typically, the devices, apparatuses and the like described in the present disclosure may be various electronic terminal apparatuses, such as mobile phones, personal Digital Assistants (PDAs), tablet computers (PADs), smart televisions, and the like, and may also be large-sized terminal apparatuses, such as servers, and the like, so the protection scope of the present disclosure should not be limited to a specific type of device, apparatus, and the like. The client described in the present disclosure may be applied to any of the above electronic terminal devices in the form of electronic hardware, computer software, or a combination of both.
Furthermore, the method according to the present disclosure may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. The above-described functions defined in the methods of the present disclosure are performed when the computer program is executed by a CPU.
Furthermore, the above-described method steps and system units may also be implemented using a controller and a computer-readable storage medium storing a computer program for causing the controller to implement the above-described steps or unit functions.
Further, it should be appreciated that the computer-readable storage medium (e.g., memory) described herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, 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), which acts as external cache memory. By way of example, and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and direct RambusRAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions described herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general purpose or special purpose computer or general purpose or special purpose processor. Further, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The disclosed exemplary embodiments are noted, however, that various changes and modifications can be made without departing from the scope of the present disclosure as defined by the following claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosure may be described or claimed in an individual form, a plurality is also contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a," "an," "the," are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment numbers of the present disclosure are merely for description and do not represent advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the disclosure, including the claims, is limited to these examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the application, and there are many other variations of the different aspects of the embodiments of the application as described above, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present application.

Claims (11)

1. A method for generating animation for classroom activities, comprising:
collecting an animation object event and an event function script;
binding the animation object event with the event function script to generate an animation object event list;
collecting a preset function script;
binding the animation object with the function script to generate an animation object list;
acquiring animation scene information and a preset interface function script;
defining animation object parameter information according to the animation scene information and the interface function script, and generating an animation object parameter list;
and generating an animation script by combining the interface function script according to the animation object list, the animation object event list and the animation object parameter list.
2. The method for generating the animation for the classroom activity according to claim 1, wherein the binding the animation object with the function script generates an animation object list, comprising:
defining a constructor script of the animation object and creating an animation object ID.
3. A method for generating an animation for a classroom activity according to claim 1, wherein said defining animation object parameter information comprises:
parameters of each animation object are edited, and if no parameter value is specified, default parameter values are provided.
4. The method for generating animation for a classroom activity according to claim 1, further comprising:
classifying the classroom activities to obtain activity types;
writing an activity module script and defining an activity type identifier aiming at the same activity type;
and writing a function script according to the action of the classroom activity and the operation of the classroom activity.
5. The method of claim 4, wherein said writing an activity module script and defining an activity type identifier for the same activity type comprises:
defining the activity type ID and writing a system state switching script.
6. The method for generating animation for a classroom activity according to claim 4, wherein said writing a function script comprises:
a variety of common interface function scripts are defined, including a circular interface function script and a square interface function script, or a shape interface function script is defined, both for a circular interface and for a square interface.
7. An animation generation device for classroom activities, comprising:
the animation object event list generation module is used for collecting animation object events and event function scripts, binding the animation object events with the event function scripts and generating an animation object event list;
the animation object list generation module is used for collecting a preset function script, binding an animation object with the function script and generating an animation object list;
the animation object parameter list generation module is used for collecting animation scene information and a preset interface function script, defining animation object parameter information according to the animation scene information and the interface function script, and generating an animation object parameter list;
and the animation script generation module is used for generating an animation script according to the animation object list, the animation object event list and the animation object parameter list and combining the interface function script.
8. The animation generation device for use in a classroom activity according to claim 7, further comprising:
the animation object definition module is used for defining a constructor script of the animation object and creating the animation object ID;
the parameter editing module is used for editing the parameters of each animation object, and providing default parameter values if no parameter values are specified;
the activity classification module is used for classifying the classroom activities to obtain activity types;
an activity writing module for writing an activity module script for the same activity type;
an activity definition module for defining an activity type identifier for the same activity type;
the function writing module is used for writing a function script according to the action of the classroom activity and the operation of the classroom activity;
the interface function script definition module is used for defining various common interface function scripts including a round interface function script and a square interface function script, or defining a shape interface function script which is used for both a round interface and a square interface.
9. The animation generation device of claim 8, wherein the activity definition module is further configured to define the activity type ID, and the function writing module is further configured to write a system state switching script.
10. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the one processor to enable the at least one processor to perform the method of any one of claims 1-6.
11. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the method of any one of claims 1-6.
CN201811306906.0A 2018-11-05 2018-11-05 Method and device for generating animation applied to classroom activities Active CN111210494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811306906.0A CN111210494B (en) 2018-11-05 2018-11-05 Method and device for generating animation applied to classroom activities

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811306906.0A CN111210494B (en) 2018-11-05 2018-11-05 Method and device for generating animation applied to classroom activities

Publications (2)

Publication Number Publication Date
CN111210494A CN111210494A (en) 2020-05-29
CN111210494B true CN111210494B (en) 2023-09-15

Family

ID=70786349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811306906.0A Active CN111210494B (en) 2018-11-05 2018-11-05 Method and device for generating animation applied to classroom activities

Country Status (1)

Country Link
CN (1) CN111210494B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797473A (en) * 2004-12-24 2006-07-05 上海景海软件科技有限公司 Method for editing computer animation
CN102866886A (en) * 2012-09-04 2013-01-09 北京航空航天大学 Web-based visual algorithm animation development system
CN107908393A (en) * 2017-11-17 2018-04-13 南京国电南自轨道交通工程有限公司 A kind of design method of SCADA real-time models picture
CN108170782A (en) * 2017-12-26 2018-06-15 郑州威科姆科技股份有限公司 A kind of teaching animation resource Mass production system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10453172B2 (en) * 2017-04-04 2019-10-22 International Business Machines Corporation Sparse-data generative model for pseudo-puppet memory recast

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1797473A (en) * 2004-12-24 2006-07-05 上海景海软件科技有限公司 Method for editing computer animation
CN102866886A (en) * 2012-09-04 2013-01-09 北京航空航天大学 Web-based visual algorithm animation development system
CN107908393A (en) * 2017-11-17 2018-04-13 南京国电南自轨道交通工程有限公司 A kind of design method of SCADA real-time models picture
CN108170782A (en) * 2017-12-26 2018-06-15 郑州威科姆科技股份有限公司 A kind of teaching animation resource Mass production system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于HTML5的算法动画可视化平台;戴松 等;《***仿真学报》;第25卷(第10期);第2436-2443页 *

Also Published As

Publication number Publication date
CN111210494A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
US10205792B2 (en) Method and apparatus for processing page operation data
US11451594B2 (en) Generation and management of data insights to aid collaborative media object generation within a collaborative workspace
TW202016693A (en) Human-computer interaction processing system, method, storage medium and electronic device
CN108228253A (en) A kind of APP construction methods and system
CN110851134A (en) Low-code page design device and page design method
CN111079047A (en) Web-oriented page construction system
CN108108158A (en) A kind of user individual customized voice towards Android controls application process
CN103092603A (en) Method and system for configuring player and corresponding player
CN107430520A (en) Preview technology for the enhancing of application plug-in
CN113268243B (en) Memory prediction method and device, storage medium and electronic equipment
CN110347993A (en) A kind of writing on the blackboard management method and device
CN113655999A (en) Rendering method, device and equipment of page control and storage medium
CN108375952A (en) A kind of PLC continuous functions schema compiler and explain method and apparatus
CN110554866B (en) MVC transaction type based intelligent contract interactive design method
CN109284488A (en) Based on the method, apparatus and medium that modification front end table column data is locally stored
CN109033052B (en) Page processing method and device, medium and computing equipment
CN111210494B (en) Method and device for generating animation applied to classroom activities
CN109166063A (en) A kind of psychological consultation technical ability on-line training platform and method
AU2021261394A1 (en) Systems, devices and methods for the dynamic generation of dialog-based interactive content
CN112860585A (en) Test script assertion generation method and device
CN105812813B (en) One kind is given lessons video compress, playback method and compression, playing device
CN111338811A (en) User writing behavior analysis method, server, terminal, system and electronic equipment
McGee-Lennon et al. User evaluation of OIDE: a rapid prototyping platform for multimodal interaction
CN105653433B (en) The method for tracing and device of a kind of application program
CN104123112A (en) Image processing method and electronic equipment

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