







技术领域technical field
本发明涉及嵌入式实验控制技术领域,具体地说,涉及一种嵌入式实验教学控制方法、系统以及设备。The invention relates to the technical field of embedded experiment control, in particular to an embedded experiment teaching control method, system and device.
背景技术Background technique
随着信息技术的发展,嵌入式系统已经成为计算机技术的一个重要组成部分,日益增长的应用也使得它成为计算机信息技术的一个新的研究热点。许多学校和机构已经逐渐开设嵌入式开发相关课程。With the development of information technology, embedded system has become an important part of computer technology, and the increasing application also makes it a new research focus of computer information technology. Many schools and institutions have gradually offered courses related to embedded development.
但是汽车嵌入式软件研发周期长,工作流程复杂,培养新人周期长一般要半年到一年以上。现有的嵌入式实验教学控制方法虽然实验功能较为完善,但是学员学习门槛高,教学效率低,不利于学员快速掌握汽车嵌入式软件技能。However, the development cycle of automotive embedded software is long and the work flow is complex. Although the existing embedded experimental teaching control method has relatively perfect experimental functions, the students have high learning threshold and low teaching efficiency, which is not conducive to students to quickly master the skills of automotive embedded software.
发明内容SUMMARY OF THE INVENTION
针对现有技术中的问题,本发明的目的在于提供一种嵌入式实验教学控制方法、系统以及设备,解决现有的嵌入式实验教学控制方法导致学员学习效率低的问题。Aiming at the problems in the prior art, the purpose of the present invention is to provide an embedded experimental teaching control method, system and device to solve the problem of low learning efficiency of students caused by the existing embedded experimental teaching control method.
为实现上述目的,本发明提供了一种嵌入式实验教学控制方法,用于控制嵌入式实验教学系统,所述实验教学系统包括实验开发板,包括以下步骤:In order to achieve the above purpose, the present invention provides an embedded experimental teaching control method for controlling an embedded experimental teaching system, wherein the experimental teaching system includes an experimental development board and includes the following steps:
获取学员输入的嵌入式系统开发代码;所述开发代码对应有多个功能块,不同功能块在所述实验开发板对应的提示信号不同;Obtain the embedded system development code input by the trainee; the development code corresponds to a plurality of function blocks, and different function blocks have different prompt signals corresponding to the experimental development board;
对所述开发代码进行编译,并载入所述实验开发板;以及compiling the development code and loading the experimental development board; and
依据所述开发代码执行过程中,所述实验开发板输出的提示信号,对所述开发代码在所述实验开发板上的执行进行监控。According to the prompt signal output by the experimental development board during the execution of the development code, the execution of the development code on the experimental development board is monitored.
可选地,所述实验开发板包括ARM处理器、电源模块、串口通信模块、CAN通信模块、车速传感器模块、指示灯模块、人机交互模块以及存储模块。Optionally, the experimental development board includes an ARM processor, a power supply module, a serial communication module, a CAN communication module, a vehicle speed sensor module, an indicator light module, a human-computer interaction module and a storage module.
可选地,所述人机交互模块包括LCD显示屏、LED灯、按键、以太网接口以及USB接口。Optionally, the human-computer interaction module includes an LCD display screen, LED lights, buttons, an Ethernet interface and a USB interface.
可选地,所述方法还包括步骤:Optionally, the method further includes the steps:
依据所述实验开发板输出的提示信号,定位所述开发代码执行过程中产生错误的目标功能块,将所述目标功能块对应的开发代码作为第一目标代码段;According to the prompt signal output by the experimental development board, locate the target function block that generates an error during the execution of the development code, and use the development code corresponding to the target function block as the first target code segment;
对所述第一目标代码段设置断点,并获取各个断点的执行输出结果;以及Setting a breakpoint on the first target code segment, and obtaining the execution output result of each breakpoint; and
将所述执行输出结果和预设参考数据库进行比对,确定输出错误结果的目标断点;所述预设参考数据库中存储有不同断点和对应的正确输出结果之间的第一映射关系。The execution output result is compared with a preset reference database to determine a target breakpoint for outputting an incorrect result; the preset reference database stores a first mapping relationship between different breakpoints and corresponding correct output results.
可选地,所述方法还包括步骤:Optionally, the method further includes the steps:
定位所述开发代码执行过程中产生错误的第二目标代码段,并获取对应的目标报错信息;Locate the second target code segment that generates an error during the execution of the development code, and obtain the corresponding target error message;
依据目标报错信息和第二预设数据库,确定与所述目标报错信息对应的修改策略;所述第二预设数据库中存储有不同报错信息和修改策略之间的第二映射关系;According to the target error report information and the second preset database, determine the modification strategy corresponding to the target error report information; the second preset database stores the second mapping relationship between different error report information and the modification strategy;
依据所述修改策略对产生错误的第二目标代码段进行修正,并对修正后的第二目标代码段继续进行校验。According to the modification strategy, the erroneous second target code segment is corrected, and the corrected second target code segment is continuously checked.
可选地,所述方法还包括步骤:Optionally, the method further includes the steps:
对每个讲师分别建立至少一技能项,生成与每个讲师匹配的技能组;Establish at least one skill item for each instructor, and generate a skill group matching each instructor;
对所述目标报错信息提取关键词,依据所述关键词生成与所述目标报错信息对应的关键词组;Extracting keywords from the target error reporting information, and generating a keyword group corresponding to the target error reporting information according to the keywords;
获取包含所述关键词组中全部关键词的技能组对应的在线讲师,作为目标讲师;Obtain the online lecturer corresponding to the skill group containing all the keywords in the keyword group as the target lecturer;
向所述目标讲师发送在线调试的任务通知。Send a task notification for online debugging to the target instructor.
可选地,所述获取包含所述关键词组中全部关键词的技能组对应的在线讲师,作为目标讲师,包括:Optionally, the acquiring online instructors corresponding to the skill groups that contain all the keywords in the keyword group, as the target instructors, includes:
获取包含所述关键词组中全部关键词的技能组对应的在线讲师,作为待匹配讲师;Obtain the online instructor corresponding to the skill group that contains all the keywords in the keyword group, as the instructor to be matched;
依据待匹配讲师的历史调试数据,获取所有待匹配讲师的历史平均调试耗时;According to the historical debugging data of the instructors to be matched, obtain the historical average debugging time of all instructors to be matched;
将历史平均调试耗时最少的在线讲师,作为目标讲师。The online lecturer with the least time spent on average debugging is selected as the target lecturer.
可选地,所述方法还包括步骤:Optionally, the method further includes the steps:
目标讲师对应的讲师端响应所述任务通知,对任务通知对应的学员端进行在线调试。The instructor terminal corresponding to the target instructor responds to the task notification, and performs online debugging on the student terminal corresponding to the task notification.
可选地,所述方法还包括步骤:Optionally, the method further includes the steps:
获取调试过程中所述目标讲师的在线语音讲解信息;Obtain the online voice explanation information of the target instructor during the debugging process;
将所述在线语音讲解信息转换为文本数据,并对目标讲师重复的语音讲解信息对应的文本数据进行标注;Convert the online voice explanation information into text data, and mark the text data corresponding to the voice explanation information repeated by the target lecturer;
将所述文本数据发送至学员端。Send the text data to the trainee.
本发明还提供了一种嵌入式实验教学控制系统,用于实现上述嵌入式实验教学控制方法,所述系统包括:The present invention also provides an embedded experimental teaching control system for implementing the above-mentioned embedded experimental teaching control method, the system comprising:
完整代码获取模块,获取学员输入的嵌入式系统开发代码;所述开发代码对应有多个功能块,不同功能块在所述实验开发板对应的提示信号不同;The complete code acquisition module acquires the embedded system development code input by the trainee; the development code corresponds to a plurality of function blocks, and different function blocks have different prompt signals corresponding to the experimental development board;
代码编译模块,对所述开发代码进行编译,并载入所述实验开发板;以及a code compilation module, which compiles the development code and loads the experimental development board; and
代码执行监控模块,依据所述开发代码执行过程中,所述实验开发板输出的提示信号,对所述开发代码在所述实验开发板上的执行进行监控。The code execution monitoring module monitors the execution of the development code on the experimental development board according to the prompt signal output by the experimental development board during the execution of the development code.
本发明还提供了一种嵌入式实验教学控制设备,包括:The invention also provides an embedded experimental teaching control device, comprising:
处理器;processor;
存储器,其中存储有所述处理器的可执行程序;a memory in which an executable program of the processor is stored;
其中,所述处理器配置为经由执行所述可执行程序来执行上述任意一项嵌入式实验教学控制方法的步骤。Wherein, the processor is configured to execute any one of the steps of the above-mentioned embedded experimental teaching control method by executing the executable program.
本发明与现有技术相比,具有以下优点及突出性效果:Compared with the prior art, the present invention has the following advantages and outstanding effects:
本发明提供的嵌入式实验教学控制方法、系统以及设备在获取学员输入的完整的开发代码后,进行编译并载入实验开发板进行运行,为实验执行过程中对应的不同的功能块设置不同的提示信号,可以帮助学员系统了解嵌入式开发执行过程中的不同阶段,快速定位执行错误的开发代码,利于提高学习效率。The embedded experimental teaching control method, system and device provided by the present invention compile and load the complete development code input by the trainee and load it into the experimental development board for operation, and set different functions for different function blocks during the execution of the experiment. The prompt signal can help the student system to understand the different stages of the embedded development and execution process, and quickly locate and execute the wrong development code, which is beneficial to improve the learning efficiency.
附图说明Description of drawings
通过阅读参照以下附图对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显。Other features, objects and advantages of the present invention will become more apparent upon reading the detailed description of non-limiting embodiments with reference to the following drawings.
图1为本发明一实施例公开的一种嵌入式实验教学控制方法的示意图;1 is a schematic diagram of an embedded experimental teaching control method disclosed in an embodiment of the present invention;
图2为本发明一实施例公开的实验开发板的结构示意图;2 is a schematic structural diagram of an experimental development board disclosed in an embodiment of the present invention;
图3为本发明另一实施例公开的一种嵌入式实验教学控制方法的示意图;3 is a schematic diagram of an embedded experimental teaching control method disclosed by another embodiment of the present invention;
图4为本发明另一实施例公开的一种嵌入式实验教学控制方法的示意图;4 is a schematic diagram of an embedded experimental teaching control method disclosed by another embodiment of the present invention;
图5为本发明另一实施例公开的一种嵌入式实验教学控制方法的示意图;5 is a schematic diagram of an embedded experimental teaching control method disclosed by another embodiment of the present invention;
图6为本发明一实施例公开的一种嵌入式实验教学控制方法中步骤S202的流程示意图;6 is a schematic flowchart of step S202 in an embedded experimental teaching control method disclosed in an embodiment of the present invention;
图7为本发明一实施例公开的一种嵌入式实验教学控制系统的结构示意图;7 is a schematic structural diagram of an embedded experimental teaching control system disclosed in an embodiment of the present invention;
图8为本发明一实施例公开的一种嵌入式实验教学控制设备的结构示意图。FIG. 8 is a schematic structural diagram of an embedded experimental teaching control device disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的实施方式。相反,提供这些实施方式使得本发明将全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的结构,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repeated descriptions will be omitted.
如图1所示,本发明一实施例公开了一种嵌入式实验教学控制方法,用于控制嵌入式实验教学系统,上述嵌入式实验教学系统包括实验开发板。该方法包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention discloses an embedded experimental teaching control method for controlling an embedded experimental teaching system, where the embedded experimental teaching system includes an experimental development board. The method includes the following steps:
S110,获取学员输入的嵌入式系统开发代码。上述开发代码对应有多个功能块,不同功能块在上述实验开发板对应的提示信号不同。S110, acquiring the embedded system development code input by the trainee. The above-mentioned development code corresponds to multiple function blocks, and different function blocks have different prompt signals corresponding to the above-mentioned experimental development board.
示例性地,嵌入式开发教学可以是用于开发新能源汽车的仪表功能,功能块可以包括指示灯显示模块、仪表显示模块和档位管理模块等。指示灯显示模块可以包含有转向指示灯和故障指示灯等。仪表显示模块可以包含有转速表和车速表等。不同功能块对应的提示信号可以采用不同的颜色进行显示,或者基于常亮模式和闪烁模式进行区分显示。本申请对此不作限制。具体来说,在执行不同功能块对应的代码时,执行成功时不同功能块显示的提示信号是不同的,比如采用不同的颜色进行显示,以便于区分。Exemplarily, the embedded development teaching may be used to develop the instrument function of the new energy vehicle, and the functional blocks may include an indicator light display module, an instrument display module, a gear management module, and the like. The indicator display module may include turn indicators and fault indicators. The instrument display module may include a tachometer and a speedometer. The prompt signals corresponding to different function blocks can be displayed in different colors, or displayed differently based on the always-on mode and the flashing mode. This application does not limit this. Specifically, when the codes corresponding to different function blocks are executed, the prompt signals displayed by different function blocks are different when the execution is successful, for example, they are displayed in different colors to facilitate differentiation.
该步骤中获取的嵌入式系统开发代码是完整的代码,比如关于汽车仪表功能的完整代码。该开发代码可以是基于C语言进行编写的,本申请对此不作限制。The embedded system development code obtained in this step is a complete code, such as a complete code about the function of a car instrument. The development code may be written based on the C language, which is not limited in this application.
上述实验开发板也就是嵌入式开发板,可以是基于嵌入式ARM处理器的开发板,也可以采用现有技术中的其他嵌入式开发板,本申请对此不作限制。The above-mentioned experimental development board is also an embedded development board, which may be a development board based on an embedded ARM processor, or other embedded development boards in the prior art, which are not limited in this application.
S120,对上述开发代码进行编译,并载入上述实验开发板。具体来说,对开发代码的编译可参考现有技术实现,本申请对此不再赘述。并将编译后的代码载入实验开发板进行运行。载入后,上述多个功能块将会在实验开发板上依次运行,相应地,学员将会观察到每个功能块对应的提示信号。这样学员利用实验开发板即可进行嵌入式系统开发的培训,比如学习汽车仪表功能的开发,利于提高学习效率。S120, compiling the above-mentioned development code, and loading the above-mentioned experimental development board. Specifically, the compilation of the development code may be implemented with reference to the prior art, which will not be repeated in this application. Load the compiled code into the experimental development board to run. After loading, the above multiple function blocks will run in sequence on the experimental development board, and accordingly, students will observe the prompt signal corresponding to each function block. In this way, students can use the experimental development board to conduct embedded system development training, such as learning the development of car instrument functions, which is conducive to improving learning efficiency.
S130,依据上述开发代码执行过程中,上述实验开发板输出的提示信号,对上述开发代码在上述实验开发板上的执行进行监控。具体来说,当开发代码出错,执行失败时,可根据不同功能块执行过程中发出的提示信号,可判断开发代码执行过程中哪个功能块出错。示例性地,比如若指示灯显示模块正确的提示信号是绿色,那么当该模块执行时显示的是红色,学员就可以准确判断出该模块代码存在错误,就可以针对性地修改模块代码,提高了学员的学习效率。S130, monitor the execution of the development code on the experimental development board according to the prompt signal output by the experimental development board during the execution of the development code. Specifically, when an error occurs in the development code and the execution fails, it can be determined which function block is in error during the execution of the development code according to the prompt signals sent during the execution of different function blocks. Exemplarily, for example, if the indicator light shows that the correct prompt signal of the module is green, then when the module is executed, it is displayed in red, and the student can accurately judge that there is an error in the module code, and can modify the module code in a targeted manner to improve the performance of the module. the learning efficiency of students.
如图2所示,在本申请的一实施例中,上述实验开发板包括ARM处理器201、电源模块202、串口通信模块203、CAN通信模块204、车速传感器模块205、指示灯模块206、人机交互模块207、存储模块208以及防作弊模块209。其中,电源模块202、串口通信模块203、CAN通信模块204、车速传感器模块205、指示灯模块206、人机交互模块207、存储模块208以及防作弊模块209分别与上述ARM处理器201连接。防作弊模块209通过电路结构使得相同的开发代码不能运行,从而实现防止学员之间互相抄袭开发代码。As shown in FIG. 2, in an embodiment of the present application, the above-mentioned experimental development board includes an
上述人机交互模块包括LCD显示屏、LED灯、按键、以太网接口以及USB接口。USB接口用于为外界数据提供输入通道。以太网接口用于与ARM处理器连接。LCD显示屏用于显示运行结果或者报错信息。LED用于显示提示信号。按键用于用户输入控制指令或者程序运行参数。The above-mentioned human-computer interaction module includes an LCD display screen, LED lights, buttons, an Ethernet interface and a USB interface. The USB interface is used to provide an input channel for external data. The Ethernet interface is used to connect with the ARM processor. The LCD display is used to display the running results or error messages. LEDs are used to display prompt signals. The keys are used for the user to input control commands or program running parameters.
如图3所示,本申请的另一实施例公开了另一种嵌入式实验教学控制方法。该方法在上述实施例的基础上,还包括步骤:As shown in FIG. 3 , another embodiment of the present application discloses another embedded experimental teaching control method. On the basis of the above-mentioned embodiment, the method also includes the steps:
S140,依据上述实验开发板输出的提示信号,定位上述开发代码执行过程中产生错误的目标功能块,将上述目标功能块对应的开发代码作为第一目标代码段。S140 , according to the prompt signal output by the experimental development board, locate the target function block that generates an error during the execution of the development code, and use the development code corresponding to the target function block as the first target code segment.
S150,对上述第一目标代码段设置断点,并获取各个断点的执行输出结果。以及S150, set a breakpoint on the above-mentioned first target code segment, and obtain the execution output result of each breakpoint. as well as
S160,将上述执行输出结果和预设参考数据库进行比对,确定输出错误结果的目标断点。上述预设参考数据库中存储有不同断点和对应的正确输出结果之间的第一映射关系。输出的结果与该断点对应的正确输出结果不相同的即为错误结果。S160: Compare the above execution output result with a preset reference database, and determine a target breakpoint for outputting an error result. The above preset reference database stores a first mapping relationship between different breakpoints and corresponding correct output results. If the output result is different from the correct output result corresponding to the breakpoint, it is an error result.
具体来说,当开发代码执行出错时,依据提示信号,能确定出错的功能块是哪个功能块,实现准确定位。本申请可以对开发代码进行代码拆分,使得每一个功能块对应一个代码段,这样在确定出错的功能块之后,就能定位对应的代码段,实现有针对性地调试修正,提高学习效率。Specifically, when an error occurs in the execution of the development code, according to the prompt signal, it can be determined which function block the faulty function block is, so as to achieve accurate positioning. The application can perform code splitting on the development code, so that each function block corresponds to a code segment, so that after determining the faulty function block, the corresponding code segment can be located, so as to realize targeted debugging and correction, and improve the learning efficiency.
上述步骤S150中设置的断点可以为自动生成,也可以人工设置,本申请对此不作限制。设置完断点之后,对上述第一目标代码段再次执行一遍,就可以获得每个断点的输出结果,经过比对,再一次缩小了出错的代码范围,利于进行快速调试,提高学习效率。The breakpoint set in the above step S150 may be automatically generated or manually set, which is not limited in this application. After setting breakpoints, execute the above first target code segment again to obtain the output results of each breakpoint. After comparison, the scope of the error code is narrowed again, which is conducive to quick debugging and improves learning efficiency.
如图4所示,本申请的另一实施例公开了另一种嵌入式实验教学控制方法。该方法在上述实施例的基础上,还包括步骤:As shown in FIG. 4 , another embodiment of the present application discloses another embedded experimental teaching control method. On the basis of the above-mentioned embodiment, the method also includes the steps:
S170,定位上述开发代码执行过程中产生错误的第二目标代码段,并获取对应的目标报错信息。S170 , locate the second target code segment where an error occurs during the execution of the development code, and obtain corresponding target error reporting information.
S180,依据目标报错信息和第二预设数据库,确定与上述目标报错信息匹配的修改策略。上述第二预设数据库中存储有不同报错信息和修改策略之间的第二映射关系。S180, according to the target error report information and the second preset database, determine a modification strategy matching the above target error report information. A second mapping relationship between different error reporting information and modification strategies is stored in the second preset database.
S190,依据上述修改策略对产生错误的第二目标代码段进行修正,并对修正后的第二目标代码段继续进行校验。S190, according to the above modification strategy, correct the second target code segment in which the error occurs, and continue to verify the corrected second target code segment.
具体来说,本申请可将上述修改策略提供给学员作为参考,学员对错误的第二目标代码段进行修正。也可以根据上述修改策略对产生错误的第二目标代码段自动修正。对修正后的第二目标代码段重新运行,并依据提示信号和最终的输出结果,判断是否执行正确。Specifically, the present application can provide the above modification strategy to the students as a reference, and the students can correct the wrong second target code segment. The second target code segment that generates errors can also be automatically corrected according to the above-mentioned modification strategy. Re-run the revised second target code segment, and judge whether the execution is correct according to the prompt signal and the final output result.
如图5所示,本申请的另一实施例公开了另一种嵌入式实验教学控制方法。该方法在上述实施例的基础上,还包括步骤:As shown in FIG. 5 , another embodiment of the present application discloses another embedded experimental teaching control method. On the basis of the above-mentioned embodiment, the method also includes the steps:
S200,对每个讲师分别建立至少一技能项,将技能项组合形成与每个讲师匹配的技能组。S200: Establish at least one skill item for each lecturer, and combine the skill items to form a skill group matching each lecturer.
S201,在接收到学员的在线调试请求后,对上述目标报错信息提取关键词,依据上述关键词生成与上述目标报错信息对应的关键词组。S201 , after receiving an online debugging request from a student, extract keywords from the above target error reporting information, and generate a keyword group corresponding to the above target error reporting information according to the above keywords.
S202,获取包含上述关键词组中全部关键词的技能组对应的在线讲师,作为目标讲师。S202: Obtain an online lecturer corresponding to a skill group that includes all the keywords in the keyword group as a target lecturer.
S203,向上述目标讲师发送在线调试的任务通知。S203: Send a task notification of online debugging to the target instructor.
下面举例进行说明,其中一讲师对应的技能组包含三个技能项,分别为汽车仪表、C语言和内存溢出,比如,若目标报错信息包含有关键词:内存溢出,就可将该学员的报错信息和该讲师进行匹配,步骤S203在接收到学员的在线调试请求信息后,说明该学员无法独立解决报错信息,就向匹配的在线讲师发送任务通知,以帮助学员进行在线调试。步骤S202中目标讲师对应的技能组是包含关键词组中全部关键词的。The following is an example to illustrate. One of the skill groups corresponding to a lecturer contains three skill items, namely car instrumentation, C language and memory overflow. For example, if the target error message contains the keyword: memory overflow, the student's error can be reported. The information is matched with the instructor. In step S203, after receiving the student's online debugging request information, it indicates that the student cannot solve the error message independently, and sends a task notification to the matching online instructor to help the student perform online debugging. In step S202, the skill group corresponding to the target lecturer contains all the keywords in the keyword group.
需要说明的是,本申请中讲师具有两种状态:在线和非在线,这样可以快速筛选出能够实时响应学员请求的讲师,帮助学员及时解决问题,利于提高学习效率。每位讲师具备的技能项可以预设生成,也可以根据该讲师的历史教学数据提取关键字获得,本申请对此不作限制。It should be noted that the lecturer in this application has two states: online and offline, so that lecturers who can respond to students' requests in real time can be quickly screened out, helping students solve problems in a timely manner and improving learning efficiency. The skill items possessed by each lecturer can be generated by default, or can be obtained by extracting keywords according to the lecturer's historical teaching data, which is not limited in this application.
如图6所示,在本申请的另一实施例中,上述步骤S202包括:As shown in FIG. 6, in another embodiment of the present application, the above step S202 includes:
S2021,获取包含上述关键词组中全部关键词的技能组对应的在线讲师,作为待匹配讲师。S2021: Obtain an online instructor corresponding to a skill group that includes all the keywords in the keyword group, as the instructor to be matched.
S2022,依据待匹配讲师的历史调试数据,获取所有待匹配讲师的历史平均调试耗时。S2022, according to the historical debugging data of the instructors to be matched, obtain the historical average debugging time of all instructors to be matched.
S2023,将历史平均调试耗时最少的在线讲师,作为目标讲师。In S2023, the online lecturer with the least time-consuming historical average debugging is used as the target lecturer.
这样可以将匹配的在线讲师中调试效率最高的讲师,分配给学员帮助调试,有利于帮助学员快速解决问题,提高学习效率。其中,历史平均调试耗时可以通过所有次数调试耗时的平均值获得。In this way, the instructor with the highest debugging efficiency among the matching online instructors can be assigned to the trainees to help with debugging, which is beneficial to help trainees solve problems quickly and improve learning efficiency. Among them, the historical average debugging time can be obtained by the average of all debugging times.
进一步地,在一实施例中,步骤S2022可以为:根据待匹配讲师的历史调试数据,获取所有待匹配讲师在关联目标报错信息对应的关键词组的历史平均调试耗时。步骤S2023可以为:将在目标报错信息对应的关键词组上的历史平均调试耗时最少的在线讲师,作为目标讲师。Further, in an embodiment, step S2022 may be: according to the historical debugging data of the instructors to be matched, obtain the historical average debugging time of all instructors to be matched in the keyword group corresponding to the associated target error reporting information. Step S2023 may be: taking the online lecturer with the least time-consuming historical average debugging on the keyword group corresponding to the target error reporting information as the target lecturer.
本申请的另一实施例公开了另一种嵌入式实验教学控制方法。该方法在上述实施例的基础上,还包括步骤:Another embodiment of the present application discloses another embedded experimental teaching control method. On the basis of the above-mentioned embodiment, the method also includes the steps:
S204,目标讲师对应的讲师端响应上述任务通知,对任务通知对应的学员端进行在线调试。其中,讲师端即为与目标讲师对应的终端设备,可以为平板电脑、计算机等。在其他实施例中,也可以设置与学员对应的学员端,同样为终端设备。S204, the instructor terminal corresponding to the target instructor responds to the above task notification, and performs online debugging on the student terminal corresponding to the task notification. The lecturer terminal is a terminal device corresponding to the target lecturer, which may be a tablet computer, a computer, or the like. In other embodiments, a student terminal corresponding to the student may also be set, which is also a terminal device.
本申请的另一实施例公开了另一种嵌入式实验教学控制方法。该方法在上述实施例的基础上,还包括步骤:Another embodiment of the present application discloses another embedded experimental teaching control method. On the basis of the above-mentioned embodiment, the method also includes the steps:
S205,获取调试过程中上述目标讲师的在线语音讲解信息。S205: Acquire the online voice explanation information of the target lecturer in the debugging process.
S206,将上述在线语音讲解信息转换为文本数据,并对目标讲师重复的语音讲解信息对应的文本数据进行标注。S206: Convert the above-mentioned online voice explanation information into text data, and mark the text data corresponding to the voice explanation information repeated by the target lecturer.
S207,将上述文本数据发送至学员端。S207, sending the above text data to the student terminal.
具体来说,本实施例针对的是目标讲师在帮助学员调试时,一边调试一边进行讲解的场景。尤其是针对讲师提醒注意事项的场景。步骤S206中标注的文本数据可以为讲师重复讲了至少两遍的语音数据识别得到的文本数据,这通常为讲师提醒学员重点关注的知识点。其中,标注的方式可以为下划线标注、加粗标注或者以高亮字体进行显示等,本申请对此不作限制。Specifically, this embodiment is directed to a scenario in which the target lecturer gives an explanation while debugging while helping the trainee with debugging. Especially for the scene where the instructor reminds the precautions. The text data marked in step S206 may be the text data recognized by the speech data that the lecturer has repeated at least twice, which is usually a knowledge point that the lecturer reminds the students to pay attention to. The marking method may be underline marking, bold marking, or displaying in highlighted font, etc., which is not limited in this application.
该实施例通过将文本数据提供给学员,可以方便学员课后复习,学习掌握讲师的调试过程,有利于帮助学员快速解决问题,掌握嵌入式开发调试技能,提高学习效率。其中,学员端即为与学员对应的终端设备,可以为平板电脑、计算机等。In this embodiment, by providing text data to students, it is convenient for students to review after class, learn and master the debugging process of the lecturer, help students to quickly solve problems, master embedded development and debugging skills, and improve learning efficiency. Among them, the student terminal is the terminal device corresponding to the student, which may be a tablet computer, a computer, or the like.
需要说明的是,本申请中公开的上述所有实施例可以进行自由组合,组合后得到的技术方案也在本申请的保护范围之内。It should be noted that all the above-mentioned embodiments disclosed in this application can be freely combined, and the technical solutions obtained after the combination are also within the protection scope of this application.
如图7所示,本发明一实施例还公开了一种嵌入式实验教学控制系统7,该系统包括:As shown in FIG. 7, an embodiment of the present invention also discloses an embedded experimental
完整代码获取模块71,获取学员输入的嵌入式系统开发代码。上述开发代码对应有多个功能块,不同功能块在上述实验开发板对应的提示信号不同。The complete
代码编译模块72,对上述开发代码进行编译,并载入上述实验开发板。以及The
代码执行监控模块73,依据上述开发代码执行过程中,上述实验开发板输出的提示信号,对上述开发代码在上述实验开发板上的执行进行监控。The code
可以理解的是,本发明的嵌入式实验教学控制系统还包括其他支持嵌入式实验教学控制系统运行的现有功能模块。图7显示的嵌入式实验教学控制系统仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。It can be understood that the embedded experimental teaching control system of the present invention also includes other existing functional modules that support the operation of the embedded experimental teaching control system. The embedded experimental teaching control system shown in FIG. 7 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present invention.
本实施例中的嵌入式实验教学控制系统用于实现上述的嵌入式实验教学控制的方法,因此对于嵌入式实验教学控制系统的具体实施步骤可以参照上述对嵌入式实验教学控制的方法的描述,此处不再赘述。The embedded experimental teaching control system in this embodiment is used to implement the above-mentioned embedded experimental teaching control method. Therefore, for the specific implementation steps of the embedded experimental teaching control system, reference may be made to the above description of the embedded experimental teaching control method. It will not be repeated here.
本发明一实施例还公开了一种嵌入式实验教学控制设备,包括处理器和存储器,其中存储器存储有所述处理器的可执行程序;处理器配置为经由执行可执行程序来执行上述嵌入式实验教学控制方法中的步骤。图8是本发明公开的嵌入式实验教学控制设备的结构示意图。下面参照图8来描述根据本发明的这种实施方式的电子设备600。图8显示的电子设备600仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。An embodiment of the present invention further discloses an embedded experimental teaching control device, comprising a processor and a memory, wherein the memory stores an executable program of the processor; the processor is configured to execute the above embedded embedded program by executing the executable program The steps in the experimental teaching control method. FIG. 8 is a schematic structural diagram of the embedded experimental teaching control device disclosed in the present invention. The
如图8所示,电子设备600以通用计算设备的形式表现。电子设备600的组件可以包括但不限于:至少一个处理单元610、至少一个存储单元620、连接不同平台组件(包括存储单元620和处理单元610)的总线630、显示单元640等。As shown in FIG. 8,
其中,存储单元存储有程序代码,程序代码可以被处理单元610执行,使得处理单元610执行本说明书上述嵌入式实验教学控制方法部分中描述的根据本发明各种示例性实施方式的步骤。例如,处理单元610可以执行如图1中所示的步骤。The storage unit stores program codes, which can be executed by the
存储单元620可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)6201和/或高速缓存存储单元6202,还可以进一步包括只读存储单元(ROM)6203。The
存储单元620还可以包括具有一组(至少一个)程序模块6205的程序/实用工具6204,这样的程序模块6205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The
总线630可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The
电子设备600也可以与一个或多个外部设备700(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备600交互的设备通信,和/或与使得该电子设备600能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口650进行。并且,电子设备600还可以通过网络适配器660与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。网络适配器660可以通过总线630与电子设备600的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备600使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储平台等。The
本发明实施例提供的嵌入式实验教学控制方法、系统以及设备在获取学员输入的完整的开发代码后,进行编译并载入实验开发板进行运行,为实验执行过程中对应的不同的功能块设置不同的提示信号,可以帮助学员系统了解嵌入式开发执行过程中的不同阶段,快速定位执行错误的开发代码,利于提高学习效率。The embedded experimental teaching control method, system and device provided by the embodiments of the present invention compile and load the complete development code input by the trainee into the experimental development board for operation after obtaining the complete development code input by the student, and set up different function blocks corresponding to the experiment execution process. Different prompt signals can help the trainee system to understand the different stages of the embedded development execution process, quickly locate and execute the wrong development code, which is beneficial to improve the learning efficiency.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in combination with specific preferred embodiments, and it cannot be considered that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deductions or substitutions can be made, which should be regarded as belonging to the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111441887.4ACN114333515A (en) | 2021-11-30 | 2021-11-30 | Embedded experimental teaching control method, system and equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111441887.4ACN114333515A (en) | 2021-11-30 | 2021-11-30 | Embedded experimental teaching control method, system and equipment |
| Publication Number | Publication Date |
|---|---|
| CN114333515Atrue CN114333515A (en) | 2022-04-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111441887.4APendingCN114333515A (en) | 2021-11-30 | 2021-11-30 | Embedded experimental teaching control method, system and equipment |
| Country | Link |
|---|---|
| CN (1) | CN114333515A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04113385A (en)* | 1990-09-03 | 1992-04-14 | Fujitsu Ltd | Remote lecture system |
| CN104657269A (en)* | 2015-02-16 | 2015-05-27 | 厦门大学 | Automatic error correcting method and system for embedded development learning |
| CN105512256A (en)* | 2015-12-01 | 2016-04-20 | 深圳拼课邦科技有限公司 | Method and device for pushing lecturer information |
| CN105741632A (en)* | 2016-03-01 | 2016-07-06 | 广东博士科技有限公司 | Clinical medicine three-base education based on cloud platform |
| CN107491313A (en)* | 2017-08-28 | 2017-12-19 | 柴雪 | A kind of embedded teaching system control method and device |
| CN107920280A (en)* | 2017-03-23 | 2018-04-17 | 广州思涵信息科技有限公司 | The accurate matched method and system of video, teaching materials PPT and voice content |
| CN110689770A (en)* | 2019-08-12 | 2020-01-14 | 合肥马道信息科技有限公司 | Online classroom voice transcription and translation system and working method thereof |
| CN111476468A (en)* | 2020-03-27 | 2020-07-31 | 威比网络科技(上海)有限公司 | Method, system, equipment and storage medium for configuring instructor based on online student group |
| CN111522971A (en)* | 2020-04-08 | 2020-08-11 | 广东小天才科技有限公司 | A method and device for assisting users to listen to lectures in live teaching |
| CN112040256A (en)* | 2020-08-14 | 2020-12-04 | 华中科技大学 | A method and system for video annotation of live experimental teaching process |
| CN112053615A (en)* | 2020-09-07 | 2020-12-08 | 中国海洋大学 | An embedded experimental teaching system and teaching method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04113385A (en)* | 1990-09-03 | 1992-04-14 | Fujitsu Ltd | Remote lecture system |
| CN104657269A (en)* | 2015-02-16 | 2015-05-27 | 厦门大学 | Automatic error correcting method and system for embedded development learning |
| CN105512256A (en)* | 2015-12-01 | 2016-04-20 | 深圳拼课邦科技有限公司 | Method and device for pushing lecturer information |
| CN105741632A (en)* | 2016-03-01 | 2016-07-06 | 广东博士科技有限公司 | Clinical medicine three-base education based on cloud platform |
| CN107920280A (en)* | 2017-03-23 | 2018-04-17 | 广州思涵信息科技有限公司 | The accurate matched method and system of video, teaching materials PPT and voice content |
| CN107491313A (en)* | 2017-08-28 | 2017-12-19 | 柴雪 | A kind of embedded teaching system control method and device |
| CN110689770A (en)* | 2019-08-12 | 2020-01-14 | 合肥马道信息科技有限公司 | Online classroom voice transcription and translation system and working method thereof |
| CN111476468A (en)* | 2020-03-27 | 2020-07-31 | 威比网络科技(上海)有限公司 | Method, system, equipment and storage medium for configuring instructor based on online student group |
| CN111522971A (en)* | 2020-04-08 | 2020-08-11 | 广东小天才科技有限公司 | A method and device for assisting users to listen to lectures in live teaching |
| CN112040256A (en)* | 2020-08-14 | 2020-12-04 | 华中科技大学 | A method and system for video annotation of live experimental teaching process |
| CN112053615A (en)* | 2020-09-07 | 2020-12-08 | 中国海洋大学 | An embedded experimental teaching system and teaching method |
| Publication | Publication Date | Title |
|---|---|---|
| Lesgold et al. | Possibilities for assessment using computer-based apprenticeship environments | |
| WO2019218426A1 (en) | Method and apparatus for generating lesson plan for teaching preparation | |
| CN102306462A (en) | Simulation teaching system for single-chip microcomputer curriculum | |
| CN115983556A (en) | Teacher course arrangement optimization method, system and storage medium | |
| CN102467835A (en) | System and method for learning terminal to select digital content | |
| Carr et al. | An experiment on leveraging chatgpt for online teaching and assessment of database students | |
| CN114333515A (en) | Embedded experimental teaching control method, system and equipment | |
| CN118446027A (en) | Vehicle performance evaluation system, method, electronic equipment and medium | |
| CN117995032A (en) | Diagnosis teaching system based on whole vehicle fault diagnosis maintenance | |
| Arifi et al. | Assisted learning of c programming through automated program repair and feed-back generation | |
| Chang | Using computational thinking patterns to scaffold program design in introductory programming course | |
| Chung et al. | A programming learning diagnostic system using case-based reasoning method | |
| Chou et al. | An educational tool for visualizing students' program tracing processes | |
| Gross et al. | Towards providing feedback to students in absence of formalized domain models | |
| CN102566562A (en) | Automatic test method for PLC (Programmable Logic Controller) program | |
| CN115757102B (en) | A fully automatic test sample generation and evaluation method based on regular expressions | |
| CN119811158A (en) | A power battery training method and system based on AR | |
| Ostrand et al. | Software testing research and software engineering education | |
| CN118227596B (en) | Machine room laboratory supervision control method and device, electronic equipment and medium | |
| Huyer | Improving Usability for Novices in the Design of Mechatronic Devices: A Study Using Arduino Modules | |
| Sigari et al. | Portable and affordable operator training simulators | |
| CN108073494A (en) | Program capability evaluation system and program capability evaluation method | |
| Capuz et al. | MIPS64 simulator on a mobile environment | |
| Nicolson | Design and evaluation of the SUMIT intelligent teaching assistant for arithmetic | |
| RU84610U1 (en) | TEACHER ELECTRONIC MAGAZINE |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20220412 | |
| RJ01 | Rejection of invention patent application after publication |