Simulation-based experimental evaluation method and device, electronic equipment and storage medium
By using simulation-based experimental evaluation methods, users can intuitively understand the experimental principles and operation processes while manipulating model elements. This solves the problems of accuracy and intuitiveness in existing experimental platforms, realizes the visualization and real-time evaluation of experiments, and improves the user experience.
Patent Information
- Application Number
- CN202310282337.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-21
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2043-03-21
AI Technical Summary
Existing computer-based virtual simulation experimental platforms suffer from problems such as low precision of experimental equipment models, lack of intuitive operation procedures, disconnect between experiments and classroom teaching, and difficulty in achieving real-time assessment, thus failing to meet students' needs for understanding experimental principles and mastering experimental operation processes.
This paper provides a simulation-based experimental evaluation method. By outputting an experimental operation interface, the method allows users to actively operate model elements, updates the interface in response to user update events, and outputs evaluation results based on the operation, including perspective switching, interaction with experimental equipment models, and equipment adjustment, thereby generating experimental evaluation results.
Users can intuitively understand the experimental principles and operation process while actively operating the model, improving the user experience and enabling the experiment to be visualized and evaluated in real time.
Smart Images

Figure CN116312121B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of simulation experiments. More specifically, embodiments of the present application relate to a simulation-based experiment evaluation method and device, an electronic device, and a storage medium. BACKGROUND
[0002] This section is intended to provide background information to facilitate a better understanding of embodiments of the present application. Information in this section can include concepts that are not previously conceived or previously investigated. Accordingly, unless otherwise indicated herein, information in this section is not admitted to be prior art to the present application and is not admitted to be prior art to the claims in this application by virtue of its inclusion in this section.
[0003] In traditional experimental learning, evaluation and examination, students often need to go to the laboratory for actual operation. Not only does the laboratory need to prepare a large number of experimental equipment, but also has the problems of uncontrollable experimental conditions and high safety risks for students. In order to solve these problems, the prior art uses computer-based virtual simulation technology in experimental learning, evaluation and examination, such as an experimental learning platform, an experimental evaluation platform or an experimental examination platform, to provide a safe and controllable experimental environment for students, help students better understand experimental principles and master experimental operation processes, and improve students' experimental learning interest and experimental learning quality. However, the above-mentioned existing experimental platforms still have problems such as low precision of experimental equipment models, non-intuitive operation process, disconnection between experiments and classroom teaching, and difficulty in realizing real-time evaluation, which cannot well meet the needs of students to understand experimental principles and master experimental operation processes.
[0004] Therefore, it is urgent to provide a simulation-based experiment evaluation method that enables users to actively operate element models to complete the experimental process and output experimental evaluation results based on the actual operation of the users, so that the users can intuitively understand the experimental principles and master the experimental operation process in the process of actively operating the element models. SUMMARY
[0005] To overcome the problems in the related art, embodiments of the present application aim to provide a simulation-based experiment evaluation method, device, electronic device and storage medium. The simulation-based experiment evaluation method enables users to actively operate element models to complete the experimental process and output experimental evaluation results based on the actual operation of the users, so that the users can intuitively understand the experimental principles and master the experimental operation process in the process of actively operating the element models. To this end, the present application provides technical solutions in the following aspects.
[0006] In a first aspect of the embodiments of the present application, a simulation-based experiment evaluation method is provided, comprising:
[0007] In response to receiving an experiment selection instruction sent by the user for the target experiment, an experiment operation interface corresponding to the target experiment is output, wherein the experiment operation interface contains one or more model elements associated with the target experiment; in response to an update event initiated by the user for the experiment operation interface, the experiment operation interface is updated, wherein the update event includes an update to one or more model elements; and based on the update event, an evaluation result associated with the target experiment is determined.
[0008] In one embodiment, the experiment operation interface further contains an experiment instruction model corresponding to the target experiment and an experiment table model for placing the experiment equipment model; the model elements contain the experiment equipment model and the equipment adjustment components on the experiment equipment model; the update event contains a view switching interactive event and an experiment operation interactive event; wherein the view switching interactive event is used to switch the operation view of the user; the experiment operation interactive event is used to update the coordinate position of the experiment equipment model and / or the equipment adjustment components and update the performance state of the simulated experiment equipment in the experiment equipment model.
[0009] In one embodiment, the experiment operation interactive event contains an operation prompt interactive event and a drag movement interactive event; wherein the operation prompt interactive event includes: monitoring the coordinate position of the pointer of the user; if it is monitored that the coordinate position of the pointer is within the coordinate position range of the current experiment equipment model, the pointer shape is updated to a prompt cursor shape matched with the operable mode of the current experiment equipment model; or if it is monitored that the coordinate position of the pointer is within the coordinate position range of the equipment adjustment component of the current experiment equipment model, the pointer shape is updated to a prompt cursor shape matched with the operable mode of the equipment adjustment component of the current experiment equipment model.
[0010] In one embodiment, in the drag movement interactive event, the simulated experiment evaluation method includes: monitoring the pointer selection instruction of the user; if the pointer selection instruction is monitored, it is determined whether to update the model state of the experiment equipment model or the equipment adjustment component according to the occurrence position of the pointer selection instruction; the model state includes a static state and a motion state; if it is determined to update the model state of the experiment equipment model or the model state of the equipment adjustment component from the static state to the motion state, the motion trajectory of the experiment equipment model or the equipment adjustment component is determined based on the pointer motion trajectory of the user; until the pointer placement instruction of the user is monitored, the target placement position of the experiment equipment model or the equipment adjustment component is determined according to the occurrence position of the pointer placement instruction; and the performance state of the simulated experiment equipment is updated according to the target placement position of the experiment equipment model and / or the equipment adjustment component.
[0011] In one embodiment, determining whether to update the model state of the experimental equipment model or the equipment adjustment component according to the occurrence position of the pointer selection instruction comprises: determining whether the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model; if the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model, updating the model state of the experimental equipment model from the static state to the motion state in response to the pointer selection instruction; or determining whether the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjustment component; if the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjustment component, updating the model state of the equipment adjustment component from the static state to the motion state in response to the pointer selection instruction.
[0012] In one embodiment, in determining the motion trajectory of the experimental equipment model or the equipment adjustment component based on the motion trajectory of the user's pointer, determining the motion trajectory of the experimental equipment model comprises: determining the motion trajectory of the pointer as the model motion trajectory of the experimental equipment model; determining the motion trajectory of the equipment adjustment component comprises: determining the component motion trajectory of the equipment adjustment component within a preset motion range based on the trajectory direction and the trajectory length of the motion trajectory of the pointer.
[0013] In one embodiment, when the motion trajectory of the pointer is determined as the model motion trajectory of the experimental equipment model, the simulated experimental evaluation method further comprises: generating an equipment motion operation instruction in response to the model state of the experimental equipment model being updated from the static state to the motion state; moving the experimental equipment model along the model motion trajectory in response to the equipment motion operation instruction; determining whether an error operation prompt and / or a dangerous operation prompt is generated in the process of moving the experimental equipment model along the model motion trajectory according to the equipment state of the experimental equipment model; wherein the error operation prompt and / or the dangerous operation prompt contains operation prompt information; the operation prompt information is used to prompt the user to need to move the current experimental equipment model by an auxiliary carrying model; the auxiliary carrying model is an experimental equipment model capable of carrying the current experimental equipment model.
[0014] In one embodiment, in determining the target placement position of the experimental equipment model or the equipment adjustment component according to the occurrence position of the pointer placement instruction, determining the target placement position of the experimental equipment model comprises: if the distance between the occurrence position of the pointer placement instruction and the assembled experimental equipment is less than a preset distance threshold, determining the target placement position of the experimental equipment model currently in the motion state as the assembly coordinate position of the assembled experimental equipment; if the distance between the occurrence position of the pointer placement instruction and the assembled experimental equipment is greater than or equal to the preset distance threshold, determining the target placement position of the experimental equipment model currently in the motion state as the occurrence position of the pointer placement instruction; wherein the assembled experimental equipment is an experimental equipment model having a corresponding assembly relationship with the experimental equipment model currently in the motion state.
[0015] In one embodiment, before determining the target placement position of the experimental equipment model currently in the motion state as the assembly coordinate position of the assembled experimental equipment, the simulation-based experimental evaluation method further comprises: updating the equipment contour of the assembled experimental equipment from the original state to the highlighted state.
[0016] In one embodiment, in determining the target placement position of the experimental equipment model or the equipment adjustment component according to the occurrence position of the pointer placement instruction, determining the target placement position of the equipment adjustment component comprises: if the occurrence position of the pointer placement instruction is within the preset motion range, determining the target placement position of the equipment adjustment component currently in the motion state as the occurrence position of the pointer placement instruction; if the occurrence position of the pointer placement instruction is outside the preset motion range, determining the target placement position of the equipment adjustment component currently in the motion state as the projection position of the occurrence position of the pointer placement instruction on the preset motion range; if the projection position of the occurrence position of the pointer placement instruction on the preset motion range is outside the preset motion range, determining the target placement position of the equipment adjustment component currently in the motion state as the motion range end point close to the occurrence position of the pointer placement instruction in the preset motion range.
[0017] In one embodiment, after determining the target placement position of the experimental equipment model or the equipment adjustment component according to the occurrence position of the pointer placement instruction, the simulation-based experimental evaluation method further comprises: determining a collision determination result according to the motion process of the current experimental equipment model, the coordinate position range of the experimental bench model, and the coordinate positions of the remaining experimental equipment models on the experimental bench model; the motion process is the motion trajectory and / or the target placement position of the current experimental equipment model; if the collision determination result is collision, recording the collision object; the collision object is the experimental bench model or the remaining experimental equipment model colliding with the current experimental equipment model; determining whether to generate an error operation prompt and / or a dangerous operation prompt according to the equipment state of the current experimental equipment model and the collision object.
[0018] In one embodiment, determining the collision determination result according to the motion process of the current experimental equipment model, the coordinate position range of the experimental bench model, and the coordinate positions of the remaining experimental equipment models on the experimental bench model comprises: if the motion process of the current experimental equipment model intersects with the coordinate position range of the experimental bench model or the remaining experimental equipment models on the experimental bench model, determining that the current experimental equipment model collides with the experimental bench model or the remaining experimental equipment models on the experimental bench model.
[0019] In one embodiment, when the target experiment is a weighing experiment, the simulated experimental equipment is a balance, the experimental equipment model is an object to be weighed and a weight, and the equipment adjustment component is a sliding weight; updating the performance state of the simulated experimental equipment according to the target placement position of the experimental equipment model and / or the equipment adjustment component comprises: determining the weight difference between the object to be weighed placed on one end of the balance and the weight placed on the other end of the balance according to the preset weight of the object to be weighed, the preset weight of the weight, and the target placement position of the sliding weight; and updating the tilt angle of the balance according to the weight difference.
[0020] In one embodiment, when the target experiment is a microscopic experiment, the simulated experimental equipment is a microscope, and the equipment adjustment component is a coarse focusing screw and a fine focusing screw; updating the performance state of the simulated experimental equipment according to the target placement position of the experimental equipment model and / or the equipment adjustment component comprises: determining the rotation direction and the rotation angle according to the target placement position of the coarse focusing screw and the fine focusing screw and the original placement position of the coarse focusing screw and the fine focusing screw; updating the actual distance between the objective lens and the stage according to the rotation direction and the rotation angle; determining the height difference according to the actual distance and a preset distance; the preset distance is the distance between the objective lens and the stage when the microscope can clearly image; and determining the Gaussian blur number and the Gaussian blur radius of the output observation image according to the height difference.
[0021] In one embodiment, when the target experiment is a lens optical experiment, the simulated experimental equipment is a light screen, and the experimental equipment model comprises a light source, a convex lens, and a concave-convex mirror; updating the performance state of the simulated experimental equipment according to the target placement position of the experimental equipment model and / or the equipment adjustment component comprises: determining the actual distance according to the target placement position of the light source, the convex lens, the concave-convex mirror, and the light screen; determining the distance difference according to the actual distance and a preset distance; the preset distance is the distance corresponding to the light source, the convex lens, the concave-convex mirror, and the light screen when the light screen can clearly image; and determining the Gaussian blur number and the Gaussian blur radius of the output observation image according to the distance difference.
[0022] In one embodiment, when the target experiment is a reflection optical experiment, the simulated experimental equipment is a mirror, and the experimental equipment model comprises a light output device; updating the performance state of the simulated experimental equipment according to the target placement position of the experimental equipment model and / or the equipment adjustment component comprises: determining the mirror intersection point according to the target placement position of the light output device and the mirror; and outputting a reflected light image according to the mirror intersection point and the normal vector of the mirror.
[0023] In an embodiment, when the target experiment is an electrical experiment and the simulated experiment equipment is a lamp, the experiment equipment model comprises a power supply, a wire, and at least one circuit component; the circuit component comprises at least one circuit measuring component and a variable resistor; each circuit component has a terminal; and updating the performance state of the simulated experiment equipment according to the target placement position of the experiment equipment model and / or the equipment adjustment component comprises: determining a circuit diagram according to the target placement position of the power supply, the wire, and the at least one circuit component; traversing all closed loops in the circuit diagram; determining the current and voltage values of each circuit component and the lamp based on each closed loop; updating the display interface of the circuit measuring component based on the current and voltage values of each circuit component and the lamp and the range of the circuit measuring component; and updating the display brightness of the lamp based on the current and voltage values of the lamp.
[0024] In an embodiment, when the target experiment is a biochemical experiment and the simulated experiment equipment is a measuring cylinder, the experiment equipment model comprises a beaker; and updating the performance state of the simulated experiment equipment according to the target placement position of the experiment equipment model and / or the equipment adjustment component comprises: determining whether to pour the liquid in the beaker into the measuring cylinder according to the target placement position of the beaker and the measuring cylinder; and if it is determined to pour, updating the liquid level of the measuring cylinder according to the liquid capacity and the size of the measuring cylinder.
[0025] In an embodiment, in the view angle switching interaction event, the simulated experiment evaluation method comprises: monitoring the pointer coordinate position; if it is monitored that the pointer coordinate position is within the coordinate position range of the observable equipment model in the experiment equipment model, updating the pointer shape to an enlarged prompt cursor; if an enlarged confirmation instruction generated by the user within the coordinate position range of the observable equipment model is received, updating the experiment operation interface to the model close-up interface corresponding to the observable equipment model in response to the enlarged confirmation instruction; and if an enlarged restoration instruction generated by the user within the coordinate position range of the observable equipment model is received, updating the model close-up interface to the experiment operation interface in response to the enlarged restoration instruction.
[0026] In an embodiment, after monitoring the pointer coordinate position, the simulated experiment evaluation method further comprises: if a pointer selection instruction generated by the user within the coordinate position range of the equipment adjustment component is received, outputting a local display window of the observable equipment model corresponding to the equipment adjustment component in the experiment operation interface.
[0027] In one embodiment, determining the evaluation result associated with the target experiment based on the update event comprises: determining a state data array based on each operation state data, the operation state data being data recorded in the update event corresponding to each operation step; the operation state data at least including equipment state, operation time information, and position information of the model element after being updated; forming an experiment state condition based on one or more equipment states; determining target operation state data in the state data array according to the experiment state condition; and determining the experiment evaluation result according to the target operation state data, the experiment evaluation result including an experiment evaluation score, an error operation list, a dangerous operation list, and an experiment learning situation analysis.
[0028] In a second aspect of the embodiments of the present application, a simulation-based experiment evaluation device is provided, comprising:
[0029] An experiment selection module is configured to output an experiment operation interface corresponding to a target experiment in response to receiving an experiment selection instruction sent by a user for the target experiment, wherein the experiment operation interface includes one or more model elements associated with the target experiment; an experiment operation module is configured to update the experiment operation interface in response to an update event initiated by the user for the experiment operation interface, wherein the update event includes updating of the one or more model elements; and an experiment result module is configured to determine an evaluation result associated with the target experiment based on the update event.
[0030] In one embodiment, the experiment operation interface further includes an experiment instruction model corresponding to the target experiment and an experiment table model for placing an experiment equipment model; the model elements include the experiment equipment model and equipment adjustment components on the experiment equipment model; the update event includes a view angle switching interactive event and an experiment operation interactive event; wherein the view angle switching interactive event is used to switch the operation view angle of the user; and the experiment operation interactive event is used to update the coordinate position of the experiment equipment model and / or the equipment adjustment components and update the performance state of the simulation experiment equipment in the experiment equipment model.
[0031] In one embodiment, the experiment operation module is configured to: monitor the coordinate position of a pointer; if it is monitored that the coordinate position of the pointer is within the coordinate position range of a current experiment equipment model, update the pointer shape to a prompt cursor shape matched with the operable mode of the current experiment equipment model; or if it is monitored that the coordinate position of the pointer is within the coordinate position range of an equipment adjustment component of the current experiment equipment model, update the pointer shape to a prompt cursor shape matched with the operable mode of the equipment adjustment component of the current experiment equipment model.
[0032] In one embodiment, the experimental operation module is configured to: monitor a pointer selection instruction of the user; if the pointer selection instruction is monitored, determine whether to update a model state of the experimental apparatus model or the model state of the apparatus adjustment component according to a position of the pointer selection instruction; the model state comprises a static state and a motion state; if it is determined to update the model state of the experimental apparatus model or the model state of the apparatus adjustment component from the static state to the motion state, determine a motion trajectory of the experimental apparatus model or the apparatus adjustment component based on a pointer motion trajectory of the user; until a pointer placement instruction of the user is monitored, determine a target placement position of the experimental apparatus model or the apparatus adjustment component according to a position of the pointer placement instruction; and update a performance state of the simulated experimental apparatus according to the target placement position of the experimental apparatus model and / or the apparatus adjustment component.
[0033] In one embodiment, the experimental operation module is configured to: determine whether the position of the pointer selection instruction is within the coordinate position range of the experimental apparatus model; if the position of the pointer selection instruction is within the coordinate position range of the experimental apparatus model, update the model state of the experimental apparatus model from the static state to the motion state in response to the pointer selection instruction; or determine whether the position of the pointer selection instruction is within the coordinate position range of the apparatus adjustment component; if the position of the pointer selection instruction is within the coordinate position range of the apparatus adjustment component, update the model state of the apparatus adjustment component from the static state to the motion state in response to the pointer selection instruction.
[0034] In one embodiment, the experimental operation module is configured to: determine the pointer motion trajectory as the model motion trajectory of the experimental apparatus model; and determine the motion trajectory of the apparatus adjustment component comprises: determining the component motion trajectory of the apparatus adjustment component within a preset motion range based on a trajectory direction and a trajectory length of the pointer motion trajectory.
[0035] In one embodiment, the experimental operation module is configured to: generate an apparatus motion operation instruction in response to the model state of the experimental apparatus model being updated from the static state to the motion state; move the experimental apparatus model along the model motion trajectory in response to the apparatus motion operation instruction; and determine whether to generate an error operation prompt and / or a dangerous operation prompt in the process of moving the experimental apparatus model along the model motion trajectory according to the apparatus state of the experimental apparatus model; wherein the error operation prompt and / or the dangerous operation prompt contains operation prompt information; the operation prompt information is used to prompt the user to need to move the current experimental apparatus model by an auxiliary carrying model; and the auxiliary carrying model is an experimental apparatus model capable of carrying the current experimental apparatus model.
[0036] In one embodiment, the experimental operation module is configured to: if a distance between the occurrence position of the pointer placement instruction and the assembled experimental apparatus is less than a preset distance threshold, determine the target placement position of the experimental apparatus model currently in a moving state as an assembly coordinate position of the assembled experimental apparatus; if the distance between the occurrence position of the pointer placement instruction and the assembled experimental apparatus is greater than or equal to the preset distance threshold, determine the target placement position of the experimental apparatus model currently in a moving state as the occurrence position of the pointer placement instruction; wherein the assembled experimental apparatus is an experimental apparatus model having a corresponding assembly relationship with the experimental apparatus model currently in a moving state.
[0037] In one embodiment, the experimental operation module is configured to: update the apparatus contour of the assembled experimental apparatus from an original state to a highlighted state.
[0038] In one embodiment, the experimental operation module is configured to: if the occurrence position of the pointer placement instruction is within a preset motion range, determine the target placement position of the apparatus adjusting component currently in a moving state as the occurrence position of the pointer placement instruction; if the occurrence position of the pointer placement instruction is outside the preset motion range, determine the target placement position of the apparatus adjusting component currently in a moving state as a projection position of the occurrence position of the pointer placement instruction on the preset motion range; if the projection position of the occurrence position of the pointer placement instruction on the preset motion range is outside the preset motion range, determine the target placement position of the apparatus adjusting component currently in a moving state as a motion range end point close to the occurrence position of the pointer placement instruction in the preset motion range.
[0039] In one embodiment, the experimental operation module is configured to: determine a collision determination result according to a motion process of the current experimental apparatus model, a coordinate position range of the experimental bench model and coordinate positions of the remaining experimental apparatus models on the experimental bench model; the motion process is a motion trajectory and / or a target placement position of the current experimental apparatus model; if the collision determination result is collision, record a collision object; the collision object is the experimental bench model or the remaining experimental apparatus models colliding with the current experimental apparatus model; determine whether to generate an error operation prompt and / or a dangerous operation prompt according to the apparatus state of the current experimental apparatus model and the collision object.
[0040] In one embodiment, the experimental operation module is configured to: if the motion process of the current experimental apparatus model intersects with the coordinate position range of the experimental bench model or the remaining experimental apparatus models on the experimental bench model, determine that the current experimental apparatus model collides with the experimental bench model or the remaining experimental apparatus models on the experimental bench model.
[0041] In one embodiment, when the target experiment is a weighing experiment, the simulated experimental equipment is a balance, the equipment adjustment component is a sliding weight, and the experimental equipment model is an object to be weighed and a weight, the experimental operation module is configured to: determine a weight difference between the object to be weighed and the weight placed on the weighing pans at two ends of the balance according to a preset weight of the object to be weighed placed on the weighing pan at one end of the balance, a preset weight of the weight placed on the weighing pan at the other end of the balance, and a target placement position of the sliding weight; and update an inclination angle of the balance according to the weight difference.
[0042] In one embodiment, when the target experiment is a microscopic experiment, the simulated experimental equipment is a microscope, and the equipment adjustment component is a coarse focusing screw and a fine focusing screw, the experimental operation module is configured to: determine a rotation direction and a rotation angle according to a target placement position of the coarse focusing screw and the fine focusing screw and an original placement position of the coarse focusing screw and the fine focusing screw; update an actual distance between an objective lens and a stage according to the rotation direction and the rotation angle; determine a height difference according to the actual distance and a preset distance; the preset distance is a distance between the objective lens and the stage when the microscope can clearly image; and determine a Gaussian blur number and a Gaussian blur radius of an output observation image according to the height difference.
[0043] In one embodiment, when the target experiment is a lens optical experiment, the simulated experimental equipment is a light screen, and the experimental equipment model includes a light source, a convex lens, and a concave-convex mirror, the experimental operation module is configured to: determine an actual distance according to target placement positions of the light source, the convex lens, the concave-convex mirror, and the light screen; determine a distance difference according to the actual distance and a preset distance; the preset distance is a distance corresponding to the light source, the convex lens, the concave-convex mirror, and the light screen when the light screen can clearly image; and determine a Gaussian blur number and a Gaussian blur radius of an output observation image according to the distance difference.
[0044] In one embodiment, when the target experiment is a reflection optical experiment, the simulated experimental equipment is a mirror, and the experimental equipment model includes a light ray output device, the experimental operation module is configured to: determine a mirror surface intersection point according to target placement positions of the light ray output device and the mirror; and output a reflected light ray image according to the mirror surface intersection point and a normal vector of the mirror.
[0045] In one embodiment, when the target experiment is an electrical experiment and the simulated experiment equipment is a lamp, the experiment equipment model comprises a power supply, a wire, and at least one circuit component; the circuit component comprises at least one circuit measuring component and a variable resistor; each circuit component has a terminal; and the experiment operation module is configured to: determine a circuit diagram according to the target placement positions of the power supply, the wire, and the at least one circuit component; traverse all closed loops in the circuit diagram; determine the current and voltage values of each circuit component and the lamp based on each closed loop; update the indication interface of the circuit measuring component based on the current and voltage values of each circuit component and the lamp and the range of the circuit measuring component; and update the display brightness of the lamp based on the current and voltage values of the lamp.
[0046] In one embodiment, when the target experiment is a biochemical experiment and the simulated experiment equipment is a measuring cylinder, the experiment equipment model comprises a beaker; and the experiment operation module is configured to: determine whether to pour the liquid in the beaker into the measuring cylinder according to the target placement positions of the beaker and the measuring cylinder; and update the liquid level of the measuring cylinder according to the liquid capacity and the size of the measuring cylinder if it is determined to pour the liquid.
[0047] In one embodiment, the experiment operation module is configured to: monitor the coordinate position of the pointer;
[0048] If the coordinate position of the pointer is monitored to be within the coordinate position range of the observable equipment model in the experiment equipment model, the pointer shape is updated to an enlarged prompt cursor; if an enlarged confirmation instruction generated by the user within the coordinate position range of the observable equipment model is received, the experiment operation interface is updated to the model close-up interface corresponding to the observable equipment model in response to the enlarged confirmation instruction; and if an enlarged restoration instruction generated by the user within the coordinate position range of the observable equipment model is received, the model close-up interface is updated to the experiment operation interface in response to the enlarged restoration instruction.
[0049] In one embodiment, the experiment operation module is configured to: if a pointer selection instruction generated by the user within the coordinate position range of the equipment adjustment component is received, output a local display window of the observable equipment model corresponding to the equipment adjustment component in the experiment operation interface.
[0050] In one embodiment, the experiment result module is configured to: determine a state data array based on each operation state data, the operation state data being data recorded in the update event for each operation step; the operation state data at least comprising equipment state, operation time information, and position information of the updated model element; form an experiment state condition based on one or more equipment states; determine target operation state data in the state data array according to the experiment state condition; determine an experiment evaluation result according to the target operation state data, the experiment evaluation result comprising an experiment evaluation score, an error operation list, a dangerous operation list, and an experiment learning situation analysis.
[0051] The third aspect of the present application provides an electronic device, comprising: a processor; and a memory having stored thereon executable code that, when executed by the processor, causes the processor to perform the method as described above.
[0052] The fourth aspect of the present application provides a non-transitory machine readable storage medium having stored thereon executable code that, when executed by a processor of an electronic device, causes the processor to perform the method as described above.
[0053] According to the simulation-based experimental evaluation method, device, electronic device and storage medium provided in the above aspects, it can be understood that the scheme of the present application outputs an experimental operation interface corresponding to a target experiment and containing one or more model elements associated with the target experiment in response to receiving an experimental selection instruction sent by a user for the target experiment. Based on this, the scheme of the present application updates the experimental operation interface in response to an update event initiated by the user for the experimental operation interface. In some embodiments, the aforementioned update event can include an update to one or more model elements, so as to determine an evaluation result associated with the target experiment based on the update event. Through such a scheme design, the present application can enable the user to actively operate the element model to complete the experimental process and output the experimental evaluation result based on the actual operation of the user. Thus, the user can intuitively understand the experimental principle and master the experimental operation process in the process of actively operating the element model, and the user experience is significantly improved. BRIEF DESCRIPTION OF DRAWINGS
[0054] The above and other objects, features and advantages of the example embodiments of the present application will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0055] Figure 1 A block diagram of an exemplary computing system 100 suitable for implementing embodiments of the present application is schematically shown;
[0056] Figure 2 A flowchart of a simulation-based experimental evaluation method according to another embodiment of the present application is schematically shown;
[0057] Figure 3 A flowchart of a simulation-based experimental evaluation method according to yet another embodiment of the present application is schematically shown;
[0058] Figure 4 A flowchart of a simulation-based experimental evaluation method according to still another embodiment of the present application is schematically shown;
[0059] Figure 5A schematic flowchart of a simulation-based experimental evaluation method according to yet another embodiment of this application is shown.
[0060] Figure 6 A schematic diagram of the structure of a simulation-based experimental evaluation device according to another embodiment of this application is shown.
[0061] Figure 7 A schematic block diagram of an electronic device according to an embodiment of this application is shown.
[0062] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation
[0063] The principles and spirit of this application will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided merely to enable those skilled in the art to better understand and implement this application, and are not intended to limit the scope of this application in any way. Rather, these embodiments are provided to make this disclosure more thorough and complete, and to fully convey the scope of this disclosure to those skilled in the art.
[0064] Figure 1 A block diagram of an exemplary computing system 100 suitable for implementing embodiments of this application is shown. Figure 1 As shown, the computing system 100 may include: a central processing unit (CPU) 101, random access memory (RAM) 102, read-only memory (ROM) 103, a system bus 104, a hard disk controller 105, a keyboard controller 106, a serial interface controller 107, a parallel interface controller 108, a display controller 109, a hard disk 110, a keyboard 111, a serial external device 112, a parallel external device 113, and a display 114. Among these devices, the CPU 101, RAM 102, ROM 103, hard disk controller 105, keyboard controller 106, serial controller 107, parallel controller 108, and display controller 109 are coupled to the system bus 104. The hard disk 110 is coupled to the hard disk controller 105, the keyboard 111 is coupled to the keyboard controller 106, the serial external device 112 is coupled to the serial interface controller 107, the parallel external device 113 is coupled to the parallel interface controller 108, and the display 114 is coupled to the display controller 109. It should be understood that... Figure 1 The structural diagrams described are for illustrative purposes only and are not intended to limit the scope of this application. In some cases, certain devices may be added or removed depending on the specific circumstances.
[0065] Those skilled in the art will appreciate that embodiments of the application can be practiced in a variety of forms, including as a system, method, or computer program product. Accordingly, the disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that can all generally be referred to herein as a "circuit," "module" or "system." Furthermore, embodiments of the application can take the form of a program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
[0066] Any combination of one or more computer readable medium(s) can be utilized. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium can be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
[0067] A computer readable signal medium can include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal can take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium can be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
[0068] Program code embodied on a computer readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0069] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0070] The specific embodiments of the present application will now be described with reference to the drawings. The following embodiments are presented to provide the reader with a better understanding of the application. The embodiments are not intended to limit the scope of the application, and the application can be practiced with modification and alteration, and an embodiment employing one or more of the concepts disclosed herein is presented only as an example of the application. Details of the application can change without departing from its scope or spirit. Furthermore, the described embodiments are to be considered as illustrative and not restrictive, and the application is not to be limited to the embodiments presented herein. Numerous specific details are described to provide a thorough understanding of the application. However, in certain instances, well-known methods, procedures, components and circuits have not been described in detail so as not to unnecessarily obscure aspects of the application.
[0071] Some embodiments of the application can be implemented, for example, using a machine-readable medium or article which has stored thereon instructions which implement a method. Alternatively, some embodiments of the application can be implemented using tangible logic componentry, such as a programmable processor. Whether software or programmable logic is used to implement a process of the application, the machine-readable medium or article of manufacture which stores that software or logic is thus a storage medium. In these contexts, the terms "machine-readable medium," "computer program medium," and / or "article of manufacture" broadly encompass a non-transitory medium that carries program code for use by the machine to cause the machine to perform a function and / or operate in a specific manner. Note that the implementation can also include other types of and / or combinations of program code.
[0072] Note that the software can, when loaded into the machine and executed, produce a machine that functions to carry out processes of the present application. Note that the software can, when loaded into the machine and executed, produce a machine that functions to carry out processes of the present application. Note that the software can, when loaded into the machine and executed, produce a machine that functions to carry out processes of the present application. Note that the software can, when loaded into the machine and executed, produce a machine that functions to carry out processes of the present application.
[0073] According to embodiments of the present application, a simulation-based experimental evaluation method and device are provided.
[0074] In this document, the terms "a" or "an" are used, as is common in patent documents, to include one or more than one, independent of any other instances or usages of "at least one." In this document, the term "or" is used to refer to a nonexclusive or, such that "A or B" includes "A but not B," "B but not A," and "A and B," unless otherwise indicated. In this document, the terms "including" and "comprising" are used herein to mean including, but not limited to. In this document, the term "coupled" is used to refer to a relationship between or among multiple elements, devices, circuits, etc., and means any connection, electrical, mechanical or otherwise between or among multiple elements, devices, circuits, etc., that, when functioning properly, allows the connected elements to interact. Within the scope of this application, other elements can also perform the same function without deviating from the basic novel aspects of the application. In this document, the terms "computer program medium" and "computer usable medium" are used to generally refer to media such as removable storage drive 524, a hard disk installed in hard disk drive 522, and signals. These computer program products are means for providing software to the computer system 500. The software contains the program code which can be executed by the computer system 500. The execution of this program code by the computer system 500 enables the computer system 500 to implement a methodology of the present application. The software that is provided to the computer system 500 can be in the form of a system software package, a program, or even a
[0075] The principles and spirits of the present application will be explained in detail below with reference to several representative embodiments of the present application. SUMMARY
[0077] The applicant finds that the existing experimental platform still has problems such as low accuracy of experimental equipment model, not intuitive operation process, disconnection between experiment and classroom teaching, and difficulty in realizing real-time evaluation, which cannot meet the needs of students to understand the experimental principle and master the experimental operation process.
[0078] Based on this, the present application outputs an experimental operation interface corresponding to the target experiment and containing one or more model elements associated with the target experiment in response to receiving an experimental selection instruction sent by a user for the target experiment. Based on this, the scheme of the present application updates the experimental operation interface in response to an update event initiated by the user for the experimental operation interface. In some embodiments, the aforementioned update event can include updating one or more model elements, so as to determine the evaluation result associated with the target experiment based on the update event. Through such a scheme design, the present application can enable the user to actively operate the element model to complete the experimental process and output the experimental evaluation result based on the actual operation of the user. Thus, the user can intuitively understand the experimental principle and master the experimental operation process in the process of actively operating the element model, and significantly improve the user experience.
[0079] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be introduced in detail below.
[0080] Overview of Application Scenarios
[0081] The simulation-based experimental evaluation method of the embodiments of the present application is applicable to electronic devices capable of running platform software, such as personal computers, tablet devices, smart phones, etc., so that the electronic devices can perform operations such as selecting experiments and executing update events in response to the user's instructions when the user inputs corresponding instructions to the electronic devices, so as to enable the user to actively operate the element model to complete the experimental process and output the experimental evaluation result based on the actual operation of the user, so that the user can intuitively understand the experimental principle and master the experimental operation process in the process of actively operating the element model, and improve the user experience.
[0082] Exemplary Method
[0083] The simulation-based experimental evaluation method according to the exemplary embodiments of the present application will be described below with reference to Figure 2 It should be noted that the above application scenarios are only shown for the purpose of facilitating understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. On the contrary, the embodiments of the present application can be applied to any applicable scenario.
[0084] Figure 2 A flowchart of a simulation-based experiment evaluation method according to another embodiment of the present application is schematically shown. Please refer to Figure 2 The simulation-based experiment evaluation method according to the embodiments of the present application can include the following steps:
[0085] In step 201, in response to receiving an experiment selection instruction sent by a user for a target experiment, an experiment operation interface corresponding to the target experiment is output. In the embodiments of the present application, the target experiment refers to an experiment item that the user needs to learn or take an exam, which can be, for example, an electrical experiment, a biochemical experiment, an optical experiment, etc., and the actual application can be determined, which is not limited herein.
[0086] The experiment selection instruction refers to an instruction generated by the user when selecting a target experiment. In some embodiments, the user can first log in to a platform for implementing the simulation-based experiment evaluation method using an account name and a password. After the platform successfully compares the account name and the password, an experiment selection interface is output. The user can select each experiment item displayed on the experiment selection interface according to actual needs, so as to input an experiment selection instruction to an electronic device running the platform. For example, if the electronic device is a computer, the experiment selection instruction can be input through a left mouse button. If the electronic device is a tablet computer or a smart phone, the experiment selection instruction can be input through a user's finger on the screen of the electronic device, and the actual application can be determined, which is not limited herein.
[0087] In response to the experimental selection instruction, an experimental operation interface corresponding to the target experiment is displayed on the device screen of the electronic device for the user to view. In the embodiments of the present application, the experimental operation interface includes one or more model elements associated with the target experiment. In some embodiments, the one or more model elements can include, but are not limited to, an experimental apparatus model associated with the target experiment and an apparatus adjustment component on the experimental apparatus model. For example, assuming that the target experiment is an electrical experiment, the experimental apparatus model can be a sliding rheostat, and the apparatus adjustment component can be a sliding piece on the sliding rheostat. In addition, in some embodiments, the experimental operation interface can also include, but is not limited to, an experimental instruction model corresponding to the target experiment and an experimental bench model for placing the experimental apparatus model. It can be understood that the experimental instruction model can be used to show the user the experimental operation content and the related experimental data input by the user, and the experimental operation content can include, but is not limited to, the experimental apparatus name required by the current experiment and the experimental operation steps, etc., which need to be determined according to the actual application, and the present application does not make any limitation here. In addition, the experimental bench model can be a three-dimensional experimental bench, and the user can complete the operation of the related experimental apparatus model within the range of the experimental bench model, view the experimental operation content in the experimental instruction model, and input the related experimental data in the experimental instruction model.
[0088] In some embodiments, assuming that the platform for implementing the simulation-based experimental evaluation method is an experimental examination platform, the experimental operation interface can also have a countdown module for displaying and prompting the user the remaining time of the experimental examination in such a scenario.
[0089] In step 202, in response to an update event initiated by the user for the experimental operation interface, the experimental operation interface is updated. The update event includes updating one or more model elements. In some embodiments, the update event includes, but is not limited to, a view switching interaction event and an experimental operation interaction event. The view switching interaction event is used to switch the operation view of the user, and the experimental operation interaction event is used to update the coordinate position of the experimental apparatus model and / or the apparatus adjustment component and update the performance state of the simulation experimental apparatus in the experimental apparatus model.
[0090] It can be understood that the virtual simulation technology can simulate the actual operation environment and experiment process through technical means such as graphic rendering, sound simulation, physical engine, etc. The experiment operation interface of the present application can be a high-precision three-dimensional laboratory scene simulated by virtual simulation technology. The experimental equipment models and equipment adjustment components in the scene are also modeled by three-dimensional high-precision modeling, one-to-one restoration of experimental equipment in the laboratory, and can simulate the physical, chemical or biological properties of the experimental equipment. Therefore, the viewing angle position in the three-dimensional laboratory scene can be configured and modified according to user needs and experiment requirements, so as to enable the user to observe the appearance structure and performance state changes of the experimental equipment models and equipment adjustment components from multiple viewing angles, such as oblique viewing angle, overhead viewing angle, normal viewing angle, near viewing angle, far viewing angle, etc.
[0091] In addition, in the embodiment of the present application, when entering the experiment operation interface, the experimental equipment models associated with the target experiment can be displayed at the preset initial coordinate position on the experimental table model, and the equipment adjustment components are also displayed at the preset origin position on the experimental equipment model. In response to the experiment operation interaction event initiated by the user for the experiment operation interface, the coordinate position of the experimental equipment model is updated to a coordinate position inconsistent with the preset initial coordinate position, and / or the coordinate position of the equipment adjustment component is updated to a coordinate position inconsistent with the preset origin position. In the case of updating the coordinate position of the experimental equipment model, the contact, collision, reaction or connection relationship between the experimental equipment models can be changed, thereby enabling the performance state of the simulated experimental equipment in the experimental equipment model to be updated.
[0092] In step 203, the evaluation result associated with the target experiment is determined based on the update event. It can be understood that each update event will contain at least one operation step to complete the update event based on the at least one operation step. In the embodiment of the present application, each operation step in the plurality of update events in the experiment process can be compared with the standard experiment step to determine whether each operation step of the user is the same or substantially the same as the standard experiment step. Each standard experiment step can correspond to a score point, so as to determine the evaluation result associated with the target experiment.
[0093] The experiment operation interface corresponding to the target experiment and containing one or more model elements associated with the target experiment is output in response to receiving an experiment selection instruction sent by a user for the target experiment. Based on this, the scheme of the present application updates the experiment operation interface in response to an update event initiated by the user for the experiment operation interface. In some embodiments, the aforementioned update event can include an update to one or more model elements, so as to determine an evaluation result associated with the target experiment based on the update event. Through such a scheme design, the present application can enable the user to actively operate the element model to complete the experiment process and output the experiment evaluation result based on the actual operation of the user. In this way, the user can intuitively understand the experiment principle and master the experiment operation process in the process of actively operating the element model, and significantly improve the user experience.
[0094] In some embodiments, the experiment operation interaction event can include but is not limited to an operation prompt interaction event and a drag movement interaction event. Figure 3 The flowchart of the simulation-based experiment evaluation method according to another embodiment of the present application is schematically shown. Please refer to Figure 3 In the simulation-based experiment evaluation method shown in the embodiment of the present application, the drag movement interaction event can include:
[0095] In step 301, the pointer selection instruction of the user is monitored. For example, if the device operated by the user is a computer, the pointer selection instruction can be the instruction generated when the left mouse button is clicked; if the device operated by the user is a tablet computer, the pointer selection instruction can be the instruction generated when the user's finger clicks the touch screen. It can be understood that the generation method of the pointer selection instruction needs to be determined according to the actual application, and the present application does not make any limitation in this regard.
[0096] In step 302, if the pointer selection instruction is monitored, it is determined whether to update the model state of the experiment equipment model or the equipment adjustment component according to the position where the pointer selection instruction occurs. The model state includes a static state and a dynamic state.
[0097] Specifically, when determining whether to update the model state of the experimental equipment model, it can be first judged whether the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model. It can be understood that the coordinate position range of the experimental equipment model can be regarded as the space range surrounded by the outer contour of the experimental equipment model. For example, if the device operated by the user is a computer, the user clicks the left button in the space range surrounded by the outer contour of the experimental equipment model by the mouse, which can be regarded as that the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model. Further, if the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model, the model state of the experimental equipment model is updated from the static state to the motion state in response to the pointer selection instruction, indicating that the current experimental equipment model has been selected and is ready to move.
[0098] On the other hand, when determining whether to update the model state of the equipment adjusting component, it can be first judged whether the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjusting component. It can be understood that the coordinate position range of the equipment adjusting component can be regarded as the space range surrounded by the outer contour of the equipment adjusting component. For example, if the device operated by the user is a computer, the user clicks the left button in the space range surrounded by the outer contour of the equipment adjusting component by the mouse, which can be regarded as that the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjusting component. Further, if the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjusting component, the model state of the equipment adjusting component is updated from the static state to the motion state in response to the pointer selection instruction, indicating that the current equipment adjusting component has been selected and is ready to move.
[0099] In step 303, if it is determined to update the model state of the experimental equipment model or the model state of the equipment adjusting component from the static state to the motion state, the motion trajectory of the experimental equipment model or the equipment adjusting component is determined based on the pointer motion trajectory of the user.
[0100] In the embodiments of the present application, the pointer motion trajectory can be determined as the model motion trajectory of the experimental equipment model. At the same time, in response to the model state of the experimental equipment model being updated from the static state to the motion state, the equipment motion operation instruction is generated. Further, in response to the equipment motion operation instruction, the experimental equipment model is moved along the model motion trajectory, that is, the current experimental equipment model can move along the pointer motion trajectory of the user. According to the equipment state of the experimental equipment model, it is determined whether to generate an error operation prompt and / or a dangerous operation prompt in the process of moving the experimental equipment model along the model motion trajectory. For example, assuming that the current experimental equipment model is an evaporating dish, when it is determined to update the model state of the evaporating dish from the static state to the motion state, the equipment motion operation instruction, for example, "START_DRAG-evaporating_dish", can be generated. However, if the equipment state of the above evaporating dish is the heated state, it can be understood that the evaporating dish in the heated state cannot be directly moved, and the evaporating dish in the heated state needs to be clamped by the crucible tongs before it can be moved, otherwise an error operation prompt and / or a dangerous operation prompt is generated. The error operation prompt and / or the dangerous operation prompt can include operation prompt information, which can be used to prompt the user to move the current experimental equipment model by using an auxiliary carrying model, which is an experimental equipment model that can carry the current experimental equipment model. Therefore, in this case, the occurrence position of the pointer selection instruction needs to be within the coordinate position range of the crucible tongs, and when it is determined to update the model state of the crucible tongs from the static state to the motion state, "START_DRAG-crucible_tongs" can be generated. Then, the crucible tongs are moved to the evaporating dish to establish a connection relationship with the evaporating dish, so that the evaporating dish can move along the crucible tongs, but at this time, "START_DRAG-evaporating_dish" does not need to be generated.
[0101] In another aspect, the component motion trajectory of the equipment adjustment component in the preset motion range can be determined based on the trajectory direction and the trajectory length of the pointer motion trajectory. In the embodiments of the present application, the preset motion range can be configured differently according to actual application conditions. For example, assuming that the current equipment adjustment component is a sliding vane on a sliding rheostat, the preset motion range corresponding to the sliding vane can be configured as a straight line segment corresponding to the magnetic cylinder of the sliding rheostat. Specifically, the preset motion range corresponding to the sliding vane can be determined by determining the coordinates of the two ends of the straight line segment. When it is determined that the model state of the equipment adjustment component is updated from the static state to the motion state, a component motion operation instruction can also be generated. In response to the component motion operation instruction, the current component motion operation instruction can move along the component motion trajectory determined based on the trajectory direction and the trajectory length of the pointer motion trajectory. When the sliding vane on the sliding rheostat moves, the resistance value of the sliding rheostat will also change accordingly.
[0102] For example, assuming that the current equipment adjustment component is a knob adjustment component, a virtual knob operation area can be output on the experimental operation interface in response to the generated component motion operation instruction. The virtual knob operation area is provided with an operation ball, the operation ball can move in a circle with the center point of the virtual knob operation area as the center, and the area range of the virtual knob operation area can be regarded as the preset motion range of the operation ball. Preferably, the virtual knob operation area can be a circular area. Further, it can be monitored whether the occurrence position of the pointer selection instruction of the user is within the coordinate position range of the operation ball. If it is monitored that the pointer selection instruction of the user occurs within the coordinate position range of the operation ball, the component motion trajectory of the operation ball in the virtual knob operation area can be determined based on the trajectory direction and the trajectory length of the pointer motion trajectory. For example, the knob adjustment component can be a zeroing screw of an ammeter. When the operation ball moves along the component motion trajectory in the virtual knob operation area, the pointer of the ammeter will also change the rotation angle accordingly, so as to achieve the zeroing effect of the ammeter.
[0103] It can be understood that if the pointer motion trajectory is always within the preset motion range, the direction and length of the component motion trajectory are consistent with the trajectory direction and the trajectory length of the pointer motion trajectory. However, if the pointer motion trajectory exceeds the preset motion range, the direction of the component motion trajectory is consistent with the trajectory direction of the pointer motion trajectory, and the length of the component motion trajectory needs to be determined after conversion of the trajectory length of the pointer motion trajectory. Exemplarily, assuming that the current equipment adjustment component is a slide on a sliding rheostat, the trajectory direction of the pointer motion trajectory is right, and the direction of the component motion trajectory is also right. However, the pointer motion trajectory exceeds the preset motion range, the vertical distance between the position of the pointer when the pointer stops and the preset motion range corresponding to the slide is 3 cm, and the trajectory length of the pointer motion trajectory is 5 cm, so the length of the component motion trajectory in the preset motion range corresponding to the slide converted from the trajectory length of the pointer motion trajectory is 4 cm. Exemplarily, assuming that the current equipment adjustment component is a zeroing screw of an ammeter, the trajectory direction of the pointer motion trajectory is counterclockwise, and the direction of the component motion trajectory of the operating ball is also counterclockwise. However, the pointer motion trajectory exceeds the virtual knob operation region, so the circular arc trajectory length and the circular arc central angle of the pointer motion trajectory can be determined with the center point of the virtual knob operation region as the center, and the circular arc length of the component motion trajectory of the operating ball in the virtual knob operation region is determined according to the circular arc central angle and the set rotation radius of the operating ball in the virtual knob operation region.
[0104] It can also be understood that the above exemplary description is only for better understanding of the scheme. In actual application, the way of determining the component motion trajectory of the equipment adjustment component in the preset motion range based on the trajectory direction and the trajectory length of the pointer motion trajectory is various, and a suitable way can be selected according to actual application, and the present application does not make any limitation in this aspect.
[0105] In step 304, until the pointer placement instruction of the user is monitored, the target placement position of the experimental equipment model or the equipment adjustment component is determined according to the occurrence position of the pointer placement instruction.
[0106] In the embodiments of the present application, the target placement position of the experimental apparatus model can be determined as follows: if the distance between the occurrence position of the pointer placement instruction and the assembled experimental apparatus is less than the preset distance threshold, it indicates that the coordinate position of the experimental apparatus model is very close to the assembled experimental apparatus, and thus the target placement position of the experimental apparatus model currently in the motion state is determined as the assembly coordinate position of the assembled experimental apparatus. It can be understood that the assembled experimental apparatus can adsorb the experimental apparatus model having the corresponding assembly relationship therewith when the experimental apparatus model approaches the assembled experimental apparatus, so as to complete the assembly of the experimental apparatus model and the assembled experimental apparatus, and thus the target placement position of the experimental apparatus model currently in the motion state can be determined as the assembly coordinate position of the assembled experimental apparatus. For example, it is assumed that the current experimental apparatus model is an evaporating dish, and the assembled experimental apparatus is the iron ring of the iron stand. It can be understood that the assembly coordinate position of the assembled experimental apparatus can be the upper position of the iron ring, so that the evaporating dish is assembled on the iron ring, and the iron ring can support the evaporating dish.
[0107] If the distance between the occurrence position of the pointer placement instruction and the assembled experimental apparatus is greater than or equal to the preset distance threshold, it indicates that the coordinate position of the experimental apparatus model is far away from the assembled experimental apparatus, and thus the target placement position of the experimental apparatus model currently in the motion state is determined as the occurrence position of the pointer placement instruction. In some embodiments, the experimental apparatus model can also be withdrawn to the initial position in the motion process. The actual application condition can be determined, and the present application does not make any limitation in this aspect.
[0108] On the other hand, the target placement position of the apparatus adjusting component can be determined as follows: if the occurrence position of the pointer placement instruction is within the preset motion range, the target placement position of the apparatus adjusting component currently in the motion state is determined as the occurrence position of the pointer placement instruction.
[0109] If the occurrence position of the pointer placement instruction is outside the preset motion range, the target placement position of the apparatus adjusting component currently in the motion state is determined as the projection position of the occurrence position of the pointer placement instruction in the preset motion range. For example, it is assumed that the current apparatus adjusting component is a slide on a sliding rheostat, the trajectory direction of the pointer motion trajectory is right, but the pointer motion trajectory exceeds the preset motion range, the vertical distance between the position of the pointer when the pointer stops and the preset motion range corresponding to the slide is 3 cm, and the length of the pointer motion trajectory is 5 cm, and thus the length of the component motion trajectory in the preset motion range corresponding to the slide converted from the length of the pointer motion trajectory is 4 cm, and thus the target placement position of the slide should be the position 4 cm right to the starting position.
[0110] If the projection position of the occurrence position of the pointer placement instruction is out of the preset motion range, the target placement position of the equipment adjustment component currently in the motion state is determined as the motion range endpoint close to the occurrence position of the pointer placement instruction in the preset motion range. Exemplarily, assuming that the current equipment adjustment component is a slide on a slide rheostat, the magnetic cylinder length of the slide rheostat is 4 cm, the trajectory direction of the pointer motion trajectory is to the right, but the pointer motion trajectory exceeds the preset motion range, the vertical distance between the position of the pointer when the pointer stops and the preset motion range corresponding to the slide is 3.5 cm, and the trajectory length of the pointer motion trajectory is 5.8 cm, the length of the component motion trajectory in the preset motion range corresponding to the slide converted from the trajectory length of the pointer motion trajectory should exceed 4 cm, but the magnetic cylinder length of the slide rheostat is 4 cm, so the target placement position of the slide should be the right endpoint in the preset motion range.
[0111] In particular, before determining the target placement position of the experimental equipment model or the equipment adjustment component according to the occurrence position of the pointer placement instruction, the equipment profile of the assembled experimental equipment can be updated from the original state to the highlighted state, so as to prompt the user that the experimental equipment model or the equipment adjustment component can generate an assembly relationship or a connection relationship with the assembled experimental equipment.
[0112] In the embodiment of the present application, after determining the target placement position of the experimental equipment model or the equipment adjustment component according to the occurrence position of the pointer placement instruction, the collision determination result can be determined according to the motion process of the current experimental equipment model, the coordinate position range of the experimental bench model and the coordinate position of the remaining experimental equipment models on the experimental bench model, wherein the motion process is the motion trajectory and / or the target placement position of the current experimental equipment model. Specifically, if the motion process of the current experimental equipment model intersects with the coordinate position range of the experimental bench model or the remaining experimental equipment models on the experimental bench model, it is determined that the current experimental equipment model collides with the experimental bench model or the remaining experimental equipment models on the experimental bench model. Further, if the collision determination result is collision, the collision object is recorded, wherein the collision object is the experimental bench model or the remaining experimental equipment model colliding with the current experimental equipment model, and whether to generate an error operation prompt and / or a dangerous operation prompt is determined according to the equipment state of the current experimental equipment model and the collision object.
[0113] Exemplarily, assuming that the current experimental equipment model is an evaporating dish in a heating state, in the movement process of the evaporating dish following the movement of the crucible tongs, if the movement trajectory and / or the target placement position of the evaporating dish directly intersects with the coordinate position range of the experimental bench model, it can be determined that the evaporating dish collides with the experimental bench model. However, at this time, since the evaporating dish is in a heating state, it cannot directly collide with the experimental bench model or be directly placed on the experimental bench model, and therefore an error operation prompt and / or a dangerous operation prompt can be generated to remind the user that the direct collision of the evaporating dish in the heating state with the experimental bench model or the direct placement of the evaporating dish in the heating state on the experimental bench model is an error operation behavior and / or a dangerous operation behavior.
[0114] In step 305, the performance state of the simulated experimental equipment is updated according to the target placement position of the experimental equipment model and / or the equipment adjusting component.
[0115] Exemplarily, when the target experiment is a weighing experiment, the simulated experimental equipment is a balance, the experimental equipment model is an object to be weighed and a weight, and the equipment adjusting component is a sliding weight, the weight difference between the object to be weighed and the weight placed on the two weighing pans of the balance can be determined according to the preset weight of the object to be weighed placed on one end of the weighing pan of the balance, the preset weight of the weight placed on the other end of the weighing pan of the balance, and the target placement position of the sliding weight, and then the tilt angle of the balance is updated according to the weight difference. It can be understood that the target placement position of the object to be weighed is the one end of the weighing pan of the balance, the target placement position of the weight is the other end of the weighing pan of the balance, and assuming that the current user operation is a computer, the mouse cursor can be set as a 2D picture of the weight or the object to be weighed dragging when the weight or the object to be weighed moves to the corresponding target placement position, and the 2D picture will move following the movement of the mouse cursor. In the movement process, it is judged whether the mouse cursor position is within the coordinate position range of the weighing pan, and if so, the user can be prompted in the form of highlighting the outline of the weighing pan that the weight or the object to be weighed has reached the coordinate position range of the weighing pan, and at this time the mouse left button can be released for placement operation. At this time, after the user releases the mouse left button, the position coordinates of the weight or the object to be weighed can be further corrected to enable the weight or the object to be weighed to reach the corresponding target placement position.
[0116] Specifically, the total weight of the weight placed on the one end of the weighing pan can be added to the reading of the sliding weight, and then the total weight of the object placed on the one end of the weighing pan is subtracted to obtain the weight difference, and if the weight difference is greater than zero, the image of the balance tilting n° within the preset frame number is output; if the weight difference is less than zero, the image of the balance tilting -n° within the preset frame number is output; and if the weight difference is equal to zero, the balance does not tilt. Wherein, n is greater than zero, and preferably n can be 10, which needs to be determined according to the actual application, and the present application does not make any limitation in this aspect.
[0117] Further, when the target experiment is a microscope experiment and the simulation experiment equipment is a microscope, the equipment adjustment component is a coarse focus knob and a fine focus knob, the rotation direction and the rotation angle can be determined according to the target placement position of the coarse focus knob and the fine focus knob and the original placement position of the coarse focus knob and the fine focus knob. The original placement position of the coarse focus knob and the fine focus knob can be regarded as the initial position before the coarse focus knob and the fine focus knob are updated to the target placement position, so that the rotation direction of the coarse focus knob and the fine focus knob can be determined by the difference between the original placement position and the target placement position, and the rotation angle of the coarse focus knob and the fine focus knob can be determined respectively. For example, it is assumed that the current user is operating a tablet computer, and the user generates a component motion operation instruction by clicking the coarse focus knob or the fine focus knob. The platform outputs a virtual knob operation area in the experiment operation interface in response to the generated component motion operation instruction, and the virtual knob operation area is provided with an operation ball that can move in the virtual knob operation area. The operation ball moves along with the movement of the finger after the user clicks the operation ball. Further, since three points can determine an angle, the center point a of the virtual knob operation area can be set as the first point, the original position b of the finger can be set as the second point, and the current position c of the finger can be set as the third point. The first line segment is obtained by connecting the points a and b, the second line segment is obtained by connecting the points a and c, and the included angle between the first line segment and the second line segment is the rotation angle of the coarse focus knob or the fine focus knob. According to the relative position of the first line segment and the second line segment, the rotation direction can be determined as clockwise or counterclockwise.
[0118] Since the rotation angle of the coarse focus knob and the fine focus knob has a linear relationship with the movement distance of the stage, the actual distance between the stage and the objective lens can be updated according to the rotation direction and the rotation angle, and then the height difference can be determined according to the actual distance and the preset distance. The preset distance is the distance between the objective lens and the stage when the microscope can clearly image, that is, the object distance. Since the blurring degree of the image is proportional to the height difference, the Gaussian blur number and the Gaussian blur radius of the output observation image can be determined according to the height difference. Specifically, the Gaussian blur number and the Gaussian blur radius can be determined by the following formula:
[0119] y = step * Math.Abs(d-v);
[0120] wherein Math.Abs(d-v) represents the above-mentioned height difference, which is determined by taking the absolute value of the difference between the actual distance and the preset distance. y is the numerical value of the blur number and the blur radius, and step is the sensitivity coefficient, which corresponds to the numerical value of the change of the blur number and the blur radius when the height difference changes by 1 cm, and then the observation image with the required blurring degree is obtained.
[0121] Further exemplarily, when the target experiment is a lens optical experiment, the simulation experiment equipment is a light screen, and the experiment equipment model comprises a light source, a convex lens, and a concave-convex mirror, the actual distance can be determined according to the target placement positions of the light source, the convex lens, the concave-convex mirror, and the light screen, and then the distance difference can be determined according to the actual distance and the preset distance, wherein the preset distance is the distance between the light source, the convex lens, the concave-convex mirror, and the light screen when the light screen can clearly image, and the Gaussian blur number and the Gaussian blur radius of the output observation image are determined according to the distance difference.
[0122] Further exemplarily, when the target experiment is a reflection optical experiment, the simulation experiment equipment is a mirror, and the experiment equipment model comprises a light ray output device, the mirror intersection point can be determined according to the target placement positions of the light ray output device and the mirror, and the reflected light ray image can be output according to the mirror intersection point and the normal vector of the mirror. Specifically, the image in front of the mirror can be obtained from the perspective of the direction from the mirror to the light ray output device, the obtained image is output to a rendering texture, and then the rendering texture is converted to conform to the optical characteristics of the plane mirror by using the shader technology in computer graphics to obtain a target image. Finally, the obtained target image is output to the mirror surface for display, so that the mirror surface can display an image conforming to the reflection law.
[0123] Further exemplarily, when the target experiment is an electrical experiment, the simulation experiment equipment is a lamp, and the experiment equipment model comprises a power supply, a wire, and at least one circuit component; wherein the circuit component comprises at least one circuit measuring device and a variable resistor; each circuit component has a terminal post, and the circuit diagram can be determined according to the target placement positions of the power supply, the wire, and the at least one circuit component. It can be understood that the target placement position of the wire is between the terminals of the power supply and the at least one circuit component, and is used to connect the power supply and the at least one circuit component to form a circuit.
[0124] When the wire is connected between each terminal, the wire model can be generated on the current terminal in the current application scenario if the occurrence position of the pointer selection instruction is within the coordinate position range of any terminal, by traversing the terminals on which the power supply and at least one circuit component can be connected and monitoring the pointer selection instruction at any terminal. It can be understood that the wire model belongs to the experimental equipment model, and the wire model can be preconfigured in the terminal model or generated on the terminal corresponding to the occurrence position of the pointer selection instruction, depending on the actual application. The present application does not make any limitation in this regard. Further, the model state of the wire model is updated from the static state to the motion state, so as to realize the dragging movement of the wire from the current terminal. In the wire movement process, other terminals that can be connected from the current terminal are further screened out, and the profile of the above other terminals is updated from the original state to the highlighted state, so as to prompt the user to drag the wire to the other terminal in the highlighted state for connection.
[0125] Further, all closed loops in the circuit diagram are traversed. Specifically, a graph data structure can be generated, a node on the graph is created for each power supply and each circuit component, and an edge connecting the nodes corresponding to two circuit components is added in the graph whenever the two circuit components are connected. Similarly, the edge between the nodes corresponding to two components is deleted whenever the two components are disconnected. When traversing, the node corresponding to the power supply is first found, and then the edge corresponding to the wire connected to the positive terminal of the power supply is traversed to find all closed loops in the circuit diagram. Among them, a closed loop must start from the positive terminal of the power supply and end at the negative terminal of the power supply, all circuit components on the loop can only appear once on the loop, and if there is a switch on the loop, the switch must be in the closed state.
[0126] Further, the current value and the voltage value of each circuit component and the lamp are determined based on each closed loop. Specifically, Kirchhoff's equation corresponding to each closed loop can be generated according to Kirchhoff's circuit law, and then the Kirchhoff's equation corresponding to each closed loop is solved to form a Kirchhoff's equation set, so as to determine the current value and the voltage value of each circuit component and the lamp. The current value and the voltage value of each circuit component and the lamp and the range of the circuit measuring device are used to update the indication interface of the circuit measuring device, such as the current meter and the voltage meter. The corresponding current value and voltage value are updated and displayed in the indication interface of the current meter and the voltage meter. Whether the range is exceeded or whether the connection is reversed can be determined through the indication interface of the current meter and the voltage meter, so as to determine whether to generate an error operation prompt and / or a dangerous operation prompt. The display brightness of the lamp is updated based on the current value and the voltage value of the lamp. The display brightness of the lamp can be updated according to the current value, the voltage value on the lamp, and the rated voltage and the rated current of the lamp.
[0127] Further exemplarily, when the target experiment is a biochemical experiment, the simulation experiment equipment is a measuring cylinder, and the experiment equipment model comprises a beaker, whether the liquid in the beaker is injected into the measuring cylinder can be determined according to the target placement positions of the beaker and the measuring cylinder. If the distance between the target placement positions of the beaker and the measuring cylinder is less than a preset distance threshold, the beaker is adsorbed to the opening of the measuring cylinder, and the liquid in the beaker is triggered to be injected into the measuring cylinder. If it is determined to be injected, the liquid level of the measuring cylinder is updated according to the liquid capacity and the size of the measuring cylinder. Wherein, the injection of the liquid can consider the bottom area of different containers. When pouring into a container with a small bottom area, the liquid level rises more, and when pouring into a container with a large bottom area, the liquid level rises less. Therefore, the maximum capacity of the container, the current capacity of the liquid and the bottom area of the container need to be recorded in the beaker, the measuring cylinder and other containers. The height of the liquid is calculated according to the current injected liquid capacity and the container bottom area. When the liquid is poured out, the height of the liquid level can be calculated according to the poured capacity and the container bottom area. When the liquid is poured in, the height of the liquid level can be calculated according to the poured capacity and the container bottom area.
[0128] In some embodiments, the aforementioned update event can further include a perspective switching interaction event, and the experiment operation interaction event comprises an operation prompt interaction event and a drag motion interaction event. Figure 4 The flowchart of the simulation-based experiment evaluation method according to another embodiment of the present application is schematically shown. Please refer to Figure 4 The simulation-based experiment evaluation method shown in the embodiments of the present application can comprise:
[0129] In step 401, the pointer coordinate position of the user is monitored. In the operation prompt interaction event, the pointer coordinate position of the user needs to be monitored in real time. Exemplarily, if the device operated by the user is a computer, the pointer coordinate position can be the mouse pointer position; if the device operated by the user is a tablet computer, the pointer coordinate position can be the position of the user's finger when clicking the touch screen. It can be understood that the determination method of the pointer coordinate position needs to be determined according to the actual application, and the present application does not make any limitation in this regard.
[0130] In step 402, the pointer shape is updated to the corresponding prompt cursor shape based on the pointer coordinate position. If it is monitored that the pointer coordinate position is within the coordinate position range of the current experiment equipment model, the pointer shape is updated to the prompt cursor shape matched with the operable mode of the current experiment equipment model. Exemplarily, if the pointer coordinate position is on the cover glass, the pointer shape is updated to the prompt cursor shape of the magnifying glass shape. Because the cover glass has a small area, it needs to be magnified when observing the experiment operation of "the cover glass is slowly covered on the slide from the liquid drop side".
[0131] On the other hand, if the pointer coordinate position is monitored to be within the coordinate position range of the equipment adjustment component of the current experimental equipment model, the pointer shape is updated to a prompt cursor shape matching the operable mode of the equipment adjustment component of the current experimental equipment model. For example, if the equipment adjustment component is a microscope power switch, the pointer shape is updated to a hand-shaped prompt cursor shape; if the equipment adjustment component is a terminal post, the pointer shape is updated to a wire-shaped prompt cursor shape.
[0132] In particular, in the view angle switching interaction event, if the pointer coordinate position is monitored to be within the coordinate position range of the observable equipment model in the experimental equipment model, the pointer shape is updated to an enlarged prompt cursor, which can be consistent with the above-mentioned magnifying glass-shaped prompt cursor shape or can be a cursor of other shapes, which are not limited in the present application.
[0133] In step 403, if the zoom-in confirmation instruction generated by the user within the coordinate position range of the observable equipment model is received, the experimental operation interface is updated to the model close-up interface corresponding to the observable equipment model in response to the zoom-in confirmation instruction. The observable equipment model can be exemplarily a current meter and a voltage meter. The pointer can be hovered to the dial position of the current meter or the voltage meter. After the zoom-in confirmation instruction is input, the platform updates the experimental operation interface to the model close-up interface of the current meter or the voltage meter in response to the zoom-in confirmation instruction, so that the user can clearly observe the reading on the current meter or the voltage meter.
[0134] In step 404, if the zoom-in restoration instruction generated by the user within the coordinate position range of the observable equipment model is received, the model close-up interface is updated to the experimental operation interface in response to the zoom-in restoration instruction.
[0135] In step 405, if the pointer selection instruction generated by the user within the coordinate position range of the equipment adjustment component is received, a partial display window of the observable equipment model corresponding to the equipment adjustment component is output in the experimental operation interface. For example, when adjusting the sliding rheostat, the voltage reading of the voltage meter needs to be observed while moving the sliding piece. After the circuit is correctly connected, the partial display window of the voltage meter is output in the experimental operation interface when the sliding rheostat sliding piece is dragged, and the dial position of the voltage meter is enlarged, so that the user can clearly observe the reading on the voltage meter. The partial display window disappears when the sliding piece is released.
[0136] It can be understood that the execution of step 405 is not strictly time-limited in sequence with the execution of steps 403 to 404. Step 405 or steps 403 to 404 can be executed according to the actually received instruction, which is not limited in the present application.
[0137] In some embodiments, after receiving the relevant experimental data in the experiment description model input by the user and receiving the experiment end instruction input by the user, the step of determining the experimental evaluation result is started to be executed. Figure 5 The flowchart of the simulation-based experiment evaluation method according to yet another embodiment of the present application is schematically shown in FIG. 6. As shown in FIG. 6, the simulation-based experiment evaluation method according to the embodiment of the present application can include the following steps. Figure 5 The simulation-based experiment evaluation method according to the embodiment of the present application can include the following steps.
[0138] In step 501, the state data array is determined based on each operation state data. The operation state data is the data recorded in the update event corresponding to each operation step, and the operation state data at least includes the equipment state, the operation time information and the position information of the model element after the update.
[0139] It can be understood that each experiment includes a plurality of experimental equipment models, each of which has its own equipment state, for example, a beaker records the type and volume of liquid in the beaker, and an evaporating dish records whether it is in a heating state. Each experimental equipment model also has its own coordinate position information. Each operation step performed in the update event can affect the operation state data of the experimental equipment model. Therefore, when the user performs an operation, all experimental equipment models in the current experiment can be traversed, and the operation state data of all experimental equipment models can be saved. The operation state data at least includes the operation time information and the position information of the model element after the update, and can also include the operation name and the equipment state, etc., thereby generating the operation state data ExperimentState corresponding to the operation. The obtained several operation state data ExperimentState are sequentially arranged according to the operation time, and the state data array List <experimentstate>.
[0140] In step 502, an experiment state condition is formed based on one or more component states.
[0141] In the embodiments of the present application, analysis can be performed based on the obtained state data array. Specifically, one important means of data analysis is to judge and filter the experiment state condition Condition, which is a description of the experiment data. The experiment state condition can be formed based on the component state ComponentCondition of a single experiment component model, or based on the component state ExperimentCondition of multiple experiment component models. For example, the closing of a switch can be regarded as an experiment state condition. In the experiment, a switch component is found, and the component state of the switch component stores the state of whether it is closed. If the switch state is closed in an operation state data ExperimentState, then the experiment state condition is satisfied, which is an experiment state condition based on the state of a single circuit component. In addition, for example, the experiment state condition can also be to judge whether a circuit is a series circuit. To do this, the connection state of all circuit components in the experiment needs to be judged. In this scenario, if the connection of the circuit in an operation state data ExperimentState is a series circuit, then it can be considered that the experiment state condition is satisfied, and the experiment state condition is an experiment state condition based on the state of multiple circuit components.
[0142] Further, for example, it is judged whether an operation step is to pour water into a beaker containing concentrated sulfuric acid, which is also an experiment state condition. This needs to be judged based on the previous and next operation state data ExperimentState to determine whether the experiment state condition can be satisfied. If the beaker in the previous operation state data ExperimentState contains only concentrated sulfuric acid, and the beaker in the next operation state data ExperimentState contains both concentrated sulfuric acid and water, then it can be judged that this is an operation step of pouring water into a beaker containing concentrated sulfuric acid, and the experiment state condition is satisfied, which is an experiment state condition OperationCondition running based on multiple operation state data ExperimentState.
[0143] Further elaboration, as an example, to determine whether a certain operation step is the step of adding water to a beaker containing concentrated sulfuric acid, it needs to be determined according to two continuous operation state data ExperimentState. Specifically, if the beaker only contains concentrated sulfuric acid in the last operation state data ExperimentState, and the beaker contains both concentrated sulfuric acid and water in the next operation state data ExperimentState, it can be inferred that the operation step is to pour water into the beaker containing concentrated sulfuric acid. At this time, the running experiment state condition OperationCondition is satisfied, and the running experiment state condition is an experiment state condition based on multiple operation state data ExperimentState.
[0144] It can be understood that the permutation and combination of different experiment state conditions can constitute a new experiment state condition. For example, the combination of the on-off switch experiment state condition and the series circuit experiment state condition can obtain a new experiment state condition, which is an on-off switch series circuit, which is a more complex experiment state condition. The permutation and combination of experiment state conditions to form a new experiment state condition is realized by operator overloading of the experiment state condition Condition class. By overloading the & |! operators of the Condition class, the expression condition1 & condition2 can return a new experiment state condition condition3. More complex expressions such as (condition1 |! codition2) & condition3 can also be supported.
[0145] In step 503, the target operation state data is determined in the state data array according to the experiment state condition. Through the experiment state condition, the target operation state data can be determined in the state data array List <experimentstate>Filter out the meaningful operation state data ExperimentState, i.e., the target operation state data.
[0146] In step 504, determine the experimental evaluation result according to the target operation state data, and the experimental evaluation result includes the experimental evaluation score, the error operation list, the dangerous operation list, and the experimental learning situation analysis.
[0147] According to the target operation state data, the correct operation judgment, the error operation judgment, the dangerous operation judgment, the experimental score judgment, and the experimental learning situation analysis can be realized, so that the experimental evaluation result including the experimental evaluation score, the error operation list, the dangerous operation list, and the experimental learning situation analysis can be formed. For example, if the operation state data of the user meets the experimental state condition of pouring water into a beaker containing concentrated sulfuric acid, the error operation judgment and / or the dangerous operation judgment are triggered, the operation step corresponding to the current operation state data is updated to the error operation list and / or the dangerous operation list, and the user can be reminded by a pop-up window or a message box in the experimental operation interface that this operation step is a dangerous operation and / or an error operation. When the experimental score is judged, it can be determined that the operation step of the user meets the experimental state condition of pouring water into a beaker containing concentrated sulfuric acid, so that the corresponding preset operation score point should not be scored.
[0148] In the experimental evaluation score in the experimental evaluation result, the final experimental score can be shown, and the preset operation score points that are scored and the preset operation score points that are not scored can be listed, and the accuracy can be further calculated. Therefore, the user's performance in different experiments can be comprehensively analyzed to give targeted optimization suggestions to improve the user's mastery of the experiment and improve the user's learning effect of the experiment.
[0149] Exemplary Device
[0150] After introducing the method of the example embodiment of the present application, next, with reference to Figure 6 and Figure 7 The product related to the simulation-based experimental evaluation method of the example embodiment of the present application is described.
[0151] Figure 6 The structure schematic diagram of the simulation-based experimental evaluation device according to another embodiment of the present application is schematically shown. Please refer to Figure 6 The simulation-based experimental evaluation device shown in the embodiment of the present application can include:
[0152] The experiment selection module 601 is configured to output the experimental operation interface corresponding to the target experiment in response to receiving the experiment selection instruction sent by the user for the target experiment, wherein the experimental operation interface includes one or more model elements associated with the target experiment.
[0153] The experiment operation module 602 is configured to update the experiment operation interface in response to an update event initiated by the user for the experiment operation interface, wherein the update event comprises an update to one or more model elements;
[0154] The experiment result module 603 is configured to determine an evaluation result associated with the target experiment based on the update event.
[0155] The experiment evaluation device based on simulation according to the embodiments of the present application can output an experiment operation interface corresponding to a target experiment, which contains one or more model elements associated with the target experiment, in response to receiving an experiment selection instruction sent by a user for the target experiment. Then, the experiment operation interface is updated in response to an update event initiated by the user for the experiment operation interface, wherein the update event comprises an update to one or more model elements, so as to determine an evaluation result associated with the target experiment based on the update event. Thus, the user can actively operate the element model to complete the experiment process and output the experiment evaluation result based on the actual operation of the user, so that the user can intuitively understand the experiment principle and master the experiment operation process in the process of actively operating the element model, thereby improving the user experience.
[0156] Figure 7 A schematic block diagram of an electronic device according to an embodiment of the present application is schematically shown. Please refer to Figure 7 The electronic device 700 can include a processor 701 and a memory 702.
[0157] The memory 702 stores computer instructions, which, when executed by the processor 701, cause the electronic device 700 to perform the method according to the foregoing embodiments.
[0158] In some implementation scenarios, the electronic device 700 can include a server or a terminal device, such as a physical server, a cloud server, a server cluster, a data processing apparatus, an application testing robot, a computer terminal, a smart terminal, a PC device, an Internet of Things terminal, and the like.
[0159] The processor 701 can be a central processing unit (CPU), 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 the like. The general-purpose processor can be a microprocessor or the processor can be any conventional processor.
[0160] Based on the above, the present application further discloses a computer readable storage medium containing program instructions, which, when executed by a processor, cause the implementation of the method according to the above embodiments.
[0161] In some implementation scenarios, the above computer readable storage medium can be any suitable magnetic storage medium or magneto-optical storage medium, such as resistive random access memory (RRAM), dynamic random access memory (DRAM), static random access memory (SRAM), enhanced dynamic random access memory (EDRAM), high bandwidth memory (HBM), hybrid memory cube (HMC), etc., or any other medium that can be used to store desired information and can be accessed by an application, a module, or both. Any such computer storage medium can be part of or accessible to the device. Any application or module described herein can be implemented using computer readable / executable instructions that can be stored or otherwise held by such computer readable medium.
[0162] It should be noted that although several devices or sub-devices of the simulation-based experimental evaluation apparatus are mentioned in the above detailed description, such a division is merely not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more devices described above can be embodied in one device. Conversely, the features and functions of one device described above can be further divided into devices embodied by multiple devices.
[0163] Furthermore, although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowchart may be performed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0164] The use of the verbs "including" and "contains" and their inflections in the application documents does not preclude the existence of elements or steps other than those described in the application documents. The article "a" or "one" preceding an element does not preclude the existence of multiple such elements.
[0165] While the spirit and principles of this application have been described with reference to several specific embodiments, it should be understood that this application is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for convenience of expression. This application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the appended claims is to be interpreted in the broadest sense, thereby encompassing all such modifications and equivalent structures and functions.< / experimentstate> < / experimentstate>
Claims
1. A simulation-based experimental evaluation method, characterized by, The method comprises: in response to receiving an experiment selection instruction sent by a user for a target experiment, outputting an experiment operation interface corresponding to the target experiment, wherein the experiment operation interface comprises one or more model elements associated with the target experiment; the experiment operation interface further comprises an experiment instruction model corresponding to the target experiment and an experiment table model for placing an experiment equipment model; the model elements comprise the experiment equipment model and an equipment adjustment component on the experiment equipment model; in response to an update event initiated by the user for the experiment operation interface, updating the experiment operation interface, wherein the update event comprises an update to the one or more model elements; the update event comprises a perspective switching interaction event and an experiment operation interaction event; the experiment operation interaction event comprises an operation prompt interaction event and a drag motion interaction event; in the drag motion interaction event, the simulation-based experiment evaluation method comprises: monitoring a pointer selection instruction of the user; if the pointer selection instruction is monitored, determining whether to update a model state of the experiment equipment model or the equipment adjustment component according to a position where the pointer selection instruction occurs; the model state comprises a static state and a motion state; if it is determined to update the model state of the experiment equipment model or the model state of the equipment adjustment component from the static state to the motion state, determining a motion trajectory of the experiment equipment model or the equipment adjustment component based on a pointer motion trajectory of the user; until a pointer placement instruction of the user is monitored, determining a target placement position of the experiment equipment model or the equipment adjustment component according to a position where the pointer placement instruction occurs; updating a performance state of a simulation experiment equipment according to the target placement position of the experiment equipment model and / or the equipment adjustment component; in the determination of the target placement position of the experiment equipment model or the equipment adjustment component according to the position where the pointer placement instruction occurs, the determination of the target placement position of the experiment equipment model comprises: if a distance between the position where the pointer placement instruction occurs and an assembled experiment equipment is less than a preset distance threshold, determining a target placement position of the experiment equipment model currently in the motion state as an assembly coordinate position of the assembled experiment equipment; if the distance between the position where the pointer placement instruction occurs and the assembled experiment equipment is greater than or equal to the preset distance threshold, determining the target placement position of the experiment equipment model currently in the motion state as the position where the pointer placement instruction occurs; wherein the assembled experiment equipment is an experiment equipment model having a corresponding assembly relationship with the experiment equipment model currently in the motion state; determining an evaluation result associated with the target experiment based on the update event; wherein in the determination of the motion trajectory of the experiment equipment model based on the pointer motion trajectory of the user, the determination of the motion trajectory of the experiment equipment model comprises: determining the pointer motion trajectory as a model motion trajectory of the experiment equipment model; The determining of the motion trajectory of the equipment adjustment component comprises: determining a component motion trajectory of the equipment adjustment component within a preset motion range based on a trajectory direction and a trajectory length of the pointer motion trajectory; when the pointer motion trajectory is determined as the model motion trajectory of the experimental equipment model, the simulation-based experimental evaluation method further comprises: generating an equipment motion operation instruction in response to the model state of the experimental equipment model being updated from the static state to the motion state; moving the experimental equipment model along the model motion trajectory in response to the equipment motion operation instruction; determining whether an error operation prompt and / or a dangerous operation prompt is generated in the process of moving the experimental equipment model along the model motion trajectory according to the equipment state of the experimental equipment model; wherein the error operation prompt and / or the dangerous operation prompt contains operation prompt information; the operation prompt information is used to prompt the user to move the current experimental equipment model by an auxiliary carrying model; the auxiliary carrying model is an experimental equipment model capable of carrying the current experimental equipment model, after the target placement position of the experimental equipment model or the equipment adjustment component is determined according to the occurrence position of the pointer placement instruction, the simulation-based experimental evaluation method further comprises: determining a collision determination result according to the motion process of the current experimental equipment model, the coordinate position range of the experimental bench model, and the coordinate positions of the remaining experimental equipment models on the experimental bench model; the motion process is the motion trajectory and / or the target placement position of the current experimental equipment model; if the collision determination result is collision, recording a collision object; the collision object is the experimental bench model or the remaining experimental equipment model that collides with the current experimental equipment model; determining whether an error operation prompt and / or a dangerous operation prompt is generated according to the equipment state of the current experimental equipment model and the collision object.
2. The simulation-based experimental evaluation method according to claim 1, wherein: the view angle switching interaction event is used to switch the operation view angle of the user; and the experimental operation interaction event is used to update the coordinate positions of the experimental equipment model and / or the equipment adjustment component and update the performance state of the simulation experimental equipment in the experimental equipment model.
3. The simulation-based lab evaluation method of claim 2, wherein, The operation prompt interaction event comprises: monitoring the coordinate position of the pointer; if the monitored coordinate position of the pointer is within the coordinate position range of the current experimental equipment model, updating the pointer shape to a prompt cursor shape matched with the operable mode of the current experimental equipment model; or if the monitored coordinate position of the pointer is within the coordinate position range of the equipment adjustment component of the current experimental equipment model, updating the pointer shape to a prompt cursor shape matched with the operable mode of the equipment adjustment component of the current experimental equipment model.
4. The simulation-based lab evaluation method of claim 1, wherein, The determining of whether to update the model state of the experimental equipment model or the equipment adjustment component according to the occurrence position of the pointer selection instruction comprises: judging whether the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model; If the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model, the model state of the experimental equipment model is updated from the static state to the motion state in response to the pointer selection instruction; Or It is judged whether the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjusting component; If the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjusting component, the model state of the equipment adjusting component is updated from the static state to the motion state in response to the pointer selection instruction.
5. The simulation-based lab evaluation method of claim 1, wherein, Before the target placement position of the experimental equipment model currently in the motion state is determined as the assembly coordinate position of the assembled experimental equipment, the simulation-based experimental evaluation method further comprises: The equipment contour of the assembled experimental equipment is updated from the original state to the highlighted state.
6. The simulation-based lab evaluation method of claim 1, wherein, In the determination of the target placement position of the experimental equipment model or the equipment adjusting component according to the occurrence position of the pointer placement instruction, the determination of the target placement position of the equipment adjusting component comprises: If the occurrence position of the pointer placement instruction is within the preset motion range, the target placement position of the equipment adjusting component currently in the motion state is determined as the occurrence position of the pointer placement instruction; If the occurrence position of the pointer placement instruction is outside the preset motion range, the target placement position of the equipment adjusting component currently in the motion state is determined as the projection position of the occurrence position of the pointer placement instruction on the preset motion range; If the projection position of the occurrence position of the pointer placement instruction on the preset motion range is outside the preset motion range, the target placement position of the equipment adjusting component currently in the motion state is determined as the motion range end point close to the occurrence position of the pointer placement instruction in the preset motion range.
7. The simulation-based lab evaluation method of claim 1, wherein, The determination of the collision determination result according to the motion process of the current experimental equipment model, the coordinate position range of the experimental bench model and the coordinate positions of the remaining experimental equipment models on the experimental bench model comprises: If the motion process of the current experimental equipment model intersects with the coordinate position range of the experimental bench model or the remaining experimental equipment models on the experimental bench model, it is determined that the current experimental equipment model collides with the experimental bench model or collides with the remaining experimental equipment models on the experimental bench model.
8. The simulation-based lab evaluation method of claim 1, wherein, When the target experiment is a weighing experiment, the simulation experimental equipment is a balance, the experimental equipment model is a to-be-weighed object and a weight, and the equipment adjusting component is a vernier, the updating of the performance state of the simulation experimental equipment according to the target placement position of the experimental equipment model and / or the equipment adjusting component comprises: The preset weight of the to-be-weighed object placed on one end of the balance pan, the preset weight of the weight placed on the other end of the balance pan, and the target placement position of the vernier are determined to determine the weight difference between the to-be-weighed object and the weight placed on the two ends of the balance pan, respectively; The tilt angle of the balance is updated according to the weight difference.
9. The simulation-based lab evaluation method of claim 1, wherein, When the target experiment is a microscopic experiment, the simulation experiment equipment is a microscope, and the equipment adjusting component is a coarse focus screw and a fine focus screw; the updating of the performance state of the simulation experiment equipment according to the target placement position of the experiment equipment model and / or the equipment adjusting component comprises: determining a rotation direction and a rotation angle according to the target placement position of the coarse focus screw and the fine focus screw and the original placement position of the coarse focus screw and the fine focus screw; updating an actual distance between an objective lens and a stage according to the rotation direction and the rotation angle; determining a height difference according to the actual distance and a preset distance; the preset distance is a distance between the objective lens and the stage when the microscope can clearly image; determining a Gaussian blur frequency and a Gaussian blur radius of an output observation image according to the height difference.
10. The simulation-based lab evaluation method of claim 1, wherein, When the target experiment is a lens optical experiment, the simulation experiment equipment is a light screen, and the experiment equipment model comprises a light source, a convex lens and a concave-convex mirror; the updating of the performance state of the simulation experiment equipment according to the target placement position of the experiment equipment model and / or the equipment adjusting component comprises: determining an actual distance according to the target placement position of the light source, the convex lens, the concave-convex mirror and the light screen; determining a distance difference according to the actual distance and a preset distance; the preset distance is a distance corresponding to the light source, the convex lens, the concave-convex mirror and the light screen when the light screen can clearly image; determining a Gaussian blur frequency and a Gaussian blur radius of an output observation image according to the distance difference.
11. The simulation-based lab evaluation method of claim 1, wherein, When the target experiment is a reflection optical experiment, the simulation experiment equipment is a mirror, and the experiment equipment model comprises a light ray output device; the updating of the performance state of the simulation experiment equipment according to the target placement position of the experiment equipment model and / or the equipment adjusting component comprises: determining a mirror surface intersection point according to the target placement position of the light ray output device and the mirror; outputting a reflected light ray image according to the mirror surface intersection point and a normal vector of the mirror.
12. The simulation-based lab evaluation method of claim 1, wherein, When the target experiment is an electrical experiment, the simulation experiment equipment is a lamp, and the experiment equipment model comprises a power supply, a wire and at least one circuit component; the circuit component comprises at least one circuit measuring device and a variable resistor; each circuit component has a terminal post; the updating of the performance state of the simulation experiment equipment according to the target placement position of the experiment equipment model and / or the equipment adjusting component comprises: determining a circuit diagram according to the target placement position of the power supply, the wire and the at least one circuit component; traversing all closed loops in the circuit diagram; determining a current value and a voltage value of each circuit component and the lamp based on each closed loop; updating a display interface of the circuit measuring device based on the current value and the voltage value of each circuit component and the lamp and a range of the circuit measuring device; updating a display brightness of the lamp based on the current value and the voltage value of the lamp.
13. The simulation-based lab evaluation method of claim 1, wherein, When the target experiment is a biochemical experiment and the simulation experimental equipment is a graduated cylinder, the experimental equipment model includes a beaker; updating the performance state of the simulation experimental equipment based on the target placement position of the experimental equipment model and / or the equipment adjustment components includes: Determine whether to inject the liquid in the beaker into the graduated cylinder based on the target placement positions of the beaker and the graduated cylinder. If injection is determined, the liquid level in the graduated cylinder is updated based on the liquid volume and the cylinder's dimensions.
14. The simulation-based lab evaluation method of claim 1, wherein, In the aforementioned perspective switching interaction event, the simulation-based experimental evaluation method includes: Monitor the pointer's coordinate position; If the pointer coordinates are detected to be within the coordinate range of the observable equipment model in the experimental equipment model, the pointer shape will be updated to a magnified prompt cursor. If a zoom-in confirmation command generated by the user within the coordinate range of the observable equipment model is received, the experimental operation interface is updated to the close-up view interface of the model corresponding to the observable equipment model in response to the zoom-in confirmation command. If a zoom-in / restore command is received from the user within the coordinate range of the observable equipment model, the close-up view of the model is updated to the experimental operation interface in response to the zoom-in / restore command.
15. The simulation-based lab evaluation method of claim 14, wherein, After monitoring the pointer coordinate position, the simulation-based experimental evaluation method further includes: If a pointer selection command generated by the user within the coordinate position range of the equipment adjustment component is received, a partial display window of the observable equipment model corresponding to the equipment adjustment component will be output in the experimental operation interface.
16. The simulation-based lab evaluation method of claim 1, wherein, The determination of the evaluation results associated with the target experiment based on the update event includes: A state data array is determined based on each operation state data, wherein the operation state data is the data recorded corresponding to each operation step executed in the update event; the operation state data includes at least the equipment state, operation time information, and the updated position information of the model elements; Experimental state conditions are formed based on one or more of the aforementioned equipment states; The target operation state data is determined from the state data array based on the experimental state conditions. The experimental evaluation results are determined based on the target operation status data. The experimental evaluation results include the experimental evaluation score, the list of erroneous operations, the list of dangerous operations, and the experimental learning analysis.
17. A simulation experiment platform interaction device, characterized in that, A method for performing simulation-based experimental evaluation as described in any one of claims 1-16, comprising: The experiment selection module is used to respond to receiving an experiment selection command sent by a user for a target experiment, and output the experiment operation interface corresponding to the target experiment. The experiment operation interface includes one or more model elements associated with the target experiment. The experiment operation interface also includes an experiment description model corresponding to the target experiment and an experiment platform model for placing the experiment equipment model. The model elements include the experiment equipment model and equipment adjustment components on the experiment equipment model. The experiment operation module is configured to update the experiment operation interface in response to an update event initiated by the user for the experiment operation interface, wherein the update event comprises an update to the one or more model elements; the update event comprises a perspective switching interaction event and an experiment operation interaction event; the experiment operation interaction event comprises an operation prompt interaction event and a drag motion interaction event; In the drag motion interaction event, the experiment operation module is configured to: monitor a pointer selection instruction of the user; if the pointer selection instruction is monitored, determine whether to update a model state of the experiment equipment model or the equipment adjustment component according to a position where the pointer selection instruction occurs; the model state comprises a static state and a motion state; if it is determined to update the model state of the experiment equipment model or the model state of the equipment adjustment component from the static state to the motion state, determine a motion trajectory of the experiment equipment model or the equipment adjustment component based on a pointer motion trajectory of the user; until a pointer placement instruction of the user is monitored, determine a target placement position of the experiment equipment model or the equipment adjustment component according to a position where the pointer placement instruction occurs; update a performance state of the simulated experiment equipment according to the target placement position of the experiment equipment model and / or the equipment adjustment component; The experiment operation module is configured to: if a distance between the position where the pointer placement instruction occurs and assembled experiment equipment is less than a preset distance threshold, determine the target placement position of the experiment equipment model currently in the motion state as an assembly coordinate position of the assembled experiment equipment; if the distance between the position where the pointer placement instruction occurs and the assembled experiment equipment is greater than or equal to the preset distance threshold, determine the target placement position of the experiment equipment model currently in the motion state as the position where the pointer placement instruction occurs; wherein the assembled experiment equipment is an experiment equipment model having a corresponding assembly relationship with the experiment equipment model currently in the motion state; The experiment result module is configured to determine an evaluation result associated with the target experiment based on the update event wherein The experiment operation module is configured to: determine the pointer motion trajectory as a model motion trajectory of the experiment equipment model; determining the motion trajectory of the equipment adjustment component comprises: determining a component motion trajectory of the equipment adjustment component within a preset motion range based on a trajectory direction and a trajectory length of the pointer motion trajectory, generating an equipment motion operation instruction in response to the model state of the experiment equipment model being updated from the static state to the motion state; moving the experiment equipment model along the model motion trajectory in response to the equipment motion operation instruction; determining whether to generate an error operation prompt and / or a dangerous operation prompt in a process in which the experiment equipment model is moved along the model motion trajectory according to an equipment state of the experiment equipment model; The error operation prompt and / or the dangerous operation prompt contain operation prompt information; the operation prompt information is used to prompt the user to move the current experimental equipment model by using an auxiliary carrying model; the auxiliary carrying model is an experimental equipment model capable of carrying the current experimental equipment model, A collision determination result is determined according to a movement process of the current experimental equipment model, a coordinate position range of the experimental bench model, and coordinate positions of the remaining experimental equipment models on the experimental bench model; the movement process is a movement trajectory and / or a target placement position of the current experimental equipment model; If the collision determination result is collision, a collision object is recorded; the collision object is an experimental bench model or a remaining experimental equipment model colliding with the current experimental equipment model; Whether the error operation prompt and / or the dangerous operation prompt is generated is determined according to an equipment state of the current experimental equipment model and the collision object.
18. The simulation-based experiment evaluation device according to claim 17, characterized in that, The view angle switching interaction event is used to switch the operation view angle of the user; and the experiment operation interaction event is used to update the coordinate positions of the experimental equipment models and / or the equipment adjusting components and update the performance state of the simulation experimental equipment in the experimental equipment model.
19. The simulation-based lab assessment apparatus of claim 18, wherein, The experiment operation module is used to: monitor the pointer coordinate position of the user; if the pointer coordinate position is monitored to be within the coordinate position range of the current experimental equipment model, the pointer shape is updated to a prompt cursor shape matched with the operable mode of the current experimental equipment model; or if the pointer coordinate position is monitored to be within the coordinate position range of the equipment adjusting component of the current experimental equipment model, the pointer shape is updated to a prompt cursor shape matched with the operable mode of the equipment adjusting component of the current experimental equipment model. The experiment operation module is used to:
20. The simulation-based laboratory evaluation apparatus of claim 17, wherein, determine whether the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model; if the occurrence position of the pointer selection instruction is within the coordinate position range of the experimental equipment model, the model state of the experimental equipment model is updated from the static state to the movement state in response to the pointer selection instruction; or determine whether the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjusting component; if the occurrence position of the pointer selection instruction is within the coordinate position range of the equipment adjusting component, the model state of the equipment adjusting component is updated from the static state to the movement state in response to the pointer selection instruction. The experiment operation module is used to: update the equipment contour of the assembled experimental equipment from an original state to a highlighted state.
21. The simulation-based laboratory evaluation apparatus of claim 17, wherein, The experiment operation module is used to: if the occurrence position of the pointer placement instruction is within the preset movement range, the target placement position of the equipment adjusting component currently in the movement state is determined as the occurrence position of the pointer placement instruction.
22. The simulation-based laboratory evaluation apparatus of claim 17, wherein, If the occurrence position of the pointer placement instruction is out of the preset motion range, the target placement position of the equipment adjusting component currently in the motion state is determined as the projection position of the occurrence position of the pointer placement instruction on the preset motion range; If the projection position of the occurrence position of the pointer placement instruction on the preset motion range is out of the preset motion range, the target placement position of the equipment adjusting component currently in the motion state is determined as the motion range end point close to the occurrence position of the pointer placement instruction in the preset motion range.
23. The simulation-based laboratory evaluation apparatus of claim 17, wherein, The experimental operation module is used for: If the motion process of the current experimental equipment model intersects with the coordinate position range of the experimental bench model or the remaining experimental equipment models on the experimental bench model, it is determined that the current experimental equipment model collides with the experimental bench model or collides with the remaining experimental equipment models on the experimental bench model.
24. The simulation-based laboratory evaluation apparatus of claim 17, wherein, When the target experiment is a weighing experiment, the simulation experimental equipment is a balance, the experimental equipment model is a to-be-weighed object and a weight, and the equipment adjusting component is a sliding weight, the experimental operation module is used for: According to the preset weight of the to-be-weighed object placed on one end of the balance pan, the preset weight of the weight placed on the other end of the balance pan, and the target placement position of the sliding weight, the weight difference between the to-be-weighed object and the weight placed on the two ends of the balance pan is determined; The tilt angle of the balance is updated according to the weight difference.
25. The simulation-based laboratory evaluation apparatus of claim 17, wherein, When the target experiment is a microscopic experiment, the simulation experimental equipment is a microscope, and the equipment adjusting component is a coarse focusing screw and a fine focusing screw, the experimental operation module is used for: According to the target placement positions of the coarse focusing screw and the fine focusing screw and the original placement positions of the coarse focusing screw and the fine focusing screw, the rotation direction and the rotation angle are determined; The actual distance between the objective table and the objective lens is updated according to the rotation direction and the rotation angle; The height difference is determined according to the actual distance and a preset distance; the preset distance is the distance between the objective lens and the objective table when the microscope can clearly image; The Gaussian blur number and the Gaussian blur radius of the output observation image are determined according to the height difference.
26. The simulation-based laboratory evaluation apparatus of claim 17, wherein, When the target experiment is a lens optical experiment, the simulation experimental equipment is a light screen, and the experimental equipment model includes a light source, a convex lens, and a concave-convex mirror, the experimental operation module is used for: The actual distance is determined according to the target placement positions of the light source, the convex lens, the concave-convex mirror, and the light screen; The distance difference is determined according to the actual distance and a preset distance; the preset distance is the distance corresponding to the light source, the convex lens, the concave-convex mirror, and the light screen when the light screen can clearly image; The Gaussian blur number and the Gaussian blur radius of the output observation image are determined according to the distance difference.
27. The simulation-based laboratory evaluation apparatus of claim 17, wherein, When the target experiment is a reflection optical experiment, the simulation experimental equipment is a mirror, and the experimental equipment model includes a light ray output device, the experimental operation module is used for: The mirror intersection point is determined according to the target placement positions of the light ray output device and the mirror; According to the mirror intersection and the normal vector of the mirror, a reflected light ray image is output.
28. The simulation-based laboratory evaluation apparatus of claim 17, wherein, When the target experiment is an electrical experiment and the simulation experiment equipment is a lamp, the experiment equipment model comprises a power supply, a wire, and at least one circuit component; wherein the circuit component comprises at least one circuit measurement component and a variable resistor; each circuit component has a terminal post thereon; The experiment operation module is configured to: determine a circuit diagram according to target placement positions of the power supply, the wire, and the at least one circuit component; traverse all closed loops in the circuit diagram; determine current and voltage values of each circuit component and the lamp based on each closed loop; update a display interface of the circuit measurement component based on the current and voltage values of each circuit component and the lamp and a range of the circuit measurement component; update display brightness of the lamp based on the current and voltage values of the lamp.
29. The simulation-based laboratory evaluation apparatus of claim 17, wherein, When the target experiment is a biochemical experiment and the simulation experiment equipment is a measuring cylinder, the experiment equipment model comprises a beaker; the experiment operation module is configured to: determine whether to inject liquid in the beaker into the measuring cylinder according to target placement positions of the beaker and the measuring cylinder; if it is determined to inject, update a liquid level of the measuring cylinder according to liquid capacity and a size of the measuring cylinder.
30. The simulation-based laboratory evaluation apparatus of claim 17, wherein, The experiment operation module is configured to: monitor the pointer coordinate position; if it is monitored that the pointer coordinate position is within a coordinate position range of an observable equipment model in the experiment equipment model, update a pointer shape to an enlarged prompt cursor; if an enlarged confirmation instruction generated by the user within the coordinate position range of the observable equipment model is received, update the experiment operation interface to a model close-up interface corresponding to the observable equipment model in response to the enlarged confirmation instruction; if an enlarged restoration instruction generated by the user within the coordinate position range of the observable equipment model is received, update the model close-up interface to the experiment operation interface in response to the enlarged restoration instruction.
31. The simulation-based laboratory evaluation apparatus of claim 30, wherein, The experiment operation module is configured to: if a pointer selection instruction generated by the user within the coordinate position range of the equipment adjustment component is received, output a local display window of an observable equipment model corresponding to the equipment adjustment component in the experiment operation interface.
32. The simulation-based laboratory evaluation apparatus of claim 17, wherein, The experiment result module is configured to: determine a state data array based on each operation state data, the operation state data being data recorded in correspondence with each operation step performed in the update event; the operation state data at least comprising the equipment state, operation time information, and position information of the model element after update; form an experiment state condition based on one or more of the equipment states; determine target operation state data in the state data array according to the experiment state condition; determine an experiment evaluation result according to the target operation state data, the experiment evaluation result comprising an experiment evaluation score, an error operation list, a dangerous operation list, and an experiment learning situation analysis.
33. An electronic device, comprising: comprise: a processor; and a memory having stored thereon executable code that, when executed by the processor, is to cause the processor to perform the method of any of claims 1-16.
34. A non-transitory machine-readable storage medium having stored thereon executable code that, when executed by a processor of an electronic device, is to cause the processor to perform the method of any of claims 1-16.
Citation Information
Patent Citations
Step decomposition and evaluation system and method for virtual simulation experiment
CN111815789A
Learning tutoring method and device based on simulation experiment
CN115063271A