Teaching aid control method and device, teaching equipment, and storage medium
By confirming the successful construction of teaching aids and writing of functional functions, the program code is sent, combined with teaching resources and test instructions, to solve the problem of poor learning results in traditional teaching aid control methods, achieve efficient hands-on ability and basic functional function teaching, and improve learning Efficiency and feedback.
Patent Information
- Application Number
- CN202011027599.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-25
- Publication Date
- 2024-09-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional teaching aid control methods are difficult to improve students' knowledge application ability, have poor learning effects, and lack teaching support for hands-on ability and basic functional functions.
By receiving trigger instructions, after confirming that the teaching aid is successfully built and the functional function is successfully written, the program code is sent to the teaching aid for execution, and combined with teaching resource data and test instructions, the teaching results and feedback are obtained in real time to improve learning efficiency and enthusiasm.
It realizes staged teaching, improves users' learning efficiency and effect, supports the teaching of hands-on ability and basic functions, and enhances learning feedback and users' mastery of the hardware construction process.
Smart Images

Figure CN112001827B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a teaching aid control method and device, teaching equipment, and a computer-readable storage medium. Background Art
[0002] In the traditional teaching aids control method, the dissemination of knowledge is usually based on books containing various texts and images. The content is boring and students can only acquire single theoretical knowledge, which makes it difficult to improve students' ability to apply knowledge. Summary of the invention
[0003] The present disclosure provides a teaching aid control method and device, teaching equipment, and a computer-readable storage medium.
[0004] According to one aspect of an embodiment of the present disclosure, a teaching aid control method is provided, which is applied to a terminal and includes:
[0005] Receiving a trigger instruction for sending a program code to the teaching aid; the program code is used to control the teaching aid to execute a teaching project;
[0006] In response to the trigger instruction, the program code is obtained when at least one condition is met; wherein the at least one condition includes: the teaching aid is successfully built, at least one function is successfully written; the at least one function is called by the running program code;
[0007] The program code is sent to the teaching aid so that the teaching aid executes the program code.
[0008] In this way, since the successful construction of the teaching aid and / or the successful writing of at least one functional function is confirmed before obtaining the program code, phased teaching is implemented, which can improve the user's learning efficiency and learning effect; since it is confirmed that the teaching aid is successfully built and / or at least one functional function is successfully written, the teaching aid control method can also be applied to the teaching of hands-on skills and the teaching of basic functional functions; since the acquired program code is sent to the teaching aid for execution, the user can obtain learning feedback intuitively, which can ensure the enthusiasm for learning and improve learning efficiency.
[0009] In a possible implementation, the teaching aid includes at least two teaching aid components, and the method further includes:
[0010] Obtaining the identifier of the teaching project, and obtaining the teaching resource data corresponding to the identifier; the teaching resource data includes at least one of the following: at least one first resource data, at least one second resource data; each of the first resource data has a corresponding relationship with at least one of the teaching aid components; each of the second resource data has a corresponding relationship with at least one of the function functions;
[0011] The teaching resource data is displayed, and a teaching result is obtained; the teaching result is used to indicate whether the at least one functional function is successfully written, and / or whether the at least two teaching aid components are successfully built together.
[0012] In this way, since the teaching resource data is stored in other storage devices, the local storage space of the terminal can be saved. After obtaining the identification of the teaching project, the corresponding teaching resource data can be immediately obtained through the identification, thereby improving the accuracy and efficiency of resource acquisition. Since the corresponding teaching results are obtained while displaying the teaching resource data, the user's mastery of the teaching resource data can be obtained in time, so that the user can obtain learning feedback in time, thereby improving the teaching efficiency of this teaching aid control method.
[0013] In a possible implementation, in response to the teaching resource data including at least one first resource data, displaying the teaching resource data and obtaining the teaching result includes:
[0014] Displaying the first resource data corresponding to each of the teaching aid components;
[0015] Sending a test instruction corresponding to each of the teaching aid components to the teaching aid; the test instruction is used to instruct the control component in the teaching aid to test the teaching aid component, and instruct the control component to return the test result corresponding to each of the teaching aid components;
[0016] Determine whether the at least two teaching aid components are built together successfully based on the test results corresponding to the teaching aid components.
[0017] In this way, since the test instructions corresponding to each teaching aid component are sent to the teaching aid, the construction status of each teaching aid component in the teaching aid can be accurately obtained, and then it can be determined whether at least two teaching aid components are built together and successfully; and, since the displayed teaching aid components will be tested after displaying the first resource data corresponding to each teaching aid component, the user's mastery of the hardware construction process can be obtained in a timely manner.
[0018] In a possible implementation, in response to the teaching resource data including at least one second resource data, displaying the teaching resource data and obtaining the teaching result further includes:
[0019] Displaying the second resource data corresponding to each of the functional functions;
[0020] Obtaining at least one task code for implementing each of the functional functions;
[0021] Determine the operation status corresponding to each of the function functions according to at least one task code corresponding to each of the function functions;
[0022] Determine whether the at least one function function is successfully written according to the running conditions corresponding to each of the function functions.
[0023] In this way, after displaying the second resource data corresponding to each function function, at least one task code corresponding to the displayed function function will be obtained, and based on the at least one task code, the operating status corresponding to each function function will be determined, so the user's mastery of the function function writing process can be obtained in a timely manner.
[0024] In a possible implementation, the method further includes:
[0025] Receive and output the execution result sent by the teaching aid.
[0026] In a possible implementation, the execution result includes operation data, and the receiving and outputting the execution result sent by the teaching aid includes:
[0027] In response to the execution result being a successful execution, the operation data sent by the teaching aid is received and output; the operation data includes at least one of the following: operation time, operation result, screen data, video data and audio data.
[0028] In a possible implementation, the execution result includes error reporting data, and the receiving and outputting of the execution result sent by the teaching aid includes:
[0029] In response to the execution result being an execution failure, receiving and outputting error data sent by the teaching aid; the error data includes at least one of the following: hardware error data, function sequence error data and code running error data.
[0030] According to one aspect of an embodiment of the present disclosure, a teaching aid control method is provided, which is applied to a teaching aid, and includes:
[0031] The receiving terminal acquires and sends a program code when at least one condition is met; the program code is used to control the teaching aid to execute the teaching project; the at least one condition includes: the teaching aid is successfully built, at least one function is successfully written; the at least one function is called by the running program code;
[0032] Execute the program code to obtain an execution result;
[0033] The execution result is sent to the terminal.
[0034] In this way, since the terminal first confirms that the teaching aids are successfully built and / or at least one functional function is successfully written before obtaining the program code, it not only eliminates the problems of teaching aid defects and basic functional function defects in the learning process, but also can realize phased teaching, which can improve the user's learning efficiency and learning effect; since it is confirmed that the teaching aids are successfully built and / or at least one functional function is successfully written, the teaching aid control method can also be applied to the teaching of hands-on skills and the teaching of basic functional functions; since the acquired program code is sent to the teaching aid for execution and the execution result is obtained, the user can obtain learning feedback intuitively, which can ensure the enthusiasm for learning and improve learning efficiency.
[0035] In a possible implementation, executing the program code includes:
[0036] When at least one of the conditions is met, the program code is executed.
[0037] In a possible implementation, the teaching aid includes at least two teaching aid components; in response to the at least one condition including the teaching aid being successfully constructed, before executing the program code, the method further includes:
[0038] Obtaining the test results corresponding to each of the teaching aid components;
[0039] Determining whether the at least two teaching aid components are built together successfully according to the test results corresponding to the teaching aid components;
[0040] In response to the at least two teaching aid components being successfully built together, the program code is executed.
[0041] In a possible implementation, in response to the at least one condition including the fact that the at least one function is successfully written, before executing the program code, the method further includes:
[0042] Obtaining the operation status corresponding to each of the functional functions;
[0043] Determining whether the at least one function is successfully written according to the operation status corresponding to each of the function functions;
[0044] In response to the at least one functional function being successfully written, the program code is executed.
[0045] In this way, since the teaching aid determines whether at least one of the conditions is met after receiving the program code, and executes the program code when at least one of the conditions is met, it can effectively detect the changes in the construction status of the teaching aid during the code transmission process, and can also effectively detect the functional function errors caused by channel quality during the program code transmission process.
[0046] In a possible implementation, the teaching aid includes at least two teaching aid components, and the method further includes:
[0047] Receiving test instructions corresponding to each teaching aid component sent by the terminal;
[0048] Testing the corresponding teaching aid components according to each of the test instructions to obtain the test results corresponding to each of the teaching aid components;
[0049] The test results corresponding to the teaching aid components are sent to the terminal, so that the terminal determines whether the at least two teaching aid components are built together successfully according to the test results corresponding to the teaching aid components.
[0050] In this way, since the test instructions corresponding to each teaching aid component are sent to the teaching aid, the construction status of each teaching aid component in the teaching aid can be accurately obtained, and then it can be determined whether at least two teaching aid components are built together and successfully; and, since the displayed teaching aid components will be tested after displaying the first resource data corresponding to each teaching aid component, the user's mastery of the hardware construction process can be obtained in a timely manner.
[0051] In a possible implementation, the method further includes:
[0052] Receiving at least one task code sent by the terminal for implementing each of the functional functions;
[0053] Determine the operation status corresponding to each of the function functions according to at least one task code corresponding to each of the function functions;
[0054] The running conditions corresponding to each of the functional functions are sent to the terminal, so that the terminal determines whether the at least one functional function is successfully written according to the running conditions corresponding to each of the functional functions.
[0055] In this way, after displaying the second resource data corresponding to each function function, the terminal will obtain at least one task code corresponding to the displayed function function, and determine the operating status corresponding to each function function based on the at least one task code, so that the user's mastery of the function function writing process can be obtained in a timely manner.
[0056] In a possible implementation manner, the execution result includes operation data, and sending the execution result to the terminal includes:
[0057] In response to the execution result being a successful execution, sending the operation data to the terminal; the operation data includes at least one of the following: operation time, operation result, screen data, video data and audio data;
[0058] In a possible implementation manner, the execution result includes error reporting data, and sending the execution result to the terminal includes:
[0059] In response to the execution result being an execution failure, the error data is sent to the terminal; the error data includes at least one of the following: hardware error data, function sequence error data and code execution error data.
[0060] According to one aspect of an embodiment of the present disclosure, a teaching device is provided, the device comprising:
[0061] A first acquisition module is used to receive a trigger instruction for sending a program code to the teaching aid; the program code is used to control the teaching aid to execute the teaching project;
[0062] A second acquisition module is used to respond to the trigger instruction and acquire the program code when at least one condition is met; wherein the at least one condition includes: the teaching aid is successfully built, at least one function is successfully written, and the at least one function is called by the running program code;
[0063] The first sending module is used to send the program code to the teaching aid so that the teaching aid executes the program code.
[0064] According to one aspect of an embodiment of the present disclosure, a teaching device is provided, the device comprising:
[0065] A second receiving module is used to receive a program code acquired and sent by a terminal when at least one condition is met; the program code is used to control the teaching aid to execute the teaching project; the at least one condition includes: the teaching aid is successfully built, at least one function is successfully written; the at least one function is called by the running program code;
[0066] A first execution module, used for executing the program code to obtain an execution result;
[0067] The second sending module is used to send the execution result to the terminal.
[0068] According to one aspect of an embodiment of the present disclosure, there is provided a teaching device, comprising:
[0069] processor;
[0070] a memory for storing processor-executable instructions;
[0071] Wherein, the processor is configured to: execute any one of the methods described above.
[0072] According to one aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, any one of the methods described above is implemented.
[0073] In the disclosed embodiment, a trigger instruction for sending a program code to a teaching aid is received; in response to the trigger instruction, the program code is obtained when at least one condition is met; wherein at least one condition includes: the teaching aid is successfully built and at least one function is successfully written; the program code is sent to the teaching aid; and the execution result sent by the teaching aid is received and output. According to the teaching aid control method provided in the disclosed embodiment, since the successful construction of the teaching aid and / or the successful writing of at least one function is confirmed before the program code is obtained, staged teaching is implemented, which can improve the user's learning efficiency and learning effect; since the successful construction of the teaching aid and / or the successful writing of at least one function are confirmed, the teaching aid control method can also be applied to the teaching of hands-on skills and the teaching of basic function functions; since the obtained program code is sent to the teaching aid for execution, the user can obtain learning feedback intuitively, which can ensure the enthusiasm for learning and improve learning efficiency.
[0074] 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.
[0075] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1 An optional application environment diagram of the teaching aid control method provided by the embodiment of the present disclosure;
[0077] Figure 2 An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0078] Figure 3 An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0079] Figure 4 An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0080] Figure 5 An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0081] Figure 6 An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0082] Figure 7An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0083] Figure 8 An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0084] Fig. 9 An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0085] Fig.10 An optional flow chart of a teaching aid control method provided in an embodiment of the present disclosure;
[0086] Fig.11 An optional teaching aid hardware architecture diagram provided for an embodiment of the present disclosure;
[0087] Fig. 12A A schematic diagram of an optional educational program provided for an embodiment of the present disclosure;
[0088] Fig. 12B A schematic diagram of an optional artificial intelligence education solution provided for an embodiment of the present disclosure;
[0089] Fig.13 An optional system architecture diagram of the teaching system provided by the embodiment of the present disclosure;
[0090] Fig.14 A schematic diagram of an optional network configuration process provided for an embodiment of the present disclosure;
[0091] Fig.15 An optional interactive flow diagram provided for an embodiment of the present disclosure;
[0092] Fig.16 An optional design case flow diagram provided for an embodiment of the present disclosure;
[0093] Fig.17 A partial structural schematic diagram of an optional teaching device provided in an embodiment of the present disclosure;
[0094] Fig.18 A partial structural schematic diagram of an optional teaching device provided in an embodiment of the present disclosure;
[0095] Fig.19 A partial structural diagram of the teaching device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0096] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0097] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0098] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.
[0099] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0100] The teaching aid control method provided by the embodiment of the present disclosure can be applied to Figure 1 In the application environment shown. Wherein, the terminal 102 communicates with the teaching aid 104. Wherein, the terminal 102 may be, but not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the teaching aid 104 may include teaching aid components corresponding to various teaching projects. Wherein, the teaching aid components may include, but not limited to, control components, motor components, camera components and sensor components. The terminal 102 can communicate with the server 106, and the server 104 can be implemented with an independent server or a server cluster composed of multiple servers. Wherein, the communication method between the terminal 102 and the teaching aid 104 includes, but is not limited to, various wired communication methods and various wireless communication methods, where the wired communication method may include, but is not limited to, wire carrier or carrier frequency, coaxial line, switch signal line, RS232 serial port, RS485 and USB, and the wireless communication method may include, but is not limited to, Bluetooth, Zigbee, Z-ware, local area network and Ethernet.
[0101] Figure 2 is an optional flow chart of a teaching aid control method provided by an embodiment of the present disclosure, in which the method is applied to Figure 1For example, terminal 102 in Figure 2 The steps shown are explained.
[0102] In step S202, the terminal receives a trigger instruction for sending a program code to the teaching aid; the program code is used to control the teaching aid to execute a teaching project.
[0103] In some possible implementations, before step S202, a communication connection has been established between the terminal and the teaching aid. Taking the communication method as a local area network as an example, the terminal can obtain the network name and password of the current local area network through various interactive devices, and access the current local area network after obtaining the network name and password; when the teaching aid includes an interactive device, the same method as the terminal can be used to access the current local area network; when the teaching aid does not include an interactive device, taking the teaching aid including a camera component as an example, the teaching aid can be switched to a network distribution mode, and the camera component can be used to scan a QR code containing the network name and password of the current local area network. The teaching aid obtains the network name and password of the current local area network by parsing the QR code captured by the camera, and then accesses the current local area network to communicate with the terminal in the same local area network.
[0104] In some possible implementations, the terminal may provide an operation interface for the user, and the operation interface may be used to receive the trigger instruction. For example, a trigger button may be set on the operation interface, and when the user clicks the trigger button, the terminal may obtain a trigger instruction to send the program code to the teaching aid. The terminal may also provide a physical button for the user, and after the user presses the physical button, the terminal may obtain a trigger instruction to send the program code to the teaching aid.
[0105] In some possible implementations, the terminal may access a server and obtain an operation interface corresponding to the teaching project from the server. For example, the terminal may obtain the operation interface corresponding to the teaching project from the server by accessing a URL through a browser.
[0106] In some possible implementations, the program code may include program codes written in various programming languages such as Python, Java, Lisp, Prolog, C++, Yigo, etc. The program code includes program codes written in the original programming language, and also includes intermediate expressions after the original programming language is encapsulated according to requirements. For example, the program code may include a language written in an intermediate expression after encapsulation using Python language for middle school students. The present disclosure does not limit the specific implementation of the code.
[0107] In step S204, in response to the trigger instruction, the terminal obtains the program code when at least one condition is met; wherein at least one condition includes: the teaching aid is successfully built, at least one function is successfully written; at least one function is called by the running program code.
[0108] In some possible implementations, after obtaining the trigger instruction, in response to the trigger instruction, the terminal will first determine whether at least one of the preset conditions is met, and the at least one condition includes whether the teaching aid is successfully built and whether at least one function is successfully written. After the at least one condition is met, the program code is obtained. If the at least one condition is not met, the step S202 is returned to be executed to obtain the next trigger instruction. If the trigger instruction is responded to multiple times in a row but the at least one condition is not met, an alarm prompt is issued.
[0109] In some possible implementations, when the teaching aids corresponding to the teaching project include multiple teaching aid components that have not been successfully built together, and executing and realizing the teaching project requires the user to rewrite new functional functions, it is necessary to simultaneously meet the requirements that the teaching aids are successfully built and at least one functional function is successfully written, and then it is determined that at least one of the conditions is met.
[0110] In some possible implementations, the teaching aids corresponding to the teaching project include multiple teaching aid components that have not been successfully built together, but the functional functions required to execute and realize the teaching project are all mature functional functions, and do not require the user to re-write them. If the teaching aids are required to be successfully built, it is determined that at least one of the conditions is met.
[0111] In some possible implementations, the user needs to rewrite new functional functions when executing and realizing the teaching project, but the teaching aids corresponding to the teaching project are complete teaching aids that do not require further construction by the user. It is necessary to satisfy that at least one functional function is successfully written, and then it is determined that at least one of the conditions is met.
[0112] In some possible implementations, the at least one function can be called by the running program code. For example, when the teaching project is unmanned driving, the corresponding function can include pedestrian detection function, traffic light detection function and motion control function, etc. The corresponding program code is a main function including the above function, and the corresponding function is called by writing the function name of each function in the main function. During the running of the program code, each function will be called by the main function.
[0113] In step S206 , the terminal sends the program code to the teaching aid so that the teaching aid executes the program code.
[0114] In some possible implementations, the program code includes a main function that calls the above function, and the at least one function. In the case where the function is a mature function, that is, the function is also stored in the teaching aid, the function may not be sent.
[0115] In some possible implementations, after receiving the program code, the teaching aid will run the program code to execute and implement the teaching project. In the process of running the program code, a corresponding execution result will be generated. The teaching aid will send the execution result to the terminal, and the terminal receives and outputs the execution result.
[0116] In the teaching aid control method provided in the embodiment of the present disclosure, since it is first confirmed that the teaching aid is successfully built and / or at least one functional function is successfully written before obtaining the program code, phased teaching is implemented, which can improve the user's learning efficiency and learning effect; since it is confirmed that the teaching aid is successfully built and / or at least one functional function is successfully written, the teaching aid control method can also be applied to the teaching of hands-on skills and the teaching of basic functional functions; since the acquired program code is sent to the teaching aid for execution and the execution result is obtained, the user can obtain learning feedback intuitively, which can ensure the enthusiasm for learning and improve learning efficiency.
[0117] Figure 3 is an optional flow chart of the teaching aid control method provided by the embodiment of the present disclosure. Figure 2 Based on the teaching aid, the teaching aid includes at least two teaching aid components, which will be combined below Figure 3 The steps shown are explained.
[0118] In step S302, the identifier of the teaching project is obtained, and the teaching resource data corresponding to the identifier is obtained; the teaching resource data includes at least one of the following: at least one first resource data, at least one second resource data; each of the first resource data corresponds to at least one of the teaching aid components; each of the second resource data corresponds to at least one of the function functions.
[0119] In some possible implementations, before step S202, the terminal can obtain the teaching resource data corresponding to the identifier of the current teaching project. The teaching resource data can be stored in the terminal, teaching aids, or other local storage devices under the current local area network. After obtaining the identifier of the current teaching project, the corresponding teaching resource data can be queried and obtained in the terminal, teaching aids, or other local storage devices under the current local area network according to the identifier; the teaching resource data can also be stored in a server connected to the terminal, and the terminal sends a teaching resource request carrying the identifier to the server, and receives a feedback message from the server carrying the teaching resource data corresponding to the identifier. In this embodiment, the terminal can access the server through a browser, and display multiple teaching projects to be selected in the browser page. When the user selects the current teaching project from the multiple teaching projects to be selected through interactive operations, the corresponding teaching resource data is obtained from the server according to the identifier of the current teaching project and downloaded to the terminal.
[0120] In some possible implementations, when the teaching aids corresponding to the teaching project include multiple teaching aid components that have not been successfully built together, and executing and realizing the teaching project requires the user to rewrite new functional functions, the teaching resource data includes at least one first resource data and at least one second resource data; each first resource data has a corresponding relationship with at least one teaching aid component; and each second resource data has a corresponding relationship with at least one functional function.
[0121] In some possible implementations, the teaching aids corresponding to the teaching project include multiple teaching aid components that have not been successfully assembled together, but the functional functions required to execute and realize the teaching project are all mature functional functions and do not require the user to re-write them. The teaching resource data includes at least one first resource data.
[0122] In some possible implementations, the user needs to rewrite new functional functions when executing and realizing the teaching project, but the teaching aids corresponding to the teaching project are complete teaching aids and do not require further construction by the user. The teaching resource data includes at least one second resource data.
[0123] In step S304, the teaching resource data is displayed and the teaching result is obtained; the teaching result is used to indicate whether at least one function is successfully written and / or whether at least two teaching aid components are successfully built together.
[0124] In some possible implementations, after obtaining the teaching resource data corresponding to the teaching project, the terminal will display the teaching resource data, which includes but is not limited to video resources, audio resources, picture resources and text resources. In the process of displaying the teaching resource data, the teaching result corresponding to the teaching resource data can be obtained, wherein the teaching result can reflect whether the user has mastered the displayed teaching resource data.
[0125] In some possible implementations, the teaching resource data may include multiple sub-resource data, and correspondingly, the teaching result may include a sub-teaching result corresponding to each sub-resource data; therefore, obtaining the teaching result in the process of displaying the teaching resource data may include multiple implementations. Optionally, at least one sub-resource data in the teaching resource data is displayed first, and after the display is completed, the sub-teaching result corresponding to each displayed sub-resource data is obtained, and then at least one other sub-resource data that has not been displayed in the teaching resource data is displayed, and the corresponding sub-teaching result is obtained, until all sub-resource data in the teaching resource data are displayed and the sub-teaching results corresponding to each sub-resource data are obtained; optionally, each sub-resource data in the teaching resource data is displayed together in a preset order, and after the display is completed, the sub-teaching results corresponding to each sub-resource data are uniformly obtained.
[0126] In some possible implementations, the teaching result can be used to characterize whether the at least one function function is successfully written. In this embodiment, each function function corresponds to a sub-teaching result, and the sub-teaching result can be used to characterize whether the corresponding function function is successfully written. When each sub-teaching result characterizes that the corresponding function function is successfully written, the teaching result is that the at least one function function is successfully written. When there is at least one sub-teaching result in each sub-teaching result characterizing that the corresponding function function fails to be written, the teaching result is that the at least one function function fails to be written.
[0127] In some possible implementations, the teaching result can be used to characterize whether the above-mentioned two teaching aid components are built together and successfully. In this embodiment, each teaching aid component corresponds to a sub-teaching result, and the sub-teaching result can be used to characterize whether the corresponding teaching aid component is successfully built. In the case where each sub-teaching result characterizes that the corresponding teaching aid component is successfully built, the teaching result is that the at least two teaching aid components are built together and successfully. In the case where there is at least one sub-teaching result in each sub-teaching result that characterizes that the corresponding teaching aid component fails to be built, the teaching result is that the at least two teaching aid components fail to be built.
[0128] In the teaching aid control method provided by the embodiment of the present disclosure, since the teaching resource data is stored in other storage devices, the local storage space of the terminal can be saved. After obtaining the identification of the teaching project, the corresponding teaching resource data can be immediately obtained through the identification, thereby improving the accuracy and efficiency of resource acquisition; since the corresponding teaching results are obtained while displaying the teaching resource data, the user's mastery of the teaching resource data can be obtained in time, so that the user can obtain learning feedback in time, thereby improving the teaching efficiency of the teaching aid control method.
[0129] Figure 4 is an optional flow chart of the teaching aid control method provided by the embodiment of the present disclosure. Figure 3 On the basis of the teaching resource data including at least one first resource data, the teaching resource data will be combined with Figure 4 The steps shown are explained.
[0130] In step S402, the terminal displays the first resource data corresponding to each teaching aid component.
[0131] In step S404, the terminal sends a test instruction corresponding to each teaching aid component to the teaching aid; the test instruction is used to instruct the control component in the teaching aid to test the teaching aid component and instruct the control component to return the test result corresponding to each teaching aid component.
[0132] In some possible embodiments, the first resource data may include a functional introduction of the corresponding teaching aid component, a connection relationship between other teaching aid components, etc. Taking the teaching project of unmanned driving as an example, the teaching aid may be an unmanned vehicle, and correspondingly, the unmanned vehicle may include a camera component, a control component, a power component, a body component, a wheel component, and a sensor component. The first resource data may include a functional introduction of the camera component, the control component, the body component, the wheel component, and the sensor component, and a connection relationship between them and other teaching aid components.
[0133] In some possible embodiments, the first resource data corresponding to multiple teaching aid components can be displayed first, and then the test instructions corresponding to each displayed teaching aid component can be sent to the teaching aid, so that the control component in the teaching aid can test the displayed teaching aid component. For example, taking the teaching project as unmanned driving as an example, the first resource data corresponding to the three teaching aid components of the camera component, the control component and the power supply component can be displayed first. After waiting for a preset time or receiving a test trigger instruction, that is, after the user completes the construction of the above three teaching aid components, the test instructions corresponding to the three teaching aid components of the camera component, the control component and the power supply component are sent to the teaching aid respectively. The control component in the teaching aid will test the connection relationship of the camera component and will also test whether the power information of the power supply component meets the preset standard. If the teaching aid can receive the test instruction and can execute the test instruction, it indicates that the control component is normal; if the connection relationship of the camera component is normal after the test, it indicates that the camera component is normal; if the power information of the power supply component meets the preset standard after the test, it indicates that the power supply component is normal; the control component in the teaching aid will send the test results corresponding to the above three teaching aid components to the terminal at the same time.
[0134] In some possible embodiments, after each display of the first resource data corresponding to a teaching aid component, a test instruction corresponding to the teaching aid component is sent to the teaching aid, so that the control component in the teaching aid tests the displayed teaching aid component. For example, taking the teaching project of unmanned driving as an example, after displaying the sensor component, after waiting for a preset time or receiving a test trigger instruction, that is, after the user completes the construction of the sensor component, a test instruction corresponding to the sensor component is sent to the teaching aid, and the control component in the teaching aid will test the connection relationship between the sensor component and other teaching aid components (at least including the control component), and send the test results to the terminal.
[0135] In some possible embodiments, the first resource data corresponding to all teaching aid components may be displayed first, and then the test instructions corresponding to each teaching aid component may be sent to the teaching aid so that the control component in the teaching aid tests all teaching aid components.
[0136] In some possible embodiments, the teaching aid components that need to be displayed / built together can be put in a group for display according to the preset display rules, and after the display of the group is completed, all the teaching aid components in the group are tested, and the teaching aid components that need to be displayed / built separately are displayed separately, and the separately displayed teaching aid components are tested separately. For example, taking the teaching project of unmanned driving as an example, when displaying the camera component, control component and power supply component, and when displaying the body component and wheel component, they can be put in a group for simultaneous display, and the teaching aid components in the same group can be tested at the same time; when displaying the sensor component, the sensor component can be displayed separately, and the sensor component can be tested. After all the teaching aid components are displayed and tested, the terminal has obtained the test results corresponding to all the teaching aid components.
[0137] In step S406, the terminal determines whether at least two teaching aid components are built together successfully according to the test results corresponding to each teaching aid component.
[0138] In some possible embodiments, after the terminal receives the test results corresponding to each teaching aid component sent by the teaching aid, if each test result indicates that the corresponding teaching aid component is successfully built, it is determined that the at least two teaching aid components are built together successfully; if there is at least one test result among the test results indicating that the corresponding teaching aid component fails to be built, it is determined that the at least two teaching aid components fail to be built.
[0139] In the teaching aid control method provided in the embodiment of the present disclosure, since the test instructions corresponding to each teaching aid component are sent to the teaching aid, the construction status of each teaching aid component in the teaching aid can be accurately obtained, and then it can be determined whether at least two teaching aid components are built together and successfully; and, since the displayed teaching aid components will be tested after displaying the first resource data corresponding to each teaching aid component, the user's mastery of the hardware construction process can be obtained in a timely manner.
[0140] Figure 5 is an optional flow chart of the teaching aid control method provided by the embodiment of the present disclosure. Figure 3 or Figure 4 On the basis of the teaching resource data including at least one second resource data, the teaching resource data will be combined with Figure 5 The steps shown are explained.
[0141] In step S502, the terminal displays the second resource data corresponding to each functional function.
[0142] In some possible embodiments, the second resource data may include a functional introduction of the corresponding functional function, a code flow, etc. Taking the teaching project of unmanned driving as an example, the functional functions used may include a lane line recognition functional function, a pedestrian recognition functional function, a traffic light detection functional function, an obstacle avoidance strategy functional function, and a path planning functional function. The second resource data may include the functional introduction, code flow, etc. corresponding to the lane line recognition functional function, the pedestrian recognition functional function, the traffic light detection functional function, the obstacle avoidance strategy functional function, and the path planning functional function.
[0143] In step S504, the terminal obtains at least one task code for implementing each functional function.
[0144] In some possible embodiments, after a function function is displayed, the task code corresponding to the function function can be obtained. Optionally, the task code can obtain the task code written by the user for the function function through the input interface in the browser. After completing the acquisition of the task code corresponding to the displayed function function, continue to display the next function function that has not been displayed and the acquisition of the corresponding task code, and so on, until the second resource data corresponding to each function function is displayed and the task code corresponding to each function function is acquired. Optionally, each function function can correspond to one task code or multiple task codes, that is, one function function can be implemented by one task code or by multiple task codes.
[0145] In step S506, the terminal determines the operation status corresponding to each function according to at least one task code corresponding to each function.
[0146] In some possible embodiments, the terminal can use the running module pre-stored in the terminal to run at least one task code corresponding to each function function, and determine the running status of the function function according to the running status of the task code; the terminal can also send at least one function code corresponding to each function function to a remote server, so that the remote server runs at least one task code corresponding to each function function, and after the remote server determines the running status of the function function according to the running status of the task code, the running status corresponding to each function function is sent to the terminal; the terminal can also send at least one function code corresponding to each function function to a teaching aid, so that the teaching aid runs at least one task code corresponding to each function function, and after the teaching aid determines the running status of the function function according to the running status of the task code, the running status corresponding to each function function is sent to the terminal.
[0147] In step S508, the terminal determines whether at least one function is successfully written according to the running conditions corresponding to each function.
[0148] In some possible implementations, after the terminal determines the operating conditions corresponding to each functional function, if each operating condition indicates that the corresponding functional function is successfully written, it is determined that at least one functional function is successfully written; if there is at least one operating condition among the operating conditions indicating that the corresponding functional function fails to be written, it is determined that the at least one functional function fails to be written.
[0149] In the teaching aid control method provided by the embodiment of the present disclosure, after displaying the second resource data corresponding to each function function, at least one task code corresponding to the displayed function function will be obtained, and based on the at least one task code, the operating status corresponding to each function function will be determined, so that the user's mastery of the function function writing process can be obtained in a timely manner.
[0150] In some possible implementations, based on Figure 2 After sending the program code to the teaching aid, the method further includes: receiving and outputting the execution result sent by the teaching aid.
[0151] In some possible implementations, the execution result includes execution success and execution failure. When the execution result is execution success, the terminal will receive and output the running data sent by the teaching aid; when the execution result is execution failure, the terminal will receive and output the error data sent by the teaching aid.
[0152] In some possible implementations, the operation data includes at least one of the following: operation time, operation results, picture data, video data, and audio data. For example, when the teaching project is unmanned driving, the operation data may include: the driving time, driving distance, driving route, driving picture data collected during driving, driving video data, and driving audio data of the unmanned vehicle.
[0153] In some possible implementations, the error data includes at least one of the following: hardware error data, function sequence error data, and code running error data. For example, in the case where the teaching project is unmanned driving, the error data may include hardware error data due to insufficient battery power of the unmanned vehicle, function sequence error data due to sequential problems between pedestrian detection function functions, traffic light detection function functions, and motion control function functions, for example, the program code lacks a motion control function function, and there is no pedestrian detection function function, traffic light detection function function, or any other detection function before the motion control function function in the program code; code running error data due to a fault (bug) detected during the program code operation.
[0154] Figure 6 is an optional flow chart of a teaching aid control method provided by an embodiment of the present disclosure, in which the method is applied to Figure 1 As an example, we will combine the teaching aid 104 in Figure 6 The steps shown are explained.
[0155] In step S602, the teaching aid receiving terminal obtains and sends a program code when at least one condition is met; the program code is used to control the teaching aid to execute the teaching project; at least one condition includes: the teaching aid is successfully built, at least one function is successfully written; at least one function is called by the running program code.
[0156] In some possible implementations, before step S602, a communication connection has been established between the terminal and the teaching aid. Taking the communication mode as a local area network as an example, the terminal can obtain the network name and password of the current local area network through various interactive devices, and after obtaining the network name and password, access the current local area network; in the case where the teaching aid includes an interactive device, the current local area network can be accessed in the same way as the terminal; in the case where the teaching aid does not include an interactive device, taking the teaching aid including a camera component as an example, the teaching aid can be switched to a network configuration mode, and the camera component is used to scan a QR code containing the network name and password of the current local area network. The teaching aid obtains the network name and password of the current local area network by parsing the QR code collected by the camera, and then accesses the current local area network to communicate with the terminal in the same local area network. In this embodiment, the teaching aid can receive the program code sent by the terminal through the current local area network.
[0157] In some possible implementations, the program code includes a main function that calls at least one function, and the at least one function. In the case where the function is a mature function, that is, when the function is also stored in the teaching aid, the terminal may not send the function to the teaching aid.
[0158] In some possible implementations, the at least one function can be called by the running program code. For example, when the teaching project is unmanned driving, the corresponding function can include pedestrian detection function, traffic light detection function and motion control function, etc. The corresponding program code is a main function including the above function, and the corresponding function is called by writing the function name of each function in the main function. During the running of the program code, each function will be called by the main function.
[0159] In some possible implementations, the at least one function can be called by the running program code. For example, when the teaching project is unmanned driving, the corresponding function can include pedestrian detection function, traffic light detection function and motion control function, etc. The corresponding program code is a main function including the above function, and the corresponding function is called by writing the function name of each function in the main function. During the running of the program code, each function will be called by the main function.
[0160] In step S604, the teaching aid executes the program code to obtain an execution result.
[0161] In some possible implementations, after the teaching aid receives the program code, the teaching aid executes the program code through a control component in the teaching aid to obtain an execution result corresponding to the program code. In this embodiment, the execution result includes execution success and execution failure.
[0162] In step S606, the teaching aid sends the execution result to the terminal.
[0163] In some possible implementations, the teaching aid sends the execution result to the terminal so that the terminal receives and outputs the execution result. In this embodiment, if the execution result is successful, the teaching aid sends running data; if the execution result is failed, the teaching aid sends error data.
[0164] In some possible implementations, the operation data includes at least one of the following: operation time, operation results, picture data, video data, and audio data. For example, when the teaching project is unmanned driving, the operation data may include: the driving time, driving distance, driving route, driving picture data collected during driving, driving video data, and driving audio data of the unmanned vehicle.
[0165] In the teaching aid control method provided in the embodiment of the present disclosure, according to the teaching aid control method provided in the embodiment of the present disclosure, since the terminal first confirms that the teaching aid is successfully built and / or at least one functional function is successfully written before obtaining the program code, it not only eliminates the teaching aid defect problem and the basic functional function defect in the learning process, but also can realize phased teaching, which can improve the user's learning efficiency and learning effect; since it is confirmed that the teaching aid is successfully built and / or at least one functional function is successfully written, the teaching aid control method can also be applied to the teaching of hands-on ability and the teaching of basic functional functions; since the acquired program code is sent to the teaching aid for execution and the execution result is obtained, the user can obtain learning feedback intuitively, which can ensure the enthusiasm for learning and improve learning efficiency.
[0166] In some possible embodiments, step S604 further includes: executing program code when at least one condition is met.
[0167] Figure 7 is an optional flow chart of the teaching aid control method provided by the embodiment of the present disclosure. Figure 6 Based on the above, in response to at least one of the conditions including the successful construction of the teaching aid, the executing program code includes: Figure 7 Steps shown.
[0168] In step S702, the teaching aid obtains the test results corresponding to each teaching aid component.
[0169] In step S704, the teaching aid determines whether at least two teaching aid components are built together successfully according to the test results corresponding to each teaching aid component.
[0170] In step S706, when at least two teaching aid components are successfully assembled together, the teaching aid executes the program code.
[0171] In some possible embodiments, although the terminal will send the program code to the teaching aid only when at least one of the conditions is met, due to the time delay, the teaching aid may send changes during the time delay. Therefore, after the teaching aid receives the program code and / or before executing the program code, it will again check whether the teaching aid is successfully built.
[0172] Figure 8 is an optional flow chart of the teaching aid control method provided by the embodiment of the present disclosure, in response to at least one condition including the situation that at least one function is successfully written, the execution program code includes when at least one condition is met Figure 8 Steps shown.
[0173] In step S802, the teaching aid obtains the operation status corresponding to each functional function.
[0174] In step S804, the teaching aid determines whether at least one function is successfully written according to the corresponding running conditions of each function.
[0175] In step S806, when at least one functional function is successfully written, the teaching aid executes the program code.
[0176] In some possible embodiments, although the terminal will send the program code to the teaching aid only when at least one of the conditions is met, due to the poor channel quality between the terminal and the teaching aid, errors may occur in the transmission of each function. Therefore, after the teaching aid receives the program code and / or before executing the program code, it will again detect whether each function transmitted is successfully written.
[0177] In the teaching aid control method provided in the embodiment of the present disclosure, since the teaching aid also determines whether at least one of the conditions is met after receiving the program code, and executes the program code when at least one of the conditions is met, it can effectively detect the changes in the construction state of the teaching aid during the code transmission process, and can also effectively detect the function function errors caused by channel quality during the program code transmission process.
[0178] Fig. 9 is an optional flow chart of the teaching aid control method provided by the embodiment of the present disclosure. Figure 6 Based on the teaching aid, the teaching aid includes at least two teaching aid components, which will be combined Fig. 9 The steps shown are explained.
[0179] In step S902, the teaching aid receiving terminal sends test instructions corresponding to each teaching aid component.
[0180] In step S904, the teaching aid tests the corresponding teaching aid components according to each test instruction to obtain the test results corresponding to each teaching aid component.
[0181] In step S906, the teaching aid sends the test results corresponding to each teaching aid component to the terminal, so that the terminal determines whether at least two teaching aid components are built together successfully according to the test results corresponding to each teaching aid component.
[0182] In some possible embodiments, the teaching aid sends the test results corresponding to each teaching aid component to the terminal. After the terminal receives the test results corresponding to each teaching aid component sent by the teaching aid, if each test result indicates that the corresponding teaching aid component is successfully built, it is determined that the at least two teaching aid components are built together successfully. If there is at least one test result among the test results indicating that the corresponding teaching aid component fails to be built, it is determined that the at least two teaching aid components fail to be built.
[0183] In the teaching aid control method provided in the embodiment of the present disclosure, since the test instructions corresponding to each teaching aid component are sent to the teaching aid, the construction status of each teaching aid component in the teaching aid can be accurately obtained, and then it can be determined whether at least two teaching aid components are built together and successfully; and, since the displayed teaching aid components will be tested after displaying the first resource data corresponding to each teaching aid component, the user's mastery of the hardware construction process can be obtained in a timely manner.
[0184] Fig.10 is an optional flow chart of the teaching aid control method provided by the embodiment of the present disclosure. Figure 6 Based on Fig.10 The steps shown are explained.
[0185] In step S1002, the teaching aid receives at least one task code sent by the terminal for implementing each functional function.
[0186] In step S1004, the teaching aid determines the operation status corresponding to each functional function according to at least one task code corresponding to each functional function.
[0187] In some possible embodiments, after obtaining at least one task code corresponding to each function function, the terminal will send the at least one task code corresponding to the function function to the teaching aid. After receiving the at least one task code corresponding to the function function, the teaching aid will run the at least one task code to determine the operating status of the function function.
[0188] In step S1006, the teaching aid sends the running status corresponding to each functional function to the terminal, so that the terminal determines whether at least one functional function is successfully written according to the running status corresponding to each functional function.
[0189] In some possible implementations, after the terminal determines the operating conditions corresponding to each functional function, if each operating condition indicates that the corresponding functional function is successfully written, it is determined that at least one functional function is successfully written; if there is at least one operating condition among the operating conditions indicating that the corresponding functional function fails to be written, it is determined that the at least one functional function fails to be written.
[0190] In the teaching aid control method provided by the embodiment of the present disclosure, after displaying the second resource data corresponding to each function function, the terminal will obtain at least one task code corresponding to the displayed function function, and determine the operating status corresponding to each function function based on the at least one task code, thereby timely obtaining the user's mastery of the function function writing process.
[0191] Next, an exemplary application of the embodiment of the present disclosure in a practical application scenario will be described.
[0192] The application field of the present disclosure is intelligent teaching aids in the context of education. The teaching aids will be equipped with related teaching aid components such as building blocks, cameras, main control devices and motors. The teaching aid components can also include various types of sensor modules, which are easier for students to accept. The hardware architecture of the teaching aids is as follows: Fig.11As shown. Among them, it can include a control component 111, a sensor component 112, a motor component 113 and a camera component 114. Each teaching aid component can be connected to each other through a connecting line 115. For example, the sensor component and the motor component in the teaching aid are connected to the control component by plugging and unplugging through a crystal head interface, and the camera component is connected to the control component through a USB. This connection method supports hot plugging and has strong stability. It does not require users to master additional hardware theoretical knowledge and is simple and convenient to use.
[0193] In some possible embodiments, the embodiments of the present disclosure may also use programming education and artificial intelligence education solutions, wherein, for K12 school-age (preschool to high school education) students, considering the different stages and characteristics of students, a complete education program is designed, such as Fig. 12A As shown, it can include the hands-on ability stage 121, innovative practice ability 122, logical thinking and inquiry thinking 123 and artificial intelligence empowerment 124. The course focuses on scenario application, aiming to improve students' hands-on ability, innovative practice ability and programming literacy, logical thinking and inquiry ability and AI application ability. Through the setting of relevant topics, students can pay attention to life, from programming ability to AI technology application, so that students can use the content they learn to improve their lives.
[0194] Based on each theme in the above education system, the supporting education solutions are as follows: mainly including four parts: hardware model, task setting, program flow design and open capability expansion, such as Fig. 12B As shown, taking artificial intelligence education solution 125 as an example, it can include hardware model 126, task setting 127, program flow design 128 and open capability extension 129. Among them, program flow design 128 includes trial and error, open capability extension 129 includes interface description and attention to life, hardware model 126 includes video materials and application cases, and task setting 127 includes project introduction and project decomposition. By providing video materials and model application case demonstrations, students are encouraged to use their creativity to build their own interfaces. For each educational practice project, the problem is refined through project decomposition, and finally solved through program flow design.
[0195] In the above process, the teaching aids serve as practical teaching aids for student projects, and cooperate with the server and personal terminals to complete the whole process, such as Fig.13As shown in the system architecture diagram, the teaching system includes a server 131, a personal terminal 132 and a teaching aid 133. The server 131 stores all course-related course materials, i.e., teaching resource data, and pushes the teaching resource data; the personal terminal 132 is used as a user input and receiving device to complete the artificial intelligence project learning; the teaching aid 133 is used as a project practice entity, providing a variety of hardware model forms and a variety of detection API interfaces, and can provide feedback on user operations. Between the server 131 and the personal terminal 132, there may be an interactive process in which the personal terminal 132 sends a course material request to the server 131, and the server 131 sends course material feedback to the personal terminal 132; between the personal terminal 132 and the teaching aid 133, there may be a process in which the personal terminal 132 pushes instructions to the teaching aid 133, and the teaching aid 133 returns results to the personal terminal 132; between the server 131 and the teaching aid 133, there may be a process in which the server 131 sends resource configuration to the teaching aid 133.
[0196] For example, in the teaching process of unmanned driving:
[0197] Network configuration stage: This process aims to link the AI product (teaching aid) and the server. With the help of the camera component provided by the teaching aid itself, the network QR code generated by the network configuration tool is scanned. The teacher obtains the network name and password through the QR code, and then configures itself to access the network and connect to the server. The server sends relevant data to the teaching aid to complete the resource configuration and preloading process. The specific process is as follows Fig.14 The network configuration process diagram shown in the figure, interface 141 is the display interface of the network configuration tool. At this time, it is necessary to select the type of the current teaching aid. After the user selects the type of teaching aid, it switches to interface 142. At this time, the name and password of the current local area network are respectively entered into the corresponding input boxes of interface 142. Click Next to switch to interface 143. At this time, the network configuration tool has generated a corresponding QR code according to the name and password of the current local area network entered by the user in interface 142, and prompts the user to use the camera component in the teaching aid to scan the QR code, so that the teaching aid can obtain the QR code image through the camera component, and use the control component to parse the QR code image, thereby completing the network configuration process of the teaching aid; finally, it switches to interface 144, which shows that the current teaching aid has been successfully configured.
[0198] The acquisition stage of model hardware data: personal terminals can preview and download all course lists and the corresponding hardware model data of each course through the server. The dynamic video of the final model effect is used as an introduction to give students an intuitive feeling. Introduce the model building process of the driverless car in combination with specific hardware documentation, including the construction plan of key modules such as chassis, gimbal, and battery. Introduce the significance of each module building process. When the model is successfully built, the control component can be used to control the motor component to check whether the model can be driven normally, whether the camera component can rotate 360 degrees freely, and whether the camera component can collect road information normally to judge the model building results.
[0199] Project introduction and decomposition stage: Through the unmanned driving video as the course introduction, guide students to find the problems that need to be solved in unmanned driving, including but not limited to lane line recognition, pedestrian recognition, traffic light detection, obstacle avoidance strategy and path planning. Then, through the video material explanation, apply deep learning technology, build a neural network model, complete the task of feature extraction and lane line recognition. Provide detection interface for students to experience and deepen their understanding and application of detection.
[0200] Unmanned driving course process design and practice stage: This process completes the interaction and feedback between the teaching aid 151 and the personal terminal 152. Its main process is as follows: Fig.15 As shown, since the personal terminal 152 cannot directly access the teaching aids 151 through a URL or the like, with the help of the agent software 153 installed on the personal terminal, the agent software can build a websocket protocol channel between the two, thereby realizing the transmission of character strings, pictures and video streams.
[0201] Among them, when there is a send button and a result display area on the personal terminal, the user can click the button to first send the instruction from the personal terminal to the Agent software 153 with the help of the Agent software 153, and then transfer the code carried in the instruction to the teaching aid 151. After receiving the instruction, the teaching aid 151 executes the instruction and returns the result to the Agent software 153. The Agent software 153 returns the execution result to the personal terminal 152 to complete the analysis and display of the result, and finally displays it on the display interface of the personal terminal 152.
[0202] The driverless program mainly includes four main modules, lane detection, motion control, traffic light detection and obstacle avoidance. The modules are sequential, and when the order is wrong, the control components in the teaching aids will sound an alarm. After the user completes the instruction, click Send Instructions to display the real-time image of the driverless car on the interface of the personal terminal, and the current status of the traffic light and the lane segmentation results can be marked on the screen. At this time, the driverless car can complete the normal driving task. When programming fails or operation is abnormal, the driverless car will sound an alarm, and relevant error information can also be prompted on the personal terminal, such as camera startup failure or insufficient power.
[0203] Open capability expansion stage: Based on the course, the basic unmanned driving tasks and case reference codes are completed, and users can have a preliminary understanding of the overall process of unmanned driving. In addition, the teaching aids provide a variety of open interfaces for users to freely call and test. For example, based on the path planning module, the shortest distance from the departure point to the destination is completed. For example, the control module can achieve better motion control, etc.
[0204] In one possible embodiment, the teaching aid also has open source features. The teaching aid has open source features at the hardware and software levels, which is convenient for students and users to perform customized secondary development. Students can design and verify experimental prototypes based on this teaching aid, and use this teaching aid to participate in science and technology competitions and other robot-related competitions. From the perspective of product hardware, this product uses two main modules, Raspberry PI4 and Arduino, and the product is open source, providing a rich variety of hardware interfaces for users to use, as shown in Table 1 below.
[0205] Table 1
[0206] interface Function Crystal head interface Connecting sensors and motors Micro HDMI port For output display 3.5mm audio jack For audio input and output Micro usb User Arduino Development USB2.0 and USB3.0 Used to connect keyboard, mouse, USB flash drive, camera and other devices Network port For network connection
[0207] In addition to the hardware interface part, the teaching aids also provide a large number of deep learning API interface interfaces, based on which various artificial intelligence technologies can be implemented. The design case process is as follows: Fig.16 As shown, the process includes an open source API interface 161, a solution design 162, and a science and technology competition project 163. Among them, the open source API interface 161 can also include human key point detection, face detection, gesture classification, and digital classification; the solution design 162 can include upper-level control logic; and the science and technology competition project 163 can include fall warning, smart access control, smart robotic arms, and express sorting.
[0208] The disclosed embodiment also provides a teaching device for implementing the above-mentioned teaching aid control method. Fig.17 This is a partial structural diagram of a teaching device provided in an embodiment of the present disclosure. Fig.17As shown, the teaching device includes: a first acquisition module 171, a second acquisition module 172, a first sending module 173 and a first receiving module 174; wherein:
[0209] A first acquisition module 171 is used to receive a trigger instruction for sending a program code to a teaching aid; the program code is used to control the teaching aid to execute a teaching project;
[0210] The second acquisition module 172 is used to respond to the trigger instruction and acquire the program code when at least one condition is met; wherein the at least one condition includes: the teaching aid is successfully built, at least one function is successfully written, and the at least one function is called by the running program code;
[0211] A first sending module 173, used for sending the program code to the teaching aid;
[0212] The first receiving module 174 is used to receive and output the execution result sent by the teaching aid.
[0213] In some possible embodiments, the second acquisition module 172 is also used to obtain teaching resource data corresponding to the identifier according to the identification of the teaching project; the teaching resource data includes at least one of the following: first resource data corresponding to each of the teaching aid components, second resource data corresponding to each of the functional functions; the teaching results are obtained in the process of displaying the teaching resource data; the teaching results are used to indicate whether the at least one functional function is successfully written, and / or whether the at least two teaching aid components are built together successfully.
[0214] In some possible embodiments, when the teaching resource data includes the first resource data corresponding to each of the teaching aid components, the second acquisition module 172 is further used to display the first resource data corresponding to each of the teaching aid components; send the test instructions corresponding to each of the teaching aid components to the teaching aid; the test instructions are used to instruct the control component in the teaching aid to test the teaching aid component, and instruct the control component to return the test results corresponding to each of the teaching aid components; determine whether the at least two teaching aid components are built together and successfully based on the test results corresponding to each of the teaching aid components.
[0215] In some possible embodiments, when the teaching resource data includes second resource data corresponding to each of the function functions, the second acquisition module 172 is further used to display the second resource data corresponding to each of the function functions; obtain at least one task code for implementing each of the function functions; determine the operating status corresponding to each of the function functions according to the at least one task code corresponding to each of the function functions; and determine whether the at least one function function is successfully written according to the operating status corresponding to each of the function functions.
[0216] In some possible embodiments, the execution result includes operation data, and the receiving and outputting of the execution result sent by the teaching aid includes: when the execution result is successful execution, receiving and outputting the operation data sent by the teaching aid; the operation data includes at least one of the following: operation time, operation result, screen data, video data and audio data.
[0217] In some possible embodiments, the execution result includes error data, and the receiving and outputting of the execution result sent by the teaching aid includes: when the execution result is an execution failure, receiving and outputting the error data sent by the teaching aid; the error data includes at least at least one of the following: hardware error data, function sequence error data and code running error data.
[0218] The disclosed embodiment also provides a teaching device for implementing the above-mentioned teaching aid control method. Fig.18 This is a partial structural diagram of a teaching device provided in an embodiment of the present disclosure. Fig.18 As shown, the teaching device includes: a second receiving module 181, a first execution module 182 and a second sending module 183, wherein:
[0219] The second receiving module 181 is used to receive the program code acquired and sent by the terminal when at least one condition is met; the program code is used to control the teaching aid to execute the teaching project; the at least one condition includes: the teaching aid is successfully built, at least one function is successfully written; the at least one function is called by the running program code;
[0220] A first execution module 182, used for executing the program code to obtain an execution result;
[0221] The second sending module 183 is used to send the execution result to the terminal.
[0222] In some possible embodiments, the first execution module 182 is further used to execute the program code when at least one of the conditions is met, and the at least one of the conditions includes: the teaching aid is successfully built and at least one functional function is successfully written.
[0223] In some possible embodiments, the teaching aid includes at least two teaching aid components; when at least one of the conditions includes the successful construction of the teaching aid, the first execution module 182 is also used to obtain the test results corresponding to each of the teaching aid components; determine whether the at least two teaching aid components are built together and successfully based on the test results corresponding to each of the teaching aid components; and execute the program code when the at least two teaching aid components are built together and successfully.
[0224] In some possible embodiments, when at least one of the conditions includes that at least one function function is successfully written, the first execution module 182 is also used to obtain the operating conditions corresponding to each of the function functions; determine whether the at least one function function is successfully written according to the operating conditions corresponding to each of the function functions; and execute the program code when the at least one function function is successfully written.
[0225] In some possible embodiments, the teaching aid includes at least two teaching aid components, and the second receiving module 181 is also used to receive test instructions corresponding to each teaching aid component sent by the terminal; test the corresponding teaching aid component according to each test instruction to obtain the test results corresponding to each teaching aid component; send the test results corresponding to each teaching aid component to the terminal, so that the terminal determines whether the at least two teaching aid components are built together and successfully according to the test results corresponding to each teaching aid component.
[0226] In some possible embodiments, the second receiving module 181 is also used to receive at least one task code sent by the terminal for implementing each of the functional functions; determine the operating status corresponding to each of the functional functions according to the at least one task code corresponding to each of the functional functions; and send the operating status corresponding to each of the functional functions to the terminal, so that the terminal determines whether the at least one functional function is successfully written according to the operating status corresponding to each of the functional functions.
[0227] In some possible embodiments, the execution result includes operation data, and sending the execution result to the terminal includes: if the execution result is successful execution, sending the operation data to the terminal; the operation data includes at least one of the following: operation time, operation result, screen data, video data and audio data.
[0228] In some possible embodiments, the execution result includes error data, and sending the execution result to the terminal includes: when the execution result is an execution failure, sending the error data to the terminal; the error data includes at least at least one of the following: hardware error data, function sequence error data and code running error data.
[0229] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0230] It should be noted that in the embodiment of the present application, if the above-mentioned teaching aid control method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable a teaching device (for example, a computer device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0231] Fig.19 This is a partial structural diagram of the teaching device provided in the embodiment of the present disclosure. Fig.19 As shown, the teaching device 19 includes: a memory 191 and a processor 192, the memory 191 and the processor 192 are connected via a bus 193; the memory 191 is used to store executable data instructions; the processor 192 is used to implement the above-mentioned teaching aid control method when executing the executable instructions stored in the memory.
[0232] The embodiment of the present disclosure also provides a computer-readable storage medium storing executable instructions for causing a processor to execute and implement the teaching aid control method in the above method embodiment.
[0233] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: a portable computer disk, 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 encoding device, such as a punch card or a protruding structure in a groove on which instructions are stored, and any suitable combination thereof. The computer-readable storage medium used herein is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., light pulses through a fiber optic cable), or an electrical signal transmitted through wires.
[0234] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded 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 can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0235] The computer program instructions for performing the disclosed operation may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, by utilizing the state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the present disclosure.
[0236] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0237] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so as to produce a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device for implementing the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions make the computer, programmable data processing device, and / or other equipment work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0238] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0239] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0240] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK) and the like.
[0241] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
[0242] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure.
Claims
1. A teaching aid control method, characterized in that: Applied to terminals, including: Receiving a trigger instruction for sending a program code to the teaching aid; the program code is used to control the teaching aid to execute a teaching project; In response to the trigger instruction, the program code is obtained when at least one condition is met; wherein the at least one condition includes: the teaching aid is successfully built, and at least one function is successfully written; and the at least one function is called by the running program code; wherein the situation where at least one condition is met includes: when the teaching aid corresponding to the teaching project includes a plurality of teaching aid components that are not successfully built together, and the execution and implementation of the teaching project requires the user to rewrite the new function, and at the same time the teaching aid is successfully built and the at least one function is successfully written, then it is determined that the at least one condition is met; sending the program code to the teaching aid so that the teaching aid executes the program code; The method further comprises: When the trigger instruction is responded to multiple times continuously but at least one of the conditions is not met, an alarm prompt is issued; Wherein, the teaching aid comprises at least two teaching aid components, and the method further comprises: Obtaining the identifier of the teaching project, and obtaining the teaching resource data corresponding to the identifier; the teaching resource data includes at least one of the following: at least one first resource data, at least one second resource data; each of the first resource data has a corresponding relationship with at least one of the teaching aid components; each of the second resource data has a corresponding relationship with at least one of the function functions; The teaching resource data is displayed, and a teaching result is obtained; the teaching result is used to indicate whether the at least one functional function is successfully written, and / or whether the at least two teaching aid components are successfully built together.
2. The method according to claim 1, characterized in that In response to the teaching resource data including at least one first resource data, displaying the teaching resource data and obtaining the teaching result includes: Displaying the first resource data corresponding to each of the teaching aid components; Sending a test instruction corresponding to each of the teaching aid components to the teaching aid; the test instruction is used to instruct the control component in the teaching aid to test the teaching aid component, and instruct the control component to return the test result corresponding to each of the teaching aid components; Determine whether the at least two teaching aid components are built together successfully based on the test results corresponding to the teaching aid components.
3. The method according to claim 1 or 2, characterized in that: In response to the teaching resource data including at least one second resource data, the displaying of the teaching resource data and obtaining the teaching result further includes: Displaying the second resource data corresponding to each of the functional functions; Obtaining at least one task code for implementing each of the functional functions; Determine the operation status corresponding to each of the function functions according to at least one task code corresponding to each of the function functions; Determine whether the at least one function function is successfully written according to the running conditions corresponding to each of the function functions.
4. The method according to claim 1 or 2, characterized in that: The method further comprises: Receive and output the execution result sent by the teaching aid.
5. The method according to claim 4, characterized in that The execution result includes operation data, and the receiving and outputting of the execution result sent by the teaching aid includes: In response to the execution result being a successful execution, the operation data sent by the teaching aid is received and output; the operation data includes at least one of the following: operation time, operation result, screen data, video data and audio data.
6. The method according to claim 4, characterized in that The execution result includes error reporting data, and the receiving and outputting of the execution result sent by the teaching aid includes: In response to the execution result being an execution failure, receiving and outputting error data sent by the teaching aid; the error data includes at least one of the following: hardware error data, function sequence error data and code running error data.
7. A teaching aid control method, characterized in that: Applied to teaching aids, including: The receiving terminal acquires and sends a program code when responding to a trigger instruction and satisfying at least one condition; the terminal is used to issue an alarm prompt when responding to the trigger instruction for multiple consecutive times but failing to satisfy at least one condition; the program code is used to control the teaching aid to execute the teaching project; the at least one condition includes: the teaching aid is successfully built and at least one function is successfully written; the at least one function is called by the running program code; the situation where at least one condition is satisfied includes: when the teaching aid corresponding to the teaching project includes multiple teaching aid components that are not successfully built together, and the user needs to rewrite the new function function to execute and realize the teaching project, and at the same time, the teaching aid is successfully built and the at least one function is successfully written, then it is determined that the at least one condition is satisfied; Execute the program code to obtain an execution result; Sending the execution result to the terminal; Wherein, the teaching aid comprises at least two teaching aid components, and the method further comprises: Obtain teaching results; the teaching results are used to indicate whether the at least one functional function is successfully written, and / or whether the at least two teaching aid components are built together and successfully; the teaching results are obtained through the teaching resource data displayed on the terminal; the teaching resource data is obtained by obtaining the identification of the teaching project through the terminal, and then obtaining the teaching resource data corresponding to the identification; the teaching resource data includes at least one of the following: at least one first resource data, at least one second resource data; each of the first resource data corresponds to at least one of the teaching aid components; each of the second resource data corresponds to at least one of the functional functions.
8. The method according to claim 7, characterized in that The executing the program code comprises: When at least one of the conditions is met, the program code is executed.
9. The method according to claim 8, characterized in that In response to the at least one condition including the successful construction of the teaching aid, before executing the program code, the method further includes: Obtaining the test results corresponding to each of the teaching aid components; Determining whether the at least two teaching aid components are built together successfully according to the test results corresponding to the teaching aid components; In response to the at least two teaching aid components being successfully built together, the program code is executed.
10. The method according to claim 8, characterized in that In response to the at least one condition including the fact that the at least one function is successfully written, before executing the program code, the method further includes: Obtaining the operation status corresponding to each of the functional functions; Determining whether the at least one function is successfully written according to the operation status corresponding to each of the function functions; In response to the at least one functional function being successfully written, the program code is executed.
11. A teaching device, characterized in that: The device comprises: A first acquisition module is used to receive a trigger instruction for sending a program code to the teaching aid; the program code is used to control the teaching aid to execute the teaching project; A second acquisition module is used to respond to the trigger instruction and acquire the program code when at least one condition is met; wherein the at least one condition includes: the teaching aid is successfully built and at least one function is successfully written; the at least one function is called by the running program code; wherein the situation where at least one condition is met includes: when the teaching aid corresponding to the teaching project includes a plurality of teaching aid components that are not successfully built together, and the execution and implementation of the teaching project requires the user to rewrite the new function function, and at the same time the teaching aid is successfully built and the at least one function is successfully written, then it is determined that the at least one condition is met; A first sending module, used for sending the program code to the teaching aid so that the teaching aid executes the program code; The second acquisition module is further configured to issue an alarm prompt when the trigger instruction is responded to multiple times continuously but at least one of the conditions is not met; The second acquisition module is also used for the teaching aid to include at least two teaching aid components, to obtain the identification of the teaching project, and to obtain the teaching resource data corresponding to the identification; the teaching resource data includes at least one of the following: at least one first resource data, at least one second resource data; each of the first resource data has a corresponding relationship with at least one of the teaching aid components; each of the second resource data has a corresponding relationship with at least one of the functional functions; the teaching resource data is displayed, and the teaching result is obtained; the teaching result is used to indicate whether the at least one functional function is successfully written, and / or whether the at least two teaching aid components are built together and successfully.
12. A teaching device, characterized in that: The device comprises: The second receiving module is used to receive the program code acquired and sent by the terminal when responding to the trigger instruction and satisfying at least one condition; the terminal is used to issue an alarm prompt when responding to the trigger instruction for multiple consecutive times but failing to satisfy at least one condition; the program code is used to control the teaching aid to execute the teaching project; the at least one condition includes: the teaching aid is successfully built and at least one function function is successfully written; the at least one function function is called by the running program code; the situation where at least one condition is satisfied includes: when the teaching aid corresponding to the teaching project includes multiple teaching aid components that are not successfully built together, and the execution and realization of the teaching project requires the user to rewrite the new function function, and at the same time, the teaching aid is successfully built and the at least one function function is successfully written, then it is determined that the at least one condition is satisfied; A first execution module, used for executing the program code to obtain an execution result; A second sending module, used for sending the execution result to the terminal; The first execution module is also used for the teaching aid to include at least two teaching aid components to obtain teaching results; the teaching results are used to indicate whether the at least one functional function is successfully written, and / or whether the at least two teaching aid components are built together and successfully; the teaching results are obtained through the teaching resource data displayed on the terminal; the teaching resource data is obtained by obtaining the identification of the teaching project through the terminal, and then obtaining the teaching resource data corresponding to the identification; the teaching resource data includes at least one of the following: at least one first resource data, at least one second resource data; each of the first resource data has a corresponding relationship with at least one of the teaching aid components; each of the second resource data has a corresponding relationship with at least one of the functional functions.
13. A teaching device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to: execute the method described in any one of claims 1 to 6, or execute the method described in any one of claims 7 to 10.
14. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method described in any one of claims 1 to 6 is implemented; or, when the computer program instructions are executed by a processor, the method described in any one of claims 7 to 10 is implemented.
