Experiment project operation method and device, electronic equipment and storage medium

文档序号:50632 发布日期:2021-09-28 浏览:33次 中文

阅读说明:本技术 实验项目运行方法及装置、电子设备和存储介质 (Experiment project operation method and device, electronic equipment and storage medium ) 是由 黄岗桂 刘皓松 耿胜红 于 2021-06-25 设计创作,主要内容包括:本公开涉及一种实验项目运行方法及装置、电子设备和存储介质,所述方法包括:响应于针对实验项目的编程操作,确定实验项目的项目代码;将项目代码发送至实验教学设备,以使实验教学设备运行项目代码,得到运行结果;在接收到实验教学设备发送的运行结果的情况下,展示运行结果。本公开实施例可实现提高实验教学的交互性、趣味性。(The disclosure relates to an experimental project operation method and device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining a project code for the experimental project in response to a programming operation for the experimental project; sending the project codes to experiment teaching equipment so that the experiment teaching equipment runs the project codes to obtain a running result; and displaying the operation result under the condition of receiving the operation result sent by the experiment teaching equipment. The embodiment of the disclosure can improve the interactivity and the interestingness of the experimental teaching.)

1. An experiment project operation method is applied to an experiment teaching platform and comprises the following steps:

in response to a programming operation for an experimental project, determining a project code for the experimental project;

sending the project codes to experiment teaching equipment so that the experiment teaching equipment operates the project codes to obtain an operation result;

and displaying the operation result under the condition of receiving the operation result sent by the experimental teaching equipment.

2. The method of claim 1, wherein the operation result comprises an error message of the project code during operation,

the method further comprises the following steps: and in response to the selection operation aiming at the error information, displaying the code indicated by the error information so as to edit the code indicated by the error information.

3. The method of claim 1 or 2, wherein the experiment teaching device is communicatively connected with the experiment teaching platform through a wireless network,

the method further comprises the following steps:

scanning connectable experimental teaching equipment in a wireless network;

and establishing a communication connection with the selected experiment teaching equipment in response to the selection operation for the connectable experiment teaching equipment.

4. The method according to any one of claims 1-3, further comprising:

responding to switching operation aiming at an experimental project, and sending a switching instruction to the experimental teaching equipment so as to switch the experimental teaching equipment to run a project code of the experimental project indicated by the switching instruction; and/or the presence of a gas in the gas,

and responding to a code clearing operation aiming at an experimental project, and sending a code clearing instruction to the experiment teaching equipment so as to enable the experiment teaching equipment to clear the project code indicated by the code clearing instruction.

5. An experimental project operation method is applied to experimental teaching equipment and comprises the following steps:

receiving and storing project codes of the experiment projects sent by the experiment teaching platform;

and operating the project codes to obtain an operation result, and sending the operation result to the experiment teaching platform so as to display the operation result on the experiment teaching platform.

6. The method of claim 5, further comprising:

under the condition of receiving a switching instruction sent by the experiment teaching platform, switching to a project code for operating an experiment project indicated by the switching instruction; and/or the presence of a gas in the gas,

and under the condition that the experiment teaching equipment sends a code cleaning instruction, cleaning the project codes of the experiment projects indicated by the code cleaning instruction.

7. The method according to claim 5 or 6, wherein a display module and/or a voice broadcast module are further arranged on the experiment teaching device, and the operating the project codes to obtain an operating result comprises:

responding to the touch operation aiming at the display module, and switching to running the item code of the experimental item indicated by the touch operation; and/or the presence of a gas in the gas,

displaying at least one of data collected by a component connected to the experimental teaching equipment and the operation result through the display module; and/or the presence of a gas in the gas,

and broadcasting the operation result through the voice playing module.

8. The method of any one of claims 5-7, wherein the execution result comprises error information of the project code during execution.

9. The method according to any one of claims 5-8, wherein the experimental project comprises a testimonial registration project, and the executing the project code to obtain an execution result comprises:

acquiring a face image of a registered object acquired by an image acquisition module arranged on the experimental teaching equipment and certificate information of the registered object read by an NFC module arranged on the experimental teaching equipment;

extracting a first registered face feature of the face image of the registered object;

and binding the first registered face features with certificate information of the registered object to obtain a testimony registration result, wherein the operation result comprises the testimony registration result.

10. The method according to any one of claims 5 to 8, wherein the experimental project comprises a testimonial verification project, and the running the project code to obtain a running result comprises:

acquiring a face image of an object to be verified acquired by an image acquisition module arranged on the experimental teaching equipment and certificate information of the object to be verified read by an NFC module arranged on the experimental teaching equipment;

extracting the human face features to be verified of the human face image of the object to be verified, and determining second registered human face features bound with certificate information of the object to be verified;

and determining a testimony verification result according to the similarity between the face features to be verified and the second registered face features, wherein the operation result comprises the testimony verification result.

11. The utility model provides an experiment project operation device, its characterized in that, the device is applied to experiment teaching platform, includes:

a programming module for determining a project code for an experimental project in response to a programming operation for the experimental project;

the sending module is used for sending the project codes to experiment teaching equipment so that the experiment teaching equipment runs the project codes to obtain a running result;

and the display module is used for displaying the operation result under the condition of receiving the operation result sent by the experiment teaching equipment.

12. An experimental project operation device, characterized in that, the device is applied to experiment teaching equipment, includes:

the receiving module is used for receiving and storing the project codes of the experiment projects sent by the experiment teaching platform;

and the operation module is used for operating the project codes to obtain operation results and sending the operation results to the experiment teaching platform so as to display the operation results on the experiment teaching platform.

13. An electronic device, comprising:

a processor;

a memory for storing processor-executable instructions;

wherein the processor is configured to invoke the memory-stored instructions to perform the method of any one of claims 1 to 10.

14. A computer readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1 to 10.

Technical Field

The present disclosure relates to the field of computer technologies, and in particular, to an experimental project operation method and apparatus, an electronic device, and a storage medium.

Background

With the development of artificial intelligence technology, more and more people begin to learn artificial intelligence technology. The artificial intelligence specialty also becomes a hot spot specialty opened by many colleges and universities. At present, for teaching of artificial intelligence technology, theoretical explanation of book knowledge by teachers is mainly relied on, or experimental verification is carried out by a computer based on exemplary experimental data. Because the technical knowledge related to artificial intelligence is usually complex and difficult to understand, only theoretical explanation of book knowledge is difficult to master and understand by students, and when experimental verification is carried out by relying on a computer based on exemplary experimental data, practical teaching is difficult to be carried out by combining practical application scenes, so that the understanding of the students on the technical knowledge related to artificial intelligence can not be well promoted, and the improvement of the practical ability and the innovation ability of the students is not facilitated.

Disclosure of Invention

The present disclosure provides an experimental project operation technical scheme.

According to an aspect of the present disclosure, there is provided an experiment project operating method, which is applied to an experiment teaching platform, and includes: in response to a programming operation for an experimental project, determining a project code for the experimental project; sending the project codes to experiment teaching equipment so that the experiment teaching equipment operates the project codes to obtain an operation result; and displaying the operation result under the condition of receiving the operation result sent by the experimental teaching equipment.

In a possible implementation manner, the execution result includes error information of the project code during execution, and the method further includes: and in response to the selection operation aiming at the error information, displaying the code indicated by the error information so as to edit the code indicated by the error information.

In a possible implementation manner, the experiment teaching device is communicatively connected to the experiment teaching platform through a wireless network, and the method further includes: scanning connectable experimental teaching equipment in a wireless network; and establishing a communication connection with the selected experiment teaching equipment in response to the selection operation for the connectable experiment teaching equipment.

In one possible implementation, the method further includes: responding to switching operation aiming at an experimental project, and sending a switching instruction to the experimental teaching equipment so as to switch the experimental teaching equipment to run a project code of the experimental project indicated by the switching instruction; and/or responding to a code clearing operation aiming at an experimental project, and sending a code clearing instruction to the experiment teaching equipment so as to enable the experiment teaching equipment to clear the project code indicated by the code clearing instruction.

According to an aspect of the present disclosure, there is provided an experiment project operating method applied to experiment teaching equipment, including: receiving and storing project codes of the experiment projects sent by the experiment teaching platform; and operating the project codes to obtain an operation result, and sending the operation result to the experiment teaching platform so as to display the operation result on the experiment teaching platform.

In one possible implementation, the method further includes: under the condition of receiving a switching instruction sent by the experiment teaching platform, switching to a project code for operating an experiment project indicated by the switching instruction; and/or cleaning the project codes of the experimental projects indicated by the code cleaning instructions under the condition that the code cleaning instructions sent by the experimental teaching equipment are received.

In a possible implementation manner, a display module and/or a voice broadcast module are further provided on the experimental teaching device, the running of the project codes obtains a running result, and the method further includes: responding to the touch operation aiming at the display module, and switching to running the item code of the experimental item indicated by the touch operation; and/or displaying at least one of data collected by a component connected to the experimental teaching equipment and the operation result through the display module; and/or broadcasting the operation result through the voice playing module.

In one possible implementation, the execution result includes error information of the project code during execution.

In a possible implementation manner, the experimental project includes a testimonial registration project, and the running the project code to obtain a running result includes: acquiring a face image of a registered object acquired by an image acquisition module arranged on the experimental teaching equipment and certificate information of the registered object read by an NFC module arranged on the experimental teaching equipment; extracting a first registered face feature of the face image of the registered object; and binding the first registered face features with certificate information of the registered object to obtain a testimony registration result, wherein the operation result comprises the testimony registration result.

In a possible implementation manner, the experimental item includes a testimonial verification item, and the running the item code to obtain a running result includes: acquiring a face image of an object to be verified acquired by an image acquisition module arranged on the experimental teaching equipment and certificate information of the object to be verified read by an NFC module arranged on the experimental teaching equipment; extracting the human face features to be verified of the human face image of the object to be verified, and determining second registered human face features bound with certificate information of the object to be verified; and determining a testimony verification result according to the similarity between the face features to be verified and the second registered face features, wherein the operation result comprises the testimony verification result.

According to an aspect of the present disclosure, an experiment project operation device is provided, the device is applied to an experiment teaching platform, and includes: a programming module for determining a project code for an experimental project in response to a programming operation for the experimental project; the sending module is used for sending the project codes to experiment teaching equipment so that the experiment teaching equipment runs the project codes to obtain a running result; and the display module is used for displaying the operation result under the condition of receiving the operation result sent by the experiment teaching equipment.

In a possible implementation manner, the execution result includes error information of the project code during execution, and the apparatus further includes: and the error information display module is used for responding to the selection operation aiming at the error information, displaying the code indicated by the error information and editing the code indicated by the error information.

In a possible implementation manner, the experiment teaching device is in communication connection with the experiment teaching platform through a wireless network, and the apparatus further includes: the scanning module is used for scanning connectable experimental teaching equipment in a wireless network; and the connection module is used for responding to the selection operation of the connectable experimental teaching equipment and establishing communication connection with the selected experimental teaching equipment.

In one possible implementation, the apparatus further includes: the switching module is used for responding to switching operation aiming at an experimental project, and sending a switching instruction to the experimental teaching equipment so as to switch the experimental teaching equipment to run a project code of the experimental project indicated by the switching instruction; and/or the cleaning module is used for responding to a code cleaning operation aiming at an experimental project, and sending a code cleaning instruction to the experimental teaching equipment so as to enable the experimental teaching equipment to clean the project code indicated by the code cleaning instruction.

According to an aspect of the present disclosure, there is provided an experimental project operating device, which is applied to experimental teaching equipment, including: the receiving module is used for receiving and storing the project codes of the experiment projects sent by the experiment teaching platform; and the operation module is used for operating the project codes to obtain operation results and sending the operation results to the experiment teaching platform so as to display the operation results on the experiment teaching platform.

In one possible implementation, the apparatus further includes: the code switching module is used for switching to the project code of the experiment project indicated by the switching instruction under the condition of receiving the switching instruction sent by the experiment teaching platform; and/or the code cleaning module is used for cleaning the project codes of the experiment projects indicated by the code cleaning instruction under the condition that the code cleaning instruction sent by the experiment teaching equipment is received.

In a possible implementation manner, the experiment teaching device is further provided with a display module and/or a voice broadcast module, the operation of the project codes obtains an operation result, and the operation result includes: responding to the touch operation aiming at the display module, and switching to running the item code of the experimental item indicated by the touch operation; and/or displaying at least one of data collected by a component connected to the experimental teaching equipment and the operation result through the display module; and/or broadcasting the operation result through the voice playing module.

In one possible implementation, the execution result includes error information of the project code during execution.

In a possible implementation manner, the experimental project includes a testimonial registration project, and the running the project code to obtain a running result includes: acquiring a face image of a registered object acquired by an image acquisition module arranged on the experimental teaching equipment and certificate information of the registered object read by an NFC module arranged on the experimental teaching equipment; extracting a first registered face feature of the face image of the registered object; and binding the first registered face features with certificate information of the registered object to obtain a testimony registration result, wherein the operation result comprises the testimony registration result.

In a possible implementation manner, the experimental item includes a testimonial verification item, and the running the item code to obtain a running result includes: acquiring a face image of an object to be verified acquired by an image acquisition module arranged on the experimental teaching equipment and certificate information of the object to be verified read by an NFC module arranged on the experimental teaching equipment; extracting the human face features to be verified of the human face image of the object to be verified, and determining second registered human face features bound with certificate information of the object to be verified; and determining a testimony verification result according to the similarity between the face features to be verified and the second registered face features, wherein the operation result comprises the testimony verification result.

According to an aspect of the present disclosure, there is provided an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.

According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.

In the embodiment of the disclosure, the experiment teaching platform is used for compiling the item codes of the experiment items on line, the experiment teaching equipment is used for actually operating the item codes of the experiment items, and the operation results are checked in real time through the experiment teaching platform, so that the experiment teaching combining theory and practice can be realized aiming at various application scenes, the interactivity and interestingness of the experiment teaching are improved, the learning threshold of related software and hardware technologies can be reduced, and the improvement of the practice capability and innovation capability of students is facilitated.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.

FIG. 1 shows a schematic diagram of an experimental teaching device according to an embodiment of the present disclosure.

FIG. 2 shows a schematic diagram of an experiment teaching system according to an embodiment of the present disclosure.

FIG. 3 shows a flow chart of a method of running an experimental project according to an embodiment of the disclosure.

FIG. 4 shows a schematic diagram of an operational interface of an experiment teaching platform according to an embodiment of the present disclosure.

FIG. 5 shows a schematic diagram of an operator interface of an experiment teaching platform according to an embodiment of the present disclosure.

FIG. 6 shows a flow chart of a method of running an experimental project according to an embodiment of the disclosure.

Fig. 7 shows a network structure diagram of an abnormal behavior recognition network according to an embodiment of the present disclosure.

Fig. 8 shows a block diagram of an experimental project execution apparatus according to an embodiment of the present disclosure.

Fig. 9 shows a block diagram of an experimental project execution apparatus according to an embodiment of the present disclosure.

FIG. 10 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure.

FIG. 11 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure.

Detailed Description

Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.

The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.

The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.

Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.

In the embodiment of the present disclosure, the experiment teaching device includes a hardware device for implementing artificial intelligence teaching. Fig. 1 shows a schematic diagram of an experimental teaching device according to an embodiment of The present disclosure, as shown in fig. 1, The experimental teaching device may include a touch screen 1, an SD card slot 2, a microphone 3, a storage box 4, a pan-tilt camera 5, a button 6, a power switch 7, a core processor 8 (such as a Jetson Nano processor), a binocular camera 9, an OTG (On-The-Go) interface 10, a sensor interface 11, a USB (Universal Serial Bus) interface 12, and The like.

Through this experiment teaching equipment, can reduce the study threshold to the required various hardware of experimental project, can be convenient for the student to practice various experimental projects to better improvement student's practical ability.

It should be noted that the experimental teaching device shown in fig. 1 is an experimental teaching device provided in the embodiment of the present disclosure, and actually, any known experimental teaching device may be used by those skilled in the art, and the embodiment of the present disclosure is not limited thereto.

In the embodiment of the disclosure, the experiment teaching platform can be used for compiling the project codes of the experiment projects, controlling the experiment teaching equipment to execute the project codes and the like. It should be understood that the experiment teaching platform may be client software, or a software system formed by a front end and a server, and the embodiment of the present disclosure is not limited thereto.

The experiment teaching platform can comprise a running environment, a running dependency package, a programming control and the like for compiling the project codes so as to compile the project codes of the experiment projects. Through this experiment teaching platform, can need not set up the programming environment in experiment teaching equipment, for example install different editors, can reduce the study threshold to programming software, reduce the development degree of difficulty of project code, improve experiment teaching efficiency. In a possible implementation manner, the experiment teaching platform is a browser/server architecture, a user can log in the experiment teaching platform by using the browser, project codes are directly edited in a programming interface presented by the browser, and after the experiment teaching platform is connected with the experiment teaching equipment, the edited project codes are sent to the experiment teaching equipment, so that the experiment teaching equipment can be controlled to run the project codes, and project development is realized.

In one possible implementation, the experimental items may include items implemented by using artificial intelligence technology, for example, model training items, image recognition items, image classification items, image segmentation items, voice recognition items, natural language processing items, and the like, and the items include files such as item codes required for implementing the items, which is not limited by the embodiment of the present disclosure.

Fig. 2 is a schematic diagram of an experiment teaching system according to an embodiment of the present disclosure, and as shown in fig. 2, the experiment teaching system includes an experiment teaching platform and an experiment teaching device; the experiment teaching platform can be deployed in electronic equipment (such as a notebook computer), and the experiment teaching platform and the experiment teaching equipment can be connected through a wire or a wireless network so as to realize communication connection between the experiment teaching platform and the experiment teaching equipment.

The student can compile project codes of the experiment projects through the experiment teaching platform, send the project codes to the experiment teaching equipment, run the project codes through the experiment teaching equipment, and feed back a running result. By the mode, a mouse and a keyboard do not need to be connected to the experimental teaching equipment to operate the experimental teaching equipment, a programming environment does not need to be deployed in the experimental teaching equipment, the experimental teaching equipment is controlled by the experimental teaching platform, the programming efficiency of project codes can be improved, the calculation and storage resources of the experimental teaching equipment are saved, and the operating efficiency of the project codes is improved; and the experiment teaching equipment and the experiment teaching platform are comprehensively utilized, so that the learning threshold of the relevant technology (such as artificial intelligence technology) of the experiment project is reduced, and the interactivity and the interestingness of the experiment teaching are improved.

In the embodiment of the present disclosure, the method for running the experimental project may be performed by an electronic device such as a terminal device or a server, where the terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like, and the method may be implemented by a processor calling a computer-readable instruction stored in a memory, or may be performed by the server.

Fig. 3 is a flowchart of an experimental project operation method according to an embodiment of the present disclosure, and as shown in fig. 3, the experimental project operation method is applied to an experimental teaching platform, and includes:

in step S11, in response to a programming operation for an experimental project, determining a project code for the experimental project;

in step S12, sending the project code to the experiment teaching device, so that the experiment teaching device runs the project code to obtain a running result;

in step S13, when the operation result transmitted from the experimental teaching device is received, the operation result is displayed.

It can be understood that the experiment teaching platform can provide an operation interface for a user through a browser or a client, and a complex programming environment can not be configured independently through the experiment teaching platform. The student can write project codes through the operation interface, the written project codes are used for learning relevant technologies (such as artificial intelligence technologies) of the experiment project, for example, the student can write a code for identifying a target object in an image, and the code is used for identifying a specified pedestrian in the image.

In one possible implementation, the project code may include code written in various programming languages such as Python, Java, Lisp, Prolog, C + +, YIgo, and the like. The project code includes code written by using the original programming language, and also includes intermediate expression obtained by encapsulating the original programming language according to requirements, for example, the project code may include a file package obtained by encapsulating by using Python language, and the embodiment of the present disclosure is not limited thereto.

As described above, the experiment teaching platform and the experiment teaching device may be connected through a wired connection (e.g., through an OTG interface) or a wireless connection (e.g., through a WiFi interface) to implement communication therebetween, and in step S12, the experiment teaching platform may send the written project code to the experiment teaching device through wired data transmission or wireless data transmission.

The experiment teaching device may store the received project code in a memory (e.g., a hard disk of the experiment teaching device), so that a processor of the experiment teaching device may call and run the project code in the memory to obtain a running result of the project code, such as an image recognition result, an image classification result, and the like.

In step S13, the operation result of the experiment project may be displayed in a preset area of the operation interface of the experiment teaching platform. It is understood that, those skilled in the art may design the layout, the style, and the like of the preset region in the operation interface of the experiment teaching platform according to the actual requirements, and the embodiment of the present disclosure is not limited thereto.

In the embodiment of the disclosure, the experiment teaching platform is used for compiling the item codes of the experiment items on line, the experiment teaching equipment is used for actually operating the item codes of the experiment items, and the operation results are checked in real time through the experiment teaching platform, so that the experiment teaching combining theory and practice can be realized aiming at various application scenes, the interactivity and interestingness of the experiment teaching are improved, the learning threshold of related software and hardware technologies can be reduced, and the improvement of the practice capability and innovation capability of students is facilitated.

It can be understood that the project codes written by students may be wrongly reported in the operation process, so that the error information generated in the operation process of the project codes can be sent to the experiment teaching platform in real time by the experiment teaching equipment so as to modify the project codes according to the error information.

In one possible implementation, the execution result includes error information of the item code during execution, and the method further includes: and in response to the selection operation for the error information, presenting the code indicated by the error information to edit the code indicated by the error information.

It should be understood that the error information of the project code during the operation process, for example, may indicate a logic error of a certain line or several lines of code in the project code, or a function call error, etc. The error information may include the file name of the error code, the number of lines of the code, the type of the error, and so on, so as to effectively determine the code indicated by the error information.

FIG. 4 shows a schematic diagram of an operational interface of an experiment teaching platform according to an embodiment of the present disclosure. As shown in FIG. 4, area a may be used to present error information and area b may be used to present and write project code. A click control used for selecting error information can be provided in the area a to determine the selected error information; by analyzing the selected error information, the code indicated by the error information can be determined, and the determined code indicated by the error information can be displayed in the area b, for example, the code indicated by the error information is directly displayed in the area b or the error code is highlighted in the item code displayed in the area b, so that the item code can be modified conveniently. It should be understood that programming controls for writing code may be provided in region b.

In the embodiment of the disclosure, online debugging of project codes can be conveniently realized, and the learning efficiency of experimental teaching is improved.

As described above, the experiment teaching device and the experiment teaching platform may be communicatively connected via a wireless network, and in a possible implementation manner, the method may further include:

scanning connectable experimental teaching equipment in a wireless network; and establishing a communication connection with the selected experiment teaching equipment in response to the selection operation for the connectable experiment teaching equipment.

Wherein, the experiment teaching equipment of joinable, can understand as, be in the experimental teaching equipment that the on-state and not yet be connected with experiment teaching platform. Experiment teaching equipment can be after the start-up, can automatic or manual access wireless network (for example the LAN in the classroom), can refer to technologies such as computer networking, cell-phone networking. Wherein, experiment teaching equipment can be equipped with only sign to distinguish different experiment teaching equipment, the experiment teaching platform of also being convenient for scans and discerns different experiment teaching equipment. In a possible implementation manner, the experimental teaching device may perform network configuration through network configuration software self-developed by a technician, for example, a user operates robot assistant software after connecting a mobile device to a wireless network, inputs a name and password information of the wireless network through the assistant software, and sends the name and the password information to the experimental teaching device for network connection, or a camera of the experimental teaching device scans a two-dimensional code of the assistant software to obtain the name and the password information of the wireless network and then performs network connection.

In a possible implementation manner, a scanning control part self-developed by a technician can be arranged in the experiment teaching platform, and is used for scanning and identifying connectable experiment teaching equipment in the same wireless network or in a certain area range, and equipment scanning functions in technologies such as WIFI and wireless screen projection can be referred to.

Fig. 5 is a schematic diagram of an operation interface of an experiment teaching platform according to an embodiment of the present disclosure, which may display a scanned connectable experiment teaching device through a device list as shown in fig. 5, wherein the device list may be popped up in the operation interface of the experiment teaching platform after the connectable experiment teaching device is scanned, and after any experiment teaching device in the device list is selected, for example, a device identifier of any experiment teaching device is clicked, the device list is hidden, and a click control for selecting an experiment teaching device may be provided in the device list to determine the selected experiment teaching device and connect the experiment teaching device.

The communication Protocol known in the art, for example, a serial communication Protocol, a Transmission Control Protocol (TCP), etc., may be used to establish a communication connection with the selected experimental teaching device, and the embodiment of the present disclosure is not limited thereto.

In the embodiment of the disclosure, the communication connection between the experiment teaching equipment and the experiment teaching platform can be effectively and conveniently established, so that the data transmission between the experiment teaching equipment and the experiment teaching platform is realized.

It can be understood that the experiment teaching platform can write project codes of a plurality of experiment projects, that is, the experiment projects can include a plurality of experiment projects, and accordingly, the experiment teaching device can store a plurality of project codes, and in a possible implementation manner, the method further includes:

responding to the switching operation aiming at the experimental item, sending a switching instruction to the experimental teaching equipment so as to switch the experimental teaching equipment into the item code of the experimental item indicated by the operation switching instruction; and/or, responding to the code clearing operation aiming at the experimental project, and sending a code clearing instruction to the experiment teaching equipment so as to enable the experiment teaching equipment to clear the project code indicated by the code clearing instruction.

It can be understood that the experiment teaching platform can also manage the experiment projects created by the user. The experiment teaching device comprises an experiment teaching platform, a switching control and a switching instruction, wherein the switching control can be provided by the experiment teaching platform and used for switching the experiment items, the experiment items to be operated by the experiment teaching device are determined by triggering the switching control, and the switching instruction is sent to the experiment teaching device. Wherein the switching operation may indicate a project code that the user desires the experimental teaching device to run.

The experiment teaching platform can also provide a cleaning control for cleaning the project codes stored in the experiment teaching equipment, determine the project codes to be cleaned by triggering the cleaning control, and send a code cleaning instruction to the experiment teaching equipment. Wherein the code clean-up operation may indicate that the user desires the project code deleted by the experimental teaching apparatus.

In a possible implementation manner, the experiment teaching device may further automatically clear all or part of the stored project codes when the experiment teaching device is powered off, for example, formatting, factory value restoration, and the like are performed. Through the mode, the experiment teaching equipment can keep better storage capacity.

In one possible implementation, the experiment teaching apparatus may be further configured to cache the project codes of a single experiment project, that is, the experiment teaching apparatus is configured to store the project codes of only one experiment project. After the experiment teaching platform sends the project codes of the new experiment projects to the experiment teaching equipment, the experiment teaching equipment can enable the project codes of the new experiment projects to cover the stored project codes, and the latest project codes are stored in the experiment teaching equipment. Through the mode, the storage resource of the experiment teaching equipment can be saved, and different project codes can be run efficiently.

In the embodiment of the disclosure, operations such as switching and cleaning aiming at different experimental projects can be realized, and experimental teaching aiming at different experimental projects is convenient to realize.

Fig. 6 is a flowchart illustrating an experimental project operation method according to an embodiment of the present disclosure, and as shown in fig. 6, the experimental project operation method is applied to an experimental teaching device, and includes:

in step S21, receiving and saving a project code of the experiment project sent by the experiment teaching platform;

in step S22, the project code is run to obtain a running result, and the running result is sent to the experiment teaching platform to display the running result on the experiment teaching platform.

As mentioned above, the experiment teaching platform can provide an operation interface for the user through a browser or a client, and the students can write project codes through the operation interface. And the experiment teaching platform and the experiment teaching equipment can be in communication connection.

As described above, the experiment teaching device may store the received project codes in a memory (e.g., a hard disk of the experiment teaching device), so that the processor of the experiment teaching device may call and run the project codes in the memory, obtain a running result of the project codes, and send the running result to the experiment teaching platform.

In a possible implementation manner, in order to facilitate debugging and modifying the project code, the error information of the project code in the operation process can be sent to the experiment teaching platform, and the error information is displayed in the experiment teaching platform, so that the code indicated by the error information can be edited. That is, the execution result may include error information of the project code during execution. By the method, online debugging of project codes can be conveniently realized, and the learning efficiency of experiment teaching is improved.

As described above, the error information of the project code during the operation process may indicate a writing logic error of a certain line or certain lines of code in the project code, or a function call error, for example. The error information may include the file name of the error code, the number of lines of the code, the type of the error, and so on, so as to effectively determine the code indicated by the error information.

In the embodiment of the disclosure, the experiment teaching platform is used for compiling the item codes of the experiment items on line, the experiment teaching equipment is used for actually operating the item codes of the experiment items, and the operation results are checked in real time through the experiment teaching platform, so that the experiment teaching combining theory and practice can be realized aiming at various application scenes, the interactivity and interestingness of the experiment teaching are improved, the learning threshold of related software and hardware technologies can be reduced, and the improvement of the practice capability and innovation capability of students is facilitated.

In one possible implementation, the method further includes:

under the condition of receiving a switching instruction sent by an experiment teaching platform, switching to a project code for running an experiment project indicated by the switching instruction; and/or in the case of receiving the code cleaning instruction sent by the experiment teaching equipment, cleaning the project code of the experiment project indicated by the code cleaning instruction.

As described above, the switching instruction may be an instruction triggered in response to a switching operation for an experimental project, and the code cleaning instruction may be an instruction triggered in response to a code cleaning operation for an experimental project.

As described above, the experiment teaching platform can provide a switching control for switching the experiment items, determine the experiment items to be run by the experiment teaching equipment by triggering the switching control, and send a switching instruction to the experiment teaching equipment. The experiment teaching platform can also provide a cleaning control for cleaning the project codes stored in the experiment teaching equipment, determine the project codes to be cleaned by triggering the cleaning control, and send a code cleaning instruction to the experiment teaching equipment.

It is understood that the switching instruction may indicate an item code to be run by the experiment teaching device, and the code cleaning instruction may indicate an item code to be deleted by the experiment teaching device. The experiment teaching equipment can call and run the item code indicated by the switching instruction from the memory after receiving the switching instruction; the item code indicated by the code clean-up instruction may be deleted from the memory after receiving the code clean-up instruction.

In the embodiment of the disclosure, operations such as switching and cleaning aiming at different experimental projects can be realized, and experimental teaching aiming at different experimental projects is convenient to realize.

In one possible implementation manner, the experimental project includes a testimonial registration project, and in step S22, the running project code is run to obtain a running result, which includes:

step S221: acquiring a face image of a registered object acquired by an image acquisition module arranged on experimental teaching equipment and certificate information of the registered object read by an NFC module arranged on the experimental teaching equipment;

step S222: extracting a first registered face feature of a face image of a registered object;

step S223: and binding the first registered face features with certificate information of a registered object to obtain a testimony registration result, wherein the operation result comprises the testimony registration result.

It should be understood that the item code of the testimonial registration item may be a code written in the experiment teaching platform, and the above steps S211 to S223 of the embodiment of the present disclosure may be implemented by running the item code of the testimonial registration item in the processor of the experiment teaching device, so as to obtain a running result of the item code.

Wherein, the image acquisition module can include all kinds of cameras, camera, for example the cloud platform camera or the binocular camera etc. that experimental teaching equipment that fig. 1 shows set up. An NFC (Near Field Communication) module, which may also be referred to as a card reader, may be used to read an inductive card through NFC technology, for example, to read a certificate card of a registered object, so as to obtain certificate information of the registered object.

It is understood that the credential information may include, for example: the certificate information may be information written in a certificate card of the registration object in advance, and the specific content of the registration information is not limited in the embodiment of the present disclosure.

In a possible implementation manner, the NFC module may be connected to an IO interface of a processor of the experimental teaching device through a data line, and certainly, the NFC module and the processor may also be connected through a circuit board trace, which is not limited in this embodiment of the present disclosure. For example, the NFC module may be connected to a sensor interface of the experimental teaching device through a data line, and connected to an IO interface of the processor through a sensor interface circuit board.

In one possible implementation, the extraction of the first registered facial feature of the facial image may be implemented by using a feature extraction technique known in the art, for example, through a trained feature extraction network. It is to be understood that the present disclosure is not limited with respect to the network structure, network type, and training manner of the feature extraction network.

The binding of the first registered face feature and the certificate information of the registered object may include, for example: and performing association binding on the first registered face features and the certificate information, and locally recording the first registered face features and the associated certificate information in the experimental teaching equipment, namely obtaining the association relationship between the first registered face features and the certificate information. The witness registration result can include an association relationship between the first registered face feature and the certificate information.

In a possible implementation manner, the first registered facial feature may also be written into a certificate card of the registered object through an NFC technology, so as to record an association relationship between the first registered facial feature and the certificate information in the certificate card, which is not limited in this embodiment of the present disclosure.

In the embodiment of the disclosure, the item code of the testimony registration item is operated through the experiment teaching equipment, so that the learning threshold aiming at the testimony registration item can be reduced, and the interactivity and the interestingness of the experiment teaching are improved.

In a possible implementation manner, the experimental project includes a testimonial verification project, and in step S22, the running project code is run to obtain a running result, which includes:

step S224: acquiring a face image of an object to be verified acquired by an image acquisition module arranged on experimental teaching equipment and certificate information of the object to be verified read by an NFC module arranged on the experimental teaching equipment;

step S225: extracting the human face features to be verified of the human face image of the object to be verified, and determining second registered human face features bound with certificate information of the object to be verified;

step S226: and determining a testimony verification result according to the similarity between the face features to be verified and the second registered face features, wherein the operation result comprises the testimony verification result.

It should be understood that the item code of the testimony verification item may also be a code written in the experiment teaching platform, and the above steps S224 to S226 of the embodiment of the present disclosure may be implemented by running the item code of the testimony verification item in the processor of the experiment teaching device, so as to obtain a running result of the item code.

As described above, the image capturing module may include various cameras, such as a pan-tilt camera or a binocular camera set by the experimental teaching equipment shown in fig. 1. An NFC (Near Field Communication) module, which may also be referred to as a card reader, may be used to read an inductive card through NFC technology, for example, to read a certificate card of an object to be verified, so as to obtain certificate information of the object to be verified. It is understood that the credential information of the object to be authenticated may include, for example: certificate number, name of object to be verified, position, identity information such as unit name, face image/face feature of object to be verified, etc.

In a possible implementation manner, the feature extraction network for extracting the first registered face feature of the registered object may be adopted to extract the to-be-verified face feature of the to-be-verified object. Of course, any feature extraction technology known in the art may also be adopted to extract the to-be-verified face features of the face image, and the embodiment of the present disclosure is not limited thereto.

In a possible implementation manner, feature extraction can be performed through a face image of the object to be verified to obtain a second registered face feature bound to certificate information of the object to be verified. Of course, the face features of the object to be verified extracted in advance can also be directly stored as the certificate information of the object to be verified.

In a possible implementation manner, it can be understood that the object to be verified may include the above registered object, that is, the object to be verified may obtain, in advance, the second registered facial feature bound with the certificate information of the object to be verified through the above steps S221 to S223.

As described above, the association relationship between the first registered face feature of the registered object and the certificate information may be recorded locally in the experiment teaching device. In a possible implementation manner, the second registered face feature bound with the certificate information of the object to be verified can be determined according to the incidence relation between the locally recorded second registered face feature of the object to be verified and the certificate information.

As described above, the association relationship between the first registered facial feature of the registered object and the certificate information may also be recorded in the certificate card of the registered object. In a possible implementation manner, the second registered face feature of the object to be verified can be obtained through the association relationship between the second registered face feature and the certificate information in the certificate card of the object to be verified, which is read by the NFC module.

In a possible implementation manner, similarity calculation methods known in the art, for example, cosine similarity, euclidean distance, and the like, may be used to calculate the similarity between the face feature to be verified and the second registered face feature, and the embodiment of the present disclosure is not limited thereto.

It can be understood that the higher the similarity is, the higher the possibility that the representative face feature to be verified and the second registered face feature represent the same object is. In a possible implementation manner, it may be determined that the credential check passes, that is, it is determined that the object to be verified matches credential information, in a case that the similarity between the face feature to be verified and the second registered face feature exceeds a preset threshold; otherwise, determining that the testimony verification fails under the condition that the similarity between the face features to be verified and the second registered face features does not exceed the preset threshold value.

Wherein, the testimony checking result can include whether testimony checking passes; the preset threshold may be determined according to historical experience, extraction accuracy of human face features, and the like, and the embodiment of the present disclosure is not limited.

In the embodiment of the disclosure, the item code of the testimony verification item is operated through the experiment teaching equipment, so that the learning threshold of the testimony verification item can be reduced, and the interactivity and the interestingness of the experiment teaching are improved.

In a possible implementation manner, the experiment teaching device is further provided with a display module and/or a voice broadcast module, and in step S22, the method runs the project code to obtain a running result, and further includes:

responding to the touch operation aiming at the display module, and switching to the item code of the experimental item indicated by the touch operation; and/or displaying at least one of data and operation results acquired by components connected on the image experiment teaching equipment through a display module; and/or broadcasting the operation result through a voice playing module.

The display module arranged on the experiment teaching device may include a touch screen, for example, the touch screen arranged on the experiment teaching device shown in fig. 1. Therefore, the touch function of the touch screen can be utilized to realize the switching operation of the project codes of different experimental projects; and the display function of the touch screen can be utilized to display at least one of data (such as human face images acquired by the image acquisition module, temperature and humidity information acquired by an environment temperature and humidity sensor connected with the experimental teaching equipment and the like) and operation results acquired by components connected with the experimental teaching equipment.

It should be understood that the experiment items stored by the experiment teaching device can be displayed in the display module, and a switching control for switching the experiment items is provided, so as to realize that the item codes of the experiment items indicated by the touch operation are switched to be operated in response to the touch operation on the display module, for example, the testimony registration item can be switched to be operated as the testimony verification item.

Wherein, voice broadcast module for example includes the subassembly that is used for broadcast pronunciation such as loudspeaker, stereo set. Understandably, the voice that the treater can need to play is sent to the voice broadcast module, makes the voice broadcast module broadcast the pronunciation, for example, can be in the project code of operation testimony of a witness check project, after obtaining testimony of a witness check result, sends the voice that testness of a witness check result corresponds to the voice broadcast module to broadcast this testimony of a witness check result.

In the embodiment of the disclosure, various hardware modules arranged in the experiment teaching equipment can be utilized, so that the interactivity and interestingness of the experiment teaching are improved.

In a possible implementation manner, the experimental project may further include a driver abnormal behavior identification project, and in step S22, the project code is executed to obtain an operation result, including:

acquiring a person image of a person to be identified, which is acquired by an image acquisition module arranged on experimental teaching equipment;

performing abnormal behavior recognition on the personnel image to obtain at least one abnormal behavior recognition result, wherein the abnormal behavior at least comprises at least one of unbelted safety belts, telephone conversation, smoking, drinking and yawning, and the operation result comprises the abnormal behavior recognition result;

through the display module that sets up on the experiment teaching equipment, at least one in display personnel's image and the unusual behavior recognition result, and/or, through the voice broadcast module that sets up on the experiment teaching equipment, report the warning pronunciation that corresponds with unusual behavior recognition result.

In a possible implementation manner, the abnormal behavior recognition of the personnel image can be realized through an abnormal behavior recognition network, wherein the abnormal behavior recognition network can adopt a network structure of a backbone network and a plurality of branch networks, so that the identification of various abnormal behaviors of the personnel image is realized. Fig. 7 is a schematic network structure diagram of an abnormal behavior recognition network according to an embodiment of the present disclosure, and as shown in fig. 7, image features of a person image may be extracted through a residual error network Resnet18 (i.e., a main network), and classification recognition of two abnormal behaviors (i.e., no seat belt wearing and phone call) is performed according to the image features through two classifiers (i.e., two branch networks).

It should be understood that fig. 7 illustrates an implementation manner provided by the embodiment of the present disclosure, a specific network type and structure may be edited and determined in the project code by a user, and a person skilled in the art may design a network structure of the abnormal behavior recognition network according to the type, number, and the like of the abnormal behavior to be recognized, and the embodiment of the present disclosure is not limited to the network types, training manners, the number of branch networks, and the like of the main network and the branch networks in the abnormal behavior recognition network.

In the embodiment of the disclosure, the item code of the driver abnormal behavior identification item is operated through the experiment teaching equipment, so that the learning threshold aiming at the driver abnormal behavior identification item can be reduced, and the interactivity and interestingness of the experiment teaching are improved.

In a possible implementation manner, the experimental item may further include an object identification item of the X-ray image, and in step S22, the item code is executed to obtain an operation result, including:

acquiring an X-ray image acquired by an image acquisition module arranged on experimental teaching equipment;

detecting abnormal objects in the X-ray image to obtain object types and confidence degrees of the abnormal objects in the X-ray image, wherein the abnormal objects comprise at least one of firearms, props, wrenches, pliers, scissors and hammers, the operation result comprises the object types and the confidence degrees of the abnormal objects, and the confidence degrees are used for representing the credibility degrees of the detected abnormal objects;

through the display module that sets up on the experiment teaching equipment, at least one in X-ray image, the detection frame of unusual object, the object classification and the confidence coefficient of unusual object that the demonstration image acquisition module gathered, and/or, through the voice broadcast module that sets up on the experiment teaching equipment, report the warning pronunciation that corresponds with the object classification of unusual object.

In a possible implementation manner, considering that an X-ray image is generally an image that can be acquired by a specific X-ray device (such as an X-ray security inspection machine), in order to facilitate experimental teaching of an object identification item of the X-ray image, the X-ray image acquired by the X-ray device may be displayed in front of an image acquisition module (such as a cloud platform camera) arranged on the experimental teaching device in a handheld manner, so as to obtain the X-ray image acquired by the image acquisition module.

Of course, the experimental teaching device may be independently provided with an image acquisition module for acquiring an X-ray image, or may further establish a communication connection between the X-ray device and the practical teaching device to acquire an actually acquired X-ray image, which is not limited in the embodiment of the present disclosure.

In a possible implementation manner, abnormal object detection on an X-ray image can be realized through a target detection network, wherein the target detection network can adopt a network structure of a residual error network and a characteristic pyramid network, and the target detection network can be trained through a sample X-ray image labeled with various abnormal objects, so that the target detection network for detecting the abnormal object on the X-ray image can be obtained. It should be understood that, a person skilled in the art may design the network structure, the network type and the training mode of the target detection network to implement the detection of the abnormal object on the X-ray image, and the embodiment of the present disclosure is not limited thereto.

In the embodiment of the disclosure, the experiment teaching device runs the item code of the object identification item of the X-ray image, so that the learning threshold of the object identification item aiming at the X-ray image can be reduced, and the interactivity and the interestingness of the experiment teaching can be improved.

As described above, the experiment teaching device shown in fig. 1 may further include a microphone, a pan-tilt camera, and the like, and in a possible implementation manner, the experiment item may further include a voice recognition item, for example, the voice of the student is collected by the microphone and is subjected to voice recognition, and a voice recognition result may be displayed on the display module; the experimental items can also comprise a target tracking item, images are collected through the cloud deck camera, a target object in the images is identified, and then tracking of the target object is achieved by controlling the posture of the steering engine of the cloud deck camera.

As described above, as shown in fig. 1, the experiment teaching device may further include a sensor connector, and in one possible implementation manner, various sensors, such as an ambient temperature and humidity sensor and a light brightness sensor, may be connected to the experiment teaching device through the sensor connector to acquire data collected by the various sensors, so as to implement experiment projects such as an intelligent light supplement and an intelligent fan.

The intelligent light supplement project may include, for example: according to the luminance that luminance sensor gathered, the luminance of the lighting equipment of automatic adjustment and experiment teaching equipment connection can realize the intelligent light filling when shooing. The smart fan items may include, for example: according to the humiture that environment temperature and humidity sensor gathered, the rotational speed of fan on the fan that automatically regulated and experiment teaching equipment are connected can realize the intelligent speed governing of fan.

It should be understood that the above experimental items are some implementation manners provided by the embodiments of the present disclosure, and in fact, a person skilled in the art can utilize each module already set on the experimental teaching device or utilize various hardware devices connected with the experimental teaching device according to item requirements of different experimental items, to implement experimental teaching of different experimental items, so as to reduce the learning threshold of various experimental items and improve the interest of the experimental teaching.

According to the embodiment of the disclosure, integrated and standardized experiment teaching equipment is utilized, and an experiment teaching platform is combined, so that experiment teaching can be facilitated; the management of different experimental projects can be realized by utilizing an experimental teaching platform; the online programming is realized through the experiment teaching platform, and the equipment is not required to be connected to the experiment teaching equipment through a keyboard and a mouse to operate and control the equipment; the method can store the project codes of the experimental projects compiled by students on line, and reduce the condition that the project codes are lost due to equipment failure.

In the related art, programming of project codes and the like are generally realized by self-assembling a hardware system for operating the project codes or directly controlling experiment teaching equipment through a mouse and a keyboard. According to the embodiment of the disclosure, the experiment teaching equipment is matched with the experiment teaching platform, a hardware system does not need to be assembled, and project codes do not need to be directly compiled in the experiment teaching equipment, so that the learning threshold and the error probability of the experiment project with software and hardware combined are integrally reduced, and the improvement of the practice capability and the innovation capability of students is facilitated.

According to the embodiment of the disclosure, the demand of market and user for the experimental teaching of the artificial intelligence technology can be met to the maximum, the experimental teaching equipment and the experimental teaching platform which are used for teaching, standard and integral are provided for teachers and students, the user is helped to learn and know the application of the artificial intelligence related algorithm on the intelligent hardware, the learning threshold of the intelligent hardware is reduced, and the interactivity and interestingness of the artificial intelligence teaching are improved.

It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.

In addition, the present disclosure also provides an experimental project operation apparatus, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any one of the experimental project operation methods provided by the present disclosure, and the corresponding technical solutions and descriptions and corresponding descriptions in the methods section are not repeated.

Fig. 8 is a block diagram of an experimental project operation apparatus applied to an experimental teaching platform according to an embodiment of the present disclosure, as shown in fig. 8, the apparatus includes:

a programming module 101 for determining a project code of an experimental project in response to a programming operation for the experimental project;

the sending module 102 is configured to send the project code to experiment teaching equipment, so that the experiment teaching equipment runs the project code to obtain a running result;

and the display module 103 is configured to display the operation result when the operation result sent by the experiment teaching device is received.

In a possible implementation manner, the execution result includes error information of the project code during execution, and the apparatus further includes: and the error information display module is used for responding to the selection operation aiming at the error information, displaying the code indicated by the error information and editing the code indicated by the error information.

In a possible implementation manner, the experiment teaching device is in communication connection with the experiment teaching platform through a wireless network, and the apparatus further includes: the scanning module is used for scanning connectable experimental teaching equipment in a wireless network; and the connection module is used for responding to the selection operation of the connectable experimental teaching equipment and establishing communication connection with the selected experimental teaching equipment.

In one possible implementation, the apparatus further includes: the switching module is used for responding to switching operation aiming at an experimental project, and sending a switching instruction to the experimental teaching equipment so as to switch the experimental teaching equipment to run a project code of the experimental project indicated by the switching instruction; and/or the cleaning module is used for responding to a code cleaning operation aiming at an experimental project, and sending a code cleaning instruction to the experimental teaching equipment so as to enable the experimental teaching equipment to clean the project code indicated by the code cleaning instruction.

In the embodiment of the disclosure, the experiment teaching platform is used for compiling the item codes of the experiment items on line, the experiment teaching equipment is used for actually operating the item codes of the experiment items, and the operation results are checked in real time through the experiment teaching platform, so that the experiment teaching combining theory and practice can be realized aiming at various application scenes, the interactivity and interestingness of the experiment teaching are improved, the learning threshold of related software and hardware technologies can be reduced, and the improvement of the practice capability and innovation capability of students is facilitated.

Fig. 9 is a block diagram of an experimental project execution apparatus applied to an experimental teaching device according to an embodiment of the present disclosure, as shown in fig. 9, the apparatus including:

the receiving module 201 is configured to receive and store a project code of an experiment project sent by an experiment teaching platform;

and the operation module 202 is configured to operate the project code to obtain an operation result, and send the operation result to the experiment teaching platform, so that the experiment teaching platform displays the operation result.

In one possible implementation, the apparatus further includes: the code switching module is used for switching to the project code of the experiment project indicated by the switching instruction under the condition of receiving the switching instruction sent by the experiment teaching platform; and/or the code cleaning module is used for cleaning the project codes of the experiment projects indicated by the code cleaning instruction under the condition that the code cleaning instruction sent by the experiment teaching equipment is received.

In a possible implementation manner, the experiment teaching device is further provided with a display module and/or a voice broadcast module, the operation of the project codes obtains an operation result, and the operation result includes: responding to the touch operation aiming at the display module, and switching to running the item code of the experimental item indicated by the touch operation; and/or displaying at least one of data collected by a component connected to the experimental teaching equipment and the operation result through the display module; and/or broadcasting the operation result through the voice playing module.

In one possible implementation, the execution result includes error information of the project code during execution.

In a possible implementation manner, the experimental project includes a testimonial registration project, and the running the project code to obtain a running result includes: acquiring a face image of a registered object acquired by an image acquisition module arranged on the experimental teaching equipment and certificate information of the registered object read by an NFC module arranged on the experimental teaching equipment; extracting a first registered face feature of the face image of the registered object; and binding the first registered face features with certificate information of the registered object to obtain a testimony registration result, wherein the operation result comprises the testimony registration result.

In a possible implementation manner, the experimental item includes a testimonial verification item, and the running the item code to obtain a running result includes: acquiring a face image of an object to be verified acquired by an image acquisition module arranged on the experimental teaching equipment and certificate information of the object to be verified read by an NFC module arranged on the experimental teaching equipment; extracting the human face features to be verified of the human face image of the object to be verified, and determining second registered human face features bound with certificate information of the object to be verified; and determining a testimony verification result according to the similarity between the face features to be verified and the second registered face features, wherein the operation result comprises the testimony verification result.

In the embodiment of the disclosure, the experiment teaching platform is used for compiling the item codes of the experiment items on line, the experiment teaching equipment is used for actually operating the item codes of the experiment items, and the operation results are checked in real time through the experiment teaching platform, so that the experiment teaching combining theory and practice can be realized aiming at various application scenes, the interactivity and interestingness of the experiment teaching are improved, the learning threshold of related software and hardware technologies can be reduced, and the improvement of the practice capability and innovation capability of students is facilitated.

In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.

Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-mentioned method. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium.

An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the memory-stored instructions to perform the above-described method.

The disclosed embodiments also provide a computer program product comprising computer readable code or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, the processor in the electronic device performs the above method.

The electronic device may be provided as a terminal, server, or other form of device.

Fig. 10 illustrates a block diagram of an electronic device 800 in accordance with an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.

Referring to fig. 10, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.

The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.

The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.

The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.

The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.

In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.

Fig. 11 shows a block diagram of an electronic device 1900 according to an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 11, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.

The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system, such as the Microsoft Server operating system (Windows Server), stored in the memory 1932TM) Apple Inc. of the present application based on the graphic user interface operating System (Mac OS X)TM) Multi-user, multi-process computer operating system (Unix)TM) Free and open native code Unix-like operating System (Linux)TM) Open native code Unix-like operating System (FreeBSD)TM) Or the like.

In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.

The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.

The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.

The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.

The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may 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 case of a remote computer, the remote computer may 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 may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).

Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.

These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.

Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

27页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种马克思主义哲学教学教具

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!